AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ChatCommandArgs.h"
Public Types | |
using | SearchMap = std::map< std::string_view, Optional< T >, StringCompareLessI_T > |
Static Public Member Functions | |
static SearchMap | MakeSearchMap () |
static T const * | Match (std::string_view s) |
static ChatCommandResult | TryConsume (T &val, ChatHandler const *handler, std::string_view args) |
Static Public Attributes | |
static SearchMap const | _map = MakeSearchMap() |
using Acore::Impl::ChatCommands::ArgInfo< T, std::enable_if_t< std::is_enum_v< T > > >::SearchMap = std::map<std::string_view, Optional<T>, StringCompareLessI_T> |
|
inlinestatic |
References EnumText::Constant, EnumText::Title, and EnumUtils::ToString().
|
inlinestatic |
References StringEqualI(), and StringStartsWithI().
|
inlinestatic |
References Acore::Impl::ChatCommands::FormatAcoreString(), and LANG_CMDPARSER_STRING_VALUE_INVALID.
|
inlinestatic |