private HumanoidCharacterProfile( string name, string species, int age, Sex sex, Gender gender, HumanoidCharacterAppearance appearance, ClothingPreference clothing, BackpackPreference backpack, Dictionary <string, JobPriority> jobPriorities, PreferenceUnavailableMode preferenceUnavailable, List <string> antagPreferences) { Name = name; Species = species; Age = age; Sex = sex; Gender = gender; Appearance = appearance; Clothing = clothing; Backpack = backpack; _jobPriorities = jobPriorities; PreferenceUnavailable = preferenceUnavailable; _antagPreferences = antagPreferences; }
public HumanoidCharacterProfile( string name, int age, Sex sex, HumanoidCharacterAppearance appearance, IReadOnlyDictionary <string, JobPriority> jobPriorities, PreferenceUnavailableMode preferenceUnavailable) : this(name, age, sex, appearance, new Dictionary <string, JobPriority>(jobPriorities), preferenceUnavailable) { }
public HumanoidCharacterProfile( string name, int age, Sex sex, Gender gender, HumanoidCharacterAppearance appearance, ClothingPreference clothing, IReadOnlyDictionary <string, JobPriority> jobPriorities, PreferenceUnavailableMode preferenceUnavailable, IReadOnlyList <string> antagPreferences) : this(name, age, sex, gender, appearance, clothing, new Dictionary <string, JobPriority>(jobPriorities), preferenceUnavailable, new List <string>(antagPreferences)) { }
private HumanoidCharacterProfile( string name, int age, Sex sex, HumanoidCharacterAppearance appearance, Dictionary <string, JobPriority> jobPriorities, PreferenceUnavailableMode preferenceUnavailable) { Name = name; Age = age; Sex = sex; Appearance = appearance; _jobPriorities = jobPriorities; PreferenceUnavailable = preferenceUnavailable; }
public HumanoidCharacterProfile WithPreferenceUnavailable(PreferenceUnavailableMode mode) { return(new HumanoidCharacterProfile(Name, Age, Sex, Appearance, _jobPriorities, mode, _antagPreferences)); }