AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
cs_ban.cpp File Reference
#include "AccountMgr.h"
#include "BanMgr.h"
#include "CharacterCache.h"
#include "Chat.h"
#include "CommandScript.h"
#include "GameTime.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Player.h"

Go to the source code of this file.

Classes

class  ban_commandscript
 

Enumerations

enum  BanMode {
  BAN_ACCOUNT ,
  BAN_CHARACTER ,
  BAN_IP
}
 Ban function modes. More...
 

Functions

void AddSC_ban_commandscript ()
 

Enumeration Type Documentation

◆ BanMode

enum BanMode

Ban function modes.

Enumerator
BAN_ACCOUNT 
BAN_CHARACTER 
BAN_IP 
38{
41 BAN_IP
42};
@ BAN_ACCOUNT
Definition: cs_ban.cpp:39
@ BAN_IP
Definition: cs_ban.cpp:41
@ BAN_CHARACTER
Definition: cs_ban.cpp:40

Function Documentation

◆ AddSC_ban_commandscript()

void AddSC_ban_commandscript ( )
763{
764 new ban_commandscript();
765}
Definition: cs_ban.cpp:51

Referenced by AddCommandsScripts().