AzerothCore
3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Static Public Member Functions
|
List of all members
Acore::Impl::ChatCommands::MultiConsumer< Tuple, NextType, offset > Struct Template Reference
#include "
ChatCommand.h
"
Static Public Member Functions
static
ChatCommandResult
TryConsumeTo
(Tuple &tuple,
ChatHandler
const *handler, std::string_view args)
Detailed Description
template<typename Tuple, typename NextType, std::size_t offset>
struct Acore::Impl::ChatCommands::MultiConsumer< Tuple, NextType, offset >
Member Function Documentation
◆
TryConsumeTo()
template<typename Tuple , typename NextType , std::size_t offset>
static
ChatCommandResult
Acore::Impl::ChatCommands::MultiConsumer
< Tuple, NextType, offset >::TryConsumeTo
(
Tuple &
tuple
,
ChatHandler
const *
handler
,
std::string_view
args
)
inline
static
65
{
66
ChatCommandResult
next = ArgInfo<NextType>::TryConsume(std::get<offset>(tuple), handler, args);
67
if
(next)
68
return
ConsumeFromOffset<Tuple, offset + 1>(tuple, handler, *next);
69
else
70
return
next;
71
}
Acore::Impl::ChatCommands::ChatCommandResult
Definition:
ChatCommandHelpers.h:101
Acore
Impl
ChatCommands
MultiConsumer
Generated on Mon Sep 23 2024 20:42:47 for AzerothCore by
1.9.5