Added blank worker thread
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "GameFramework/GameModeBase.h"
|
||||
#include "enginewrapper.hpp"
|
||||
#include "engineutil.hpp"
|
||||
#include "WorkerRunnable.hpp"
|
||||
#include "IntegrationGameModeBase.generated.h"
|
||||
|
||||
/**
|
||||
@@ -20,6 +21,7 @@ public:
|
||||
AIntegrationGameModeBase();
|
||||
virtual void BeginPlay() override;
|
||||
virtual void Tick(float) override;
|
||||
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason);
|
||||
|
||||
inline bool luprex_initialized() {
|
||||
return Luprex.play_initialize != nullptr;
|
||||
@@ -34,7 +36,11 @@ public:
|
||||
|
||||
void HandleConsoleOutput();
|
||||
|
||||
void WaitForWorkerThread();
|
||||
|
||||
// Refresh the console output.
|
||||
FWorkerRunnable* Worker;
|
||||
FRunnableThread* Thread;
|
||||
engineutil::ConsoleOutput ConsoleOutput;
|
||||
static EngineWrapper Luprex;
|
||||
float EngineSeconds;
|
||||
|
||||
Reference in New Issue
Block a user