Skip to content

Commit 824e9e8

Browse files
https://api.playfab.com/releaseNotes/#171016
2 parents 3453995 + afcd8e9 commit 824e9e8

29 files changed

+37
-446
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,11 +1159,6 @@ public static class GameInfo {
11591159
* game session custom data
11601160
*/
11611161
public String GameServerData;
1162-
/**
1163-
* @deprecated Please use GameServerStateEnum instead.
1164-
*/
1165-
@Deprecated
1166-
public Integer GameServerState;
11671162
/**
11681163
* game specific string denoting server configuration
11691164
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import com.playfab.PlayFabErrors.ErrorCallback;
55

66
public class PlayFabSettings {
7-
public static String SdkVersion = "0.56.170925";
7+
public static String SdkVersion = "0.57.171016";
88
public static String BuildIdentifier = "jbuild_javasdk_1";
9-
public static String SdkVersionString = "JavaSDK-0.56.170925";
9+
public static String SdkVersionString = "JavaSDK-0.57.171016";
1010

1111
public static String TitleId = null; // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
1212
public static ErrorCallback GlobalErrorHandler;

PlayFabClientSDK/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<inceptionYear>2016</inceptionYear>
55
<groupId>com.playfab</groupId>
66
<artifactId>client-sdk</artifactId>
7-
<version>0.56.170925</version>
7+
<version>0.57.171016</version>
88
<name>PlayFab Client API</name>
99
<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>
1010
<url>http://api.playfab.com/</url>

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,11 +1159,6 @@ public static class GameInfo {
11591159
* game session custom data
11601160
*/
11611161
public String GameServerData;
1162-
/**
1163-
* @deprecated Please use GameServerStateEnum instead.
1164-
*/
1165-
@Deprecated
1166-
public Integer GameServerState;
11671162
/**
11681163
* game specific string denoting server configuration
11691164
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import com.playfab.PlayFabErrors.ErrorCallback;
44

55
public class PlayFabSettings {
6-
public static String SdkVersion = "0.56.170925";
6+
public static String SdkVersion = "0.57.171016";
77
public static String BuildIdentifier = "jbuild_javasdk_1";
8-
public static String SdkVersionString = "JavaSDK-0.56.170925";
8+
public static String SdkVersionString = "JavaSDK-0.57.171016";
99

1010
public static String TitleId = null; // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
1111
public static ErrorCallback GlobalErrorHandler;

PlayFabSDK/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<inceptionYear>2016</inceptionYear>
55
<groupId>com.playfab</groupId>
66
<artifactId>combo-sdk</artifactId>
7-
<version>0.56.170925</version>
7+
<version>0.57.171016</version>
88
<name>PlayFab Combo API</name>
99
<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>
1010
<url>http://api.playfab.com/</url>

PlayFabSDK/src/main/java/com/playfab/PlayFabAdminAPI.java

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,71 +1135,6 @@ private static PlayFabResult<GetActionsOnPlayersInSegmentTaskInstanceResult> pri
11351135
return pfResult;
11361136
}
11371137

1138-
/**
1139-
* @deprecated Please use GetTasks instead.
1140-
* @param request GetAllActionGroupsRequest
1141-
* @return Async Task will return GetAllActionGroupsResult
1142-
*/
1143-
@Deprecated
1144-
@SuppressWarnings("unchecked")
1145-
public static FutureTask<PlayFabResult<GetAllActionGroupsResult>> GetAllActionGroupsAsync(final GetAllActionGroupsRequest request) {
1146-
return new FutureTask(new Callable<PlayFabResult<GetAllActionGroupsResult>>() {
1147-
public PlayFabResult<GetAllActionGroupsResult> call() throws Exception {
1148-
return privateGetAllActionGroupsAsync(request);
1149-
}
1150-
});
1151-
}
1152-
1153-
/**
1154-
* @deprecated Please use GetTasks instead.
1155-
* @param request GetAllActionGroupsRequest
1156-
* @return GetAllActionGroupsResult
1157-
*/
1158-
@Deprecated
1159-
@SuppressWarnings("unchecked")
1160-
public static PlayFabResult<GetAllActionGroupsResult> GetAllActionGroups(final GetAllActionGroupsRequest request) {
1161-
FutureTask<PlayFabResult<GetAllActionGroupsResult>> task = new FutureTask(new Callable<PlayFabResult<GetAllActionGroupsResult>>() {
1162-
public PlayFabResult<GetAllActionGroupsResult> call() throws Exception {
1163-
return privateGetAllActionGroupsAsync(request);
1164-
}
1165-
});
1166-
try {
1167-
task.run();
1168-
return task.get();
1169-
} catch(Exception e) {
1170-
return null;
1171-
}
1172-
}
1173-
1174-
/**
1175-
* @deprecated Please use GetTasks instead.
1176-
*/
1177-
@Deprecated
1178-
@SuppressWarnings("unchecked")
1179-
private static PlayFabResult<GetAllActionGroupsResult> privateGetAllActionGroupsAsync(final GetAllActionGroupsRequest request) throws Exception {
1180-
if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
1181-
1182-
FutureTask<Object> task = PlayFabHTTP.doPost(PlayFabSettings.GetURL() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFabSettings.DeveloperSecretKey);
1183-
task.run();
1184-
Object httpResult = task.get();
1185-
if(httpResult instanceof PlayFabError) {
1186-
PlayFabError error = (PlayFabError)httpResult;
1187-
if (PlayFabSettings.GlobalErrorHandler != null)
1188-
PlayFabSettings.GlobalErrorHandler.callback(error);
1189-
PlayFabResult result = new PlayFabResult<GetAllActionGroupsResult>();
1190-
result.Error = error;
1191-
return result;
1192-
}
1193-
String resultRawJson = (String) httpResult;
1194-
1195-
PlayFabJsonSuccess<GetAllActionGroupsResult> resultData = gson.fromJson(resultRawJson, new TypeToken<PlayFabJsonSuccess<GetAllActionGroupsResult>>(){}.getType());
1196-
GetAllActionGroupsResult result = resultData.data;
1197-
1198-
PlayFabResult<GetAllActionGroupsResult> pfResult = new PlayFabResult<GetAllActionGroupsResult>();
1199-
pfResult.Result = result;
1200-
return pfResult;
1201-
}
1202-
12031138
/**
12041139
* Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change.
12051140
* @param request GetAllSegmentsRequest

PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,22 +1301,6 @@ public static class GameModeInfo {
13011301

13021302
}
13031303

1304-
/**
1305-
* @deprecated Do not use
1306-
*/
1307-
@Deprecated
1308-
public static class GetActionGroupResult {
1309-
/**
1310-
* Action Group ID
1311-
*/
1312-
public String Id;
1313-
/**
1314-
* Action Group name
1315-
*/
1316-
public String Name;
1317-
1318-
}
1319-
13201304
public static class GetActionsOnPlayersInSegmentTaskInstanceResult {
13211305
/**
13221306
* Parameter of this task instance
@@ -1329,26 +1313,6 @@ public static class GetActionsOnPlayersInSegmentTaskInstanceResult {
13291313

13301314
}
13311315

1332-
/**
1333-
* @deprecated Do not use
1334-
*/
1335-
@Deprecated
1336-
public static class GetAllActionGroupsRequest {
1337-
1338-
}
1339-
1340-
/**
1341-
* @deprecated Do not use
1342-
*/
1343-
@Deprecated
1344-
public static class GetAllActionGroupsResult {
1345-
/**
1346-
* List of Action Groups.
1347-
*/
1348-
public ArrayList<GetActionGroupResult> ActionGroups;
1349-
1350-
}
1351-
13521316
public static class GetAllSegmentsRequest {
13531317

13541318
}

PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,11 +1159,6 @@ public static class GameInfo {
11591159
* game session custom data
11601160
*/
11611161
public String GameServerData;
1162-
/**
1163-
* @deprecated Please use GameServerStateEnum instead.
1164-
*/
1165-
@Deprecated
1166-
public Integer GameServerState;
11671162
/**
11681163
* game specific string denoting server configuration
11691164
*/

PlayFabSDK/src/main/java/com/playfab/PlayFabServerAPI.java

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,71 +1008,6 @@ private static PlayFabResult<ExecuteCloudScriptResult> privateExecuteCloudScript
10081008
return pfResult;
10091009
}
10101010

1011-
/**
1012-
* @deprecated Please use GetAllSegments instead.
1013-
* @param request GetAllActionGroupsRequest
1014-
* @return Async Task will return GetAllActionGroupsResult
1015-
*/
1016-
@Deprecated
1017-
@SuppressWarnings("unchecked")
1018-
public static FutureTask<PlayFabResult<GetAllActionGroupsResult>> GetAllActionGroupsAsync(final GetAllActionGroupsRequest request) {
1019-
return new FutureTask(new Callable<PlayFabResult<GetAllActionGroupsResult>>() {
1020-
public PlayFabResult<GetAllActionGroupsResult> call() throws Exception {
1021-
return privateGetAllActionGroupsAsync(request);
1022-
}
1023-
});
1024-
}
1025-
1026-
/**
1027-
* @deprecated Please use GetAllSegments instead.
1028-
* @param request GetAllActionGroupsRequest
1029-
* @return GetAllActionGroupsResult
1030-
*/
1031-
@Deprecated
1032-
@SuppressWarnings("unchecked")
1033-
public static PlayFabResult<GetAllActionGroupsResult> GetAllActionGroups(final GetAllActionGroupsRequest request) {
1034-
FutureTask<PlayFabResult<GetAllActionGroupsResult>> task = new FutureTask(new Callable<PlayFabResult<GetAllActionGroupsResult>>() {
1035-
public PlayFabResult<GetAllActionGroupsResult> call() throws Exception {
1036-
return privateGetAllActionGroupsAsync(request);
1037-
}
1038-
});
1039-
try {
1040-
task.run();
1041-
return task.get();
1042-
} catch(Exception e) {
1043-
return null;
1044-
}
1045-
}
1046-
1047-
/**
1048-
* @deprecated Please use GetAllSegments instead.
1049-
*/
1050-
@Deprecated
1051-
@SuppressWarnings("unchecked")
1052-
private static PlayFabResult<GetAllActionGroupsResult> privateGetAllActionGroupsAsync(final GetAllActionGroupsRequest request) throws Exception {
1053-
if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception ("Must have PlayFabSettings.DeveloperSecretKey set to call this method");
1054-
1055-
FutureTask<Object> task = PlayFabHTTP.doPost(PlayFabSettings.GetURL() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFabSettings.DeveloperSecretKey);
1056-
task.run();
1057-
Object httpResult = task.get();
1058-
if(httpResult instanceof PlayFabError) {
1059-
PlayFabError error = (PlayFabError)httpResult;
1060-
if (PlayFabSettings.GlobalErrorHandler != null)
1061-
PlayFabSettings.GlobalErrorHandler.callback(error);
1062-
PlayFabResult result = new PlayFabResult<GetAllActionGroupsResult>();
1063-
result.Error = error;
1064-
return result;
1065-
}
1066-
String resultRawJson = (String) httpResult;
1067-
1068-
PlayFabJsonSuccess<GetAllActionGroupsResult> resultData = gson.fromJson(resultRawJson, new TypeToken<PlayFabJsonSuccess<GetAllActionGroupsResult>>(){}.getType());
1069-
GetAllActionGroupsResult result = resultData.data;
1070-
1071-
PlayFabResult<GetAllActionGroupsResult> pfResult = new PlayFabResult<GetAllActionGroupsResult>();
1072-
pfResult.Result = result;
1073-
return pfResult;
1074-
}
1075-
10761011
/**
10771012
* Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change.
10781013
* @param request GetAllSegmentsRequest

0 commit comments

Comments
 (0)