Ejemplo n.º 1
0
 public void AddChallengeEquipTable(ChallengeEquipTable data)
 {
     if (this.m_kChallengeEquip.ContainsKey(data.m_ChallengeIdx))
     {
         return;
     }
     this.m_kChallengeEquip.Add(data.m_ChallengeIdx, data);
 }
Ejemplo n.º 2
0
 public void GetEquipChallengeStrKey(ChallengeManager.eCHALLENGECODE type, out string titleKey1, out string titleKey2)
 {
     titleKey1 = string.Empty;
     titleKey2 = string.Empty;
     if (this.m_kChallengeEquip.ContainsKey((short)type))
     {
         ChallengeEquipTable challengeEquipTable = this.m_kChallengeEquip[(short)type];
         titleKey1 = challengeEquipTable.m_LabelText1;
         titleKey2 = challengeEquipTable.m_LabelText2;
     }
 }
 public override bool ParseDataFromNDT(TsDataReader dr)
 {
     foreach (TsDataReader.Row data in dr)
     {
         ChallengeEquipTable challengeEquipTable = new ChallengeEquipTable();
         challengeEquipTable.SetData(data);
         if (0 < challengeEquipTable.m_ChallengeIdx)
         {
             NrTSingleton <ChallengeManager> .Instance.AddChallengeEquipTable(challengeEquipTable);
         }
     }
     return(true);
 }