Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220118
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFabJenkinsBot committed Jan 19, 2022
2 parents a2ee944 + 73e0182 commit f4aa07e
Show file tree
Hide file tree
Showing 11 changed files with 535 additions and 98 deletions.
50 changes: 28 additions & 22 deletions code/include/playfab/PlayFabAdminDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -5404,7 +5404,6 @@ namespace PlayFab
GenericErrorCodesApiNotEnabledForTitle,
GenericErrorCodesDuplicateTitleNameForPublisher,
GenericErrorCodesAzureTitleCreationInProgress,
GenericErrorCodesDuplicateAzureResourceId,
GenericErrorCodesTitleConstraintsPublisherDeletion,
GenericErrorCodesInvalidPlayerAccountPoolId,
GenericErrorCodesPlayerAccountPoolNotFound,
Expand Down Expand Up @@ -5440,7 +5439,7 @@ namespace PlayFab
GenericErrorCodesMatchmakingBadRequest,
GenericErrorCodesPubSubFeatureNotEnabledForTitle,
GenericErrorCodesPubSubTooManyRequests,
GenericErrorCodesPubSubConnectionHandleAccessDenied,
GenericErrorCodesPubSubConnectionNotFoundForEntity,
GenericErrorCodesPubSubConnectionHandleInvalid,
GenericErrorCodesPubSubSubscriptionLimitExceeded,
GenericErrorCodesTitleConfigNotFound,
Expand Down Expand Up @@ -5564,7 +5563,9 @@ namespace PlayFab
GenericErrorCodesEventSinkConnectionInvalid,
GenericErrorCodesEventSinkConnectionUnauthorized,
GenericErrorCodesEventSinkRegionInvalid,
GenericErrorCodesOperationCanceled
GenericErrorCodesOperationCanceled,
GenericErrorCodesInvalidDisplayNameRandomSuffixLength,
GenericErrorCodesAllowNonUniquePlayerDisplayNamesDisableNotAllowed
};

inline void ToJsonEnum(const GenericErrorCodes input, Json::Value& output)
Expand Down Expand Up @@ -8129,11 +8130,6 @@ namespace PlayFab
output = Json::Value("AzureTitleCreationInProgress");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesDuplicateAzureResourceId)
{
output = Json::Value("DuplicateAzureResourceId");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesTitleConstraintsPublisherDeletion)
{
output = Json::Value("TitleConstraintsPublisherDeletion");
Expand Down Expand Up @@ -8309,9 +8305,9 @@ namespace PlayFab
output = Json::Value("PubSubTooManyRequests");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesPubSubConnectionHandleAccessDenied)
if (input == GenericErrorCodes::GenericErrorCodesPubSubConnectionNotFoundForEntity)
{
output = Json::Value("PubSubConnectionHandleAccessDenied");
output = Json::Value("PubSubConnectionNotFoundForEntity");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesPubSubConnectionHandleInvalid)
Expand Down Expand Up @@ -8934,6 +8930,16 @@ namespace PlayFab
output = Json::Value("OperationCanceled");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesInvalidDisplayNameRandomSuffixLength)
{
output = Json::Value("InvalidDisplayNameRandomSuffixLength");
return;
}
if (input == GenericErrorCodes::GenericErrorCodesAllowNonUniquePlayerDisplayNamesDisableNotAllowed)
{
output = Json::Value("AllowNonUniquePlayerDisplayNamesDisableNotAllowed");
return;
}
}
inline void FromJsonEnum(const Json::Value& input, GenericErrorCodes& output)
{
Expand Down Expand Up @@ -11502,11 +11508,6 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesAzureTitleCreationInProgress;
return;
}
if (inputStr == "DuplicateAzureResourceId")
{
output = GenericErrorCodes::GenericErrorCodesDuplicateAzureResourceId;
return;
}
if (inputStr == "TitleConstraintsPublisherDeletion")
{
output = GenericErrorCodes::GenericErrorCodesTitleConstraintsPublisherDeletion;
Expand Down Expand Up @@ -11682,9 +11683,9 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesPubSubTooManyRequests;
return;
}
if (inputStr == "PubSubConnectionHandleAccessDenied")
if (inputStr == "PubSubConnectionNotFoundForEntity")
{
output = GenericErrorCodes::GenericErrorCodesPubSubConnectionHandleAccessDenied;
output = GenericErrorCodes::GenericErrorCodesPubSubConnectionNotFoundForEntity;
return;
}
if (inputStr == "PubSubConnectionHandleInvalid")
Expand Down Expand Up @@ -12307,6 +12308,16 @@ namespace PlayFab
output = GenericErrorCodes::GenericErrorCodesOperationCanceled;
return;
}
if (inputStr == "InvalidDisplayNameRandomSuffixLength")
{
output = GenericErrorCodes::GenericErrorCodesInvalidDisplayNameRandomSuffixLength;
return;
}
if (inputStr == "AllowNonUniquePlayerDisplayNamesDisableNotAllowed")
{
output = GenericErrorCodes::GenericErrorCodesAllowNonUniquePlayerDisplayNamesDisableNotAllowed;
return;
}
}

