summaryrefslogtreecommitdiff
path: root/Persister-(.world-etc.)-format.md
diff options
context:
space:
mode:
authorSgeo <[email protected]>2017-06-14 21:21:50 -0400
committerSgeo <[email protected]>2017-06-14 21:21:50 -0400
commit3207749ac3c085c42ac07a2040bad017ee6f61cd (patch)
treeb75edff0772d5dadf751d256ac7072d2cdfc14e0 /Persister-(.world-etc.)-format.md
parentUpdated NET.worlds.scape.World (markdown) (diff)
downloadlibreworlds-wiki-3207749ac3c085c42ac07a2040bad017ee6f61cd.tar.xz
libreworlds-wiki-3207749ac3c085c42ac07a2040bad017ee6f61cd.zip
Updated Persister (.world etc.) format (markdown)
Diffstat (limited to 'Persister-(.world-etc.)-format.md')
-rw-r--r--Persister-(.world-etc.)-format.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Persister-(.world-etc.)-format.md b/Persister-(.world-etc.)-format.md
index 996c740..9553509 100644
--- a/Persister-(.world-etc.)-format.md
+++ b/Persister-(.world-etc.)-format.md
@@ -13,7 +13,7 @@ Worlds generally uses the format described by [Java's DataInput](https://docs.or
* MaybeNull: 1 byte as a null indicator (0x01 for null, 0x00 for non-null), followed by an object (as described below) for non-null
* Class: A Class ID, then if the Class ID has not been encountered before in this file, a String for the class name. If the Class ID has been encountered before, the class name is omitted and the prior name assumed.
* Array:
-* "Version for X" (not applicable to Persister version): For the first instance for a given X, this is an integer. Otherwise it is omitted and the prior value assumed. Note that X is usually, but not always, a class.
+* "Version for X" (not applicable to Persister version): For the first instance for a given X, this is an integer. Otherwise it is omitted and the prior value assumed. Note that X is usually, but not always, a class. Note that for Persister version 1, "versions" are always 0 and never read from the file.
# Header and footer