Skip to content

H7MapSelectCntl

Class in MMH7Game · MMH7Game.H7MapSelectCntl · native, config

Object › GFxMoviePlayer › H7FlashMovieCntl › H7MapSelectCntl

Implements: H7ContentScannerListener

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

Properties

NameTypeNotes
mCurrentCampaignMapintprotected
mFoundCampaignsarray<H7CampaignDefinition>protected
mFoundMapsarray<H7ContentScannerAdventureMapData>
mIsHotSeatbool
mIsLANbool
mIsMultiplayerbool
mLoadingThumbboolprotected
mMapSelectionH7GfxMapListprotected
mMapThumbnailH7Texture2DStreamLoadprotected

Functions

NameDeclaration
AddCampaignfunction AddCampaign(H7ContentScannerCampaignData CampaignData)
AddInitialCustomCampaignsfunction AddInitialCustomCampaigns()
AddMapfunction AddMap(H7ContentScannerAdventureMapData AdvData)
BtnBackClickedfunction BtnBackClicked()
BtnContinueClickedfunction BtnContinueClicked(int selectedListIndex, bool isCampaign)
BtnGenerateMapClickedfunction BtnGenerateMapClicked()
CampaignClickedfunction CampaignClicked(int clickedListIndex)
CanBeMultiplayerfunction bool CanBeMultiplayer(H7ContentScannerAdventureMapData MapData)
CanBeSingleplayerfunction bool CanBeSingleplayer(H7ContentScannerAdventureMapData MapData)
ClosePopupfunction ClosePopup()
ConvertDataToDefinitionfunction H7CampaignDefinition ConvertDataToDefinition(H7ContentScannerCampaignData CampaignData)
DisplayDifficultyfunction DisplayDifficulty()
GetCampaignMapFileNamefunction string GetCampaignMapFileName(int campaignIndex, int mapNumber)
GetEnumListfunction array<H7DropDownEntry> GetEnumList(string enumName)
GetInstancestatic function H7MapSelectCntl GetInstance()
GetMapListfunction H7GfxMapList GetMapList()
Initializefunction bool Initialize()
IsLockedByPrivilegfunction bool IsLockedByPrivileg(H7ContentScannerAdventureMapData MapData)
MapClickedfunction MapClicked(int clickedMapIndex)
OnScanned_AdventureMapevent OnScanned_AdventureMap(const out H7ContentScannerAdventureMapData AdvData)
OnScanned_Campaignevent OnScanned_Campaign(const out H7ContentScannerCampaignData CampaignData)
OnScanned_CombatMapevent OnScanned_CombatMap(const out H7ContentScannerCombatMapData CombatData)
SetCurrentCampaignMapfunction SetCurrentCampaignMap(int Number)
SetCustomDifficultyfunction SetCustomDifficulty(string enumName, int Value)
SetDifficultyfunction SetDifficulty(int Index, int Value)
StopScannerfunction StopScanner()
Updatefunction Update(bool forMultiplayer, bool forLAN, bool HOTSEAT)
updateThumbnailfunction updateThumbnail()

Default values

mLocaSection(0)="H7SkirmishSetup"
mLocaSection(1)="H7MainMenu"
MovieInfo=SwfMovie'H7SceneMainMenu.StartScreen.H7MapSelect'

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