C# Class BF2Statistics.Web.Bf2Stats.Bf2StatsData

This class loads and contains all of the data found in the Web/Bf2Stats/.xml files
Afficher le fichier Open project: BF2Statistics/ControlCenter

Méthodes publiques

Свойство Type Description
Armies string>.Dictionary
Maps string>.Dictionary
ModMapIds List>.Dictionary
TheatreMapIds int[]>.Dictionary

Méthodes publiques

Méthode Description
GetArmyName ( int ArmyId ) : string

Returns the army title based on the given raarmy id

GetMapName ( int MapId ) : string

Returns the map title based on the given map id

Load ( ) : void

Loads the XML files from the "Web/Bf2Stats" folder. These XML files are used for displaying certain information on some of the Bf2Stats pages

Method Details

GetArmyName() public static méthode

Returns the army title based on the given raarmy id
public static GetArmyName ( int ArmyId ) : string
ArmyId int
Résultat string

GetMapName() public static méthode

Returns the map title based on the given map id
public static GetMapName ( int MapId ) : string
MapId int
Résultat string

Load() public static méthode

Loads the XML files from the "Web/Bf2Stats" folder. These XML files are used for displaying certain information on some of the Bf2Stats pages
public static Load ( ) : void
Résultat void

Property Details

Armies public_oe static_oe property

ArmyId => Army Name. Data generated from ArmyData.xml
public static Dictionary Armies
Résultat string>.Dictionary

Maps public_oe static_oe property

MapId => Map Name. Data generated from MapData.xml
public static Dictionary Maps
Résultat string>.Dictionary

ModMapIds public_oe static_oe property

ModName => List of MapIds. Data generated from MapData.xml
public static Dictionary> ModMapIds
Résultat List>.Dictionary

TheatreMapIds public_oe static_oe property

TheaterName => List of MapIds. Data generated from TeaterData.xml
public static Dictionary TheatreMapIds
Résultat int[]>.Dictionary