Example #1
0
 protected override void Reset()
 {
     m_rdLordInfo  = null;
     m_rdStat      = null;
     m_rdMission   = null;
     m_rdMaps      = null;
     m_missionBase = null;
     m_rdInDuns    = null;
 }
Example #2
0
        public override void Deserialize(Packet p)
        {
            base.Deserialize(p);
            m_eErrorCode = (eErrorCode)p.ReadInt();

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

            m_rdLordInfo  = new rdLordInfo();
            m_rdStat      = new rdStat();
            m_rdMission   = new List <rdMission>();
            m_rdMaps      = new List <rdMap>();
            m_missionBase = new rdMissionBase();
            m_rdInDuns    = new List <rdInDun>();

            m_rdLordInfo.Read(ref p);
            m_rdStat.Read(ref p);
            m_rdMission.Read(ref p);
            m_rdMaps.Read(ref p);
            m_missionBase.Read(ref p);
            m_rdInDuns.Read(ref p);
        }