Skip to content

Commit d7742e7

Browse files
author
Playfab Jenkins Bot
committed
https://api.playfab.com/releaseNotes/#161017
1 parent 9f97f96 commit d7742e7

24 files changed

+80
-2680
lines changed

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

Lines changed: 1 addition & 429 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 251 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,14 @@ public static class AttributeInstallRequest {
147147
*/
148148
public String Idfa;
149149
/**
150-
* The Android Id for this Android device.
150+
* @deprecated Please use Adid instead.
151151
*/
152+
@Deprecated
152153
public String Android_Id;
154+
/**
155+
* The adid for this device.
156+
*/
157+
public String Adid;
153158

154159
}
155160

@@ -1103,34 +1108,6 @@ public static class GetCharacterStatisticsResult {
11031108

11041109
}
11051110

1106-
/**
1107-
* @deprecated Do not use
1108-
*/
1109-
@Deprecated
1110-
public static class GetCloudScriptUrlRequest {
1111-
/**
1112-
* Cloud Script Version to use. Defaults to 1.
1113-
*/
1114-
public Integer Version;
1115-
/**
1116-
* Specifies whether the URL returned should be the one for the most recently uploaded Revision of the Cloud Script (true), or the Revision most recently set to live (false). Defaults to false.
1117-
*/
1118-
public Boolean Testing;
1119-
1120-
}
1121-
1122-
/**
1123-
* @deprecated Do not use
1124-
*/
1125-
@Deprecated
1126-
public static class GetCloudScriptUrlResult {
1127-
/**
1128-
* URL of the Cloud Script logic server.
1129-
*/
1130-
public String Url;
1131-
1132-
}
1133-
11341111
public static class GetContentDownloadUrlRequest {
11351112
/**
11361113
* Key of the content item to fetch, usually formatted as a path, e.g. images/a.png
@@ -1155,42 +1132,6 @@ public static class GetContentDownloadUrlResult {
11551132

11561133
}
11571134

1158-
/**
1159-
* @deprecated Do not use
1160-
*/
1161-
@Deprecated
1162-
public static class GetFriendLeaderboardAroundCurrentUserRequest {
1163-
/**
1164-
* Statistic used to rank players for this leaderboard.
1165-
*/
1166-
public String StatisticName;
1167-
/**
1168-
* Maximum number of entries to retrieve. Default 10, maximum 100.
1169-
*/
1170-
public Integer MaxResultsCount;
1171-
/**
1172-
* Indicates whether Steam service friends should be included in the response. Default is true.
1173-
*/
1174-
public Boolean IncludeSteamFriends;
1175-
/**
1176-
* Indicates whether Facebook friends should be included in the response. Default is true.
1177-
*/
1178-
public Boolean IncludeFacebookFriends;
1179-
1180-
}
1181-
1182-
/**
1183-
* @deprecated Do not use
1184-
*/
1185-
@Deprecated
1186-
public static class GetFriendLeaderboardAroundCurrentUserResult {
1187-
/**
1188-
* Ordered listing of users and their positions in the requested leaderboard.
1189-
*/
1190-
public ArrayList<PlayerLeaderboardEntry> Leaderboard;
1191-
1192-
}
1193-
11941135
public static class GetFriendLeaderboardAroundPlayerRequest {
11951136
/**
11961137
* Statistic used to rank players for this leaderboard.
@@ -1295,34 +1236,6 @@ public static class GetLeaderboardAroundCharacterResult {
12951236

12961237
}
12971238

1298-
/**
1299-
* @deprecated Do not use
1300-
*/
1301-
@Deprecated
1302-
public static class GetLeaderboardAroundCurrentUserRequest {
1303-
/**
1304-
* Statistic used to rank players for this leaderboard.
1305-
*/
1306-
public String StatisticName;
1307-
/**
1308-
* Maximum number of entries to retrieve. Default 10, maximum 100.
1309-
*/
1310-
public Integer MaxResultsCount;
1311-
1312-
}
1313-
1314-
/**
1315-
* @deprecated Do not use
1316-
*/
1317-
@Deprecated
1318-
public static class GetLeaderboardAroundCurrentUserResult {
1319-
/**
1320-
* Ordered listing of users and their positions in the requested leaderboard.
1321-
*/
1322-
public ArrayList<PlayerLeaderboardEntry> Leaderboard;
1323-
1324-
}
1325-
13261239
public static class GetLeaderboardAroundPlayerRequest {
13271240
/**
13281241
* PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user.
@@ -1713,11 +1626,6 @@ public static class GetPlayFabIDsFromKongregateIDsResult {
17131626
}
17141627

17151628
public static class GetPlayFabIDsFromSteamIDsRequest {
1716-
/**
1717-
* @deprecated Please use SteamStringIDs instead.
1718-
*/
1719-
@Deprecated
1720-
public ArrayList<Long> SteamIDs;
17211629
/**
17221630
* Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers.
17231631
*/
@@ -2092,26 +2000,6 @@ public static class GetUserInventoryResult {
20922000

20932001
}
20942002

2095-
/**
2096-
* @deprecated Do not use
2097-
*/
2098-
@Deprecated
2099-
public static class GetUserStatisticsRequest {
2100-
2101-
}
2102-
2103-
/**
2104-
* @deprecated Do not use
2105-
*/
2106-
@Deprecated
2107-
public static class GetUserStatisticsResult {
2108-
/**
2109-
* User statistics for the active title.
2110-
*/
2111-
public Map<String,Integer> UserStatistics;
2112-
2113-
}
2114-
21152003
public static class GooglePlayFabIdPair {
21162004
/**
21172005
* Unique Google identifier for a user.
@@ -2440,38 +2328,6 @@ public static class ListUsersCharactersResult {
24402328

24412329
}
24422330

2443-
/**
2444-
* @deprecated Do not use
2445-
*/
2446-
@Deprecated
2447-
public static class LogEventRequest {
2448-
/**
2449-
* Optional timestamp for this event. If null, the a timestamp is auto-assigned to the event on the server.
2450-
*/
2451-
public Date Timestamp;
2452-
/**
2453-
* A unique event name which will be used as the table name in the Redshift database. The name will be made lower case, and cannot not contain spaces. The use of underscores is recommended, for readability. Events also cannot match reserved terms. The PlayFab reserved terms are 'log_in' and 'purchase', 'create' and 'request', while the Redshift reserved terms can be found here: http://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html.
2454-
*/
2455-
public String EventName;
2456-
/**
2457-
* Contains all the data for this event. Event Values can be strings, booleans or numerics (float, double, integer, long) and must be consistent on a per-event basis (if the Value for Key 'A' in Event 'Foo' is an integer the first time it is sent, it must be an integer in all subsequent 'Foo' events). As with event names, Keys must also not use reserved words (see above). Finally, the size of the Body for an event must be less than 32KB (UTF-8 format).
2458-
*/
2459-
public Map<String,Object> Body;
2460-
/**
2461-
* Flag to set event Body as profile details in the Redshift database as well as a standard event.
2462-
*/
2463-
public Boolean ProfileSetEvent;
2464-
2465-
}
2466-
2467-
/**
2468-
* @deprecated Do not use
2469-
*/
2470-
@Deprecated
2471-
public static class LogEventResult {
2472-
2473-
}
2474-
24752331
public static class LoginResult {
24762332
/**
24772333
* Unique token authorizing the user and game at the server level, for the current session.
@@ -2621,11 +2477,6 @@ public static class LoginWithGoogleAccountRequest {
26212477
* Automatically create a PlayFab account if one is not currently linked to this Google account.
26222478
*/
26232479
public Boolean CreateAccount;
2624-
/**
2625-
* @deprecated Do not use
2626-
*/
2627-
@Deprecated
2628-
public String PublisherId;
26292480
/**
26302481
* Flags for which pieces of info to return for the user.
26312482
*/
@@ -2791,11 +2642,6 @@ public static class MatchmakeRequest {
27912642
* Filter to include and/or exclude Game Server Instances associated with certain Tags
27922643
*/
27932644
public CollectionFilter TagFilter;
2794-
/**
2795-
* @deprecated Do not use
2796-
*/
2797-
@Deprecated
2798-
public Boolean EnableQueue;
27992645

28002646
}
28012647

@@ -3146,11 +2992,6 @@ public static class RegisterPlayFabUserRequest {
31462992
* An optional parameter for setting the display name for this title.
31472993
*/
31482994
public String DisplayName;
3149-
/**
3150-
* @deprecated Do not use
3151-
*/
3152-
@Deprecated
3153-
public String Origination;
31542995

31552996
}
31562997

@@ -3250,62 +3091,6 @@ public static class RestoreIOSPurchasesResult {
32503091

32513092
}
32523093

3253-
/**
3254-
* @deprecated Do not use
3255-
*/
3256-
@Deprecated
3257-
public static class RunCloudScriptRequest {
3258-
/**
3259-
* server action to trigger
3260-
*/
3261-
public String ActionId;
3262-
/**
3263-
* parameters to pass into the action (If you use this, don't use ParamsEncoded)
3264-
*/
3265-
public Object Params;
3266-
/**
3267-
* json-encoded parameters to pass into the action (If you use this, don't use Params)
3268-
*/
3269-
public String ParamsEncoded;
3270-
3271-
}
3272-
3273-
/**
3274-
* @deprecated Do not use
3275-
*/
3276-
@Deprecated
3277-
public static class RunCloudScriptResult {
3278-
/**
3279-
* id of Cloud Script run
3280-
*/
3281-
public String ActionId;
3282-
/**
3283-
* version of Cloud Script run
3284-
*/
3285-
public Integer Version;
3286-
/**
3287-
* revision of Cloud Script run
3288-
*/
3289-
public Integer Revision;
3290-
/**
3291-
* return values from the server action as a dynamic object
3292-
*/
3293-
public Object Results;
3294-
/**
3295-
* return values from the server action as a JSON encoded string
3296-
*/
3297-
public String ResultsEncoded;
3298-
/**
3299-
* any log statements generated during the run of this action
3300-
*/
3301-
public String ActionLog;
3302-
/**
3303-
* time this script took to run, in seconds
3304-
*/
3305-
public Double ExecutionTime;
3306-
3307-
}
3308-
33093094
public static class ScriptExecutionError {
33103095
/**
33113096
* Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError
@@ -3331,11 +3116,6 @@ public static class SendAccountRecoveryEmailRequest {
33313116
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
33323117
*/
33333118
public String TitleId;
3334-
/**
3335-
* @deprecated Do not use
3336-
*/
3337-
@Deprecated
3338-
public String PublisherId;
33393119

33403120
}
33413121

@@ -3524,11 +3304,6 @@ public static class StatisticValue {
35243304
}
35253305

35263306
public static class SteamPlayFabIdPair {
3527-
/**
3528-
* @deprecated Please use SteamStringId instead.
3529-
*/
3530-
@Deprecated
3531-
public Long SteamId;
35323307
/**
35333308
* Unique Steam identifier for a user.
35343309
*/
@@ -3976,26 +3751,6 @@ public static class UpdateUserDataResult {
39763751

39773752
}
39783753

3979-
/**
3980-
* @deprecated Do not use
3981-
*/
3982-
@Deprecated
3983-
public static class UpdateUserStatisticsRequest {
3984-
/**
3985-
* Statistics to be updated with the provided values. UserStatistics object must follow the Key(string), Value(int) pattern.
3986-
*/
3987-
public Map<String,Integer> UserStatistics;
3988-
3989-
}
3990-
3991-
/**
3992-
* @deprecated Do not use
3993-
*/
3994-
@Deprecated
3995-
public static class UpdateUserStatisticsResult {
3996-
3997-
}
3998-
39993754
public static class UpdateUserTitleDisplayNameRequest {
40003755
/**
40013756
* New title display name for the user - must be between 3 and 25 characters.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ public static enum PlayFabErrorCode {
258258
ScheduledTaskNameConflict(1254),
259259
ScheduledTaskCreateConflict(1255),
260260
InvalidScheduledTaskName(1256),
261-
InvalidTaskSchedule(1257);
261+
InvalidTaskSchedule(1257),
262+
SteamNotEnabledForTitle(1258);
262263

263264
public int id;
264265

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

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

66
public class PlayFabSettings {
7-
public static String SdkVersion = "0.38.161003";
7+
public static String SdkVersion = "0.39.161017";
88
public static String BuildIdentifier = "jbuild_javasdk_1";
9-
public static String SdkVersionString = "JavaSDK-0.38.161003";
9+
public static String SdkVersionString = "JavaSDK-0.39.161017";
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;
13-
public static String LogicServerURL = null; // Deprecated
1413
public static String AdvertisingIdType = null; // Set this to the appropriate AD_TYPE_X constant below
1514
public static String AdvertisingIdValue = null; // Set this to corresponding device value
1615
public static Context androidContext = null; // Context object for android devices
@@ -19,11 +18,7 @@ public class PlayFabSettings {
1918
// Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly
2019
public static Boolean DisableAdvertising = false;
2120
public static final String AD_TYPE_IDFA = "Idfa";
22-
public static final String AD_TYPE_ANDROID_ID = "Android_Id";
23-
24-
public static String GetLogicURL() {
25-
return LogicServerURL;
26-
}
21+
public static final String AD_TYPE_ANDROID_ID = "Adid";
2722

2823
public static String GetURL() {
2924
return "https://" + TitleId + ".playfabapi.com";

0 commit comments

Comments
 (0)