DDraceNetwork Docs
CAntibot Class Reference

#include <antibot.h>

Inheritance diagram for CAntibot:
[legend]
Collaboration diagram for CAntibot:
[legend]

Public Member Functions

 CAntibot ()
 
virtual ~CAntibot ()
 
void Init () override
 
void OnEngineTick () override
 
void OnEngineClientJoin (int ClientId, bool Sixup) override
 
void OnEngineClientDrop (int ClientId, const char *pReason) override
 
bool OnEngineClientMessage (int ClientId, const void *pData, int Size, int Flags) override
 
bool OnEngineServerMessage (int ClientId, const void *pData, int Size, int Flags) override
 
bool OnEngineSimulateClientMessage (int *pClientId, void *pBuffer, int BufferSize, int *pOutSize, int *pFlags) override
 
void RoundStart (class IGameServer *pGameServer) override
 
void RoundEnd () override
 
void OnPlayerInit (int ClientId) override
 
void OnPlayerDestroy (int ClientId) override
 
void OnSpawn (int ClientId) override
 
void OnHammerFireReloading (int ClientId) override
 
void OnHammerFire (int ClientId) override
 
void OnHammerHit (int ClientId, int TargetId) override
 
void OnDirectInput (int ClientId) override
 
void OnCharacterTick (int ClientId) override
 
void OnHookAttach (int ClientId, bool Player) override
 
void ConsoleCommand (const char *pCommand) override
 
- Public Member Functions inherited from IEngineAntibot
virtual void Init ()=0
 
virtual void OnEngineTick ()=0
 
virtual void OnEngineClientJoin (int ClientId, bool Sixup)=0
 
virtual void OnEngineClientDrop (int ClientId, const char *pReason)=0
 
virtual bool OnEngineClientMessage (int ClientId, const void *pData, int Size, int Flags)=0
 
virtual bool OnEngineServerMessage (int ClientId, const void *pData, int Size, int Flags)=0
 
virtual bool OnEngineSimulateClientMessage (int *pClientId, void *pBuffer, int BufferSize, int *pOutSize, int *pFlags)=0
 
virtual ~IEngineAntibot ()
 
- Public Member Functions inherited from IAntibot
virtual void RoundStart (class IGameServer *pGameServer)=0
 
virtual void RoundEnd ()=0
 
virtual void OnPlayerInit (int ClientId)=0
 
virtual void OnPlayerDestroy (int ClientId)=0
 
virtual void OnSpawn (int ClientId)=0
 
virtual void OnHammerFireReloading (int ClientId)=0
 
virtual void OnHammerFire (int ClientId)=0
 
virtual void OnHammerHit (int ClientId, int TargetId)=0
 
virtual void OnDirectInput (int ClientId)=0
 
virtual void OnCharacterTick (int ClientId)=0
 
virtual void OnHookAttach (int ClientId, bool Player)=0
 
virtual void ConsoleCommand (const char *pCommand)=0
 
virtual ~IAntibot ()
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Private Member Functions

class IServerServer () const
 
class IConsoleConsole () const
 
class IGameServerGameServer () const
 
void Update ()
 

Static Private Member Functions

static void Kick (int ClientId, const char *pMessage, void *pUser)
 
static void Log (const char *pMessage, void *pUser)
 
static void Report (int ClientId, const char *pMessage, void *pUser)
 
static void Send (int ClientId, const void *pData, int Size, int Flags, void *pUser)
 
static void Teehistorian (const void *pData, int Size, void *pUser)
 

Private Attributes

class IServerm_pServer
 
class IConsolem_pConsole
 
class IGameServerm_pGameServer
 
CAntibotData m_Data
 
CAntibotRoundData m_RoundData
 
bool m_Initialized
 

Additional Inherited Members

- Static Public Member Functions inherited from IEngineAntibot
static const char * InterfaceName ()
 
- Static Public Member Functions inherited from IAntibot
static const char * InterfaceName ()
 
- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Constructor & Destructor Documentation

◆ CAntibot()

CAntibot::CAntibot ( )

◆ ~CAntibot()

CAntibot::~CAntibot ( )
virtual

