UE2:MaplistManager (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> Actor >> Info >> MaplistManagerBase >> MaplistManager
Package: 
Engine

Created on: 09/04/2003 MaplistManager adds multiple maplist support to UT2004. To ensure backwards compatibility, it does not change the way the maplist system current works - instead, it enhances this system by serving as the intermediary between the interface and the maplist used by the game. The only contact that MaplistManager has with the standard maplists are when a) Creating the default list for a new gametype - it uses the value of the Maps array for that gametype's maplist b) When the user decides to "Use" or apply the maplist. The maps in the custom maplist are copied to the gametype's maplist class.

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'MaplistManager'

DefaultListExists

Type: string

Modifiers: localized


Default value: "Gametype already has a default list!"

DefaultListName

Type: string

Modifiers: localized


Default value: "Default"

InvalidGameType

Type: string

Modifiers: localized


Default value: "could not be loaded. Normally, this means an .u file has been deleted, but the .int file has not."

ReallyInvalidGameType

Type: string

Modifiers: localized


Default value: "The requested gametype '%gametype%' could not be loaded."

Internal variables

bDirty

Type: bool

Indicates that we need to save

CachedGames

Type: array<CacheManager.GameRecord>


Games

Type: array<GameRecordGroup>

Modifiers: protected, config


Groups

Type: array<MaplistRecordGroup>

Modifiers: protected


MaplistRecordNames

Type: array<string>

Modifiers: protected


Structs

GameRecordGroup

string GameType 
string ActiveMaplist 

MaplistRecordGroup

string GameType 
int Active 
int LastActive 
used for cancelling changes
array<MaplistRecord.MapItem> AllMaps 
array<MaplistRecord> Records 

Functions

Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions

See MaplistManager instance functions.