Skip to content

H7EffectSpecialPushAway

Class in MMH7Game · MMH7Game.H7EffectSpecialPushAway · native

Object › H7EffectSpecialPushAway

Implements: H7IEffectDelegate

Using it from Lua
h7.find_all("H7EffectSpecialPushAway")            -- live instances
h7.find_class("MMH7Game.H7EffectSpecialPushAway")   -- the class
h7.hook("MMH7Game.H7EffectSpecialPushAway.AngleToDirection", fn)

Properties

NameTypeNotes
mCenterCellH7CombatMapCellprivate
mCombatMapGridControllerH7CombatMapGridControllerprivate
mIsSimulatedboolprivate
mStackH7CreatureStackprivate
mTargetsarray<H7CreatureStack>private

Functions

NameDeclaration
AngleToDirectionfunction H7StructsAndEnumsNative.EDirection AngleToDirection(int Angle)
Executefunction Execute(H7Effect Effect, H7EventContainerStruct container, optional bool isSimulated = false)
GetDefaultStringfunction string GetDefaultString()
GetDirectionCellfunction H7StructsAndEnumsNative.EDirection GetDirectionCell(H7CombatMapCell Center, IntPoint diff)
GetDistancesprivate final native function GetDistances(out array distances)
GetNextCellInLinefunction H7CombatMapCell GetNextCellInLine(H7CreatureStack Stack, int Angle)
GetTooltipReplacementfunction string GetTooltipReplacement()
HandlePushEffectfunction HandlePushEffect()
Initializefunction Initialize(H7Effect Effect)
RepositionCreatureStackprivate final function RepositionCreatureStack(H7CreatureStack Stack, H7CombatMapCell cell)
SortTargetsprivate final native function SortTargets(out array distances)

Inherited

FromMembers
Object13 properties, 308 functions