C# Class BF2Statistics.Python.Bf2Constants

This object holds all of the Weapon, Vehicle, and Kit and unlocks id's and constants found within the python files.
Show file Open project: BF2Statistics/ControlCenter

Public Properties

Property Type Description
KitTypes string>.Dictionary
Kits string[]
SpecialWeapons string[]
Unlocks string>.Dictionary
VehicleTypes string>.Dictionary
Vehicles string[]
WeaponTypes string>.Dictionary
Weapons string[]

Public Methods

Method Description
GetKitName ( int Id ) : string

Returns the kit title based on the given kit id

GetSpecialWeaponName ( int Id ) : string
GetVehicleName ( int Id ) : string

Returns the vehicle title based on the given vehicle id

GetWeaponName ( int Id ) : string

Returns the weapon title based on the given weapon id

Method Details

GetKitName() public static method

Returns the kit title based on the given kit id
public static GetKitName ( int Id ) : string
Id int
return string

GetSpecialWeaponName() public static method

public static GetSpecialWeaponName ( int Id ) : string
Id int
return string

GetVehicleName() public static method

Returns the vehicle title based on the given vehicle id
public static GetVehicleName ( int Id ) : string
Id int
return string

GetWeaponName() public static method

Returns the weapon title based on the given weapon id
public static GetWeaponName ( int Id ) : string
Id int
return string

Property Details

KitTypes public static property

Provides kit names based on the bf2.stats.constants (ConstantId => StringName)
public static Dictionary KitTypes
return string>.Dictionary

Kits public static property

A full list of BF2 Kit Types [TypeId => Kit Name]
public static string[] Kits
return string[]

SpecialWeapons public static property

A list of special BF2 Weapon Types [TypeId => Weapon Name]
public static string[] SpecialWeapons
return string[]

Unlocks public static property

A full list of BF2 unlocks [UnlockId => Unlock Name]
public static Dictionary Unlocks
return string>.Dictionary

VehicleTypes public static property

Provides vehicle names based on the bf2.stats.constants (ConstantId => StringName)
public static Dictionary VehicleTypes
return string>.Dictionary

Vehicles public static property

A full list of BF2 Vehicle Types [TypeId => Vehicle Name]
public static string[] Vehicles
return string[]

WeaponTypes public static property

Provides weapon names based on the bf2.stats.constants (ConstantId => StringName)
public static Dictionary WeaponTypes
return string>.Dictionary

Weapons public static property

A full list of BF2 Weapon Types [TypeId => Weapon Name]
public static string[] Weapons
return string[]