Skip to content

OnlyWorlds Unity SDK 0.32.0

Choose a tag to compare

@tmoosting tmoosting released this 02 Nov 18:35
· 201 commits to main since this release

The schema at 00.34.00: Location gains vehicle, the Object a place is the inside of. Three profile readers arrive
or grow: OWLanding.Of reads a world's first picture at a door (the landing profile), OWGraphOptions.ReadingAids
brings the reading aids back into an unlensed graph, and OWMapSpace.Of reads a world's Maps, Zones, Markers and
Pins as geometry (the map-space profile). OWRecord.Of reads an empty review mark as settled. A minor release because
it adds public API (below).

Added

  • OWLocation.Vehicle (schema 00.34.00): the Object a place is the inside of (a ship, a train, an airship, a
    walking city), a single link; a place inside another place keeps using ParentLocation. Generated from the schema
    like every field. onlyworlds.com serves it since 2026-11-02; a world exported before it reads it as unset.
  • OWLanding.Of(graph, options), the landing profile's reader (schema-dist profiles/landing.md): a world's
    first picture at a door, read from the graph OWGraph.Read answers for the visitor, so it holds only what that
    reader may see. The answer (Mode, Size, Clusters, Unclustered, Gaps; ToJson() in the profile's words,
    all five keys in order) gives the most-linked Characters as heads, each with the nodes within Hops steps of it,
    the nodes no head reaches, and the gaps: orphan and near_orphan (no edge, one edge), no_place (a Character
    whose location names no Location node) and nobody_here (a Location no Character's location names). The mode
    is gaps under Size nodes, graph at it and above. Options Heads (5), Hops (1) and Size (24), each a whole
    number of 1 or more, null for the default; OWLandingOptions.FromJson reads them as JSON and refuses an unknown
    key or a value that is not a whole number by name (OWLandingRefusedException.Option); a whole number too large
    for an int reads as int.MaxValue, since a count past the graph's nodes means all of them. Degree is
    OWGraph.DegreeOf's, ids compare by code point, and the same graph gives the same bytes. The profile's 30-case
    fixture passes case by case; parity with the TypeScript SDK's landingOf and the Python package's landing_of.
  • OWGraphOptions.ReadingAids, the lens graph's fifth flag (schema-dist serial 104): the reading aids (the
    Charter, its Guide and its Domains, by the pair and the mark x_charter_of) come back into an unlensed graph, each
    node marked reading_aid (OWGraphMark.ReadingAid, last among a node's marks). Any signed reader may ask it; a
    public reader is refused by name (OWGraphRefusedException.Flag is reading_aids), last in the refusal order
    hidden, proposed, rooms, map_space, reading_aids (OWGraph.Flags). A flag never widens a lens: a lens
    still names law/charter to keep its Charter, and an aid a lens keeps now carries the reading_aid mark, as a
    room element a lens keeps carries room. The lens fixture's five new graph cases pass; parity with the TypeScript
    SDK's readingAids and the Python package's reading_aids.
  • OWMapSpace.Of(elements), the map-space profile's reader (schema-dist serial 105, profiles/map-space.md): a
    world's Maps, Zones, Markers and Pins, as the reader is served them, read as geometry in each Map's pixels from the
    bottom left, with z an elevation (never a height). The answer (Maps, Zones, Pins, Out; ToJson() in the
    profile's words, {maps, zones, pins, out} in order) gives each Map's frame (Width and Height as written, or
    measured from the Map's own outline and Pin points with Measured, the profile's extent: "points"; Depth;
    ZMax, the largest z, kept as written even past Depth; Scale from x_metres_per_pixel when it is a positive
    number), each Zone's outline per Map from its Markers by order (a Marker without a whole order after every
    ordered one, ties by id in code point order; Shape line or else polygon), each Pin's point with its element as
    ElementType and ElementId (one key alone reads both null), and what was left aside, counted by reason
    (no_point, no_markers, dangling, no_map; OWMapSpaceReason). A whole number is read by value (2.0 is 2).
    The profile's 24-case fixture passes case by case; parity with the TypeScript SDK's mapSpace and the Python
    package's map_space.

Changed

  • The schema pin moves to v0.34.0-dist.103 (canonical 00.34.00, a minor step: Location gains vehicle). The dist
    also brings the landing profile, the lens page's two degree counts with their fixture cases, and the record profile's
    tightened readings. The example export the envelope tests read moved its schema_version and carries vehicle; the
    .owworld conformance set did not move.
  • The schema pin moves to v0.34.0-dist.104 (canonical 00.34.00 unchanged, no schema file moved): the lens page's
    fifth graph flag, reading_aids, with five graph cases (201 in all), and the landing page's two rulings, orphan
    and near_orphan by the page's own degree and a heads past the reader's integer range read as the largest, with
    three cases (33 in all). The generated models changed only in their serial stamp.
  • The schema pin moves to v0.34.0-dist.105 (canonical 00.34.00 unchanged, no schema file moved): a new profile,
    map space (profiles/map-space.md, with a 24-case fixture), and the landing page's door sentence, in words only
    (its fixture did not move, and its 33 cases pass with no reader change). The generated models changed only in their
    serial stamp.

Fixed

  • OWRecord.Of reads a run or a story as proposed exactly when the review profile's reader does
    (OWPayload.IsProposed): an empty review mark ({}, "", []) is settled, so that run and its stories are read.
    Before, any value but null kept them out. The record fixture's 40 cases pass; the other seven readings the record
    profile tightened at serial 103 (played_at's upper-case T and Z, ASCII digits only, seconds optional, a
    fraction; ties and stories by code point; an id that is not a string never read; a name that is not a string read as
    empty) were already this reader's.