Skip to content

OnlyWorlds Unity SDK 0.9.0

Latest

Choose a tag to compare

@tmoosting tmoosting released this 20 Oct 21:24

Party links: one join link seats a table of players, each picking a Character from the link's list (or typing a name
at a table that lists none), walked live on onlyworlds.com through a game's door; the wire check now reads request
and response bodies and error codes; the schema pin moves to dist.35. A minor release because it adds public API
(below).

Added

  • Party links (one join link for a table of up to 50 players): OWJoinPreview reads MaxUses, UsesLeft,
    NameRequired and Characters (OWJoinPick: id, name, image url, taken), and IsTable tells a party link from a
    link for one, which sends none of them.
  • OWJoin.RedeemAsync takes character, the player's pick from the preview's list. It is the last parameter, so
    existing positional calls keep working.
  • OWApiError.IsCharacterTaken, IsCharacterInvalid and IsWorldFull, matching the npm SDK's helpers.

Changed

  • The schema pin moves to dist.35 (v0.32.2-dist.35; canonical 00.32.02 unchanged). The portal's example download,
    vendored for the envelope tests, now carries world.source and world.exported_as as keel writes them, and the
    reader and the file export keep both. The generated models changed only in their serial.
  • The wire check also compares request body keys, response keys and error codes with keel's OpenAPI document
    (tools/refresh_wire.py; the fixture refreshed from production). The SDK's join keys, the preview's and a join's
    answer keys, and every code an OWApiError helper names are checked against what keel declares.