using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ion.Storage; namespace Holo.Source.Socket_servers.Game_Socketsystem { public class messageHandler { public readonly string PacketID; public readonly string PacketContent; public readonly string FullPacket; public messageHandler(string Packet) { // Out.WriteLine(Packet.ToString()); this.PacketID = Packet.Substring(0, 2); this.PacketContent = Packet.Substring(2); this.FullPacket = Packet; } public void UnknownPacket(int UserID) { //using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient()) //{ // dbClient.runQuery("INSERT INTO system_unknownpackets(userID, packetHeader, packetContent, DTNReceived) VALUES ('" + UserID + "', '" + this.PacketID + "', '" + this.PacketContent + "','05.03.something')"); //} } } }