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 fb2b8c6 + 59c2eb2 commit f777b19
Show file tree
Hide file tree
Showing 25 changed files with 247 additions and 91 deletions.
30 changes: 26 additions & 4 deletions PlayFabSDK/source/PlayFabAdminModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2798,6 +2798,8 @@ public enum GenericErrorCodes
StatisticDefinitionModificationNotAllowedWhileLinked,
LeaderboardUpdateNotAllowedWhileLinked,
CloudScriptAzureFunctionsEventHubRequestError,
LeaderboardRateLimitExceeded,
ExternalEntityNotAllowedForTier,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -3044,9 +3046,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
}

public class GetActionsOnPlayersInSegmentTaskInstanceResult : PlayFabResultCommon
Expand Down Expand Up @@ -4572,7 +4592,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

public class LogStatement
Expand Down Expand Up @@ -8111,7 +8132,8 @@ public enum UserOrigination
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

public class UserOriginationSegmentFilter
Expand Down
12 changes: 10 additions & 2 deletions PlayFabSDK/source/PlayFabAuthenticationModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,14 @@ public enum IdentifiedDeviceType
{
Unknown,
XboxOne,
Scarlett
Scarlett,
WindowsOneCore,
WindowsOneCoreMobile,
Win32,
android,
iOS,
PlayStation,
Nintendo
}

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

/// <summary>
Expand Down
6 changes: 4 additions & 2 deletions PlayFabSDK/source/PlayFabClientModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4138,7 +4138,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

public class LoginResult : PlayFabLoginResultCommon
Expand Down Expand Up @@ -7717,7 +7718,8 @@ public enum UserOrigination
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

public class UserPrivateAccountInfo
Expand Down
3 changes: 2 additions & 1 deletion PlayFabSDK/source/PlayFabCloudScriptModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

public class LogStatement
Expand Down
21 changes: 10 additions & 11 deletions PlayFabSDK/source/PlayFabEconomyAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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 async Task<PlayFabResult<AddInventoryItemsResponse>> AddInventoryItemsAsync(AddInventoryItemsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -228,11 +228,10 @@ public static async Task<PlayFabResult<DeleteItemResponse>> DeleteItemAsync(Dele
}

/// <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 async Task<PlayFabResult<ExecuteInventoryOperationsResponse>> ExecuteInventoryOperationsAsync(ExecuteInventoryOperationsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -432,8 +431,9 @@ public static async Task<PlayFabResult<GetEntityItemReviewResponse>> GetEntityIt
}

/// <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 async Task<PlayFabResult<GetInventoryCollectionIdsResponse>> GetInventoryCollectionIdsAsync(GetInventoryCollectionIdsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -741,10 +741,9 @@ public static async Task<PlayFabResult<GetMicrosoftStoreAccessTokensResponse>> G
}

/// <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 async Task<PlayFabResult<GetTransactionHistoryResponse>> GetTransactionHistoryAsync(GetTransactionHistoryRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -799,7 +798,7 @@ public static async Task<PlayFabResult<PublishDraftItemResponse>> PublishDraftIt
}

/// <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 async Task<PlayFabResult<PurchaseInventoryItemsResponse>> PurchaseInventoryItemsAsync(PurchaseInventoryItemsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
Expand Down
21 changes: 10 additions & 11 deletions PlayFabSDK/source/PlayFabEconomyInstanceAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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 async Task<PlayFabResult<AddInventoryItemsResponse>> AddInventoryItemsAsync(AddInventoryItemsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -239,11 +239,10 @@ public async Task<PlayFabResult<DeleteItemResponse>> DeleteItemAsync(DeleteItemR
}

/// <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 async Task<PlayFabResult<ExecuteInventoryOperationsResponse>> ExecuteInventoryOperationsAsync(ExecuteInventoryOperationsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -436,8 +435,9 @@ public async Task<PlayFabResult<GetEntityItemReviewResponse>> GetEntityItemRevie
}

