TrinityCore
Loading...
Searching...
No Matches
Trinity::Impl::ChatCommands::EnumArgInfoBase Struct Reference

#include <ChatCommandArgs.h>

+ Inheritance diagram for Trinity::Impl::ChatCommands::EnumArgInfoBase:

Public Types

using SearchMap = std::vector< std::pair< std::string_view, Optional< int64 > > >
 

Static Public Member Functions

static void AddSearchMapEntry (SearchMap &map, int64 val, EnumText const &text) noexcept
 
static int64 const * Match (SearchMap const &map, std::string_view s) noexcept
 

Detailed Description

Definition at line 138 of file ChatCommandArgs.h.

Member Typedef Documentation

◆ SearchMap

using Trinity::Impl::ChatCommands::EnumArgInfoBase::SearchMap = std::vector<std::pair<std::string_view, Optional<int64> >>

Definition at line 140 of file ChatCommandArgs.h.

Member Function Documentation

◆ AddSearchMapEntry()

void Trinity::Impl::ChatCommands::EnumArgInfoBase::AddSearchMapEntry ( SearchMap map,
int64  val,
EnumText const &  text 
)
staticnoexcept

Definition at line 33 of file ChatCommandArgs.cpp.

+ Here is the caller graph for this function:

◆ Match()

int64 const * Trinity::Impl::ChatCommands::EnumArgInfoBase::Match ( SearchMap const &  map,
std::string_view  s 
)
staticnoexcept

Definition at line 56 of file ChatCommandArgs.cpp.

+ Here is the call graph for this function:

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