C# Класс PlayFab.PlayFabPlayStreamAPI

APIs which allow game servers to subscribe to PlayStream events for a specific title This API is server only, and should NEVER be used on clients.
Показать файл Открыть проект

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

Метод Описание
Start ( string eventFilterId = null ) : void

Start the SignalR connection asynchronously and subscribe to PlayStream events if successfully connected. Optionally pass an filter id to only be subscribed to specific types of PlayStream events. Event filters can be configured on GameManager.

Stop ( ) : void

Sends a disconnect request to the server and stop the SignalR connection.

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

Метод Описание
OnConnectedCallback ( string filter ) : void
OnDisconnectedCallback ( ) : void
OnErrorCallback ( Exception ex ) : void
OnPlayStreamNotificationCallback ( object data ) : void
OnReceivedCallback ( string msg ) : void
OnReconnectedCallback ( ) : void
OnSubscriptionErrorCallback ( object data ) : void
OnSubscriptionSuccessCallback ( object data ) : void

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

Start() публичный статический Метод

Start the SignalR connection asynchronously and subscribe to PlayStream events if successfully connected. Optionally pass an filter id to only be subscribed to specific types of PlayStream events. Event filters can be configured on GameManager.
public static Start ( string eventFilterId = null ) : void
eventFilterId string
Результат void

Stop() публичный статический Метод

Sends a disconnect request to the server and stop the SignalR connection.
public static Stop ( ) : void
Результат void