/** * Saves tile entity data to the strem. */ public override void write(BinaryWriter _bw, StreamModeWrite _eStreamMode) { base.write(_bw, _eStreamMode); _bw.Write(this.collection.Write(useHash)); _bw.Write(this.tQueue.Write(useHash)); _bw.Write(this.requiresPower); _bw.Write(StringHelpers.WriteListToString(this.powerSources)); _bw.Write(this.requiresHeat); _bw.Write(StringHelpers.WriteListToString(this.heatSources)); }
/** * Saves tile entity data to the strem. */ public override void write(BinaryWriter _bw, StreamModeWrite _eStreamMode) { base.write(_bw, _eStreamMode); _bw.Write(this.collection.Write(useHash)); _bw.Write(this.tQueue.Write(useHash)); _bw.Write(this.requiresPower); _bw.Write(StringHelpers.WriteListToString(this.powerSources)); _bw.Write(this.requiresHeat); _bw.Write(StringHelpers.WriteListToString(this.heatSources)); _bw.Write(this.requiresNearbyBlocks); _bw.Write(StringHelpers.WriteListToString(this.nearbyBlockTags)); _bw.Write(this.nearbyBlockRequireAllTags); _bw.Write(StringHelpers.WriteListToString(this.nearbyBlockNames)); _bw.Write(this.nearbyBlocksNeeded); _bw.Write(StringHelpers.WriteVector3iToString(this.nearbyBlockRange)); }