mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:30:53 +01:00
17 lines
326 B
C++
17 lines
326 B
C++
#pragma once
|
|
|
|
class IGameServerInstance
|
|
{
|
|
public:
|
|
virtual ~IGameServerInstance() = default;
|
|
|
|
// lifetime control
|
|
virtual bool Initialize() = 0;
|
|
virtual void Shutdown() = 0;
|
|
|
|
virtual bool IsListening() = 0;
|
|
virtual bool IsRunning() = 0;
|
|
|
|
// update the server logic
|
|
virtual void Update() = 0;
|
|
};
|