H7InstantCommandInventoryAction¶
Class in MMH7Game · MMH7Game.H7InstantCommandInventoryAction
Object › H7InstantCommandBase › H7InstantCommandInventoryAction
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAction | H7StructsAndEnums.EInventoryAction | private |
mByTrade | bool | private |
mHero | H7AdventureHero | private |
mItem | H7HeroItem | private |
mOwner | H7AdventureHero | private |
mPosX | int | private |
mPosY | int | private |
mTriggerEvents | bool | private |
mUpdateGUI | bool | private |
Functions¶
| Name | Declaration |
|---|---|
CreateMPCommand | function MPInstantCommand CreateMPCommand() |
Execute | function Execute() |
GetPlayer | function H7Player GetPlayer() |
Init | function Init(H7StructsAndEnums.EInventoryAction Action, H7AdventureHero Hero, H7HeroItem Item, optional int PosX = -1, optional int PosY = -1, optional bool updateGui = false, optional bool byTrade = false, optional bool TriggerEvents = false) |
InitFromMPData | function InitFromMPData(MPInstantCommand Command) |
Inherited¶
| From | Members |
|---|---|
| H7InstantCommandBase | Functions: CreateMPCommand, Execute, GetPlayer, InitFromMPData, WaitForInterceptingCommands |
| Object | 13 properties, 308 functions |