Expand description
Canonical Workshop program concepts.
Structs§
- Condition
- A rule condition. Conditions remain distinct from general value expressions.
- Mapped
Text - Workshop text together with the
SourceMapof its authored origin: theworkshop-rs/mapped-text-v1artifact. - Program
- A complete Workshop program built from Workshop concepts.
- Rule
- A Workshop rule with explicit conditions and a linear action stream.
- Source
Map - A source mapping detached from a
Program. - Subroutine
- A Workshop subroutine declaration.
- Variable
- A Workshop global or player variable declaration.
Enums§
- Action
- A Workshop action line. Control flow is represented in the same order as
the Workshop source, including its explicit
Endlines. - Event
- A Workshop event identity and its native filters.
- Event
Target - Event
Team - Modify
Op - The operation used by a Workshop variable modification action.
- Player
Event Kind - A non-ongoing player event identity.
- Source
MapError - A failure while decoding or applying a
SourceMap. - Source
Mapping Error - A failure while attaching source mappings to a public
Program. - Value
- A composable Workshop value expression.
Constants§
- MAPPED_
TEXT_ V1 - Identifier of the canonical mapped Workshop artifact: Workshop text plus a
SourceMap, serialized byMappedText::to_json. - TEXT_V1
- Identifier of the canonical Workshop text artifact: the Workshop text alone.