enum class LoginIdentityProvider
Expand Down Expand Up @@ -19653,7 +19664,6 @@ namespace PlayFab
Boxed<time_t> Created;
Boxed<time_t> Expires;
std::string IPAddress;
std::string MACAddress;
std::string PlayFabId;
std::string Reason;

Expand All @@ -19664,7 +19674,6 @@ namespace PlayFab
Created(),
Expires(),
IPAddress(),
MACAddress(),
PlayFabId(),
Reason()
{}
Expand All @@ -19676,7 +19685,6 @@ namespace PlayFab
Created(src.Created),
Expires(src.Expires),
IPAddress(src.IPAddress),
MACAddress(src.MACAddress),
PlayFabId(src.PlayFabId),
Reason(src.Reason)
{}
Expand All @@ -19690,7 +19698,6 @@ namespace PlayFab
FromJsonUtilT(input["Created"], Created);
FromJsonUtilT(input["Expires"], Expires);
FromJsonUtilS(input["IPAddress"], IPAddress);
FromJsonUtilS(input["MACAddress"], MACAddress);
FromJsonUtilS(input["PlayFabId"], PlayFabId);
FromJsonUtilS(input["Reason"], Reason);
}
Expand All @@ -19703,7 +19710,6 @@ namespace PlayFab
Json::Value each_Created; ToJsonUtilT(Created, each_Created); output["Created"] = each_Created;
Json::Value each_Expires; ToJsonUtilT(Expires, each_Expires); output["Expires"] = each_Expires;
Json::Value each_IPAddress; ToJsonUtilS(IPAddress, each_IPAddress); output["IPAddress"] = each_IPAddress;
Json::Value each_MACAddress; ToJsonUtilS(MACAddress, each_MACAddress); output["MACAddress"] = each_MACAddress;
Json::Value each_PlayFabId; ToJsonUtilS(PlayFabId, each_PlayFabId); output["PlayFabId"] = each_PlayFabId;
Json::Value each_Reason; ToJsonUtilS(Reason, each_Reason); output["Reason"] = each_Reason;
return output;
Expand Down
5 changes: 3 additions & 2 deletions code/include/playfab/PlayFabError.h
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ namespace PlayFab
PlayFabErrorApiNotEnabledForTitle = 1520,
PlayFabErrorDuplicateTitleNameForPublisher = 1521,
PlayFabErrorAzureTitleCreationInProgress = 1522,
PlayFabErrorDuplicateAzureResourceId = 1523,
PlayFabErrorTitleConstraintsPublisherDeletion = 1524,
PlayFabErrorInvalidPlayerAccountPoolId = 1525,
PlayFabErrorPlayerAccountPoolNotFound = 1526,
Expand Down Expand Up @@ -559,7 +558,7 @@ namespace PlayFab
PlayFabErrorMatchmakingBadRequest = 2059,
PlayFabErrorPubSubFeatureNotEnabledForTitle = 2500,
PlayFabErrorPubSubTooManyRequests = 2501,
PlayFabErrorPubSubConnectionHandleAccessDenied = 2502,
PlayFabErrorPubSubConnectionNotFoundForEntity = 2502,
PlayFabErrorPubSubConnectionHandleInvalid = 2503,
PlayFabErrorPubSubSubscriptionLimitExceeded = 2504,
PlayFabErrorTitleConfigNotFound = 3001,
Expand Down Expand Up @@ -684,6 +683,8 @@ namespace PlayFab
PlayFabErrorEventSinkConnectionUnauthorized = 15001,
PlayFabErrorEventSinkRegionInvalid = 15002,
PlayFabErrorOperationCanceled = 16000,
PlayFabErrorInvalidDisplayNameRandomSuffixLength = 17000,
PlayFabErrorAllowNonUniquePlayerDisplayNamesDisableNotAllowed = 17001,
};

