diff --git a/PlayFabSDK/source/PlayFabAdminModels.cs b/PlayFabSDK/source/PlayFabAdminModels.cs index c36a6c64..d85b24ea 100644 --- a/PlayFabSDK/source/PlayFabAdminModels.cs +++ b/PlayFabSDK/source/PlayFabAdminModels.cs @@ -2548,6 +2548,11 @@ public enum GenericErrorCodes PlayStreamConnectionFailed, InvalidEventContents, InsightsV1Deprecated, + AnalysisSubscriptionNotFound, + AnalysisSubscriptionFailed, + AnalysisSubscriptionFoundAlready, + AnalysisSubscriptionManagementInvalidInput, + InvalidGameCenterId, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, diff --git a/PlayFabSDK/source/PlayFabClientModels.cs b/PlayFabSDK/source/PlayFabClientModels.cs index 59427239..49a40b60 100644 --- a/PlayFabSDK/source/PlayFabClientModels.cs +++ b/PlayFabSDK/source/PlayFabClientModels.cs @@ -4668,7 +4668,8 @@ public class LoginWithFacebookRequest : PlayFabRequestCommon /// this is the first time a user has signed in with Game Center and CreateAccount is set to true, a new PlayFab account /// will be created and linked to the Game Center identifier. In this case, no email or username will be associated with the /// PlayFab account. Otherwise, if no PlayFab account is linked to the Game Center account, an error indicating this will be - /// returned, so that the title can guide the user through creation of a PlayFab account. + /// returned, so that the title can guide the user through creation of a PlayFab account. If an invalid iOS Game Center + /// player identifier is used, an error indicating this will be returned. /// public class LoginWithGameCenterRequest : PlayFabRequestCommon { diff --git a/PlayFabSDK/source/PlayFabEconomyModels.cs b/PlayFabSDK/source/PlayFabEconomyModels.cs index 7ef2f008..adce68ba 100644 --- a/PlayFabSDK/source/PlayFabEconomyModels.cs +++ b/PlayFabSDK/source/PlayFabEconomyModels.cs @@ -9,7 +9,7 @@ public class AddInventoryItemsOperation /// /// The amount to add to the current item amount. /// - public int Amount ; + public int? Amount ; /// /// The inventory item the operation applies to. @@ -31,7 +31,7 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon /// /// The amount to add for the current item. /// - public int Amount ; + public int? Amount ; /// /// The id of the entity's collection to perform this action on. (Default="default") @@ -1757,7 +1757,7 @@ public class InventoryItem /// /// The amount of the item. /// - public int Amount ; + public int? Amount ; /// /// Game specific properties for display purposes. This is an arbitrary JSON blob. @@ -1927,7 +1927,7 @@ public class PurchaseInventoryItemsOperation /// /// The amount to purchase. /// - public int Amount ; + public int? Amount ; /// /// Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = @@ -1966,7 +1966,7 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon /// /// The amount to purchase. /// - public int Amount ; + public int? Amount ; /// /// The id of the entity's collection to perform this action on. (Default="default") @@ -2818,7 +2818,7 @@ public class SubtractInventoryItemsOperation /// /// The amount to subtract from the current item amount. /// - public int Amount ; + public int? Amount ; /// /// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = @@ -2839,9 +2839,9 @@ public class SubtractInventoryItemsOperation public class SubtractInventoryItemsRequest : PlayFabRequestCommon { /// - /// The amount to add for the current item. + /// The amount to subtract for the current item. /// - public int Amount ; + public int? Amount ; /// /// The id of the entity's collection to perform this action on. (Default="default") diff --git a/PlayFabSDK/source/PlayFabErrors.cs b/PlayFabSDK/source/PlayFabErrors.cs index 1924d297..ee1920ea 100644 --- a/PlayFabSDK/source/PlayFabErrors.cs +++ b/PlayFabSDK/source/PlayFabErrors.cs @@ -550,6 +550,11 @@ public enum PlayFabErrorCode PlayStreamConnectionFailed = 1547, InvalidEventContents = 1548, InsightsV1Deprecated = 1549, + AnalysisSubscriptionNotFound = 1550, + AnalysisSubscriptionFailed = 1551, + AnalysisSubscriptionFoundAlready = 1552, + AnalysisSubscriptionManagementInvalidInput = 1553, + InvalidGameCenterId = 1554, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, diff --git a/PlayFabSDK/source/PlayFabSDK.csproj b/PlayFabSDK/source/PlayFabSDK.csproj index 3f340370..4742f868 100644 --- a/PlayFabSDK/source/PlayFabSDK.csproj +++ b/PlayFabSDK/source/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.144.230123 + 1.145.230206 PlayFab CSharp Sdk Microsoft Microsoft @@ -21,7 +21,7 @@ PlayFab PlayFabSDK PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#230123 + https://docs.microsoft.com/gaming/playfab/release-notes#230206 en 1 1 diff --git a/PlayFabSDK/source/PlayFabServerModels.cs b/PlayFabSDK/source/PlayFabServerModels.cs index 38dfb9b4..73514727 100644 --- a/PlayFabSDK/source/PlayFabServerModels.cs +++ b/PlayFabSDK/source/PlayFabServerModels.cs @@ -2100,6 +2100,11 @@ public enum GenericErrorCodes PlayStreamConnectionFailed, InvalidEventContents, InsightsV1Deprecated, + AnalysisSubscriptionNotFound, + AnalysisSubscriptionFailed, + AnalysisSubscriptionFoundAlready, + AnalysisSubscriptionManagementInvalidInput, + InvalidGameCenterId, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, diff --git a/PlayFabSDK/source/PlayFabSettings.cs b/PlayFabSDK/source/PlayFabSettings.cs index d66b8122..48a119e3 100644 --- a/PlayFabSDK/source/PlayFabSettings.cs +++ b/PlayFabSDK/source/PlayFabSettings.cs @@ -6,9 +6,9 @@ namespace PlayFab { public class PlayFabSettings { - public const string SdkVersion = "1.144.230123"; - public const string BuildIdentifier = "adobuild_csharpsdk_115"; - public const string SdkVersionString = "CSharpSDK-1.144.230123"; + public const string SdkVersion = "1.145.230206"; + public const string BuildIdentifier = "adobuild_csharpsdk_117"; + public const string SdkVersionString = "CSharpSDK-1.145.230206"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com"; diff --git a/PlayFabSDK/source/Uunit/UUnitIncrementalTestRunner.cs b/PlayFabSDK/source/Uunit/UUnitIncrementalTestRunner.cs index a50d8be3..5216a774 100644 --- a/PlayFabSDK/source/Uunit/UUnitIncrementalTestRunner.cs +++ b/PlayFabSDK/source/Uunit/UUnitIncrementalTestRunner.cs @@ -43,12 +43,13 @@ public static TestTitleData VerifyTestTitleData() try { var testTitleDataPath = Environment.GetEnvironmentVariable("PF_TEST_TITLE_DATA_JSON"); - var jsonContent = File.ReadAllText(testTitleDataPath + "/testTitleData.json"); + var jsonContent = File.ReadAllText(testTitleDataPath); var serializer = PluginManager.GetPlugin(PluginContract.PlayFab_Serializer); TestTitleData = serializer.DeserializeObject(jsonContent); } - catch (Exception) + catch (Exception e) { + Console.WriteLine("Error verifying test title data: " + e.Message); } } #endif diff --git a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj index b79472eb..f3b38b73 100644 --- a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj +++ b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj @@ -8,7 +8,7 @@ 512 PlayFabCloudScriptPlugin - 1.144.230123-alpha + 1.145.230206-alpha PlayFab CSharp CloudScript Plugin Microsoft Microsoft @@ -21,7 +21,7 @@ PlayFabCloudScriptPlugin Copyright 2023 PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#230123 + https://docs.microsoft.com/gaming/playfab/release-notes#230206 en 1 1 @@ -45,7 +45,7 @@ - + diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs index c36a6c64..d85b24ea 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs @@ -2548,6 +2548,11 @@ public enum GenericErrorCodes PlayStreamConnectionFailed, InvalidEventContents, InsightsV1Deprecated, + AnalysisSubscriptionNotFound, + AnalysisSubscriptionFailed, + AnalysisSubscriptionFoundAlready, + AnalysisSubscriptionManagementInvalidInput, + InvalidGameCenterId, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs index 59427239..49a40b60 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs @@ -4668,7 +4668,8 @@ public class LoginWithFacebookRequest : PlayFabRequestCommon /// this is the first time a user has signed in with Game Center and CreateAccount is set to true, a new PlayFab account /// will be created and linked to the Game Center identifier. In this case, no email or username will be associated with the /// PlayFab account. Otherwise, if no PlayFab account is linked to the Game Center account, an error indicating this will be - /// returned, so that the title can guide the user through creation of a PlayFab account. + /// returned, so that the title can guide the user through creation of a PlayFab account. If an invalid iOS Game Center + /// player identifier is used, an error indicating this will be returned. /// public class LoginWithGameCenterRequest : PlayFabRequestCommon { diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs index 7ef2f008..adce68ba 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs @@ -9,7 +9,7 @@ public class AddInventoryItemsOperation /// /// The amount to add to the current item amount. /// - public int Amount ; + public int? Amount ; /// /// The inventory item the operation applies to. @@ -31,7 +31,7 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon /// /// The amount to add for the current item. /// - public int Amount ; + public int? Amount ; /// /// The id of the entity's collection to perform this action on. (Default="default") @@ -1757,7 +1757,7 @@ public class InventoryItem /// /// The amount of the item. /// - public int Amount ; + public int? Amount ; /// /// Game specific properties for display purposes. This is an arbitrary JSON blob. @@ -1927,7 +1927,7 @@ public class PurchaseInventoryItemsOperation /// /// The amount to purchase. /// - public int Amount ; + public int? Amount ; /// /// Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = @@ -1966,7 +1966,7 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon /// /// The amount to purchase. /// - public int Amount ; + public int? Amount ; /// /// The id of the entity's collection to perform this action on. (Default="default") @@ -2818,7 +2818,7 @@ public class SubtractInventoryItemsOperation /// /// The amount to subtract from the current item amount. /// - public int Amount ; + public int? Amount ; /// /// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = @@ -2839,9 +2839,9 @@ public class SubtractInventoryItemsOperation public class SubtractInventoryItemsRequest : PlayFabRequestCommon { /// - /// The amount to add for the current item. + /// The amount to subtract for the current item. /// - public int Amount ; + public int? Amount ; /// /// The id of the entity's collection to perform this action on. (Default="default") diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs index 1924d297..ee1920ea 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs @@ -550,6 +550,11 @@ public enum PlayFabErrorCode PlayStreamConnectionFailed = 1547, InvalidEventContents = 1548, InsightsV1Deprecated = 1549, + AnalysisSubscriptionNotFound = 1550, + AnalysisSubscriptionFailed = 1551, + AnalysisSubscriptionFoundAlready = 1552, + AnalysisSubscriptionManagementInvalidInput = 1553, + InvalidGameCenterId = 1554, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj index 3f340370..4742f868 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.144.230123 + 1.145.230206 PlayFab CSharp Sdk Microsoft Microsoft @@ -21,7 +21,7 @@ PlayFab PlayFabSDK PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#230123 + https://docs.microsoft.com/gaming/playfab/release-notes#230206 en 1 1 diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs index 38dfb9b4..73514727 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs @@ -2100,6 +2100,11 @@ public enum GenericErrorCodes PlayStreamConnectionFailed, InvalidEventContents, InsightsV1Deprecated, + AnalysisSubscriptionNotFound, + AnalysisSubscriptionFailed, + AnalysisSubscriptionFoundAlready, + AnalysisSubscriptionManagementInvalidInput, + InvalidGameCenterId, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs index d66b8122..48a119e3 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs @@ -6,9 +6,9 @@ namespace PlayFab { public class PlayFabSettings { - public const string SdkVersion = "1.144.230123"; - public const string BuildIdentifier = "adobuild_csharpsdk_115"; - public const string SdkVersionString = "CSharpSDK-1.144.230123"; + public const string SdkVersion = "1.145.230206"; + public const string BuildIdentifier = "adobuild_csharpsdk_117"; + public const string SdkVersionString = "CSharpSDK-1.145.230206"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com"; diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/Uunit/UUnitIncrementalTestRunner.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/Uunit/UUnitIncrementalTestRunner.cs index a50d8be3..5216a774 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/Uunit/UUnitIncrementalTestRunner.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/Uunit/UUnitIncrementalTestRunner.cs @@ -43,12 +43,13 @@ public static TestTitleData VerifyTestTitleData() try { var testTitleDataPath = Environment.GetEnvironmentVariable("PF_TEST_TITLE_DATA_JSON"); - var jsonContent = File.ReadAllText(testTitleDataPath + "/testTitleData.json"); + var jsonContent = File.ReadAllText(testTitleDataPath); var serializer = PluginManager.GetPlugin(PluginContract.PlayFab_Serializer); TestTitleData = serializer.DeserializeObject(jsonContent); } - catch (Exception) + catch (Exception e) { + Console.WriteLine("Error verifying test title data: " + e.Message); } } #endif