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

Public Member Functions

 list_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
 
ScriptObject & operator= (ScriptObject const &right)=delete
 
ScriptObject & operator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Static Public Member Functions

static bool HandleListCreatureCommand (ChatHandler *handler, Variant< Hyperlink< creature_entry >, uint32 > creatureId, Optional< uint32 > countArg)
 
static bool HandleListItemCommand (ChatHandler *handler, Hyperlink< item > const &item, Optional< uint32 > countArg)
 
static bool HandleListObjectCommand (ChatHandler *handler, Variant< Hyperlink< gameobject_entry >, uint32 > gameObjectId, Optional< uint32 > countArg)
 
static bool HandleListAllAurasCommand (ChatHandler *handler)
 
static bool HandleListAurasByIdCommand (ChatHandler *handler, uint32 spellId)
 
static bool HandleListAurasByNameCommand (ChatHandler *handler, WTail namePart)
 
static bool ListAurasCommand (ChatHandler *handler, Optional< uint32 > spellId, std::wstring namePart)
 
static bool ShouldListAura (SpellInfo const *spellInfo, Optional< uint32 > spellId, std::wstring namePart, LocaleConstant locale)
 
static bool HandleListMailCommand (ChatHandler *handler, Optional< PlayerIdentifier > player)
 
static bool HandleListSpawnPointsCommand (ChatHandler *handler)
 
static char const * GetZoneName (uint32 zoneId, LocaleConstant locale)
 
static bool HandleListRespawnsCommand (ChatHandler *handler, Optional< uint32 > range)
 
static bool HandleListScenesCommand (ChatHandler *handler)
 

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 45 of file cs_list.cpp.

Constructor & Destructor Documentation

◆ list_commandscript()

list_commandscript::list_commandscript ( )
inline

Definition at line 48 of file cs_list.cpp.

Member Function Documentation

◆ GetCommands()

◆ GetZoneName()

static char const * list_commandscript::GetZoneName ( uint32  zoneId,
LocaleConstant  locale 
)
inlinestatic

Definition at line 644 of file cs_list.cpp.

References AreaTableEntry::AreaName, and sAreaTableStore.

Referenced by HandleListRespawnsCommand().

◆ HandleListAllAurasCommand()

static bool list_commandscript::HandleListAllAurasCommand ( ChatHandler *  handler)
inlinestatic

Definition at line 421 of file cs_list.cpp.

References ListAurasCommand().

Referenced by GetCommands().

◆ HandleListAurasByIdCommand()

static bool list_commandscript::HandleListAurasByIdCommand ( ChatHandler *  handler,
uint32  spellId 
)
inlinestatic

Definition at line 426 of file cs_list.cpp.

References ListAurasCommand().

Referenced by GetCommands().

◆ HandleListAurasByNameCommand()

static bool list_commandscript::HandleListAurasByNameCommand ( ChatHandler *  handler,
WTail  namePart 
)
inlinestatic

Definition at line 431 of file cs_list.cpp.

References ListAurasCommand().

Referenced by GetCommands().

◆ HandleListCreatureCommand()

◆ HandleListItemCommand()

◆ HandleListMailCommand()

◆ HandleListObjectCommand()

◆ HandleListRespawnsCommand()

◆ HandleListScenesCommand()

◆ HandleListSpawnPointsCommand()

◆ ListAurasCommand()

◆ ShouldListAura()

static bool list_commandscript::ShouldListAura ( SpellInfo const *  spellInfo,
Optional< uint32 >  spellId,
std::wstring  namePart,
LocaleConstant  locale 
)
inlinestatic

Definition at line 498 of file cs_list.cpp.

References SpellInfo::Id, SpellInfo::SpellName, and Utf8FitTo().

Referenced by ListAurasCommand().


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