mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 10:37:12 +00:00
[10761] Basic support for target-name in MonsterSay/etc
Change MonsterSay's target to pointer. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
146e7d3970
commit
16cd545df8
9 changed files with 72 additions and 72 deletions
|
|
@ -444,16 +444,16 @@ class MANGOS_DLL_SPEC WorldObject : public Object
|
|||
virtual void SendMessageToSetInRange(WorldPacket *data, float dist, bool self);
|
||||
void SendMessageToSetExcept(WorldPacket *data, Player const* skipped_receiver);
|
||||
|
||||
void MonsterSay(const char* text, uint32 language, ObjectGuid targetGuid);
|
||||
void MonsterYell(const char* text, uint32 language, ObjectGuid targetGuid);
|
||||
void MonsterTextEmote(const char* text, ObjectGuid targetGuid, bool IsBossEmote = false);
|
||||
void MonsterWhisper(const char* text, ObjectGuid targetGuid, bool IsBossWhisper = false);
|
||||
void MonsterSay(int32 textId, uint32 language, ObjectGuid targetGuid);
|
||||
void MonsterYell(int32 textId, uint32 language, ObjectGuid targetGuid);
|
||||
void MonsterTextEmote(int32 textId, ObjectGuid targetGuid, bool IsBossEmote = false);
|
||||
void MonsterWhisper(int32 textId, ObjectGuid targetGuid, bool IsBossWhisper = false);
|
||||
void MonsterYellToZone(int32 textId, uint32 language, ObjectGuid targetGuid);
|
||||
void BuildMonsterChat(WorldPacket *data, uint8 msgtype, char const* text, uint32 language, char const* name, ObjectGuid targetGuid) const;
|
||||
void MonsterSay(const char* text, uint32 language, Unit* target = NULL);
|
||||
void MonsterYell(const char* text, uint32 language, Unit* target = NULL);
|
||||
void MonsterTextEmote(const char* text, Unit* target, bool IsBossEmote = false);
|
||||
void MonsterWhisper(const char* text, Unit* target, bool IsBossWhisper = false);
|
||||
void MonsterSay(int32 textId, uint32 language, Unit* target = NULL);
|
||||
void MonsterYell(int32 textId, uint32 language, Unit* target = NULL);
|
||||
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;
|
||||
|
||||
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