Skip to content

SayInto beta ​

Interface of @v12-engine/client

ts
export interface SayInto

How a line is said into the queue (DialogQueue.say)

Members ​

clock ​

ts
clock?: () => number;

The clock its typewriter goes by, in seconds: the cut's for a cinematic's line. The page's when left out

from ​

ts
from?: LineFrom;

A cinematic's (the default), or the rules'

id ​

ts
id?: number;

Its id: the rules' line's own. A cinematic's lines are given ids below 0, so the two are never taken for each other

into ​

ts
into?: number;

Seconds of its clock it began before it shows: a line seeked into the middle of, typed that far already

onNext ​

ts
onNext?(): void;

It is moved on (Enter, a click): the owner takes it away, or asks the rules to

onShow ​

ts
onShow?(line: LineInfo): void;

It shows: at the head of the queue, now. Called again for a line put back and shown once more