Core/Chat: Update ChatNotify enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/c6fd88bf3044de44ac01fe9583a3be4142d1e1d9)
This commit is contained in:
@@ -677,19 +677,21 @@ namespace Game.Chat
|
||||
|
||||
struct VoiceOnAppend : IChannelAppender
|
||||
{
|
||||
public VoiceOnAppend(ObjectGuid guid)
|
||||
ChatNotify notificationType;
|
||||
ObjectGuid _guid;
|
||||
|
||||
public VoiceOnAppend(ObjectGuid guid, bool announce = true)
|
||||
{
|
||||
_guid = guid;
|
||||
notificationType = announce ? ChatNotify.VoiceOnNotice : ChatNotify.VoiceOnNoAnnounceNotice;
|
||||
}
|
||||
|
||||
public ChatNotify GetNotificationType() => ChatNotify.VoiceOnNotice;
|
||||
public ChatNotify GetNotificationType() => notificationType;
|
||||
|
||||
public void Append(ChannelNotify data)
|
||||
{
|
||||
data.SenderGuid = _guid;
|
||||
}
|
||||
|
||||
ObjectGuid _guid;
|
||||
}
|
||||
|
||||
struct VoiceOffAppend : IChannelAppender
|
||||
|
||||
Reference in New Issue
Block a user