Skip to content

H7Command

Class in MMH7Game · MMH7Game.H7Command · native

Object › H7Command

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

Properties

NameTypeNotes
mAbilityH7BaseAbilityprotected
mAbilityDirectionH7StructsAndEnumsNative.EDirectionprotected
mAbilityTargetH7IEffectTargetableprotected
mCommandTagH7StructsAndEnumsNative.ECommandTagprotected
mCommandTypeH7StructsAndEnumsNative.EUnitCommandprotected
mDoMPSynchronizationboolprotected
mDoOOSCheckboolprotected
mFactionH7Factionprotected
mFXH7FXObjectprotected
mInsertHeadboolprotected
mInterruptOnNextUpdateboolprotected
mNumParamintprotected
mPatharray<H7BaseCell>protected
mRaisedEventsboolprotected
mReplaceFakeAttackerboolprotected
mRunningboolprotected
mSourceH7ICasterprotected
mTrueHitCellH7CombatMapCellprotected
mWasInterruptedboolprotected

Functions

NameDeclaration
ClearCommandfunction ClearCommand()
CmdInit_Abilityprotected function bool CmdInit_Ability()
CmdInit_Garrisonprotected function bool CmdInit_Garrison()
CmdInit_Meetprotected function bool CmdInit_Meet()
CmdInit_Moveprotected function CmdInit_Move()
CmdInit_Recruitprotected function bool CmdInit_Recruit()
CmdInit_SkipTurnprotected function bool CmdInit_SkipTurn()
CmdInit_Upgradeprotected function bool CmdInit_Upgrade()
CmdInit_Visitprotected function bool CmdInit_Visit()
CmdUpd_Abilityprotected function bool CmdUpd_Ability()
CmdUpd_Moveprotected function bool CmdUpd_Move()
CommandEndnative function CommandEnd()
CommandFinishnative function CommandFinish()
CommandPlayfunction CommandPlay()
CommandStopfunction CommandStop()
CommandUpdatefunction bool CommandUpdate()
CreateCommandstatic function H7Command CreateCommand(H7ICaster caster, H7StructsAndEnumsNative.EUnitCommand CommandType, optional H7StructsAndEnumsNative.ECommandTag CommandTag = 19, optional H7BaseAbility Ability, optional H7IEffectTargetable Target, optional array<H7BaseCell> Path, optional bool doMPSynchronization = true, optional H7StructsAndEnumsNative.EDirection Direction = 8, optional bool ReplaceFakeAttacker = false, optional bool InsertHead = false, optional int numParam = -1, optional H7CombatMapCell TrueHitCell, optional bool doOOSCheck = true)
DebugLogSelffunction DebugLogSelf()
GetAbilityfunction H7BaseAbility GetAbility()
GetAbilityDirectionfunction H7StructsAndEnumsNative.EDirection GetAbilityDirection()
GetAbilityTargetfunction H7IEffectTargetable GetAbilityTarget()
GetCommandfunction H7StructsAndEnumsNative.EUnitCommand GetCommand()
GetCommandSourcefunction H7ICaster GetCommandSource()
GetCommandTagfunction H7StructsAndEnumsNative.ECommandTag GetCommandTag()
GetDoOOSCheckfunction bool GetDoOOSCheck()
GetFXfunction H7FXObject GetFX()
GetNumParamfunction int GetNumParam()
GetPathfunction array<H7BaseCell> GetPath()
GetTrueHitCellfunction H7CombatMapCell GetTrueHitCell()
HasRaisedEventsfunction bool HasRaisedEvents()
InitCommandprotected function InitCommand(H7ICaster Source, H7StructsAndEnumsNative.EUnitCommand CommandType, optional H7StructsAndEnumsNative.ECommandTag CommandTag, optional H7BaseAbility Ability, optional H7IEffectTargetable Target, optional array<H7BaseCell> Path, optional bool doMPSynchronizaton, optional H7StructsAndEnumsNative.EDirection Direction = 8, optional bool ReplaceFakeAttacker = false, optional bool InsertHead = false, optional int numParam = -1, optional H7CombatMapCell TrueHitCell, optional bool doOOSCheck)
InsertHeadfunction bool InsertHead()
IsMPSynchronizedfunction bool IsMPSynchronized()
IsRunningfunction bool IsRunning()
OnAttackFaceTargetDonefunction OnAttackFaceTargetDone()
OnAttackFinishedfunction OnAttackFinished()
OnAttackHitfunction OnAttackHit()
OnRangeAttackFaceTargetDonefunction OnRangeAttackFaceTargetDone()
OnRangeAttackFinishedfunction OnRangeAttackFinished()
OnRangeAttackShootfunction OnRangeAttackShoot()
OnStartAbilityprotected function OnStartAbility()
PlaySourceUnitAnimationprotected function PlaySourceUnitAnimation(H7BaseAbility Ability)
ReplaceFakeAttackerfunction bool ReplaceFakeAttacker()
SetAbilityfunction SetAbility(H7BaseAbility Ability)
SetAbilityTargetfunction SetAbilityTarget(H7IEffectTargetable Target)
SetCommandSourcefunction SetCommandSource(H7ICaster Unit)
SetCommandTagfunction SetCommandTag(H7StructsAndEnumsNative.ECommandTag Tag)
SetFXfunction SetFX(H7FXObject fx)
SetHasRaisedEventsfunction SetHasRaisedEvents(bool hasRaised)
SetInterruptedfunction SetInterrupted(bool val)
SetInterruptOnNextUpdatefunction SetInterruptOnNextUpdate(bool Stop)
ShouldInterruptOnNextUpdatefunction bool ShouldInterruptOnNextUpdate()
ShouldMakeTurnfunction bool ShouldMakeTurn()
StartMeleeAttackfunction StartMeleeAttack()
StartRangedAttackfunction StartRangedAttack()
StartRetaliationAttackfunction StartRetaliationAttack()
WasInterruptedfunction bool WasInterrupted()

Inherited

FromMembers
Object13 properties, 308 functions