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 57c8d28 + 8a64f1c commit 998bd24
Show file tree
Hide file tree
Showing 15 changed files with 187 additions and 15 deletions.
13 changes: 12 additions & 1 deletion PlayFabSDK/source/PlayFabAdminModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
EntityAPIKeysNotSupported,
IpAddressBanned,
EntityLineageBanned,
NamespaceMismatch,
InvalidServiceConfiguration,
InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -2700,6 +2706,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
TelemetryKeyNotFound,
TelemetryKeyInvalidName,
TelemetryKeyAlreadyExists,
TelemetryKeyInvalid,
TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
Expand Down Expand Up @@ -3198,7 +3209,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon

/// <summary>
/// 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).
/// </summary>
public uint? SecondsToLive ;

Expand Down
5 changes: 5 additions & 0 deletions PlayFabSDK/source/PlayFabClientModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4781,6 +4781,11 @@ public class LoginWithGoogleAccountRequest : PlayFabRequestCommon
/// </summary>
public string ServerAuthCode ;

/// <summary>
/// Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true.
/// </summary>
public bool? SetEmail ;

/// <summary>
/// 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
48 changes: 48 additions & 0 deletions PlayFabSDK/source/PlayFabEconomyModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon
/// </summary>
public Dictionary<string,string> CustomTags ;

/// <summary>
/// The duration to add to the current item expiration date.
/// </summary>
public double? DurationInSeconds ;

/// <summary>
/// The entity to perform this action on.
/// </summary>
Expand Down Expand Up @@ -203,6 +208,13 @@ public class CatalogItem
/// </summary>
public List<DeepLink> DeepLinks ;

/// <summary>
/// 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.
/// </summary>
public string DefaultStackId ;

/// <summary>
/// A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is
/// required.
Expand Down Expand Up @@ -333,6 +345,11 @@ public class CatalogPrice
/// </summary>
public List<CatalogPriceAmount> Amounts ;

/// <summary>
/// The per-unit duration this price can be used to purchase.
/// </summary>
public double? UnitDurationInSeconds ;

}

public class CatalogPriceAmount
Expand Down Expand Up @@ -1764,6 +1781,12 @@ public class InventoryItem
/// </summary>
public object DisplayProperties ;

/// <summary>
/// Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be
/// available indefinitely.
/// </summary>
public DateTime? ExpirationDate ;

/// <summary>
/// The id of the item. This should correspond to the item id in the catalog.
/// </summary>
Expand Down Expand Up @@ -1935,6 +1958,11 @@ public class PurchaseInventoryItemsOperation
/// </summary>
public bool DeleteEmptyStacks ;

/// <summary>
/// The duration to purchase.
/// </summary>
public double? DurationInSeconds ;

/// <summary>
/// The inventory item the operation applies to.
/// </summary>
Expand Down Expand Up @@ -1984,6 +2012,11 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon
/// </summary>
public bool DeleteEmptyStacks ;

/// <summary>
/// The duration to purchase.
/// </summary>
public double? DurationInSeconds ;

/// <summary>
/// The entity to perform this action on.
/// </summary>
Expand Down Expand Up @@ -2826,6 +2859,11 @@ public class SubtractInventoryItemsOperation
/// </summary>
public bool DeleteEmptyStacks ;

/// <summary>
/// The duration to subtract from the current item expiration date.
/// </summary>
public double? DurationInSeconds ;

/// <summary>
/// The inventory item the operation applies to.
/// </summary>
Expand Down Expand Up @@ -2859,6 +2897,11 @@ public class SubtractInventoryItemsRequest : PlayFabRequestCommon
/// </summary>
public bool DeleteEmptyStacks ;

/// <summary>
/// The duration to subtract from the current item expiration date.
/// </summary>
public double? DurationInSeconds ;

/// <summary>
/// The entity to perform this action on.
/// </summary>
Expand Down Expand Up @@ -2978,6 +3021,11 @@ public class TransactionOperation
/// </summary>
public int? Amount ;

/// <summary>
/// The duration modified in this transaction.
/// </summary>
public double? DurationInSeconds ;

