Repository navigation
OnlyWorlds Unity SDK 0.41.0
Each element once, on schema-dist serial 128. A link list that names one element twice is read as one link, in its
first place; only a message has recipients; and OWAddress.FindLinks finds every address in a text. The folder
writer stamps format 0.3.24. A minor release: it adds public API.
Added
OWAddress.FindLinks(text)and its answer,OWAddressFound(Start,End,Reading): every address in a
text, in order, as the address page's find-all says (schema-dist serial 128). The TypeScript SDK'sfindOwLinksand
the Python package'sfind_ow_links. Each is whatOWAddress.ReadLinkAtreads at a place where either prefix
starts, so a start glued to a word is prose. The search goes on from the end of each address found, so no two
overlap and a prefix inside an address is no start (https://www.onlyworlds.com/w/abc3ow://object/<id>is one
address, the world's own), and two addresses written back to back are found as two whereReadLinkAtends the
first.StartandEndare C# string indexes, UTF-16 code units. A null text is anArgumentNullException. The
address fixture's twoprose-allcases run here. Public API, so the next release is a minor.
Changed
- The schema pin moves to
v0.34.1-dist.128(canonical00.34.01unchanged; no schema file,schema.jsonor
views.jsonmoved). A multi-link names each element once: a reader served a list that names one element twice reads
it once, in its first place, on the lens, landing and message pages (the entries below build it here). The address
page adds a find-all, every address in a text in order, with a new kind of case,prose-all. The folder spec's
version is 0.3.24. The fixtures gain cases: address 218 (twoprose-all), lens 235 (resolve 134, graph 56),
message 102 (tworecipients); landing's doubled-target case now wants one edge. OWGraph.Readreads each element of a list once (schema-dist serial 128): a schema multi-link,x_lens_leads_to
orx_spine_depends_onthat names one target twice is one edge, in its first place, and a repeat to a target that
is not a node is counted once inEdgesCut. An edge'sIndexis still its place in the list as served, so the
entries after a repeat keep their places. Ids are compared as written.OWLanding.Ofreads the graph it is given,
so a doubled target is now one edge there too, counted once at each end.OWMessage.RecipientsOfanswers each recipient once, and only for a message (schema-dist serial 128): a
characterslist that names one Character twice gives that Character once, in its first place, ids compared as
written. A body that is not a message (OWMessage.IsMessage: a Story, a Narrative with no supertype, a body with no
type) now has no recipients, whatever itscharactersholds; before, any body but a Note gave its list. A Note
still has none.OWMessage.IsAddressedTo,IsToEveryoneandHasUnseenRecipientsanswer only for a message (serial 128, the
message page's own reader gating all four on the pair): a body that is not a message (a Story, a Narrative with no
supertype, a body with notype) is addressed to nobody, is never to everyone, and has no unseen recipients,false
keyless or not; before, any body but a Note was read as a message. SoUnreadFornever counts one unread either. A
Note reads as before. Hand these readers bodies that carrytypeandsupertype.- An export declares folder format 0.3.24 (
OWFolderExport.FormatVersion, was 0.3.22), the version the dist's
folder check names. 0.3.23 reads the in-prose reference line as the address page does, and 0.3.24 says a multi-link
names each element once; neither changes the bytes a writer writes, so only theformat_versionstamp in
world.jsonmoves. A list served with a repeat is still written back as it was served.