LineInfo beta
Interface of @v12-engine/client
export interface LineInfoThe line of dialog said to the player now, the way the dialog box shows it (see DialogQueue)
Members
color
color?: string;CSS color of the speaker's name
emotion
emotion?: string;How it is said (DialogLine.emotion)
endsAt
endsAt: number;The tick it ends at, unless skipped: never (Infinity) for a cinematic's, which the cut's clock ends
face
face?: PortraitSpec;The speaker's face instead of a picture: someone's model, live (talking as the line is said) or still (PortraitSpec)
from
from?: 'cut' | 'rules';A cinematic's (the screen's own), or the rules'
id
id: number;Below 0 for a cinematic's line, the screen's own; the rules' id for theirs
pace
pace?: number;Characters a second it is typed at (DialogLine.pace)
portrait
portrait?: string;The speaker's face, by address of an image
side
side?: 'left' | 'right' | 'center';Where the box is across the screen (DialogLine.side)
skippable
skippable?: boolean;False: Enter and a click do not move it on
speaker
speaker: string;Who says it, by name as the player reads it
speakerId
speakerId?: string;Who says it, by the game's id ('td.commander')
text
text: string;What is said, with its markup
ui
ui?: Own<DialogProps>;The box it is drawn in, over the dialog's (DialogLine.ui)
voice
voice?: string;The sound it is said in
waits
waits?: boolean;It stays until it is moved on: Enter, or a click