🤯 chatters

This commit is contained in:
rafi1212122
2023-06-01 07:58:46 +07:00
parent ca4413c9ce
commit eb4d375ccd
4 changed files with 162 additions and 0 deletions

View 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);
}
}
}