TrinityCore
Trinity::Impl::ChatCommands::ArgInfo< T, std::enable_if_t< std::is_integral_v< T >||std::is_floating_point_v< T > > > Struct Template Reference

#include <ChatCommandArgs.h>

Static Public Member Functions

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

Detailed Description

template<typename T>
struct Trinity::Impl::ChatCommands::ArgInfo< T, std::enable_if_t< std::is_integral_v< T >||std::is_floating_point_v< T > > >

Definition at line 54 of file ChatCommandArgs.h.

Member Function Documentation

◆ TryConsume()

template<typename T >
static ChatCommandResult Trinity::Impl::ChatCommands::ArgInfo< T, std::enable_if_t< std::is_integral_v< T >||std::is_floating_point_v< T > > >::TryConsume ( T &  val,
ChatHandler const *  handler,
std::string_view  args 
)
inlinestatic

Definition at line 56 of file ChatCommandArgs.h.

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: