H7GFxInventory
Class in MMH7Game · MMH7Game.H7GFxInventory
Object › GFxObject › H7GFxListener › H7GFxUIContainer › H7GFxInventory
Within: GFxMoviePlayer
Using it from Lua
h7.find_all("H7GFxInventory") -- live instances
h7.find_class("MMH7Game.H7GFxInventory") -- the class
h7.hook("MMH7Game.H7GFxInventory.AddItemToDragSlot", fn)
Properties
| Name | Type | Notes |
mCurrentHero | H7EditorHero | protected |
mItemPoses | array<IntPoint> | protected |
mLocked | bool | protected |
Functions
| Name | Declaration |
AddItemToDragSlot | function AddItemToDragSlot(H7HeroItem Item) |
AddItemToDropSlot | function AddItemToDropSlot(H7HeroItem Item) |
AddLockToItemSlots | function AddLockToItemSlots() |
ListenUpdate | function ListenUpdate(H7IGUIListenable gameEntity) |
RemoveItemFromSlot | function RemoveItemFromSlot() |
SetCursorItemTrue | function SetCursorItemTrue() |
SetLocked | function SetLocked(bool locked, optional array<IntPoint> itemPoses) |
Update | function Update(array<H7HeroItem> inventoryItems, H7EditorHero Hero) |
Inherited
| From | Members |
| H7GFxUIContainer | Properties: mVisible Functions: BlockInputTemporary, CreateArmyObject, CreateArmyObjectFromPool, CreateArmyObjectFromSite, CreateArmyObjectFromStacks, CreateBuildingCostArray, CreateBuildingObject, CreateBuildingObjectFromBuildng, CreateCaravanObject, CreateCaravanObjectFromData, CreateColorObject, CreateCombatArmyObject, CreateCostArray, CreateCreatureStackObject, CreateDataObject, CreateHeroObject, CreateItemObject, CreateLocalGuardObject, CreatePreReqArray, CreateResourceArray, CreateRuneUnitObject, CreateSpellObject, CreateUnitObjectAdvanced, CreateUnitObjectFromPool, CreateUnitObjectFromStack, CreateWarefareUnitsObject, CreateWarfareUnitObject, GetBattleSiteRewardsObject, GetFlashName, GetFlashPath, GetHUD, GetNewArray, GetNewObject, GetStatModSourceName, Hide, IsLocaKey, IsVisible, PlayOpenAnimation, PlayOpenAnimationNextFrame, Realign, RealignAdventureMap, Reset, ResetDragAndDrop, SetStatModSourceList, SetVisibleSave |
| H7GFxListener | Functions: ListenTo, ListenUpdate |
| GFxObject | 2 properties, 75 functions |
| Object | 13 properties, 308 functions |