AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::Impl::ChatCommands::ArgInfo< std::string, void > Struct Reference

#include "ChatCommandArgs.h"

Static Public Member Functions

static ChatCommandResult TryConsume (std::string &val, ChatHandler const *handler, std::string_view args)
 

Detailed Description

Member Function Documentation

◆ TryConsume()

static ChatCommandResult Acore::Impl::ChatCommands::ArgInfo< std::string, void >::TryConsume ( std::string &  val,
ChatHandler const *  handler,
std::string_view  args 
)
inlinestatic
95 {
96 std::string_view view;
97 ChatCommandResult next = ArgInfo<std::string_view>::TryConsume(view, handler, args);
98 if (next)
99 val.assign(view);
100 return next;
101 }
Definition: ChatCommandHelpers.h:100