forked from loafle/openapi-generator-original
[cpp-ue4] Support UE5 version of FTickerObjectBase (#13304)
Co-authored-by: nullbus <nullbus@nm-fc.com>
This commit is contained in:
parent
97b38593ed
commit
9b9d3200a8
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user