Repository navigation
OnlyWorlds Unity SDK 0.43.0
A report's consequences, line by line: the line reader every reader shares (schema-dist serial 129), the same
lines, addresses and words as the TypeScript SDK and the Python package. A minor release: it adds public API.
Added
OWReport.ReadLine(line, world = null)andOWReport.ReadLines(text, world = null): a line of a report's
consequencesread as every reader reads it (the report profile's rule 10, schema-dist serial 129), the TypeScript
SDK'sreadReportLineandreadReportLines(4.169.0) and the Python package's twins.ReadLinessplits a text at
every carriage return and line feed, trims each piece of White_Space and drops the empty ones.ReadLineanswers an
OWReportLine: the line, the element it names (Address, writtenow://<type>/<id>with the id in lowercase, or
null), the address as read (Reading,Start,End) and the words a reader shows (Words). The line's address is
the last one in it that names an element of this world, found byOWAddress.FindLinks; an address of another world,
a slug, a world alone or a lens with no element stays prose. The address leaves the words only when nothing the
writer wrote is lost: it is canonical, has no moment and no lens, and stands apart, alone or in a matched pair, and
then a colon before it goes too (Renamed the Consul's Steinway: ow://object/<id>.showsRenamed the Consul's Steinway.). Otherwise the whole line is shown, still naming its element. The profile's lines fixture (101 lines and
16 texts) runs whole inOWReportLinesTests.
Changed
- The schema pin moves to
v0.34.1-dist.129(canonical00.34.01unchanged; no schema file,schema.jsonor
views.jsonmoved). The report page gains rule 10: a line of a report'sconsequencesreads the same in every
reader, where a text breaks into lines and how a line is trimmed, which address is the line's when several stand in
it, and which words are shown with it taken out. Its second fixture,report-lines.fixture.json(101 cases and 16
texts), is vendored beside the first inTests/Editor/Fixtures/report/.