BanList

Engine/source/app/banList.h

Helper class to keep track of bans.

More...

Classes:

Protected Attributes

Protected Static Attributes

Public Functions

addBan(S32 uniqueId, const char * TA, S32 banTime)
addBanRelative(S32 uniqueId, const char * TA, S32 numSeconds)
exportToFile(const char * fileName)
bool
isBanned(S32 uniqueId, const char * TA)
bool
isTAEq(const char * bannedTA, const char * TA)
removeBan(S32 uniqueId, const char * TA)

Public Static Functions

Detailed Description

Helper class to keep track of bans.

Protected Attributes

Vector< BanInfo > list 

Protected Static Attributes

BanList * smInstance 

Public Functions

BanList()

addBan(S32 uniqueId, const char * TA, S32 banTime)

addBanRelative(S32 uniqueId, const char * TA, S32 numSeconds)

DECLARE_STATIC_CLASS(BanList )

exportToFile(const char * fileName)

isBanned(S32 uniqueId, const char * TA)

isTAEq(const char * bannedTA, const char * TA)

removeBan(S32 uniqueId, const char * TA)

Public Static Functions

instance()