Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240301
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Mar 5, 2024
2 parents 061183d + e4bea75 commit 9310ef9
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 62 deletions.
33 changes: 33 additions & 0 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5459,6 +5459,9 @@ namespace PlayFab
GenericErrorCodesInvalidAttributeStatisticsSpecified,
GenericErrorCodesLeaderboardNotFound,
GenericErrorCodesTokenSigningKeyNotFound,
GenericErrorCodesLeaderboardNameConflict,
GenericErrorCodesLinkedStatisticColumnMismatch,
GenericErrorCodesNoLinkedStatisticToLeaderboard,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -8459,6 +8462,21 @@ namespace PlayFab
output = Json::Value("TokenSigningKeyNotFound");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesLeaderboardNameConflict)
{
output = Json::Value("LeaderboardNameConflict");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesLinkedStatisticColumnMismatch)
{
output = Json::Value("LinkedStatisticColumnMismatch");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesNoLinkedStatisticToLeaderboard)
{
output = Json::Value("NoLinkedStatisticToLeaderboard");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
{
output = Json::Value("MatchmakingEntityInvalid");
Expand Down Expand Up @@ -12327,6 +12345,21 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesTokenSigningKeyNotFound;
return;
}
if (inputStr == "LeaderboardNameConflict")
{
output = GenericErrorCodes::GenericErrorCodesLeaderboardNameConflict;
return;
}
if (inputStr == "LinkedStatisticColumnMismatch")
{
output = GenericErrorCodes::GenericErrorCodesLinkedStatisticColumnMismatch;
return;
}
if (inputStr == "NoLinkedStatisticToLeaderboard")
{
output = GenericErrorCodes::GenericErrorCodesNoLinkedStatisticToLeaderboard;
return;
}
if (inputStr == "MatchmakingEntityInvalid")
{
output = GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid;
Expand Down
24 changes: 24 additions & 0 deletions code/include/playfab/PlayFabEconomyDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -7302,6 +7302,30 @@ namespace PlayFab
}
};

struct RealMoneyPriceDetails : public PlayFabBaseModel
{

RealMoneyPriceDetails() :
PlayFabBaseModel()
{}

RealMoneyPriceDetails(const RealMoneyPriceDetails&) :
PlayFabBaseModel()
{}

~RealMoneyPriceDetails() = default;

void FromJson(const Json::Value&) override
{
}

Json::Value ToJson() const override
{
Json::Value output;
return output;
}
};

struct RedeemAppleAppStoreInventoryItemsRequest : public PlayFabRequestCommon
{
std::string CollectionId;
Expand Down
3 changes: 3 additions & 0 deletions code/include/playfab/PlayFabError.h
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,9 @@ namespace PlayFab
PlayFabErrorInvalidAttributeStatisticsSpecified = 1566,
PlayFabErrorLeaderboardNotFound = 1567,
PlayFabErrorTokenSigningKeyNotFound = 1568,
PlayFabErrorLeaderboardNameConflict = 1569,
PlayFabErrorLinkedStatisticColumnMismatch = 1570,
PlayFabErrorNoLinkedStatisticToLeaderboard = 1571,
PlayFabErrorMatchmakingEntityInvalid = 2001,
PlayFabErrorMatchmakingPlayerAttributesInvalid = 2002,
PlayFabErrorMatchmakingQueueNotFound = 2016,
Expand Down
49 changes: 0 additions & 49 deletions code/include/playfab/PlayFabProfilesDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,94 +334,45 @@ namespace PlayFab
}
};

struct EntityStatisticAttributeValue : public PlayFabBaseModel
{
std::string Metadata;
std::string Name;
std::list<std::string> Scores;

EntityStatisticAttributeValue() :
PlayFabBaseModel(),
Metadata(),
Name(),
Scores()
{}

EntityStatisticAttributeValue(const EntityStatisticAttributeValue& src) :
PlayFabBaseModel(),
Metadata(src.Metadata),
Name(src.Name),
Scores(src.Scores)
{}

~EntityStatisticAttributeValue() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["Metadata"], Metadata);
FromJsonUtilS(input["Name"], Name);
FromJsonUtilS(input["Scores"], Scores);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_Metadata; ToJsonUtilS(Metadata, each_Metadata); output["Metadata"] = each_Metadata;
Json::Value each_Name; ToJsonUtilS(Name, each_Name); output["Name"] = each_Name;
Json::Value each_Scores; ToJsonUtilS(Scores, each_Scores); output["Scores"] = each_Scores;
return output;
}
};

