Skip to content

Commit 37ec8b8

Browse files
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201207
1 parent d203ac4 commit 37ec8b8

32 files changed

+2897
-355
lines changed

AndroidStudioExample/app/packageMe.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds
55
popd
66

77
cd target
8-
Copy-Item client-sdk-0.122.201027.jar -Destination ../../builds/client-sdk-0.122.201027.jar
8+
Copy-Item client-sdk-0.123.201207.jar -Destination ../../builds/client-sdk-0.123.201207.jar

AndroidStudioExample/app/packageMe.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ mkdir -p ./builds
77
popd
88

99
cd target
10-
cp client-sdk-0.122.201027.jar ../../builds/client-sdk-0.122.201027.jar
10+
cp client-sdk-0.123.201207.jar ../../builds/client-sdk-0.123.201207.jar

AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java

+15
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ public static enum PlayFabErrorCode {
512512
DuplicateKeys(1509),
513513
WasNotCreatedWithCloudRoot(1510),
514514
LegacyMultiplayerServersDeprecated(1511),
515+
VirtualCurrencyCurrentlyUnavailable(1512),
515516
MatchmakingEntityInvalid(2001),
516517
MatchmakingPlayerAttributesInvalid(2002),
517518
MatchmakingQueueNotFound(2016),
@@ -573,6 +574,20 @@ public static enum PlayFabErrorCode {
573574
ExportCannotParseQuery(5024),
574575
ExportControlCommandsNotAllowed(5025),
575576
ExportQueryMissingTableReference(5026),
577+
ExplorerBasicInvalidQueryName(5100),
578+
ExplorerBasicInvalidQueryDescription(5101),
579+
ExplorerBasicInvalidQueryConditions(5102),
580+
ExplorerBasicInvalidQueryStartDate(5103),
581+
ExplorerBasicInvalidQueryEndDate(5104),
582+
ExplorerBasicInvalidQueryGroupBy(5105),
583+
ExplorerBasicInvalidQueryAggregateType(5106),
584+
ExplorerBasicInvalidQueryAggregateProperty(5107),
585+
ExplorerBasicLoadQueriesError(5108),
586+
ExplorerBasicLoadQueryError(5109),
587+
ExplorerBasicCreateQueryError(5110),
588+
ExplorerBasicDeleteQueryError(5111),
589+
ExplorerBasicUpdateQueryError(5112),
590+
ExplorerBasicSavedQueriesLimit(5113),
576591
TitleNotEnabledForParty(6000),
577592
PartyVersionNotFound(6001),
578593
MultiplayerServerBuildReferencedByMatchmakingQueue(6002),

AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMultiplayerAPI.java

+73
Original file line numberDiff line numberDiff line change
@@ -2390,9 +2390,11 @@ private static PlayFabResult<ListBuildAliasesForTitleResponse> privateListBuildA
23902390
/**
23912391
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
23922392
* access is enabled, allows game client to request list of builds with player entity token.
2393+
* @deprecated Please use ListBuildSummariesV2 instead.
23932394
* @param request ListBuildSummariesRequest
23942395
* @return Async Task will return ListBuildSummariesResponse
23952396
*/
2397+
@Deprecated
23962398
@SuppressWarnings("unchecked")
23972399
public static FutureTask<PlayFabResult<ListBuildSummariesResponse>> ListBuildSummariesAsync(final ListBuildSummariesRequest request) {
23982400
return new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
@@ -2405,9 +2407,11 @@ public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
24052407
/**
24062408
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
24072409
* access is enabled, allows game client to request list of builds with player entity token.
2410+
* @deprecated Please use ListBuildSummariesV2 instead.
24082411
* @param request ListBuildSummariesRequest
24092412
* @return ListBuildSummariesResponse
24102413
*/
2414+
@Deprecated
24112415
@SuppressWarnings("unchecked")
24122416
public static PlayFabResult<ListBuildSummariesResponse> ListBuildSummaries(final ListBuildSummariesRequest request) {
24132417
FutureTask<PlayFabResult<ListBuildSummariesResponse>> task = new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
@@ -2428,7 +2432,9 @@ public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
24282432
/**
24292433
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
24302434
* access is enabled, allows game client to request list of builds with player entity token.
2435+
* @deprecated Please use ListBuildSummariesV2 instead.
24312436
*/
2437+
@Deprecated
24322438
@SuppressWarnings("unchecked")
24332439
private static PlayFabResult<ListBuildSummariesResponse> privateListBuildSummariesAsync(final ListBuildSummariesRequest request) throws Exception {
24342440
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
@@ -2454,6 +2460,73 @@ private static PlayFabResult<ListBuildSummariesResponse> privateListBuildSummari
24542460
return pfResult;
24552461
}
24562462

2463+
/**
2464+
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
2465+
* access is enabled, allows game client to request list of builds with player entity token.
2466+
* @param request ListBuildSummariesRequest
2467+
* @return Async Task will return ListBuildSummariesResponse
2468+
*/
2469+
@SuppressWarnings("unchecked")
2470+
public static FutureTask<PlayFabResult<ListBuildSummariesResponse>> ListBuildSummariesV2Async(final ListBuildSummariesRequest request) {
2471+
return new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
2472+
public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
2473+
return privateListBuildSummariesV2Async(request);
2474+
}
2475+
});
2476+
}
2477+
2478+
/**
2479+
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
2480+
* access is enabled, allows game client to request list of builds with player entity token.
2481+
* @param request ListBuildSummariesRequest
2482+
* @return ListBuildSummariesResponse
2483+
*/
2484+
@SuppressWarnings("unchecked")
2485+
public static PlayFabResult<ListBuildSummariesResponse> ListBuildSummariesV2(final ListBuildSummariesRequest request) {
2486+
FutureTask<PlayFabResult<ListBuildSummariesResponse>> task = new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
2487+
public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
2488+
return privateListBuildSummariesV2Async(request);
2489+
}
2490+
});
2491+
try {
2492+
task.run();
2493+
return task.get();
2494+
} catch(Exception e) {
2495+
PlayFabResult<ListBuildSummariesResponse> exceptionResult = new PlayFabResult<ListBuildSummariesResponse>();
2496+
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
2497+
return exceptionResult;
2498+
}
2499+
}
2500+
2501+
/**
2502+
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
2503+
* access is enabled, allows game client to request list of builds with player entity token.
2504+
*/
2505+
@SuppressWarnings("unchecked")
2506+
private static PlayFabResult<ListBuildSummariesResponse> privateListBuildSummariesV2Async(final ListBuildSummariesRequest request) throws Exception {
2507+
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
2508+
2509+
FutureTask<Object> task = PlayFabHTTP.doPost(PlayFabSettings.GetURL("/MultiplayerServer/ListBuildSummariesV2"), request, "X-EntityToken", PlayFabSettings.EntityToken);
2510+
task.run();
2511+
Object httpResult = task.get();
2512+
if (httpResult instanceof PlayFabError) {
2513+
PlayFabError error = (PlayFabError)httpResult;
2514+
if (PlayFabSettings.GlobalErrorHandler != null)
2515+
PlayFabSettings.GlobalErrorHandler.callback(error);
2516+
PlayFabResult result = new PlayFabResult<ListBuildSummariesResponse>();
2517+
result.Error = error;
2518+
return result;
2519+
}
2520+
String resultRawJson = (String) httpResult;
2521+
2522+
PlayFabJsonSuccess<ListBuildSummariesResponse> resultData = gson.fromJson(resultRawJson, new TypeToken<PlayFabJsonSuccess<ListBuildSummariesResponse>>(){}.getType());
2523+
ListBuildSummariesResponse result = resultData.data;
2524+
2525+
PlayFabResult<ListBuildSummariesResponse> pfResult = new PlayFabResult<ListBuildSummariesResponse>();
2526+
pfResult.Result = result;
2527+
return pfResult;
2528+
}
2529+
24572530
/**
24582531
* Lists multiplayer server game certificates for a title.
24592532
* @param request ListCertificateSummariesRequest

AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import com.playfab.PlayFabErrors.ErrorCallback;
1010

1111
public class PlayFabSettings {
12-
public static String SdkVersion = "0.122.201027";
13-
public static String BuildIdentifier = "jbuild_javasdk__sdk-genericslave-2_0";
14-
public static String SdkVersionString = "JavaSDK-0.122.201027";
12+
public static String SdkVersion = "0.123.201207";
13+
public static String BuildIdentifier = "jbuild_javasdk_sdk-genericslave-2_2";
14+
public static String SdkVersionString = "JavaSDK-0.123.201207";
1515

1616
public static Map<String, String> RequestGetParams;
1717
static {

PlayFabClientSDK/packageMe.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds
55
popd
66

77
cd target
8-
Copy-Item client-sdk-0.122.201027.jar -Destination ../../builds/client-sdk-0.122.201027.jar
8+
Copy-Item client-sdk-0.123.201207.jar -Destination ../../builds/client-sdk-0.123.201207.jar

PlayFabClientSDK/packageMe.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ mkdir -p ./builds
77
popd
88

99
cd target
10-
cp client-sdk-0.122.201027.jar ../../builds/client-sdk-0.122.201027.jar
10+
cp client-sdk-0.123.201207.jar ../../builds/client-sdk-0.123.201207.jar

PlayFabClientSDK/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!-- GAV & Meta -->
1515
<groupId>com.playfab</groupId>
1616
<artifactId>client-sdk</artifactId>
17-
<version>0.122.201027</version>
17+
<version>0.123.201207</version>
1818
<name>PlayFab Client API</name>
1919
<description>PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. </description>
2020
<url>https://docs.microsoft.com/gaming/playfab/</url>

PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java

+15
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ public static enum PlayFabErrorCode {
512512
DuplicateKeys(1509),
513513
WasNotCreatedWithCloudRoot(1510),
514514
LegacyMultiplayerServersDeprecated(1511),
515+
VirtualCurrencyCurrentlyUnavailable(1512),
515516
MatchmakingEntityInvalid(2001),
516517
MatchmakingPlayerAttributesInvalid(2002),
517518
MatchmakingQueueNotFound(2016),
@@ -573,6 +574,20 @@ public static enum PlayFabErrorCode {
573574
ExportCannotParseQuery(5024),
574575
ExportControlCommandsNotAllowed(5025),
575576
ExportQueryMissingTableReference(5026),
577+
ExplorerBasicInvalidQueryName(5100),
578+
ExplorerBasicInvalidQueryDescription(5101),
579+
ExplorerBasicInvalidQueryConditions(5102),
580+
ExplorerBasicInvalidQueryStartDate(5103),
581+
ExplorerBasicInvalidQueryEndDate(5104),
582+
ExplorerBasicInvalidQueryGroupBy(5105),
583+
ExplorerBasicInvalidQueryAggregateType(5106),
584+
ExplorerBasicInvalidQueryAggregateProperty(5107),
585+
ExplorerBasicLoadQueriesError(5108),
586+
ExplorerBasicLoadQueryError(5109),
587+
ExplorerBasicCreateQueryError(5110),
588+
ExplorerBasicDeleteQueryError(5111),
589+
ExplorerBasicUpdateQueryError(5112),
590+
ExplorerBasicSavedQueriesLimit(5113),
576591
TitleNotEnabledForParty(6000),
577592
PartyVersionNotFound(6001),
578593
MultiplayerServerBuildReferencedByMatchmakingQueue(6002),

PlayFabClientSDK/src/main/java/com/playfab/PlayFabMultiplayerAPI.java

+73
Original file line numberDiff line numberDiff line change
@@ -2390,9 +2390,11 @@ private static PlayFabResult<ListBuildAliasesForTitleResponse> privateListBuildA
23902390
/**
23912391
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
23922392
* access is enabled, allows game client to request list of builds with player entity token.
2393+
* @deprecated Please use ListBuildSummariesV2 instead.
23932394
* @param request ListBuildSummariesRequest
23942395
* @return Async Task will return ListBuildSummariesResponse
23952396
*/
2397+
@Deprecated
23962398
@SuppressWarnings("unchecked")
23972399
public static FutureTask<PlayFabResult<ListBuildSummariesResponse>> ListBuildSummariesAsync(final ListBuildSummariesRequest request) {
23982400
return new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
@@ -2405,9 +2407,11 @@ public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
24052407
/**
24062408
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
24072409
* access is enabled, allows game client to request list of builds with player entity token.
2410+
* @deprecated Please use ListBuildSummariesV2 instead.
24082411
* @param request ListBuildSummariesRequest
24092412
* @return ListBuildSummariesResponse
24102413
*/
2414+
@Deprecated
24112415
@SuppressWarnings("unchecked")
24122416
public static PlayFabResult<ListBuildSummariesResponse> ListBuildSummaries(final ListBuildSummariesRequest request) {
24132417
FutureTask<PlayFabResult<ListBuildSummariesResponse>> task = new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
@@ -2428,7 +2432,9 @@ public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
24282432
/**
24292433
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
24302434
* access is enabled, allows game client to request list of builds with player entity token.
2435+
* @deprecated Please use ListBuildSummariesV2 instead.
24312436
*/
2437+
@Deprecated
24322438
@SuppressWarnings("unchecked")
24332439
private static PlayFabResult<ListBuildSummariesResponse> privateListBuildSummariesAsync(final ListBuildSummariesRequest request) throws Exception {
24342440
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
@@ -2454,6 +2460,73 @@ private static PlayFabResult<ListBuildSummariesResponse> privateListBuildSummari
24542460
return pfResult;
24552461
}
24562462

2463+
/**
2464+
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
2465+
* access is enabled, allows game client to request list of builds with player entity token.
2466+
* @param request ListBuildSummariesRequest
2467+
* @return Async Task will return ListBuildSummariesResponse
2468+
*/
2469+
@SuppressWarnings("unchecked")
2470+
public static FutureTask<PlayFabResult<ListBuildSummariesResponse>> ListBuildSummariesV2Async(final ListBuildSummariesRequest request) {
2471+
return new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
2472+
public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
2473+
return privateListBuildSummariesV2Async(request);
2474+
}
2475+
});
2476+
}
2477+
2478+
/**
2479+
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
2480+
* access is enabled, allows game client to request list of builds with player entity token.
2481+
* @param request ListBuildSummariesRequest
2482+
* @return ListBuildSummariesResponse
2483+
*/
2484+
@SuppressWarnings("unchecked")
2485+
public static PlayFabResult<ListBuildSummariesResponse> ListBuildSummariesV2(final ListBuildSummariesRequest request) {
2486+
FutureTask<PlayFabResult<ListBuildSummariesResponse>> task = new FutureTask(new Callable<PlayFabResult<ListBuildSummariesResponse>>() {
2487+
public PlayFabResult<ListBuildSummariesResponse> call() throws Exception {
2488+
return privateListBuildSummariesV2Async(request);
2489+
}
2490+
});
2491+
try {
2492+
task.run();
2493+
return task.get();
2494+
} catch(Exception e) {
2495+
PlayFabResult<ListBuildSummariesResponse> exceptionResult = new PlayFabResult<ListBuildSummariesResponse>();
2496+
exceptionResult.Error = PlayFabHTTP.GeneratePfError(-1, PlayFabErrorCode.Unknown, e.getMessage(), null);
2497+
return exceptionResult;
2498+
}
2499+
}
2500+
2501+
/**
2502+
* Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client
2503+
* access is enabled, allows game client to request list of builds with player entity token.
2504+
*/
2505+
@SuppressWarnings("unchecked")
2506+
private static PlayFabResult<ListBuildSummariesResponse> privateListBuildSummariesV2Async(final ListBuildSummariesRequest request) throws Exception {
2507+
if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API");
2508+
2509+
FutureTask<Object> task = PlayFabHTTP.doPost(PlayFabSettings.GetURL("/MultiplayerServer/ListBuildSummariesV2"), request, "X-EntityToken", PlayFabSettings.EntityToken);
2510+
task.run();
2511+
Object httpResult = task.get();
2512+
if (httpResult instanceof PlayFabError) {
2513+
PlayFabError error = (PlayFabError)httpResult;
2514+
if (PlayFabSettings.GlobalErrorHandler != null)
2515+
PlayFabSettings.GlobalErrorHandler.callback(error);
2516+
PlayFabResult result = new PlayFabResult<ListBuildSummariesResponse>();
2517+
result.Error = error;
2518+
return result;
2519+
}
2520+
String resultRawJson = (String) httpResult;
2521+
2522+
PlayFabJsonSuccess<ListBuildSummariesResponse> resultData = gson.fromJson(resultRawJson, new TypeToken<PlayFabJsonSuccess<ListBuildSummariesResponse>>(){}.getType());
2523+
ListBuildSummariesResponse result = resultData.data;
2524+
2525+
PlayFabResult<ListBuildSummariesResponse> pfResult = new PlayFabResult<ListBuildSummariesResponse>();
2526+
pfResult.Result = result;
2527+
return pfResult;
2528+
}
2529+
24572530
/**
24582531
* Lists multiplayer server game certificates for a title.
24592532
* @param request ListCertificateSummariesRequest

PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import com.playfab.PlayFabErrors.ErrorCallback;
99

1010
public class PlayFabSettings {
11-
public static String SdkVersion = "0.122.201027";
12-
public static String BuildIdentifier = "jbuild_javasdk__sdk-genericslave-2_0";
13-
public static String SdkVersionString = "JavaSDK-0.122.201027";
11+
public static String SdkVersion = "0.123.201207";
12+
public static String BuildIdentifier = "jbuild_javasdk_sdk-genericslave-2_2";
13+
public static String SdkVersionString = "JavaSDK-0.123.201207";
1414

1515
public static Map<String, String> RequestGetParams;
1616
static {

PlayFabSDK/packageMe.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds
55
popd
66

77
cd target
8-
Copy-Item combo-sdk-0.122.201027.jar -Destination ../../builds/combo-sdk-0.122.201027.jar
8+
Copy-Item combo-sdk-0.123.201207.jar -Destination ../../builds/combo-sdk-0.123.201207.jar

PlayFabSDK/packageMe.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ mkdir -p ./builds
77
popd
88

99
cd target
10-
cp combo-sdk-0.122.201027.jar ../../builds/combo-sdk-0.122.201027.jar
10+
cp combo-sdk-0.123.201207.jar ../../builds/combo-sdk-0.123.201207.jar

PlayFabSDK/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!-- GAV & Meta -->
1515
<groupId>com.playfab</groupId>
1616
<artifactId>combo-sdk</artifactId>
17-
<version>0.122.201027</version>
17+
<version>0.123.201207</version>
1818
<name>PlayFab Combo API</name>
1919
<description>PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. </description>
2020
<url>https://docs.microsoft.com/gaming/playfab/</url>

0 commit comments

Comments
 (0)