iw4x-client/src/Components/Modules/Dedicated.hpp

31 lines
548 B
C++
Raw Normal View History

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();
static SteamID PlayerGuids[18][2];
2022-05-03 19:03:11 -04:00
static Dvar::Var SVLanOnly;
static Dvar::Var SVMOTD;
static Dvar::Var COMLogFilter;
2017-01-29 15:49:48 -05:00
2017-01-19 16:23:59 -05:00
static bool IsEnabled();
static bool IsRunning();
2017-01-19 16:23:59 -05:00
static void Heartbeat();
private:
static void InitDedicatedServer();
static void PostInitialization();
static void PostInitializationStub();
2017-01-29 15:49:48 -05:00
static void TransmitGuids();
static void TimeWrapStub(Game::errorParm_t code, const char* message);
2017-01-19 16:23:59 -05:00
};
}