DDraceNetwork Documentation
Loading...
Searching...
No Matches
local_server.h
Go to the documentation of this file.
1#ifndef GAME_CLIENT_COMPONENTS_LOCAL_SERVER_H
2#define GAME_CLIENT_COMPONENTS_LOCAL_SERVER_H
3
4#include <base/types.h>
5
7
9
11{
12public:
13 bool 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)
23#endif
24};
25
26#endif
Definition component.h:15
Definition local_server.h:11
void KillServer()
Definition local_server.cpp:67
void RconAuthIfPossible()
Definition local_server.cpp:95
bool RunServer(const std::vector< const char * > &vpArguments)
Definition local_server.cpp:10
PROCESS m_Process
Definition local_server.h:22
bool IsServerRunning()
Definition local_server.cpp:82
char m_aRconPassword[sizeof(g_Config.m_SvRconPassword)]
Definition local_server.h:19
CConfig g_Config
Definition config.cpp:14
constexpr PROCESS INVALID_PROCESS
Definition types.h:124
pid_t PROCESS
Definition types.h:118