iw4x-client/src/Components/Modules/Dedicated.hpp
Edo def50477fb
[Chat] Move chat commands here (#462)
* [Chat] Move chat commands here

* [General] Rename Cbuf_AddServerText to Cbuf_AddServerText_f
2022-08-27 23:19:09 +02:00

31 lines
632 B
C++

#pragma once
namespace Components
{
class Dedicated : public Component
{
public:
Dedicated();
static SteamID PlayerGuids[18][2];
static Dvar::Var SVLanOnly;
static Dvar::Var COMLogFilter;
static bool IsEnabled();
static void Heartbeat();
private:
static void InitDedicatedServer();
static void PostInitialization();
static void PostInitializationStub();
static void TransmitGuids();
static void TimeWrapStub(Game::errorParm_t code, const char* message);
static Game::dvar_t* Dvar_RegisterSVNetworkFps(const char* dvarName, int value, int min, int max, int flags, const char* description);
};
}