C# 클래스 BF2Statistics.Web.Bf2Stats.Bf2StatsData

This class loads and contains all of the data found in the Web/Bf2Stats/.xml files
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter

공개 프로퍼티들

프로퍼티 타입 설명
Armies string>.Dictionary
Maps string>.Dictionary
ModMapIds List>.Dictionary
TheatreMapIds int[]>.Dictionary

공개 메소드들

메소드 설명
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

메소드 상세

GetArmyName() 공개 정적인 메소드

Returns the army title based on the given raarmy id
public static GetArmyName ( int ArmyId ) : string
ArmyId int
리턴 string

GetMapName() 공개 정적인 메소드

Returns the map title based on the given map id
public static GetMapName ( int MapId ) : string
MapId int
리턴 string

Load() 공개 정적인 메소드

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
리턴 void

프로퍼티 상세

Armies 공개적으로 정적으로 프로퍼티

ArmyId => Army Name. Data generated from ArmyData.xml
public static Dictionary Armies
리턴 string>.Dictionary

Maps 공개적으로 정적으로 프로퍼티

MapId => Map Name. Data generated from MapData.xml
public static Dictionary Maps
리턴 string>.Dictionary

ModMapIds 공개적으로 정적으로 프로퍼티

ModName => List of MapIds. Data generated from MapData.xml
public static Dictionary> ModMapIds
리턴 List>.Dictionary

TheatreMapIds 공개적으로 정적으로 프로퍼티

TheaterName => List of MapIds. Data generated from TeaterData.xml
public static Dictionary TheatreMapIds
리턴 int[]>.Dictionary