Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210315
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Mar 16, 2021
2 parents cde0c03 + 63468ee commit 4e4f04e
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 30 deletions.
21 changes: 21 additions & 0 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5396,6 +5396,7 @@ namespace PlayFab
GenericErrorCodesVirtualCurrencyCurrentlyUnavailable,
GenericErrorCodesSteamUserNotFound,
GenericErrorCodesElasticSearchOperationFailed,
GenericErrorCodesNotImplemented,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -8038,6 +8039,11 @@ namespace PlayFab
output = Json::Value("ElasticSearchOperationFailed");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesNotImplemented)
{
output = Json::Value("NotImplemented");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
{
output = Json::Value("MatchmakingEntityInvalid");
Expand Down Expand Up @@ -11156,6 +11162,11 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesElasticSearchOperationFailed;
return;
}
if (inputStr == "NotImplemented")
{
output = GenericErrorCodes::GenericErrorCodesNotImplemented;
return;
}
if (inputStr == "MatchmakingEntityInvalid")
{
output = GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid;
Expand Down Expand Up @@ -24657,17 +24668,20 @@ namespace PlayFab
struct GetPolicyResponse : public PlayFabResultCommon
{
std::string PolicyName;
Int32 PolicyVersion;
std::list<PermissionStatement> Statements;

GetPolicyResponse() :
PlayFabResultCommon(),
PolicyName(),
PolicyVersion(),
Statements()
{}

GetPolicyResponse(const GetPolicyResponse& src) :
PlayFabResultCommon(),
PolicyName(src.PolicyName),
PolicyVersion(src.PolicyVersion),
Statements(src.Statements)
{}

Expand All @@ -24676,13 +24690,15 @@ namespace PlayFab
void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["PolicyName"], PolicyName);
FromJsonUtilP(input["PolicyVersion"], PolicyVersion);
FromJsonUtilO(input["Statements"], Statements);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_PolicyName; ToJsonUtilS(PolicyName, each_PolicyName); output["PolicyName"] = each_PolicyName;
Json::Value each_PolicyVersion; ToJsonUtilP(PolicyVersion, each_PolicyVersion); output["PolicyVersion"] = each_PolicyVersion;
Json::Value each_Statements; ToJsonUtilO(Statements, each_Statements); output["Statements"] = each_Statements;
return output;
}
Expand Down Expand Up @@ -29555,19 +29571,22 @@ namespace PlayFab
{
bool OverwritePolicy;
std::string PolicyName;
Int32 PolicyVersion;
std::list<PermissionStatement> Statements;

UpdatePolicyRequest() :
PlayFabRequestCommon(),
OverwritePolicy(),
PolicyName(),
PolicyVersion(),
Statements()
{}

UpdatePolicyRequest(const UpdatePolicyRequest& src) :
PlayFabRequestCommon(),
OverwritePolicy(src.OverwritePolicy),
PolicyName(src.PolicyName),
PolicyVersion(src.PolicyVersion),
Statements(src.Statements)
{}

Expand All @@ -29577,6 +29596,7 @@ namespace PlayFab
{
FromJsonUtilP(input["OverwritePolicy"], OverwritePolicy);
FromJsonUtilS(input["PolicyName"], PolicyName);
FromJsonUtilP(input["PolicyVersion"], PolicyVersion);
FromJsonUtilO(input["Statements"], Statements);
}

Expand All @@ -29585,6 +29605,7 @@ namespace PlayFab
Json::Value output;
Json::Value each_OverwritePolicy; ToJsonUtilP(OverwritePolicy, each_OverwritePolicy); output["OverwritePolicy"] = each_OverwritePolicy;
Json::Value each_PolicyName; ToJsonUtilS(PolicyName, each_PolicyName); output["PolicyName"] = each_PolicyName;
Json::Value each_PolicyVersion; ToJsonUtilP(PolicyVersion, each_PolicyVersion); output["PolicyVersion"] = each_PolicyVersion;
Json::Value each_Statements; ToJsonUtilO(Statements, each_Statements); output["Statements"] = each_Statements;
return output;
}
Expand Down
1 change: 1 addition & 0 deletions code/include/playfab/PlayFabError.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ namespace PlayFab
PlayFabErrorVirtualCurrencyCurrentlyUnavailable = 1512,
PlayFabErrorSteamUserNotFound = 1513,
PlayFabErrorElasticSearchOperationFailed = 1514,
PlayFabErrorNotImplemented = 1515,
PlayFabErrorMatchmakingEntityInvalid = 2001,
PlayFabErrorMatchmakingPlayerAttributesInvalid = 2002,
PlayFabErrorMatchmakingQueueNotFound = 2016,
Expand Down
15 changes: 0 additions & 15 deletions code/include/playfab/PlayFabExperimentationDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ namespace PlayFab
{
std::map<std::string, std::string> CustomTags;
std::string Description;
Boxed<Uint32> Duration;
Boxed<time_t> EndDate;
std::string ExclusionGroupId;
Boxed<Uint32> ExclusionGroupTrafficAllocation;
Expand All @@ -382,7 +381,6 @@ namespace PlayFab
PlayFabRequestCommon(),
CustomTags(),
Description(),
Duration(),
EndDate(),
ExclusionGroupId(),
ExclusionGroupTrafficAllocation(),
Expand All @@ -398,7 +396,6 @@ namespace PlayFab
PlayFabRequestCommon(),
CustomTags(src.CustomTags),
Description(src.Description),
Duration(src.Duration),
EndDate(src.EndDate),
ExclusionGroupId(src.ExclusionGroupId),
ExclusionGroupTrafficAllocation(src.ExclusionGroupTrafficAllocation),
Expand All @@ -416,7 +413,6 @@ namespace PlayFab
{
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilS(input["Description"], Description);
FromJsonUtilP(input["Duration"], Duration);
FromJsonUtilT(input["EndDate"], EndDate);
FromJsonUtilS(input["ExclusionGroupId"], ExclusionGroupId);
FromJsonUtilP(input["ExclusionGroupTrafficAllocation"], ExclusionGroupTrafficAllocation);
Expand All @@ -433,7 +429,6 @@ namespace PlayFab
Json::Value output;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_Description; ToJsonUtilS(Description, each_Description); output["Description"] = each_Description;
Json::Value each_Duration; ToJsonUtilP(Duration, each_Duration); output["Duration"] = each_Duration;
Json::Value each_EndDate; ToJsonUtilT(EndDate, each_EndDate); output["EndDate"] = each_EndDate;
Json::Value each_ExclusionGroupId; ToJsonUtilS(ExclusionGroupId, each_ExclusionGroupId); output["ExclusionGroupId"] = each_ExclusionGroupId;
Json::Value each_ExclusionGroupTrafficAllocation; ToJsonUtilP(ExclusionGroupTrafficAllocation, each_ExclusionGroupTrafficAllocation); output["ExclusionGroupTrafficAllocation"] = each_ExclusionGroupTrafficAllocation;
Expand Down Expand Up @@ -639,7 +634,6 @@ namespace PlayFab
struct Experiment : public PlayFabBaseModel
{
std::string Description;
Boxed<Uint32> Duration;
Boxed<time_t> EndDate;
std::string ExclusionGroupId;
Boxed<Uint32> ExclusionGroupTrafficAllocation;
Expand All @@ -655,7 +649,6 @@ namespace PlayFab
Experiment() :
PlayFabBaseModel(),
Description(),
Duration(),
EndDate(),
ExclusionGroupId(),
ExclusionGroupTrafficAllocation(),
Expand All @@ -672,7 +665,6 @@ namespace PlayFab
Experiment(const Experiment& src) :
PlayFabBaseModel(),
Description(src.Description),
Duration(src.Duration),
EndDate(src.EndDate),
ExclusionGroupId(src.ExclusionGroupId),
ExclusionGroupTrafficAllocation(src.ExclusionGroupTrafficAllocation),
Expand All @@ -691,7 +683,6 @@ namespace PlayFab
void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["Description"], Description);
FromJsonUtilP(input["Duration"], Duration);
FromJsonUtilT(input["EndDate"], EndDate);
FromJsonUtilS(input["ExclusionGroupId"], ExclusionGroupId);
FromJsonUtilP(input["ExclusionGroupTrafficAllocation"], ExclusionGroupTrafficAllocation);
Expand All @@ -709,7 +700,6 @@ namespace PlayFab
{
Json::Value output;
Json::Value each_Description; ToJsonUtilS(Description, each_Description); output["Description"] = each_Description;
Json::Value each_Duration; ToJsonUtilP(Duration, each_Duration); output["Duration"] = each_Duration;
Json::Value each_EndDate; ToJsonUtilT(EndDate, each_EndDate); output["EndDate"] = each_EndDate;
Json::Value each_ExclusionGroupId; ToJsonUtilS(ExclusionGroupId, each_ExclusionGroupId); output["ExclusionGroupId"] = each_ExclusionGroupId;
Json::Value each_ExclusionGroupTrafficAllocation; ToJsonUtilP(ExclusionGroupTrafficAllocation, each_ExclusionGroupTrafficAllocation); output["ExclusionGroupTrafficAllocation"] = each_ExclusionGroupTrafficAllocation;
Expand Down Expand Up @@ -1416,7 +1406,6 @@ namespace PlayFab
{
std::map<std::string, std::string> CustomTags;
std::string Description;
Boxed<Uint32> Duration;
Boxed<time_t> EndDate;
std::string ExclusionGroupId;
Boxed<Uint32> ExclusionGroupTrafficAllocation;
Expand All @@ -1432,7 +1421,6 @@ namespace PlayFab
PlayFabRequestCommon(),
CustomTags(),
Description(),
Duration(),
EndDate(),
ExclusionGroupId(),
ExclusionGroupTrafficAllocation(),
Expand All @@ -1449,7 +1437,6 @@ namespace PlayFab
PlayFabRequestCommon(),
CustomTags(src.CustomTags),
Description(src.Description),
Duration(src.Duration),
EndDate(src.EndDate),
ExclusionGroupId(src.ExclusionGroupId),
ExclusionGroupTrafficAllocation(src.ExclusionGroupTrafficAllocation),
Expand All @@ -1468,7 +1455,6 @@ namespace PlayFab
{
FromJsonUtilS(input["CustomTags"], CustomTags);
FromJsonUtilS(input["Description"], Description);
FromJsonUtilP(input["Duration"], Duration);
FromJsonUtilT(input["EndDate"], EndDate);
FromJsonUtilS(input["ExclusionGroupId"], ExclusionGroupId);
FromJsonUtilP(input["ExclusionGroupTrafficAllocation"], ExclusionGroupTrafficAllocation);
Expand All @@ -1486,7 +1472,6 @@ namespace PlayFab
Json::Value output;
Json::Value each_CustomTags; ToJsonUtilS(CustomTags, each_CustomTags); output["CustomTags"] = each_CustomTags;
Json::Value each_Description; ToJsonUtilS(Description, each_Description); output["Description"] = each_Description;
Json::Value each_Duration; ToJsonUtilP(Duration, each_Duration); output["Duration"] = each_Duration;
Json::Value each_EndDate; ToJsonUtilT(EndDate, each_EndDate); output["EndDate"] = each_EndDate;
Json::Value each_ExclusionGroupId; ToJsonUtilS(ExclusionGroupId, each_ExclusionGroupId); output["ExclusionGroupId"] = each_ExclusionGroupId;
Json::Value each_ExclusionGroupTrafficAllocation; ToJsonUtilP(ExclusionGroupTrafficAllocation, each_ExclusionGroupTrafficAllocation); output["ExclusionGroupTrafficAllocation"] = each_ExclusionGroupTrafficAllocation;
Expand Down
13 changes: 12 additions & 1 deletion code/include/playfab/PlayFabMultiplayerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ namespace PlayFab
AzureRegionFranceCentral,
AzureRegionWestUs2,
AzureRegionCentralIndia,
AzureRegionUaeNorth
AzureRegionUaeNorth,
AzureRegionUkSouth
};

inline void ToJsonEnum(const AzureRegion input, Json::Value& output)
Expand Down Expand Up @@ -166,6 +167,11 @@ namespace PlayFab
output = Json::Value("UaeNorth");
return;
}
if (input == AzureRegion::AzureRegionUkSouth)
{
output = Json::Value("UkSouth");
return;
}
}
inline void FromJsonEnum(const Json::Value& input, AzureRegion& output)
{
Expand Down Expand Up @@ -299,6 +305,11 @@ namespace PlayFab
output = AzureRegion::AzureRegionUaeNorth;
return;
}
if (inputStr == "UkSouth")
{
output = AzureRegion::AzureRegionUkSouth;
return;
}
}

enum class AzureVmFamily
Expand Down
11 changes: 11 additions & 0 deletions code/include/playfab/PlayFabServerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5298,6 +5298,7 @@ namespace PlayFab
GenericErrorCodesVirtualCurrencyCurrentlyUnavailable,
GenericErrorCodesSteamUserNotFound,
GenericErrorCodesElasticSearchOperationFailed,
GenericErrorCodesNotImplemented,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -7940,6 +7941,11 @@ namespace PlayFab
output = Json::Value("ElasticSearchOperationFailed");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesNotImplemented)
{
output = Json::Value("NotImplemented");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
{
output = Json::Value("MatchmakingEntityInvalid");
Expand Down Expand Up @@ -11058,6 +11064,11 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesElasticSearchOperationFailed;
return;
}
if (inputStr == "NotImplemented")
{
output = GenericErrorCodes::GenericErrorCodesNotImplemented;
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.47.210208";
const std::string PlayFabSettings::buildIdentifier = "jbuild_xplatcppsdk_sdk-genericslave-2_1";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.47.210208";
const std::string PlayFabSettings::sdkVersion = "3.48.210315";
const std::string PlayFabSettings::buildIdentifier = "jbuild_xplatcppsdk_sdk-generic-1_0";
const std::string PlayFabSettings::versionString = "XPlatCppSdk-3.48.210315";
std::string PlayFabSettings::productionEnvironmentURL = ".playfabapi.com";
ErrorCallback PlayFabSettings::globalErrorHandler = nullptr;

Expand Down
2 changes: 1 addition & 1 deletion code/source/playfab/QoS/PlayFabQoSApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ namespace PlayFab
bool allTimedOut = true;
for(auto& regionRes: result.regionResults)
{
if(regionRes.latencyMs != timeoutMs)
if(static_cast<unsigned int>(regionRes.latencyMs) != timeoutMs)
{
allTimedOut = false;
break;
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.47.210208;
version : 3.48.210315;
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/#210208";
releaseNotes: "https://api.playfab.com/releaseNotes/#210315";
copyright: "Copyright 2021";
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.47.210208</version>
<version>3.48.210315</version>
<authors>Microsoft</authors>
<owners>pgilmore, toddbellMSFT</owners>
<projectUrl>http://github.com/PlayFab/XPlatCppSdk</projectUrl>
<license type="expression">Apache-2.0</license>
<iconUrl>https://playfab.com/assets/img/logo/azure-playfab-logo.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.47.210208</releaseNotes>
<releaseNotes>https://api.playfab.com/releaseNotes/#3.48.210315</releaseNotes>
<description>Microsoft Azure PlayFab XPlatCppSdk</description>
<copyright>Copyright ©2020 Microsoft Corp</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.47.210208;
version : 3.48.210315;
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/#210208";
releaseNotes: "https://api.playfab.com/releaseNotes/#210315";
copyright: "Copyright 2021";
language: "C++";
tags: { PlayFab, Baas, Paas, JSON, REST, HTTP, SSL, API, cloud, liveops, game, gamedev, native, xbox };
Expand Down
Loading

0 comments on commit 4e4f04e

Please sign in to comment.