Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.MaplistManager

Extends
MaplistManagerBase
Modifiers
DependsOn ( CacheManager ) DependsOn ( MaplistRecord ) notplaceable

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.MaplistManagerBase
         |   
         +-- Engine.MaplistManager

Variables Summary
boolbDirty
array<CacheManager.GameRecord>CachedGames
array<GameRecordGroup>Games
array<MaplistRecordGroup>Groups
array<string>MaplistRecordNames
MaplistManager
stringDefaultListExists
stringDefaultListName
stringInvalidGameType
stringReallyInvalidGameType
Inherited Variables from Engine.Info
BotsGroup, ChatGroup, GameGroup, KickVoteGroup, MapVoteGroup, RulesGroup, ServerGroup

Structures Summary
GameRecordGroup
GameType, ActiveMaplist
MaplistRecordGroup
GameType, Active, LastActive, AllMaps, Records

Functions Summary
functionint AddGameType (coerce string NewGameType)
functionint AddGroup (string GameType)
functionint AddList (string GameType, string NewName, array<string> Maps)
functionbool AddMap (int GameIndex, int RecordIndex, string MapName)
functionint AddMaplistRecord (MaplistRecord Rec)
functionbool ApplyMapList (int GameIndex, int RecordIndex)
functionbool ClearList (int GameIndex, int RecordIndex)
function CreateDefaultList (int i)
functionMaplistRecord CreateRecord (string RecordName)
event Destroyed ()
functionint FindMaplistContaining (int GameIndex, string Mapname)
function GenerateGroupMaplist (int GroupIndex)
functionint GetActiveList (int GameIndex)
functionint GetActiveMap (int GameIndex, int RecordIndex)
functionstring GetActiveMapName (int GameIndex, int RecordIndex)
functionbool GetAvailableMaps (int GameIndex, out array<MaplistRecord.MapItem> Ar)
functionint GetCacheGameIndex (string GameType)
functionarray<string> GetCacheMapList (string Acronym)
functionarray<string> GetCurrentMapRotation ()
functionbool GetDefaultMaps (string MaplistClassName, out array<string> Maps)
functionint GetGameIndex (coerce string GameType)
functionint GetMapIndex (int GameIndex, int RecordIndex, string MapName)
functionarray<string> GetMapList (int GameIndex, int RecordIndex)
functionarray<string> GetMapListNames (int GameIndex)
functionstring GetMapListTitle (int GameIndex, int RecordIndex)
functionstring GetMapTitle (int GameIndex, int RecordIndex, int MapIndex)
functionstring GetMapURL (int GameIndex, int RecordIndex, int MapIndex)
functionint GetRecordIndex (int GameIndex, string MapListName)
functionarray<MaplistRecordGetRecords (int GameIndex)
functionint GetStoredGameIndex (coerce string GameType)
function InitializeActiveLists ()
function InitializeMaplistRecords ()
functionbool InsertMap (int GameIndex, int RecordIndex, string MapName, int ListIndex)
functionbool IsNewGameType (string GameClassName)
function MapChange (string NewMap)
functionbool MaplistDirty (int GameIndex, int RecordIndex)
event PreBeginPlay ()
functionbool RemoveGame (int i)
functionint RemoveList (int GameIndex, int RecordIndex)
functionbool RemoveMap (int GameIndex, int RecordIndex, string MapName)
functionint RemoveRecord (int GameIndex, int RecordIndex)
functionint RenameList (int GameIndex, int RecordIndex, string NewName)
function ResetGame (int GameIndex)
function ResetList (int GameIndex, int RecordIndex)
function Save ()
functionbool SaveGame (int GameIndex)
functionbool SaveMapList (int GameIndex, int RecordIndex)
functionbool SetActiveList (int GameIndex, int NewActive)
functionint SetActiveMap (int GameIndex, int RecordIndex, int MapIndex)
function ShiftMap (int GameIndex, int RecordIndex, string MapName, int Count)
functionbool ValidCacheGameIndex (int i)
functionbool ValidGameIndex (int i)
functionbool ValidGameType (string GameType)
functionbool ValidName (string S)
functionbool ValidRecordIndex (int GameIndex, int MapListIndex)
Inherited Functions from Engine.MaplistManagerBase
AddList, AddMap, ApplyMapList, ClearList, FindCacheGameIndex, GetActiveList, GetActiveMap, GetCacheMapList, GetCurrentMapRotation, GetGameIndex, GetMapIndex, GetMapList, GetMapListNames, GetMapListTitle, GetRecordIndex, MapChange, RemoveList, RemoveMap, RenameList, ResetGame, ResetList, SaveGame, SaveMapList, SetActiveList, ShiftMap, ValidCacheGameIndex, ValidGameIndex, ValidGameType, ValidName
Inherited Functions from Engine.Info
AcceptPlayInfoProperty, AllowClassRemoval, FillPlayInfo, GetDescriptionText, GetSecurityLevel


