public void ExposeData() { this.battleActive = this.BattleActive; Scribe_Deep.Look <DefMap <RecordDef, float> >(ref this.records, "records", new object[0]); Scribe_Values.Look <double>(ref this.storyRelevance, "storyRelevance", 0.0, false); Scribe_References.Look <Battle>(ref this.battleActive, "battleActive", false); Scribe_Values.Look <int>(ref this.battleExitTick, "battleExitTick", 0, false); if (Scribe.mode == LoadSaveMode.PostLoadInit) { BackCompatibility.RecordsTrackerPostLoadInit(this); } }
public void ExposeData() { battleActive = BattleActive; Scribe_Deep.Look(ref records, "records"); Scribe_Values.Look(ref storyRelevance, "storyRelevance", 0.0); Scribe_References.Look(ref battleActive, "battleActive"); Scribe_Values.Look(ref battleExitTick, "battleExitTick", 0); if (Scribe.mode == LoadSaveMode.PostLoadInit) { BackCompatibility.RecordsTrackerPostLoadInit(this); } }