H7InstantCommandIncreaseResource
Class in MMH7Game · MMH7Game.H7InstantCommandIncreaseResource
Object › H7InstantCommandBase › H7InstantCommandIncreaseResource
Using it from Lua
h7.find_all("H7InstantCommandIncreaseResource") -- live instances
h7.find_class("MMH7Game.H7InstantCommandIncreaseResource") -- the class
h7.hook("MMH7Game.H7InstantCommandIncreaseResource.CreateMPCommand", fn)
Properties
| Name | Type | Notes |
mPile | H7ResourcePile | private |
mResourceName | string | private |
mResourceQuantity | int | private |
mTargetPlayer | H7Player | private |
Functions
| Name | Declaration |
CreateMPCommand | function MPInstantCommand CreateMPCommand() |
Execute | function Execute() |
GetPlayer | function H7Player GetPlayer() |
Init | function Init(H7Player targetPlayer, string resourceName, int resourceQuantity, optional H7ResourcePile pile = none) |
InitFromMPData | function InitFromMPData(MPInstantCommand Command) |
Inherited