public void ExposeData() { Scribe_Deep.Look <Archive>(ref this.archive, "archive", new object[0]); Scribe_Collections.Look <HistoryAutoRecorderGroup>(ref this.autoRecorderGroups, "autoRecorderGroups", LookMode.Deep, new object[0]); if (Scribe.mode == LoadSaveMode.LoadingVars) { BackCompatibility.HistoryLoadingVars(this); } }
public void ExposeData() { Scribe_Deep.Look(ref archive, "archive"); Scribe_Collections.Look(ref autoRecorderGroups, "autoRecorderGroups", LookMode.Deep); if (Scribe.mode == LoadSaveMode.LoadingVars) { BackCompatibility.HistoryLoadingVars(this); } if (Scribe.mode == LoadSaveMode.PostLoadInit) { AddOrRemoveHistoryRecorderGroups(); } }