/// <summary>
/// The item id of the items in this transaction.
/// </summary>
Expand Down
11 changes: 11 additions & 0 deletions PlayFabSDK/source/PlayFabErrors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions PlayFabSDK/source/PlayFabSDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<FileAlignment>512</FileAlignment>

<PackageId>PlayFabAllSDK</PackageId>
<Version>1.146.230220</Version>
<Version>1.147.230306</Version>
<Title>PlayFab CSharp Sdk</Title>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
Expand All @@ -21,7 +21,7 @@
<Company>PlayFab</Company>
<Product>PlayFabSDK</Product>
<PackageTags>PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native</PackageTags>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230220</PackageReleaseNotes>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230306</PackageReleaseNotes>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1</AssemblyVersion>
<FileVersion>1</FileVersion>
Expand Down
13 changes: 12 additions & 1 deletion PlayFabSDK/source/PlayFabServerModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2106,6 +2106,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
EntityAPIKeysNotSupported,
IpAddressBanned,
EntityLineageBanned,
NamespaceMismatch,
InvalidServiceConfiguration,
InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -2252,6 +2258,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
TelemetryKeyNotFound,
TelemetryKeyInvalidName,
TelemetryKeyAlreadyExists,
TelemetryKeyInvalid,
TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
Expand Down Expand Up @@ -3114,7 +3125,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon

/// <summary>
/// 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).
/// </summary>
public uint? SecondsToLive ;

Expand Down
4 changes: 2 additions & 2 deletions PlayFabSDK/source/PlayFabSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace PlayFab
{
public class PlayFabSettings
{
public const string SdkVersion = "1.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";
/// <summary> This is only for customers running a private cluster. Generally you shouldn't touch this </summary>
public static string DefaultProductionEnvironmentUrl = "playfabapi.com";

Expand Down
6 changes: 3 additions & 3 deletions Plugins/CloudScript/source/PlayFabCloudScriptPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<FileAlignment>512</FileAlignment>

<PackageId>PlayFabCloudScriptPlugin</PackageId>
<Version>1.146.230220-alpha</Version>
<Version>1.147.230306-alpha</Version>
<Title>PlayFab CSharp CloudScript Plugin</Title>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
Expand All @@ -21,7 +21,7 @@
<Product>PlayFabCloudScriptPlugin</Product>
<Copyright>Copyright 2023</Copyright>
<PackageTags>PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native</PackageTags>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230220</PackageReleaseNotes>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230306</PackageReleaseNotes>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1</AssemblyVersion>
<FileVersion>1</FileVersion>
Expand All @@ -45,7 +45,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PlayFabAllSDK" Version="1.146.230220" />
<PackageReference Include="PlayFabAllSDK" Version="1.147.230306" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,12 @@ public enum GenericErrorCodes
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
InvalidNintendoSwitchAccountId,
EntityAPIKeysNotSupported,
IpAddressBanned,
EntityLineageBanned,
NamespaceMismatch,
InvalidServiceConfiguration,
InvalidNamespaceMismatch,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down Expand Up @@ -2700,6 +2706,11 @@ public enum GenericErrorCodes
EventSamplingInvalidEventNamespace,
EventSamplingInvalidEventName,
EventSamplingRatioNotFound,
TelemetryKeyNotFound,
TelemetryKeyInvalidName,
TelemetryKeyAlreadyExists,
TelemetryKeyInvalid,
TelemetryKeyCountOverLimit,
EventSinkConnectionInvalid,
EventSinkConnectionUnauthorized,
EventSinkRegionInvalid,
Expand Down Expand Up @@ -3198,7 +3209,7 @@ public class GetPlayersInSegmentRequest : PlayFabRequestCommon

/// <summary>
/// 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).
/// </summary>
public uint? SecondsToLive ;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4781,6 +4781,11 @@ public class LoginWithGoogleAccountRequest : PlayFabRequestCommon
/// </summary>
public string ServerAuthCode ;

/// <summary>
/// Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true.
/// </summary>
public bool? SetEmail ;

/// <summary>
/// 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
Loading

0 comments on commit 998bd24

Please sign in to comment.