[cpp-ue4] Support UE5 version of FTickerObjectBase (#13304)

Co-authored-by: nullbus <nullbus@nm-fc.com>
This commit is contained in:
Jaemin Park 2022-08-29 22:27:35 +09:00 committed by GitHub
parent 97b38593ed
commit 9b9d3200a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 2 deletions

View File

@ -7,6 +7,7 @@
#include "Dom/JsonObject.h"
#include "HttpRetrySystem.h"
#include "Containers/Ticker.h"
#include "Runtime/Launch/Resources/Version.h"
{{#cppNamespaceDeclarations}}
namespace {{this}}
@ -16,7 +17,13 @@ namespace {{this}}
typedef TSharedRef<TJsonWriter<>> JsonWriter;
using namespace FHttpRetrySystem;
struct {{dllapi}} HttpRetryManager : public FManager, public FTickerObjectBase
struct {{dllapi}} HttpRetryManager
: public FManager
#if ENGINE_MAJOR_VERSION <= 4
, public FTickerObjectBase
#else
, public FTSTickerObjectBase
#endif
{
using FManager::FManager;

View File

@ -18,6 +18,7 @@
#include "Dom/JsonObject.h"
#include "HttpRetrySystem.h"
#include "Containers/Ticker.h"
#include "Runtime/Launch/Resources/Version.h"
namespace OpenAPI
{
@ -25,7 +26,13 @@ namespace OpenAPI
typedef TSharedRef<TJsonWriter<>> JsonWriter;
using namespace FHttpRetrySystem;
struct OPENAPI_API HttpRetryManager : public FManager, public FTickerObjectBase
struct OPENAPI_API HttpRetryManager
: public FManager
#if ENGINE_MAJOR_VERSION <= 4
, public FTickerObjectBase
#else
, public FTSTickerObjectBase
#endif
{
using FManager::FManager;