AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::ChatCommands::WTail Struct Reference

#include "ChatCommandTags.h"

Inheritance diagram for Acore::ChatCommands::WTail:
Acore::Impl::ChatCommands::ContainerTag

Public Types

using value_type = std::wstring
 
- Public Types inherited from Acore::Impl::ChatCommands::ContainerTag
using ChatCommandResult = Acore::Impl::ChatCommands::ChatCommandResult
 

Public Member Functions

ChatCommandResult TryConsume (ChatHandler const *handler, std::string_view args)
 

Detailed Description

Member Typedef Documentation

◆ value_type

Member Function Documentation

◆ TryConsume()

ChatCommandResult Acore::ChatCommands::WTail::TryConsume ( ChatHandler const *  handler,
std::string_view  args 
)
inline
131 {
132 if (Utf8toWStr(args, *this))
133 return std::string_view();
134 else
136 }
bool Utf8toWStr(char const *utf8str, std::size_t csize, wchar_t *wstr, std::size_t &wsize)
Definition: Util.cpp:281
@ LANG_CMDPARSER_INVALID_UTF8
Definition: Language.h:994
AC_GAME_API char const * GetAcoreString(ChatHandler const *handler, AcoreStrings which)
Definition: ChatCommandHelpers.cpp:27

References Acore::Impl::ChatCommands::GetAcoreString(), LANG_CMDPARSER_INVALID_UTF8, and Utf8toWStr().