Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240315
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Mar 18, 2024
2 parents 243e2ac + 278ea74 commit c3ed67b
Show file tree
Hide file tree
Showing 34 changed files with 139 additions and 59 deletions.
2 changes: 1 addition & 1 deletion AndroidStudioExample/app/packageMe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy-Item client-sdk-0.213.240315.jar -Destination ../../builds/client-sdk-0.213.240315.jar
2 changes: 1 addition & 1 deletion AndroidStudioExample/app/packageMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2652,9 +2652,7 @@ private static PlayFabResult<TakedownItemReviewsResponse> 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
Expand All @@ -2671,9 +2669,7 @@ public PlayFabResult<TransferInventoryItemsResponse> 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
Expand All @@ -2698,9 +2694,7 @@ public PlayFabResult<TransferInventoryItemsResponse> 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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

Expand Down Expand Up @@ -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<String> 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.
Expand Down Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ public static enum PlayFabErrorCode {
LeaderboardNameConflict(1569),
LinkedStatisticColumnMismatch(1570),
NoLinkedStatisticToLeaderboard(1571),
StatDefinitionAlreadyLinkedToLeaderboard(1572),
LinkingStatsNotAllowedForEntityType(1573),
MatchmakingEntityInvalid(2001),
MatchmakingPlayerAttributesInvalid(2002),
MatchmakingQueueNotFound(2016),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String> RequestGetParams;
static {
Expand Down
2 changes: 1 addition & 1 deletion PlayFabClientSDK/packageMe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy-Item client-sdk-0.213.240315.jar -Destination ../../builds/client-sdk-0.213.240315.jar
2 changes: 1 addition & 1 deletion PlayFabClientSDK/packageMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion PlayFabClientSDK/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- GAV & Meta -->
<groupId>com.playfab</groupId>
<artifactId>client-sdk</artifactId>
<version>0.212.240301</version>
<version>0.213.240315</version>
<name>PlayFab Client API</name>
<description>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. </description>
<url>https://docs.microsoft.com/gaming/playfab/</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2652,9 +2652,7 @@ private static PlayFabResult<TakedownItemReviewsResponse> 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
Expand All @@ -2671,9 +2669,7 @@ public PlayFabResult<TransferInventoryItemsResponse> 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
Expand All @@ -2698,9 +2694,7 @@ public PlayFabResult<TransferInventoryItemsResponse> 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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

Expand Down Expand Up @@ -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<String> 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.
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 2 additions & 0 deletions PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ public static enum PlayFabErrorCode {
LeaderboardNameConflict(1569),
LinkedStatisticColumnMismatch(1570),
NoLinkedStatisticToLeaderboard(1571),
StatDefinitionAlreadyLinkedToLeaderboard(1572),
LinkingStatsNotAllowedForEntityType(1573),
MatchmakingEntityInvalid(2001),
MatchmakingPlayerAttributesInvalid(2002),
MatchmakingQueueNotFound(2016),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String> RequestGetParams;
static {
Expand Down
2 changes: 1 addition & 1 deletion PlayFabSDK/packageMe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy-Item combo-sdk-0.213.240315.jar -Destination ../../builds/combo-sdk-0.213.240315.jar
2 changes: 1 addition & 1 deletion PlayFabSDK/packageMe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion PlayFabSDK/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- GAV & Meta -->
<groupId>com.playfab</groupId>
<artifactId>combo-sdk</artifactId>
<version>0.212.240301</version>
<version>0.213.240315</version>
<name>PlayFab Combo API</name>
<description>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. </description>
<url>https://docs.microsoft.com/gaming/playfab/</url>
Expand Down
8 changes: 8 additions & 0 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -2059,6 +2063,8 @@ public static enum GenericErrorCodes {
LeaderboardNameConflict,
LinkedStatisticColumnMismatch,
NoLinkedStatisticToLeaderboard,
StatDefinitionAlreadyLinkedToLeaderboard,
LinkingStatsNotAllowedForEntityType,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -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. */
Expand Down
12 changes: 3 additions & 9 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -2652,9 +2652,7 @@ private static PlayFabResult<TakedownItemReviewsResponse> 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
Expand All @@ -2671,9 +2669,7 @@ public PlayFabResult<TransferInventoryItemsResponse> 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
Expand All @@ -2698,9 +2694,7 @@ public PlayFabResult<TransferInventoryItemsResponse> 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")
Expand Down
16 changes: 16 additions & 0 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabEconomyModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

Expand Down Expand Up @@ -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<String> 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.
Expand Down Expand Up @@ -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;

Expand Down
Loading

0 comments on commit c3ed67b

Please sign in to comment.