From 8581a8ae707ff331cbc196c19a9f4c03d8cf9c72 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 30 Oct 2023 21:12:40 +0000 Subject: [PATCH] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#231027 --- PlayFabSDK/source/PlayFabAdminModels.cs | 7 +++++-- PlayFabSDK/source/PlayFabAuthenticationAPI.cs | 6 +++--- PlayFabSDK/source/PlayFabAuthenticationInstanceAPI.cs | 6 +++--- PlayFabSDK/source/PlayFabEconomyModels.cs | 3 ++- PlayFabSDK/source/PlayFabErrors.cs | 5 ++++- PlayFabSDK/source/PlayFabSDK.csproj | 4 ++-- PlayFabSDK/source/PlayFabServerModels.cs | 5 ++++- PlayFabSDK/source/PlayFabSettings.cs | 4 ++-- Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj | 6 +++--- .../XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs | 7 +++++-- .../PlayFabSDK/PlayFabAuthenticationAPI.cs | 6 +++--- .../PlayFabSDK/PlayFabAuthenticationInstanceAPI.cs | 6 +++--- .../XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs | 3 ++- .../XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs | 5 ++++- .../XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj | 4 ++-- .../XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs | 5 ++++- .../XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs | 4 ++-- 17 files changed, 53 insertions(+), 33 deletions(-) diff --git a/PlayFabSDK/source/PlayFabAdminModels.cs b/PlayFabSDK/source/PlayFabAdminModels.cs index efa771aa..f1f013df 100644 --- a/PlayFabSDK/source/PlayFabAdminModels.cs +++ b/PlayFabSDK/source/PlayFabAdminModels.cs @@ -406,7 +406,7 @@ public class BanPlayerContent /// /// Duration(in hours) to ban a player. If not provided, the player will be banned permanently. /// - public int BanDurationHours ; + public int? BanDurationHours ; /// /// Reason to ban a player @@ -2834,6 +2834,7 @@ public enum GenericErrorCodes EventSinkTenantNotFound, EventSinkAadNotFound, EventSinkDatabaseNotFound, + EventSinkTitleUnauthorized, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2853,7 +2854,9 @@ public enum GenericErrorCodes PlayerCustomPropertiesDuplicatePropertyName, PlayerCustomPropertiesPropertyDoesNotExist, AddonAlreadyExists, - AddonDoesntExist + AddonDoesntExist, + CopilotDisabled, + CopilotInvalidRequest } public class GetActionsOnPlayersInSegmentTaskInstanceResult : PlayFabResultCommon diff --git a/PlayFabSDK/source/PlayFabAuthenticationAPI.cs b/PlayFabSDK/source/PlayFabAuthenticationAPI.cs index 55a5417f..8846e1d2 100644 --- a/PlayFabSDK/source/PlayFabAuthenticationAPI.cs +++ b/PlayFabSDK/source/PlayFabAuthenticationAPI.cs @@ -14,9 +14,9 @@ namespace PlayFab { /// /// The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication - /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. Manage - /// API keys for authenticating any entity. The game_server API is designed to create uniquely identifiable game_server - /// entities. The game_server Entity token can be used to call Matchmaking Lobby and Pubsub for server scenarios. + /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. The + /// game_server API is designed to create uniquely identifiable game_server entities. The game_server Entity token can be + /// used to call Matchmaking Lobby and Pubsub for server scenarios. /// public static class PlayFabAuthenticationAPI { diff --git a/PlayFabSDK/source/PlayFabAuthenticationInstanceAPI.cs b/PlayFabSDK/source/PlayFabAuthenticationInstanceAPI.cs index 3fd712a4..78317319 100644 --- a/PlayFabSDK/source/PlayFabAuthenticationInstanceAPI.cs +++ b/PlayFabSDK/source/PlayFabAuthenticationInstanceAPI.cs @@ -14,9 +14,9 @@ namespace PlayFab { /// /// The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication - /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. Manage - /// API keys for authenticating any entity. The game_server API is designed to create uniquely identifiable game_server - /// entities. The game_server Entity token can be used to call Matchmaking Lobby and Pubsub for server scenarios. + /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. The + /// game_server API is designed to create uniquely identifiable game_server entities. The game_server Entity token can be + /// used to call Matchmaking Lobby and Pubsub for server scenarios. /// public class PlayFabAuthenticationInstanceAPI { diff --git a/PlayFabSDK/source/PlayFabEconomyModels.cs b/PlayFabSDK/source/PlayFabEconomyModels.cs index 5ac04550..efd82dce 100644 --- a/PlayFabSDK/source/PlayFabEconomyModels.cs +++ b/PlayFabSDK/source/PlayFabEconomyModels.cs @@ -2312,7 +2312,8 @@ public class RedeemMicrosoftStoreInventoryItemsRequest : PlayFabRequestCommon public EntityKey Entity ; /// - /// Xbox Token used for delegated business partner authentication. + /// Xbox Token used for delegated business partner authentication. Token provided by the Xbox Live SDK method + /// GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). /// public string XboxToken ; diff --git a/PlayFabSDK/source/PlayFabErrors.cs b/PlayFabSDK/source/PlayFabErrors.cs index c7b8d91e..64ebf854 100644 --- a/PlayFabSDK/source/PlayFabErrors.cs +++ b/PlayFabSDK/source/PlayFabErrors.cs @@ -737,6 +737,7 @@ public enum PlayFabErrorCode EventSinkTenantNotFound = 15009, EventSinkAadNotFound = 15010, EventSinkDatabaseNotFound = 15011, + EventSinkTitleUnauthorized = 15012, OperationCanceled = 16000, InvalidDisplayNameRandomSuffixLength = 17000, AllowNonUniquePlayerDisplayNamesDisableNotAllowed = 17001, @@ -756,7 +757,9 @@ public enum PlayFabErrorCode PlayerCustomPropertiesDuplicatePropertyName = 19006, PlayerCustomPropertiesPropertyDoesNotExist = 19007, AddonAlreadyExists = 19008, - AddonDoesntExist = 19009 + AddonDoesntExist = 19009, + CopilotDisabled = 19100, + CopilotInvalidRequest = 19101 } public class PlayFabError diff --git a/PlayFabSDK/source/PlayFabSDK.csproj b/PlayFabSDK/source/PlayFabSDK.csproj index c332f145..233f95d6 100644 --- a/PlayFabSDK/source/PlayFabSDK.csproj +++ b/PlayFabSDK/source/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.166.231013 + 1.167.231027 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#231013 + https://docs.microsoft.com/gaming/playfab/release-notes#231027 en 1 1 diff --git a/PlayFabSDK/source/PlayFabServerModels.cs b/PlayFabSDK/source/PlayFabServerModels.cs index 9f326b21..6b431374 100644 --- a/PlayFabSDK/source/PlayFabServerModels.cs +++ b/PlayFabSDK/source/PlayFabServerModels.cs @@ -2265,6 +2265,7 @@ public enum GenericErrorCodes EventSinkTenantNotFound, EventSinkAadNotFound, EventSinkDatabaseNotFound, + EventSinkTitleUnauthorized, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2284,7 +2285,9 @@ public enum GenericErrorCodes PlayerCustomPropertiesDuplicatePropertyName, PlayerCustomPropertiesPropertyDoesNotExist, AddonAlreadyExists, - AddonDoesntExist + AddonDoesntExist, + CopilotDisabled, + CopilotInvalidRequest } public class GenericPlayFabIdPair diff --git a/PlayFabSDK/source/PlayFabSettings.cs b/PlayFabSDK/source/PlayFabSettings.cs index 5a9eea76..0ff867af 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.166.231013"; + public const string SdkVersion = "1.167.231027"; public const string BuildIdentifier = "adobuild_csharpsdk_114"; - public const string SdkVersionString = "CSharpSDK-1.166.231013"; + public const string SdkVersionString = "CSharpSDK-1.167.231027"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com"; diff --git a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj index 41d7ef03..7752fa9b 100644 --- a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj +++ b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj @@ -8,7 +8,7 @@ 512 PlayFabCloudScriptPlugin - 1.166.231013-alpha + 1.167.231027-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#231013 + https://docs.microsoft.com/gaming/playfab/release-notes#231027 en 1 1 @@ -45,7 +45,7 @@ - + diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs index efa771aa..f1f013df 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs @@ -406,7 +406,7 @@ public class BanPlayerContent /// /// Duration(in hours) to ban a player. If not provided, the player will be banned permanently. /// - public int BanDurationHours ; + public int? BanDurationHours ; /// /// Reason to ban a player @@ -2834,6 +2834,7 @@ public enum GenericErrorCodes EventSinkTenantNotFound, EventSinkAadNotFound, EventSinkDatabaseNotFound, + EventSinkTitleUnauthorized, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2853,7 +2854,9 @@ public enum GenericErrorCodes PlayerCustomPropertiesDuplicatePropertyName, PlayerCustomPropertiesPropertyDoesNotExist, AddonAlreadyExists, - AddonDoesntExist + AddonDoesntExist, + CopilotDisabled, + CopilotInvalidRequest } public class GetActionsOnPlayersInSegmentTaskInstanceResult : PlayFabResultCommon diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationAPI.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationAPI.cs index 55a5417f..8846e1d2 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationAPI.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationAPI.cs @@ -14,9 +14,9 @@ namespace PlayFab { /// /// The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication - /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. Manage - /// API keys for authenticating any entity. The game_server API is designed to create uniquely identifiable game_server - /// entities. The game_server Entity token can be used to call Matchmaking Lobby and Pubsub for server scenarios. + /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. The + /// game_server API is designed to create uniquely identifiable game_server entities. The game_server Entity token can be + /// used to call Matchmaking Lobby and Pubsub for server scenarios. /// public static class PlayFabAuthenticationAPI { diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationInstanceAPI.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationInstanceAPI.cs index 3fd712a4..78317319 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationInstanceAPI.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAuthenticationInstanceAPI.cs @@ -14,9 +14,9 @@ namespace PlayFab { /// /// The Authentication APIs provide a convenient way to convert classic authentication responses into entity authentication - /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. Manage - /// API keys for authenticating any entity. The game_server API is designed to create uniquely identifiable game_server - /// entities. The game_server Entity token can be used to call Matchmaking Lobby and Pubsub for server scenarios. + /// models. These APIs will provide you with the entity authentication token needed for subsequent Entity API calls. The + /// game_server API is designed to create uniquely identifiable game_server entities. The game_server Entity token can be + /// used to call Matchmaking Lobby and Pubsub for server scenarios. /// public class PlayFabAuthenticationInstanceAPI { diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs index 5ac04550..efd82dce 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs @@ -2312,7 +2312,8 @@ public class RedeemMicrosoftStoreInventoryItemsRequest : PlayFabRequestCommon public EntityKey Entity ; /// - /// Xbox Token used for delegated business partner authentication. + /// Xbox Token used for delegated business partner authentication. Token provided by the Xbox Live SDK method + /// GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). /// public string XboxToken ; diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs index c7b8d91e..64ebf854 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs @@ -737,6 +737,7 @@ public enum PlayFabErrorCode EventSinkTenantNotFound = 15009, EventSinkAadNotFound = 15010, EventSinkDatabaseNotFound = 15011, + EventSinkTitleUnauthorized = 15012, OperationCanceled = 16000, InvalidDisplayNameRandomSuffixLength = 17000, AllowNonUniquePlayerDisplayNamesDisableNotAllowed = 17001, @@ -756,7 +757,9 @@ public enum PlayFabErrorCode PlayerCustomPropertiesDuplicatePropertyName = 19006, PlayerCustomPropertiesPropertyDoesNotExist = 19007, AddonAlreadyExists = 19008, - AddonDoesntExist = 19009 + AddonDoesntExist = 19009, + CopilotDisabled = 19100, + CopilotInvalidRequest = 19101 } public class PlayFabError diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj index c332f145..233f95d6 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.166.231013 + 1.167.231027 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#231013 + https://docs.microsoft.com/gaming/playfab/release-notes#231027 en 1 1 diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs index 9f326b21..6b431374 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs @@ -2265,6 +2265,7 @@ public enum GenericErrorCodes EventSinkTenantNotFound, EventSinkAadNotFound, EventSinkDatabaseNotFound, + EventSinkTitleUnauthorized, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2284,7 +2285,9 @@ public enum GenericErrorCodes PlayerCustomPropertiesDuplicatePropertyName, PlayerCustomPropertiesPropertyDoesNotExist, AddonAlreadyExists, - AddonDoesntExist + AddonDoesntExist, + CopilotDisabled, + CopilotInvalidRequest } public class GenericPlayFabIdPair diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs index 5a9eea76..0ff867af 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.166.231013"; + public const string SdkVersion = "1.167.231027"; public const string BuildIdentifier = "adobuild_csharpsdk_114"; - public const string SdkVersionString = "CSharpSDK-1.166.231013"; + public const string SdkVersionString = "CSharpSDK-1.167.231027"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com";