/// <summary>
        /// Gets multiplayer server logs after a server has terminated.
        /// </summary>
        public void GetMultiplayerServerLogs(GetMultiplayerServerLogsRequest request, Action <GetMultiplayerServerLogsResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null)
        {
            var context      = (request == null ? null : request.AuthenticationContext) ?? authenticationContext;
            var callSettings = apiSettings ?? PlayFabSettings.staticSettings;

            if (!context.IsEntityLoggedIn())
            {
                throw new PlayFabException(PlayFabExceptionCode.NotLoggedIn, "Must be logged in to call this method");
            }
            PlayFabHttp.MakeApiCall("/MultiplayerServer/GetMultiplayerServerLogs", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this);
        }
示例#2
0
 /// <summary>
 /// Gets multiplayer server logs after a server has terminated.
 /// </summary>
 public static void GetMultiplayerServerLogs(GetMultiplayerServerLogsRequest request, Action <GetMultiplayerServerLogsResponse> resultCallback, Action <PlayFabError> errorCallback, object customData = null, Dictionary <string, string> extraHeaders = null)
 {
     PlayFabHttp.MakeApiCall("/MultiplayerServer/GetMultiplayerServerLogs", request, AuthType.EntityToken, resultCallback, errorCallback, customData, extraHeaders);
 }