62{
63 std::string_view text;
65 if (!next)
66 return next;
67
68
72
75 return next;
76
77
79 if (!id)
81
83
85 return next;
86 else
88}
std::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Optional.h:24
bool Utf8ToUpperOnlyLatin(std::string &utf8String)
Definition: Util.cpp:532
@ LANG_CMDPARSER_ACCOUNT_NAME_NO_EXIST
Definition: Language.h:996
@ LANG_CMDPARSER_ACCOUNT_ID_NO_EXIST
Definition: Language.h:997
@ LANG_CMDPARSER_INVALID_UTF8
Definition: Language.h:994
uint32 GetId(std::string const &username)
Definition: AccountMgr.cpp:229
bool GetName(uint32 accountId, std::string &name)
Definition: AccountMgr.cpp:257
std::string FormatAcoreString(ChatHandler const *handler, AcoreStrings which, Ts &&... args)
Definition: ChatCommandHelpers.h:125
AC_GAME_API char const * GetAcoreString(ChatHandler const *handler, AcoreStrings which)
Definition: ChatCommandHelpers.cpp:27
Definition: ChatCommandArgs.h:49
Definition: ChatCommandHelpers.h:100