Example #1
0
        public void Process(OuterNetworkConnection connection)
        {
            Connection = connection;

            using (Reader = new BinaryReader(new MemoryStream(Connection.Buffer)))
            {
                Read();
            }

            try
            {
                Process();
            }
            catch (Exception ex)
            {
                Log.WarnException("ARecvPacket", ex);
            }
        }
        public void Process(OuterNetworkConnection connection)
        {
            Connection = connection;

            using (Reader = new BinaryReader(new MemoryStream(Connection.Buffer)))
            {
                Read();
            }

            try
            {
                Process();
            }
            catch (Exception ex)
            {
                Log.WarnException("ARecvPacket", ex);
            }
        }