From 55f80afd14a3b97f0029368a3c1cb898bbb33d8f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 9 Jan 2024 23:49:08 +0000 Subject: [PATCH] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240105 --- PlayFabSDK/source/PlayFabAdminModels.cs | 21 ++++++++++++++++- PlayFabSDK/source/PlayFabErrors.cs | 23 +++++++++++++++++-- PlayFabSDK/source/PlayFabSDK.csproj | 4 ++-- PlayFabSDK/source/PlayFabServerModels.cs | 21 ++++++++++++++++- PlayFabSDK/source/PlayFabSettings.cs | 6 ++--- .../source/PlayFabCloudScriptPlugin.csproj | 8 +++---- .../PlayFabSDK/PlayFabAdminModels.cs | 21 ++++++++++++++++- .../PlayFabSDK/PlayFabErrors.cs | 23 +++++++++++++++++-- .../PlayFabSDK/PlayFabSDK.csproj | 4 ++-- .../PlayFabSDK/PlayFabServerModels.cs | 21 ++++++++++++++++- .../PlayFabSDK/PlayFabSettings.cs | 6 ++--- 11 files changed, 136 insertions(+), 22 deletions(-) diff --git a/PlayFabSDK/source/PlayFabAdminModels.cs b/PlayFabSDK/source/PlayFabAdminModels.cs index 52aabd1c..c3b0c0a6 100644 --- a/PlayFabSDK/source/PlayFabAdminModels.cs +++ b/PlayFabSDK/source/PlayFabAdminModels.cs @@ -2774,6 +2774,7 @@ public enum GenericErrorCodes InvalidStatisticScore, LeaderboardColumnsNotSpecified, LeaderboardMaxSizeTooLarge, + InvalidAttributeStatisticsSpecified, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2949,6 +2950,8 @@ public enum GenericErrorCodes EventSinkAadNotFound, EventSinkDatabaseNotFound, EventSinkTitleUnauthorized, + EventSinkInsufficientRoleAssignment, + EventSinkContainerNotFound, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2971,7 +2974,23 @@ public enum GenericErrorCodes AddonDoesntExist, CopilotDisabled, CopilotInvalidRequest, - TrueSkillUnauthorized + TrueSkillUnauthorized, + TrueSkillBadRequest, + TrueSkillMatchResultAlreadySubmitted, + TrueSkillDuplicatePlayerInMatchResult, + TrueSkillInvalidRanksInMatchResult, + TrueSkillNoWinnerInMatchResult, + TrueSkillMissingRequiredConditionInMatchResult, + TrueSkillMissingRequiredEventInMatchResult, + TrueSkillUnknownEventInMatchResult, + TrueSkillUnknownConditionName, + TrueSkillUnknownConditionValue, + TrueSkillUnknownScenarioId, + TrueSkillUnknownModelId, + TrueSkillNoActiveModelInScenario, + StateShareUnauthorized, + StateShareStateNotFound, + StateShareLinkNotFound } public class GetActionsOnPlayersInSegmentTaskInstanceResult : PlayFabResultCommon diff --git a/PlayFabSDK/source/PlayFabErrors.cs b/PlayFabSDK/source/PlayFabErrors.cs index df560e01..8372bb49 100644 --- a/PlayFabSDK/source/PlayFabErrors.cs +++ b/PlayFabSDK/source/PlayFabErrors.cs @@ -566,6 +566,7 @@ public enum PlayFabErrorCode InvalidStatisticScore = 1563, LeaderboardColumnsNotSpecified = 1564, LeaderboardMaxSizeTooLarge = 1565, + InvalidAttributeStatisticsSpecified = 1566, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, @@ -741,6 +742,8 @@ public enum PlayFabErrorCode EventSinkAadNotFound = 15010, EventSinkDatabaseNotFound = 15011, EventSinkTitleUnauthorized = 15012, + EventSinkInsufficientRoleAssignment = 15013, + EventSinkContainerNotFound = 15014, OperationCanceled = 16000, InvalidDisplayNameRandomSuffixLength = 17000, AllowNonUniquePlayerDisplayNamesDisableNotAllowed = 17001, @@ -763,7 +766,23 @@ public enum PlayFabErrorCode AddonDoesntExist = 19009, CopilotDisabled = 19100, CopilotInvalidRequest = 19101, - TrueSkillUnauthorized = 20000 + TrueSkillUnauthorized = 20000, + TrueSkillBadRequest = 20001, + TrueSkillMatchResultAlreadySubmitted = 20002, + TrueSkillDuplicatePlayerInMatchResult = 20003, + TrueSkillInvalidRanksInMatchResult = 20004, + TrueSkillNoWinnerInMatchResult = 20005, + TrueSkillMissingRequiredConditionInMatchResult = 20006, + TrueSkillMissingRequiredEventInMatchResult = 20007, + TrueSkillUnknownEventInMatchResult = 20008, + TrueSkillUnknownConditionName = 20009, + TrueSkillUnknownConditionValue = 20010, + TrueSkillUnknownScenarioId = 20011, + TrueSkillUnknownModelId = 20012, + TrueSkillNoActiveModelInScenario = 20013, + StateShareUnauthorized = 21000, + StateShareStateNotFound = 21001, + StateShareLinkNotFound = 21002 } public class PlayFabError @@ -796,7 +815,7 @@ public string GenerateErrorReport() if(RequestId != null) { - Sb.Append("\n "+RequestId+"\n"); + Sb.Append("\nRequestId: "+RequestId+"\n"); } if (ErrorDetails == null) diff --git a/PlayFabSDK/source/PlayFabSDK.csproj b/PlayFabSDK/source/PlayFabSDK.csproj index d3a131f5..f70ffb4d 100644 --- a/PlayFabSDK/source/PlayFabSDK.csproj +++ b/PlayFabSDK/source/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.171.231208 + 1.172.240105 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#231208 + https://docs.microsoft.com/gaming/playfab/release-notes#240105 en 1 1 diff --git a/PlayFabSDK/source/PlayFabServerModels.cs b/PlayFabSDK/source/PlayFabServerModels.cs index 49081462..71454343 100644 --- a/PlayFabSDK/source/PlayFabServerModels.cs +++ b/PlayFabSDK/source/PlayFabServerModels.cs @@ -2094,6 +2094,7 @@ public enum GenericErrorCodes InvalidStatisticScore, LeaderboardColumnsNotSpecified, LeaderboardMaxSizeTooLarge, + InvalidAttributeStatisticsSpecified, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2269,6 +2270,8 @@ public enum GenericErrorCodes EventSinkAadNotFound, EventSinkDatabaseNotFound, EventSinkTitleUnauthorized, + EventSinkInsufficientRoleAssignment, + EventSinkContainerNotFound, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2291,7 +2294,23 @@ public enum GenericErrorCodes AddonDoesntExist, CopilotDisabled, CopilotInvalidRequest, - TrueSkillUnauthorized + TrueSkillUnauthorized, + TrueSkillBadRequest, + TrueSkillMatchResultAlreadySubmitted, + TrueSkillDuplicatePlayerInMatchResult, + TrueSkillInvalidRanksInMatchResult, + TrueSkillNoWinnerInMatchResult, + TrueSkillMissingRequiredConditionInMatchResult, + TrueSkillMissingRequiredEventInMatchResult, + TrueSkillUnknownEventInMatchResult, + TrueSkillUnknownConditionName, + TrueSkillUnknownConditionValue, + TrueSkillUnknownScenarioId, + TrueSkillUnknownModelId, + TrueSkillNoActiveModelInScenario, + StateShareUnauthorized, + StateShareStateNotFound, + StateShareLinkNotFound } public class GenericPlayFabIdPair diff --git a/PlayFabSDK/source/PlayFabSettings.cs b/PlayFabSDK/source/PlayFabSettings.cs index 3904bf88..278324c4 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.171.231208"; - public const string BuildIdentifier = "adobuild_csharpsdk_114"; - public const string SdkVersionString = "CSharpSDK-1.171.231208"; + public const string SdkVersion = "1.172.240105"; + public const string BuildIdentifier = "adobuild_csharpsdk_116"; + public const string SdkVersionString = "CSharpSDK-1.172.240105"; /// 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 de713637..9f67c547 100644 --- a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj +++ b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj @@ -8,7 +8,7 @@ 512 PlayFabCloudScriptPlugin - 1.171.231208-alpha + 1.172.240105-alpha PlayFab CSharp CloudScript Plugin Microsoft Microsoft @@ -19,9 +19,9 @@ Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services. PlayFab PlayFabCloudScriptPlugin - Copyright 2023 + Copyright 2024 PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native - https://docs.microsoft.com/gaming/playfab/release-notes#231208 + https://docs.microsoft.com/gaming/playfab/release-notes#240105 en 1 1 @@ -45,7 +45,7 @@ - + diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs index 52aabd1c..c3b0c0a6 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs @@ -2774,6 +2774,7 @@ public enum GenericErrorCodes InvalidStatisticScore, LeaderboardColumnsNotSpecified, LeaderboardMaxSizeTooLarge, + InvalidAttributeStatisticsSpecified, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2949,6 +2950,8 @@ public enum GenericErrorCodes EventSinkAadNotFound, EventSinkDatabaseNotFound, EventSinkTitleUnauthorized, + EventSinkInsufficientRoleAssignment, + EventSinkContainerNotFound, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2971,7 +2974,23 @@ public enum GenericErrorCodes AddonDoesntExist, CopilotDisabled, CopilotInvalidRequest, - TrueSkillUnauthorized + TrueSkillUnauthorized, + TrueSkillBadRequest, + TrueSkillMatchResultAlreadySubmitted, + TrueSkillDuplicatePlayerInMatchResult, + TrueSkillInvalidRanksInMatchResult, + TrueSkillNoWinnerInMatchResult, + TrueSkillMissingRequiredConditionInMatchResult, + TrueSkillMissingRequiredEventInMatchResult, + TrueSkillUnknownEventInMatchResult, + TrueSkillUnknownConditionName, + TrueSkillUnknownConditionValue, + TrueSkillUnknownScenarioId, + TrueSkillUnknownModelId, + TrueSkillNoActiveModelInScenario, + StateShareUnauthorized, + StateShareStateNotFound, + StateShareLinkNotFound } public class GetActionsOnPlayersInSegmentTaskInstanceResult : PlayFabResultCommon diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs index df560e01..8372bb49 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs @@ -566,6 +566,7 @@ public enum PlayFabErrorCode InvalidStatisticScore = 1563, LeaderboardColumnsNotSpecified = 1564, LeaderboardMaxSizeTooLarge = 1565, + InvalidAttributeStatisticsSpecified = 1566, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, @@ -741,6 +742,8 @@ public enum PlayFabErrorCode EventSinkAadNotFound = 15010, EventSinkDatabaseNotFound = 15011, EventSinkTitleUnauthorized = 15012, + EventSinkInsufficientRoleAssignment = 15013, + EventSinkContainerNotFound = 15014, OperationCanceled = 16000, InvalidDisplayNameRandomSuffixLength = 17000, AllowNonUniquePlayerDisplayNamesDisableNotAllowed = 17001, @@ -763,7 +766,23 @@ public enum PlayFabErrorCode AddonDoesntExist = 19009, CopilotDisabled = 19100, CopilotInvalidRequest = 19101, - TrueSkillUnauthorized = 20000 + TrueSkillUnauthorized = 20000, + TrueSkillBadRequest = 20001, + TrueSkillMatchResultAlreadySubmitted = 20002, + TrueSkillDuplicatePlayerInMatchResult = 20003, + TrueSkillInvalidRanksInMatchResult = 20004, + TrueSkillNoWinnerInMatchResult = 20005, + TrueSkillMissingRequiredConditionInMatchResult = 20006, + TrueSkillMissingRequiredEventInMatchResult = 20007, + TrueSkillUnknownEventInMatchResult = 20008, + TrueSkillUnknownConditionName = 20009, + TrueSkillUnknownConditionValue = 20010, + TrueSkillUnknownScenarioId = 20011, + TrueSkillUnknownModelId = 20012, + TrueSkillNoActiveModelInScenario = 20013, + StateShareUnauthorized = 21000, + StateShareStateNotFound = 21001, + StateShareLinkNotFound = 21002 } public class PlayFabError @@ -796,7 +815,7 @@ public string GenerateErrorReport() if(RequestId != null) { - Sb.Append("\n "+RequestId+"\n"); + Sb.Append("\nRequestId: "+RequestId+"\n"); } if (ErrorDetails == null) diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj index d3a131f5..f70ffb4d 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj @@ -8,7 +8,7 @@ 512 PlayFabAllSDK - 1.171.231208 + 1.172.240105 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#231208 + https://docs.microsoft.com/gaming/playfab/release-notes#240105 en 1 1 diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs index 49081462..71454343 100644 --- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs +++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs @@ -2094,6 +2094,7 @@ public enum GenericErrorCodes InvalidStatisticScore, LeaderboardColumnsNotSpecified, LeaderboardMaxSizeTooLarge, + InvalidAttributeStatisticsSpecified, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -2269,6 +2270,8 @@ public enum GenericErrorCodes EventSinkAadNotFound, EventSinkDatabaseNotFound, EventSinkTitleUnauthorized, + EventSinkInsufficientRoleAssignment, + EventSinkContainerNotFound, OperationCanceled, InvalidDisplayNameRandomSuffixLength, AllowNonUniquePlayerDisplayNamesDisableNotAllowed, @@ -2291,7 +2294,23 @@ public enum GenericErrorCodes AddonDoesntExist, CopilotDisabled, CopilotInvalidRequest, - TrueSkillUnauthorized + TrueSkillUnauthorized, + TrueSkillBadRequest, + TrueSkillMatchResultAlreadySubmitted, + TrueSkillDuplicatePlayerInMatchResult, + TrueSkillInvalidRanksInMatchResult, + TrueSkillNoWinnerInMatchResult, + TrueSkillMissingRequiredConditionInMatchResult, + TrueSkillMissingRequiredEventInMatchResult, + TrueSkillUnknownEventInMatchResult, + TrueSkillUnknownConditionName, + TrueSkillUnknownConditionValue, + TrueSkillUnknownScenarioId, + TrueSkillUnknownModelId, + TrueSkillNoActiveModelInScenario, + StateShareUnauthorized, + StateShareStateNotFound, + StateShareLinkNotFound } public class GenericPlayFabIdPair diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs index 3904bf88..278324c4 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.171.231208"; - public const string BuildIdentifier = "adobuild_csharpsdk_114"; - public const string SdkVersionString = "CSharpSDK-1.171.231208"; + public const string SdkVersion = "1.172.240105"; + public const string BuildIdentifier = "adobuild_csharpsdk_116"; + public const string SdkVersionString = "CSharpSDK-1.172.240105"; /// This is only for customers running a private cluster. Generally you shouldn't touch this public static string DefaultProductionEnvironmentUrl = "playfabapi.com";