Repository navigation
OnlyWorlds Unity SDK 0.6.0
A world folder that Atlas wrote now opens whole: its pins' and markers' links, and the older spatial/ layout.
A minor release because it adds public API (below).
Fixed
- A world folder's pins and markers keep their links when Atlas spelled them
map_idandzone_id. The spec
says a reader accepts both spellings, and Atlas writes the_idforms.OWFolderLoader.LoadIntogave the cache the
body as written, so a pin from an Atlas folder had noMapand a marker noMaporZone. The cache now gets
OWFolderReader.WithSchemaLinkNames(body): the schema's name, in the old one's place, when the schema's name is not
already there. The read result's bodies and the files on disk are unchanged. - One id, one file (folder spec v0.3.8 §4). Where an older Atlas folder holds one id in both
elements/and
spatial/,OWFolderReader.Readserveselements/and logs thespatial/copy inSkipped(it used to be loaded
last, so the older copy won in the cache).OWFolderWriter.WriteElementwrites a map, pin, zone or marker that
lives underspatial/<type>/there, in its own file, so an edit never leaves a second copy; a new element goes to
elements/.OWFolderExportstampsformat_version"0.3.8", as the Python package does since its 0.5.0.
Added
OWFolderReader.WithSchemaLinkNames(body): a body's links under the schema's names (map_idasmap,zone_id
aszone), a copy when anything differs; what the cache is given.OWFolderReadResult.TimeCurrent:time_current, else the wire'stime_range_current(both accepted, as the
Python package reads them).OWFolderReadResult.ServerWorldId: a linked folder'sapi.world_id, else itsid.
WorldIdstays the folder's own id, which keys the cache.- The reader's notes name the folder spec it follows: v0.3.8's reading rules (they said v0.3.5).