|
class IGameServer * | GameServer () |
|
class CConfig * | Config () |
|
const CConfig * | Config () const |
|
class IConsole * | Console () |
|
class IStorage * | Storage () |
|
class IEngineAntibot * | Antibot () |
|
class CDbConnectionPool * | DbPool () |
|
IEngine * | Engine () |
|
| CServer () |
|
| ~CServer () |
|
bool | IsClientNameAvailable (int ClientId, const char *pNameRequest) |
|
bool | SetClientNameImpl (int ClientId, const char *pNameRequest, bool Set) |
|
bool | SetClientClanImpl (int ClientId, const char *pClanRequest, bool Set) |
|
bool | WouldClientNameChange (int ClientId, const char *pNameRequest) override |
|
bool | WouldClientClanChange (int ClientId, const char *pClanRequest) override |
|
void | SetClientName (int ClientId, const char *pName) override |
|
void | SetClientClan (int ClientId, const char *pClan) override |
|
void | SetClientCountry (int ClientId, int Country) override |
|
void | SetClientScore (int ClientId, std::optional< int > Score) override |
|
void | SetClientFlags (int ClientId, int Flags) override |
|
void | Kick (int ClientId, const char *pReason) override |
|
void | Ban (int ClientId, int Seconds, const char *pReason, bool VerbatimReason) override |
|
void | RedirectClient (int ClientId, int Port, bool Verbose=false) override |
|
void | DemoRecorder_HandleAutoStart () override |
|
int64_t | TickStartTime (int Tick) |
|
int | Init () |
|
void | SendLogLine (const CLogMessage *pMessage) |
|
void | SetRconCid (int ClientId) override |
|
int | GetAuthedState (int ClientId) const override |
|
const char * | GetAuthName (int ClientId) const override |
|
void | GetMapInfo (char *pMapName, int MapNameSize, int *pMapSize, SHA256_DIGEST *pMapSha256, int *pMapCrc) override |
|
bool | GetClientInfo (int ClientId, CClientInfo *pInfo) const override |
|
void | SetClientDDNetVersion (int ClientId, int DDNetVersion) override |
|
void | GetClientAddr (int ClientId, char *pAddrStr, int Size) const override |
|
const char * | ClientName (int ClientId) const override |
|
const char * | ClientClan (int ClientId) const override |
|
int | ClientCountry (int ClientId) const override |
|
bool | ClientSlotEmpty (int ClientId) const override |
|
bool | ClientIngame (int ClientId) const override |
|
int | Port () const override |
|
int | MaxClients () const override |
|
int | ClientCount () const override |
|
int | DistinctClientCount () const override |
|
int | GetClientVersion (int ClientId) const override |
|
int | SendMsg (CMsgPacker *pMsg, int Flags, int ClientId) override |
|
void | DoSnapshot () |
|
void | SendRconType (int ClientId, bool UsernameReq) |
|
void | SendCapabilities (int ClientId) |
|
void | SendMap (int ClientId) |
|
void | SendMapData (int ClientId, int Chunk) |
|
void | SendMapReload (int ClientId) |
|
void | SendConnectionReady (int ClientId) |
|
void | SendRconLine (int ClientId, const char *pLine) |
|
void | SendRconLogLine (int ClientId, const CLogMessage *pMessage) |
|
void | SendRconCmdAdd (const IConsole::CCommandInfo *pCommandInfo, int ClientId) |
|
void | SendRconCmdRem (const IConsole::CCommandInfo *pCommandInfo, int ClientId) |
|
int | GetConsoleAccessLevel (int ClientId) |
|
int | NumRconCommands (int ClientId) |
|
void | UpdateClientRconCommands () |
|
bool | CheckReservedSlotAuth (int ClientId, const char *pPassword) |
|
void | ProcessClientPacket (CNetChunk *pPacket) |
|
void | FillAntibot (CAntibotRoundData *pData) override |
|
void | ExpireServerInfo () override |
|
void | CacheServerInfo (CCache *pCache, int Type, bool SendClients) |
|
void | CacheServerInfoSixup (CCache *pCache, bool SendClients) |
|
void | SendServerInfo (const NETADDR *pAddr, int Token, int Type, bool SendClients) |
|
void | GetServerInfoSixup (CPacker *pPacker, int Token, bool SendClients) |
|
bool | RateLimitServerInfoConnless () |
|
void | SendServerInfoConnless (const NETADDR *pAddr, int Token, int Type) |
|
void | UpdateRegisterServerInfo () |
|
void | UpdateServerInfo (bool Resend=false) |
|
void | PumpNetwork (bool PacketWaiting) |
|
void | ChangeMap (const char *pMap) override |
|
const char * | GetMapName () const override |
|
void | ReloadMap () override |
|
int | LoadMap (const char *pMapName) |
|
void | SaveDemo (int ClientId, float Time) override |
|
void | StartRecord (int ClientId) override |
|
void | StopRecord (int ClientId) override |
|
bool | IsRecording (int ClientId) override |
|
void | StopDemos () override |
|
int | Run () |
|
void | LogoutClient (int ClientId, const char *pReason) |
|
void | LogoutKey (int Key, const char *pReason) |
|
void | ConchainRconPasswordChangeGeneric (int Level, const char *pCurrent, IConsole::IResult *pResult) |
|
void | RegisterCommands () |
|
int | SnapNewId () override |
|
void | SnapFreeId (int Id) override |
|
void * | SnapNewItem (int Type, int Id, int Size) override |
|
void | SnapSetStaticsize (int ItemType, int Size) override |
|
void | GetClientAddr (int ClientId, NETADDR *pAddr) const override |
|
const char * | GetAnnouncementLine () override |
|
void | ReadAnnouncementsFile (const char *pFileName) override |
|
int * | GetIdMap (int ClientId) override |
|
void | InitDnsbl (int ClientId) |
|
bool | DnsblWhite (int ClientId) override |
|
bool | DnsblPending (int ClientId) override |
|
bool | DnsblBlack (int ClientId) override |
|
void | AuthRemoveKey (int KeySlot) |
|
bool | ClientPrevIngame (int ClientId) override |
|
const char * | GetNetErrorString (int ClientId) override |
|
void | ResetNetErrorString (int ClientId) override |
|
bool | SetTimedOut (int ClientId, int OrigId) override |
|
void | SetTimeoutProtected (int ClientId) override |
|
void | SendMsgRaw (int ClientId, const void *pData, int Size, int Flags) override |
|
bool | ErrorShutdown () const |
|
void | SetErrorShutdown (const char *pReason) override |
|
bool | IsSixup (int ClientId) const override |
|
void | SetLoggers (std::shared_ptr< ILogger > &&pFileLogger, std::shared_ptr< ILogger > &&pStdoutLogger) |
|
void | SendConnLoggingCommand (CONN_LOGGING_CMD Cmd, const NETADDR *pAddr) |
|
int | Tick () const |
|
int | TickSpeed () const |
|
virtual int | Port () const =0 |
|
virtual int | MaxClients () const =0 |
|
virtual int | ClientCount () const =0 |
|
virtual int | DistinctClientCount () const =0 |
|
virtual const char * | ClientName (int ClientId) const =0 |
|
virtual const char * | ClientClan (int ClientId) const =0 |
|
virtual int | ClientCountry (int ClientId) const =0 |
|
virtual bool | ClientSlotEmpty (int ClientId) const =0 |
|
virtual bool | ClientIngame (int ClientId) const =0 |
|
virtual bool | GetClientInfo (int ClientId, CClientInfo *pInfo) const =0 |
|
virtual void | SetClientDDNetVersion (int ClientId, int DDNetVersion)=0 |
|
virtual void | GetClientAddr (int ClientId, char *pAddrStr, int Size) const =0 |
|
virtual int | GetClientVersion (int ClientId) const =0 |
|
virtual int | SendMsg (CMsgPacker *pMsg, int Flags, int ClientId)=0 |
|
template<class T , typename std::enable_if<!protocol7::is_sixup< T >::value, int >::type = 0> |
int | SendPackMsg (const T *pMsg, int Flags, int ClientId) |
|
template<class T , typename std::enable_if< protocol7::is_sixup< T >::value, int >::type = 1> |
int | SendPackMsg (const T *pMsg, int Flags, int ClientId) |
|
template<class T > |
int | SendPackMsgTranslate (const T *pMsg, int Flags, int ClientId) |
|
int | SendPackMsgTranslate (const CNetMsg_Sv_Emoticon *pMsg, int Flags, int ClientId) |
|
int | SendPackMsgTranslate (const CNetMsg_Sv_Chat *pMsg, int Flags, int ClientId) |
|
int | SendPackMsgTranslate (const CNetMsg_Sv_KillMsg *pMsg, int Flags, int ClientId) |
|
int | SendPackMsgTranslate (const CNetMsg_Sv_RaceFinish *pMsg, int Flags, int ClientId) |
|
template<class T > |
int | SendPackMsgOne (const T *pMsg, int Flags, int ClientId) |
|
bool | Translate (int &Target, int Client) |
|
bool | ReverseTranslate (int &Target, int Client) |
|
virtual void | GetMapInfo (char *pMapName, int MapNameSize, int *pMapSize, SHA256_DIGEST *pSha256, int *pMapCrc)=0 |
|
virtual bool | WouldClientNameChange (int ClientId, const char *pNameRequest)=0 |
|
virtual bool | WouldClientClanChange (int ClientId, const char *pClanRequest)=0 |
|
virtual void | SetClientName (int ClientId, const char *pName)=0 |
|
virtual void | SetClientClan (int ClientId, const char *pClan)=0 |
|
virtual void | SetClientCountry (int ClientId, int Country)=0 |
|
virtual void | SetClientScore (int ClientId, std::optional< int > Score)=0 |
|
virtual void | SetClientFlags (int ClientId, int Flags)=0 |
|
virtual int | SnapNewId ()=0 |
|
virtual void | SnapFreeId (int Id)=0 |
|
virtual void * | SnapNewItem (int Type, int Id, int Size)=0 |
|
template<typename T > |
T * | SnapNewItem (int Id) |
|
virtual void | SnapSetStaticsize (int ItemType, int Size)=0 |
|
virtual void | SetRconCid (int ClientId)=0 |
|
virtual int | GetAuthedState (int ClientId) const =0 |
|
virtual const char * | GetAuthName (int ClientId) const =0 |
|
virtual void | Kick (int ClientId, const char *pReason)=0 |
|
virtual void | Ban (int ClientId, int Seconds, const char *pReason, bool VerbatimReason)=0 |
|
virtual void | RedirectClient (int ClientId, int Port, bool Verbose=false)=0 |
|
virtual void | ChangeMap (const char *pMap)=0 |
|
virtual void | ReloadMap ()=0 |
|
virtual void | DemoRecorder_HandleAutoStart ()=0 |
|
virtual void | SaveDemo (int ClientId, float Time)=0 |
|
virtual void | StartRecord (int ClientId)=0 |
|
virtual void | StopRecord (int ClientId)=0 |
|
virtual bool | IsRecording (int ClientId)=0 |
|
virtual void | StopDemos ()=0 |
|
virtual void | GetClientAddr (int ClientId, NETADDR *pAddr) const =0 |
|
virtual int * | GetIdMap (int ClientId)=0 |
|
virtual bool | DnsblWhite (int ClientId)=0 |
|
virtual bool | DnsblPending (int ClientId)=0 |
|
virtual bool | DnsblBlack (int ClientId)=0 |
|
virtual const char * | GetAnnouncementLine ()=0 |
|
virtual void | ReadAnnouncementsFile (const char *pFileName)=0 |
|
virtual bool | ClientPrevIngame (int ClientId)=0 |
|
virtual const char * | GetNetErrorString (int ClientId)=0 |
|
virtual void | ResetNetErrorString (int ClientId)=0 |
|
virtual bool | SetTimedOut (int ClientId, int OrigId)=0 |
|
virtual void | SetTimeoutProtected (int ClientId)=0 |
|
virtual void | SetErrorShutdown (const char *pReason)=0 |
|
virtual void | ExpireServerInfo ()=0 |
|
virtual void | FillAntibot (CAntibotRoundData *pData)=0 |
|
virtual void | SendMsgRaw (int ClientId, const void *pData, int Size, int Flags)=0 |
|
virtual const char * | GetMapName () const =0 |
|
virtual bool | IsSixup (int ClientId) const =0 |
|
| IInterface () |
|
virtual void | Shutdown () |
|
virtual | ~IInterface () |
|
|
static int | NewClientCallback (int ClientId, void *pUser, bool Sixup) |
|
static int | NewClientNoAuthCallback (int ClientId, void *pUser) |
|
static int | DelClientCallback (int ClientId, const char *pReason, void *pUser) |
|
static int | ClientRejoinCallback (int ClientId, void *pUser) |
|
static void | ConKick (IConsole::IResult *pResult, void *pUser) |
|
static void | ConStatus (IConsole::IResult *pResult, void *pUser) |
|
static void | ConShutdown (IConsole::IResult *pResult, void *pUser) |
|
static void | ConRecord (IConsole::IResult *pResult, void *pUser) |
|
static void | ConStopRecord (IConsole::IResult *pResult, void *pUser) |
|
static void | ConMapReload (IConsole::IResult *pResult, void *pUser) |
|
static void | ConLogout (IConsole::IResult *pResult, void *pUser) |
|
static void | ConShowIps (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAuthAdd (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAuthAddHashed (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAuthUpdate (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAuthUpdateHashed (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAuthRemove (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAuthList (IConsole::IResult *pResult, void *pUser) |
|
static void | ConAddSqlServer (IConsole::IResult *pResult, void *pUserData) |
|
static void | ConDumpSqlServers (IConsole::IResult *pResult, void *pUserData) |
|
static void | ConchainSpecialInfoupdate (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainMaxclientsperipUpdate (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainCommandAccessUpdate (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainRconPasswordChange (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainRconModPasswordChange (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainRconHelperPasswordChange (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainMapUpdate (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainSixupUpdate (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainLoglevel (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainStdoutOutputLevel (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainAnnouncementFileName (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static void | ConchainConnLoggingServerChange (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
|
static const char * | InterfaceName () |
|