# Effect History Entry Type

Grammar — Type of effect history history entry index
FlagsNative | Function

Returns the type of effect that was logged in the Effect History at the specified Index. The type for the effect is set in the effect data in the Caster History field.

# Arguments

  • effecthistory — History
  • int — Index

Returns — int [ preset::EffectHistory ]

native int EffectHistoryGetType(
	effecthistory inHistory,
	int inIndex,
);

Category: Effect History / Entries

# Examples

# mods/heroesdata.stormmod

GameLib.galaxy

// L1911
EffectHistoryGetType(lv_effectHistory, lv_itEffectHistoryEntry)

# mods/heroesdata.stormmod

UILib.galaxy

// L9362
EffectHistoryGetType(lv_history, lv_itEntry)