Variables Detail

bDirty Source code

var bool bDirty;

CachedGames Source code

var array<CacheManager.GameRecord> CachedGames;

Games Source code

var protected config array<GameRecordGroup> Games;

Groups Source code

var protected array<MaplistRecordGroup> Groups;

MaplistRecordNames Source code

var protected array<string> MaplistRecordNames;

MaplistManager

DefaultListExists Source code

var(MaplistManager) localized string DefaultListExists;

DefaultListName Source code

var(MaplistManager) localized string DefaultListName;

InvalidGameType Source code

var(MaplistManager) localized string InvalidGameType;

ReallyInvalidGameType Source code

var(MaplistManager) localized string ReallyInvalidGameType;


Structures Detail

GameRecordGroup Source code

struct GameRecordGroup
{
var(MaplistManager) string ActiveMaplist;
var(MaplistManager) string GameType;
};


MaplistRecordGroup Source code

struct MaplistRecordGroup
{
var int Active;
var array<MaplistRecord.MapItem> AllMaps;
var string GameType;
var int LastActive;
var array<MaplistRecord> Records;
};



Functions Detail

AddGameType Source code

protected function int AddGameType ( coerce string NewGameType )

AddGroup Source code

protected function int AddGroup ( string GameType )

AddList Source code

function int AddList ( string GameType, string NewName, array<string> Maps )

AddMap Source code

function bool AddMap ( int GameIndex, int RecordIndex, string MapName )

AddMaplistRecord Source code

protected function int AddMaplistRecord ( MaplistRecord Rec )

ApplyMapList Source code

function bool ApplyMapList ( int GameIndex, int RecordIndex )

ClearList Source code

function bool ClearList ( int GameIndex, int RecordIndex )

CreateDefaultList Source code

protected function CreateDefaultList ( int i )

CreateRecord Source code

protected function MaplistRecord CreateRecord ( string RecordName )

Destroyed Source code

event Destroyed ( )

FindMaplistContaining Source code

function int FindMaplistContaining ( int GameIndex, string Mapname )

GenerateGroupMaplist Source code

protected function GenerateGroupMaplist ( int GroupIndex )

GetActiveList Source code

function int GetActiveList ( int GameIndex )

GetActiveMap Source code

function int GetActiveMap ( int GameIndex, int RecordIndex )

GetActiveMapName Source code

function string GetActiveMapName ( int GameIndex, int RecordIndex )

GetAvailableMaps Source code

function bool GetAvailableMaps ( int GameIndex, out array<MaplistRecord.MapItem> Ar )

GetCacheGameIndex Source code

function int GetCacheGameIndex ( string GameType )

GetCacheMapList Source code

function array<string> GetCacheMapList ( string Acronym )

GetCurrentMapRotation Source code

function array<string> GetCurrentMapRotation ( )

GetDefaultMaps Source code

function bool GetDefaultMaps ( string MaplistClassName, out array<string> Maps )

GetGameIndex Source code

function int GetGameIndex ( coerce string GameType )

GetMapIndex Source code

function int GetMapIndex ( int GameIndex, int RecordIndex, string MapName )

GetMapList Source code

function array<string> GetMapList ( int GameIndex, int RecordIndex )

GetMapListNames Source code

function array<string> GetMapListNames ( int GameIndex )

GetMapListTitle Source code

