DDraceNetwork Docs
CNameBans Class Reference

#include <name_ban.h>

Collaboration diagram for CNameBans:
[legend]

Public Member Functions

void InitConsole (IConsole *pConsole)
 
void Ban (const char *pName, const char *pReason, const int Distance, const bool IsSubstring)
 
void Unban (const char *pName)
 
void Dump () const
 
const CNameBanIsBanned (const char *pName) const
 

Static Private Member Functions

static void ConNameBan (IConsole::IResult *pResult, void *pUser)
 
static void ConNameUnban (IConsole::IResult *pResult, void *pUser)
 
static void ConNameBans (IConsole::IResult *pResult, void *pUser)
 

Private Attributes

IConsolem_pConsole = nullptr
 
std::vector< CNameBanm_vNameBans
 

Member Function Documentation

◆ Ban()

void CNameBans::Ban ( const char *  pName,
const char *  pReason,
const int  Distance,
const bool  IsSubstring 
)

◆ ConNameBan()

void CNameBans::ConNameBan ( IConsole::IResult pResult,
void *  pUser 
)
staticprivate

◆ ConNameBans()

void CNameBans::ConNameBans ( IConsole::IResult pResult,
void *  pUser 
)
staticprivate

◆ ConNameUnban()

void CNameBans::ConNameUnban ( IConsole::IResult pResult,
void *  pUser 
)
staticprivate

◆ Dump()

void CNameBans::Dump ( ) const

◆ InitConsole()

void CNameBans::InitConsole ( IConsole pConsole)

◆ IsBanned()

const CNameBan * CNameBans::IsBanned ( const char *  pName) const

◆ Unban()

void CNameBans::Unban ( const char *  pName)

Member Data Documentation

◆ m_pConsole

IConsole* CNameBans::m_pConsole = nullptr
private

◆ m_vNameBans

std::vector<CNameBan> CNameBans::m_vNameBans
private

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