Exemplo n.º 1
0
        public CoCProxy()
        {
            PacketLogger = new PacketLogger();
            PacketDumper = new PacketDumper();
            Clients = new List<CoCProxyClient>();
            PacketHandlers = new Dictionary<ushort, PacketHandler>();

            ProxyPacketHandlers.RegisterHanlders(this);
        }
Exemplo n.º 2
0
        public CoCProxy()
        {
            ExceptionLog = new ExceptionLog("exceptions");
            PacketLog = new PacketLog("packets.log");
            PacketLog.AutoSave = true;
            PacketDumper = new PacketDumper();
            Clients = new List<CoCProxyClient>();
            PacketHandlers = new Dictionary<ushort, PacketHandler>();

            ProxyPacketHandlers.RegisterHandlers(this);
        }