diff --git a/AndroidStudioExample/app/packageMe.ps1 b/AndroidStudioExample/app/packageMe.ps1 index e5d8b560..264283c0 100644 --- a/AndroidStudioExample/app/packageMe.ps1 +++ b/AndroidStudioExample/app/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item client-sdk-0.212.240301.jar -Destination ../../builds/client-sdk-0.212.240301.jar \ No newline at end of file +Copy-Item client-sdk-0.213.240315.jar -Destination ../../builds/client-sdk-0.213.240315.jar \ No newline at end of file diff --git a/AndroidStudioExample/app/packageMe.sh b/AndroidStudioExample/app/packageMe.sh index 40fc91f3..7fb3a01a 100644 --- a/AndroidStudioExample/app/packageMe.sh +++ b/AndroidStudioExample/app/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp client-sdk-0.212.240301.jar ../../builds/client-sdk-0.212.240301.jar +cp client-sdk-0.213.240315.jar ../../builds/client-sdk-0.213.240315.jar diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java index 3734080d..25165ebe 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -2652,9 +2652,7 @@ private static PlayFabResult privateTakedownItemRev /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return Async Task will return TransferInventoryItemsResponse @@ -2671,9 +2669,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return TransferInventoryItemsResponse @@ -2698,9 +2694,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 */ @SuppressWarnings("unchecked") diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java index acf65d38..32c41d07 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1138,6 +1138,11 @@ public static class GetTransactionHistoryRequest { * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ public String Filter; + /** + * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'. + * Default orderby is 'timestamp asc' + */ + public String OrderBy; } @@ -1265,6 +1270,15 @@ public static class PayoutDetails { } + public static class Permissions { + /** + * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player + * must be in at least one of the segments listed for the purchase to be allowed. + */ + public ArrayList SegmentIds; + + } + /** * The call kicks off a workflow to publish the item to the public catalog. The Publish Status API should be used to * monitor the publish job. @@ -1753,6 +1767,8 @@ public static class SetItemModerationStateResponse { public static class StoreDetails { /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ public FilterOptions FilterOptions; + /** The permissions that control which players can purchase from the store. */ + public Permissions Permissions; /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ public CatalogPriceOptionsOverride PriceOptionsOverride; diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java index f3821b56..1b78c50e 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabErrors.java @@ -570,6 +570,8 @@ public static enum PlayFabErrorCode { LeaderboardNameConflict(1569), LinkedStatisticColumnMismatch(1570), NoLinkedStatisticToLeaderboard(1571), + StatDefinitionAlreadyLinkedToLeaderboard(1572), + LinkingStatsNotAllowedForEntityType(1573), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), diff --git a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java index 671ba541..72259188 100644 --- a/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java +++ b/AndroidStudioExample/app/src/main/java/com/playfab/PlayFabSettings.java @@ -9,9 +9,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.212.240301"; - public static String BuildIdentifier = "adobuild_javasdk_8"; - public static String SdkVersionString = "JavaSDK-0.212.240301"; + public static String SdkVersion = "0.213.240315"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.213.240315"; public static Map RequestGetParams; static { diff --git a/PlayFabClientSDK/packageMe.ps1 b/PlayFabClientSDK/packageMe.ps1 index e5d8b560..264283c0 100644 --- a/PlayFabClientSDK/packageMe.ps1 +++ b/PlayFabClientSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item client-sdk-0.212.240301.jar -Destination ../../builds/client-sdk-0.212.240301.jar \ No newline at end of file +Copy-Item client-sdk-0.213.240315.jar -Destination ../../builds/client-sdk-0.213.240315.jar \ No newline at end of file diff --git a/PlayFabClientSDK/packageMe.sh b/PlayFabClientSDK/packageMe.sh index 40fc91f3..7fb3a01a 100644 --- a/PlayFabClientSDK/packageMe.sh +++ b/PlayFabClientSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp client-sdk-0.212.240301.jar ../../builds/client-sdk-0.212.240301.jar +cp client-sdk-0.213.240315.jar ../../builds/client-sdk-0.213.240315.jar diff --git a/PlayFabClientSDK/pom.xml b/PlayFabClientSDK/pom.xml index 87c6f43f..1636ceeb 100644 --- a/PlayFabClientSDK/pom.xml +++ b/PlayFabClientSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab client-sdk - 0.212.240301 + 0.213.240315 PlayFab Client API PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java index 3734080d..25165ebe 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -2652,9 +2652,7 @@ private static PlayFabResult privateTakedownItemRev /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return Async Task will return TransferInventoryItemsResponse @@ -2671,9 +2669,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return TransferInventoryItemsResponse @@ -2698,9 +2694,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 */ @SuppressWarnings("unchecked") diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index acf65d38..32c41d07 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1138,6 +1138,11 @@ public static class GetTransactionHistoryRequest { * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ public String Filter; + /** + * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'. + * Default orderby is 'timestamp asc' + */ + public String OrderBy; } @@ -1265,6 +1270,15 @@ public static class PayoutDetails { } + public static class Permissions { + /** + * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player + * must be in at least one of the segments listed for the purchase to be allowed. + */ + public ArrayList SegmentIds; + + } + /** * The call kicks off a workflow to publish the item to the public catalog. The Publish Status API should be used to * monitor the publish job. @@ -1753,6 +1767,8 @@ public static class SetItemModerationStateResponse { public static class StoreDetails { /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ public FilterOptions FilterOptions; + /** The permissions that control which players can purchase from the store. */ + public Permissions Permissions; /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ public CatalogPriceOptionsOverride PriceOptionsOverride; diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java index f3821b56..1b78c50e 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -570,6 +570,8 @@ public static enum PlayFabErrorCode { LeaderboardNameConflict(1569), LinkedStatisticColumnMismatch(1570), NoLinkedStatisticToLeaderboard(1571), + StatDefinitionAlreadyLinkedToLeaderboard(1572), + LinkingStatsNotAllowedForEntityType(1573), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), diff --git a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java index 12f6c4d2..c04dc437 100644 --- a/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabClientSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.212.240301"; - public static String BuildIdentifier = "adobuild_javasdk_8"; - public static String SdkVersionString = "JavaSDK-0.212.240301"; + public static String SdkVersion = "0.213.240315"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.213.240315"; public static Map RequestGetParams; static { diff --git a/PlayFabSDK/packageMe.ps1 b/PlayFabSDK/packageMe.ps1 index afd13885..822be416 100644 --- a/PlayFabSDK/packageMe.ps1 +++ b/PlayFabSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item combo-sdk-0.212.240301.jar -Destination ../../builds/combo-sdk-0.212.240301.jar \ No newline at end of file +Copy-Item combo-sdk-0.213.240315.jar -Destination ../../builds/combo-sdk-0.213.240315.jar \ No newline at end of file diff --git a/PlayFabSDK/packageMe.sh b/PlayFabSDK/packageMe.sh index fb0b8f2b..2d20f383 100644 --- a/PlayFabSDK/packageMe.sh +++ b/PlayFabSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp combo-sdk-0.212.240301.jar ../../builds/combo-sdk-0.212.240301.jar +cp combo-sdk-0.213.240315.jar ../../builds/combo-sdk-0.213.240315.jar diff --git a/PlayFabSDK/pom.xml b/PlayFabSDK/pom.xml index 7ee78a5a..acc020c5 100644 --- a/PlayFabSDK/pom.xml +++ b/PlayFabSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab combo-sdk - 0.212.240301 + 0.213.240315 PlayFab Combo API PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java index 4dfa8eae..85ed4c4c 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -244,6 +244,8 @@ public static class BanInfo { public Date Created; /** The time when this ban expires. Permanent bans do not have expiration date. */ public Date Expires; + /** Whether or not the Microsoft family members are included in the ban. */ + public Boolean IncludeMicrosoftFamily; /** The IP address on which the ban was applied. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -273,6 +275,8 @@ public static class BanPlayerSegmentAction { public static class BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ public Long DurationInHours; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + public Boolean IncludeMicrosoftFamily; /** IP address to be banned. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2059,6 +2063,8 @@ public static enum GenericErrorCodes { LeaderboardNameConflict, LinkedStatisticColumnMismatch, NoLinkedStatisticToLeaderboard, + StatDefinitionAlreadyLinkedToLeaderboard, + LinkingStatsNotAllowedForEntityType, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -4953,6 +4959,8 @@ public static class UpdateBanRequest { public String BanId; /** The updated expiration date for the ban. Null for no change. */ public Date Expires; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + public Boolean IncludeMicrosoftFamily; /** The updated IP address for the ban. Null for no change. */ public String IPAddress; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java index 3734080d..25165ebe 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -2652,9 +2652,7 @@ private static PlayFabResult privateTakedownItemRev /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return Async Task will return TransferInventoryItemsResponse @@ -2671,9 +2669,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return TransferInventoryItemsResponse @@ -2698,9 +2694,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 */ @SuppressWarnings("unchecked") diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index acf65d38..32c41d07 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1138,6 +1138,11 @@ public static class GetTransactionHistoryRequest { * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ public String Filter; + /** + * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'. + * Default orderby is 'timestamp asc' + */ + public String OrderBy; } @@ -1265,6 +1270,15 @@ public static class PayoutDetails { } + public static class Permissions { + /** + * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player + * must be in at least one of the segments listed for the purchase to be allowed. + */ + public ArrayList SegmentIds; + + } + /** * The call kicks off a workflow to publish the item to the public catalog. The Publish Status API should be used to * monitor the publish job. @@ -1753,6 +1767,8 @@ public static class SetItemModerationStateResponse { public static class StoreDetails { /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ public FilterOptions FilterOptions; + /** The permissions that control which players can purchase from the store. */ + public Permissions Permissions; /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ public CatalogPriceOptionsOverride PriceOptionsOverride; diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java index f3821b56..1b78c50e 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -570,6 +570,8 @@ public static enum PlayFabErrorCode { LeaderboardNameConflict(1569), LinkedStatisticColumnMismatch(1570), NoLinkedStatisticToLeaderboard(1571), + StatDefinitionAlreadyLinkedToLeaderboard(1572), + LinkingStatsNotAllowedForEntityType(1573), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java index 3784f60b..311fe94e 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -174,6 +174,8 @@ public static class BanInfo { public Date Created; /** The time when this ban expires. Permanent bans do not have expiration date. */ public Date Expires; + /** Whether or not the Microsoft family members are included in the ban. */ + public Boolean IncludeMicrosoftFamily; /** The IP address on which the ban was applied. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -187,6 +189,8 @@ public static class BanInfo { public static class BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ public Long DurationInHours; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + public Boolean IncludeMicrosoftFamily; /** IP address to be banned. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -1664,6 +1668,8 @@ public static enum GenericErrorCodes { LeaderboardNameConflict, LinkedStatisticColumnMismatch, NoLinkedStatisticToLeaderboard, + StatDefinitionAlreadyLinkedToLeaderboard, + LinkingStatsNotAllowedForEntityType, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -4570,6 +4576,8 @@ public static class UpdateBanRequest { public String BanId; /** The updated expiration date for the ban. Null for no change. */ public Date Expires; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + public Boolean IncludeMicrosoftFamily; /** The updated IP address for the ban. Null for no change. */ public String IPAddress; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java index 12f6c4d2..c04dc437 100644 --- a/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.212.240301"; - public static String BuildIdentifier = "adobuild_javasdk_8"; - public static String SdkVersionString = "JavaSDK-0.212.240301"; + public static String SdkVersion = "0.213.240315"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.213.240315"; public static Map RequestGetParams; static { diff --git a/PlayFabServerSDK/packageMe.ps1 b/PlayFabServerSDK/packageMe.ps1 index 60ca397a..14fbc7f4 100644 --- a/PlayFabServerSDK/packageMe.ps1 +++ b/PlayFabServerSDK/packageMe.ps1 @@ -5,4 +5,4 @@ New-Item -ItemType Directory -Force ./builds popd cd target -Copy-Item server-sdk-0.212.240301.jar -Destination ../../builds/server-sdk-0.212.240301.jar \ No newline at end of file +Copy-Item server-sdk-0.213.240315.jar -Destination ../../builds/server-sdk-0.213.240315.jar \ No newline at end of file diff --git a/PlayFabServerSDK/packageMe.sh b/PlayFabServerSDK/packageMe.sh index df580c67..9ff37211 100644 --- a/PlayFabServerSDK/packageMe.sh +++ b/PlayFabServerSDK/packageMe.sh @@ -7,4 +7,4 @@ mkdir -p ./builds popd cd target -cp server-sdk-0.212.240301.jar ../../builds/server-sdk-0.212.240301.jar +cp server-sdk-0.213.240315.jar ../../builds/server-sdk-0.213.240315.jar diff --git a/PlayFabServerSDK/pom.xml b/PlayFabServerSDK/pom.xml index 084430e1..982179de 100644 --- a/PlayFabServerSDK/pom.xml +++ b/PlayFabServerSDK/pom.xml @@ -14,7 +14,7 @@ com.playfab server-sdk - 0.212.240301 + 0.213.240315 PlayFab Server API PlayFab is the unified backend platform for games — everything you need to build and operate your game, all in one place, so you can focus on creating and delivering a great player experience. https://docs.microsoft.com/gaming/playfab/ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java index 4dfa8eae..85ed4c4c 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabAdminModels.java @@ -244,6 +244,8 @@ public static class BanInfo { public Date Created; /** The time when this ban expires. Permanent bans do not have expiration date. */ public Date Expires; + /** Whether or not the Microsoft family members are included in the ban. */ + public Boolean IncludeMicrosoftFamily; /** The IP address on which the ban was applied. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -273,6 +275,8 @@ public static class BanPlayerSegmentAction { public static class BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ public Long DurationInHours; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + public Boolean IncludeMicrosoftFamily; /** IP address to be banned. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2059,6 +2063,8 @@ public static enum GenericErrorCodes { LeaderboardNameConflict, LinkedStatisticColumnMismatch, NoLinkedStatisticToLeaderboard, + StatDefinitionAlreadyLinkedToLeaderboard, + LinkingStatsNotAllowedForEntityType, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -4953,6 +4959,8 @@ public static class UpdateBanRequest { public String BanId; /** The updated expiration date for the ban. Null for no change. */ public Date Expires; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + public Boolean IncludeMicrosoftFamily; /** The updated IP address for the ban. Null for no change. */ public String IPAddress; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java index 3734080d..25165ebe 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java @@ -2652,9 +2652,7 @@ private static PlayFabResult privateTakedownItemRev /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return Async Task will return TransferInventoryItemsResponse @@ -2671,9 +2669,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 * @param request TransferInventoryItemsRequest * @return TransferInventoryItemsResponse @@ -2698,9 +2694,7 @@ public PlayFabResult call() throws Exception { /** * 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: + * 'InProgress'. 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 */ @SuppressWarnings("unchecked") diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java index acf65d38..32c41d07 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabEconomyModels.java @@ -1138,6 +1138,11 @@ public static class GetTransactionHistoryRequest { * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ public String Filter; + /** + * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'. + * Default orderby is 'timestamp asc' + */ + public String OrderBy; } @@ -1265,6 +1270,15 @@ public static class PayoutDetails { } + public static class Permissions { + /** + * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player + * must be in at least one of the segments listed for the purchase to be allowed. + */ + public ArrayList SegmentIds; + + } + /** * The call kicks off a workflow to publish the item to the public catalog. The Publish Status API should be used to * monitor the publish job. @@ -1753,6 +1767,8 @@ public static class SetItemModerationStateResponse { public static class StoreDetails { /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ public FilterOptions FilterOptions; + /** The permissions that control which players can purchase from the store. */ + public Permissions Permissions; /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ public CatalogPriceOptionsOverride PriceOptionsOverride; diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java index f3821b56..1b78c50e 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabErrors.java @@ -570,6 +570,8 @@ public static enum PlayFabErrorCode { LeaderboardNameConflict(1569), LinkedStatisticColumnMismatch(1570), NoLinkedStatisticToLeaderboard(1571), + StatDefinitionAlreadyLinkedToLeaderboard(1572), + LinkingStatsNotAllowedForEntityType(1573), MatchmakingEntityInvalid(2001), MatchmakingPlayerAttributesInvalid(2002), MatchmakingQueueNotFound(2016), diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java index 3784f60b..311fe94e 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabServerModels.java @@ -174,6 +174,8 @@ public static class BanInfo { public Date Created; /** The time when this ban expires. Permanent bans do not have expiration date. */ public Date Expires; + /** Whether or not the Microsoft family members are included in the ban. */ + public Boolean IncludeMicrosoftFamily; /** The IP address on which the ban was applied. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -187,6 +189,8 @@ public static class BanInfo { public static class BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ public Long DurationInHours; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + public Boolean IncludeMicrosoftFamily; /** IP address to be banned. May affect multiple players. */ public String IPAddress; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -1664,6 +1668,8 @@ public static enum GenericErrorCodes { LeaderboardNameConflict, LinkedStatisticColumnMismatch, NoLinkedStatisticToLeaderboard, + StatDefinitionAlreadyLinkedToLeaderboard, + LinkingStatsNotAllowedForEntityType, MatchmakingEntityInvalid, MatchmakingPlayerAttributesInvalid, MatchmakingQueueNotFound, @@ -4570,6 +4576,8 @@ public static class UpdateBanRequest { public String BanId; /** The updated expiration date for the ban. Null for no change. */ public Date Expires; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + public Boolean IncludeMicrosoftFamily; /** The updated IP address for the ban. Null for no change. */ public String IPAddress; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java index 5ae04118..7349d608 100644 --- a/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java +++ b/PlayFabServerSDK/src/main/java/com/playfab/PlayFabSettings.java @@ -8,9 +8,9 @@ import com.playfab.PlayFabErrors.ErrorCallback; public class PlayFabSettings { - public static String SdkVersion = "0.212.240301"; - public static String BuildIdentifier = "adobuild_javasdk_8"; - public static String SdkVersionString = "JavaSDK-0.212.240301"; + public static String SdkVersion = "0.213.240315"; + public static String BuildIdentifier = "adobuild_javasdk_114"; + public static String SdkVersionString = "JavaSDK-0.213.240315"; public static Map RequestGetParams; static { diff --git a/builds/client-sdk-0.213.240315.jar b/builds/client-sdk-0.213.240315.jar new file mode 100644 index 00000000..ad7b132d Binary files /dev/null and b/builds/client-sdk-0.213.240315.jar differ diff --git a/builds/combo-sdk-0.213.240315.jar b/builds/combo-sdk-0.213.240315.jar new file mode 100644 index 00000000..379f4e73 Binary files /dev/null and b/builds/combo-sdk-0.213.240315.jar differ diff --git a/builds/server-sdk-0.213.240315.jar b/builds/server-sdk-0.213.240315.jar new file mode 100644 index 00000000..5cc6a53b Binary files /dev/null and b/builds/server-sdk-0.213.240315.jar differ