Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230206
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Feb 7, 2023
2 parents 10b11c1 + 3af0bef commit bcfd6b6
Show file tree
Hide file tree
Showing 17 changed files with 69 additions and 35 deletions.
5 changes: 5 additions & 0 deletions PlayFabSDK/source/PlayFabAdminModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2548,6 +2548,11 @@ public enum GenericErrorCodes
PlayStreamConnectionFailed,
InvalidEventContents,
InsightsV1Deprecated,
AnalysisSubscriptionNotFound,
AnalysisSubscriptionFailed,
AnalysisSubscriptionFoundAlready,
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down
3 changes: 2 additions & 1 deletion PlayFabSDK/source/PlayFabClientModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4668,7 +4668,8 @@ public class LoginWithFacebookRequest : PlayFabRequestCommon
/// this is the first time a user has signed in with Game Center and CreateAccount is set to true, a new PlayFab account
/// will be created and linked to the Game Center identifier. In this case, no email or username will be associated with the
/// PlayFab account. Otherwise, if no PlayFab account is linked to the Game Center account, an error indicating this will be
/// returned, so that the title can guide the user through creation of a PlayFab account.
/// returned, so that the title can guide the user through creation of a PlayFab account. If an invalid iOS Game Center
/// player identifier is used, an error indicating this will be returned.
/// </summary>
public class LoginWithGameCenterRequest : PlayFabRequestCommon
{
Expand Down
16 changes: 8 additions & 8 deletions PlayFabSDK/source/PlayFabEconomyModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class AddInventoryItemsOperation
/// <summary>
/// The amount to add to the current item amount.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The inventory item the operation applies to.
Expand All @@ -31,7 +31,7 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon
/// <summary>
/// The amount to add for the current item.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The id of the entity's collection to perform this action on. (Default="default")
Expand Down Expand Up @@ -1757,7 +1757,7 @@ public class InventoryItem
/// <summary>
/// The amount of the item.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// Game specific properties for display purposes. This is an arbitrary JSON blob.
Expand Down Expand Up @@ -1927,7 +1927,7 @@ public class PurchaseInventoryItemsOperation
/// <summary>
/// The amount to purchase.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default =
Expand Down Expand Up @@ -1966,7 +1966,7 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon
/// <summary>
/// The amount to purchase.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The id of the entity's collection to perform this action on. (Default="default")
Expand Down Expand Up @@ -2818,7 +2818,7 @@ public class SubtractInventoryItemsOperation
/// <summary>
/// The amount to subtract from the current item amount.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default =
Expand All @@ -2839,9 +2839,9 @@ public class SubtractInventoryItemsOperation
public class SubtractInventoryItemsRequest : PlayFabRequestCommon
{
/// <summary>
/// The amount to add for the current item.
/// The amount to subtract for the current item.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The id of the entity's collection to perform this action on. (Default="default")
Expand Down
5 changes: 5 additions & 0 deletions PlayFabSDK/source/PlayFabErrors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ public enum PlayFabErrorCode
PlayStreamConnectionFailed = 1547,
InvalidEventContents = 1548,
InsightsV1Deprecated = 1549,
AnalysisSubscriptionNotFound = 1550,
AnalysisSubscriptionFailed = 1551,
AnalysisSubscriptionFoundAlready = 1552,
AnalysisSubscriptionManagementInvalidInput = 1553,
InvalidGameCenterId = 1554,
MatchmakingEntityInvalid = 2001,
MatchmakingPlayerAttributesInvalid = 2002,
MatchmakingQueueNotFound = 2016,
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.144.230123</Version>
<Version>1.145.230206</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#230123</PackageReleaseNotes>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230206</PackageReleaseNotes>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1</AssemblyVersion>
<FileVersion>1</FileVersion>
Expand Down
5 changes: 5 additions & 0 deletions PlayFabSDK/source/PlayFabServerModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,11 @@ public enum GenericErrorCodes
PlayStreamConnectionFailed,
InvalidEventContents,
InsightsV1Deprecated,
AnalysisSubscriptionNotFound,
AnalysisSubscriptionFailed,
AnalysisSubscriptionFoundAlready,
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down
6 changes: 3 additions & 3 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.144.230123";
public const string BuildIdentifier = "adobuild_csharpsdk_115";
public const string SdkVersionString = "CSharpSDK-1.144.230123";
public const string SdkVersion = "1.145.230206";
public const string BuildIdentifier = "adobuild_csharpsdk_117";
public const string SdkVersionString = "CSharpSDK-1.145.230206";
/// <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
5 changes: 3 additions & 2 deletions PlayFabSDK/source/Uunit/UUnitIncrementalTestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ public static TestTitleData VerifyTestTitleData()
try
{
var testTitleDataPath = Environment.GetEnvironmentVariable("PF_TEST_TITLE_DATA_JSON");
var jsonContent = File.ReadAllText(testTitleDataPath + "/testTitleData.json");
var jsonContent = File.ReadAllText(testTitleDataPath);
var serializer = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer);
TestTitleData = serializer.DeserializeObject<TestTitleData>(jsonContent);
}
catch (Exception)
catch (Exception e)
{
Console.WriteLine("Error verifying test title data: " + e.Message);
}
}
#endif
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.144.230123-alpha</Version>
<Version>1.145.230206-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#230123</PackageReleaseNotes>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230206</PackageReleaseNotes>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1</AssemblyVersion>
<FileVersion>1</FileVersion>
Expand All @@ -45,7 +45,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PlayFabAllSDK" Version="1.144.230123" />
<PackageReference Include="PlayFabAllSDK" Version="1.145.230206" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2548,6 +2548,11 @@ public enum GenericErrorCodes
PlayStreamConnectionFailed,
InvalidEventContents,
InsightsV1Deprecated,
AnalysisSubscriptionNotFound,
AnalysisSubscriptionFailed,
AnalysisSubscriptionFoundAlready,
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4668,7 +4668,8 @@ public class LoginWithFacebookRequest : PlayFabRequestCommon
/// this is the first time a user has signed in with Game Center and CreateAccount is set to true, a new PlayFab account
/// will be created and linked to the Game Center identifier. In this case, no email or username will be associated with the
/// PlayFab account. Otherwise, if no PlayFab account is linked to the Game Center account, an error indicating this will be
/// returned, so that the title can guide the user through creation of a PlayFab account.
/// returned, so that the title can guide the user through creation of a PlayFab account. If an invalid iOS Game Center
/// player identifier is used, an error indicating this will be returned.
/// </summary>
public class LoginWithGameCenterRequest : PlayFabRequestCommon
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class AddInventoryItemsOperation
/// <summary>
/// The amount to add to the current item amount.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The inventory item the operation applies to.
Expand All @@ -31,7 +31,7 @@ public class AddInventoryItemsRequest : PlayFabRequestCommon
/// <summary>
/// The amount to add for the current item.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The id of the entity's collection to perform this action on. (Default="default")
Expand Down Expand Up @@ -1757,7 +1757,7 @@ public class InventoryItem
/// <summary>
/// The amount of the item.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// Game specific properties for display purposes. This is an arbitrary JSON blob.
Expand Down Expand Up @@ -1927,7 +1927,7 @@ public class PurchaseInventoryItemsOperation
/// <summary>
/// The amount to purchase.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default =
Expand Down Expand Up @@ -1966,7 +1966,7 @@ public class PurchaseInventoryItemsRequest : PlayFabRequestCommon
/// <summary>
/// The amount to purchase.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The id of the entity's collection to perform this action on. (Default="default")
Expand Down Expand Up @@ -2818,7 +2818,7 @@ public class SubtractInventoryItemsOperation
/// <summary>
/// The amount to subtract from the current item amount.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default =
Expand All @@ -2839,9 +2839,9 @@ public class SubtractInventoryItemsOperation
public class SubtractInventoryItemsRequest : PlayFabRequestCommon
{
/// <summary>
/// The amount to add for the current item.
/// The amount to subtract for the current item.
/// </summary>
public int Amount ;
public int? Amount ;

/// <summary>
/// The id of the entity's collection to perform this action on. (Default="default")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ public enum PlayFabErrorCode
PlayStreamConnectionFailed = 1547,
InvalidEventContents = 1548,
InsightsV1Deprecated = 1549,
AnalysisSubscriptionNotFound = 1550,
AnalysisSubscriptionFailed = 1551,
AnalysisSubscriptionFoundAlready = 1552,
AnalysisSubscriptionManagementInvalidInput = 1553,
InvalidGameCenterId = 1554,
MatchmakingEntityInvalid = 2001,
MatchmakingPlayerAttributesInvalid = 2002,
MatchmakingQueueNotFound = 2016,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<FileAlignment>512</FileAlignment>

<PackageId>PlayFabAllSDK</PackageId>
<Version>1.144.230123</Version>
<Version>1.145.230206</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#230123</PackageReleaseNotes>
<PackageReleaseNotes>https://docs.microsoft.com/gaming/playfab/release-notes#230206</PackageReleaseNotes>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1</AssemblyVersion>
<FileVersion>1</FileVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,11 @@ public enum GenericErrorCodes
PlayStreamConnectionFailed,
InvalidEventContents,
InsightsV1Deprecated,
AnalysisSubscriptionNotFound,
AnalysisSubscriptionFailed,
AnalysisSubscriptionFoundAlready,
AnalysisSubscriptionManagementInvalidInput,
InvalidGameCenterId,
MatchmakingEntityInvalid,
MatchmakingPlayerAttributesInvalid,
MatchmakingQueueNotFound,
Expand Down
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.144.230123";
public const string BuildIdentifier = "adobuild_csharpsdk_115";
public const string SdkVersionString = "CSharpSDK-1.144.230123";
public const string SdkVersion = "1.145.230206";
public const string BuildIdentifier = "adobuild_csharpsdk_117";
public const string SdkVersionString = "CSharpSDK-1.145.230206";
/// <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
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ public static TestTitleData VerifyTestTitleData()
try
{
var testTitleDataPath = Environment.GetEnvironmentVariable("PF_TEST_TITLE_DATA_JSON");
var jsonContent = File.ReadAllText(testTitleDataPath + "/testTitleData.json");
var jsonContent = File.ReadAllText(testTitleDataPath);
var serializer = PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer);
TestTitleData = serializer.DeserializeObject<TestTitleData>(jsonContent);
}
catch (Exception)
catch (Exception e)
{
Console.WriteLine("Error verifying test title data: " + e.Message);
}
}
#endif
Expand Down

0 comments on commit bcfd6b6

Please sign in to comment.