C# Class BF2Statistics.ASP.StatsProcessor.Player

This class is used to convert the Key => value data for a player in a Snapshot, into an object, as well as Validate that all the player data is valid.
Mostra file Open project: BF2Statistics/ControlCenter

Public Properties

Property Type Description
EarnedAwards int>.Dictionary
KitData BF2Statistics.ASP.StatsProcessor.ObjectStat[]
Stats RoundStats
VehicleData BF2Statistics.ASP.StatsProcessor.ObjectStat[]
WeaponData BF2Statistics.ASP.StatsProcessor.ObjectStat[]

Public Methods

Method Description
Player ( string>.Dictionary PlayerData, int>.Dictionary PlayerKillData ) : System

Constructor

SetRank ( int Rank ) : void

Sets the rank for this player

Method Details

Player() public method

Constructor
public Player ( string>.Dictionary PlayerData, int>.Dictionary PlayerKillData ) : System
PlayerData string>.Dictionary The snapshot player data
PlayerKillData int>.Dictionary The snapshot player kill data
return System

SetRank() public method

Sets the rank for this player
public SetRank ( int Rank ) : void
Rank int
return void

Property Details

EarnedAwards public_oe property

A list of awards the player earned during the round [AwardId => AwardLevel]
public Dictionary EarnedAwards
return int>.Dictionary

KitData public_oe property

Returns the players kit data and scores
public ObjectStat[],BF2Statistics.ASP.StatsProcessor KitData
return BF2Statistics.ASP.StatsProcessor.ObjectStat[]

Stats public_oe property

An object containing the player's statistical round data
public RoundStats,BF2Statistics.ASP.StatsProcessor Stats
return RoundStats

VehicleData public_oe property

Returns the players vehicle data and scores
public ObjectStat[],BF2Statistics.ASP.StatsProcessor VehicleData
return BF2Statistics.ASP.StatsProcessor.ObjectStat[]

WeaponData public_oe property

Returns the players weapon data and scores
public ObjectStat[],BF2Statistics.ASP.StatsProcessor WeaponData
return BF2Statistics.ASP.StatsProcessor.ObjectStat[]