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