Skip to content

LineInfo beta ​

Interface of @v12-engine/client

ts
export interface LineInfo

The line of dialog said to the player now, the way the dialog box shows it (see DialogQueue)

Members ​

color ​

ts
color?: string;

CSS color of the speaker's name

emotion ​

ts
emotion?: string;

How it is said (DialogLine.emotion)

endsAt ​

ts
endsAt: number;

The tick it ends at, unless skipped: never (Infinity) for a cinematic's, which the cut's clock ends

face ​

ts
face?: PortraitSpec;

The speaker's face instead of a picture: someone's model, live (talking as the line is said) or still (PortraitSpec)

from ​

ts
from?: 'cut' | 'rules';

A cinematic's (the screen's own), or the rules'

id ​

ts
id: number;

Below 0 for a cinematic's line, the screen's own; the rules' id for theirs

pace ​

ts
pace?: number;

Characters a second it is typed at (DialogLine.pace)

portrait ​

ts
portrait?: string;

The speaker's face, by address of an image

side ​

ts
side?: 'left' | 'right' | 'center';

Where the box is across the screen (DialogLine.side)

skippable ​

ts
skippable?: boolean;

False: Enter and a click do not move it on

speaker ​

ts
speaker: string;

Who says it, by name as the player reads it

speakerId ​

ts
speakerId?: string;

Who says it, by the game's id ('td.commander')

text ​

ts
text: string;

What is said, with its markup

ui ​

ts
ui?: Own<DialogProps>;

The box it is drawn in, over the dialog's (DialogLine.ui)

voice ​

ts
voice?: string;

The sound it is said in

waits ​

ts
waits?: boolean;

It stays until it is moved on: Enter, or a click