mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 20:54:34 +01:00
17 lines
567 B
C#
17 lines
567 B
C#
using Common.Resources.Proto;
|
|
using PemukulPaku.GameServer.Game.Chatrooms;
|
|
|
|
namespace PemukulPaku.GameServer.Handlers
|
|
{
|
|
[PacketCmdId(CmdId.SendChatMsgNotify)]
|
|
internal class SendChatMsgNotifyHandler : IPacketHandler
|
|
{
|
|
public void Handle(Session session, Packet packet)
|
|
{
|
|
SendChatMsgNotify Data = packet.GetDecodedBody<SendChatMsgNotify>();
|
|
if (Data.ChatMsg.Channel == ChatMsg.MsgChannel.World)
|
|
WorldChatroom.GetInstance().GetChatroom(session).OnSendChat(session, Data.ChatMsg);
|
|
}
|
|
}
|
|
}
|