Skip to content

Scribe v1.3.0 - Big, SetOf, MapOf, Flags Declerators

Choose a tag to compare

@ericplane ericplane released this 04 Aug 07:33
· 13 commits to main since this release
  • Added Scribe.SetOf (unique membership)
  • Added Scribe.MapOf (declared key type, so integer keys survive the DataStore round trip)
  • Added Scribe.Flags (up to 32 named booleans in one field)
  • Added Scribe.Big (idle-game numbers past 2^53, rankable on a leaderboard, with a per-board SigFigs trading exponent range for displayed resolution)
  • Added Evict on ArrayOf for a self-trimming history
  • Added OnPlayerLeaving which runs before the final save, so a playtime tally written there persists
  • OnCooldown takes { IncludeOfflineTime = false } for a cooldown that only ticks while the player is online
  • Batch now delivers the "one Changed pass" it always documented: a container fires once per batch rather than once per write, on both realms, Insert/Remove/Clear included.
  • Upgrade notes: a container Changed takes (new, old) and errors at connect on a third key parameter, so move that logic to the new OnChildChanged(key, new, old). Leaf listeners are unchanged. A Scribe.Big board is server-only, and its entry.Score is a big rather than a number.

Full Changelog: v1.2.1...v1.3.0