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.
파일 보기 프로젝트 열기: PlayFab/PlayFabGameServer

공개 메소드들

메소드 설명
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