C# Class BF2Statistics.Web.ASP.GetPlayerInfo

/ASP/getplayerinfo.aspx
Inheritance: ASPController
Show file Open project: BF2Statistics/ControlCenter

Public Methods

Method Description
DoFullRequest ( ) : void

Produces a FULL player response for BF2HQ

GetDenominator ( int a, int b ) : int

Returns the common denominator of 2 variables

GetPlayerInfo ( HttpClient Client ) : System

This request provides details on a particular player

HandleRequest ( ) : void

Private Methods

Method Description
AddArmyData ( ) : void

Adds Army Data to the Response

AddKitData ( ) : void

Adds Kit Data to the Response

AddTacticalData ( ) : void

Adds tactical data to the Response

AddVehicleData ( ) : void

Adds Vehicle Data to the Response

AddWeaponData ( ) : void

Adds Weapon Data to the Response

DoMapRequest ( ) : void

Fetches map info for player Originally this method was smaller and faster... BUT, good Ol' BF2 wasnt having my new format... unfortunatly, if the headers arent all grouped together, the mapinfo wont parse in the bf2 client, therefor this method is bigger and written differently then it should be... just keep that in mind ;)

DoServerRequest ( ) : void

Produces the Server response

DoTimeRequest ( ) : void

Fetches time info for player favorites

GetFavMap ( ) : void

Adds the players favorite map data to the response

GetPlayerTopVitcimAndOpp ( ) : void

Fills the Top Opponent and Victim Variables

Method Details

DoFullRequest() public method

Produces a FULL player response for BF2HQ
public DoFullRequest ( ) : void
return void

GetDenominator() public method

Returns the common denominator of 2 variables
public GetDenominator ( int a, int b ) : int
a int
b int
return int

GetPlayerInfo() public method

This request provides details on a particular player
public GetPlayerInfo ( HttpClient Client ) : System
Client HttpClient The HttpClient who made the request
return System

HandleRequest() public method

public HandleRequest ( ) : void
return void