コード例 #1
0
 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);
     }
 }
コード例 #2
0
ファイル: History.cs プロジェクト: potsh/RimWorld
 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();
     }
 }