TrinityCore
DeclinedName Struct Reference

#include <UnitDefines.h>

Public Member Functions

 DeclinedName ()=default
 
 DeclinedName (UF::DeclinedNames const &uf)
 

Public Attributes

std::string name [MAX_DECLINED_NAME_CASES]
 

Detailed Description

Definition at line 486 of file UnitDefines.h.

Constructor & Destructor Documentation

◆ DeclinedName() [1/2]

DeclinedName::DeclinedName ( )
default

◆ DeclinedName() [2/2]

DeclinedName::DeclinedName ( UF::DeclinedNames const &  uf)

Definition at line 13680 of file Unit.cpp.

13681{
13682 for (std::size_t i = 0; i < MAX_DECLINED_NAME_CASES; ++i)
13683 name[i] = uf.Name[i];
13684}
#define MAX_DECLINED_NAME_CASES
Definition: UnitDefines.h:484
std::string name[MAX_DECLINED_NAME_CASES]
Definition: UnitDefines.h:491

Member Data Documentation

◆ name

std::string DeclinedName::name[MAX_DECLINED_NAME_CASES]

Definition at line 491 of file UnitDefines.h.


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