跳到主要内容

UI Spoken

UI Spoken Dialogue

A line spoken in GUI space, with no choice to make. Every optional field is NULLABLE and coalesced where it is read. Gson does not apply Kotlin constructor defaults: a field absent from a page — or written as null — arrives as null whatever the declaration says. A non-null type here throws on the first dialogue that omits it, which is exactly what happened the first time this entry was tried in game.

字段

字段类型默认值描述
textVar<String>?——占位符颜色多行
durationVar<Duration>?—How long the line takes to type out; zero shows it at once
styleRef<UiDialogueStyleEntry>?—Look this dialogue takes; leave empty for the server's own
portraitVar<String>?—Picture of the speaker drawn beside their name, for instance portrait_aldric
soundVar<Sound>?—Played once as the line appears
TypeWriter 通用字段(criteria, modifiers, triggers, speaker)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—
speakerRef<SpeakerEntry>——