Skip to content

H7InstantCommandRecruitDirect

Class in MMH7Game · MMH7Game.H7InstantCommandRecruitDirect

Object › H7InstantCommandBase › H7InstantCommandRecruitDirect

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

Properties

NameTypeNotes
mCountintprivate
mCreatureNamestringprivate
mCustomDwellingH7CustomNeutralDwellingprivate
mDwellingH7Dwellingprivate
mPlayerRequesterH7Playerprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(string creatureName, int Count, optional H7Dwelling Dwelling)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)
WaitForInterceptingCommandsfunction bool WaitForInterceptingCommands()

Inherited

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