H7TownRecruitmentPopupCntl¶
Class in MMH7Game · MMH7Game.H7TownRecruitmentPopupCntl · config
Object › GFxMoviePlayer › H7FlashMovieCntl › H7FlashMoviePopupCntl › H7FlashMovieTownPopupCntl › H7TownRecruitmentPopupCntl
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
lordID | int | protected |
lords | array<H7AreaOfControlSiteLord> | protected |
mCaravanRecruitment | bool | protected |
mCurrentLocation | H7AreaOfControlSite | protected |
mInitialLocation | H7AreaOfControlSite | protected |
mNeutralDwelling | H7Dwelling | protected |
mOutsideDwellings | array<H7Dwelling> | protected |
mRecruitmentPopup | H7GFxTownRecruitmentPopup | protected |
Towns | array<H7Town> | protected |
Functions¶
| Name | Declaration |
|---|---|
AOCHasCaravanToOtherAOC | function bool AOCHasCaravanToOtherAOC() |
CheckCaravanFreeSlotOnUnitSlotClick | function bool CheckCaravanFreeSlotOnUnitSlotClick(string unitName) |
CheckFreeSlotOnUnitSlotClick | function bool CheckFreeSlotOnUnitSlotClick(string unitName) |
Closed | function Closed() |
ClosePopup | function ClosePopup() |
GetCaravanDataFromLord | function GetCaravanDataFromLord(int AocLordID) |
GetIsCaravanRecruitment | function bool GetIsCaravanRecruitment() |
GetPopup | function H7GFxUIContainer GetPopup() |
GetRecruitmentPopup | function H7GFxTownRecruitmentPopup GetRecruitmentPopup() |
Initialize | function bool Initialize() |
LoadComplete | function LoadComplete() |
OpenPopup | function bool OpenPopup() |
RecruitAll | function RecruitAll() |
RecruitUnits | function RecruitUnits(string unitName, int Amount, int townOrDwellingID, bool recruitToCaravan, optional bool doUpdate = true) |
RecruitUnitsComplete | function RecruitUnitsComplete(H7AreaOfControlSiteLord lord, int SlotIndex, H7StructsAndEnums.EArmyNumber enforcedArmy, bool recruitToCaravan) |
SetIsCaravanRecruitment | function SetIsCaravanRecruitment(bool val) |
SetLordID | function SetLordID(int Id) |
SetTownsAndDwellings | function SetTownsAndDwellings() |
Update | function Update(H7Town Town) |
UpdateAfterModifyingArmy | function UpdateAfterModifyingArmy() |
UpdateFromCaravanOutpost | function UpdateFromCaravanOutpost(H7CaravanOutpost caravanOutpost) |
UpdateFromDwelling | function UpdateFromDwelling(H7Dwelling currentDwelling) |
UpdateFromLord | function UpdateFromLord(H7AreaOfControlSiteLord lord) |
UpdateFromNeutralDwelling | function UpdateFromNeutralDwelling(H7Dwelling Dwelling) |
UpdateMiddleHudTargetBarHighlight | function UpdateMiddleHudTargetBarHighlight() |
UpgradeDwelling | function UpgradeDwelling(int dwellingToUpgradeID) |
UpgradeDwellingComplete | function UpgradeDwellingComplete() |
UseFertility | function int UseFertility(string creatureName, int townID) |
Default values¶
mFullscreen=true
mLocaSection(0)="H7TownRecruitment"
mLocaSection(1)="H7Town"
MovieInfo=SwfMovie'H7SceneTownScreen.PopUp.H7TownRecruitmentPopup'