public void ExposeData() { Scribe_Deep.Look <DefMap <TrainableDef, bool> >(ref this.wantedTrainables, "wantedTrainables", new object[0]); Scribe_Deep.Look <DefMap <TrainableDef, int> >(ref this.steps, "steps", new object[0]); Scribe_Deep.Look <DefMap <TrainableDef, bool> >(ref this.learned, "learned", new object[0]); Scribe_Values.Look <int>(ref this.countDecayFrom, "countDecayFrom", 0, false); if (Scribe.mode == LoadSaveMode.PostLoadInit) { BackCompatibility.PawnTrainingTrackerPostLoadInit(this, ref this.wantedTrainables, ref this.steps, ref this.learned); } }
public void ExposeData() { Scribe_Deep.Look(ref wantedTrainables, "wantedTrainables"); Scribe_Deep.Look(ref steps, "steps"); Scribe_Deep.Look(ref learned, "learned"); Scribe_Values.Look(ref countDecayFrom, "countDecayFrom", 0); if (Scribe.mode == LoadSaveMode.PostLoadInit) { BackCompatibility.PawnTrainingTrackerPostLoadInit(this, ref wantedTrainables, ref steps, ref learned); } }