diff --git a/ExampleMacProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs b/ExampleMacProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs index 1f3709e97..8b950c5d1 100644 --- a/ExampleMacProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs +++ b/ExampleMacProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs @@ -1 +1 @@ -namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.195.240524"; } } +namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.196.240621"; } } diff --git a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs index 2632818ec..440fa1cab 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs @@ -2633,6 +2633,8 @@ public enum GenericErrorCodes StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2879,9 +2881,27 @@ public 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 } [Serializable] @@ -4284,7 +4304,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] @@ -7510,7 +7531,8 @@ public enum UserOrigination OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleMacProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs index 4fb7aa087..ce35e67fc 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs @@ -160,7 +160,14 @@ public enum IdentifiedDeviceType { Unknown, XboxOne, - Scarlett + Scarlett, + WindowsOneCore, + WindowsOneCoreMobile, + Win32, + android, + iOS, + PlayStation, + Nintendo } public enum LoginIdentityProvider @@ -186,7 +193,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /// diff --git a/ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs index 58ff570bd..1b3801857 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs @@ -3822,7 +3822,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] @@ -7043,7 +7044,8 @@ public enum UserOrigination OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleMacProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs b/ExampleMacProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs index 44ee11daa..45f9c31d8 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs @@ -701,7 +701,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs index 0f65eb181..93b0ddd06 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs @@ -33,7 +33,7 @@ public static void ForgetAllCredentials() } /// - /// 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. /// public static void AddInventoryItems(AddInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -128,11 +128,10 @@ public static void DeleteItem(DeleteItemRequest request, Action - /// 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. /// public static void ExecuteInventoryOperations(ExecuteInventoryOperationsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -234,8 +233,9 @@ public static void GetEntityItemReview(GetEntityItemReviewRequest request, Actio } /// - /// 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. /// public static void GetInventoryCollectionIds(GetInventoryCollectionIdsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -389,10 +389,9 @@ public static void GetMicrosoftStoreAccessTokens(GetMicrosoftStoreAccessTokensRe } /// - /// 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. /// public static void GetTransactionHistory(GetTransactionHistoryRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -419,7 +418,7 @@ public static void PublishDraftItem(PublishDraftItemRequest request, Action - /// 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. /// public static void PurchaseInventoryItems(PurchaseInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) diff --git a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs index 04fae9194..b5fe9f10a 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs @@ -52,7 +52,7 @@ public void ForgetAllCredentials() } /// - /// 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. /// public void AddInventoryItems(AddInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -133,11 +133,10 @@ public void DeleteItem(DeleteItemRequest request, Action res } /// - /// 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. /// public void ExecuteInventoryOperations(ExecuteInventoryOperationsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -225,8 +224,9 @@ public void GetEntityItemReview(GetEntityItemReviewRequest request, Action - /// 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. /// public void GetInventoryCollectionIds(GetInventoryCollectionIdsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -358,10 +358,9 @@ public void GetMicrosoftStoreAccessTokens(GetMicrosoftStoreAccessTokensRequest r } /// - /// 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. /// public void GetTransactionHistory(GetTransactionHistoryRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -384,7 +383,7 @@ public void PublishDraftItem(PublishDraftItemRequest request, Action - /// 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. /// public void PurchaseInventoryItems(PurchaseInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) diff --git a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs index 7e296ffee..bed60c78b 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs @@ -999,7 +999,7 @@ public class ExecuteInventoryOperationsRequest : PlayFabRequestCommon 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 List Operations; } diff --git a/ExampleMacProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs index e0cedc822..31c6e6a67 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs @@ -4543,6 +4543,10 @@ public class ServerDetails : PlayFabBaseModel /// The server's region. /// public string Region; + /// + /// The string server ID of the multiplayer server generated by PlayFab. + /// + public string ServerId; } [Serializable] diff --git a/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs index d20a77b00..696ce3623 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs @@ -2001,6 +2001,8 @@ public enum GenericErrorCodes StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2247,9 +2249,27 @@ public 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 } [Serializable] @@ -4387,7 +4407,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /// @@ -7006,7 +7027,8 @@ public enum UserOrigination OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs b/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs index 2252c5d95..227cc8b7b 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs @@ -579,6 +579,8 @@ public enum PlayFabErrorCode StatisticDefinitionModificationNotAllowedWhileLinked = 1577, LeaderboardUpdateNotAllowedWhileLinked = 1578, CloudScriptAzureFunctionsEventHubRequestError = 1579, + LeaderboardRateLimitExceeded = 1580, + ExternalEntityNotAllowedForTier = 1581, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, @@ -825,9 +827,27 @@ public 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 class PlayFabError diff --git a/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs b/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs index 6898f8772..3d81ba9e3 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs @@ -65,9 +65,9 @@ static PlayFabSettings() /// public static readonly PlayFabAuthenticationContext staticPlayer = new PlayFabAuthenticationContext(); - public const string SdkVersion = "2.195.240524"; + public const string SdkVersion = "2.196.240621"; public const string BuildIdentifier = "adobuild_unitysdk_167"; - public const string VersionString = "UnitySDK-2.195.240524"; + public const string VersionString = "UnitySDK-2.196.240621"; public static string EngineVersion = UnityEngine.Application.unityVersion; public static string PlatformString; diff --git a/ExampleTestProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs b/ExampleTestProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs index 1f3709e97..8b950c5d1 100644 --- a/ExampleTestProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs +++ b/ExampleTestProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs @@ -1 +1 @@ -namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.195.240524"; } } +namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.196.240621"; } } diff --git a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs index 2632818ec..440fa1cab 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs @@ -2633,6 +2633,8 @@ public enum GenericErrorCodes StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2879,9 +2881,27 @@ public 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 } [Serializable] @@ -4284,7 +4304,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] @@ -7510,7 +7531,8 @@ public enum UserOrigination OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleTestProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs index 4fb7aa087..ce35e67fc 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Authentication/PlayFabAuthenticationModels.cs @@ -160,7 +160,14 @@ public enum IdentifiedDeviceType { Unknown, XboxOne, - Scarlett + Scarlett, + WindowsOneCore, + WindowsOneCoreMobile, + Win32, + android, + iOS, + PlayStation, + Nintendo } public enum LoginIdentityProvider @@ -186,7 +193,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /// diff --git a/ExampleTestProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs index 58ff570bd..1b3801857 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Client/PlayFabClientModels.cs @@ -3822,7 +3822,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] @@ -7043,7 +7044,8 @@ public enum UserOrigination OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleTestProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs b/ExampleTestProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs index 44ee11daa..45f9c31d8 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/CloudScript/PlayFabCloudScriptModels.cs @@ -701,7 +701,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs index 0f65eb181..93b0ddd06 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs @@ -33,7 +33,7 @@ public static void ForgetAllCredentials() } /// - /// 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. /// public static void AddInventoryItems(AddInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -128,11 +128,10 @@ public static void DeleteItem(DeleteItemRequest request, Action - /// 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. /// public static void ExecuteInventoryOperations(ExecuteInventoryOperationsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -234,8 +233,9 @@ public static void GetEntityItemReview(GetEntityItemReviewRequest request, Actio } /// - /// 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. /// public static void GetInventoryCollectionIds(GetInventoryCollectionIdsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -389,10 +389,9 @@ public static void GetMicrosoftStoreAccessTokens(GetMicrosoftStoreAccessTokensRe } /// - /// 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. /// public static void GetTransactionHistory(GetTransactionHistoryRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -419,7 +418,7 @@ public static void PublishDraftItem(PublishDraftItemRequest request, Action - /// 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. /// public static void PurchaseInventoryItems(PurchaseInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) diff --git a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs index 04fae9194..b5fe9f10a 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs @@ -52,7 +52,7 @@ public void ForgetAllCredentials() } /// - /// 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. /// public void AddInventoryItems(AddInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -133,11 +133,10 @@ public void DeleteItem(DeleteItemRequest request, Action res } /// - /// 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. /// public void ExecuteInventoryOperations(ExecuteInventoryOperationsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -225,8 +224,9 @@ public void GetEntityItemReview(GetEntityItemReviewRequest request, Action - /// 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. /// public void GetInventoryCollectionIds(GetInventoryCollectionIdsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -358,10 +358,9 @@ public void GetMicrosoftStoreAccessTokens(GetMicrosoftStoreAccessTokensRequest r } /// - /// 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. /// public void GetTransactionHistory(GetTransactionHistoryRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) { @@ -384,7 +383,7 @@ public void PublishDraftItem(PublishDraftItemRequest request, Action - /// 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. /// public void PurchaseInventoryItems(PurchaseInventoryItemsRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) diff --git a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs index 7e296ffee..bed60c78b 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs @@ -999,7 +999,7 @@ public class ExecuteInventoryOperationsRequest : PlayFabRequestCommon 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 List Operations; } diff --git a/ExampleTestProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs index e0cedc822..31c6e6a67 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Multiplayer/PlayFabMultiplayerModels.cs @@ -4543,6 +4543,10 @@ public class ServerDetails : PlayFabBaseModel /// The server's region. /// public string Region; + /// + /// The string server ID of the multiplayer server generated by PlayFab. + /// + public string ServerId; } [Serializable] diff --git a/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs index d20a77b00..696ce3623 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs @@ -2001,6 +2001,8 @@ public enum GenericErrorCodes StatisticDefinitionModificationNotAllowedWhileLinked, LeaderboardUpdateNotAllowedWhileLinked, CloudScriptAzureFunctionsEventHubRequestError, + LeaderboardRateLimitExceeded, + ExternalEntityNotAllowedForTier, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2247,9 +2249,27 @@ public 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 } [Serializable] @@ -4387,7 +4407,8 @@ public enum LoginIdentityProvider OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } /// @@ -7006,7 +7027,8 @@ public enum UserOrigination OpenIdConnect, Apple, NintendoSwitchAccount, - GooglePlayGames + GooglePlayGames, + XboxMobileStore } [Serializable] diff --git a/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs b/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs index 2252c5d95..227cc8b7b 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs @@ -579,6 +579,8 @@ public enum PlayFabErrorCode StatisticDefinitionModificationNotAllowedWhileLinked = 1577, LeaderboardUpdateNotAllowedWhileLinked = 1578, CloudScriptAzureFunctionsEventHubRequestError = 1579, + LeaderboardRateLimitExceeded = 1580, + ExternalEntityNotAllowedForTier = 1581, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, @@ -825,9 +827,27 @@ public 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 class PlayFabError diff --git a/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs b/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs index 6898f8772..3d81ba9e3 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs @@ -65,9 +65,9 @@ static PlayFabSettings() /// public static readonly PlayFabAuthenticationContext staticPlayer = new PlayFabAuthenticationContext(); - public const string SdkVersion = "2.195.240524"; + public const string SdkVersion = "2.196.240621"; public const string BuildIdentifier = "adobuild_unitysdk_167"; - public const string VersionString = "UnitySDK-2.195.240524"; + public const string VersionString = "UnitySDK-2.196.240621"; public static string EngineVersion = UnityEngine.Application.unityVersion; public static string PlatformString; diff --git a/Packages/PlayFabEditorExtensions.unitypackage b/Packages/PlayFabEditorExtensions.unitypackage index 817fcdb02..f03e869a7 100644 Binary files a/Packages/PlayFabEditorExtensions.unitypackage and b/Packages/PlayFabEditorExtensions.unitypackage differ diff --git a/Packages/UnitySDK.unitypackage b/Packages/UnitySDK.unitypackage index ee209cb30..0cdad4b55 100644 Binary files a/Packages/UnitySDK.unitypackage and b/Packages/UnitySDK.unitypackage differ