Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240621
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Jun 25, 2024
2 parents 826c71e + 23111d3 commit 7cea9d4
Show file tree
Hide file tree
Showing 26 changed files with 238 additions and 84 deletions.
Original file line number Diff line number Diff line change
@@ -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"; } }
30 changes: 26 additions & 4 deletions ExampleMacProject/Assets/PlayFabSDK/Admin/PlayFabAdminModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2633,6 +2633,8 @@ public enum GenericErrorCodes
StatisticDefinitionModificationNotAllowedWhileLinked,
LeaderboardUpdateNotAllowedWhileLinked,
CloudScriptAzureFunctionsEventHubRequestError,
LeaderboardRateLimitExceeded,
ExternalEntityNotAllowedForTier,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -4284,7 +4304,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

[Serializable]
Expand Down Expand Up @@ -7510,7 +7531,8 @@ public enum UserOrigination
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

[Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,14 @@ public enum IdentifiedDeviceType
{
Unknown,
XboxOne,
Scarlett
Scarlett,
WindowsOneCore,
WindowsOneCoreMobile,
Win32,
android,
iOS,
PlayStation,
Nintendo
}

public enum LoginIdentityProvider
Expand All @@ -186,7 +193,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3822,7 +3822,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

[Serializable]
Expand Down Expand Up @@ -7043,7 +7044,8 @@ public enum UserOrigination
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

[Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

[Serializable]
Expand Down
21 changes: 10 additions & 11 deletions ExampleMacProject/Assets/PlayFabSDK/Economy/PlayFabEconomyAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void ForgetAllCredentials()
}

/// <summary>
/// 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.
/// </summary>
public static void AddInventoryItems(AddInventoryItemsRequest request, Action<AddInventoryItemsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -128,11 +128,10 @@ public static void DeleteItem(DeleteItemRequest request, Action<DeleteItemRespon
}

/// <summary>
/// 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.
/// </summary>
public static void ExecuteInventoryOperations(ExecuteInventoryOperationsRequest request, Action<ExecuteInventoryOperationsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -234,8 +233,9 @@ public static void GetEntityItemReview(GetEntityItemReviewRequest request, Actio
}

/// <summary>
/// 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.
/// </summary>
public static void GetInventoryCollectionIds(GetInventoryCollectionIdsRequest request, Action<GetInventoryCollectionIdsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -389,10 +389,9 @@ public static void GetMicrosoftStoreAccessTokens(GetMicrosoftStoreAccessTokensRe
}

/// <summary>
/// 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.
/// </summary>
public static void GetTransactionHistory(GetTransactionHistoryRequest request, Action<GetTransactionHistoryResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand All @@ -419,7 +418,7 @@ public static void PublishDraftItem(PublishDraftItemRequest request, Action<Publ
}

/// <summary>
/// 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.
/// </summary>
public static void PurchaseInventoryItems(PurchaseInventoryItemsRequest request, Action<PurchaseInventoryItemsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void ForgetAllCredentials()
}

/// <summary>
/// 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.
/// </summary>
public void AddInventoryItems(AddInventoryItemsRequest request, Action<AddInventoryItemsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -133,11 +133,10 @@ public void DeleteItem(DeleteItemRequest request, Action<DeleteItemResponse> res
}

/// <summary>
/// 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.
/// </summary>
public void ExecuteInventoryOperations(ExecuteInventoryOperationsRequest request, Action<ExecuteInventoryOperationsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -225,8 +224,9 @@ public void GetEntityItemReview(GetEntityItemReviewRequest request, Action<GetEn
}

/// <summary>
/// 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.
/// </summary>
public void GetInventoryCollectionIds(GetInventoryCollectionIdsRequest request, Action<GetInventoryCollectionIdsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -358,10 +358,9 @@ public void GetMicrosoftStoreAccessTokens(GetMicrosoftStoreAccessTokensRequest r
}

/// <summary>
/// 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.
/// </summary>
public void GetTransactionHistory(GetTransactionHistoryRequest request, Action<GetTransactionHistoryResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand All @@ -384,7 +383,7 @@ public void PublishDraftItem(PublishDraftItemRequest request, Action<PublishDraf
}

/// <summary>
/// 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.
/// </summary>
public void PurchaseInventoryItems(PurchaseInventoryItemsRequest request, Action<PurchaseInventoryItemsResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null, Dictionary<string, string> extraHeaders = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ public class ExecuteInventoryOperationsRequest : PlayFabRequestCommon
public string IdempotencyId;
/// <summary>
/// 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.
/// </summary>
public List<InventoryOperation> Operations;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4543,6 +4543,10 @@ public class ServerDetails : PlayFabBaseModel
/// The server's region.
/// </summary>
public string Region;
/// <summary>
/// The string server ID of the multiplayer server generated by PlayFab.
/// </summary>
public string ServerId;
}

[Serializable]
Expand Down
30 changes: 26 additions & 4 deletions ExampleMacProject/Assets/PlayFabSDK/Server/PlayFabServerModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2001,6 +2001,8 @@ public enum GenericErrorCodes
StatisticDefinitionModificationNotAllowedWhileLinked,
LeaderboardUpdateNotAllowedWhileLinked,
CloudScriptAzureFunctionsEventHubRequestError,
LeaderboardRateLimitExceeded,
ExternalEntityNotAllowedForTier,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -4387,7 +4407,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

/// <summary>
Expand Down Expand Up @@ -7006,7 +7027,8 @@ public enum UserOrigination
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

[Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ public enum PlayFabErrorCode
StatisticDefinitionModificationNotAllowedWhileLinked = 1577,
LeaderboardUpdateNotAllowedWhileLinked = 1578,
CloudScriptAzureFunctionsEventHubRequestError = 1579,
LeaderboardRateLimitExceeded = 1580,
ExternalEntityNotAllowedForTier = 1581,
MatchmakingEntityInvalid = 2001,
MatchmakingPlayerAttributesInvalid = 2002,
MatchmakingQueueNotFound = 2016,
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ static PlayFabSettings()
/// </summary>
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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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"; } }
Loading

0 comments on commit 7cea9d4

Please sign in to comment.