Core/PacketIO: Implemented CMSG_CONVERSATION_LINE_STARTED
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d9ce8e8baa100ecc7650d0ae56037c131bab2e0)
This commit is contained in:
@@ -23,7 +23,6 @@ using Game.Entities;
|
||||
using Game.Groups;
|
||||
using Game.Guilds;
|
||||
using Game.Maps;
|
||||
using Game.Misc;
|
||||
using Game.Networking;
|
||||
using Game.Networking.Packets;
|
||||
using Game.PvP;
|
||||
@@ -454,6 +453,14 @@ namespace Game
|
||||
_player.PlayerTalkClass.GetInteractionData().Reset();
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.ConversationLineStarted)]
|
||||
void HandleConversationLineStarted(ConversationLineStarted conversationLineStarted)
|
||||
{
|
||||
Conversation convo = ObjectAccessor.GetConversation(_player, conversationLineStarted.ConversationGUID);
|
||||
if (convo != null)
|
||||
Global.ScriptMgr.OnConversationLineStarted(convo, conversationLineStarted.LineID, _player);
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.ChatUnregisterAllAddonPrefixes)]
|
||||
void HandleUnregisterAllAddonPrefixes(ChatUnregisterAllAddonPrefixes packet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user