The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:MaplistManager (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, 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[edit]

Property group 'MaplistManager'[edit]

DefaultListExists[edit]

Type: string

Modifiers: localized


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

DefaultListName[edit]

Type: string

Modifiers: localized


Default value: "Default"

InvalidGameType[edit]

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[edit]

Type: string

Modifiers: localized


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

Internal variables[edit]

bDirty[edit]

Type: bool

Indicates that we need to save

CachedGames[edit]

Type: array<CacheManager.GameRecord>


Games[edit]

Type: array<GameRecordGroup>

Modifiers: protected, config


Groups[edit]

Type: array<MaplistRecordGroup>

Modifiers: protected


MaplistRecordNames[edit]

Type: array<string>

Modifiers: protected


Structs[edit]

GameRecordGroup[edit]

string GameType 
string ActiveMaplist 

MaplistRecordGroup[edit]

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

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions[edit]

See MaplistManager instance functions.