using HubX.Library.Socket.Object; using HubX.Library.Socket.Session; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using SystemX.Core.Communication; namespace HubX.Library.Socket.Packet { public class PacketHandler { public static void C2S_INSERT_UniqueKeyHandler(PacketSession session, IMessage packet) { C2S_INSERT_UniqueKey movePacket = packet as C2S_INSERT_UniqueKey; ClientSession clientSession = session as ClientSession; Client client = clientSession.Client; if (client == null) return; } public static void C_SkillHandler(PacketSession session, IMessage packet) { //C_Skill skillPacket = packet as C_Skill; //ClientSession clientSession = session as ClientSession; //Player player = clientSession.MyPlayer; //if (player == null) // return; //GameRoom room = player.Room; //if (room == null) // return; //room.Push(room.HandleSkill, player, skillPacket); } } }