Engine.MaplistManager
- Extends
- MaplistManagerBase
- Modifiers
- DependsOn ( CacheManager ) DependsOn ( MaplistRecord ) notplaceable
Core.Object
|
+-- Engine.Actor
|
+-- Engine.Info
|
+-- Engine.MaplistManagerBase
|
+-- Engine.MaplistManager
Functions Summary |
| int | AddGameType (coerce string NewGameType)
|
| int | AddGroup (string GameType)
|
| int | AddList (string GameType, string NewName, array<string> Maps)
|
| bool | AddMap (int GameIndex, int RecordIndex, string MapName)
|
| int | AddMaplistRecord (MaplistRecord Rec)
|
| bool | ApplyMapList (int GameIndex, int RecordIndex)
|
| bool | ClearList (int GameIndex, int RecordIndex)
|
| | CreateDefaultList (int i)
|
| MaplistRecord | CreateRecord (string RecordName)
|
| | Destroyed ()
|
| int | FindMaplistContaining (int GameIndex, string Mapname)
|
| | GenerateGroupMaplist (int GroupIndex)
|
| int | GetActiveList (int GameIndex)
|
| int | GetActiveMap (int GameIndex, int RecordIndex)
|
| string | GetActiveMapName (int GameIndex, int RecordIndex)
|
| bool | GetAvailableMaps (int GameIndex, out array<MaplistRecord.MapItem> Ar)
|
| int | GetCacheGameIndex (string GameType)
|
| array<string> | GetCacheMapList (string Acronym)
|
| array<string> | GetCurrentMapRotation ()
|
| bool | GetDefaultMaps (string MaplistClassName, out array<string> Maps)
|
| int | GetGameIndex (coerce string GameType)
|
| int | GetMapIndex (int GameIndex, int RecordIndex, string MapName)
|
| array<string> | GetMapList (int GameIndex, int RecordIndex)
|
| array<string> | GetMapListNames (int GameIndex)
|
| string | GetMapListTitle (int GameIndex, int RecordIndex)
|
| string | GetMapTitle (int GameIndex, int RecordIndex, int MapIndex)
|
| string | GetMapURL (int GameIndex, int RecordIndex, int MapIndex)
|
| int | GetRecordIndex (int GameIndex, string MapListName)
|
| array<MaplistRecord> | GetRecords (int GameIndex)
|
| int | GetStoredGameIndex (coerce string GameType)
|
| | InitializeActiveLists ()
|
| | InitializeMaplistRecords ()
|
| bool | InsertMap (int GameIndex, int RecordIndex, string MapName, int ListIndex)
|
| bool | IsNewGameType (string GameClassName)
|
| | MapChange (string NewMap)
|
| bool | MaplistDirty (int GameIndex, int RecordIndex)
|
| | PreBeginPlay ()
|
| bool | RemoveGame (int i)
|
| int | RemoveList (int GameIndex, int RecordIndex)
|
| bool | RemoveMap (int GameIndex, int RecordIndex, string MapName)
|
| int | RemoveRecord (int GameIndex, int RecordIndex)
|
| int | RenameList (int GameIndex, int RecordIndex, string NewName)
|
| | ResetGame (int GameIndex)
|
| | ResetList (int GameIndex, int RecordIndex)
|
| | Save ()
|
| bool | SaveGame (int GameIndex)
|
| bool | SaveMapList (int GameIndex, int RecordIndex)
|
| bool | SetActiveList (int GameIndex, int NewActive)
|
| int | SetActiveMap (int GameIndex, int RecordIndex, int MapIndex)
|
| | ShiftMap (int GameIndex, int RecordIndex, string MapName, int Count)
|
| bool | ValidCacheGameIndex (int i)
|
| bool | ValidGameIndex (int i)
|
| bool | ValidGameType (string GameType)
|
| bool | ValidName (string S)
|
| bool | 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 |
var bool bDirty;
var protected array<string> MaplistRecordNames;
MaplistManager
protected function int AddGameType ( coerce string NewGameType )
protected function int AddGroup ( string GameType )
function int AddList ( string GameType, string NewName, array<string> Maps )
function bool AddMap ( int GameIndex, int RecordIndex, string MapName )
function bool ApplyMapList ( int GameIndex, int RecordIndex )
function bool ClearList ( int GameIndex, int RecordIndex )
protected function CreateDefaultList ( int i )
protected function MaplistRecord CreateRecord (
string RecordName )
event Destroyed ( )
function int FindMaplistContaining ( int GameIndex, string Mapname )
protected function GenerateGroupMaplist ( int GroupIndex )
function int GetActiveList ( int GameIndex )
function int GetActiveMap ( int GameIndex, int RecordIndex )
function string GetActiveMapName ( int GameIndex, int RecordIndex )
function bool GetAvailableMaps (
int GameIndex,
out array<
MaplistRecord.MapItem> Ar )
function int GetCacheGameIndex ( string GameType )
function array<string> GetCacheMapList ( string Acronym )
function array<string> GetCurrentMapRotation ( )
function bool GetDefaultMaps ( string MaplistClassName, out array<string> Maps )
function int GetGameIndex ( coerce string GameType )
function int GetMapIndex ( int GameIndex, int RecordIndex, string MapName )
function array<string> GetMapList ( int GameIndex, int RecordIndex )
function array<string> GetMapListNames ( int GameIndex )
function string GetMapListTitle ( int GameIndex, int RecordIndex )
function string GetMapTitle ( int GameIndex, int RecordIndex, int MapIndex )
function string GetMapURL ( int GameIndex, int RecordIndex, int MapIndex )
function int GetRecordIndex ( int GameIndex, string MapListName )
protected function array<
MaplistRecord> GetRecords (
int GameIndex )
protected function int GetStoredGameIndex ( coerce string GameType )
protected function InitializeActiveLists ( )
InitializeMaplistRecords Source code
protected function InitializeMaplistRecords ( )
function bool InsertMap ( int GameIndex, int RecordIndex, string MapName, int ListIndex )
protected function bool IsNewGameType ( string GameClassName )
function MapChange ( string NewMap )
function bool MaplistDirty ( int GameIndex, int RecordIndex )
event PreBeginPlay ( )
protected function bool RemoveGame ( int i )
function int RemoveList ( int GameIndex, int RecordIndex )
function bool RemoveMap ( int GameIndex, int RecordIndex, string MapName )
protected function int RemoveRecord ( int GameIndex, int RecordIndex )
function int RenameList ( int GameIndex, int RecordIndex, string NewName )
function ResetGame ( int GameIndex )
function ResetList ( int GameIndex, int RecordIndex )
protected function Save ( )
function bool SaveGame ( int GameIndex )
function bool SaveMapList ( int GameIndex, int RecordIndex )
function bool SetActiveList ( int GameIndex, int NewActive )
function int SetActiveMap ( int GameIndex, int RecordIndex, int MapIndex )
function ShiftMap ( int GameIndex, int RecordIndex, string MapName, int Count )
function bool ValidCacheGameIndex ( int i )
function bool ValidGameIndex ( int i )
function bool ValidGameType ( string GameType )
function bool ValidName ( string S )
protected function bool ValidRecordIndex ( int GameIndex, int MapListIndex )
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!"
}
|
Creation time: Mo 16.4.2007 11:20:24.015 - Created with
UnCodeX