diff --git a/AndroidStudioExample/app/packageMe.ps1 b/AndroidStudioExample/app/packageMe.ps1 index b5541be5a..5664440b7 100644 --- a/AndroidStudioExample/app/packageMe.ps1 +++ b/AndroidStudioExample/app/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item client-sdk-0.218.240524.jar -Destination ../../builds/client-sdk-0.218.240524.jar \ No newline at end of file +Copy-Item client-sdk-0.219.240621.jar -Destination ../../builds/client-sdk-0.219.240621.jar \ No newline at end of file diff --git a/AndroidStudioExample/app/packageMe.sh b/AndroidStudioExample/app/packageMe.sh index 506b9b704..feb6bc563 100644 --- a/AndroidStudioExample/app/packageMe.sh +++ b/AndroidStudioExample/app/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp client-sdk-0.218.240524.jar ../../builds/client-sdk-0.218.240524.jar +cp client-sdk-0.219.240621.jar ../../builds/client-sdk-0.219.240621.jar diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAuthenticationModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAuthenticationModels.java index 89fb0d82d..ff304c45e 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAuthenticationModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabAuthenticationModels.java @@ -104,7 +104,14 @@ public static class GetEntityTokenResponse { public static enum IdentifiedDeviceType { Unknown, XboxOne, - Scarlett + Scarlett, + WindowsOneCore, + WindowsOneCoreMobile, + Win32, + android, + iOS, + PlayStation, + Nintendo } public static enum LoginIdentityProvider { @@ -129,7 +136,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /** Given an entity token, validates that it hasn't expired or been revoked and will return details of the owner. */ diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java index 136d81f89..f397810d7 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabClientModels.java @@ -2736,7 +2736,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LoginResult { @@ -4898,7 +4899,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserPrivateAccountInfo { diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabCloudScriptModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabCloudScriptModels.java index 979eee0c9..d558ffb8c 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabCloudScriptModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabCloudScriptModels.java @@ -553,7 +553,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LogStatement { diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java index 24c8327a2..c5d48b516 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -14,7 +14,7 @@ public class PlayFabEconomyAPI { private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return Async Task will return AddInventoryItemsResponse */ @@ -28,7 +28,7 @@ public PlayFabResult call() throws Exception { } /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return AddInventoryItemsResponse */ @@ -49,7 +49,7 @@ public PlayFabResult call() throws Exception { } } - /** Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ + /** Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddInventoryItemsAsync(final AddInventoryItemsRequest request) throws Exception { if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API"); @@ -464,11 +464,10 @@ private static PlayFabResult privateDeleteItemAsync(final De } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return Async Task will return ExecuteInventoryOperationsResponse */ @@ -482,11 +481,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return ExecuteInventoryOperationsResponse */ @@ -508,11 +506,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateExecuteInventoryOperationsAsync(final ExecuteInventoryOperationsRequest request) throws Exception { @@ -957,8 +954,9 @@ private static PlayFabResult privateGetEntityItemRe } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return Async Task will return GetInventoryCollectionIdsResponse */ @@ -972,8 +970,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return GetInventoryCollectionIdsResponse */ @@ -995,8 +994,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetInventoryCollectionIdsAsync(final GetInventoryCollectionIdsRequest request) throws Exception { @@ -1691,10 +1691,9 @@ private static PlayFabResult privateGetMi } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return Async Task will return GetTransactionHistoryResponse */ @@ -1708,10 +1707,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return GetTransactionHistoryResponse */ @@ -1733,10 +1731,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetTransactionHistoryAsync(final GetTransactionHistoryRequest request) throws Exception { @@ -1831,7 +1828,7 @@ private static PlayFabResult privatePublishDraftItemAs } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return Async Task will return PurchaseInventoryItemsResponse @@ -1846,7 +1843,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return PurchaseInventoryItemsResponse @@ -1869,7 +1866,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. */ @SuppressWarnings("unchecked") diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java index e974fc22c..878da3976 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -761,7 +761,7 @@ public static class ExecuteInventoryOperationsRequest { public String IdempotencyId; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. Up to 10 operations can be added. + * a batch. Up to 50 operations can be added. */ public ArrayList Operations; diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java index 216b8f477..12e0d1b91 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java @@ -578,6 +578,8 @@ public static enum PlayFabErrorCode { StatisticDefinitionModificationNotAllowedWhileLinked(1577), LeaderboardUpdateNotAllowedWhileLinked(1578), CloudScriptAzureFunctionsEventHubRequestError(1579), + LeaderboardRateLimitExceeded(1580), + ExternalEntityNotAllowedForTier(1581), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), @@ -824,9 +826,27 @@ public static enum PlayFabErrorCode { TrueSkillJobAlreadyExists(20044), TrueSkillJobNotFound(20045), TrueSkillOperationCanceled(20046), - StateShareUnauthorized(21000), - StateShareStateNotFound(21001), - StateShareLinkNotFound(21002); + TrueSkillActiveModelLimitExceeded(20047), + TrueSkillTotalModelLimitExceeded(20048), + TrueSkillUnknownInitialModelId(20049), + TrueSkillUnauthorizedForJob(20050), + TrueSkillInvalidScenarioName(20051), + TrueSkillConditionStateIsRequired(20052), + TrueSkillEventStateIsRequired(20053), + TrueSkillDuplicateEvent(20054), + TrueSkillDuplicateCondition(20055), + TrueSkillInvalidAnomalyThreshold(20056), + TrueSkillConditionKeyLimitExceeded(20057), + TrueSkillConditionValuePerKeyLimitExceeded(20058), + TrueSkillEventLimitExceeded(20059), + StateShareForbidden(21000), + StateShareTitleNotInFlight(21001), + StateShareStateNotFound(21002), + StateShareLinkNotFound(21003), + StateShareStateRedemptionLimitExceeded(21004), + StateShareStateRedemptionLimitNotUpdated(21005), + StateShareCreatedStatesLimitExceeded(21006), + StateShareIdMissingOrMalformed(21007); public int id; diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMultiplayerModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMultiplayerModels.java index d44e552b3..ff85f4c4d 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMultiplayerModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabMultiplayerModels.java @@ -2620,6 +2620,8 @@ public static class ServerDetails { public ArrayList Ports; /** The server's region. */ public String Region; + /** The string server ID of the multiplayer server generated by PlayFab. */ + public String ServerId; } diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java index b321ea667..6038b57b7 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java @@ -9,9 +9,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.218.240524"; - public static String BuildIdentifier = "adobuild_javasdk_115"; - public static String SdkVersionString = "JavaSDK-0.218.240524"; + public static String SdkVersion = "0.219.240621"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.219.240621"; public static Map RequestGetParams; static { diff --git a/PlayFabClientSDK/packageMe.ps1 b/PlayFabClientSDK/packageMe.ps1 index b5541be5a..5664440b7 100644 --- a/PlayFabClientSDK/packageMe.ps1 +++ b/PlayFabClientSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item client-sdk-0.218.240524.jar -Destination ../../builds/client-sdk-0.218.240524.jar \ No newline at end of file +Copy-Item client-sdk-0.219.240621.jar -Destination ../../builds/client-sdk-0.219.240621.jar \ No newline at end of file diff --git a/PlayFabClientSDK/packageMe.sh b/PlayFabClientSDK/packageMe.sh index 506b9b704..feb6bc563 100644 --- a/PlayFabClientSDK/packageMe.sh +++ b/PlayFabClientSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp client-sdk-0.218.240524.jar ../../builds/client-sdk-0.218.240524.jar +cp client-sdk-0.219.240621.jar ../../builds/client-sdk-0.219.240621.jar diff --git a/PlayFabClientSDK/pom.xml b/PlayFabClientSDK/pom.xml index ece330d84..60998edc4 100644 --- a/PlayFabClientSDK/pom.xml +++ b/PlayFabClientSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab client-sdk - 0.218.240524 + 0.219.240621 PlayFab Client API 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. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java index 89fb0d82d..ff304c45e 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java @@ -104,7 +104,14 @@ public static class GetEntityTokenResponse { public static enum IdentifiedDeviceType { Unknown, XboxOne, - Scarlett + Scarlett, + WindowsOneCore, + WindowsOneCoreMobile, + Win32, + android, + iOS, + PlayStation, + Nintendo } public static enum LoginIdentityProvider { @@ -129,7 +136,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /** Given an entity token, validates that it hasn't expired or been revoked and will return details of the owner. */ diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java index 136d81f89..f397810d7 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -2736,7 +2736,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LoginResult { @@ -4898,7 +4899,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserPrivateAccountInfo { diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java index 979eee0c9..d558ffb8c 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java @@ -553,7 +553,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LogStatement { diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java index 24c8327a2..c5d48b516 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -14,7 +14,7 @@ public class PlayFabEconomyAPI { private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return Async Task will return AddInventoryItemsResponse */ @@ -28,7 +28,7 @@ public PlayFabResult call() throws Exception { } /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return AddInventoryItemsResponse */ @@ -49,7 +49,7 @@ public PlayFabResult call() throws Exception { } } - /** Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ + /** Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddInventoryItemsAsync(final AddInventoryItemsRequest request) throws Exception { if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API"); @@ -464,11 +464,10 @@ private static PlayFabResult privateDeleteItemAsync(final De } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return Async Task will return ExecuteInventoryOperationsResponse */ @@ -482,11 +481,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return ExecuteInventoryOperationsResponse */ @@ -508,11 +506,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateExecuteInventoryOperationsAsync(final ExecuteInventoryOperationsRequest request) throws Exception { @@ -957,8 +954,9 @@ private static PlayFabResult privateGetEntityItemRe } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return Async Task will return GetInventoryCollectionIdsResponse */ @@ -972,8 +970,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return GetInventoryCollectionIdsResponse */ @@ -995,8 +994,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetInventoryCollectionIdsAsync(final GetInventoryCollectionIdsRequest request) throws Exception { @@ -1691,10 +1691,9 @@ private static PlayFabResult privateGetMi } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return Async Task will return GetTransactionHistoryResponse */ @@ -1708,10 +1707,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return GetTransactionHistoryResponse */ @@ -1733,10 +1731,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetTransactionHistoryAsync(final GetTransactionHistoryRequest request) throws Exception { @@ -1831,7 +1828,7 @@ private static PlayFabResult privatePublishDraftItemAs } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return Async Task will return PurchaseInventoryItemsResponse @@ -1846,7 +1843,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return PurchaseInventoryItemsResponse @@ -1869,7 +1866,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. */ @SuppressWarnings("unchecked") diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index e974fc22c..878da3976 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -761,7 +761,7 @@ public static class ExecuteInventoryOperationsRequest { public String IdempotencyId; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. Up to 10 operations can be added. + * a batch. Up to 50 operations can be added. */ public ArrayList Operations; diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java index 216b8f477..12e0d1b91 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -578,6 +578,8 @@ public static enum PlayFabErrorCode { StatisticDefinitionModificationNotAllowedWhileLinked(1577), LeaderboardUpdateNotAllowedWhileLinked(1578), CloudScriptAzureFunctionsEventHubRequestError(1579), + LeaderboardRateLimitExceeded(1580), + ExternalEntityNotAllowedForTier(1581), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), @@ -824,9 +826,27 @@ public static enum PlayFabErrorCode { TrueSkillJobAlreadyExists(20044), TrueSkillJobNotFound(20045), TrueSkillOperationCanceled(20046), - StateShareUnauthorized(21000), - StateShareStateNotFound(21001), - StateShareLinkNotFound(21002); + TrueSkillActiveModelLimitExceeded(20047), + TrueSkillTotalModelLimitExceeded(20048), + TrueSkillUnknownInitialModelId(20049), + TrueSkillUnauthorizedForJob(20050), + TrueSkillInvalidScenarioName(20051), + TrueSkillConditionStateIsRequired(20052), + TrueSkillEventStateIsRequired(20053), + TrueSkillDuplicateEvent(20054), + TrueSkillDuplicateCondition(20055), + TrueSkillInvalidAnomalyThreshold(20056), + TrueSkillConditionKeyLimitExceeded(20057), + TrueSkillConditionValuePerKeyLimitExceeded(20058), + TrueSkillEventLimitExceeded(20059), + StateShareForbidden(21000), + StateShareTitleNotInFlight(21001), + StateShareStateNotFound(21002), + StateShareLinkNotFound(21003), + StateShareStateRedemptionLimitExceeded(21004), + StateShareStateRedemptionLimitNotUpdated(21005), + StateShareCreatedStatesLimitExceeded(21006), + StateShareIdMissingOrMalformed(21007); public int id; diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java index d44e552b3..ff85f4c4d 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java @@ -2620,6 +2620,8 @@ public static class ServerDetails { public ArrayList Ports; /** The server's region. */ public String Region; + /** The string server ID of the multiplayer server generated by PlayFab. */ + public String ServerId; } diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java index 5a4692ba2..99786decc 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.218.240524"; - public static String BuildIdentifier = "adobuild_javasdk_115"; - public static String SdkVersionString = "JavaSDK-0.218.240524"; + public static String SdkVersion = "0.219.240621"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.219.240621"; public static Map RequestGetParams; static { diff --git a/PlayFabSDK/packageMe.ps1 b/PlayFabSDK/packageMe.ps1 index e02720a48..2c8e968e2 100644 --- a/PlayFabSDK/packageMe.ps1 +++ b/PlayFabSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item combo-sdk-0.218.240524.jar -Destination ../../builds/combo-sdk-0.218.240524.jar \ No newline at end of file +Copy-Item combo-sdk-0.219.240621.jar -Destination ../../builds/combo-sdk-0.219.240621.jar \ No newline at end of file diff --git a/PlayFabSDK/packageMe.sh b/PlayFabSDK/packageMe.sh index 821e75941..8bf20adac 100644 --- a/PlayFabSDK/packageMe.sh +++ b/PlayFabSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp combo-sdk-0.218.240524.jar ../../builds/combo-sdk-0.218.240524.jar +cp combo-sdk-0.219.240621.jar ../../builds/combo-sdk-0.219.240621.jar diff --git a/PlayFabSDK/pom.xml b/PlayFabSDK/pom.xml index 52e4dd45d..7db1c2b20 100644 --- a/PlayFabSDK/pom.xml +++ b/PlayFabSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab combo-sdk - 0.218.240524 + 0.219.240621 PlayFab Combo API 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. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java index aa9c69354..931fccaaa 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -2071,6 +2071,8 @@ public static enum GenericErrorCodes { StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2317,9 +2319,27 @@ public static enum GenericErrorCodes { TrueSkillJobAlreadyExists, TrueSkillJobNotFound, TrueSkillOperationCanceled, - StateShareUnauthorized, + TrueSkillActiveModelLimitExceeded, + TrueSkillTotalModelLimitExceeded, + TrueSkillUnknownInitialModelId, + TrueSkillUnauthorizedForJob, + TrueSkillInvalidScenarioName, + TrueSkillConditionStateIsRequired, + TrueSkillEventStateIsRequired, + TrueSkillDuplicateEvent, + TrueSkillDuplicateCondition, + TrueSkillInvalidAnomalyThreshold, + TrueSkillConditionKeyLimitExceeded, + TrueSkillConditionValuePerKeyLimitExceeded, + TrueSkillEventLimitExceeded, + StateShareForbidden, + StateShareTitleNotInFlight, StateShareStateNotFound, - StateShareLinkNotFound + StateShareLinkNotFound, + StateShareStateRedemptionLimitExceeded, + StateShareStateRedemptionLimitNotUpdated, + StateShareCreatedStatesLimitExceeded, + StateShareIdMissingOrMalformed } public static class GetActionsOnPlayersInSegmentTaskInstanceResult { @@ -3293,7 +3313,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LogStatement { @@ -5544,7 +5565,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserOriginationSegmentFilter { diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java index 89fb0d82d..ff304c45e 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java @@ -104,7 +104,14 @@ public static class GetEntityTokenResponse { public static enum IdentifiedDeviceType { Unknown, XboxOne, - Scarlett + Scarlett, + WindowsOneCore, + WindowsOneCoreMobile, + Win32, + android, + iOS, + PlayStation, + Nintendo } public static enum LoginIdentityProvider { @@ -129,7 +136,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /** Given an entity token, validates that it hasn't expired or been revoked and will return details of the owner. */ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java index 136d81f89..f397810d7 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java @@ -2736,7 +2736,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LoginResult { @@ -4898,7 +4899,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserPrivateAccountInfo { diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java index 979eee0c9..d558ffb8c 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java @@ -553,7 +553,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LogStatement { diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java index 24c8327a2..c5d48b516 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -14,7 +14,7 @@ public class PlayFabEconomyAPI { private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return Async Task will return AddInventoryItemsResponse */ @@ -28,7 +28,7 @@ public PlayFabResult call() throws Exception { } /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return AddInventoryItemsResponse */ @@ -49,7 +49,7 @@ public PlayFabResult call() throws Exception { } } - /** Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ + /** Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddInventoryItemsAsync(final AddInventoryItemsRequest request) throws Exception { if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API"); @@ -464,11 +464,10 @@ private static PlayFabResult privateDeleteItemAsync(final De } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return Async Task will return ExecuteInventoryOperationsResponse */ @@ -482,11 +481,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return ExecuteInventoryOperationsResponse */ @@ -508,11 +506,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateExecuteInventoryOperationsAsync(final ExecuteInventoryOperationsRequest request) throws Exception { @@ -957,8 +954,9 @@ private static PlayFabResult privateGetEntityItemRe } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return Async Task will return GetInventoryCollectionIdsResponse */ @@ -972,8 +970,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return GetInventoryCollectionIdsResponse */ @@ -995,8 +994,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetInventoryCollectionIdsAsync(final GetInventoryCollectionIdsRequest request) throws Exception { @@ -1691,10 +1691,9 @@ private static PlayFabResult privateGetMi } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return Async Task will return GetTransactionHistoryResponse */ @@ -1708,10 +1707,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return GetTransactionHistoryResponse */ @@ -1733,10 +1731,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetTransactionHistoryAsync(final GetTransactionHistoryRequest request) throws Exception { @@ -1831,7 +1828,7 @@ private static PlayFabResult privatePublishDraftItemAs } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return Async Task will return PurchaseInventoryItemsResponse @@ -1846,7 +1843,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return PurchaseInventoryItemsResponse @@ -1869,7 +1866,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. */ @SuppressWarnings("unchecked") diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index e974fc22c..878da3976 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -761,7 +761,7 @@ public static class ExecuteInventoryOperationsRequest { public String IdempotencyId; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. Up to 10 operations can be added. + * a batch. Up to 50 operations can be added. */ public ArrayList Operations; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java index 216b8f477..12e0d1b91 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -578,6 +578,8 @@ public static enum PlayFabErrorCode { StatisticDefinitionModificationNotAllowedWhileLinked(1577), LeaderboardUpdateNotAllowedWhileLinked(1578), CloudScriptAzureFunctionsEventHubRequestError(1579), + LeaderboardRateLimitExceeded(1580), + ExternalEntityNotAllowedForTier(1581), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), @@ -824,9 +826,27 @@ public static enum PlayFabErrorCode { TrueSkillJobAlreadyExists(20044), TrueSkillJobNotFound(20045), TrueSkillOperationCanceled(20046), - StateShareUnauthorized(21000), - StateShareStateNotFound(21001), - StateShareLinkNotFound(21002); + TrueSkillActiveModelLimitExceeded(20047), + TrueSkillTotalModelLimitExceeded(20048), + TrueSkillUnknownInitialModelId(20049), + TrueSkillUnauthorizedForJob(20050), + TrueSkillInvalidScenarioName(20051), + TrueSkillConditionStateIsRequired(20052), + TrueSkillEventStateIsRequired(20053), + TrueSkillDuplicateEvent(20054), + TrueSkillDuplicateCondition(20055), + TrueSkillInvalidAnomalyThreshold(20056), + TrueSkillConditionKeyLimitExceeded(20057), + TrueSkillConditionValuePerKeyLimitExceeded(20058), + TrueSkillEventLimitExceeded(20059), + StateShareForbidden(21000), + StateShareTitleNotInFlight(21001), + StateShareStateNotFound(21002), + StateShareLinkNotFound(21003), + StateShareStateRedemptionLimitExceeded(21004), + StateShareStateRedemptionLimitNotUpdated(21005), + StateShareCreatedStatesLimitExceeded(21006), + StateShareIdMissingOrMalformed(21007); public int id; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java index d44e552b3..ff85f4c4d 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java @@ -2620,6 +2620,8 @@ public static class ServerDetails { public ArrayList Ports; /** The server's region. */ public String Region; + /** The string server ID of the multiplayer server generated by PlayFab. */ + public String ServerId; } diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java index 5adc24bb0..900709db3 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -1676,6 +1676,8 @@ public static enum GenericErrorCodes { StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -1922,9 +1924,27 @@ public static enum GenericErrorCodes { TrueSkillJobAlreadyExists, TrueSkillJobNotFound, TrueSkillOperationCanceled, - StateShareUnauthorized, + TrueSkillActiveModelLimitExceeded, + TrueSkillTotalModelLimitExceeded, + TrueSkillUnknownInitialModelId, + TrueSkillUnauthorizedForJob, + TrueSkillInvalidScenarioName, + TrueSkillConditionStateIsRequired, + TrueSkillEventStateIsRequired, + TrueSkillDuplicateEvent, + TrueSkillDuplicateCondition, + TrueSkillInvalidAnomalyThreshold, + TrueSkillConditionKeyLimitExceeded, + TrueSkillConditionValuePerKeyLimitExceeded, + TrueSkillEventLimitExceeded, + StateShareForbidden, + StateShareTitleNotInFlight, StateShareStateNotFound, - StateShareLinkNotFound + StateShareLinkNotFound, + StateShareStateRedemptionLimitExceeded, + StateShareStateRedemptionLimitNotUpdated, + StateShareCreatedStatesLimitExceeded, + StateShareIdMissingOrMalformed } public static class GenericPlayFabIdPair { @@ -3359,7 +3379,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /** @@ -5060,7 +5081,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserPrivateAccountInfo { diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java index 5a4692ba2..99786decc 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.218.240524"; - public static String BuildIdentifier = "adobuild_javasdk_115"; - public static String SdkVersionString = "JavaSDK-0.218.240524"; + public static String SdkVersion = "0.219.240621"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.219.240621"; public static Map RequestGetParams; static { diff --git a/PlayFabServerSDK/packageMe.ps1 b/PlayFabServerSDK/packageMe.ps1 index 242cc0d1a..cfc1ec08b 100644 --- a/PlayFabServerSDK/packageMe.ps1 +++ b/PlayFabServerSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item server-sdk-0.218.240524.jar -Destination ../../builds/server-sdk-0.218.240524.jar \ No newline at end of file +Copy-Item server-sdk-0.219.240621.jar -Destination ../../builds/server-sdk-0.219.240621.jar \ No newline at end of file diff --git a/PlayFabServerSDK/packageMe.sh b/PlayFabServerSDK/packageMe.sh index 864dbecf6..22090fc98 100644 --- a/PlayFabServerSDK/packageMe.sh +++ b/PlayFabServerSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp server-sdk-0.218.240524.jar ../../builds/server-sdk-0.218.240524.jar +cp server-sdk-0.219.240621.jar ../../builds/server-sdk-0.219.240621.jar diff --git a/PlayFabServerSDK/pom.xml b/PlayFabServerSDK/pom.xml index fa237c46a..792de3108 100644 --- a/PlayFabServerSDK/pom.xml +++ b/PlayFabServerSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab server-sdk - 0.218.240524 + 0.219.240621 PlayFab Server API 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. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java index aa9c69354..931fccaaa 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -2071,6 +2071,8 @@ public static enum GenericErrorCodes { StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2317,9 +2319,27 @@ public static enum GenericErrorCodes { TrueSkillJobAlreadyExists, TrueSkillJobNotFound, TrueSkillOperationCanceled, - StateShareUnauthorized, + TrueSkillActiveModelLimitExceeded, + TrueSkillTotalModelLimitExceeded, + TrueSkillUnknownInitialModelId, + TrueSkillUnauthorizedForJob, + TrueSkillInvalidScenarioName, + TrueSkillConditionStateIsRequired, + TrueSkillEventStateIsRequired, + TrueSkillDuplicateEvent, + TrueSkillDuplicateCondition, + TrueSkillInvalidAnomalyThreshold, + TrueSkillConditionKeyLimitExceeded, + TrueSkillConditionValuePerKeyLimitExceeded, + TrueSkillEventLimitExceeded, + StateShareForbidden, + StateShareTitleNotInFlight, StateShareStateNotFound, - StateShareLinkNotFound + StateShareLinkNotFound, + StateShareStateRedemptionLimitExceeded, + StateShareStateRedemptionLimitNotUpdated, + StateShareCreatedStatesLimitExceeded, + StateShareIdMissingOrMalformed } public static class GetActionsOnPlayersInSegmentTaskInstanceResult { @@ -3293,7 +3313,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LogStatement { @@ -5544,7 +5565,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserOriginationSegmentFilter { diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java index 89fb0d82d..ff304c45e 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAuthenticationModels.java @@ -104,7 +104,14 @@ public static class GetEntityTokenResponse { public static enum IdentifiedDeviceType { Unknown, XboxOne, - Scarlett + Scarlett, + WindowsOneCore, + WindowsOneCoreMobile, + Win32, + android, + iOS, + PlayStation, + Nintendo } public static enum LoginIdentityProvider { @@ -129,7 +136,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /** Given an entity token, validates that it hasn't expired or been revoked and will return details of the owner. */ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java index 979eee0c9..d558ffb8c 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabCloudScriptModels.java @@ -553,7 +553,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class LogStatement { diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java index 24c8327a2..c5d48b516 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -14,7 +14,7 @@ public class PlayFabEconomyAPI { private static Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").create(); /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return Async Task will return AddInventoryItemsResponse */ @@ -28,7 +28,7 @@ public PlayFabResult call() throws Exception { } /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * @param request AddInventoryItemsRequest * @return AddInventoryItemsResponse */ @@ -49,7 +49,7 @@ public PlayFabResult call() throws Exception { } } - /** Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ + /** Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. */ @SuppressWarnings("unchecked") private static PlayFabResult privateAddInventoryItemsAsync(final AddInventoryItemsRequest request) throws Exception { if (PlayFabSettings.EntityToken == null) throw new Exception ("Must call GetEntityToken before you can use the Entity API"); @@ -464,11 +464,10 @@ private static PlayFabResult privateDeleteItemAsync(final De } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return Async Task will return ExecuteInventoryOperationsResponse */ @@ -482,11 +481,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * @param request ExecuteInventoryOperationsRequest * @return ExecuteInventoryOperationsResponse */ @@ -508,11 +506,10 @@ public PlayFabResult call() throws Exception } /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateExecuteInventoryOperationsAsync(final ExecuteInventoryOperationsRequest request) throws Exception { @@ -957,8 +954,9 @@ private static PlayFabResult privateGetEntityItemRe } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return Async Task will return GetInventoryCollectionIdsResponse */ @@ -972,8 +970,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * @param request GetInventoryCollectionIdsRequest * @return GetInventoryCollectionIdsResponse */ @@ -995,8 +994,9 @@ public PlayFabResult call() throws Exception } /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetInventoryCollectionIdsAsync(final GetInventoryCollectionIdsRequest request) throws Exception { @@ -1691,10 +1691,9 @@ private static PlayFabResult privateGetMi } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return Async Task will return GetTransactionHistoryResponse */ @@ -1708,10 +1707,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * @param request GetTransactionHistoryRequest * @return GetTransactionHistoryResponse */ @@ -1733,10 +1731,9 @@ public PlayFabResult call() throws Exception { } /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. */ @SuppressWarnings("unchecked") private static PlayFabResult privateGetTransactionHistoryAsync(final GetTransactionHistoryRequest request) throws Exception { @@ -1831,7 +1828,7 @@ private static PlayFabResult privatePublishDraftItemAs } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return Async Task will return PurchaseInventoryItemsResponse @@ -1846,7 +1843,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * @param request PurchaseInventoryItemsRequest * @return PurchaseInventoryItemsResponse @@ -1869,7 +1866,7 @@ public PlayFabResult call() throws Exception { } /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. */ @SuppressWarnings("unchecked") diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index e974fc22c..878da3976 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -761,7 +761,7 @@ public static class ExecuteInventoryOperationsRequest { public String IdempotencyId; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. Up to 10 operations can be added. + * a batch. Up to 50 operations can be added. */ public ArrayList Operations; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java index 216b8f477..12e0d1b91 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -578,6 +578,8 @@ public static enum PlayFabErrorCode { StatisticDefinitionModificationNotAllowedWhileLinked(1577), LeaderboardUpdateNotAllowedWhileLinked(1578), CloudScriptAzureFunctionsEventHubRequestError(1579), + LeaderboardRateLimitExceeded(1580), + ExternalEntityNotAllowedForTier(1581), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), @@ -824,9 +826,27 @@ public static enum PlayFabErrorCode { TrueSkillJobAlreadyExists(20044), TrueSkillJobNotFound(20045), TrueSkillOperationCanceled(20046), - StateShareUnauthorized(21000), - StateShareStateNotFound(21001), - StateShareLinkNotFound(21002); + TrueSkillActiveModelLimitExceeded(20047), + TrueSkillTotalModelLimitExceeded(20048), + TrueSkillUnknownInitialModelId(20049), + TrueSkillUnauthorizedForJob(20050), + TrueSkillInvalidScenarioName(20051), + TrueSkillConditionStateIsRequired(20052), + TrueSkillEventStateIsRequired(20053), + TrueSkillDuplicateEvent(20054), + TrueSkillDuplicateCondition(20055), + TrueSkillInvalidAnomalyThreshold(20056), + TrueSkillConditionKeyLimitExceeded(20057), + TrueSkillConditionValuePerKeyLimitExceeded(20058), + TrueSkillEventLimitExceeded(20059), + StateShareForbidden(21000), + StateShareTitleNotInFlight(21001), + StateShareStateNotFound(21002), + StateShareLinkNotFound(21003), + StateShareStateRedemptionLimitExceeded(21004), + StateShareStateRedemptionLimitNotUpdated(21005), + StateShareCreatedStatesLimitExceeded(21006), + StateShareIdMissingOrMalformed(21007); public int id; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java index d44e552b3..ff85f4c4d 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabMultiplayerModels.java @@ -2620,6 +2620,8 @@ public static class ServerDetails { public ArrayList Ports; /** The server's region. */ public String Region; + /** The string server ID of the multiplayer server generated by PlayFab. */ + public String ServerId; } diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java index 5adc24bb0..900709db3 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -1676,6 +1676,8 @@ public static enum GenericErrorCodes { StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -1922,9 +1924,27 @@ public static enum GenericErrorCodes { TrueSkillJobAlreadyExists, TrueSkillJobNotFound, TrueSkillOperationCanceled, - StateShareUnauthorized, + TrueSkillActiveModelLimitExceeded, + TrueSkillTotalModelLimitExceeded, + TrueSkillUnknownInitialModelId, + TrueSkillUnauthorizedForJob, + TrueSkillInvalidScenarioName, + TrueSkillConditionStateIsRequired, + TrueSkillEventStateIsRequired, + TrueSkillDuplicateEvent, + TrueSkillDuplicateCondition, + TrueSkillInvalidAnomalyThreshold, + TrueSkillConditionKeyLimitExceeded, + TrueSkillConditionValuePerKeyLimitExceeded, + TrueSkillEventLimitExceeded, + StateShareForbidden, + StateShareTitleNotInFlight, StateShareStateNotFound, - StateShareLinkNotFound + StateShareLinkNotFound, + StateShareStateRedemptionLimitExceeded, + StateShareStateRedemptionLimitNotUpdated, + StateShareCreatedStatesLimitExceeded, + StateShareIdMissingOrMalformed } public static class GenericPlayFabIdPair { @@ -3359,7 +3379,8 @@ public static enum LoginIdentityProvider { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /** @@ -5060,7 +5081,8 @@ public static enum UserOrigination { OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } public static class UserPrivateAccountInfo { diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java index 9b848e5be..004490e28 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.218.240524"; - public static String BuildIdentifier = "adobuild_javasdk_115"; - public static String SdkVersionString = "JavaSDK-0.218.240524"; + public static String SdkVersion = "0.219.240621"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.219.240621"; public static Map RequestGetParams; static { diff --git a/builds/client-sdk-0.219.240621.jar b/builds/client-sdk-0.219.240621.jar new file mode 100644 index 000000000..ecb3211f6 Binary files /dev/null and b/builds/client-sdk-0.219.240621.jar differ diff --git a/builds/combo-sdk-0.219.240621.jar b/builds/combo-sdk-0.219.240621.jar new file mode 100644 index 000000000..37d79e750 Binary files /dev/null and b/builds/combo-sdk-0.219.240621.jar differ diff --git a/builds/server-sdk-0.219.240621.jar b/builds/server-sdk-0.219.240621.jar new file mode 100644 index 000000000..f06d8bfbb Binary files /dev/null and b/builds/server-sdk-0.219.240621.jar differ