Skip to content

H7GFxCommandPanel

Class in MMH7Game · MMH7Game.H7GFxCommandPanel

Object › GFxObject › H7GFxListener › H7GFxUIContainer › H7GFxCommandPanel

Within: GFxMoviePlayer

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

Properties

NameTypeNotes
guiDayintprivate
guiMonthintprivate
guiYearintprivate
mEndSimTurnboolprotected
mRelevantPopupIsOpenboolprotected
mTownModeboolprotected

Functions

NameDeclaration
EnableHeroButtonsfunction EnableHeroButtons(bool val)
GetEndSimTurnfunction bool GetEndSimTurn()
GetTownModefunction bool GetTownMode()
IsCommandPanelRelevantPopupOpenfunction bool IsCommandPanelRelevantPopupOpen()
SetCampaignModefunction SetCampaignMode(bool val)
SetCurrentOpenPopupfunction SetCurrentOpenPopup(int commandPanelPopupIndex)
SetEndSimTurnfunction SetEndSimTurn(bool val)
SetMyTurnfunction SetMyTurn(bool val)
SetNoHeroesModefunction SetNoHeroesMode()
SetRelevantPopupOpenfunction SetRelevantPopupOpen(bool val)
SetTooltipForCaravanfunction SetTooltipForCaravan(string tt)
SetTownModefunction SetTownMode(bool val)
ShowExitIconfunction ShowExitIcon(bool val)
UpdateCaravanButtonfunction UpdateCaravanButton(bool CanCast, optional string blockReason)
UpdateDatefunction UpdateDate(int Day, int week, int Month, int Year, string weekName, string weekDescription)
UpdateLocafunction UpdateLoca()
UpdateMoveButtonfunction UpdateMoveButton(int pathLength, int movementPoints)
UpdateSelectStatefunction UpdateSelectState(H7FlashMoviePopupCntl PopUp, bool Opened)

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