36 ChatCommandResult result = ArgInfo<
decltype(val)>::TryConsume(val, handler, args);
39 if (
uint32*
id = std::get_if<uint32>(&val))
53 ChatCommandResult result = ArgInfo<
decltype(val)>::TryConsume(val, handler, args);
56 if (
uint32*
id = std::get_if<uint32>(&val))
70 ChatCommandResult result = ArgInfo<
decltype(val)>::TryConsume(val, handler, args);
88 ChatCommandResult result = ArgInfo<
decltype(val)>::TryConsume(val, handler, args);
91 if (
uint32*
id = std::get_if<uint32>(&val))
105 ChatCommandResult result = ArgInfo<
decltype(val)>::TryConsume(val, handler, args);
108 if (
uint32*
id = std::get_if<uint32>(&val))
132 ChatCommandResult result = ArgInfo<
decltype(val)>::TryConsume(val, handler, args);
135 if (
uint32*
id = std::get_if<uint32>(&val))
Trinity::Impl::ChatCommands::ChatCommandResult ChatCommandResult
DB2Storage< AchievementEntry > sAchievementStore("Achievement.db2", &AchievementLoadInfo::Instance)
DB2Storage< CurrencyTypesEntry > sCurrencyTypesStore("CurrencyTypes.db2", &CurrencyTypesLoadInfo::Instance)
#define STRING_VIEW_FMT_ARG(str)
@ LANG_CMDPARSER_ITEM_NO_EXIST
@ LANG_CMDPARSER_GAME_TELE_ID_NO_EXIST
@ LANG_CMDPARSER_ACHIEVEMENT_NO_EXIST
@ LANG_CMDPARSER_GAME_TELE_NO_EXIST
@ LANG_CMDPARSER_QUEST_NO_EXIST
@ LANG_CMDPARSER_CURRENCY_NO_EXIST
@ LANG_CMDPARSER_SPELL_NO_EXIST
std::string FormatTrinityString(ChatHandler const *handler, TrinityStrings which, Ts &&... args)
value_type operator()(uint32 achId) const
AchievementEntry const * value_type
value_type operator()(Hyperlink< achievement > achData) const
value_type operator()(Hyperlink< currency > currency) const
value_type operator()(uint32 currencyId) const
CurrencyTypesEntry const * value_type
value_type operator()(std::string_view tele) const
value_type operator()(Hyperlink< tele > tele) const
GameTele const * value_type
value_type operator()(Hyperlink< item > item) const
value_type operator()(uint32 item) const
ItemTemplate const * value_type
value_type operator()(Hyperlink< quest > quest) const
value_type operator()(uint32 questId) const
value_type operator()(Hyperlink< pvptal > pvpTalent) const
value_type operator()(Hyperlink< trade > trade) const
value_type operator()(uint32 spellId) const
value_type operator()(Hyperlink< enchant > enchant) const
value_type operator()(Hyperlink< mawpower > mawPower) const
SpellInfo const * value_type
value_type operator()(Hyperlink< conduit > soulbindConduit) const
value_type operator()(Hyperlink< spell > spell) const
value_type operator()(Hyperlink< apower > artifactPower) const
value_type operator()(Hyperlink< mount > const &mount) const
value_type operator()(Hyperlink< talent > talent) const
constexpr bool holds_alternative() const
constexpr decltype(auto) visit(T &&arg)