mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 17:44:42 +01:00
16 lines
497 B
C#
16 lines
497 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>();
|
|
WorldChatroom.GetInstance().GetChatroom(session).OnSendChat(session, Data.ChatMsg);
|
|
}
|
|
}
|
|
}
|