Package mindustry.io.versions
Class LegacyRegionSaveVersion
java.lang.Object
mindustry.io.SaveFileReader
mindustry.io.SaveVersion
mindustry.io.versions.LegacyRegionSaveVersion
- Direct Known Subclasses:
LegacySaveVersion
,LegacySaveVersion2
,Save6
This version does not read custom chunk data (<= 6).
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.io.SaveFileReader
SaveFileReader.CustomChunk, SaveFileReader.IORunner<T>
-
Field Summary
Fields inherited from class mindustry.io.SaveVersion
customChunks, entityMapping, lastReadBuild, version
Fields inherited from class mindustry.io.SaveFileReader
byteOutput, byteOutput2, byteOutputSmall, chunkNested, currCounter, dataBytes, dataBytes2, dataBytesSmall, fallback, lastRegionLength, modContentNameMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(DataInputStream stream, CounterInputStream counter, WorldContext context) Methods inherited from class mindustry.io.SaveVersion
addCustomChunk, getMeta, readContentHeader, readCustomChunks, readEntities, readEntityMapping, readMap, readMeta, readTeamBlocks, readWorldEntities, write, write, writeContentHeader, writeCustomChunks, writeEntities, writeEntityMapping, writeMap, writeMeta, writeTeamBlocks, writeWorldEntities
Methods inherited from class mindustry.io.SaveFileReader
mapFallback, readChunk, readChunk, readStringMap, region, region, skipChunk, skipChunk, writeChunk, writeChunk, writeStringMap
-
Constructor Details
-
LegacyRegionSaveVersion
public LegacyRegionSaveVersion(int version)
-
-
Method Details
-
read
public void read(DataInputStream stream, CounterInputStream counter, WorldContext context) throws IOException - Overrides:
read
in classSaveVersion
- Throws:
IOException
-