Skip to content

H7TownHudCntl

Class in MMH7Game · MMH7Game.H7TownHudCntl · config

Object › GFxMoviePlayer › H7FlashMovieCntl › H7TownHudCntl

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

Properties

NameTypeNotes
mAllowHeroTransferboolprotected
mCaravanHighlightboolprotected
mCaravanOutpostH7CaravanOutpostprotected
mCurrent3DTownScreenActorprotected
mCurrentlyZoomingAssetH7TownAssetprotected
mDismissArmyboolprotected
mDismissIndexintprotected
mDraggedStackH7BaseCreatureStackprotected
mDraggedStackArmyNumberintprotected
mDraggedStackIndexintprotected
mDummyTownTexture2Dprotected
mDwellingH7Dwellingprotected
mFadeInQueuearray<H7TownBuilding>protected
mFortH7Fortprotected
mIsActiveboolprotected
mIsInCaravanOutpostboolprotected
mIsInDwellingboolprotected
mIsInFortboolprotected
mIsTownSelectThisFrameboolprotected
mLeaveInProgressboolprotected
mMiddleHUDH7GFxMiddleHUDprotected
mNeutralDwellingH7CustomNeutralDwellingprotected
mNewBuildingToSpawnboolprotected
mParticleSystemsarrayprotected
mPendingNewGovernorH7AdventureHeroprotected
mPendingPopupOpenboolprotected
mPlayerEventParamH7PlayerEventParamprotected
mPrefabGroupPrefab
mPrefabOwnerActor
mPreTownScreenCameraPosVector
mPreventTownscreenInViewboolprotected
mSpawnedActorsarray<Actor>protected
mSpawnedAssetsarray<H7TownAsset>protected
mTownH7Townprotected
mTownInfoH7GFxTownInfoprotected
mVisitingSiteH7AreaOfControlSiteprotected
mZoomedInAssetH7TownAssetprotected
PosXfloat
PosYfloat
StartRotationRotator

Functions

NameDeclaration
AddToFadeInQueuefunction AddToFadeInQueue(H7TownBuilding Building)
allowHeroTransferfunction allowHeroTransfer()
AssetClickedfunction AssetClicked(H7TownAsset Asset)
AssignGovernorfunction AssignGovernor(int fromArmy)
CanSwapfunction bool CanSwap()
ClosePopupByIDfunction ClosePopupByID(int popupID)
CompleteHeroTransferfunction CompleteHeroTransfer(bool Success)
CompleteMergeArmiesfunction CompleteMergeArmies(bool Success)
CompleteTransferfunction CompleteTransfer(bool Success, int TargetIndex, H7AdventureArmy altArmy, bool transfer)
destroyCaravanOutpostfunction destroyCaravanOutpost()
DismissCancelfunction DismissCancel()
DismissConfirmfunction DismissConfirm()
DismissUnitfunction DismissUnit(bool visitor, int Index)
GetArmyfunction H7AdventureArmy GetArmy(int Number)
GetArmyNumberfunction int GetArmyNumber(H7AdventureArmy Army)
GetDraggedStackfunction H7BaseCreatureStack GetDraggedStack()
GetDraggedStackArmyNrfunction int GetDraggedStackArmyNr()
GetDraggedStackIndexfunction int GetDraggedStackIndex()
GetInstancestatic function H7TownHudCntl GetInstance()
GetMiddleHUDfunction H7GFxMiddleHUD GetMiddleHUD()
GetOpenTownPopupfunction H7StructsAndEnums.ETownPopup GetOpenTownPopup()
GetSitefunction H7AreaOfControlSite GetSite()
GetTownfunction H7Town GetTown()
GetTownAssetfunction H7TownAsset GetTownAsset(H7TownAsset townAssetArchetype)
GetTownInfofunction H7GFxTownInfo GetTownInfo()
GetTownPopupCntlByIDfunction H7FlashMoviePopupCntl GetTownPopupCntlByID(int popupID)
GetZoomedInAssetfunction H7TownAsset GetZoomedInAsset()
GotoAnyScreenprivate final function GotoAnyScreen()
GoToCaravanOutpostScreenfunction GoToCaravanOutpostScreen(H7CaravanOutpost caravanOutpost)
GoToDwellingScreenfunction GoToDwellingScreen(H7Dwelling Dwelling)
GoToFortScreenfunction GoToFortScreen(H7Fort fort)
GoToGarrisonScreenfunction GoToGarrisonScreen(H7Garrison garrison)
GoToNeutralDwellingScreenfunction GoToNeutralDwellingScreen(H7Dwelling Dwelling)
GotoTownScreenfunction GotoTownScreen(H7Town Town)
GovernorConfirmCompletefunction GovernorConfirmComplete()
HighlightButtonfunction HighlightButton(int popupID, optional bool val)
Initializefunction bool Initialize()
IsCaravanHighlightfunction bool IsCaravanHighlight()
IsInAnyScreenfunction bool IsInAnyScreen()
IsInCaravanOutpostfunction bool IsInCaravanOutpost()
IsInDwellingScreenfunction bool IsInDwellingScreen()
IsInFadeInQueuefunction bool IsInFadeInQueue(H7TownBuilding Building)
IsInFortScreenfunction bool IsInFortScreen()
IsInTownScreenfunction bool IsInTownScreen()
isOpenfunction bool isOpen(int popupID)
IsTownScreenPositionfunction bool IsTownScreenPosition(Vector TestPosition)
Leavefunction Leave()
LeaveAnyScreenprivate final function LeaveAnyScreen(optional bool onlySwapping = false)
LeaveCaravanOutpostScreenfunction LeaveCaravanOutpostScreen()
LeaveDwellingScreenfunction LeaveDwellingScreen()
LeaveFortScreenfunction LeaveFortScreen()
LeaveGarrisonScreenfunction LeaveGarrisonScreen()
LeaveTownScreenfunction LeaveTownScreen(optional bool onlySwapping = false)
OnGovernorCancelfunction OnGovernorCancel()
OnGovernorConfirmfunction OnGovernorConfirm()
OpenPopupfunction OpenPopup(int popupID)
OpenTownPopupfunction OpenTownPopup(H7StructsAndEnums.ETownPopup popupID)
PutUnitOnCursorByBaseStackfunction PutUnitOnCursorByBaseStack(H7BaseCreatureStack BaseStack)
PutUnitOnCursorNewfunction PutUnitOnCursorNew(int armyNr, int Index)
RecruitHerofunction RecruitHero(int heroId)
RecruitHeroCompletefunction RecruitHeroComplete(int heroId)
RemoveUnitFromCursorfunction RemoveUnitFromCursor()
RequestArmyMergefunction RequestArmyMerge(int fromArmy, int toArmy)
RequestHeroTransferfunction RequestHeroTransfer(int fromArmy, int toArmy)
RequestTransferfunction RequestTransfer(int fromArmy, int fromIndex, int toArmy, int ToIndex, optional int splitAmount)
RequestTransferCaravanDatafunction RequestTransferCaravanData(ArrivedCaravan caravan, int fromIndex, int toArmy, int ToIndex, optional int splitAmount)
ResetIsTownSelectThisFramefunction ResetIsTownSelectThisFrame()
ResetPendingPopupOpenfunction ResetPendingPopupOpen()
SelectTownfunction SelectTown(int Id)
SetCaravanHighlightfunction SetCaravanHighlight(bool Active)
SetDraggedSlotInUsefunction SetDraggedSlotInUse()
SetDraggedSlotUnusedfunction SetDraggedSlotUnused()
SetVisitingSitefunction SetVisitingSite(H7AreaOfControlSite Site)
SpawnTownScreenfunction SpawnTownScreen(Actor PrefabOwner, Prefab PrefabGroup)
SpawnTownScreenForRealfunction SpawnTownScreenForReal()
SplitToUnknownTargetfunction SplitToUnknownTarget()
SwitchTownScreenfunction SwitchTownScreen(H7Town Town)
ToggleVisitTownBuildingfunction ToggleVisitTownBuilding(int popupID, optional H7TownAsset specificAsset)
TownPopupWasClosedfunction TownPopupWasClosed(H7FlashMoviePopupCntl cntl)
TownscreenIsInViewfunction TownscreenIsInView()
UnSpawnTownScreenfunction UnSpawnTownScreen(optional bool onlySwapping = false)
UpdateAfterDestroyfunction UpdateAfterDestroy()
UpdateMiddleHUDfunction UpdateMiddleHUD()
UpdatePosfunction UpdatePos()
UpgradeCreaturefunction UpgradeCreature(int slotID, bool isVisitor, int Count)
ZoomInCompletefunction ZoomInComplete(H7TownAsset Asset)
ZoomInStartfunction ZoomInStart(H7TownAsset Asset)
ZoomOutAndBuildfunction ZoomOutAndBuild()
ZoomOutCompletefunction ZoomOutComplete(H7TownAsset Asset)
ZoomOutStartfunction ZoomOutStart(H7TownAsset Asset)

Default values

mDummyTown=Texture2D'H7Backgrounds.DummyTown'
mLocaSection(0)="H7Town"
mLocaSection(1)="H7Adventure"
MovieInfo=SwfMovie'H7SceneTownScreen.HUD.TownHUD'

Inherited

FromMembers
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