Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#241014
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Oct 14, 2024
1 parent 0647aed commit a1cede2
Show file tree
Hide file tree
Showing 24 changed files with 109 additions and 29 deletions.
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabAddonDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
45 changes: 44 additions & 1 deletion code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down Expand Up @@ -5751,6 +5750,8 @@ namespace PlayFab
GenericErrorCodesTrueSkillInvalidPlayerId,
GenericErrorCodesTrueSkillInvalidSquadSize,
GenericErrorCodesTrueSkillConditionSetNotInModel,
GenericErrorCodesTrueSkillModelStateInvalidForOperation,
GenericErrorCodesTrueSkillScenarioContainsActiveModel,
GenericErrorCodesGameSaveManifestNotFound,
GenericErrorCodesGameSaveManifestVersionAlreadyExists,
GenericErrorCodesGameSaveConflictUpdatingManifest,
Expand All @@ -5760,6 +5761,8 @@ namespace PlayFab
GenericErrorCodesGameSaveUnknownFileInManifest,
GenericErrorCodesGameSaveFileExceededReportedSize,
GenericErrorCodesGameSaveFileNotUploaded,
GenericErrorCodesGameSaveBadRequest,
GenericErrorCodesGameSaveOperationNotAllowed,
GenericErrorCodesStateShareForbidden,
GenericErrorCodesStateShareTitleNotInFlight,
GenericErrorCodesStateShareStateNotFound,
Expand Down Expand Up @@ -10007,6 +10010,16 @@ namespace PlayFab
output = Json::Value("TrueSkillConditionSetNotInModel");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTrueSkillModelStateInvalidForOperation)
{
output = Json::Value("TrueSkillModelStateInvalidForOperation");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTrueSkillScenarioContainsActiveModel)
{
output = Json::Value("TrueSkillScenarioContainsActiveModel");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesGameSaveManifestNotFound)
{
output = Json::Value("GameSaveManifestNotFound");
Expand Down Expand Up @@ -10052,6 +10065,16 @@ namespace PlayFab
output = Json::Value("GameSaveFileNotUploaded");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesGameSaveBadRequest)
{
output = Json::Value("GameSaveBadRequest");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesGameSaveOperationNotAllowed)
{
output = Json::Value("GameSaveOperationNotAllowed");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesStateShareForbidden)
{
output = Json::Value("StateShareForbidden");
Expand Down Expand Up @@ -14335,6 +14358,16 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesTrueSkillConditionSetNotInModel;
return;
}
if (inputStr == "TrueSkillModelStateInvalidForOperation")
{
output = GenericErrorCodes::GenericErrorCodesTrueSkillModelStateInvalidForOperation;
return;
}
if (inputStr == "TrueSkillScenarioContainsActiveModel")
{
output = GenericErrorCodes::GenericErrorCodesTrueSkillScenarioContainsActiveModel;
return;
}
if (inputStr == "GameSaveManifestNotFound")
{
output = GenericErrorCodes::GenericErrorCodesGameSaveManifestNotFound;
Expand Down Expand Up @@ -14380,6 +14413,16 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesGameSaveFileNotUploaded;
return;
}
if (inputStr == "GameSaveBadRequest")
{
output = GenericErrorCodes::GenericErrorCodesGameSaveBadRequest;
return;
}
if (inputStr == "GameSaveOperationNotAllowed")
{
output = GenericErrorCodes::GenericErrorCodesGameSaveOperationNotAllowed;
return;
}
if (inputStr == "StateShareForbidden")
{
output = GenericErrorCodes::GenericErrorCodesStateShareForbidden;
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabAuthenticationDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabClientDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabCloudScriptDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabDataDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabEconomyDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
4 changes: 4 additions & 0 deletions code/include/playfab/PlayFabError.h
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ namespace PlayFab
PlayFabErrorTrueSkillInvalidPlayerId = 20063,
PlayFabErrorTrueSkillInvalidSquadSize = 20064,
PlayFabErrorTrueSkillConditionSetNotInModel = 20065,
PlayFabErrorTrueSkillModelStateInvalidForOperation = 20066,
PlayFabErrorTrueSkillScenarioContainsActiveModel = 20067,
PlayFabErrorGameSaveManifestNotFound = 20300,
PlayFabErrorGameSaveManifestVersionAlreadyExists = 20301,
PlayFabErrorGameSaveConflictUpdatingManifest = 20302,
Expand All @@ -867,6 +869,8 @@ namespace PlayFab
PlayFabErrorGameSaveUnknownFileInManifest = 20306,
PlayFabErrorGameSaveFileExceededReportedSize = 20307,
PlayFabErrorGameSaveFileNotUploaded = 20308,
PlayFabErrorGameSaveBadRequest = 20309,
PlayFabErrorGameSaveOperationNotAllowed = 20310,
PlayFabErrorStateShareForbidden = 21000,
PlayFabErrorStateShareTitleNotInFlight = 21001,
PlayFabErrorStateShareStateNotFound = 21002,
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabEventsDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabExperimentationDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabGroupsDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabInsightsDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabLocalizationDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabMatchmakerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabMultiplayerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
1 change: 0 additions & 1 deletion code/include/playfab/PlayFabProfilesDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down
6 changes: 5 additions & 1 deletion code/include/playfab/PlayFabProgressionDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down Expand Up @@ -960,19 +959,22 @@ namespace PlayFab
struct GetEntityLeaderboardResponse : public PlayFabResultCommon
{
std::list<LeaderboardColumn> Columns;
Uint32 EntryCount;
std::list<EntityLeaderboardEntry> Rankings;
Uint32 Version;

GetEntityLeaderboardResponse() :
PlayFabResultCommon(),
Columns(),
EntryCount(),
Rankings(),
Version()
{}

GetEntityLeaderboardResponse(const GetEntityLeaderboardResponse& src) :
PlayFabResultCommon(),
Columns(src.Columns),
EntryCount(src.EntryCount),
Rankings(src.Rankings),
Version(src.Version)
{}
Expand All @@ -982,6 +984,7 @@ namespace PlayFab
void FromJson(const Json::Value& input) override
{
FromJsonUtilO(input["Columns"], Columns);
FromJsonUtilP(input["EntryCount"], EntryCount);
FromJsonUtilO(input["Rankings"], Rankings);
FromJsonUtilP(input["Version"], Version);
}
Expand All @@ -990,6 +993,7 @@ namespace PlayFab
{
Json::Value output;
Json::Value each_Columns; ToJsonUtilO(Columns, each_Columns); output["Columns"] = each_Columns;
Json::Value each_EntryCount; ToJsonUtilP(EntryCount, each_EntryCount); output["EntryCount"] = each_EntryCount;
Json::Value each_Rankings; ToJsonUtilO(Rankings, each_Rankings); output["Rankings"] = each_Rankings;
Json::Value each_Version; ToJsonUtilP(Version, each_Version); output["Version"] = each_Version;
return output;
Expand Down
45 changes: 44 additions & 1 deletion code/include/playfab/PlayFabServerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <playfab/PlayFabBaseModel.h>
#include <playfab/PlayFabJsonHeaders.h>
#include <playfab/PlayFabPlatformUtils.h>

namespace PlayFab
{
Expand Down Expand Up @@ -5775,6 +5774,8 @@ namespace PlayFab
GenericErrorCodesTrueSkillInvalidPlayerId,
GenericErrorCodesTrueSkillInvalidSquadSize,
GenericErrorCodesTrueSkillConditionSetNotInModel,
GenericErrorCodesTrueSkillModelStateInvalidForOperation,
GenericErrorCodesTrueSkillScenarioContainsActiveModel,
GenericErrorCodesGameSaveManifestNotFound,
GenericErrorCodesGameSaveManifestVersionAlreadyExists,
GenericErrorCodesGameSaveConflictUpdatingManifest,
Expand All @@ -5784,6 +5785,8 @@ namespace PlayFab
GenericErrorCodesGameSaveUnknownFileInManifest,
GenericErrorCodesGameSaveFileExceededReportedSize,
GenericErrorCodesGameSaveFileNotUploaded,
GenericErrorCodesGameSaveBadRequest,
GenericErrorCodesGameSaveOperationNotAllowed,
GenericErrorCodesStateShareForbidden,
GenericErrorCodesStateShareTitleNotInFlight,
GenericErrorCodesStateShareStateNotFound,
Expand Down Expand Up @@ -10031,6 +10034,16 @@ namespace PlayFab
output = Json::Value("TrueSkillConditionSetNotInModel");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTrueSkillModelStateInvalidForOperation)
{
output = Json::Value("TrueSkillModelStateInvalidForOperation");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTrueSkillScenarioContainsActiveModel)
{
output = Json::Value("TrueSkillScenarioContainsActiveModel");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesGameSaveManifestNotFound)
{
output = Json::Value("GameSaveManifestNotFound");
Expand Down Expand Up @@ -10076,6 +10089,16 @@ namespace PlayFab
output = Json::Value("GameSaveFileNotUploaded");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesGameSaveBadRequest)
{
output = Json::Value("GameSaveBadRequest");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesGameSaveOperationNotAllowed)
{
output = Json::Value("GameSaveOperationNotAllowed");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesStateShareForbidden)
{
output = Json::Value("StateShareForbidden");
Expand Down Expand Up @@ -14359,6 +14382,16 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesTrueSkillConditionSetNotInModel;
return;
}
if (inputStr == "TrueSkillModelStateInvalidForOperation")
{
output = GenericErrorCodes::GenericErrorCodesTrueSkillModelStateInvalidForOperation;
return;
}
if (inputStr == "TrueSkillScenarioContainsActiveModel")
{
output = GenericErrorCodes::GenericErrorCodesTrueSkillScenarioContainsActiveModel;
return;
}
if (inputStr == "GameSaveManifestNotFound")
{
output = GenericErrorCodes::GenericErrorCodesGameSaveManifestNotFound;
Expand Down Expand Up @@ -14404,6 +14437,16 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesGameSaveFileNotUploaded;
return;
}
if (inputStr == "GameSaveBadRequest")
{
output = GenericErrorCodes::GenericErrorCodesGameSaveBadRequest;
return;
}
if (inputStr == "GameSaveOperationNotAllowed")
{
output = GenericErrorCodes::GenericErrorCodesGameSaveOperationNotAllowed;
return;
}
if (inputStr == "StateShareForbidden")
{
output = GenericErrorCodes::GenericErrorCodesStateShareForbidden;
Expand Down
4 changes: 2 additions & 2 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.145.240913";
const std::string PlayFabSettings::sdkVersion = "3.146.241014";
const std::string PlayFabSettings::buildIdentifier = "adobuild_xplatcppsdk_166";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.145.240913";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.146.241014";
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.145.240913;
version : 3.146.241014;
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/#240913";
releaseNotes: "https://api.playfab.com/releaseNotes/#241014";
copyright: "Copyright 2024";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native };
Expand Down
Loading

0 comments on commit a1cede2

Please sign in to comment.