Package mindustry.io
Interface SaveFileReader.CustomChunk
- All Known Implementing Classes:
FogControl
- Enclosing class:
- SaveFileReader
public static interface SaveFileReader.CustomChunk
-
Method Summary
Modifier and TypeMethodDescriptionvoid
default boolean
void
write
(DataOutput stream) default boolean
writeNet()
-
Method Details
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
shouldWrite
default boolean shouldWrite()- Returns:
- whether this chunk is enabled at all
-
writeNet
default boolean writeNet()- Returns:
- whether this chunk should be written to connecting clients (default true)
-