Skip to content

H7TownRecruitmentPopupCntl

Class in MMH7Game · MMH7Game.H7TownRecruitmentPopupCntl · config

Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7FlashMovieTownPopupCntl › H7TownRecruitmentPopupCntl

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

Properties

NameTypeNotes
lordIDintprotected
lordsarray<H7AreaOfControlSiteLord>protected
mCaravanRecruitmentboolprotected
mCurrentLocationH7AreaOfControlSiteprotected
mInitialLocationH7AreaOfControlSiteprotected
mNeutralDwellingH7Dwellingprotected
mOutsideDwellingsarray<H7Dwelling>protected
mRecruitmentPopupH7GFxTownRecruitmentPopupprotected
Townsarray<H7Town>protected

Functions

NameDeclaration
AOCHasCaravanToOtherAOCfunction bool AOCHasCaravanToOtherAOC()
CheckCaravanFreeSlotOnUnitSlotClickfunction bool CheckCaravanFreeSlotOnUnitSlotClick(string unitName)
CheckFreeSlotOnUnitSlotClickfunction bool CheckFreeSlotOnUnitSlotClick(string unitName)
Closedfunction Closed()
ClosePopupfunction ClosePopup()
GetCaravanDataFromLordfunction GetCaravanDataFromLord(int AocLordID)
GetIsCaravanRecruitmentfunction bool GetIsCaravanRecruitment()
GetPopupfunction H7GFxUIContainer GetPopup()
GetRecruitmentPopupfunction H7GFxTownRecruitmentPopup GetRecruitmentPopup()
Initializefunction bool Initialize()
LoadCompletefunction LoadComplete()
OpenPopupfunction bool OpenPopup()
RecruitAllfunction RecruitAll()
RecruitUnitsfunction RecruitUnits(string unitName, int Amount, int townOrDwellingID, bool recruitToCaravan, optional bool doUpdate = true)
RecruitUnitsCompletefunction RecruitUnitsComplete(H7AreaOfControlSiteLord lord, int SlotIndex, H7StructsAndEnums.EArmyNumber enforcedArmy, bool recruitToCaravan)
SetIsCaravanRecruitmentfunction SetIsCaravanRecruitment(bool val)
SetLordIDfunction SetLordID(int Id)
SetTownsAndDwellingsfunction SetTownsAndDwellings()
Updatefunction Update(H7Town Town)
UpdateAfterModifyingArmyfunction UpdateAfterModifyingArmy()
UpdateFromCaravanOutpostfunction UpdateFromCaravanOutpost(H7CaravanOutpost caravanOutpost)
UpdateFromDwellingfunction UpdateFromDwelling(H7Dwelling currentDwelling)
UpdateFromLordfunction UpdateFromLord(H7AreaOfControlSiteLord lord)
UpdateFromNeutralDwellingfunction UpdateFromNeutralDwelling(H7Dwelling Dwelling)
UpdateMiddleHudTargetBarHighlightfunction UpdateMiddleHudTargetBarHighlight()
UpgradeDwellingfunction UpgradeDwelling(int dwellingToUpgradeID)
UpgradeDwellingCompletefunction UpgradeDwellingComplete()
UseFertilityfunction int UseFertility(string creatureName, int townID)

Default values

mFullscreen=true
mLocaSection(0)="H7TownRecruitment"
mLocaSection(1)="H7Town"
MovieInfo=SwfMovie'H7SceneTownScreen.PopUp.H7TownRecruitmentPopup'

Inherited

FromMembers
H7FlashMovieTownPopupCntlProperties: mTown
Functions: ClosePopup, LinkToTownPopupContainer, LoadComplete, OpenPopup, Update
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