function string GetMapListTitle ( int GameIndex, int RecordIndex )

GetMapTitle Source code

function string GetMapTitle ( int GameIndex, int RecordIndex, int MapIndex )

GetMapURL Source code

function string GetMapURL ( int GameIndex, int RecordIndex, int MapIndex )

GetRecordIndex Source code

function int GetRecordIndex ( int GameIndex, string MapListName )

GetRecords Source code

protected function array<MaplistRecord> GetRecords ( int GameIndex )

GetStoredGameIndex Source code

protected function int GetStoredGameIndex ( coerce string GameType )

InitializeActiveLists Source code

protected function InitializeActiveLists ( )

InitializeMaplistRecords Source code

protected function InitializeMaplistRecords ( )

InsertMap Source code

function bool InsertMap ( int GameIndex, int RecordIndex, string MapName, int ListIndex )

IsNewGameType Source code

protected function bool IsNewGameType ( string GameClassName )

MapChange Source code

function MapChange ( string NewMap )

MaplistDirty Source code

function bool MaplistDirty ( int GameIndex, int RecordIndex )

PreBeginPlay Source code

event PreBeginPlay ( )

RemoveGame Source code

protected function bool RemoveGame ( int i )

RemoveList Source code

function int RemoveList ( int GameIndex, int RecordIndex )

RemoveMap Source code

function bool RemoveMap ( int GameIndex, int RecordIndex, string MapName )

RemoveRecord Source code

protected function int RemoveRecord ( int GameIndex, int RecordIndex )

RenameList Source code

function int RenameList ( int GameIndex, int RecordIndex, string NewName )

ResetGame Source code

function ResetGame ( int GameIndex )

ResetList Source code

function ResetList ( int GameIndex, int RecordIndex )

Save Source code

protected function Save ( )

SaveGame Source code

function bool SaveGame ( int GameIndex )

SaveMapList Source code

function bool SaveMapList ( int GameIndex, int RecordIndex )

SetActiveList Source code

function bool SetActiveList ( int GameIndex, int NewActive )

SetActiveMap Source code

function int SetActiveMap ( int GameIndex, int RecordIndex, int MapIndex )

ShiftMap Source code

function ShiftMap ( int GameIndex, int RecordIndex, string MapName, int Count )

ValidCacheGameIndex Source code

function bool ValidCacheGameIndex ( int i )

ValidGameIndex Source code

function bool ValidGameIndex ( int i )

ValidGameType Source code

function bool ValidGameType ( string GameType )

ValidName Source code

function bool ValidName ( string S )

ValidRecordIndex Source code

protected function bool ValidRecordIndex ( int GameIndex, int MapListIndex )


Defaultproperties

defaultproperties
{
     Games(0)=(GameType="BonusPack.xLastManStandingGame",ActiveMaplist="Default LMS")
     Games(1)=(GameType="BonusPack.xMutantGame",ActiveMaplist="Default MUT")
     Games(2)=(GameType="Onslaught.ONSOnslaughtGame",ActiveMaplist="Default ONS")
     Games(3)=(GameType="SkaarjPack.Invasion",ActiveMaplist="Default INV")
     Games(4)=(GameType="UT2k4Assault.ASGameInfo",ActiveMaplist="Default AS")
     Games(5)=(GameType="XGame.xBombingRun",ActiveMaplist="Default BR")
     Games(6)=(GameType="XGame.xCTFGame",ActiveMaplist="Default CTF")
     Games(7)=(GameType="XGame.xDeathMatch",ActiveMaplist="Default DM")
     Games(8)=(GameType="XGame.xDoubleDom",ActiveMaplist="Default DOM2")
     Games(9)=(GameType="XGame.xTeamGame",ActiveMaplist="Default TDM")
     Games(10)=(GameType="XGame.xVehicleCTFGame")
     DefaultListName="Default"
     InvalidGameType="could not be loaded.  Normally, this means an .u file has been deleted, but the .int file has not."
     ReallyInvalidGameType="The requested gametype '%gametype%' could not be loaded."
     DefaultListExists="Gametype already has a default list!"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:24.015 - Created with UnCodeX