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

36 lines
733 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;
2017-01-29 15:49:48 -05:00
2017-01-19 16:23:59 -05:00
static bool IsEnabled();
static void Heartbeat();
private:
2021-11-16 13:21:06 -05:00
static Dvar::Var SVRandomMapRotation;
static void RandomizeMapRotation();
2017-01-19 16:23:59 -05:00
static void MapRotate();
static void InitDedicatedServer();
static void PostInitialization();
static void PostInitializationStub();
static void FrameStub();
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
};
}