Esempio n. 1
0
 public void ExposeData()
 {
     Scribe_Values.Look <bool>(ref this.showLearningHelper, "showLearningHelper", false, false);
     Scribe_Values.Look <bool>(ref this.showZones, "showZones", false, false);
     Scribe_Values.Look <bool>(ref this.showBeauty, "showBeauty", false, false);
     Scribe_Values.Look <bool>(ref this.showRoomStats, "showRoomStats", false, false);
     Scribe_Values.Look <bool>(ref this.showColonistBar, "showColonistBar", false, false);
     Scribe_Values.Look <bool>(ref this.showRoofOverlay, "showRoofOverlay", false, false);
     Scribe_Values.Look <bool>(ref this.autoHomeArea, "autoHomeArea", false, false);
     Scribe_Values.Look <bool>(ref this.autoRebuild, "autoRebuild", false, false);
     Scribe_Values.Look <bool>(ref this.lockNorthUp, "lockNorthUp", false, false);
     Scribe_Values.Look <bool>(ref this.usePlanetDayNightSystem, "usePlanetDayNightSystem", false, false);
     Scribe_Values.Look <bool>(ref this.showExpandingIcons, "showExpandingIcons", false, false);
     Scribe_Values.Look <bool>(ref this.showWorldFeatures, "showWorldFeatures", false, false);
     Scribe_Values.Look <bool>(ref this.useWorkPriorities, "useWorkPriorities", false, false);
     Scribe_Values.Look <MedicalCareCategory>(ref this.defaultCareForColonyHumanlike, "defaultCareForHumanlikeColonists", MedicalCareCategory.NoCare, false);
     Scribe_Values.Look <MedicalCareCategory>(ref this.defaultCareForColonyAnimal, "defaultCareForAnimalColonists", MedicalCareCategory.NoCare, false);
     Scribe_Values.Look <MedicalCareCategory>(ref this.defaultCareForColonyPrisoner, "defaultCareForHumanlikeColonistPrisoners", MedicalCareCategory.NoCare, false);
     Scribe_Values.Look <MedicalCareCategory>(ref this.defaultCareForNeutralFaction, "defaultCareForHumanlikeNeutrals", MedicalCareCategory.NoCare, false);
     Scribe_Values.Look <MedicalCareCategory>(ref this.defaultCareForNeutralAnimal, "defaultCareForAnimalNeutrals", MedicalCareCategory.NoCare, false);
     Scribe_Values.Look <MedicalCareCategory>(ref this.defaultCareForHostileFaction, "defaultCareForHumanlikeEnemies", MedicalCareCategory.NoCare, false);
     if (Scribe.mode == LoadSaveMode.LoadingVars)
     {
         BackCompatibility.PlaySettingsLoadingVars(this);
     }
 }