Example #1
0
 public void InitData()
 {
     for (int i = 0; i < this.m_zhaoMuZhe.get_Count(); i++)
     {
         CFriendRecruit.RecruitData recruitData = this.m_zhaoMuZhe.get_Item(i);
         if (recruitData != null)
         {
             recruitData.Clear();
         }
     }
     this.m_zhaoMuZhe.Clear();
     if (this.m_beiZhaoMuZhe != null)
     {
         this.m_beiZhaoMuZhe.Clear();
     }
     this.m_beiZhaoMuZhe = null;
     for (int j = 0; j < CFriendRecruit.Max_ZhaoMuzheCount; j++)
     {
         this.m_zhaoMuZhe.Add(new CFriendRecruit.RecruitData(null, 1));
     }
     this.m_beiZhaoMuZhe = new CFriendRecruit.RecruitData(null, 2);
 }
 public void InitData()
 {
     for (int i = 0; i < this.m_zhaoMuZhe.Count; i++)
     {
         CFriendRecruit.RecruitData recruitData = this.m_zhaoMuZhe[i];
         if (recruitData != null)
         {
             recruitData.Clear();
         }
     }
     this.m_zhaoMuZhe.Clear();
     if (this.m_beiZhaoMuZhe != null)
     {
         this.m_beiZhaoMuZhe.Clear();
     }
     this.m_beiZhaoMuZhe = null;
     for (int j = 0; j < CFriendRecruit.Max_ZhaoMuzheCount; j++)
     {
         this.m_zhaoMuZhe.Add(new CFriendRecruit.RecruitData(null, COM_RECRUITMENT_TYPE.COM_RECRUITMENT_ACTIVE));
     }
     this.m_beiZhaoMuZhe = new CFriendRecruit.RecruitData(null, COM_RECRUITMENT_TYPE.COM_RECRUITMENT_PASSIVE);
 }