3#ifndef ENGINE_SERVER_SERVER_H
4#define ENGINE_SERVER_SERVER_H
49 int BanExt(T *pBanPool,
const typename T::CDataType *pData,
int Seconds,
const char *pReason,
bool VerbatimReason);
56 int BanAddr(
const NETADDR *pAddr,
int Seconds,
const char *pReason,
bool VerbatimReason)
override;
80#if defined(CONF_FAMILY_UNIX)
89 int m_PreviousDebugDummies = 0;
90 void UpdateDebugDummies(
bool ForceDisconnect);
277 void SetClientName(
int ClientId,
const char *pName)
override;
278 void SetClientClan(
int ClientId,
const char *pClan)
override;
283 void Kick(
int ClientId,
const char *pReason)
override;
284 void Ban(
int ClientId,
int Seconds,
const char *pReason,
bool VerbatimReason)
override;
298 const char *
GetAuthName(
int ClientId)
const override;
299 void GetMapInfo(
char *pMapName,
int MapNameSize,
int *pMapSize,
SHA256_DIGEST *pMapSha256,
int *pMapCrc)
override;
302 void GetClientAddr(
int ClientId,
char *pAddrStr,
int Size)
const override;
303 const char *
ClientName(
int ClientId)
const override;
304 const char *
ClientClan(
int ClientId)
const override;
308 int Port()
const override;
361 void AddChunk(
const void *pData,
int Size);
382 void ChangeMap(
const char *pMap)
override;
385 int LoadMap(
const char *pMapName);
387 void SaveDemo(
int ClientId,
float Time)
override;
422 void LogoutKey(
int Key,
const char *pReason);
434#if defined(CONF_FAMILY_UNIX)
442 void *
SnapNewItem(
int Type,
int Id,
int Size)
override;
452 int *
GetIdMap(
int ClientId)
override;
473 bool SetTimedOut(
int ClientId,
int OrigId)
override;
476 void SendMsgRaw(
int ClientId,
const void *pData,
int Size,
int Flags)
override;
483 void SetLoggers(std::shared_ptr<ILogger> &&pFileLogger, std::shared_ptr<ILogger> &&pStdoutLogger);
485#ifdef CONF_FAMILY_UNIX
Definition: authmanager.h:11
Definition: connection_pool.h:61
Definition: host_lookup.h:11
Definition: name_ban.h:29
Definition: network.h:385
int ResetErrorString(int ClientId)
Definition: network_server.cpp:807
void SetTimeoutProtected(int ClientId)
Definition: network_server.cpp:802
const char * ErrorString(int ClientId)
Definition: network_server.cpp:813
static void ConBanRegionRange(class IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:174
static void ConBanRegion(class IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:164
void InitServerBan(class IConsole *pConsole, class IStorage *pStorage, class CServer *pServer)
Definition: server.cpp:55
class CServer * m_pServer
Definition: server.h:46
int BanExt(T *pBanPool, const typename T::CDataType *pData, int Seconds, const char *pReason, bool VerbatimReason)
Definition: server.cpp:68
class CServer * Server() const
Definition: server.h:52
static void ConBanExt(class IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:144
int BanAddr(const NETADDR *pAddr, int Seconds, const char *pReason, bool VerbatimReason) override
Definition: server.cpp:130
int BanRange(const CNetRange *pRange, int Seconds, const char *pReason) override
Definition: server.cpp:135
Definition: server_logger.h:10
std::vector< uint8_t > m_vData
Definition: server.h:353
CCacheChunk(CCacheChunk &&)=default
CCacheChunk(const CCacheChunk &)=delete
CCacheChunk(const void *pData, int Size)
Definition: server.cpp:1940
void Clear()
Definition: server.cpp:1950
void AddChunk(const void *pData, int Size)
Definition: server.cpp:1945
CCache()
Definition: server.cpp:1930
std::vector< CCacheChunk > m_vCache
Definition: server.h:356
~CCache()
Definition: server.cpp:1935
double m_Traffic
Definition: server.h:143
NETADDR m_Addr
Definition: server.h:175
int64_t m_RedirectDropTime
Definition: server.h:181
int m_CurrentInput
Definition: server.h:152
void Reset()
Definition: server.cpp:210
int m_NextMapChunk
Definition: server.h:161
CSnapshotStorage m_Snapshots
Definition: server.h:148
bool m_DebugDummy
Definition: server.h:164
bool m_ShowIps
Definition: server.h:163
int m_LastAckedSnapshot
Definition: server.h:146
CInput m_aInputs[200]
Definition: server.h:151
@ STATE_REDIRECTED
Definition: server.h:119
@ SNAPRATE_FULL
Definition: server.h:122
@ DNSBL_STATE_BLACKLISTED
Definition: server.h:127
@ STATE_INGAME
Definition: server.h:118
@ STATE_EMPTY
Definition: server.h:113
@ STATE_CONNECTING
Definition: server.h:116
@ SNAPRATE_RECOVER
Definition: server.h:123
@ DNSBL_STATE_PENDING
Definition: server.h:126
@ SNAPRATE_INIT
Definition: server.h:121
@ STATE_AUTH
Definition: server.h:115
@ STATE_READY
Definition: server.h:117
@ STATE_PREAUTH
Definition: server.h:114
@ DNSBL_STATE_NONE
Definition: server.h:125
@ DNSBL_STATE_WHITELISTED
Definition: server.h:128
int m_DDNetVersion
Definition: server.h:178
char m_aDDNetVersionStr[64]
Definition: server.h:179
int m_AuthTries
Definition: server.h:160
void * m_pPersistentData
Definition: server.h:169
int m_Latency
Definition: server.h:140
int m_Authed
Definition: server.h:158
int m_State
Definition: server.h:139
int m_AuthKey
Definition: server.h:159
char m_aClan[MAX_CLAN_LENGTH]
Definition: server.h:155
const IConsole::CCommandInfo * m_pRconCmdToSend
Definition: server.h:166
bool m_HasPersistentData
Definition: server.h:168
CUuid m_ConnectionId
Definition: server.h:180
bool m_Sixup
Definition: server.h:187
bool IncludedInServerInfo() const
Definition: server.h:189
int m_Flags
Definition: server.h:162
int m_LastInputTick
Definition: server.h:147
char m_aName[MAX_NAME_LENGTH]
Definition: server.h:154
bool m_DDNetVersionSettled
Definition: server.h:177
int m_Country
Definition: server.h:156
int m_DnsblState
Definition: server.h:184
int m_SnapRate
Definition: server.h:141
std::optional< int > m_Score
Definition: server.h:157
bool m_GotDDNetVersionPacket
Definition: server.h:176
CInput m_LatestInput
Definition: server.h:150
int64_t m_TrafficSince
Definition: server.h:144
std::shared_ptr< CHostLookup > m_pDnsblLookup
Definition: server.h:185
CSnapshotBuilder m_SnapshotBuilder
Definition: server.h:199
void SendMsgRaw(int ClientId, const void *pData, int Size, int Flags) override
Definition: server.cpp:865
UNIXSOCKET m_ConnLoggingSocket
Definition: server.h:83
void SetClientName(int ClientId, const char *pName) override
Definition: server.cpp:426
static void ConchainSixupUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3814
bool CheckReservedSlotAuth(int ClientId, const char *pPassword)
Definition: server.cpp:1415
void ExpireServerInfo() override
Definition: server.cpp:2313
void GetMapInfo(char *pMapName, int MapNameSize, int *pMapSize, SHA256_DIGEST *pMapSha256, int *pMapCrc) override
Definition: server.cpp:1194
void SetClientCountry(int ClientId, int Country) override
Definition: server.cpp:436
void SetClientFlags(int ClientId, int Flags) override
Definition: server.cpp:455
int GetAuthedState(int ClientId) const override
Definition: server.cpp:569
static void ConDumpSqlServers(IConsole::IResult *pResult, void *pUserData)
Definition: server.cpp:3632
void DoSnapshot()
Definition: server.cpp:884
void RedirectClient(int ClientId, int Port, bool Verbose=false) override
Definition: server.cpp:491
static void ConchainCommandAccessUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3676
int64_t TickStartTime(int Tick)
Definition: server.cpp:520
char m_aErrorShutdownReason[128]
Definition: server.h:258
void CacheServerInfo(CCache *pCache, int Type, bool SendClients)
Definition: server.cpp:1955
void Ban(int ClientId, int Seconds, const char *pReason, bool VerbatimReason) override
Definition: server.cpp:484
int m_aIdMap[MAX_CLIENTS *VANILLA_MAX_CLIENTS]
Definition: server.h:196
@ RUNNING
Definition: server.h:215
@ STOPPING
Definition: server.h:216
@ UNINITIALIZED
Definition: server.h:214
const char * GetAnnouncementLine() override
Definition: server.cpp:4000
void SetClientClan(int ClientId, const char *pClan) override
Definition: server.cpp:431
static void ConAddSqlServer(IConsole::IResult *pResult, void *pUserData)
Definition: server.cpp:3583
bool DnsblPending(int ClientId) override
Definition: server.h:460
void ReadAnnouncementsFile()
Definition: server.cpp:3977
CServerBan m_ServerBan
Definition: server.h:204
CSnapshotDelta m_SnapshotDelta
Definition: server.h:198
bool IsSixup(int ClientId) const override
Definition: server.h:481
void SetRconCid(int ClientId) override
Definition: server.cpp:564
class CDbConnectionPool * m_pConnectionPool
Definition: server.h:86
bool IsRecording(int ClientId) override
Definition: server.cpp:3489
const char * ClientClan(int ClientId) const override
Definition: server.cpp:639
int * GetIdMap(int ClientId) override
Definition: server.cpp:4029
void GetServerInfoSixup(CPacker *pPacker, int Token, bool SendClients)
Definition: server.cpp:2285
void SetClientScore(int ClientId, std::optional< int > Score) override
Definition: server.cpp:444
const char * GetMapName() const override
Definition: server.cpp:2552
void StopDemos() override
Definition: server.cpp:3494
void AuthRemoveKey(int KeySlot)
Definition: server.cpp:3202
void SendCapabilities(int ClientId)
Definition: server.cpp:1202
class IConsole * m_pConsole
Definition: server.h:70
bool SetTimedOut(int ClientId, int OrigId) override
Definition: server.cpp:4034
void RegisterCommands()
Definition: server.cpp:3881
bool IsClientNameAvailable(int ClientId, const char *pNameRequest)
Definition: server.cpp:295
int Port() const override
Definition: server.cpp:669
bool SetClientNameImpl(int ClientId, const char *pNameRequest, bool Set)
Definition: server.cpp:319
SHA256_DIGEST m_aCurrentMapSha256[NUM_MAP_TYPES]
Definition: server.h:246
void SendConnectionReady(int ClientId)
Definition: server.cpp:1288
static void ConchainStdoutOutputLevel(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3832
void SnapSetStaticsize(int ItemType, int Size) override
Definition: server.cpp:3961
int Run()
Definition: server.cpp:2692
std::shared_ptr< ILogger > m_pFileLogger
Definition: server.h:265
bool m_ConnLoggingSocketCreated
Definition: server.h:82
static void ConchainAnnouncementFileName(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3842
bool DnsblWhite(int ClientId) override
Definition: server.h:455
void CacheServerInfoSixup(CCache *pCache, bool SendClients)
Definition: server.cpp:2169
class IStorage * m_pStorage
Definition: server.h:71
static void ConchainRconHelperPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3797
class IEngineAntibot * m_pAntibot
Definition: server.h:72
CHttp m_Http
Definition: server.h:205
static int ClientRejoinCallback(int ClientId, void *pUser)
Definition: server.cpp:1017
void InitDnsbl(int ClientId)
Definition: server.cpp:1104
CNetServer m_NetServer
Definition: server.h:201
void PumpNetwork(bool PacketWaiting)
Definition: server.cpp:2447
void SendLogLine(const CLogMessage *pMessage)
Definition: server.cpp:552
std::shared_ptr< ILogger > m_pStdoutLogger
Definition: server.h:266
int m_ServerInfoNumRequests
Definition: server.h:256
static void ConRecord(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3505
int m_RunServer
Definition: server.h:219
static void ConchainMapUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3804
int SnapNewId() override
Definition: server.cpp:3945
bool ClientSlotEmpty(int ClientId) const override
Definition: server.cpp:659
static void ConAuthAddHashed(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3248
void SendMapReload(int ClientId)
Definition: server.cpp:1282
IEngineMap * m_pMap
Definition: server.h:207
bool m_ReloadedWhenEmpty
Definition: server.h:223
const char * ClientName(int ClientId) const override
Definition: server.cpp:629
CDemoRecorder m_aDemoRecorder[NUM_RECORDERS]
Definition: server.h:252
bool DnsblBlack(int ClientId) override
Definition: server.h:464
bool m_MapReload
Definition: server.h:221
void * SnapNewItem(int Type, int Id, int Size) override
Definition: server.cpp:3955
void UpdateClientRconCommands()
Definition: server.cpp:1378
static int NewClientCallback(int ClientId, void *pUser, bool Sixup)
Definition: server.cpp:1071
CUPnP m_UPnP
Definition: server.h:77
bool WouldClientClanChange(int ClientId, const char *pClanRequest) override
Definition: server.cpp:421
unsigned m_aCurrentMapCrc[NUM_MAP_TYPES]
Definition: server.h:247
int MaxClients() const override
Definition: server.cpp:674
class IStorage * Storage()
Definition: server.h:98
static void ConShutdown(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3403
const CConfig * Config() const
Definition: server.h:96
class IGameServer * GameServer()
Definition: server.h:94
@ RECORDER_AUTO
Definition: server.h:240
@ NUM_RECORDERS
Definition: server.h:241
@ RECORDER_MANUAL
Definition: server.h:239
int GetConsoleAccessLevel(int ClientId)
Definition: server.cpp:1361
static void ConchainRconModPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3790
void UpdateRegisterServerInfo()
Definition: server.cpp:2318
void SendRconType(int ClientId, bool UsernameReq)
Definition: server.cpp:1187
static void ConAuthList(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3395
const char * GetAuthName(int ClientId) const override
Definition: server.cpp:576
class IGameServer * m_pGameServer
Definition: server.h:68
char m_aCurrentMap[IO_MAX_PATH_LENGTH]
Definition: server.h:244
class CConfig * m_pConfig
Definition: server.h:69
std::vector< std::string > m_vAnnouncements
Definition: server.h:263
int64_t m_GameStartTime
Definition: server.h:209
static void ConReloadAnnouncement(IConsole::IResult *pResult, void *pUserData)
Definition: server.cpp:3652
void LogoutClient(int ClientId, const char *pReason)
Definition: server.cpp:3707
bool SetClientClanImpl(int ClientId, const char *pClanRequest, bool Set)
Definition: server.cpp:375
static void ConAuthAdd(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3221
const char * GetNetErrorString(int ClientId) override
Definition: server.h:471
void SendServerInfoConnless(const NETADDR *pAddr, int Token, int Type)
Definition: server.cpp:1915
static void ConAuthUpdateHashed(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3320
CCache m_aServerInfoCache[3 *2]
Definition: server.h:364
void FillAntibot(CAntibotRoundData *pData) override
Definition: server.cpp:2300
void SendMap(int ClientId)
Definition: server.cpp:1210
void SendRconLogLine(int ClientId, const CLogMessage *pMessage)
Definition: server.cpp:1301
void DemoRecorder_HandleAutoStart() override
Definition: server.cpp:3414
int m_RconClientId
Definition: server.h:224
@ MAP_TYPE_SIX
Definition: server.h:232
@ NUM_MAP_TYPES
Definition: server.h:234
@ MAP_TYPE_SIXUP
Definition: server.h:233
void GetClientAddr(int ClientId, char *pAddrStr, int Size) const override
Definition: server.cpp:622
static void ConchainLoglevel(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3822
int DistinctClientCount() const override
Definition: server.cpp:693
class IRegister * m_pRegister
Definition: server.h:73
CNameBans m_NameBans
Definition: server.h:260
int ClientCountry(int ClientId) const override
Definition: server.cpp:649
static void ConStatus(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3132
bool RateLimitServerInfoConnless()
Definition: server.cpp:1893
int SendMsg(CMsgPacker *pMsg, int Flags, int ClientId) override
Definition: server.cpp:788
static void ConchainMaxclientsperipUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3669
int m_PrintCBIndex
Definition: server.h:226
CSnapIdPool m_IdPool
Definition: server.h:200
CCache m_aSixupServerInfoCache[2]
Definition: server.h:365
static int DelClientCallback(int ClientId, const char *pReason, void *pUser)
Definition: server.cpp:1147
void UpdateServerInfo(bool Resend=false)
Definition: server.cpp:2412
void SendRconLine(int ClientId, const char *pLine)
Definition: server.cpp:1294
CServer()
Definition: server.cpp:228
int GetClientVersion(int ClientId) const override
Definition: server.cpp:725
void LogoutKey(int Key, const char *pReason)
Definition: server.cpp:3746
void ProcessClientPacket(CNetChunk *pPacket)
Definition: server.cpp:1447
void ResetNetErrorString(int ClientId) override
Definition: server.h:472
bool WouldClientNameChange(int ClientId, const char *pNameRequest) override
Definition: server.cpp:416
void * m_pPersistentData
Definition: server.h:228
void StopRecord(int ClientId) override
Definition: server.cpp:3481
bool ClientPrevIngame(int ClientId) override
Definition: server.h:470
char m_aMapDownloadUrl[256]
Definition: server.h:250
static void ConAuthRemove(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3364
@ MAX_RCONCMD_SEND
Definition: server.h:105
bool m_ServerInfoNeedsUpdate
Definition: server.h:366
void ReloadMap() override
Definition: server.cpp:2563
static void ConAuthUpdate(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3291
IEngine * m_pEngine
Definition: server.h:74
CONN_LOGGING_CMD
Definition: server.h:487
@ OPEN_SESSION
Definition: server.h:488
@ CLOSE_SESSION
Definition: server.h:489
void SendConnLoggingCommand(CONN_LOGGING_CMD Cmd, const NETADDR *pAddr)
Definition: server.cpp:1131
bool GetClientInfo(int ClientId, CClientInfo *pInfo) const override
Definition: server.cpp:585
void SendServerInfo(const NETADDR *pAddr, int Token, int Type, bool SendClients)
Definition: server.cpp:2231
CClient m_aClients[MAX_CLIENTS]
Definition: server.h:195
UNIXSOCKETADDR m_ConnLoggingDestAddr
Definition: server.h:81
unsigned char * m_apCurrentMapData[NUM_MAP_TYPES]
Definition: server.h:248
static void ConShowIps(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3563
class IEngineAntibot * Antibot()
Definition: server.h:99
static int NewClientNoAuthCallback(int ClientId, void *pUser)
Definition: server.cpp:1039
IEngine * Engine()
Definition: server.h:101
static void ConchainRconPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3783
static void ConStopRecord(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3542
CEcon m_Econ
Definition: server.h:202
int NumRconCommands(int ClientId)
Definition: server.cpp:1366
class CDbConnectionPool * DbPool()
Definition: server.h:100
class CConfig * Config()
Definition: server.h:95
int Init()
Definition: server.cpp:525
int ClientCount() const override
Definition: server.cpp:679
CFifo m_Fifo
Definition: server.h:203
void ChangeMap(const char *pMap) override
Definition: server.cpp:2557
bool ClientIngame(int ClientId) const override
Definition: server.cpp:664
size_t m_AnnouncementLastLine
Definition: server.h:262
void StartRecord(int ClientId) override
Definition: server.cpp:3458
int LoadMap(const char *pMapName)
Definition: server.cpp:2568
int m_aPrevStates[MAX_CLIENTS]
Definition: server.h:448
int m_RconAuthLevel
Definition: server.h:225
bool ErrorShutdown() const
Definition: server.h:478
unsigned int m_aCurrentMapSize[NUM_MAP_TYPES]
Definition: server.h:249
static void ConchainConnLoggingServerChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3854
void SendRconCmdRem(const IConsole::CCommandInfo *pCommandInfo, int ClientId)
Definition: server.cpp:1354
int64_t m_ServerInfoFirstRequest
Definition: server.h:255
char m_aShutdownReason[128]
Definition: server.h:227
static void ConLogout(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3552
static void ConKick(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3120
void SaveDemo(int ClientId, float Time) override
Definition: server.cpp:3448
void SendRconCmdAdd(const IConsole::CCommandInfo *pCommandInfo, int ClientId)
Definition: server.cpp:1345
void SetClientDDNetVersion(int ClientId, int DDNetVersion) override
Definition: server.cpp:611
void ConchainRconPasswordChangeGeneric(int Level, const char *pCurrent, IConsole::IResult *pResult)
Definition: server.cpp:3753
void SetLoggers(std::shared_ptr< ILogger > &&pFileLogger, std::shared_ptr< ILogger > &&pStdoutLogger)
Definition: server.cpp:4060
void SetErrorShutdown(const char *pReason) override
Definition: server.cpp:4055
class IConsole * Console()
Definition: server.h:97
static void ConchainSpecialInfoupdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3658
void Kick(int ClientId, const char *pReason) override
Definition: server.cpp:463
void SendMapData(int ClientId, int Chunk)
Definition: server.cpp:1246
const char * m_pCurrentMapName
Definition: server.h:245
~CServer()
Definition: server.cpp:275
CAuthManager m_AuthManager
Definition: server.h:253
bool m_SameMapReload
Definition: server.h:222
void SetTimeoutProtected(int ClientId) override
Definition: server.h:474
void SnapFreeId(int Id) override
Definition: server.cpp:3950
static void ConMapReload(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3547
Definition: snap_id_pool.h:8
Definition: snapshot.h:146
Definition: snapshot.h:74
Definition: snapshot.h:115
void(* FCommandCallback)(IResult *pResult, void *pUserData)
Definition: console.h:94
Definition: register.h:11
int Tick() const
Definition: server.h:49
@ MAX_CLAN_LENGTH
Definition: protocol.h:98
@ MAX_INPUT_SIZE
Definition: protocol.h:94
@ MAX_CLIENTS
Definition: protocol.h:88
@ VANILLA_MAX_CLIENTS
Definition: protocol.h:89
@ MAX_NAME_LENGTH
Definition: protocol.h:97
int UNIXSOCKET
Definition: system.h:806
struct sockaddr_un UNIXSOCKETADDR
Definition: system.h:810
CServer * CreateServer()
Definition: server.cpp:3966
@ SERVER_DEMO_CLIENT
Definition: server.h:26
Definition: antibot_data.h:98
Definition: network.h:139
Definition: uuid_manager.h:17
@ IO_MAX_PATH_LENGTH
Definition: types.h:43