C# Class BF2Statistics.ASP.StatsProcessor.BackendAward

This object represents an award that is earned during the processing of a snapshot, and provides methods to check if a given player has met the criteria to earn it.
Show file Open project: BF2Statistics/ControlCenter

Protected Properties

Property Type Description
Criterias BF2Statistics.ASP.StatsProcessor.AwardCriteria[]

Public Methods

Method Description
BackendAward ( int AwardId, AwardCriteria Criterias ) : System

Constructor

CriteriaMet ( int Pid, StatsDatabase Driver, int &Level ) : bool

Returns a bool stating whether the criteria for this award is met for a givin player

Method Details

BackendAward() public method

Constructor
public BackendAward ( int AwardId, AwardCriteria Criterias ) : System
AwardId int The award id
Criterias AwardCriteria The criteria's needed to earn the award
return System

CriteriaMet() public method

Returns a bool stating whether the criteria for this award is met for a givin player
public CriteriaMet ( int Pid, StatsDatabase Driver, int &Level ) : bool
Pid int The player ID
Driver BF2Statistics.Database.StatsDatabase
Level int The award level if the criteria is met
return bool

Property Details

Criterias protected property

The award criteria's to earn the award
protected AwardCriteria[],BF2Statistics.ASP.StatsProcessor Criterias
return BF2Statistics.ASP.StatsProcessor.AwardCriteria[]