Skip to content

Reference

tilttek/handouts

Every public type of the package, with its role.

TypeRole
HandoutsCreates, reveals, stages, conceals, reads and erases handouts and what players saw
HandoutA handout: reference, table, title, text, attachments, revision, moments
AttachmentA file of the application's storage: reference, media type, description
MediaTypesThe media types attachments may have
AudienceEveryone at the table, or players named
DisclosureA handout revealed to everyone or to a player: revision shown, moment, acting reference
TriggerA moment or a cue
StagedRevealA reveal prepared ahead for everyone or a player, on its trigger
SightingWhat a player opened of a handout: revision, first and last moments
VisibleA handout as a player finds it: earliest reveal, freshness, sighting
FreshnessUnseen, Outdated or Seen
LimitsHandouts per table, attachments per handout, audiences per handout, reveals per release
HandoutChangedTold after each act, identifiers only
ChangeWhat happened to a handout
RefusalWhy an act is refused
Contract\HandoutStoreWhere handouts and what they hold are kept
Contract\HandoutObserverWhat the application does with the events
Store\InMemoryHandoutStoreThe store in memory
Exception\HandoutExceptionEvery exception of the library
Exception\HandoutRefusedAn act refused, with its Refusal
Exception\UnknownHandoutNo handout under a reference
Exception\InvalidHandoutA value out of bounds

Text is internal: it checks the keys, titles and texts, and is not part of the promised API.