TrinityCore
Loading...
Searching...
No Matches
ahbot_commandscript Class Reference
+ Inheritance diagram for ahbot_commandscript:

Public Types

template<auto Const>
using Wrap = std::integral_constant< decltype(Const), Const >
 

Public Member Functions

 ahbot_commandscript ()
 
std::span< ChatCommandBuilder const > GetCommands () const override
 
- Public Member Functions inherited from CommandScript
 ~CommandScript ()
 
- 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 HandleAHBotItemsAmountCommand (ChatHandler *handler, std::array< uint32, MAX_AUCTION_QUALITY > const &items)
 
template<typename QConst >
static bool HandleAHBotItemsAmountQualityCommand (ChatHandler *handler, uint32 amount)
 
static bool HandleAHBotItemsRatioCommand (ChatHandler *handler, uint32 alliance, uint32 horde, uint32 neutral)
 
template<typename HConst >
static bool HandleAHBotItemsRatioHouseCommand (ChatHandler *handler, uint32 ratio)
 
static bool HandleAHBotRebuildCommand (ChatHandler *, Optional< EXACT_SEQUENCE("all")> all)
 
static bool HandleAHBotReloadCommand (ChatHandler *handler)
 
static bool HandleAHBotStatusCommand (ChatHandler *handler, Optional< EXACT_SEQUENCE("all")> all)
 

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file cs_ahbot.cpp.

Member Typedef Documentation

◆ Wrap

template<auto Const>
using ahbot_commandscript::Wrap = std::integral_constant<decltype(Const), Const>

Definition at line 44 of file cs_ahbot.cpp.

Constructor & Destructor Documentation

◆ ahbot_commandscript()

ahbot_commandscript::ahbot_commandscript ( )
inline

Definition at line 41 of file cs_ahbot.cpp.

Member Function Documentation

◆ GetCommands()

std::span< ChatCommandBuilder const > ahbot_commandscript::GetCommands ( ) const
inlineoverridevirtual

Implements CommandScript.

Definition at line 46 of file cs_ahbot.cpp.

+ Here is the call graph for this function:

◆ HandleAHBotItemsAmountCommand()

static bool ahbot_commandscript::HandleAHBotItemsAmountCommand ( ChatHandler handler,
std::array< uint32, MAX_AUCTION_QUALITY > const &  items 
)
inlinestatic

Definition at line 85 of file cs_ahbot.cpp.

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

◆ HandleAHBotItemsAmountQualityCommand()

template<typename QConst >
static bool ahbot_commandscript::HandleAHBotItemsAmountQualityCommand ( ChatHandler handler,
uint32  amount 
)
inlinestatic

Definition at line 96 of file cs_ahbot.cpp.

+ Here is the call graph for this function:

◆ HandleAHBotItemsRatioCommand()

static bool ahbot_commandscript::HandleAHBotItemsRatioCommand ( ChatHandler handler,
uint32  alliance,
uint32  horde,
uint32  neutral 
)
inlinestatic

Definition at line 106 of file cs_ahbot.cpp.

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

◆ HandleAHBotItemsRatioHouseCommand()

template<typename HConst >
static bool ahbot_commandscript::HandleAHBotItemsRatioHouseCommand ( ChatHandler handler,
uint32  ratio 
)
inlinestatic

Definition at line 116 of file cs_ahbot.cpp.

+ Here is the call graph for this function:

◆ HandleAHBotRebuildCommand()

static bool ahbot_commandscript::HandleAHBotRebuildCommand ( ChatHandler ,
Optional< EXACT_SEQUENCE("all")>  all 
)
inlinestatic

Definition at line 124 of file cs_ahbot.cpp.

+ Here is the caller graph for this function:

◆ HandleAHBotReloadCommand()

static bool ahbot_commandscript::HandleAHBotReloadCommand ( ChatHandler handler)
inlinestatic

Definition at line 130 of file cs_ahbot.cpp.

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

◆ HandleAHBotStatusCommand()

static bool ahbot_commandscript::HandleAHBotStatusCommand ( ChatHandler handler,
Optional< EXACT_SEQUENCE("all")>  all 
)
inlinestatic

Definition at line 137 of file cs_ahbot.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: