C# Class ScoreoidInterface, Spare-Change

Inheritance: MonoBehaviour
Exibir arquivo Open project: ThatsAMorais/Spare-Change Class Usage Examples

Public Methods

Method Description
CreatePlayer ( string playerName, string password, string email ) : void
GetPlayer ( string playerName, string password ) : void
RetrievePassword ( string playerName ) : void
UpdatePlayer ( string playerName, float money, float xp, int kills, int current_level, string weapon ) : void

Private Methods

Method Description
ParseScoreoidJSON ( string theJSONString, string url ) : void
ProcessScoreoidError ( WWW www ) : void
SendScoreoidForm ( string request, WWWForm form ) : void
StartScoreoidForm ( ) : WWWForm
Utilities ( ) : UtilitiesScript,
WaitForRequest ( WWW www ) : IEnumerator

Method Details

CreatePlayer() public method

public CreatePlayer ( string playerName, string password, string email ) : void
playerName string
password string
email string
return void

GetPlayer() public method

public GetPlayer ( string playerName, string password ) : void
playerName string
password string
return void

RetrievePassword() public method

public RetrievePassword ( string playerName ) : void
playerName string
return void

UpdatePlayer() public method

public UpdatePlayer ( string playerName, float money, float xp, int kills, int current_level, string weapon ) : void
playerName string
money float
xp float
kills int
current_level int
weapon string
return void