1#ifndef GAME_CLIENT_COMPONENTS_LOCAL_SERVER_H
2#define GAME_CLIENT_COMPONENTS_LOCAL_SERVER_H
3
4#include <base/types.h>
5
6#include <engine/shared/config.h>
7
8#include <game/client/component.h>
9
10class CLocalServer : public CComponentInterfaces
11{
12public:
13 void RunServer(const std::vector<const char *> &vpArguments);
14 void KillServer();
15 bool IsServerRunning();
16 void RconAuthIfPossible();
17
18private:
19 char m_aRconPassword[sizeof(g_Config.m_SvRconPassword)] = "";
20
21#if !defined(CONF_PLATFORM_ANDROID)
22 PROCESS m_Process = INVALID_PROCESS;
23#endif
24};
25
26#endif
27