Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230306
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Mar 6, 2023
2 parents 66b1db5 + aa8308e commit aaddf17
Show file tree
Hide file tree
Showing 32 changed files with 217 additions and 23 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.182.230220.jar -Destination ../../builds/client-sdk-0.182.230220.jar
Copy-Item client-sdk-0.183.230306.jar -Destination ../../builds/client-sdk-0.183.230306.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.182.230220.jar ../../builds/client-sdk-0.182.230220.jar
cp client-sdk-0.183.230306.jar ../../builds/client-sdk-0.183.230306.jar
Original file line number Diff line number Diff line change
Expand Up @@ -3120,6 +3120,8 @@ public static class LoginWithGoogleAccountRequest {
* (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
*/
public String ServerAuthCode;
/** Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true. */
public Boolean SetEmail;
/**
* Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
* title has been selected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public static class AddInventoryItemsRequest {
public String CollectionId;
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** The duration to add to the current item expiration date. */
public Double DurationInSeconds;
/** The entity to perform this action on. */
public EntityKey Entity;
/** ETags are used for concurrency checking when updating resources. */
Expand Down Expand Up @@ -99,6 +101,12 @@ public static class CatalogItem {
public EntityKey CreatorEntity;
/** The set of platform specific deep links for this item. */
public ArrayList<DeepLink> DeepLinks;
/**
* The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. This
* DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null,
* Inventory's default stack id will be used.
*/
public String DefaultStackId;
/**
* A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is
* required.
Expand Down Expand Up @@ -161,6 +169,8 @@ public static class CatalogItemReference {
public static class CatalogPrice {
/** The amounts of the catalog item price. */
public ArrayList<CatalogPriceAmount> Amounts;
/** The per-unit duration this price can be used to purchase. */
public Double UnitDurationInSeconds;

}

Expand Down Expand Up @@ -1074,6 +1084,11 @@ public static class InventoryItem {
public Integer Amount;
/** Game specific properties for display purposes. This is an arbitrary JSON blob. */
public Object DisplayProperties;
/**
* Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be
* available indefinitely.
*/
public Date ExpirationDate;
/** The id of the item. This should correspond to the item id in the catalog. */
public String Id;
/** The stack id of the item. */
Expand Down Expand Up @@ -1178,6 +1193,8 @@ public static class PurchaseInventoryItemsOperation {
* false)
*/
public Boolean DeleteEmptyStacks;
/** The duration to purchase. */
public Double DurationInSeconds;
/** The inventory item the operation applies to. */
public InventoryItemReference Item;
/** The values to apply to a stack newly created by this operation. */
Expand Down Expand Up @@ -1205,6 +1222,8 @@ public static class PurchaseInventoryItemsRequest {
* (Default=false)
*/
public Boolean DeleteEmptyStacks;
/** The duration to purchase. */
public Double DurationInSeconds;
/** The entity to perform this action on. */
public EntityKey Entity;
/** ETags are used for concurrency checking when updating resources. */
Expand Down Expand Up @@ -1637,6 +1656,8 @@ public static class SubtractInventoryItemsOperation {
* false).
*/
public Boolean DeleteEmptyStacks;
/** The duration to subtract from the current item expiration date. */
public Double DurationInSeconds;
/** The inventory item the operation applies to. */
public InventoryItemReference Item;

Expand All @@ -1655,6 +1676,8 @@ public static class SubtractInventoryItemsRequest {
* (Default=false)
*/
public Boolean DeleteEmptyStacks;
/** The duration to subtract from the current item expiration date. */
public Double DurationInSeconds;
/** The entity to perform this action on. */
public EntityKey Entity;
/** ETags are used for concurrency checking when updating resources. */
Expand Down Expand Up @@ -1717,6 +1740,8 @@ public static class Transaction {
public static class TransactionOperation {
/** The amount of items in this transaction. */
public Integer Amount;
/** The duration modified in this transaction. */
public Double DurationInSeconds;
/** The item id of the items in this transaction. */
public String ItemId;
/** The type of item that the operation occurred on. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,12 @@ public static enum PlayFabErrorCode {
AnalysisSubscriptionManagementInvalidInput(1553),
InvalidGameCenterId(1554),
InvalidNintendoSwitchAccountId(1555),
EntityAPIKeysNotSupported(1556),
IpAddressBanned(1557),
EntityLineageBanned(1558),
NamespaceMismatch(1559),
InvalidServiceConfiguration(1560),
InvalidNamespaceMismatch(1561),
MatchmakingEntityInvalid(2001),
MatchmakingPlayerAttributesInvalid(2002),
MatchmakingQueueNotFound(2016),
Expand Down Expand Up @@ -700,6 +706,11 @@ public static enum PlayFabErrorCode {
EventSamplingInvalidEventNamespace(14001),
EventSamplingInvalidEventName(14002),
EventSamplingRatioNotFound(14003),
TelemetryKeyNotFound(14200),
TelemetryKeyInvalidName(14201),
TelemetryKeyAlreadyExists(14202),
TelemetryKeyInvalid(14203),
TelemetryKeyCountOverLimit(14204),
EventSinkConnectionInvalid(15000),
EventSinkConnectionUnauthorized(15001),
EventSinkRegionInvalid(15002),
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.182.230220";
public static String SdkVersion = "0.183.230306";
public static String BuildIdentifier = "adobuild_javasdk_114";
public static String SdkVersionString = "JavaSDK-0.182.230220";
public static String SdkVersionString = "JavaSDK-0.183.230306";

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.182.230220.jar -Destination ../../builds/client-sdk-0.182.230220.jar
Copy-Item client-sdk-0.183.230306.jar -Destination ../../builds/client-sdk-0.183.230306.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.182.230220.jar ../../builds/client-sdk-0.182.230220.jar
cp client-sdk-0.183.230306.jar ../../builds/client-sdk-0.183.230306.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.182.230220</version>
<version>0.183.230306</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 @@ -3120,6 +3120,8 @@ public static class LoginWithGoogleAccountRequest {
* (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
*/
public String ServerAuthCode;
/** Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true. */
public Boolean SetEmail;
/**
* Unique identifier for the title, found in the Settings &gt; Game Properties section of the PlayFab developer site when a
* title has been selected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public static class AddInventoryItemsRequest {
public String CollectionId;
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
public Map<String,String> CustomTags;
/** The duration to add to the current item expiration date. */
public Double DurationInSeconds;
/** The entity to perform this action on. */
public EntityKey Entity;
/** ETags are used for concurrency checking when updating resources. */
Expand Down Expand Up @@ -99,6 +101,12 @@ public static class CatalogItem {
public EntityKey CreatorEntity;
/** The set of platform specific deep links for this item. */
public ArrayList<DeepLink> DeepLinks;
/**
* The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. This
* DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null,
* Inventory's default stack id will be used.
*/
public String DefaultStackId;
/**
* A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is
* required.
Expand Down Expand Up @@ -161,6 +169,8 @@ public static class CatalogItemReference {
public static class CatalogPrice {
/** The amounts of the catalog item price. */
public ArrayList<CatalogPriceAmount> Amounts;
/** The per-unit duration this price can be used to purchase. */
public Double UnitDurationInSeconds;

}

Expand Down Expand Up @@ -1074,6 +1084,11 @@ public static class InventoryItem {
public Integer Amount;
/** Game specific properties for display purposes. This is an arbitrary JSON blob. */
public Object DisplayProperties;
/**
* Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be
* available indefinitely.
*/
public Date ExpirationDate;
/** The id of the item. This should correspond to the item id in the catalog. */
public String Id;
/** The stack id of the item. */
Expand Down Expand Up @@ -1178,6 +1193,8 @@ public static class PurchaseInventoryItemsOperation {
* false)
*/
public Boolean DeleteEmptyStacks;
/** The duration to purchase. */
public Double DurationInSeconds;
/** The inventory item the operation applies to. */
public InventoryItemReference Item;
/** The values to apply to a stack newly created by this operation. */
Expand Down Expand Up @@ -1205,6 +1222,8 @@ public static class PurchaseInventoryItemsRequest {
* (Default=false)
*/
public Boolean DeleteEmptyStacks;
/** The duration to purchase. */
public Double DurationInSeconds;
/** The entity to perform this action on. */
public EntityKey Entity;
/** ETags are used for concurrency checking when updating resources. */
Expand Down Expand Up @@ -1637,6 +1656,8 @@ public static class SubtractInventoryItemsOperation {
* false).
*/
public Boolean DeleteEmptyStacks;
/** The duration to subtract from the current item expiration date. */
public Double DurationInSeconds;
/** The inventory item the operation applies to. */
public InventoryItemReference Item;

Expand All @@ -1655,6 +1676,8 @@ public static class SubtractInventoryItemsRequest {
* (Default=false)
*/
public Boolean DeleteEmptyStacks;
/** The duration to subtract from the current item expiration date. */
public Double DurationInSeconds;
/** The entity to perform this action on. */
public EntityKey Entity;
/** ETags are used for concurrency checking when updating resources. */
Expand Down Expand Up @@ -1717,6 +1740,8 @@ public static class Transaction {
public static class TransactionOperation {
/** The amount of items in this transaction. */
public Integer Amount;
/** The duration modified in this transaction. */
public Double DurationInSeconds;
/** The item id of the items in this transaction. */
public String ItemId;
/** The type of item that the operation occurred on. */
Expand Down
11 changes: 11 additions & 0 deletions PlayFabClientSDK/src/main/java/com/playfab/PlayFabErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,12 @@ public static enum PlayFabErrorCode {
AnalysisSubscriptionManagementInvalidInput(1553),
InvalidGameCenterId(1554),
InvalidNintendoSwitchAccountId(1555),
EntityAPIKeysNotSupported(1556),
IpAddressBanned(1557),
EntityLineageBanned(1558),
NamespaceMismatch(1559),
InvalidServiceConfiguration(1560),
InvalidNamespaceMismatch(1561),
MatchmakingEntityInvalid(2001),
MatchmakingPlayerAttributesInvalid(2002),
MatchmakingQueueNotFound(2016),
Expand Down Expand Up @@ -700,6 +706,11 @@ public static enum PlayFabErrorCode {
EventSamplingInvalidEventNamespace(14001),
EventSamplingInvalidEventName(14002),
EventSamplingRatioNotFound(14003),
TelemetryKeyNotFound(14200),
TelemetryKeyInvalidName(14201),
TelemetryKeyAlreadyExists(14202),
TelemetryKeyInvalid(14203),
TelemetryKeyCountOverLimit(14204),
EventSinkConnectionInvalid(15000),
EventSinkConnectionUnauthorized(15001),
EventSinkRegionInvalid(15002),
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.182.230220";
public static String SdkVersion = "0.183.230306";
public static String BuildIdentifier = "adobuild_javasdk_114";
public static String SdkVersionString = "JavaSDK-0.182.230220";
public static String SdkVersionString = "JavaSDK-0.183.230306";

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.182.230220.jar -Destination ../../builds/combo-sdk-0.182.230220.jar
Copy-Item combo-sdk-0.183.230306.jar -Destination ../../builds/combo-sdk-0.183.230306.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.182.230220.jar ../../builds/combo-sdk-0.182.230220.jar
cp combo-sdk-0.183.230306.jar ../../builds/combo-sdk-0.183.230306.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.182.230220</version>
<version>0.183.230306</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
13 changes: 12 additions & 1 deletion PlayFabSDK/src/main/java/com/playfab/PlayFabAdminModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -1936,6 +1936,12 @@ public static enum GenericErrorCodes {
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
EntityAPIKeysNotSupported,
IpAddressBanned,
EntityLineageBanned,
NamespaceMismatch,
InvalidServiceConfiguration,
InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -2082,6 +2088,11 @@ public static enum GenericErrorCodes {
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
TelemetryKeyNotFound,
TelemetryKeyInvalidName,
TelemetryKeyAlreadyExists,
TelemetryKeyInvalid,
TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
Expand Down Expand Up @@ -2409,7 +2420,7 @@ public static class GetPlayersInSegmentRequest {
public Long MaxBatchSize;
/**
* Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging
* results. Default is 300 (5 minutes). Maximum is 1,800 (30 minutes).
* results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes).
*/
public Long SecondsToLive;
/** Unique identifier for this segment. */
Expand Down
2 changes: 2 additions & 0 deletions PlayFabSDK/src/main/java/com/playfab/PlayFabClientModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -3120,6 +3120,8 @@ public static class LoginWithGoogleAccountRequest {
* (https://developers.google.com/identity/sign-in/android/offline-access) Google client API.
*/
public String ServerAuthCode;
/** Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true. */
public Boolean SetEmail;
/**
* Unique identifier for the title, found in the Settings &gt; Game Properties section of the PlayFab developer site when a
* title has been selected.
Expand Down
Loading

0 comments on commit aaddf17

Please sign in to comment.