/// <summary>
Expand Down
48 changes: 46 additions & 2 deletions code/include/playfab/PlayFabMultiplayerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -3103,6 +3103,45 @@ namespace PlayFab
}
};

struct WindowsCrashDumpConfiguration : public PlayFabBaseModel
{
Boxed<Int32> CustomDumpFlags;
Boxed<Int32> DumpType;
bool IsEnabled;

WindowsCrashDumpConfiguration() :
PlayFabBaseModel(),
CustomDumpFlags(),
DumpType(),
IsEnabled()
{}

WindowsCrashDumpConfiguration(const WindowsCrashDumpConfiguration& src) :
PlayFabBaseModel(),
CustomDumpFlags(src.CustomDumpFlags),
DumpType(src.DumpType),
IsEnabled(src.IsEnabled)
{}

~WindowsCrashDumpConfiguration() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilP(input["CustomDumpFlags"], CustomDumpFlags);
FromJsonUtilP(input["DumpType"], DumpType);
FromJsonUtilP(input["IsEnabled"], IsEnabled);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_CustomDumpFlags; ToJsonUtilP(CustomDumpFlags, each_CustomDumpFlags); output["CustomDumpFlags"] = each_CustomDumpFlags;
Json::Value each_DumpType; ToJsonUtilP(DumpType, each_DumpType); output["DumpType"] = each_DumpType;
Json::Value each_IsEnabled; ToJsonUtilP(IsEnabled, each_IsEnabled); output["IsEnabled"] = each_IsEnabled;
return output;
}
};

struct CreateBuildWithManagedContainerRequest : public PlayFabRequestCommon
{
Boxed<bool> AreAssetsReadonly;
Expand All @@ -3121,6 +3160,7 @@ namespace PlayFab
std::string StartMultiplayerServerCommand;
Boxed<bool> UseStreamingForAssetDownloads;
Boxed<AzureVmSize> VmSize;
Boxed<WindowsCrashDumpConfiguration> pfWindowsCrashDumpConfiguration;

CreateBuildWithManagedContainerRequest() :
PlayFabRequestCommon(),
Expand All @@ -3139,7 +3179,8 @@ namespace PlayFab
RegionConfigurations(),
StartMultiplayerServerCommand(),
UseStreamingForAssetDownloads(),
VmSize()
VmSize(),
pfWindowsCrashDumpConfiguration()
{}

CreateBuildWithManagedContainerRequest(const CreateBuildWithManagedContainerRequest& src) :
Expand All @@ -3159,7 +3200,8 @@ namespace PlayFab
RegionConfigurations(src.RegionConfigurations),
StartMultiplayerServerCommand(src.StartMultiplayerServerCommand),
UseStreamingForAssetDownloads(src.UseStreamingForAssetDownloads),
VmSize(src.VmSize)
VmSize(src.VmSize),
pfWindowsCrashDumpConfiguration(src.pfWindowsCrashDumpConfiguration)
{}

~CreateBuildWithManagedContainerRequest() = default;
Expand All @@ -3182,6 +3224,7 @@ namespace PlayFab
FromJsonUtilS(input["StartMultiplayerServerCommand"], StartMultiplayerServerCommand);
FromJsonUtilP(input["UseStreamingForAssetDownloads"], UseStreamingForAssetDownloads);
FromJsonUtilE(input["VmSize"], VmSize);
FromJsonUtilO(input["WindowsCrashDumpConfiguration"], pfWindowsCrashDumpConfiguration);
}

Json::Value ToJson() const override
Expand All @@ -3203,6 +3246,7 @@ namespace PlayFab
Json::Value each_StartMultiplayerServerCommand; ToJsonUtilS(StartMultiplayerServerCommand, each_StartMultiplayerServerCommand); output["StartMultiplayerServerCommand"] = each_StartMultiplayerServerCommand;
Json::Value each_UseStreamingForAssetDownloads; ToJsonUtilP(UseStreamingForAssetDownloads, each_UseStreamingForAssetDownloads); output["UseStreamingForAssetDownloads"] = each_UseStreamingForAssetDownloads;
Json::Value each_VmSize; ToJsonUtilE(VmSize, each_VmSize); output["VmSize"] = each_VmSize;
Json::Value each_pfWindowsCrashDumpConfiguration; ToJsonUtilO(pfWindowsCrashDumpConfiguration, each_pfWindowsCrashDumpConfiguration); output["WindowsCrashDumpConfiguration"] = each_pfWindowsCrashDumpConfiguration;
return output;
}
};
Expand Down
Loading

0 comments on commit f4aa07e

Please sign in to comment.