Skip to content

H7ItemSlotMovieCntl

Class in MMH7Game · MMH7Game.H7ItemSlotMovieCntl · config

Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7ItemSlotMovieCntl

Subclasses: H7HeroTradeWindowCntl, H7HeroWindowCntl, H7MerchantPopUpCntl, H7RunicForgePopUpCntl

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

Properties

NameTypeNotes
cursorItemIDintprotected
dragItemH7HeroItemprotected
mCurrentHeroH7AdventureHeroprotected
mHeroEquipH7GFxHeroEquipprotected
mInventoryH7GFxInventoryprotected

Functions

NameDeclaration
AddItemIconToCursorfunction AddItemIconToCursor(int ItemId, bool itemIsStackable)
AddItemToCursorfunction AddItemToCursor(optional int ItemId)
CanEquipItemfunction bool CanEquipItem(bool checkCurrentHero)
ChangeItemPosfunction ChangeItemPos(int ItemId, int X, int Y)
ChangeItemPosStackfunction ChangeItemPosStack(int ItemId, int X, int Y)
ConsumePotionfunction ConsumePotion(int ItemId)
DropItemInInventoryfunction DropItemInInventory(int X, int Y)
EquipItemfunction bool EquipItem()
EquipItemByDoubleClickfunction bool EquipItemByDoubleClick(int ItemId)
isItemOnCursorfunction bool isItemOnCursor()
MergeItemsInInventoryfunction MergeItemsInInventory(int itemIDinDropSlot, int dragSlotX, int dragSlotY, int dropSlotX, int dropSlotY)
RemoveItemIconFromCursorfunction RemoveItemIconFromCursor()
SwitchItemsFromEquipToInventoryfunction SwitchItemsFromEquipToInventory(int itemIDinDropSlot)
SwitchItemsFromInventoryToEquipfunction SwitchItemsFromInventoryToEquip(int itemIDinDropSlot, int dropSlotX, int dropSlotY)
SwitchItemsInEquipfunction SwitchItemsInEquip(int itemIDinDropSlot)
SwitchItemsInInventoryfunction SwitchItemsInInventory(int itemIDinDropSlot, int dragSlotX, int dragSlotY, int dropSlotX, int dropSlotY)
UnequipItemfunction UnequipItem(int dropSlotX, int dropSlotY)

Inherited

FromMembers
H7FlashMoviePopupCntlProperties: mAllowedStandardCommands, mBlockFlash, mBlockStandardKeys, mBlockUnreal, mFullscreen, mHideSidebar, mKeybindCategory, mOpenedThisFrame, mWindowSpecificKeybinds
Functions: CanOpenPopup, Closed, ClosePopup, CreatePopupKeybind, GetPopup, Initialize, InitWindowKeyBinds, IsAllowingCommandFunction, IsBlockingFlash, IsBlockingStandardKeys, IsBlockingUnreal, IsFullscreen, IsHidingSidebar, KeybindUsedByPopup, OpenPopup, PutPopupIntoQueue, QueueFinished, ResetOpenedThisFrame, WasOpenedThisFrame, WriteUserKeysInto
H7FlashMovieCntlProperties: mContainer, mFlashController, mFlashHeight, mFlashWidth, mIsDragginUnit, mIsShowingBlocklayer, mLocaSection, mPlayerController, mRootMC, mWasCanceled, mWasInitialized
Functions: AdvanceDebug, AnyKeyPressed, AnyKeyReleased, CanBeStopped, CaptureMouseWheel, ClosePopup, DisableMouse, EnableMouse, FlashLocalize, FlashPixels2UnrealPixels, GetAssetPath, GetAttributeIconStrings, GetContainer, GetFlashController, GetFlashPath, GetFlashSize, GetGUIColor, GetHUD, GetMagicTierSymbol, GetRadioButtonSymbolPath, GetRoot, GetSettingBool, GetSettingEnum, GetSettingNumber, HighlightClicked, Initialize, IsDraggingUnit, IsMovieSkippedLastFrame, IsRemoveWhenClicked, IsRightClickThisFrame, IsRightMouseDown, IsShiftDown, Log, MouseOut, MouseOver, OpenHeropediaWithCreature, OpenHeropediaWithHero, PlayGUISound, RequestBlockBelow, RequestFocus, RequestRealFocus, RequestUnBlockBelow, SetConstraints, SetInitialized, SetPlayerOwner, SetWasCanceled, Start, StartAdvance, StopAdvance, StopAdvanceReally, StopInput, Unreal, UnrealColorToFlashColor, UnrealColorToHex, UnrealColorToHTMLColor, UnrealPixels2FlashPixels, WaiveFocus, WaiveRealFocus, WasInitialized
GFxMoviePlayer47 properties, 76 functions
Object13 properties, 308 functions