Skip to content

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

NameTypeNotes
mCurrentHeroH7EditorHeroprotected
mItemPosesarray<IntPoint>protected
mLockedboolprotected

Functions

NameDeclaration
AddItemToDragSlotfunction AddItemToDragSlot(H7HeroItem Item)
AddItemToDropSlotfunction AddItemToDropSlot(H7HeroItem Item)
AddLockToItemSlotsfunction AddLockToItemSlots()
ListenUpdatefunction ListenUpdate(H7IGUIListenable gameEntity)
RemoveItemFromSlotfunction RemoveItemFromSlot()
SetCursorItemTruefunction SetCursorItemTrue()
SetLockedfunction SetLocked(bool locked, optional array<IntPoint> itemPoses)
Updatefunction Update(array<H7HeroItem> inventoryItems, H7EditorHero Hero)

Inherited

FromMembers
H7GFxUIContainerProperties: 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
H7GFxListenerFunctions: ListenTo, ListenUpdate
GFxObject2 properties, 75 functions
Object13 properties, 308 functions