Skip to content

H7InstantCommandSacrifice

Class in MMH7Game · MMH7Game.H7InstantCommandSacrifice

Object › H7InstantCommandBase › H7InstantCommandSacrifice

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

Properties

NameTypeNotes
mDraggedStackIndicesGarrisonarray
mDraggedStackIndicesVisitingarray
mFirstStackIsGarrisonboolprivate
mTownH7Townprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7Town Town, array draggedStacksGarrison, array draggedStacksVisiting, bool firstStackIsGarrison)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)
WaitForInterceptingCommandsfunction bool WaitForInterceptingCommands()

Inherited

FromMembers
H7InstantCommandBaseFunctions: CreateMPCommand, Execute, GetPlayer, InitFromMPData, WaitForInterceptingCommands
Object13 properties, 308 functions