C# Класс Foundation.Server.GameScoreService

Example strongly typed web api score service client
Наследование: ServiceClientBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Instance GameScoreService

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GameScoreService ( ) : System

Описание методов

Get() публичный Метод

Gets the high score list
public Get ( int take, int skip ) : UnityTask
take int
skip int
Результат UnityTask

Get() публичный Метод

Gets the high score list
public Get ( int take, int skip, Action callback ) : void
take int
skip int
callback Action
Результат void

Self() публичный Метод

Returns your current score
public Self ( ) : UnityTask
Результат UnityTask

Self() публичный Метод

Returns your current score
public Self ( Action callback ) : void
callback Action
Результат void

Update() публичный Метод

Posts the score to the server
public Update ( GameScore entity ) : UnityTask
entity Foundation.Server.Api.GameScore
Результат Foundation.Tasks.UnityTask

Update() публичный Метод

Posts the score to the server
public Update ( GameScore entity, Action callback ) : void
entity Foundation.Server.Api.GameScore
callback Action
Результат void

Описание свойств

Instance публичное статическое свойство

public static GameScoreService,Foundation.Server Instance
Результат GameScoreService