private void ExposeSmallComponents() { Scribe_Deep.Look(ref info, "info"); Scribe_Deep.Look(ref rules, "rules"); Scribe_Deep.Look(ref scenarioInt, "scenario"); Scribe_Deep.Look(ref tickManager, "tickManager"); Scribe_Deep.Look(ref playSettings, "playSettings"); Scribe_Deep.Look(ref storyWatcher, "storyWatcher"); Scribe_Deep.Look(ref gameEnder, "gameEnder"); Scribe_Deep.Look(ref letterStack, "letterStack"); Scribe_Deep.Look(ref researchManager, "researchManager"); Scribe_Deep.Look(ref storyteller, "storyteller"); Scribe_Deep.Look(ref history, "history"); Scribe_Deep.Look(ref taleManager, "taleManager"); Scribe_Deep.Look(ref playLog, "playLog"); Scribe_Deep.Look(ref battleLog, "battleLog"); Scribe_Deep.Look(ref outfitDatabase, "outfitDatabase"); Scribe_Deep.Look(ref drugPolicyDatabase, "drugPolicyDatabase"); Scribe_Deep.Look(ref foodRestrictionDatabase, "foodRestrictionDatabase"); Scribe_Deep.Look(ref tutor, "tutor"); Scribe_Deep.Look(ref dateNotifier, "dateNotifier"); Scribe_Deep.Look(ref uniqueIDsManager, "uniqueIDsManager"); Scribe_Collections.Look(ref components, "components", LookMode.Deep, this); if (Scribe.mode == LoadSaveMode.LoadingVars) { FillComponents(); BackCompatibility.GameLoadingVars(this); } }
private void ExposeSmallComponents() { Scribe_Deep.Look <GameInfo>(ref this.info, "info", new object[0]); Scribe_Deep.Look <GameRules>(ref this.rules, "rules", new object[0]); Scribe_Deep.Look <Scenario>(ref this.scenarioInt, "scenario", new object[0]); Scribe_Deep.Look <TickManager>(ref this.tickManager, "tickManager", new object[0]); Scribe_Deep.Look <PlaySettings>(ref this.playSettings, "playSettings", new object[0]); Scribe_Deep.Look <StoryWatcher>(ref this.storyWatcher, "storyWatcher", new object[0]); Scribe_Deep.Look <GameEnder>(ref this.gameEnder, "gameEnder", new object[0]); Scribe_Deep.Look <LetterStack>(ref this.letterStack, "letterStack", new object[0]); Scribe_Deep.Look <ResearchManager>(ref this.researchManager, "researchManager", new object[0]); Scribe_Deep.Look <Storyteller>(ref this.storyteller, "storyteller", new object[0]); Scribe_Deep.Look <History>(ref this.history, "history", new object[0]); Scribe_Deep.Look <TaleManager>(ref this.taleManager, "taleManager", new object[0]); Scribe_Deep.Look <PlayLog>(ref this.playLog, "playLog", new object[0]); Scribe_Deep.Look <BattleLog>(ref this.battleLog, "battleLog", new object[0]); Scribe_Deep.Look <OutfitDatabase>(ref this.outfitDatabase, "outfitDatabase", new object[0]); Scribe_Deep.Look <DrugPolicyDatabase>(ref this.drugPolicyDatabase, "drugPolicyDatabase", new object[0]); Scribe_Deep.Look <Tutor>(ref this.tutor, "tutor", new object[0]); Scribe_Deep.Look <DateNotifier>(ref this.dateNotifier, "dateNotifier", new object[0]); Scribe_Deep.Look <UniqueIDsManager>(ref this.uniqueIDsManager, "uniqueIDsManager", new object[0]); Scribe_Collections.Look <GameComponent>(ref this.components, "components", LookMode.Deep, new object[] { this }); if (Scribe.mode == LoadSaveMode.LoadingVars) { this.FillComponents(); BackCompatibility.GameLoadingVars(this); } }