mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
[11575] Add support for simulating Yells to Map.
Including case when related creature not loaded. For proper animation yell from loaded creature for near players better use correct lowguid/guid if creature. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
7995a36c69
commit
2d82b4bccc
5 changed files with 127 additions and 11 deletions
|
|
@ -542,7 +542,7 @@ class MANGOS_DLL_SPEC WorldObject : public Object
|
|||
void MonsterTextEmote(int32 textId, Unit* target, bool IsBossEmote = false);
|
||||
void MonsterWhisper(int32 textId, Unit* receiver, bool IsBossWhisper = false);
|
||||
void MonsterYellToZone(int32 textId, uint32 language, Unit* target);
|
||||
void BuildMonsterChat(WorldPacket *data, uint8 msgtype, char const* text, uint32 language, char const* name, ObjectGuid targetGuid, char const* targetName) const;
|
||||
static void BuildMonsterChat(WorldPacket *data, ObjectGuid senderGuid, uint8 msgtype, char const* text, uint32 language, char const* name, ObjectGuid targetGuid, char const* targetName);
|
||||
|
||||
void PlayDistanceSound(uint32 sound_id, Player* target = NULL);
|
||||
void PlayDirectSound(uint32 sound_id, Player* target = NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue