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
62
{
63
ChatCommandResult
next = ArgInfo<NextType>::TryConsume(std::get<offset>(tuple), handler, args);
64
if
(next)
65
return
ConsumeFromOffset<Tuple, offset + 1>(tuple, handler, *next);
66
else
67
return
next;
68
}
Acore::Impl::ChatCommands::ChatCommandResult
Definition:
ChatCommandHelpers.h:100
Acore
Impl
ChatCommands
MultiConsumer
Generated on Mon Dec 16 2024 20:44:29 for AzerothCore by
1.9.5