Skip to content

H7InstantCommandBuyScroll

Class in MMH7Game · MMH7Game.H7InstantCommandBuyScroll

Object › H7InstantCommandBase › H7InstantCommandBuyScroll

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

Properties

NameTypeNotes
mHeroH7AdventureHeroprivate
mScrollIdintprivate
mTownH7Townprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7AdventureHero Hero, H7Town Town, int scrollID)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)

Inherited

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