Skip to content

H7InstantCommandDoCombat

Class in MMH7Game · MMH7Game.H7InstantCommandDoCombat

Object › H7InstantCommandBase › H7InstantCommandDoCombat

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

Properties

NameTypeNotes
mAttackingHeroH7AdventureHeroprivate
mDefendingHeroH7AdventureHeroprivate
mIsQuickCombatboolprivate
mIsReplayboolprivate
mSiteH7VisitableSiteprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7AdventureHero attackingHero, H7AdventureHero defendingHero, bool isQuickCombat, bool isReplay, H7VisitableSite Site)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)
isQuickCombatfunction bool isQuickCombat()
StartCombatMapfunction StartCombatMap()

Inherited

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