コード例 #1
0
 public virtual void ExposeData()
 {
     Scribe_Deep.Look <Job>(ref this.curJob, "curJob", new object[0]);
     Scribe_Deep.Look <JobDriver>(ref this.curDriver, "curDriver", new object[0]);
     Scribe_Deep.Look <JobQueue>(ref this.jobQueue, "jobQueue", new object[0]);
     if (Scribe.mode == LoadSaveMode.LoadingVars)
     {
         if (this.curDriver != null)
         {
             this.curDriver.pawn = this.pawn;
             this.curDriver.job  = this.curJob;
         }
         BackCompatibility.JobTrackerPostLoadInit(this);
     }
 }