mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 10:34:35 +01:00
handlers folder re-strucutring
This commit is contained in:
15
GameServer/Handlers/Chat/SendChatMsgNotifyHandler.cs
Normal file
15
GameServer/Handlers/Chat/SendChatMsgNotifyHandler.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user