![]() |
TrinityCore
|
#include <CharacterTemplateDataStore.h>
Public Member Functions | |
| void | LoadCharacterTemplates () |
| CharacterTemplateContainer const & | GetCharacterTemplates () const |
| CharacterTemplate const * | GetCharacterTemplate (uint32 templateId) const |
Static Public Member Functions | |
| static CharacterTemplateDataStore * | Instance () |
Definition at line 47 of file CharacterTemplateDataStore.h.
| CharacterTemplate const * CharacterTemplateDataStore::GetCharacterTemplate | ( | uint32 | templateId | ) | const |
Definition at line 105 of file CharacterTemplateDataStore.cpp.
| CharacterTemplateContainer const & CharacterTemplateDataStore::GetCharacterTemplates | ( | ) | const |
Definition at line 100 of file CharacterTemplateDataStore.cpp.
|
static |
Definition at line 114 of file CharacterTemplateDataStore.cpp.
| void CharacterTemplateDataStore::LoadCharacterTemplates | ( | ) |
Definition at line 29 of file CharacterTemplateDataStore.cpp.
References CharacterTemplate::Classes, CharacterTemplate::Description, FACTION_MASK_ALLIANCE, FACTION_MASK_HORDE, FACTION_MASK_PLAYER, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), CharacterTemplate::Level, CharacterTemplate::Name, sChrClassesStore, TC_LOG_ERROR, TC_LOG_INFO, CharacterTemplate::TemplateSetId, and WorldDatabase.