/// <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 async Task<PlayFabResult<GetInventoryCollectionIdsResponse>> GetInventoryCollectionIdsAsync(GetInventoryCollectionIdsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -734,10 +734,9 @@ public async Task<PlayFabResult<GetMicrosoftStoreAccessTokensResponse>> GetMicro
}

/// <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 async Task<PlayFabResult<GetTransactionHistoryResponse>> GetTransactionHistoryAsync(GetTransactionHistoryRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
{
Expand Down Expand Up @@ -790,7 +789,7 @@ public async Task<PlayFabResult<PublishDraftItemResponse>> PublishDraftItemAsync
}

/// <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 async Task<PlayFabResult<PurchaseInventoryItemsResponse>> PurchaseInventoryItemsAsync(PurchaseInventoryItemsRequest request, object customData = null, Dictionary<string, string> extraHeaders = null)
Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/source/PlayFabEconomyModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ public class ExecuteInventoryOperationsRequest : PlayFabRequestCommon

/// <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
26 changes: 23 additions & 3 deletions PlayFabSDK/source/PlayFabErrors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ public enum PlayFabErrorCode
StatisticDefinitionModificationNotAllowedWhileLinked = 1577,
LeaderboardUpdateNotAllowedWhileLinked = 1578,
CloudScriptAzureFunctionsEventHubRequestError = 1579,
LeaderboardRateLimitExceeded = 1580,
ExternalEntityNotAllowedForTier = 1581,
MatchmakingEntityInvalid = 2001,
MatchmakingPlayerAttributesInvalid = 2002,
MatchmakingQueueNotFound = 2016,
Expand Down Expand Up @@ -826,9 +828,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
5 changes: 5 additions & 0 deletions PlayFabSDK/source/PlayFabMultiplayerModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5081,6 +5081,11 @@ public class ServerDetails
/// </summary>
public string Region ;

/// <summary>
/// The string server ID of the multiplayer server generated by PlayFab.
/// </summary>
public string ServerId ;

}

public class ServerResourceConstraintParams
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSDK/source/PlayFabSDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<FileAlignment>512</FileAlignment>

<PackageId>PlayFabAllSDK</PackageId>
<Version>1.182.240524</Version>
<Version>1.183.240621</Version>
<Title>PlayFab CSharp Sdk</Title>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
Expand All @@ -21,7 +21,7 @@
<Company>PlayFab</Company>
<Product>PlayFabSDK</Product>
<PackageTags>PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native</PackageTags>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#240524</PackageReleaseNotes>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#240621</PackageReleaseNotes>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1</AssemblyVersion>
<FileVersion>1</FileVersion>
Expand Down
30 changes: 26 additions & 4 deletions PlayFabSDK/source/PlayFabServerModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2118,6 +2118,8 @@ public enum GenericErrorCodes
StatisticDefinitionModificationNotAllowedWhileLinked,
LeaderboardUpdateNotAllowedWhileLinked,
CloudScriptAzureFunctionsEventHubRequestError,
LeaderboardRateLimitExceeded,
ExternalEntityNotAllowedForTier,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -2364,9 +2366,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
}

public class GenericPlayFabIdPair
Expand Down Expand Up @@ -4725,7 +4745,8 @@ public enum LoginIdentityProvider
OpenIdConnect,
Apple,
NintendoSwitchAccount,
GooglePlayGames
GooglePlayGames,
XboxMobileStore
}

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

public class UserPrivateAccountInfo
Expand Down
6 changes: 3 additions & 3 deletions PlayFabSDK/source/PlayFabSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace PlayFab
{
public class PlayFabSettings
{
public const string SdkVersion = "1.182.240524";
public const string BuildIdentifier = "adobuild_csharpsdk_8";
public const string SdkVersionString = "CSharpSDK-1.182.240524";
public const string SdkVersion = "1.183.240621";
public const string BuildIdentifier = "adobuild_csharpsdk_118";
public const string SdkVersionString = "CSharpSDK-1.183.240621";
/// <summary> This is only for customers running a private cluster. Generally you shouldn't touch this </summary>
public static string DefaultProductionEnvironmentUrl = "playfabapi.com";

Expand Down
Loading

0 comments on commit f777b19

Please sign in to comment.