C# Class BF2Statistics.Web.ASP.GetUnlocksInfo

/ASP/getunlocksinfo.aspx
Inheritance: ASPController
ファイルを表示 Open project: BF2Statistics/ControlCenter

Public Methods

Method Description
GetUnlocksInfo ( HttpClient Client ) : System

This request provides details of the players unlocked weapons

HandleRequest ( ) : void

Private Methods

Method Description
CheckUnlock ( int Want, int Need, bool>.Dictionary Unlocks ) : void

This method adds special forces unlocks to the output, only if the base class unlock is unlocked. We dont add the unlock if the base class unlock is NOT unlocked, because if we do, then the user will be able to choose the unlock, without earning the base unlock first

GetBonusUnlocks ( ) : int

Gets the total unlocks a player can have based off of rank, and awards

Method Details

GetUnlocksInfo() public method

This request provides details of the players unlocked weapons
public GetUnlocksInfo ( HttpClient Client ) : System
Client HttpClient The HttpClient who made the request
return System

HandleRequest() public method

public HandleRequest ( ) : void
return void