From 28b7b5ba9df6a0bd1f79d01b355e9e1cb7dc5304 Mon Sep 17 00:00:00 2001 From: Sgeo Date: Wed, 14 Jun 2017 21:46:08 -0400 Subject: [PATCH] Updated Persister (.world etc.) format (markdown) --- Persister-(.world-etc.)-format.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Persister-(.world-etc.)-format.md b/Persister-(.world-etc.)-format.md index 9553509..9960f28 100644 --- a/Persister-(.world-etc.)-format.md +++ b/Persister-(.world-etc.)-format.md @@ -25,6 +25,8 @@ Worlds generally uses the format described by [Java's DataInput](https://docs.or Assuming empty class and object table, an object consists of an object ID (integer), a class (a class ID (integer) then class name (String)), and then data as determined by the specific class. +If the Object ID has been seen before, reuse the associated object, instead of proceeding to read class and data. In this way, the same object can be contained by multiple other objects, and the Persister format does NOT form a tree. + ## Example from GroundZero | "PERSISTER Worlds, Inc." | Persister version | Object ID | Class ID | Class name |