Skip to content

H7InstantCommandHeroAddXp

Class in MMH7Game · MMH7Game.H7InstantCommandHeroAddXp

Object › H7InstantCommandBase › H7InstantCommandHeroAddXp

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

Properties

NameTypeNotes
mExpToAddintprivate
mHeroH7AdventureHeroprivate
mPileH7ResourcePileprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7AdventureHero Hero, int expToAdd, optional H7ResourcePile pile = none)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)

Inherited

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