pub enum NarrateStyle {
Chat,
Title,
Subtitle,
Art,
Actionbar,
}Expand description
The presentation channel for a Verb::Narrate (DSL v0.4).
Variants§
Chat
A chat line (default).
Title
A large on-screen title.
Subtitle
An on-screen subtitle.
Art
An “art” title rendered through the delve’s custom resource-pack pixel-banner
font (delve:art) so endings can flash blocky all-caps text (DSL v0.6,
spec-0014). Text is checked at compile time against the font’s glyph inventory
(DW0328); characters outside it (e.g. non-Latin script) are rejected. It
renders in the vanilla title slot, so it is width-checked like any title
(DW0330) — roughly 15 glyphs fit on screen.
Actionbar
The actionbar — the one-line strip above the hotbar (DSL v0.11).
This is the channel a reply uses: it does not interrupt, it does not
stack, and it is overwritten by the next one. Every reply the compiler
itself writes has always used it — a sealed gate’s answer, a checkpoint
return, the lobby’s party count — but narrate could not reach it, which
is the mechanical reason close-gate.sealed_hint could not have been an
ordinary narrate even had someone tried (capability-ownership audit
finding 3b). A channel is a property of the message, not of the verb that
first wanted it.
Unlike a title it is never width-checked: vanilla truncates nothing and draws it at GUI width, and a reply is a fragment rather than a banner.
Implementations§
Trait Implementations§
Source§impl Clone for NarrateStyle
impl Clone for NarrateStyle
impl Copy for NarrateStyle
Source§impl Debug for NarrateStyle
impl Debug for NarrateStyle
Source§impl<'de> Deserialize<'de> for NarrateStyle
impl<'de> Deserialize<'de> for NarrateStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for NarrateStyle
Source§impl JsonSchema for NarrateStyle
impl JsonSchema for NarrateStyle
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more