C# Class BF2Statistics.MedalData.StatsConstants

The data class holds all the different python variables and constants related to statistics and awards
Show file Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Properties

Property Type Description
Awards string>.Dictionary
Badges string>.Dictionary
Medals string>.Dictionary
PythonGlobalVars string>.Dictionary
PythonPlayerVars string>.Dictionary
Ranks string[]
Ribbons string>.Dictionary
SfBadges string>.Dictionary
SfMedals string>.Dictionary
SfRibbons string>.Dictionary

Public Methods

Method Description
GetRankName ( int RankId ) : string

Returns the rank title based on the given rank id

IsTimeStat ( string Name ) : bool

Returns whether a parameter key's valueis a time related statistic

Method Details

GetRankName() public static method

Returns the rank title based on the given rank id
public static GetRankName ( int RankId ) : string
RankId int
return string

IsTimeStat() public static method

Returns whether a parameter key's valueis a time related statistic
public static IsTimeStat ( string Name ) : bool
Name string
return bool

Property Details

Awards public static property

A full list of awards [AwardId => Award Name]
public static Dictionary Awards
return string>.Dictionary

Badges public static property

A full list of Non-SF badges [AwardId => Award Name]
public static Dictionary Badges
return string>.Dictionary

Medals public static property

A full list of Non-SF Medals [AwardId => Award Name]
public static Dictionary Medals
return string>.Dictionary

PythonGlobalVars public static property

Global Strings http://bf2tech.org/index.php/Getplayerinfo_columns
public static Dictionary PythonGlobalVars
return string>.Dictionary

PythonPlayerVars public static property

Provides more human readable names based for the bf2.stats.player scores
public static Dictionary PythonPlayerVars
return string>.Dictionary

Ranks public static property

Provides more human readable names for the bf2 stats ranks
public static string[] Ranks
return string[]

Ribbons public static property

A full list of Non-SF Ribbons [AwardId => Award Name]
public static Dictionary Ribbons
return string>.Dictionary

SfBadges public static property

A full list of SF only Badges [AwardId => Award Name]
public static Dictionary SfBadges
return string>.Dictionary

SfMedals public static property

A full list of SF only Medals [AwardId => Award Name]
public static Dictionary SfMedals
return string>.Dictionary

SfRibbons public static property

A full list of SF only Ribbons [AwardId => Award Name]
public static Dictionary SfRibbons
return string>.Dictionary