AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
CommandScript Class Referenceabstract

#include "CommandScript.h"

Inheritance diagram for CommandScript:
ScriptObject account_commandscript achievement_commandscript arena_commandscript ban_commandscript bf_commandscript bg_commandscript cache_commandscript cast_commandscript character_commandscript cheat_commandscript debug_commandscript deserter_commandscript disable_commandscript event_commandscript gear_commandscript gm_commandscript go_commandscript gobject_commandscript group_commandscript guild_commandscript honor_commandscript instance_commandscript inventory_commandscript item_commandscript learn_commandscript lfg_commandscript list_commandscript lookup_commandscript message_commandscript misc_commandscript mmaps_commandscript modify_commandscript npc_commandscript pet_commandscript player_commandscript player_settings_commandscript quest_commandscript reload_commandscript reset_commandscript send_commandscript server_commandscript spectator_commandscript tele_commandscript ticket_commandscript titles_commandscript wp_commandscript

Public Member Functions

virtual std::vector< Acore::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Protected Member Functions

 CommandScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ CommandScript()

CommandScript::CommandScript ( const char *  name)
protected
36 : ScriptObject(name)
37{
39}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:737
Definition: ScriptObject.h:44

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ GetCommands()