Lots of refactoring in IntegrationGameModeBase

This commit is contained in:
2023-09-05 03:20:11 -04:00
parent cfc536011e
commit 1482e5e43f
6 changed files with 109 additions and 51 deletions

View File

@@ -33,9 +33,6 @@ public:
Lockable.Mutex.Unlock();
}
// Initialize the engine wrapper if it's not already.
void InitWrapper();
// Operator right arrow accesses the EngineWrapper.
EngineWrapper* operator ->() {
return &Lockable.Wrapper;
@@ -47,4 +44,16 @@ public:
EngineWrapper* Get() {
return &Lockable.Wrapper;
}
// Initialize the engine wrapper if it's not already.
//
// All this does is open the DLL and hook up all
// the function pointers in the wrapper to point into
// the DLL.
//
void InitWrapper();
// Fetch Stdout as a string.
//
FString FetchStdout();
};