diff --git a/PlayFabSDK/source/PlayFabAdminModels.cs b/PlayFabSDK/source/PlayFabAdminModels.cs
index c7978270..ea46b026 100644
--- a/PlayFabSDK/source/PlayFabAdminModels.cs
+++ b/PlayFabSDK/source/PlayFabAdminModels.cs
@@ -2554,6 +2554,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
+ EntityAPIKeysNotSupported,
+ IpAddressBanned,
+ EntityLineageBanned,
+ NamespaceMismatch,
+ InvalidServiceConfiguration,
+ InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
@@ -2700,6 +2706,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
+ TelemetryKeyNotFound,
+ TelemetryKeyInvalidName,
+ TelemetryKeyAlreadyExists,
+ TelemetryKeyInvalid,
+ TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
@@ -3198,7 +3209,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon
///
/// 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 uint? SecondsToLive ;
diff --git a/PlayFabSDK/source/PlayFabClientModels.cs b/PlayFabSDK/source/PlayFabClientModels.cs
index 49a40b60..6228a196 100644
--- a/PlayFabSDK/source/PlayFabClientModels.cs
+++ b/PlayFabSDK/source/PlayFabClientModels.cs
@@ -4781,6 +4781,11 @@ public class LoginWithGoogleAccountRequest : PlayFabRequestCommon
///
public string ServerAuthCode ;
+ ///
+ /// Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true.
+ ///
+ public bool? SetEmail ;
+
///
/// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
/// title has been selected.
diff --git a/PlayFabSDK/source/PlayFabEconomyModels.cs b/PlayFabSDK/source/PlayFabEconomyModels.cs
index c7bbff40..5766c6ec 100644
--- a/PlayFabSDK/source/PlayFabEconomyModels.cs
+++ b/PlayFabSDK/source/PlayFabEconomyModels.cs
@@ -43,6 +43,11 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon
///
public Dictionary CustomTags ;
+ ///
+ /// The duration to add to the current item expiration date.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The entity to perform this action on.
///
@@ -203,6 +208,13 @@ public class CatalogItem
///
public List 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.
@@ -333,6 +345,11 @@ public class CatalogPrice
///
public List Amounts ;
+ ///
+ /// The per-unit duration this price can be used to purchase.
+ ///
+ public double? UnitDurationInSeconds ;
+
}
public class CatalogPriceAmount
@@ -1764,6 +1781,12 @@ public class InventoryItem
///
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 DateTime? ExpirationDate ;
+
///
/// The id of the item. This should correspond to the item id in the catalog.
///
@@ -1935,6 +1958,11 @@ public class PurchaseInventoryItemsOperation
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to purchase.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The inventory item the operation applies to.
///
@@ -1984,6 +2012,11 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to purchase.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The entity to perform this action on.
///
@@ -2826,6 +2859,11 @@ public class SubtractInventoryItemsOperation
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to subtract from the current item expiration date.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The inventory item the operation applies to.
///
@@ -2859,6 +2897,11 @@ public class SubtractInventoryItemsRequest : PlayFabRequestCommon
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to subtract from the current item expiration date.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The entity to perform this action on.
///
@@ -2978,6 +3021,11 @@ public class TransactionOperation
///
public int? Amount ;
+ ///
+ /// The duration modified in this transaction.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The item id of the items in this transaction.
///
diff --git a/PlayFabSDK/source/PlayFabErrors.cs b/PlayFabSDK/source/PlayFabErrors.cs
index 7e1aa275..a8635647 100644
--- a/PlayFabSDK/source/PlayFabErrors.cs
+++ b/PlayFabSDK/source/PlayFabErrors.cs
@@ -556,6 +556,12 @@ public 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,
@@ -702,6 +708,11 @@ public enum PlayFabErrorCode
EventSamplingInvalidEventNamespace = 14001,
EventSamplingInvalidEventName = 14002,
EventSamplingRatioNotFound = 14003,
+ TelemetryKeyNotFound = 14200,
+ TelemetryKeyInvalidName = 14201,
+ TelemetryKeyAlreadyExists = 14202,
+ TelemetryKeyInvalid = 14203,
+ TelemetryKeyCountOverLimit = 14204,
EventSinkConnectionInvalid = 15000,
EventSinkConnectionUnauthorized = 15001,
EventSinkRegionInvalid = 15002,
diff --git a/PlayFabSDK/source/PlayFabSDK.csproj b/PlayFabSDK/source/PlayFabSDK.csproj
index 6696aee0..0ddbbdc4 100644
--- a/PlayFabSDK/source/PlayFabSDK.csproj
+++ b/PlayFabSDK/source/PlayFabSDK.csproj
@@ -8,7 +8,7 @@
512
PlayFabAllSDK
- 1.146.230220
+ 1.147.230306
PlayFab CSharp Sdk
Microsoft
Microsoft
@@ -21,7 +21,7 @@
PlayFab
PlayFabSDK
PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native
- https://docs.microsoft.com/gaming/playfab/release-notes#230220
+ https://docs.microsoft.com/gaming/playfab/release-notes#230306
en
1
1
diff --git a/PlayFabSDK/source/PlayFabServerModels.cs b/PlayFabSDK/source/PlayFabServerModels.cs
index 4b156bae..6ed85ff4 100644
--- a/PlayFabSDK/source/PlayFabServerModels.cs
+++ b/PlayFabSDK/source/PlayFabServerModels.cs
@@ -2106,6 +2106,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
+ EntityAPIKeysNotSupported,
+ IpAddressBanned,
+ EntityLineageBanned,
+ NamespaceMismatch,
+ InvalidServiceConfiguration,
+ InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
@@ -2252,6 +2258,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
+ TelemetryKeyNotFound,
+ TelemetryKeyInvalidName,
+ TelemetryKeyAlreadyExists,
+ TelemetryKeyInvalid,
+ TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
@@ -3114,7 +3125,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon
///
/// 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 uint? SecondsToLive ;
diff --git a/PlayFabSDK/source/PlayFabSettings.cs b/PlayFabSDK/source/PlayFabSettings.cs
index c21a4433..4183232c 100644
--- a/PlayFabSDK/source/PlayFabSettings.cs
+++ b/PlayFabSDK/source/PlayFabSettings.cs
@@ -6,9 +6,9 @@ namespace PlayFab
{
public class PlayFabSettings
{
- public const string SdkVersion = "1.146.230220";
+ public const string SdkVersion = "1.147.230306";
public const string BuildIdentifier = "adobuild_csharpsdk_114";
- public const string SdkVersionString = "CSharpSDK-1.146.230220";
+ public const string SdkVersionString = "CSharpSDK-1.147.230306";
/// This is only for customers running a private cluster. Generally you shouldn't touch this
public static string DefaultProductionEnvironmentUrl = "playfabapi.com";
diff --git a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj
index e5fec927..c3c1da81 100644
--- a/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj
+++ b/Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj
@@ -8,7 +8,7 @@
512
PlayFabCloudScriptPlugin
- 1.146.230220-alpha
+ 1.147.230306-alpha
PlayFab CSharp CloudScript Plugin
Microsoft
Microsoft
@@ -21,7 +21,7 @@
PlayFabCloudScriptPlugin
Copyright 2023
PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native
- https://docs.microsoft.com/gaming/playfab/release-notes#230220
+ https://docs.microsoft.com/gaming/playfab/release-notes#230306
en
1
1
@@ -45,7 +45,7 @@
-
+
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs
index c7978270..ea46b026 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabAdminModels.cs
@@ -2554,6 +2554,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
+ EntityAPIKeysNotSupported,
+ IpAddressBanned,
+ EntityLineageBanned,
+ NamespaceMismatch,
+ InvalidServiceConfiguration,
+ InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
@@ -2700,6 +2706,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
+ TelemetryKeyNotFound,
+ TelemetryKeyInvalidName,
+ TelemetryKeyAlreadyExists,
+ TelemetryKeyInvalid,
+ TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
@@ -3198,7 +3209,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon
///
/// 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 uint? SecondsToLive ;
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs
index 49a40b60..6228a196 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabClientModels.cs
@@ -4781,6 +4781,11 @@ public class LoginWithGoogleAccountRequest : PlayFabRequestCommon
///
public string ServerAuthCode ;
+ ///
+ /// Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true.
+ ///
+ public bool? SetEmail ;
+
///
/// Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
/// title has been selected.
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs
index c7bbff40..5766c6ec 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabEconomyModels.cs
@@ -43,6 +43,11 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon
///
public Dictionary CustomTags ;
+ ///
+ /// The duration to add to the current item expiration date.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The entity to perform this action on.
///
@@ -203,6 +208,13 @@ public class CatalogItem
///
public List 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.
@@ -333,6 +345,11 @@ public class CatalogPrice
///
public List Amounts ;
+ ///
+ /// The per-unit duration this price can be used to purchase.
+ ///
+ public double? UnitDurationInSeconds ;
+
}
public class CatalogPriceAmount
@@ -1764,6 +1781,12 @@ public class InventoryItem
///
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 DateTime? ExpirationDate ;
+
///
/// The id of the item. This should correspond to the item id in the catalog.
///
@@ -1935,6 +1958,11 @@ public class PurchaseInventoryItemsOperation
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to purchase.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The inventory item the operation applies to.
///
@@ -1984,6 +2012,11 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to purchase.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The entity to perform this action on.
///
@@ -2826,6 +2859,11 @@ public class SubtractInventoryItemsOperation
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to subtract from the current item expiration date.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The inventory item the operation applies to.
///
@@ -2859,6 +2897,11 @@ public class SubtractInventoryItemsRequest : PlayFabRequestCommon
///
public bool DeleteEmptyStacks ;
+ ///
+ /// The duration to subtract from the current item expiration date.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The entity to perform this action on.
///
@@ -2978,6 +3021,11 @@ public class TransactionOperation
///
public int? Amount ;
+ ///
+ /// The duration modified in this transaction.
+ ///
+ public double? DurationInSeconds ;
+
///
/// The item id of the items in this transaction.
///
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs
index 7e1aa275..a8635647 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabErrors.cs
@@ -556,6 +556,12 @@ public 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,
@@ -702,6 +708,11 @@ public enum PlayFabErrorCode
EventSamplingInvalidEventNamespace = 14001,
EventSamplingInvalidEventName = 14002,
EventSamplingRatioNotFound = 14003,
+ TelemetryKeyNotFound = 14200,
+ TelemetryKeyInvalidName = 14201,
+ TelemetryKeyAlreadyExists = 14202,
+ TelemetryKeyInvalid = 14203,
+ TelemetryKeyCountOverLimit = 14204,
EventSinkConnectionInvalid = 15000,
EventSinkConnectionUnauthorized = 15001,
EventSinkRegionInvalid = 15002,
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj
index 6696aee0..0ddbbdc4 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSDK.csproj
@@ -8,7 +8,7 @@
512
PlayFabAllSDK
- 1.146.230220
+ 1.147.230306
PlayFab CSharp Sdk
Microsoft
Microsoft
@@ -21,7 +21,7 @@
PlayFab
PlayFabSDK
PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native
- https://docs.microsoft.com/gaming/playfab/release-notes#230220
+ https://docs.microsoft.com/gaming/playfab/release-notes#230306
en
1
1
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs
index 4b156bae..6ed85ff4 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabServerModels.cs
@@ -2106,6 +2106,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
+ EntityAPIKeysNotSupported,
+ IpAddressBanned,
+ EntityLineageBanned,
+ NamespaceMismatch,
+ InvalidServiceConfiguration,
+ InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
@@ -2252,6 +2258,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
+ TelemetryKeyNotFound,
+ TelemetryKeyInvalidName,
+ TelemetryKeyAlreadyExists,
+ TelemetryKeyInvalid,
+ TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
@@ -3114,7 +3125,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon
///
/// 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 uint? SecondsToLive ;
diff --git a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs
index c21a4433..4183232c 100644
--- a/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs
+++ b/XamarinTestRunner/XamarinTestRunner/PlayFabSDK/PlayFabSettings.cs
@@ -6,9 +6,9 @@ namespace PlayFab
{
public class PlayFabSettings
{
- public const string SdkVersion = "1.146.230220";
+ public const string SdkVersion = "1.147.230306";
public const string BuildIdentifier = "adobuild_csharpsdk_114";
- public const string SdkVersionString = "CSharpSDK-1.146.230220";
+ public const string SdkVersionString = "CSharpSDK-1.147.230306";
/// This is only for customers running a private cluster. Generally you shouldn't touch this
public static string DefaultProductionEnvironmentUrl = "playfabapi.com";