Member Function Documentation

◆ Console()

class IConsole * CAntibot::Console ( ) const
inlineprivate

◆ ConsoleCommand()

void CAntibot::ConsoleCommand ( const char *  pCommand)
overridevirtual

Implements IAntibot.

◆ GameServer()

class IGameServer * CAntibot::GameServer ( ) const
inlineprivate

◆ Init()

void CAntibot::Init ( )
overridevirtual

Implements IEngineAntibot.

◆ Kick()

void CAntibot::Kick ( int  ClientId,
const char *  pMessage,
void *  pUser 
)
staticprivate

◆ Log()

void CAntibot::Log ( const char *  pMessage,
void *  pUser 
)
staticprivate

◆ OnCharacterTick()

void CAntibot::OnCharacterTick ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ OnDirectInput()

void CAntibot::OnDirectInput ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ OnEngineClientDrop()

void CAntibot::OnEngineClientDrop ( int  ClientId,
const char *  pReason 
)
overridevirtual

Implements IEngineAntibot.

◆ OnEngineClientJoin()

void CAntibot::OnEngineClientJoin ( int  ClientId,
bool  Sixup 
)
overridevirtual

Implements IEngineAntibot.

◆ OnEngineClientMessage()

bool CAntibot::OnEngineClientMessage ( int  ClientId,
const void *  pData,
int  Size,
int  Flags 
)
overridevirtual

Implements IEngineAntibot.

◆ OnEngineServerMessage()

bool CAntibot::OnEngineServerMessage ( int  ClientId,
const void *  pData,
int  Size,
int  Flags 
)
overridevirtual

Implements IEngineAntibot.

◆ OnEngineSimulateClientMessage()

bool CAntibot::OnEngineSimulateClientMessage ( int *  pClientId,
void *  pBuffer,
int  BufferSize,
int *  pOutSize,
int *  pFlags 
)
overridevirtual

Implements IEngineAntibot.

◆ OnEngineTick()

void CAntibot::OnEngineTick ( )
overridevirtual

Implements IEngineAntibot.

◆ OnHammerFire()

void CAntibot::OnHammerFire ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ OnHammerFireReloading()

void CAntibot::OnHammerFireReloading ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ OnHammerHit()

void CAntibot::OnHammerHit ( int  ClientId,
int  TargetId 
)
overridevirtual

Implements IAntibot.

◆ OnHookAttach()

void CAntibot::OnHookAttach ( int  ClientId,
bool  Player 
)
overridevirtual

Implements IAntibot.

◆ OnPlayerDestroy()

void CAntibot::OnPlayerDestroy ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ OnPlayerInit()

void CAntibot::OnPlayerInit ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ OnSpawn()

void CAntibot::OnSpawn ( int  ClientId)
overridevirtual

Implements IAntibot.

◆ Report()

void CAntibot::Report ( int  ClientId,
const char *  pMessage,
void *  pUser 
)
staticprivate

◆ RoundEnd()

void CAntibot::RoundEnd ( )
overridevirtual

Implements IAntibot.

◆ RoundStart()

void CAntibot::RoundStart ( class IGameServer pGameServer)
overridevirtual

Implements IAntibot.

◆ Send()

void CAntibot::Send ( int  ClientId,
const void *  pData,
int  Size,
int  Flags,
void *  pUser 
)
staticprivate

◆ Server()

class IServer * CAntibot::Server ( ) const
inlineprivate

◆ Teehistorian()

void CAntibot::Teehistorian ( const void *  pData,
int  Size,
void *  pUser 
)
staticprivate

◆ Update()

void CAntibot::Update ( )
private

Member Data Documentation

◆ m_Data

CAntibotData CAntibot::m_Data
private

◆ m_Initialized

bool CAntibot::m_Initialized
private

◆ m_pConsole

class IConsole* CAntibot::m_pConsole
private

◆ m_pGameServer

class IGameServer* CAntibot::m_pGameServer
private

◆ m_pServer

class IServer* CAntibot::m_pServer
private

◆ m_RoundData

CAntibotRoundData CAntibot::m_RoundData
private

The documentation for this class was generated from the following files: