diff --git a/ExampleMacProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs b/ExampleMacProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs index c712f848b..be0e79394 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.174.230818"; } } +namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.175.230901"; } } diff --git a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs index 273709525..b52d2c69c 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs @@ -252,6 +252,19 @@ public static void DeleteMasterPlayerAccount(DeleteMasterPlayerAccountRequest re PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerAccount", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings); } + /// + /// Deletes PlayStream and telemetry event data associated with the master player account from PlayFab storage + /// + public static void DeleteMasterPlayerEventData(DeleteMasterPlayerEventDataRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) + { + var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer; + var callSettings = PlayFabSettings.staticSettings; + if (string.IsNullOrEmpty(callSettings.DeveloperSecretKey)) { throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "Must set DeveloperSecretKey in settings to call this method"); } + + + PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerEventData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings); + } + /// /// Deletes a player's subscription /// diff --git a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs index 67e1573ca..e6c7a153f 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs @@ -240,6 +240,17 @@ public void DeleteMasterPlayerAccount(DeleteMasterPlayerAccountRequest request, PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerAccount", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this); } + /// + /// Deletes PlayStream and telemetry event data associated with the master player account from PlayFab storage + /// + public void DeleteMasterPlayerEventData(DeleteMasterPlayerEventDataRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) + { + var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext; + var callSettings = apiSettings ?? PlayFabSettings.staticSettings; + if (string.IsNullOrEmpty(callSettings.DeveloperSecretKey)) { throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "Must set DeveloperSecretKey in settings to call this method"); } + PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerEventData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this); + } + /// /// Deletes a player's subscription /// diff --git a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs index 9dac8746a..4b90d2f76 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs @@ -1439,6 +1439,24 @@ public class DeleteMasterPlayerAccountResult : PlayFabResultCommon public List TitleIds; } + /// + /// Deletes any PlayStream or telemetry event associated with the player from PlayFab. Note, this API queues the data for + /// asynchronous deletion. It may take some time before the data is deleted. + /// + [Serializable] + public class DeleteMasterPlayerEventDataRequest : PlayFabRequestCommon + { + /// + /// Unique PlayFab assigned ID of the user on whom the operation will be performed. + /// + public string PlayFabId; + } + + [Serializable] + public class DeleteMasterPlayerEventDataResult : PlayFabResultCommon + { + } + /// /// This API lets developers delete a membership subscription. /// @@ -2423,6 +2441,7 @@ public enum GenericErrorCodes NamespaceMismatch, InvalidServiceConfiguration, InvalidNamespaceMismatch, + LeaderboardColumnLengthMismatch, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -5813,7 +5832,8 @@ public enum SegmentLoginIdentityProvider FacebookInstantGames, OpenIdConnect, Apple, - NintendoSwitchAccount + NintendoSwitchAccount, + GooglePlayGames } [Serializable] diff --git a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs index f701a6367..de0e81617 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs @@ -39,6 +39,8 @@ public partial class PlayFabEvents public event PlayFabResultEvent OnAdminDeleteContentResultEvent; public event PlayFabRequestEvent OnAdminDeleteMasterPlayerAccountRequestEvent; public event PlayFabResultEvent OnAdminDeleteMasterPlayerAccountResultEvent; + public event PlayFabRequestEvent OnAdminDeleteMasterPlayerEventDataRequestEvent; + public event PlayFabResultEvent OnAdminDeleteMasterPlayerEventDataResultEvent; public event PlayFabRequestEvent OnAdminDeleteMembershipSubscriptionRequestEvent; public event PlayFabResultEvent OnAdminDeleteMembershipSubscriptionResultEvent; public event PlayFabRequestEvent OnAdminDeleteOpenIdConnectionRequestEvent; diff --git a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs index b1683dc45..0843baa52 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs @@ -591,8 +591,11 @@ public static void TakedownItemReviews(TakedownItemReviewsRequest request, Actio } /// - /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in - /// progress and will complete soon. More information about item transfer scenarios can be found here: + /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not + /// complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = + /// 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the + /// TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + /// here: /// https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items /// public static void TransferInventoryItems(TransferInventoryItemsRequest 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 d2e8b07ba..a23edc4b0 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs @@ -530,8 +530,11 @@ public void TakedownItemReviews(TakedownItemReviewsRequest request, Action - /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in - /// progress and will complete soon. More information about item transfer scenarios can be found here: + /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not + /// complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = + /// 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the + /// TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + /// here: /// https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items /// public void TransferInventoryItems(TransferInventoryItemsRequest 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 bfa692f18..a040acff5 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs @@ -1944,6 +1944,11 @@ public class PurchaseOverride : PlayFabBaseModel { } + [Serializable] + public class PurchaseOverridesInfo : PlayFabBaseModel + { + } + [Serializable] public class PurchasePriceAmount : PlayFabBaseModel { @@ -2965,6 +2970,11 @@ public class TransferInventoryItemsResponse : PlayFabResultCommon /// public string IdempotencyId; /// + /// The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the + /// response code will be 200. Otherwise, it will be 202. + /// + public string OperationStatus; + /// /// The ids of transactions that occurred as a result of the request's receiving action. /// public List ReceivingTransactionIds; diff --git a/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs b/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs index b2047315d..04954193b 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs @@ -1999,6 +1999,7 @@ public enum GenericErrorCodes NamespaceMismatch, InvalidServiceConfiguration, InvalidNamespaceMismatch, + LeaderboardColumnLengthMismatch, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, diff --git a/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs b/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs index 0f87bb19d..d010014f9 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs @@ -561,6 +561,7 @@ public enum PlayFabErrorCode NamespaceMismatch = 1559, InvalidServiceConfiguration = 1560, InvalidNamespaceMismatch = 1561, + LeaderboardColumnLengthMismatch = 1562, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, diff --git a/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs b/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs index a8bb85d2e..89e8c0bcf 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs @@ -84,6 +84,9 @@ public void UnregisterInstance(object instance) if (OnAdminDeleteMasterPlayerAccountRequestEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerAccountRequestEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerAccountRequestEvent -= (PlayFabRequestEvent)each; } } } if (OnAdminDeleteMasterPlayerAccountResultEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerAccountResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerAccountResultEvent -= (PlayFabResultEvent)each; } } } + if (OnAdminDeleteMasterPlayerEventDataRequestEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerEventDataRequestEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerEventDataRequestEvent -= (PlayFabRequestEvent)each; } } } + if (OnAdminDeleteMasterPlayerEventDataResultEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerEventDataResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerEventDataResultEvent -= (PlayFabResultEvent)each; } } } + if (OnAdminDeleteMembershipSubscriptionRequestEvent != null) { foreach (var each in OnAdminDeleteMembershipSubscriptionRequestEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMembershipSubscriptionRequestEvent -= (PlayFabRequestEvent)each; } } } if (OnAdminDeleteMembershipSubscriptionResultEvent != null) { foreach (var each in OnAdminDeleteMembershipSubscriptionResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMembershipSubscriptionResultEvent -= (PlayFabResultEvent)each; } } } @@ -1984,6 +1987,7 @@ private void OnProcessingEvent(ApiProcessingEventArgs e) if (type == typeof(AdminModels.CreateSegmentRequest)) { if (_instance.OnAdminCreateSegmentRequestEvent != null) { _instance.OnAdminCreateSegmentRequestEvent((AdminModels.CreateSegmentRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteContentRequest)) { if (_instance.OnAdminDeleteContentRequestEvent != null) { _instance.OnAdminDeleteContentRequestEvent((AdminModels.DeleteContentRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteMasterPlayerAccountRequest)) { if (_instance.OnAdminDeleteMasterPlayerAccountRequestEvent != null) { _instance.OnAdminDeleteMasterPlayerAccountRequestEvent((AdminModels.DeleteMasterPlayerAccountRequest)e.Request); return; } } + if (type == typeof(AdminModels.DeleteMasterPlayerEventDataRequest)) { if (_instance.OnAdminDeleteMasterPlayerEventDataRequestEvent != null) { _instance.OnAdminDeleteMasterPlayerEventDataRequestEvent((AdminModels.DeleteMasterPlayerEventDataRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteMembershipSubscriptionRequest)) { if (_instance.OnAdminDeleteMembershipSubscriptionRequestEvent != null) { _instance.OnAdminDeleteMembershipSubscriptionRequestEvent((AdminModels.DeleteMembershipSubscriptionRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteOpenIdConnectionRequest)) { if (_instance.OnAdminDeleteOpenIdConnectionRequestEvent != null) { _instance.OnAdminDeleteOpenIdConnectionRequestEvent((AdminModels.DeleteOpenIdConnectionRequest)e.Request); return; } } if (type == typeof(AdminModels.DeletePlayerRequest)) { if (_instance.OnAdminDeletePlayerRequestEvent != null) { _instance.OnAdminDeletePlayerRequestEvent((AdminModels.DeletePlayerRequest)e.Request); return; } } @@ -2655,6 +2659,7 @@ private void OnProcessingEvent(ApiProcessingEventArgs e) if (type == typeof(AdminModels.CreateSegmentResponse)) { if (_instance.OnAdminCreateSegmentResultEvent != null) { _instance.OnAdminCreateSegmentResultEvent((AdminModels.CreateSegmentResponse)e.Result); return; } } if (type == typeof(AdminModels.BlankResult)) { if (_instance.OnAdminDeleteContentResultEvent != null) { _instance.OnAdminDeleteContentResultEvent((AdminModels.BlankResult)e.Result); return; } } if (type == typeof(AdminModels.DeleteMasterPlayerAccountResult)) { if (_instance.OnAdminDeleteMasterPlayerAccountResultEvent != null) { _instance.OnAdminDeleteMasterPlayerAccountResultEvent((AdminModels.DeleteMasterPlayerAccountResult)e.Result); return; } } + if (type == typeof(AdminModels.DeleteMasterPlayerEventDataResult)) { if (_instance.OnAdminDeleteMasterPlayerEventDataResultEvent != null) { _instance.OnAdminDeleteMasterPlayerEventDataResultEvent((AdminModels.DeleteMasterPlayerEventDataResult)e.Result); return; } } if (type == typeof(AdminModels.DeleteMembershipSubscriptionResult)) { if (_instance.OnAdminDeleteMembershipSubscriptionResultEvent != null) { _instance.OnAdminDeleteMembershipSubscriptionResultEvent((AdminModels.DeleteMembershipSubscriptionResult)e.Result); return; } } if (type == typeof(AdminModels.EmptyResponse)) { if (_instance.OnAdminDeleteOpenIdConnectionResultEvent != null) { _instance.OnAdminDeleteOpenIdConnectionResultEvent((AdminModels.EmptyResponse)e.Result); return; } } if (type == typeof(AdminModels.DeletePlayerResult)) { if (_instance.OnAdminDeletePlayerResultEvent != null) { _instance.OnAdminDeletePlayerResultEvent((AdminModels.DeletePlayerResult)e.Result); return; } } diff --git a/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs b/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs index b4bda87b1..6c3f18c70 100644 --- a/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs +++ b/ExampleMacProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs @@ -43,9 +43,9 @@ static PlayFabSettings() { } /// public static readonly PlayFabAuthenticationContext staticPlayer = new PlayFabAuthenticationContext(); - public const string SdkVersion = "2.174.230818"; + public const string SdkVersion = "2.175.230901"; public const string BuildIdentifier = "adobuild_unitysdk_167"; - public const string VersionString = "UnitySDK-2.174.230818"; + public const string VersionString = "UnitySDK-2.175.230901"; public const string DefaultPlayFabApiUrl = "playfabapi.com"; diff --git a/ExampleTestProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs b/ExampleTestProject/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorVersion.cs index c712f848b..be0e79394 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.174.230818"; } } +namespace PlayFab.PfEditor { public static partial class PlayFabEditorHelper { public static string EDEX_VERSION = "2.175.230901"; } } diff --git a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs index 273709525..b52d2c69c 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminAPI.cs @@ -252,6 +252,19 @@ public static void DeleteMasterPlayerAccount(DeleteMasterPlayerAccountRequest re PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerAccount", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings); } + /// + /// Deletes PlayStream and telemetry event data associated with the master player account from PlayFab storage + /// + public static void DeleteMasterPlayerEventData(DeleteMasterPlayerEventDataRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) + { + var context = (request == null ? null : request.AuthenticationContext) ?? PlayFabSettings.staticPlayer; + var callSettings = PlayFabSettings.staticSettings; + if (string.IsNullOrEmpty(callSettings.DeveloperSecretKey)) { throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "Must set DeveloperSecretKey in settings to call this method"); } + + + PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerEventData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings); + } + /// /// Deletes a player's subscription /// diff --git a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs index 67e1573ca..e6c7a153f 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminInstanceAPI.cs @@ -240,6 +240,17 @@ public void DeleteMasterPlayerAccount(DeleteMasterPlayerAccountRequest request, PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerAccount", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this); } + /// + /// Deletes PlayStream and telemetry event data associated with the master player account from PlayFab storage + /// + public void DeleteMasterPlayerEventData(DeleteMasterPlayerEventDataRequest request, Action resultCallback, Action errorCallback, object customData = null, Dictionary extraHeaders = null) + { + var context = (request == null ? null : request.AuthenticationContext) ?? authenticationContext; + var callSettings = apiSettings ?? PlayFabSettings.staticSettings; + if (string.IsNullOrEmpty(callSettings.DeveloperSecretKey)) { throw new PlayFabException(PlayFabExceptionCode.DeveloperKeyNotSet, "Must set DeveloperSecretKey in settings to call this method"); } + PlayFabHttp.MakeApiCall("/Admin/DeleteMasterPlayerEventData", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData, extraHeaders, context, callSettings, this); + } + /// /// Deletes a player's subscription /// diff --git a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs index 9dac8746a..4b90d2f76 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs @@ -1439,6 +1439,24 @@ public class DeleteMasterPlayerAccountResult : PlayFabResultCommon public List TitleIds; } + /// + /// Deletes any PlayStream or telemetry event associated with the player from PlayFab. Note, this API queues the data for + /// asynchronous deletion. It may take some time before the data is deleted. + /// + [Serializable] + public class DeleteMasterPlayerEventDataRequest : PlayFabRequestCommon + { + /// + /// Unique PlayFab assigned ID of the user on whom the operation will be performed. + /// + public string PlayFabId; + } + + [Serializable] + public class DeleteMasterPlayerEventDataResult : PlayFabResultCommon + { + } + /// /// This API lets developers delete a membership subscription. /// @@ -2423,6 +2441,7 @@ public enum GenericErrorCodes NamespaceMismatch, InvalidServiceConfiguration, InvalidNamespaceMismatch, + LeaderboardColumnLengthMismatch, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -5813,7 +5832,8 @@ public enum SegmentLoginIdentityProvider FacebookInstantGames, OpenIdConnect, Apple, - NintendoSwitchAccount + NintendoSwitchAccount, + GooglePlayGames } [Serializable] diff --git a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs index f701a6367..de0e81617 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Admin/PlayFabEvents.cs @@ -39,6 +39,8 @@ public partial class PlayFabEvents public event PlayFabResultEvent OnAdminDeleteContentResultEvent; public event PlayFabRequestEvent OnAdminDeleteMasterPlayerAccountRequestEvent; public event PlayFabResultEvent OnAdminDeleteMasterPlayerAccountResultEvent; + public event PlayFabRequestEvent OnAdminDeleteMasterPlayerEventDataRequestEvent; + public event PlayFabResultEvent OnAdminDeleteMasterPlayerEventDataResultEvent; public event PlayFabRequestEvent OnAdminDeleteMembershipSubscriptionRequestEvent; public event PlayFabResultEvent OnAdminDeleteMembershipSubscriptionResultEvent; public event PlayFabRequestEvent OnAdminDeleteOpenIdConnectionRequestEvent; diff --git a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs index b1683dc45..0843baa52 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs @@ -591,8 +591,11 @@ public static void TakedownItemReviews(TakedownItemReviewsRequest request, Actio } /// - /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in - /// progress and will complete soon. More information about item transfer scenarios can be found here: + /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not + /// complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = + /// 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the + /// TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + /// here: /// https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items /// public static void TransferInventoryItems(TransferInventoryItemsRequest 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 d2e8b07ba..a23edc4b0 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyInstanceAPI.cs @@ -530,8 +530,11 @@ public void TakedownItemReviews(TakedownItemReviewsRequest request, Action - /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in - /// progress and will complete soon. More information about item transfer scenarios can be found here: + /// Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not + /// complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = + /// 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the + /// TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + /// here: /// https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items /// public void TransferInventoryItems(TransferInventoryItemsRequest 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 bfa692f18..a040acff5 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Economy/PlayFabEconomyModels.cs @@ -1944,6 +1944,11 @@ public class PurchaseOverride : PlayFabBaseModel { } + [Serializable] + public class PurchaseOverridesInfo : PlayFabBaseModel + { + } + [Serializable] public class PurchasePriceAmount : PlayFabBaseModel { @@ -2965,6 +2970,11 @@ public class TransferInventoryItemsResponse : PlayFabResultCommon /// public string IdempotencyId; /// + /// The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the + /// response code will be 200. Otherwise, it will be 202. + /// + public string OperationStatus; + /// /// The ids of transactions that occurred as a result of the request's receiving action. /// public List ReceivingTransactionIds; diff --git a/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs b/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs index b2047315d..04954193b 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs @@ -1999,6 +1999,7 @@ public enum GenericErrorCodes NamespaceMismatch, InvalidServiceConfiguration, InvalidNamespaceMismatch, + LeaderboardColumnLengthMismatch, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, diff --git a/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs b/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs index 0f87bb19d..d010014f9 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Shared/Internal/PlayFabErrors.cs @@ -561,6 +561,7 @@ public enum PlayFabErrorCode NamespaceMismatch = 1559, InvalidServiceConfiguration = 1560, InvalidNamespaceMismatch = 1561, + LeaderboardColumnLengthMismatch = 1562, MatchmakingEntityInvalid = 2001, MatchmakingPlayerAttributesInvalid = 2002, MatchmakingQueueNotFound = 2016, diff --git a/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs b/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs index a8bb85d2e..89e8c0bcf 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabEvents.cs @@ -84,6 +84,9 @@ public void UnregisterInstance(object instance) if (OnAdminDeleteMasterPlayerAccountRequestEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerAccountRequestEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerAccountRequestEvent -= (PlayFabRequestEvent)each; } } } if (OnAdminDeleteMasterPlayerAccountResultEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerAccountResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerAccountResultEvent -= (PlayFabResultEvent)each; } } } + if (OnAdminDeleteMasterPlayerEventDataRequestEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerEventDataRequestEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerEventDataRequestEvent -= (PlayFabRequestEvent)each; } } } + if (OnAdminDeleteMasterPlayerEventDataResultEvent != null) { foreach (var each in OnAdminDeleteMasterPlayerEventDataResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMasterPlayerEventDataResultEvent -= (PlayFabResultEvent)each; } } } + if (OnAdminDeleteMembershipSubscriptionRequestEvent != null) { foreach (var each in OnAdminDeleteMembershipSubscriptionRequestEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMembershipSubscriptionRequestEvent -= (PlayFabRequestEvent)each; } } } if (OnAdminDeleteMembershipSubscriptionResultEvent != null) { foreach (var each in OnAdminDeleteMembershipSubscriptionResultEvent.GetInvocationList()) { if (ReferenceEquals(each.Target, instance)) { OnAdminDeleteMembershipSubscriptionResultEvent -= (PlayFabResultEvent)each; } } } @@ -1984,6 +1987,7 @@ private void OnProcessingEvent(ApiProcessingEventArgs e) if (type == typeof(AdminModels.CreateSegmentRequest)) { if (_instance.OnAdminCreateSegmentRequestEvent != null) { _instance.OnAdminCreateSegmentRequestEvent((AdminModels.CreateSegmentRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteContentRequest)) { if (_instance.OnAdminDeleteContentRequestEvent != null) { _instance.OnAdminDeleteContentRequestEvent((AdminModels.DeleteContentRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteMasterPlayerAccountRequest)) { if (_instance.OnAdminDeleteMasterPlayerAccountRequestEvent != null) { _instance.OnAdminDeleteMasterPlayerAccountRequestEvent((AdminModels.DeleteMasterPlayerAccountRequest)e.Request); return; } } + if (type == typeof(AdminModels.DeleteMasterPlayerEventDataRequest)) { if (_instance.OnAdminDeleteMasterPlayerEventDataRequestEvent != null) { _instance.OnAdminDeleteMasterPlayerEventDataRequestEvent((AdminModels.DeleteMasterPlayerEventDataRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteMembershipSubscriptionRequest)) { if (_instance.OnAdminDeleteMembershipSubscriptionRequestEvent != null) { _instance.OnAdminDeleteMembershipSubscriptionRequestEvent((AdminModels.DeleteMembershipSubscriptionRequest)e.Request); return; } } if (type == typeof(AdminModels.DeleteOpenIdConnectionRequest)) { if (_instance.OnAdminDeleteOpenIdConnectionRequestEvent != null) { _instance.OnAdminDeleteOpenIdConnectionRequestEvent((AdminModels.DeleteOpenIdConnectionRequest)e.Request); return; } } if (type == typeof(AdminModels.DeletePlayerRequest)) { if (_instance.OnAdminDeletePlayerRequestEvent != null) { _instance.OnAdminDeletePlayerRequestEvent((AdminModels.DeletePlayerRequest)e.Request); return; } } @@ -2655,6 +2659,7 @@ private void OnProcessingEvent(ApiProcessingEventArgs e) if (type == typeof(AdminModels.CreateSegmentResponse)) { if (_instance.OnAdminCreateSegmentResultEvent != null) { _instance.OnAdminCreateSegmentResultEvent((AdminModels.CreateSegmentResponse)e.Result); return; } } if (type == typeof(AdminModels.BlankResult)) { if (_instance.OnAdminDeleteContentResultEvent != null) { _instance.OnAdminDeleteContentResultEvent((AdminModels.BlankResult)e.Result); return; } } if (type == typeof(AdminModels.DeleteMasterPlayerAccountResult)) { if (_instance.OnAdminDeleteMasterPlayerAccountResultEvent != null) { _instance.OnAdminDeleteMasterPlayerAccountResultEvent((AdminModels.DeleteMasterPlayerAccountResult)e.Result); return; } } + if (type == typeof(AdminModels.DeleteMasterPlayerEventDataResult)) { if (_instance.OnAdminDeleteMasterPlayerEventDataResultEvent != null) { _instance.OnAdminDeleteMasterPlayerEventDataResultEvent((AdminModels.DeleteMasterPlayerEventDataResult)e.Result); return; } } if (type == typeof(AdminModels.DeleteMembershipSubscriptionResult)) { if (_instance.OnAdminDeleteMembershipSubscriptionResultEvent != null) { _instance.OnAdminDeleteMembershipSubscriptionResultEvent((AdminModels.DeleteMembershipSubscriptionResult)e.Result); return; } } if (type == typeof(AdminModels.EmptyResponse)) { if (_instance.OnAdminDeleteOpenIdConnectionResultEvent != null) { _instance.OnAdminDeleteOpenIdConnectionResultEvent((AdminModels.EmptyResponse)e.Result); return; } } if (type == typeof(AdminModels.DeletePlayerResult)) { if (_instance.OnAdminDeletePlayerResultEvent != null) { _instance.OnAdminDeletePlayerResultEvent((AdminModels.DeletePlayerResult)e.Result); return; } } diff --git a/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs b/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs index b4bda87b1..6c3f18c70 100644 --- a/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs +++ b/ExampleTestProject/Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs @@ -43,9 +43,9 @@ static PlayFabSettings() { } /// public static readonly PlayFabAuthenticationContext staticPlayer = new PlayFabAuthenticationContext(); - public const string SdkVersion = "2.174.230818"; + public const string SdkVersion = "2.175.230901"; public const string BuildIdentifier = "adobuild_unitysdk_167"; - public const string VersionString = "UnitySDK-2.174.230818"; + public const string VersionString = "UnitySDK-2.175.230901"; public const string DefaultPlayFabApiUrl = "playfabapi.com"; diff --git a/Packages/PlayFabEditorExtensions.unitypackage b/Packages/PlayFabEditorExtensions.unitypackage index e34e745b0..4c2c30ef6 100644 Binary files a/Packages/PlayFabEditorExtensions.unitypackage and b/Packages/PlayFabEditorExtensions.unitypackage differ diff --git a/Packages/UnitySDK.unitypackage b/Packages/UnitySDK.unitypackage index 19610623c..d9b32b58d 100644 Binary files a/Packages/UnitySDK.unitypackage and b/Packages/UnitySDK.unitypackage differ