C# Class Foundation.Server.GameScoreService

Example strongly typed web api score service client
Inheritance: ServiceClientBase
Afficher le fichier Open project: NVentimiglia/Unity3d-Foundation

Méthodes publiques

Свойство Type Description
Instance GameScoreService

Méthodes publiques

Méthode Description
Get ( int take, int skip ) : UnityTask

Gets the high score list

Get ( int take, int skip, Action callback ) : void

Gets the high score list

Self ( ) : UnityTask

Returns your current score

Self ( Action callback ) : void

Returns your current score

Update ( GameScore entity ) : UnityTask

Posts the score to the server

Update ( GameScore entity, Action callback ) : void

Posts the score to the server

Private Methods

Méthode Description
GameScoreService ( ) : System

Method Details

Get() public méthode

Gets the high score list
public Get ( int take, int skip ) : UnityTask
take int
skip int
Résultat UnityTask

Get() public méthode

Gets the high score list
public Get ( int take, int skip, Action callback ) : void
take int
skip int
callback Action
Résultat void

Self() public méthode

Returns your current score
public Self ( ) : UnityTask
Résultat UnityTask

Self() public méthode

Returns your current score
public Self ( Action callback ) : void
callback Action
Résultat void

Update() public méthode

Posts the score to the server
public Update ( GameScore entity ) : UnityTask
entity Foundation.Server.Api.GameScore
Résultat Foundation.Tasks.UnityTask

Update() public méthode

Posts the score to the server
public Update ( GameScore entity, Action callback ) : void
entity Foundation.Server.Api.GameScore
callback Action
Résultat void

Property Details

Instance public_oe static_oe property

public static GameScoreService,Foundation.Server Instance
Résultat GameScoreService