struct EntityStatisticValue : public PlayFabBaseModel
{
std::map<std::string, EntityStatisticAttributeValue> AttributeStatistics;
std::string Metadata;
std::string Name;
std::list<std::string> Scores;
Boxed<Int32> Value;
Int32 Version;

EntityStatisticValue() :
PlayFabBaseModel(),
AttributeStatistics(),
Metadata(),
Name(),
Scores(),
Value(),
Version()
{}

EntityStatisticValue(const EntityStatisticValue& src) :
PlayFabBaseModel(),
AttributeStatistics(src.AttributeStatistics),
Metadata(src.Metadata),
Name(src.Name),
Scores(src.Scores),
Value(src.Value),
Version(src.Version)
{}

~EntityStatisticValue() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilO(input["AttributeStatistics"], AttributeStatistics);
FromJsonUtilS(input["Metadata"], Metadata);
FromJsonUtilS(input["Name"], Name);
FromJsonUtilS(input["Scores"], Scores);
FromJsonUtilP(input["Value"], Value);
FromJsonUtilP(input["Version"], Version);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_AttributeStatistics; ToJsonUtilO(AttributeStatistics, each_AttributeStatistics); output["AttributeStatistics"] = each_AttributeStatistics;
Json::Value each_Metadata; ToJsonUtilS(Metadata, each_Metadata); output["Metadata"] = each_Metadata;
Json::Value each_Name; ToJsonUtilS(Name, each_Name); output["Name"] = each_Name;
Json::Value each_Scores; ToJsonUtilS(Scores, each_Scores); output["Scores"] = each_Scores;
Json::Value each_Value; ToJsonUtilP(Value, each_Value); output["Value"] = each_Value;
Json::Value each_Version; ToJsonUtilP(Version, each_Version); output["Version"] = each_Version;
return output;
}
Expand Down
33 changes: 33 additions & 0 deletions code/include/playfab/PlayFabServerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5476,6 +5476,9 @@ namespace PlayFab
GenericErrorCodesInvalidAttributeStatisticsSpecified,
GenericErrorCodesLeaderboardNotFound,
GenericErrorCodesTokenSigningKeyNotFound,
GenericErrorCodesLeaderboardNameConflict,
GenericErrorCodesLinkedStatisticColumnMismatch,
GenericErrorCodesNoLinkedStatisticToLeaderboard,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -8476,6 +8479,21 @@ namespace PlayFab
output = Json::Value("TokenSigningKeyNotFound");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesLeaderboardNameConflict)
{
output = Json::Value("LeaderboardNameConflict");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesLinkedStatisticColumnMismatch)
{
output = Json::Value("LinkedStatisticColumnMismatch");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesNoLinkedStatisticToLeaderboard)
{
output = Json::Value("NoLinkedStatisticToLeaderboard");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
{
output = Json::Value("MatchmakingEntityInvalid");
Expand Down Expand Up @@ -12344,6 +12362,21 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesTokenSigningKeyNotFound;
return;
}
if (inputStr == "LeaderboardNameConflict")
{
output = GenericErrorCodes::GenericErrorCodesLeaderboardNameConflict;
return;
}
if (inputStr == "LinkedStatisticColumnMismatch")
{
output = GenericErrorCodes::GenericErrorCodesLinkedStatisticColumnMismatch;
return;
}
if (inputStr == "NoLinkedStatisticToLeaderboard")
{
output = GenericErrorCodes::GenericErrorCodesNoLinkedStatisticToLeaderboard;
return;
}
if (inputStr == "MatchmakingEntityInvalid")
{
output = GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid;
Expand Down
6 changes: 3 additions & 3 deletions code/source/playfab/PlayFabSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ namespace PlayFab
// Control whether all callbacks are threaded or whether the user manually controls callback timing from their main-thread
// Note ANY api call may synchronously throw an exception if the title id is not set
bool PlayFabSettings::threadedCallbacks = false;
const std::string PlayFabSettings::sdkVersion = "3.131.240202";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_117";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.131.240202";
const std::string PlayFabSettings::sdkVersion = "3.132.240301";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_8";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.132.240301";
std::string PlayFabSettings::productionEnvironmentURL = ".playfabapi.com";

ErrorCallback PlayFabSettings::globalErrorHandler = nullptr;
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatcppsdk.v141.autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configurations {
nuget {
nuspec {
id = "com.playfab.xplatcppsdk.v141";
version : 3.131.240202;
version : 3.132.240301;
title: "PlayFab Cross Platform C++ Sdk for Visual Studio 2017";
summary: "PlayFab is the unified backend platform for games and 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.";
authors: "PlayFab";
Expand All @@ -18,7 +18,7 @@ nuget {
iconUrl: "https://playfab.com/assets/img/playfab-mark.png";
requireLicenseAcceptance: false;
description: "Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services.";
releaseNotes: "https://api.playfab.com/releaseNotes/#240202";
releaseNotes: "https://api.playfab.com/releaseNotes/#240301";
copyright: "Copyright 2024";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native };
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatcppsdk.v141.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>com.playfab.xplatcppsdk.v141</id>
<version>3.131.240202</version>
<version>3.132.240301</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<projectUrl>http://github.com/PlayFab/XPlatCppSdk</projectUrl>
<license type="expression">Apache-2.0</license>
<icon>./images/icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.131.240202</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.132.240301</releaseNotes>
<description>Microsoft Azure PlayFab XPlatCppSdk</description>
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
<tags>Microsoft Azure PlayFab Baas Paas JSON REST HTTP SSL API cloud liveops game gamedev native nativepackage</tags>
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatcppsdk.v142.autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configurations {
nuget {
nuspec {
id = "com.playfab.xplatcppsdk.v142";
version : 3.131.240202;
version : 3.132.240301;
title: "PlayFab Cross Platform C++ Sdk for Visual Studio 2019+";
summary: "PlayFab is the unified backend platform for games and 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.";
authors: "PlayFab";
Expand All @@ -18,7 +18,7 @@ nuget {
iconUrl: "https://playfab.com/assets/img/playfab-mark.png";
requireLicenseAcceptance: false;
description: "Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services.";
releaseNotes: "https://api.playfab.com/releaseNotes/#240202";
releaseNotes: "https://api.playfab.com/releaseNotes/#240301";
copyright: "Copyright 2024";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native };
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatcppsdk.v142.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>com.playfab.xplatcppsdk.v142</id>
<version>3.131.240202</version>
<version>3.132.240301</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<projectUrl>http://github.com/PlayFab/XPlatCppSdk</projectUrl>
<license type="expression">Apache-2.0</license>
<icon>./images/icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.131.240202</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.132.240301</releaseNotes>
<description>Microsoft Azure PlayFab XPlatCppSdk</description>
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
<tags>Microsoft Azure PlayFab Baas Paas JSON REST HTTP SSL API cloud liveops game gamedev native nativepackage</tags>
Expand Down
4 changes: 2 additions & 2 deletions com.playfab.xplatxboxsdk.v141.autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ configurations {
nuget {
nuspec {
id = "com.playfab.xplatxboxsdk.v141";
version : 3.131.240202;
version : 3.132.240301;
title: "PlayFab Xbox Platform C++ Sdk for Visual Studio 2017";
summary: "PlayFab is the unified backend platform for games and 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.";
authors: "PlayFab";
Expand All @@ -28,7 +28,7 @@ nuget {
iconUrl: "https://playfab.com/assets/img/playfab-mark.png";
requireLicenseAcceptance: false;
description: "Authentication, in-game commerce, player data, title data, inventory, characters, statistics, leaderboards, analytics and reporting, friends, multiplayer, matchmaking, tournaments, cloud script, trading, real-time event handling, player management, live ops, and server hosting for all major platforms/devices and games of any scale. This sdk gives your game the ability log into PlayFab and access cloud data and services.";
releaseNotes: "https://api.playfab.com/releaseNotes/#240202";
releaseNotes: "https://api.playfab.com/releaseNotes/#240301";
copyright: "Copyright 2024";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native, xbox };
Expand Down

0 comments on commit 9310ef9

Please sign in to comment.