mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: inherit IEngineAPI through CTier1AppSystem
Must be inherited through CTier1AppSystem to match the game's interface. Removed extraneous IAppSystem virtual method declarations as they are no longer needed to pad the vftable out.
This commit is contained in:
parent
1e7bfcde2e
commit
d4d2244b93
@ -2,17 +2,9 @@
|
||||
#include "vpc/interfaces.h"
|
||||
#include "common/engine_launcher_api.h"
|
||||
|
||||
class CEngineAPI : public IEngineAPI
|
||||
class CEngineAPI : public CTier1AppSystem<IEngineAPI>
|
||||
{
|
||||
public:
|
||||
virtual bool Connect(const CreateInterfaceFn factory) = 0;
|
||||
virtual void Disconnect() = 0;
|
||||
virtual void* QueryInterface(const char* const pInterfaceName) = 0;
|
||||
virtual InitReturnVal_t Init() = 0;
|
||||
virtual void Shutdown() = 0;
|
||||
virtual AppSystemInfo_t* GetDependencies() = 0;
|
||||
virtual void Reconnect(const CreateInterfaceFn factory, const char* const pInterfaceName) = 0;
|
||||
|
||||
// This function must be called before init
|
||||
virtual bool SetStartupInfo(StartupInfo_t& info) = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user