Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230306
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Mar 6, 2023
2 parents 02ac362 + 5e30853 commit bd5bd6d
Show file tree
Hide file tree
Showing 11 changed files with 317 additions and 14 deletions.
121 changes: 121 additions & 0 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5495,6 +5495,12 @@ namespace PlayFab
GenericErrorCodesAnalysisSubscriptionManagementInvalidInput,
GenericErrorCodesInvalidGameCenterId,
GenericErrorCodesInvalidNintendoSwitchAccountId,
GenericErrorCodesEntityAPIKeysNotSupported,
GenericErrorCodesIpAddressBanned,
GenericErrorCodesEntityLineageBanned,
GenericErrorCodesNamespaceMismatch,
GenericErrorCodesInvalidServiceConfiguration,
GenericErrorCodesInvalidNamespaceMismatch,
GenericErrorCodesMatchmakingEntityInvalid,
GenericErrorCodesMatchmakingPlayerAttributesInvalid,
GenericErrorCodesMatchmakingQueueNotFound,
Expand Down Expand Up @@ -5641,6 +5647,11 @@ namespace PlayFab
GenericErrorCodesEventSamplingInvalidEventNamespace,
GenericErrorCodesEventSamplingInvalidEventName,
GenericErrorCodesEventSamplingRatioNotFound,
GenericErrorCodesTelemetryKeyNotFound,
GenericErrorCodesTelemetryKeyInvalidName,
GenericErrorCodesTelemetryKeyAlreadyExists,
GenericErrorCodesTelemetryKeyInvalid,
GenericErrorCodesTelemetryKeyCountOverLimit,
GenericErrorCodesEventSinkConnectionInvalid,
GenericErrorCodesEventSinkConnectionUnauthorized,
GenericErrorCodesEventSinkRegionInvalid,
Expand Down Expand Up @@ -8375,6 +8386,36 @@ namespace PlayFab
output = Json::Value("InvalidNintendoSwitchAccountId");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesEntityAPIKeysNotSupported)
{
output = Json::Value("EntityAPIKeysNotSupported");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesIpAddressBanned)
{
output = Json::Value("IpAddressBanned");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesEntityLineageBanned)
{
output = Json::Value("EntityLineageBanned");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesNamespaceMismatch)
{
output = Json::Value("NamespaceMismatch");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesInvalidServiceConfiguration)
{
output = Json::Value("InvalidServiceConfiguration");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesInvalidNamespaceMismatch)
{
output = Json::Value("InvalidNamespaceMismatch");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid)
{
output = Json::Value("MatchmakingEntityInvalid");
Expand Down Expand Up @@ -9105,6 +9146,31 @@ namespace PlayFab
output = Json::Value("EventSamplingRatioNotFound");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTelemetryKeyNotFound)
{
output = Json::Value("TelemetryKeyNotFound");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTelemetryKeyInvalidName)
{
output = Json::Value("TelemetryKeyInvalidName");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTelemetryKeyAlreadyExists)
{
output = Json::Value("TelemetryKeyAlreadyExists");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTelemetryKeyInvalid)
{
output = Json::Value("TelemetryKeyInvalid");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTelemetryKeyCountOverLimit)
{
output = Json::Value("TelemetryKeyCountOverLimit");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesEventSinkConnectionInvalid)
{
output = Json::Value("EventSinkConnectionInvalid");
Expand Down Expand Up @@ -11903,6 +11969,36 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesInvalidNintendoSwitchAccountId;
return;
}
if (inputStr == "EntityAPIKeysNotSupported")
{
output = GenericErrorCodes::GenericErrorCodesEntityAPIKeysNotSupported;
return;
}
if (inputStr == "IpAddressBanned")
{
output = GenericErrorCodes::GenericErrorCodesIpAddressBanned;
return;
}
if (inputStr == "EntityLineageBanned")
{
output = GenericErrorCodes::GenericErrorCodesEntityLineageBanned;
return;
}
if (inputStr == "NamespaceMismatch")
{
output = GenericErrorCodes::GenericErrorCodesNamespaceMismatch;
return;
}
if (inputStr == "InvalidServiceConfiguration")
{
output = GenericErrorCodes::GenericErrorCodesInvalidServiceConfiguration;
return;
}
if (inputStr == "InvalidNamespaceMismatch")
{
output = GenericErrorCodes::GenericErrorCodesInvalidNamespaceMismatch;
return;
}
if (inputStr == "MatchmakingEntityInvalid")
{
output = GenericErrorCodes::GenericErrorCodesMatchmakingEntityInvalid;
Expand Down Expand Up @@ -12633,6 +12729,31 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesEventSamplingRatioNotFound;
return;
}
if (inputStr == "TelemetryKeyNotFound")
{
output = GenericErrorCodes::GenericErrorCodesTelemetryKeyNotFound;
return;
}
if (inputStr == "TelemetryKeyInvalidName")
{
output = GenericErrorCodes::GenericErrorCodesTelemetryKeyInvalidName;
return;
}
if (inputStr == "TelemetryKeyAlreadyExists")
{
output = GenericErrorCodes::GenericErrorCodesTelemetryKeyAlreadyExists;
return;
}
if (inputStr == "TelemetryKeyInvalid")
{
output = GenericErrorCodes::GenericErrorCodesTelemetryKeyInvalid;
return;
}
if (inputStr == "TelemetryKeyCountOverLimit")
{
output = GenericErrorCodes::GenericErrorCodesTelemetryKeyCountOverLimit;
return;
}
if (inputStr == "EventSinkConnectionInvalid")
{
output = GenericErrorCodes::GenericErrorCodesEventSinkConnectionInvalid;
Expand Down
5 changes: 5 additions & 0 deletions code/include/playfab/PlayFabClientDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -16730,6 +16730,7 @@ namespace PlayFab
Boxed<GetPlayerCombinedInfoRequestParams> InfoRequestParameters;
std::string PlayerSecret;
std::string ServerAuthCode;
Boxed<bool> SetEmail;
std::string TitleId;

LoginWithGoogleAccountRequest() :
Expand All @@ -16740,6 +16741,7 @@ namespace PlayFab
InfoRequestParameters(),
PlayerSecret(),
ServerAuthCode(),
SetEmail(),
TitleId()
{}

Expand All @@ -16751,6 +16753,7 @@ namespace PlayFab
InfoRequestParameters(src.InfoRequestParameters),
PlayerSecret(src.PlayerSecret),
ServerAuthCode(src.ServerAuthCode),
SetEmail(src.SetEmail),
TitleId(src.TitleId)
{}

Expand All @@ -16764,6 +16767,7 @@ namespace PlayFab
FromJsonUtilO(input["InfoRequestParameters"], InfoRequestParameters);
FromJsonUtilS(input["PlayerSecret"], PlayerSecret);
FromJsonUtilS(input["ServerAuthCode"], ServerAuthCode);
FromJsonUtilP(input["SetEmail"], SetEmail);
FromJsonUtilS(input["TitleId"], TitleId);
}

Expand All @@ -16776,6 +16780,7 @@ namespace PlayFab
Json::Value each_InfoRequestParameters; ToJsonUtilO(InfoRequestParameters, each_InfoRequestParameters); output["InfoRequestParameters"] = each_InfoRequestParameters;
Json::Value each_PlayerSecret; ToJsonUtilS(PlayerSecret, each_PlayerSecret); output["PlayerSecret"] = each_PlayerSecret;
Json::Value each_ServerAuthCode; ToJsonUtilS(ServerAuthCode, each_ServerAuthCode); output["ServerAuthCode"] = each_ServerAuthCode;
Json::Value each_SetEmail; ToJsonUtilP(SetEmail, each_SetEmail); output["SetEmail"] = each_SetEmail;
Json::Value each_TitleId; ToJsonUtilS(TitleId, each_TitleId); output["TitleId"] = each_TitleId;
return output;
}
Expand Down
Loading

0 comments on commit bd5bd6d

Please sign in to comment.