Exemple #1
0
 public SecretaryInfo GetSecretaryInfo(int generatorId)
 {
     if (!Secretaries.ContainsKey(generatorId))
     {
         Secretaries.Add(generatorId, new SecretaryInfo(generatorId));
     }
     return(Secretaries[generatorId]);
 }
Exemple #2
0
 public SecretaryData GetSecretaryData(PlanetId planetId)
 => Secretaries.ContainsKey(planetId.Id) ? Secretaries[planetId.Id] : null;