feat(DB/Module): introduce module_string table (#19475)

This commit is contained in:
Kitzunu 2024-08-13 19:53:16 +02:00 committed by GitHub
parent 67010623a0
commit 4b63aa9015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 176 additions and 0 deletions

View file

@ -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 {}",