C# 클래스 PlayFab.PlayFabMatchmakerAPI

Enables the use of an external match-making service in conjunction with PlayFab hosted Game Server instances
파일 보기 프로젝트 열기: PlayFab/PlayFab-Samples

공개 메소드들

메소드 설명
AuthUser ( AuthUserRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void

Validates a user with the PlayFab service

PlayerJoined ( PlayerJoinedRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void

Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified

PlayerLeft ( PlayerLeftRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void

Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified

StartGame ( StartGameRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void

Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance

UserInfo ( UserInfoRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void

Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches

메소드 상세

AuthUser() 공개 정적인 메소드

Validates a user with the PlayFab service
public static AuthUser ( AuthUserRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.AuthUserRequest
resultCallback Action
errorCallback Action
customData object
리턴 void

PlayerJoined() 공개 정적인 메소드

Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified
public static PlayerJoined ( PlayerJoinedRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.PlayerJoinedRequest
resultCallback Action
errorCallback Action
customData object
리턴 void

PlayerLeft() 공개 정적인 메소드

Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified
public static PlayerLeft ( PlayerLeftRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.PlayerLeftRequest
resultCallback Action
errorCallback Action
customData object
리턴 void

StartGame() 공개 정적인 메소드

Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance
public static StartGame ( StartGameRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.StartGameRequest
resultCallback Action
errorCallback Action
customData object
리턴 void

UserInfo() 공개 정적인 메소드

Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches
public static UserInfo ( UserInfoRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.UserInfoRequest
resultCallback Action
errorCallback Action
customData object
리턴 void