public void ExposeData() { Scribe_Values.Look <int>(ref this.trueCountInt, "trueCount", 0, false); Scribe_Values.Look <int>(ref this.mapSizeX, "mapSizeX", 0, false); Scribe_Values.Look <int>(ref this.mapSizeZ, "mapSizeZ", 0, false); DataExposeUtility.BoolArray(ref this.arr, this.mapSizeX * this.mapSizeZ, "arr"); }
public void ExposeData() { Scribe_Values.Look(ref trueCountInt, "trueCount", 0); Scribe_Values.Look(ref mapSizeX, "mapSizeX", 0); Scribe_Values.Look(ref mapSizeZ, "mapSizeZ", 0); DataExposeUtility.BoolArray(ref arr, mapSizeX * mapSizeZ, "arr"); }
public void ExposeData() { Scribe_Values.Look(ref trueCountInt, "trueCount", 0); Scribe_Values.Look(ref mapSizeX, "mapSizeX", 0); Scribe_Values.Look(ref mapSizeZ, "mapSizeZ", 0); DataExposeUtility.BoolArray(ref arr, mapSizeX * mapSizeZ, "arr"); if (Scribe.mode == LoadSaveMode.LoadingVars) { minPossibleTrueIndexDirty = true; } }
public void ExposeData() { DataExposeUtility.BoolArray(ref fogGrid, map.Area, "fogGrid"); }