H7UnitSnapShot¶
Class in MMH7Game · MMH7Game.H7UnitSnapShot · native
Object › H7UnitSnapShot
Implements: H7ICaster
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAttack | int | protected |
mCasterOriginal | H7ICaster | protected |
mDamageMax | int | protected |
mDamageMin | int | protected |
mInitialStackSize | int | protected |
mLuckDestiny | int | protected |
mMagic | int | protected |
mMoraleLeadership | int | protected |
mSchool | H7StructsAndEnumsNative.EAbilitySchool | protected |
mStackSize | int | protected |
Functions¶
| Name | Declaration |
|---|---|
DataChanged | event DataChanged(optional string cause) |
GetAbilityManager | native function H7AbilityManager GetAbilityManager() |
GetActionID | function H7StructsAndEnumsNative.ECommandTag GetActionID(H7BaseAbility Ability) |
GetAttack | event int GetAttack() |
GetBuffManager | native function H7BuffManager GetBuffManager() |
GetCombatArmy | native function H7CombatArmy GetCombatArmy() |
GetEffectManager | function H7EffectManager GetEffectManager() |
GetEntityType | native function H7StructsAndEnumsNative.EUnitType GetEntityType() |
GetEventManager | native function H7EventManager GetEventManager() |
GetGridPosition | native function IntPoint GetGridPosition() |
GetID | native function int GetID() |
GetInitialStackSize | function int GetInitialStackSize() |
GetLeadership | event int GetLeadership() |
GetLocation | native function Vector GetLocation() |
GetLuckDestiny | native function int GetLuckDestiny() |
GetMagic | event int GetMagic() |
GetMaximumDamage | event float GetMaximumDamage() |
GetMinimumDamage | event float GetMinimumDamage() |
GetName | function string GetName() |
GetOriginal | native function H7ICaster GetOriginal() |
GetPlayer | native function H7Player GetPlayer() |
GetPreparedAbility | function H7BaseAbility GetPreparedAbility() |
GetSchool | event H7StructsAndEnumsNative.EAbilitySchool GetSchool() |
GetStackSize | native function int GetStackSize() |
is | function bool is(name myName) |
IsDefaultAttackActive | native function bool IsDefaultAttackActive() |
PrepareAbility | function PrepareAbility(H7BaseAbility Ability) |
SetMagic | function SetMagic(int Magic) |
TakeSnapShot | native function TakeSnapShot(H7ICaster Unit) |
TriggerEvents | function TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container) |
UpdateSnapShot | function UpdateSnapShot(optional bool updateLuck = true, optional bool updateLeadership = true, optional bool clearCache = false) |
UsePreparedAbility | function UsePreparedAbility(H7IEffectTargetable Target) |
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |