Repository navigation
OnlyWorlds Unity SDK 0.25.0
Serials 86 and 87 in Unity: the presentation sidecar names each type's colour group by its colour word, an empty
review mark is settled in every reader, and a colour word the sidecar cannot draw fails loudly with
OWPresentationException instead of drawing a default. OWApiError.IsReviewMarkEmpty names keel's refusal of an
empty mark. A minor release because it adds public API, and because ColorOfFamily now throws for a word outside
the order where it answered null (below).
Changed
- The schema pin moves to dist.86 (
v0.33.0-dist.86). The presentation sidecar names each type's colour group by
its colour:OWPresentation.FamilyOfanswersblue,green,pinkoramberwhere it answeredagents,
world,abstractortemporal, andFamilyOrderlists the four colour words. Construct moves to pink and
Ability to amber; the colours themselves are unchanged. A graph node'sFamilyfollows, as the lens profile's
fixture now asserts. Code that compared a family to one of the old words compares to the colour word instead. - The schema pin moves to dist.87 (
v0.33.0-dist.87). No schema file moved; the review and lens profiles and the
presentation sidecar's_meta.groupsline say how a reader reads an empty review mark and an unknown colour word
(below). The lens fixture gains a graph case holding one element of each of the 22 types, each node with its colour
word and icon, whichOWGraphpasses. - An empty review mark is settled (the review profile's rule 1 at dist.87: the mark is read by presence, as the room
and charter profiles read theirs).OWPayload.IsProposedandOWElement.IsProposedno longer count{}as a
mark, andOWPayload.IsProposedOrInDoubtandOWElement.IsProposedOrInDoubtno longer count"", a string of
White_Space only,[]or{}as a doubt. Every reader built on them follows:OWLensandOWGraphkeep an
element whose mark is empty in every reader's view, andOWMessage.NoteOftakes a Note whose mark is empty as a
Character's line. A number, a boolean, a list with an entry, and a string with anything left after the trim (a byte
order mark alone included) stay doubts; an object with any key stays a mark. A caller can feel this: an element
marked{}now reads as settled to both.IsProposedstill answers true only for an object, so a caller that
casts the mark toJObjectafter it stays safe; a string, a number or a list never counted and still does not.
Added
OWApiError.IsReviewMarkEmpty: keel refuses a write whosex_review_proposedis empty with 422
review_mark_empty. Send the mark as an object, ornullto clear it.OWPresentationException: a colour word not in the presentation sidecar'scolors.orderfails loudly, naming the
word (Word) and the type it was given to (Type), and never draws a default colour (the lens profile and the
sidecar's_meta.groupsline at dist.87). The sidecar's load throws it for a type's word or a colour's key outside
the order, and every later read of that sidecar (FamilyOf,IconOf,ColorFor, a graph node) throws it again
until the sidecar is re-vendored andOWPresentation.Reloadruns.ColorOfFamilythrows it for a word outside the
order, where it answered null; a null word still answers null, andColorForstill draws an unknown type grey.
The load throws it too for a word in the order whose colour is missing (nocolors.familiesentry, or nolight
ordark) or is not a#rrggbbhex, naming the word, the hex and the types drawn in it, where a known type was
drawn grey.