Property | Type | Description | |
---|---|---|---|
ActionNames | string[] | ||
IndexCatagories | List |
||
IndexQueries | string[] |
Method | Description | |
---|---|---|
FormatNumber ( object Num ) : string | ||
GetPage ( int index ) : int |
Returns the page number that the players stat would appear
|
|
HandleRequest ( MvcRoute Route ) : void | ||
RankingsController ( HttpClient Client ) : System |
Method | Description | |
---|---|---|
GetTopFromQuery ( int id, |
Processes the query ID and returns the results
|
Method | Description | |
---|---|---|
FinishQuery ( string action, BF2Statistics.Database.QueryBuilder.SelectQueryBuilder builder, bool &valueIsDecimal ) : void |
This method is used to fetch an array of columns we need in our detailed rankings page. It also returns in 2 out variables additional data we need to adjust our query
|
|
GetHeaderName ( string action ) : string |
Converts the url action to a string that is used in the table header
|
|
ShowIndex ( ) : void | ||
ShowRankingType ( MvcRoute Route ) : void |
protected GetTopFromQuery ( int id, |
||
id | int | The Query id |
Database | The stats database connection | |
return | List |
public HandleRequest ( MvcRoute Route ) : void | ||
Route | MvcRoute | |
return | void |
public RankingsController ( HttpClient Client ) : System | ||
Client | HttpClient | |
return | System |