Explicit vs. implicit.
parent
0859a196d1
commit
cf285893fb
|
@ -27,6 +27,8 @@ Assuming empty class and object table, an object consists of an object ID (integ
|
|||
|
||||
If the Object ID has been seen before within this file, 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.
|
||||
|
||||
Note that objects always indicate what class they are, even if it could be inferred, e.g., [[NET.worlds.scape.World]] expects a [[NET.worlds.core.Hashtable]], but that Hashtable must indicate that it is a Hashtable. This is the opposite of behavior for primitives, which are always implicit.
|
||||
|
||||
## Example from GroundZero
|
||||
|
||||
| "PERSISTER Worlds, Inc." | Persister version | Object ID | Class ID | Class name |
|
||||
|
|
Loading…
Reference in New Issue
Block a user