## Engine
Class MPClassList

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

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

Direct Known Subclasses:None

class MPClassList
extends Engine.Info

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Variables
`array` | `ClassListInfo`
`string` | `ClassName`
`string` | `ReadableName`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class MPClassList extends Info;
    00005
    00006	struct StructClassInfo
    00007	{
    00008	  var string ClassName;
    00009	  var string ReadableName;
    00010	};
    00011
    00012	var localized array<StructClassInfo> ClassListInfo;
    00013
    00014	/* // Ex usage
    00015	    NbClasses = class'MPClassList'.default.ClassListInfo.Length;
    00016	    Log("STATIC ClassList NbClass="$NbClasses);
    00017	    if ( NbClasses > 0 )
    00018	    {
    00019	      for (i=0; i<NbClasses; i++)
    00020	        Log("  "$i$" - "$class'MPClassList'.default.ClassListInfo[i].ReadableName@"("$class'MPClassList'.default.ClassListInfo[i].ClassName$")");
    00021	    }
    00022	*/
    00023
    00024	defaultproperties
    00025	{
    00026	     ClassListInfo(0)=(ClassName="XIIIMP.HunterPlayer",ReadableName="Hunter")
    00027	     ClassListInfo(1)=(ClassName="XIIIMP.HeavySoldierPlayer",ReadableName="Heavy Soldier")
    00028	     ClassListInfo(2)=(ClassName="XIIIMP.SniperPlayer",ReadableName="Sniper")
    00029	     ClassListInfo(3)=(ClassName="XIIIMP.SoldierPlayer",ReadableName="Soldier")
    00030	}

End Source Code