TrinityCore
CreatureTextLocalizer< Builder > Class Template Reference

#include <CreatureTextMgrImpl.h>

Public Member Functions

 CreatureTextLocalizer (Builder const &builder, ChatMsg msgType)
 
void operator() (Player const *player) const
 

Private Attributes

std::array< std::unique_ptr< Trinity::ChatPacketSender >, TOTAL_LOCALES_cache
 
Builder const & _builder
 
ChatMsg _msgType
 

Detailed Description

template<class Builder>
class CreatureTextLocalizer< Builder >

Definition at line 30 of file CreatureTextMgrImpl.h.

Constructor & Destructor Documentation

◆ CreatureTextLocalizer()

template<class Builder >
CreatureTextLocalizer< Builder >::CreatureTextLocalizer ( Builder const &  builder,
ChatMsg  msgType 
)
inline

Definition at line 33 of file CreatureTextMgrImpl.h.

Member Function Documentation

◆ operator()()

template<class Builder >
void CreatureTextLocalizer< Builder >::operator() ( Player const *  player) const
inline

Definition at line 37 of file CreatureTextMgrImpl.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _builder

template<class Builder >
Builder const& CreatureTextLocalizer< Builder >::_builder
private

Definition at line 70 of file CreatureTextMgrImpl.h.

◆ _cache

template<class Builder >
std::array<std::unique_ptr<Trinity::ChatPacketSender>, TOTAL_LOCALES> CreatureTextLocalizer< Builder >::_cache
mutableprivate

Definition at line 69 of file CreatureTextMgrImpl.h.

◆ _msgType

template<class Builder >
ChatMsg CreatureTextLocalizer< Builder >::_msgType
private

Definition at line 71 of file CreatureTextMgrImpl.h.


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