Core/Chat: Send broadcast text id in sound packets to allow playing encrypted sound files
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e4609f6e18c181fbb54ec851a9ccd5bd3c6eb7b)
This commit is contained in:
@@ -1834,7 +1834,9 @@ namespace Game.Chat
|
||||
return false;
|
||||
}
|
||||
|
||||
Global.WorldMgr.SendGlobalMessage(new PlaySound(handler.GetSession().GetPlayer().GetGUID(), soundId));
|
||||
uint broadcastTextId = args.NextUInt32();
|
||||
|
||||
Global.WorldMgr.SendGlobalMessage(new PlaySound(handler.GetSession().GetPlayer().GetGUID(), soundId, broadcastTextId));
|
||||
|
||||
handler.SendSysMessage(CypherStrings.CommandPlayedToAll, soundId);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user