TrinityCore
guild_commandscript Class Reference
+ Inheritance diagram for guild_commandscript:

Public Member Functions

 guild_commandscript ()
 
std::vector< ChatCommandGetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
virtual std::vector< Trinity::ChatCommands::ChatCommandBuilderGetCommands () const =0
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Static Public Member Functions

static bool HandleGuildCreateCommand (ChatHandler *handler, char const *args)
 GM command level 3 - Create a guild. More...
 
static bool HandleGuildDeleteCommand (ChatHandler *handler, char const *args)
 
static bool HandleGuildInviteCommand (ChatHandler *handler, char const *args)
 
static bool HandleGuildUninviteCommand (ChatHandler *handler, char const *args)
 
static bool HandleGuildRankCommand (ChatHandler *handler, Optional< PlayerIdentifier > player, uint8 rank)
 
static bool HandleGuildRenameCommand (ChatHandler *handler, char const *_args)
 
static bool HandleGuildInfoCommand (ChatHandler *handler, Optional< Variant< ObjectGuid::LowType, std::string_view > > const &guildIdentifier)
 

Additional Inherited Members

- Protected Member Functions inherited from CommandScript
 CommandScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 43 of file cs_guild.cpp.

Constructor & Destructor Documentation

◆ guild_commandscript()

guild_commandscript::guild_commandscript ( )
inline

Definition at line 46 of file cs_guild.cpp.

Member Function Documentation

◆ GetCommands()

std::vector< ChatCommand > guild_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 48 of file cs_guild.cpp.

+ Here is the call graph for this function:

◆ HandleGuildCreateCommand()

static bool guild_commandscript::HandleGuildCreateCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

GM command level 3 - Create a guild.

This command allows a GM (level 3) to create a guild.

The "args" parameter contains the name of the guild leader and then the name of the guild.

Definition at line 75 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleGuildDeleteCommand()

static bool guild_commandscript::HandleGuildDeleteCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 130 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleGuildInfoCommand()

static bool guild_commandscript::HandleGuildInfoCommand ( ChatHandler handler,
Optional< Variant< ObjectGuid::LowType, std::string_view > > const &  guildIdentifier 
)
inlinestatic

Definition at line 264 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleGuildInviteCommand()

static bool guild_commandscript::HandleGuildInviteCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 149 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleGuildRankCommand()

static bool guild_commandscript::HandleGuildRankCommand ( ChatHandler handler,
Optional< PlayerIdentifier player,
uint8  rank 
)
inlinestatic

Definition at line 197 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleGuildRenameCommand()

static bool guild_commandscript::HandleGuildRenameCommand ( ChatHandler handler,
char const *  _args 
)
inlinestatic

Definition at line 215 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleGuildUninviteCommand()

static bool guild_commandscript::HandleGuildUninviteCommand ( ChatHandler handler,
char const *  args 
)
inlinestatic

Definition at line 177 of file cs_guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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