예제 #1
0
        public void Process(InnerNetworkConnection connection)
        {
            Connection = connection;

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

            try
            {
                Process();
            }
            catch (Exception ex)
            {
                Log.WarnException("ARecvPacket", ex);
            }
        }
예제 #2
0
        public void Process(InnerNetworkConnection connection)
        {
            Connection = connection;

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

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