Skip to content

H7InstantCommandBuyArtifactMerchant

Class in MMH7Game · MMH7Game.H7InstantCommandBuyArtifactMerchant

Object › H7InstantCommandBase › H7InstantCommandBuyArtifactMerchant

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

Properties

NameTypeNotes
mBuyPriceMultiplicatorintprivate
mHeroH7AdventureHeroprivate
mItemIdintprivate
mMerchantH7Merchantprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7AdventureHero Hero, H7Merchant merchant, int ItemId, int buyPriceMultiplicator)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)

Inherited

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