2017-01-20 08:36:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Dedicated : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Dedicated();
|
|
|
|
|
2017-02-17 06:26:07 -05:00
|
|
|
static SteamID PlayerGuids[18][2];
|
2022-05-03 19:03:11 -04:00
|
|
|
static Dvar::Var SVLanOnly;
|
2022-06-04 16:16:55 -04:00
|
|
|
static Dvar::Var COMLogFilter;
|
2017-01-29 15:49:48 -05:00
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
static bool IsEnabled();
|
|
|
|
|
|
|
|
static void Heartbeat();
|
|
|
|
|
|
|
|
private:
|
|
|
|
static void InitDedicatedServer();
|
|
|
|
|
|
|
|
static void PostInitialization();
|
|
|
|
static void PostInitializationStub();
|
|
|
|
|
2017-01-29 15:49:48 -05:00
|
|
|
static void TransmitGuids();
|
|
|
|
|
2021-11-16 11:56:13 -05:00
|
|
|
static void TimeWrapStub(Game::errorParm_t code, const char* message);
|
2022-02-03 16:09:17 -05:00
|
|
|
|
|
|
|
static Game::dvar_t* Dvar_RegisterSVNetworkFps(const char* dvarName, int value, int min, int max, int flags, const char* description);
|
2022-05-27 06:19:28 -04:00
|
|
|
|
|
|
|
static void AddDedicatedCommands();
|
2017-01-19 16:23:59 -05:00
|
|
|
};
|
|
|
|
}
|