Ejemplo n.º 1
0
 public void ExposeData()
 {
     Scribe_References.Look(ref other, "other");
     Scribe_Values.Look(ref goodwill, "goodwill", 0);
     Scribe_Values.Look(ref kind, "kind", FactionRelationKind.Neutral);
     if (Scribe.mode == LoadSaveMode.LoadingVars)
     {
         BackCompatibility.FactionRelationLoadingVars(this);
     }
 }
 public void ExposeData()
 {
     Scribe_References.Look <Faction>(ref this.other, "other", false);
     Scribe_Values.Look <int>(ref this.goodwill, "goodwill", 0, false);
     Scribe_Values.Look <FactionRelationKind>(ref this.kind, "kind", FactionRelationKind.Neutral, false);
     if (Scribe.mode == LoadSaveMode.LoadingVars)
     {
         BackCompatibility.FactionRelationLoadingVars(this);
     }
 }