Exemple #1
0
 public void ExposeData()
 {
     Scribe_Defs.Look(ref currentProj, "currentProj");
     Scribe_Collections.Look(ref progress, "progress", LookMode.Def, LookMode.Value);
     Scribe_Collections.Look(ref techprints, "techprints", LookMode.Def, LookMode.Value);
     if (Scribe.mode == LoadSaveMode.PostLoadInit)
     {
         BackCompatibility.ResearchManagerPostLoadInit();
     }
     if (Scribe.mode != LoadSaveMode.Saving && techprints == null)
     {
         techprints = new Dictionary <ResearchProjectDef, int>();
     }
 }