mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[6812] Implement localization of creature/gameobject name that say/yell.
Original patch deeply rewrited. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
89612654da
commit
1da8ff0043
7 changed files with 42 additions and 2 deletions
|
|
@ -442,6 +442,9 @@ class MANGOS_DLL_SPEC GameObject : public WorldObject
|
|||
void TextEmote(int32 textId, uint64 TargetGuid) { MonsterTextEmote(textId,TargetGuid); }
|
||||
void Whisper(int32 textId, uint64 receiver) { MonsterWhisper(textId,receiver); }
|
||||
|
||||
// overwrite WorldObject function for proper name localization
|
||||
const char* GetNameForLocaleIdx(int32 locale_idx) const;
|
||||
|
||||
void SaveToDB();
|
||||
void SaveToDB(uint32 mapid, uint8 spawnMask);
|
||||
bool LoadFromDB(uint32 guid, Map *map);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue