예제 #1
0
 protected override void Reset()
 {
     m_eErrorCode = eErrorCode.Error;
     if (null != m_gameconst)
     {
         using (m_gameconst) { }
         m_gameconst = null;
     }
 }
예제 #2
0
        public override void Deserialize(Packet p)
        {
            base.Deserialize(p);
            m_eErrorCode = (eErrorCode)p.ReadInt();

            if (m_eErrorCode != eErrorCode.Success)
            {
                return;
            }

            m_gameconst = new fmGameConst();
            m_gameconst.Read(ref p);
        }