Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200615
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Jun 15, 2020
2 parents 73dff03 + 54a9edb commit 637f784
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 34 deletions.
29 changes: 17 additions & 12 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5389,8 +5389,8 @@ namespace PlayFab
GenericErrorCodesXboxServiceTooManyRequests,
GenericErrorCodesNintendoSwitchNotEnabledForTitle,
GenericErrorCodesRequestMultiplayerServersThrottledFromRateLimiter,
GenericErrorCodesTitleDataInstanceNotFound,
GenericErrorCodesDuplicateTitleDataOverrideInstanceName,
GenericErrorCodesTitleDataOverrideNotFound,
GenericErrorCodesDuplicateKeys,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -7964,14 +7964,14 @@ namespace PlayFab
output = Json::Value("RequestMultiplayerServersThrottledFromRateLimiter");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTitleDataInstanceNotFound)
if (input == GenericErrorCodes::GenericErrorCodesTitleDataOverrideNotFound)
{
output = Json::Value("TitleDataInstanceNotFound");
output = Json::Value("TitleDataOverrideNotFound");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesDuplicateTitleDataOverrideInstanceName)
if (input == GenericErrorCodes::GenericErrorCodesDuplicateKeys)
{
output = Json::Value("DuplicateTitleDataOverrideInstanceName");
output = Json::Value("DuplicateKeys");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
Expand Down Expand Up @@ -10887,14 +10887,14 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesRequestMultiplayerServersThrottledFromRateLimiter;
return;
}
if (inputStr == "TitleDataInstanceNotFound")
if (inputStr == "TitleDataOverrideNotFound")
{
output = GenericErrorCodes::GenericErrorCodesTitleDataInstanceNotFound;
output = GenericErrorCodes::GenericErrorCodesTitleDataOverrideNotFound;
return;
}
if (inputStr == "DuplicateTitleDataOverrideInstanceName")
if (inputStr == "DuplicateKeys")
{
output = GenericErrorCodes::GenericErrorCodesDuplicateTitleDataOverrideInstanceName;
output = GenericErrorCodes::GenericErrorCodesDuplicateKeys;
return;
}
if (inputStr == "MatchmakingEntityInvalid")
Expand Down Expand Up @@ -18719,28 +18719,33 @@ namespace PlayFab
struct GetTitleDataRequest : public PlayFabRequestCommon
{
std::list<std::string> Keys;
std::string OverrideLabel;

GetTitleDataRequest() :
PlayFabRequestCommon(),
Keys()
Keys(),
OverrideLabel()
{}

GetTitleDataRequest(const GetTitleDataRequest& src) :
PlayFabRequestCommon(),
Keys(src.Keys)
Keys(src.Keys),
OverrideLabel(src.OverrideLabel)
{}

~GetTitleDataRequest() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["Keys"], Keys);
FromJsonUtilS(input["OverrideLabel"], OverrideLabel);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_Keys; ToJsonUtilS(Keys, each_Keys); output["Keys"] = each_Keys;
Json::Value each_OverrideLabel; ToJsonUtilS(OverrideLabel, each_OverrideLabel); output["OverrideLabel"] = each_OverrideLabel;
return output;
}
};
Expand Down
9 changes: 7 additions & 2 deletions code/include/playfab/PlayFabClientDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -13854,28 +13854,33 @@ namespace PlayFab
struct GetTitleDataRequest : public PlayFabRequestCommon
{
std::list<std::string> Keys;
std::string OverrideLabel;

GetTitleDataRequest() :
PlayFabRequestCommon(),
Keys()
Keys(),
OverrideLabel()
{}

GetTitleDataRequest(const GetTitleDataRequest& src) :
PlayFabRequestCommon(),
Keys(src.Keys)
Keys(src.Keys),
OverrideLabel(src.OverrideLabel)
{}

~GetTitleDataRequest() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["Keys"], Keys);
FromJsonUtilS(input["OverrideLabel"], OverrideLabel);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_Keys; ToJsonUtilS(Keys, each_Keys); output["Keys"] = each_Keys;
Json::Value each_OverrideLabel; ToJsonUtilS(OverrideLabel, each_OverrideLabel); output["OverrideLabel"] = each_OverrideLabel;
return output;
}
};
Expand Down
4 changes: 2 additions & 2 deletions code/include/playfab/PlayFabError.h
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ namespace PlayFab
PlayFabErrorXboxServiceTooManyRequests = 1505,
PlayFabErrorNintendoSwitchNotEnabledForTitle = 1506,
PlayFabErrorRequestMultiplayerServersThrottledFromRateLimiter = 1507,
PlayFabErrorTitleDataInstanceNotFound = 1508,
PlayFabErrorDuplicateTitleDataOverrideInstanceName = 1509,
PlayFabErrorTitleDataOverrideNotFound = 1508,
PlayFabErrorDuplicateKeys = 1509,
PlayFabErrorMatchmakingEntityInvalid = 2001,
PlayFabErrorMatchmakingPlayerAttributesInvalid = 2002,
PlayFabErrorMatchmakingQueueNotFound = 2016,
Expand Down
Loading

0 comments on commit 637f784

Please sign in to comment.