Skip to content

H7HeroWindowCntl

Class in MMH7Game · MMH7Game.H7HeroWindowCntl · config

Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7ItemSlotMovieCntl › H7HeroWindowCntl

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

Properties

NameTypeNotes
mArmyRowH7GFxArmyRowprotected
mCreatureIndexToDismissintprotected
mCurrentArmyH7AdventureArmyprotected
mHeroIDToDismissintprotected
mHeroInfoH7GFxUIContainerprotected
mHeroWindowH7GFxHeroWindowprotected
mWarfareUnitRowH7GFxWarfareUnitRowprotected

Functions

NameDeclaration
AddUnitIconToCursorfunction AddUnitIconToCursor(int slotID)
btnDismissHeroClickedfunction btnDismissHeroClicked(int heroId)
Closedfunction Closed()
ClosePopupfunction ClosePopup()
CompleteTransferfunction CompleteTransfer(bool Success, int ToIndex)
DismissConfirmfunction DismissConfirm()
DismissDeniedfunction DismissDenied()
dismissHerofunction dismissHero()
DismissStackfunction DismissStack(int unitIndex, optional int armyIndex)
DropItemInInventoryfunction DropItemInInventory(int X, int Y)
EquipItemfunction bool EquipItem()
GetHeroWindowfunction H7GFxHeroWindow GetHeroWindow()
GetPopupfunction H7GFxUIContainer GetPopup()
GetStatModSourceListfunction GetStatModSourceList(string statStr, int unrealID)
HeroClickfunction HeroClick(int Id)
Initializefunction bool Initialize()
MergeItemsInInventoryfunction MergeItemsInInventory(int itemIDinDropSlot, int dragSlotX, int dragSlotY, int dropSlotX, int dropSlotY)
RemoveUnitFromCursorfunction RemoveUnitFromCursor()
RequestTransferfunction RequestTransfer(int fromArmy, int fromIndex, int toArmy, int ToIndex, optional int splitAmount)
UnequipItemfunction UnequipItem(int dropSlotX, int dropSlotY)
Updatefunction Update(int heroId)

Default values

mBlockUnreal=true
mFullscreen=true
mHideSidebar=true
mBlockStandardKeys=true
mAllowedStandardCommands(0)="OpenQuestLog"
mAllowedStandardCommands(1)="OpenSpellBook"
mAllowedStandardCommands(2)="OpenHeroWindow"
mAllowedStandardCommands(3)="OpenSkillWheel"
mLocaSection(0)="H7ItemAndInventory"
mLocaSection(1)="H7HeroWindow"
MovieInfo=SwfMovie'H7SceneAdventureMap.Windows.H7HeroWindow'

Inherited

FromMembers
H7ItemSlotMovieCntlProperties: cursorItemID, dragItem, mCurrentHero, mHeroEquip, mInventory
Functions: AddItemIconToCursor, AddItemToCursor, CanEquipItem, ChangeItemPos, ChangeItemPosStack, ConsumePotion, DropItemInInventory, EquipItem, EquipItemByDoubleClick, isItemOnCursor, MergeItemsInInventory, RemoveItemIconFromCursor, SwitchItemsFromEquipToInventory, SwitchItemsFromInventoryToEquip, SwitchItemsInEquip, SwitchItemsInInventory, UnequipItem
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