mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
feat(DB/Module): introduce module_string table (#19475)
This commit is contained in:
@@ -792,6 +792,11 @@ char const* WorldSession::GetAcoreString(uint32 entry) const
|
||||
return sObjectMgr->GetAcoreString(entry, GetSessionDbLocaleIndex());
|
||||
}
|
||||
|
||||
std::string const* WorldSession::GetModuleString(std::string module, uint32 id) const
|
||||
{
|
||||
return sObjectMgr->GetModuleString(module, id, GetSessionDbLocaleIndex());
|
||||
}
|
||||
|
||||
void WorldSession::Handle_NULL(WorldPacket& null)
|
||||
{
|
||||
LOG_ERROR("network.opcode", "Received unhandled opcode {} from {}",
|
||||
|
||||
@@ -497,6 +497,7 @@ public:
|
||||
LocaleConstant GetSessionDbcLocale() const { return m_sessionDbcLocale; }
|
||||
LocaleConstant GetSessionDbLocaleIndex() const { return m_sessionDbLocaleIndex; }
|
||||
char const* GetAcoreString(uint32 entry) const;
|
||||
std::string const* GetModuleString(std::string module, uint32 id) const;
|
||||
|
||||
uint32 GetLatency() const { return m_latency; }
|
||||
void SetLatency(uint32 latency) { m_latency = latency; }
|
||||
|
||||
Reference in New Issue
Block a user