Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210628
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Jun 29, 2021
2 parents 7b1a063 + f731b01 commit 91d0c4c
Show file tree
Hide file tree
Showing 78 changed files with 1,946 additions and 1,584 deletions.
2 changes: 1 addition & 1 deletion AndroidStudioExample/app/packageMe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds
popd

cd target
Copy-Item client-sdk-0.132.210521.jar -Destination ../../builds/client-sdk-0.132.210521.jar
Copy-Item client-sdk-0.133.210628.jar -Destination ../../builds/client-sdk-0.133.210628.jar
2 changes: 1 addition & 1 deletion AndroidStudioExample/app/packageMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mkdir -p ./builds
popd

cd target
cp client-sdk-0.132.210521.jar ../../builds/client-sdk-0.132.210521.jar
cp client-sdk-0.133.210628.jar ../../builds/client-sdk-0.133.210628.jar
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public PlayFabResult<GetEntityTokenResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetEntityTokenResponse> exceptionResult = new PlayFabResult<GetEntityTokenResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -119,7 +119,7 @@ public PlayFabResult<ValidateEntityTokenResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<ValidateEntityTokenResponse> exceptionResult = new PlayFabResult<ValidateEntityTokenResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down
324 changes: 162 additions & 162 deletions AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientAPI.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public PlayFabResult<ExecuteCloudScriptResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<ExecuteCloudScriptResult> exceptionResult = new PlayFabResult<ExecuteCloudScriptResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -113,7 +113,7 @@ public PlayFabResult<ExecuteFunctionResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<ExecuteFunctionResult> exceptionResult = new PlayFabResult<ExecuteFunctionResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -178,7 +178,7 @@ public PlayFabResult<ListFunctionsResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<ListFunctionsResult> exceptionResult = new PlayFabResult<ListFunctionsResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -240,7 +240,7 @@ public PlayFabResult<ListHttpFunctionsResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<ListHttpFunctionsResult> exceptionResult = new PlayFabResult<ListHttpFunctionsResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -302,7 +302,7 @@ public PlayFabResult<ListQueuedFunctionsResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<ListQueuedFunctionsResult> exceptionResult = new PlayFabResult<ListQueuedFunctionsResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -364,7 +364,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -426,7 +426,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -488,7 +488,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -550,7 +550,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -612,7 +612,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -674,7 +674,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -736,7 +736,7 @@ public PlayFabResult<EmptyResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResult> exceptionResult = new PlayFabResult<EmptyResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public PlayFabResult<AbortFileUploadsResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<AbortFileUploadsResponse> exceptionResult = new PlayFabResult<AbortFileUploadsResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -111,7 +111,7 @@ public PlayFabResult<DeleteFilesResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<DeleteFilesResponse> exceptionResult = new PlayFabResult<DeleteFilesResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -173,7 +173,7 @@ public PlayFabResult<FinalizeFileUploadsResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<FinalizeFileUploadsResponse> exceptionResult = new PlayFabResult<FinalizeFileUploadsResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -235,7 +235,7 @@ public PlayFabResult<GetFilesResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetFilesResponse> exceptionResult = new PlayFabResult<GetFilesResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -297,7 +297,7 @@ public PlayFabResult<GetObjectsResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetObjectsResponse> exceptionResult = new PlayFabResult<GetObjectsResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -359,7 +359,7 @@ public PlayFabResult<InitiateFileUploadsResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<InitiateFileUploadsResponse> exceptionResult = new PlayFabResult<InitiateFileUploadsResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -421,7 +421,7 @@ public PlayFabResult<SetObjectsResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<SetObjectsResponse> exceptionResult = new PlayFabResult<SetObjectsResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ public static enum PlayFabErrorCode {
ExplorerBasicUpdateQueryError(5112),
ExplorerBasicSavedQueriesLimit(5113),
ExplorerBasicSavedQueryNotFound(5114),
TenantShardMapperShardNotFound(5500),
TitleNotEnabledForParty(6000),
PartyVersionNotFound(6001),
MultiplayerServerBuildReferencedByMatchmakingQueue(6002),
Expand Down Expand Up @@ -671,6 +672,7 @@ public static class PlayFabError {
public PlayFabErrorCode pfErrorCode;
public String errorMessage;
public Map<String, List<String>> errorDetails;
public Integer retryAfterSeconds;
}

// This is the internal definition of an error, that matches the json we receive
Expand All @@ -681,6 +683,7 @@ public static class PlayFabJsonError {
public int errorCode;
public String errorMessage;
public Map<String, List<String>> errorDetails;
public Integer retryAfterSeconds;
}

public static class PlayFabJsonSuccess<E> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public PlayFabResult<CreateExclusionGroupResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<CreateExclusionGroupResult> exceptionResult = new PlayFabResult<CreateExclusionGroupResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -106,7 +106,7 @@ public PlayFabResult<CreateExperimentResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<CreateExperimentResult> exceptionResult = new PlayFabResult<CreateExperimentResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -168,7 +168,7 @@ public PlayFabResult<EmptyResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResponse> exceptionResult = new PlayFabResult<EmptyResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -230,7 +230,7 @@ public PlayFabResult<EmptyResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResponse> exceptionResult = new PlayFabResult<EmptyResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -292,7 +292,7 @@ public PlayFabResult<GetExclusionGroupsResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetExclusionGroupsResult> exceptionResult = new PlayFabResult<GetExclusionGroupsResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -354,7 +354,7 @@ public PlayFabResult<GetExclusionGroupTrafficResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetExclusionGroupTrafficResult> exceptionResult = new PlayFabResult<GetExclusionGroupTrafficResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -416,7 +416,7 @@ public PlayFabResult<GetExperimentsResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetExperimentsResult> exceptionResult = new PlayFabResult<GetExperimentsResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -478,7 +478,7 @@ public PlayFabResult<GetLatestScorecardResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetLatestScorecardResult> exceptionResult = new PlayFabResult<GetLatestScorecardResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -540,7 +540,7 @@ public PlayFabResult<GetTreatmentAssignmentResult> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<GetTreatmentAssignmentResult> exceptionResult = new PlayFabResult<GetTreatmentAssignmentResult>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -602,7 +602,7 @@ public PlayFabResult<EmptyResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResponse> exceptionResult = new PlayFabResult<EmptyResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -664,7 +664,7 @@ public PlayFabResult<EmptyResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResponse> exceptionResult = new PlayFabResult<EmptyResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -726,7 +726,7 @@ public PlayFabResult<EmptyResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResponse> exceptionResult = new PlayFabResult<EmptyResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down Expand Up @@ -788,7 +788,7 @@ public PlayFabResult<EmptyResponse> call() throws Exception {
return task.get();
} catch(Exception e) {
PlayFabResult<EmptyResponse> exceptionResult = new PlayFabResult<EmptyResponse>();
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null, null);
return exceptionResult;
}
}
Expand Down
Loading

0 comments on commit 91d0c4c

Please sign in to comment.