@@ -432,27 +432,6 @@ public static class ConsumeItemResult {
432432
433433 }
434434
435- public static class ConsumePSNEntitlementsRequest {
436- /**
437- * Which catalog to match granted entitlements against. If null, defaults to title default catalog
438- */
439- public String CatalogVersion ;
440- /**
441- * Id of the PSN service label to consume entitlements from
442- */
443- public Integer ServiceLabel ;
444-
445- }
446-
447- public static class ConsumePSNEntitlementsResult {
448- /**
449- * Array of items granted to the player as a result of consuming entitlements.
450- */
451- @ Unordered ("ItemInstanceId" )
452- public ArrayList <ItemInstance > ItemsGranted ;
453-
454- }
455-
456435 public static class CreateSharedGroupRequest {
457436 /**
458437 * Unique identifier for the shared group (a random identifier will be assigned, if one is not specified).
@@ -1242,9 +1221,13 @@ public static class GetPhotonAuthenticationTokenResult {
12421221
12431222 public static class GetPlayerStatisticsRequest {
12441223 /**
1245- * statistics to return
1224+ * statistics to return (current version will be returned for each)
12461225 */
12471226 public ArrayList <String > StatisticNames ;
1227+ /**
1228+ * statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned)
1229+ */
1230+ public ArrayList <StatisticNameVersion > StatisticNameVersions ;
12481231
12491232 }
12501233
@@ -1256,6 +1239,22 @@ public static class GetPlayerStatisticsResult {
12561239
12571240 }
12581241
1242+ public static class GetPlayerStatisticVersionsRequest {
1243+ /**
1244+ * unique name of the statistic
1245+ */
1246+ public String StatisticName ;
1247+
1248+ }
1249+
1250+ public static class GetPlayerStatisticVersionsResult {
1251+ /**
1252+ * version change history of the statistic
1253+ */
1254+ public ArrayList <PlayerStatisticVersion > StatisticVersions ;
1255+
1256+ }
1257+
12591258 public static class GetPlayerTradesRequest {
12601259 /**
12611260 * Returns only trades with the given status. If null, returns all trades.
@@ -1340,26 +1339,6 @@ public static class GetPlayFabIDsFromKongregateIDsResult {
13401339
13411340 }
13421341
1343- public static class GetPlayFabIDsFromPSNAccountIDsRequest {
1344- /**
1345- * Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers.
1346- */
1347- public ArrayList <String > PSNAccountIDs ;
1348- /**
1349- * Id of the PSN issuer environment. If null, defaults to 256 (production)
1350- */
1351- public Integer IssuerId ;
1352-
1353- }
1354-
1355- public static class GetPlayFabIDsFromPSNAccountIDsResult {
1356- /**
1357- * Mapping of PlayStation Network identifiers to PlayFab identifiers.
1358- */
1359- public ArrayList <PSNAccountPlayFabIdPair > Data ;
1360-
1361- }
1362-
13631342 public static class GetPlayFabIDsFromSteamIDsRequest {
13641343 /**
13651344 * Deprecated: Please use SteamStringIDs
@@ -1939,26 +1918,6 @@ public static class LinkKongregateAccountResult {
19391918
19401919 }
19411920
1942- public static class LinkPSNAccountRequest {
1943- /**
1944- * Authentication code provided by the PlayStation Network.
1945- */
1946- public String AuthCode ;
1947- /**
1948- * Redirect URI supplied to PSN when requesting an auth code
1949- */
1950- public String RedirectUri ;
1951- /**
1952- * Id of the PSN issuer environment. If null, defaults to 256 (production)
1953- */
1954- public Integer IssuerId ;
1955-
1956- }
1957-
1958- public static class LinkPSNAccountResult {
1959-
1960- }
1961-
19621921 public static class LinkSteamAccountRequest {
19631922 /**
19641923 * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08").
@@ -1971,18 +1930,6 @@ public static class LinkSteamAccountResult {
19711930
19721931 }
19731932
1974- public static class LinkXboxAccountRequest {
1975- /**
1976- * Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", "").
1977- */
1978- public String XboxToken ;
1979-
1980- }
1981-
1982- public static class LinkXboxAccountResult {
1983-
1984- }
1985-
19861933 public static class ListUsersCharactersRequest {
19871934 /**
19881935 * Unique PlayFab assigned ID of the user on whom the operation will be performed.
@@ -2215,30 +2162,6 @@ public static class LoginWithPlayFabRequest {
22152162
22162163 }
22172164
2218- public static class LoginWithPSNRequest {
2219- /**
2220- * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected
2221- */
2222- public String TitleId ;
2223- /**
2224- * Auth code provided by the PSN OAuth provider.
2225- */
2226- public String AuthCode ;
2227- /**
2228- * Redirect URI supplied to PSN when requesting an auth code
2229- */
2230- public String RedirectUri ;
2231- /**
2232- * Id of the PSN issuer environment. If null, defaults to 256 (production)
2233- */
2234- public Integer IssuerId ;
2235- /**
2236- * Automatically create a PlayFab account if one is not currently linked to this PSN account.
2237- */
2238- public Boolean CreateAccount ;
2239-
2240- }
2241-
22422165 public static class LoginWithSteamRequest {
22432166 /**
22442167 * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected
@@ -2255,22 +2178,6 @@ public static class LoginWithSteamRequest {
22552178
22562179 }
22572180
2258- public static class LoginWithXboxRequest {
2259- /**
2260- * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected
2261- */
2262- public String TitleId ;
2263- /**
2264- * Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", "").
2265- */
2266- public String XboxToken ;
2267- /**
2268- * Automatically create a PlayFab account if one is not currently linked to this Xbox Live account.
2269- */
2270- public Boolean CreateAccount ;
2271-
2272- }
2273-
22742181 public static class MatchmakeRequest {
22752182 /**
22762183 * build version to match against [Note: Required if LobbyId is not specified]
@@ -2485,15 +2392,31 @@ public static class PlayerLeaderboardEntry {
24852392
24862393 }
24872394
2488- public static class PSNAccountPlayFabIdPair {
2395+ public static class PlayerStatisticVersion {
24892396 /**
2490- * Unique PlayStation Network identifier for a user.
2397+ * name of the statistic when the version became active
24912398 */
2492- public String PSNAccountId ;
2399+ public String StatisticName ;
24932400 /**
2494- * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier.
2401+ * version of the statistic
24952402 */
2496- public String PlayFabId ;
2403+ public Long Version ;
2404+ /**
2405+ * time at which the statistic version was scheduled to become active, based on the configured ResetInterval
2406+ */
2407+ public Date ScheduledActivationTime ;
2408+ /**
2409+ * time when the statistic version became active
2410+ */
2411+ public Date ActivationTime ;
2412+ /**
2413+ * time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval
2414+ */
2415+ public Date ScheduledDeactivationTime ;
2416+ /**
2417+ * time when the statistic version became inactive due to statistic version incrementing
2418+ */
2419+ public Date DeactivationTime ;
24972420
24982421 }
24992422
@@ -2553,22 +2476,6 @@ public static class RedeemCouponResult {
25532476
25542477 }
25552478
2556- public static class RefreshPSNAuthTokenRequest {
2557- /**
2558- * Auth code returned by PSN OAuth system.
2559- */
2560- public String AuthCode ;
2561- /**
2562- * Redirect URI supplied to PSN when requesting an auth code
2563- */
2564- public String RedirectUri ;
2565- /**
2566- * Id of the PSN issuer environment. If null, defaults to 256 (production)
2567- */
2568- public Integer IssuerId ;
2569-
2570- }
2571-
25722479 public static enum Region {
25732480 USCentral ,
25742481 USEast ,
@@ -2931,6 +2838,18 @@ public static class StartPurchaseResult {
29312838
29322839 }
29332840
2841+ public static class StatisticNameVersion {
2842+ /**
2843+ * unique name of the statistic
2844+ */
2845+ public String StatisticName ;
2846+ /**
2847+ * the version of the statistic to be returned
2848+ */
2849+ public Long Version ;
2850+
2851+ }
2852+
29342853 public static class StatisticUpdate {
29352854 /**
29362855 * unique name of the statistic
@@ -2959,7 +2878,7 @@ public static class StatisticValue {
29592878 /**
29602879 * for updates to an existing statistic value for a player, the version of the statistic when it was loaded
29612880 */
2962- public String Version ;
2881+ public Long Version ;
29632882
29642883 }
29652884
@@ -3200,14 +3119,6 @@ public static class UnlinkKongregateAccountResult {
32003119
32013120 }
32023121
3203- public static class UnlinkPSNAccountRequest {
3204-
3205- }
3206-
3207- public static class UnlinkPSNAccountResult {
3208-
3209- }
3210-
32113122 public static class UnlinkSteamAccountRequest {
32123123
32133124 }
@@ -3216,18 +3127,6 @@ public static class UnlinkSteamAccountResult {
32163127
32173128 }
32183129
3219- public static class UnlinkXboxAccountRequest {
3220- /**
3221- * Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", "").
3222- */
3223- public String XboxToken ;
3224-
3225- }
3226-
3227- public static class UnlinkXboxAccountResult {
3228-
3229- }
3230-
32313130 public static class UnlockContainerInstanceRequest {
32323131 /**
32333132 * Unique PlayFab assigned ID for a specific character owned by a user
0 commit comments