## Engine
Class MapList

source: C:\XIII\Engine\Classes\MapList.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.MapList

Direct Known Subclasses:None

class MapList
extends Engine.Info

    //=============================================================================
    // MapList.
    // contains a list of maps to check names in .ini (to allow download new maps)
    // Used as STATIC
    //=============================================================================

Variables
`array` | `MapListInfo` map available on PS2 platform
`string` | `MapReadableName`
`string` | `MapUnrName`
`int` | `NbPlayers`
`bool` | `bDeathMatchOnly` map only available for deathmatch mode
`bool` | `bOnCube` map available on Cube platform
`bool` | `bOnPC` map available on PC platform
`bool` | `bOnPS2` map available on PS2 platform
`bool` | `bOnXBox` map available on XBox platform

Source Code

    00001	//=============================================================================
    00002	// MapList.
    00003	// contains a list of maps to check names in .ini (to allow download new maps)
    00004	// Used as STATIC
    00005	//=============================================================================
    00006	class MapList extends Info
    00007	  config(MapList) native;
    00008
    00009	struct StructMapInfo
    00010	{
    00011	  var string MapReadableName;
    00012	  var string MapUnrName;
    00013	  var int NbPlayers;
    00014	  var bool bDeathMatchOnly;  // map only available for deathmatch mode
    00015	  var bool bOnXBox;			// map available on XBox platform
    00016	  var bool bOnPC;			// map available on PC platform
    00017	  var bool bOnCube;			// map available on Cube platform
    00018	  var bool bOnPS2;			// map available on PS2 platform
    00019	};
    00020
    00021	var config array<StructMapInfo> MapListInfo;
    00022
    00023	defaultproperties
    00024	{
    00025	     MapListInfo(0)=(MapReadableName="Winslow Bank",MapUnrName="DM_Banque.unr",NbPlayers=6,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00026	     MapListInfo(1)=(MapReadableName="Platform 02",MapUnrName="DM_Base.unr",NbPlayers=4,bOnCube=True,bOnPS2=True)
    00027	     MapListInfo(2)=(MapReadableName="Platform 02",MapUnrName="DM_Base_XBox.unr",NbPlayers=4,bOnXBox=True,bOnPC=True)
    00028	     MapListInfo(3)=(MapReadableName="AFM-10",MapUnrName="DM_Base2.unr",NbPlayers=4,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00029	     MapListInfo(4)=(MapReadableName="Emerald",MapUnrName="DM_Hual1.unr",NbPlayers=4,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00030	     MapListInfo(5)=(MapReadableName="FBI",MapUnrName="DM_Amos.unr",NbPlayers=6,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00031	     MapListInfo(6)=(MapReadableName="Bristol Suites",MapUnrName="DM_Pal.unr",NbPlayers=6,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00032	     MapListInfo(7)=(MapReadableName="SPADS",MapUnrName="DM_Spads.unr",NbPlayers=4,bOnCube=True,bOnPS2=True)
    00033	     MapListInfo(8)=(MapReadableName="SPADS",MapUnrName="DM_Spads_XBox.unr",NbPlayers=6,bOnXBox=True,bOnPC=True)
    00034	     MapListInfo(9)=(MapReadableName="Plain Rock",MapUnrName="DM_PRock.unr",NbPlayers=6,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00035	     MapListInfo(10)=(MapReadableName="Warehouse 33",MapUnrName="DM_Warehouse.unr",NbPlayers=4,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00036	     MapListInfo(11)=(MapReadableName="USS-Patriot",MapUnrName="CTF_Base.unr",NbPlayers=8,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00037	     MapListInfo(12)=(MapReadableName="XX",MapUnrName="CTF_Sanc.unr",NbPlayers=6,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00038	     MapListInfo(13)=(MapReadableName="Kellownee",MapUnrName="CTF_Snow.unr",NbPlayers=6,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00039	     MapListInfo(14)=(MapReadableName="New York",MapUnrName="CTF_Toits.unr",NbPlayers=8,bOnXBox=True,bOnPC=True,bOnCube=True,bOnPS2=True)
    00040	     MapListInfo(15)=(MapReadableName="Temple",MapUnrName="CTF_Temple.unr",NbPlayers=8,bOnXBox=True,bOnPC=True,bOnCube=True)
    00041	     MapListInfo(16)=(MapReadableName="Docks",MapUnrName="SB_USA2.unr",NbPlayers=8,bOnXBox=True,bOnPC=True)
    00042	     MapListInfo(17)=(MapReadableName="Choland",MapUnrName="SB_Hual1a.unr",NbPlayers=8,bOnXBox=True,bOnPC=True)
    00043	     MapListInfo(18)=(MapReadableName="Camp",MapUnrName="SB_Camp.unr",NbPlayers=8,bOnXBox=True,bOnPC=True)
    00044	     MapListInfo(19)=(MapReadableName="Hualpar",MapUnrName="DM_Hual04a.unr",NbPlayers=4,bDeathMatchOnly=True,bOnXBox=True,bOnPC=True)
    00045	     MapListInfo(20)=(MapReadableName="Asylum",MapUnrName="DM_PRock01a.unr",NbPlayers=4,bDeathMatchOnly=True,bOnXBox=True,bOnPC=True)
    00046	     MapListInfo(21)=(MapReadableName="USA",MapUnrName="DM_USA01.unr",NbPlayers=4,bDeathMatchOnly=True,bOnXBox=True,bOnPC=True)
    00047	     MapListInfo(22)=(MapReadableName="SS-419",MapUnrName="DM_SM01.unr",NbPlayers=4,bDeathMatchOnly=True,bOnXBox=True,bOnPC=True)
    00048	}

End Source Code