コード例 #1
0
ファイル: PDAStateData.cs プロジェクト: MrPurple6411/Nitrox
 public void UnlockedTechType(NitroxTechType techType)
 {
     PartiallyUnlockedByTechType.Remove(techType);
     CachedProgress.Remove(techType);
     if (!UnlockedTechTypes.Contains(techType))
     {
         UnlockedTechTypes.Add(techType);
     }
     else
     {
         Log.Debug($"There was an attempt of adding a duplicated entry in the UnlockedTechTypes: [{techType.Name}]");
     }
 }
コード例 #2
0
ファイル: PDAStateData.cs プロジェクト: EmidioMata/1.2
 public void UnlockedTechType(TechTypeModel techType)
 {
     PartiallyUnlockedByTechType.Remove(techType);
     UnlockedTechTypes.Add(techType);
 }
コード例 #3
0
ファイル: PDAStateData.cs プロジェクト: MaudiTemp/Nitrox
 public void UnlockedTechType(NitroxTechType techType)
 {
     PartiallyUnlockedByTechType.Remove(techType);
     CachedProgress.Remove(techType);
     UnlockedTechTypes.Add(techType);
 }