18#ifndef CharacterCache_h__
19#define CharacterCache_h__
48 void LoadCharacterCacheStorage();
50 void DeleteCharacterCacheEntry(
ObjectGuid const& guid, std::string
const& name);
58 void UpdateCharacterInfoDeleted(
ObjectGuid const& guid,
bool deleted, std::string
const& name);
60 bool HasCharacterCacheEntry(
ObjectGuid const& guid)
const;
64 ObjectGuid GetCharacterGuidByName(std::string
const& name)
const;
65 bool GetCharacterNameByGuid(
ObjectGuid guid, std::string& name)
const;
68 uint32 GetCharacterAccountIdByName(std::string
const& name)
const;
72 bool GetCharacterNameAndClassByGUID(
ObjectGuid guid, std::string& name,
uint8& _class)
const;
75#define sCharacterCache CharacterCache::instance()
std::optional< T > Optional
Optional helper class to wrap optional values within.
ObjectGuid::LowType GuildId