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

31 lines
632 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 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();
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);
2017-01-19 16:23:59 -05:00
};
}