SaidLine beta
Interface of @v12-engine/engine
ts
export interface SaidLineA line as it is said: what the engine's lineSaid event carries, and what goes to the screen
Members
emotion
ts
emotion?: string;How it is said (LineDef.emotion)
id
ts
id: number;The line's number, which a client knows it by
seconds
ts
seconds: number;How long the line is shown
speaker
ts
speaker: string;Who says it, the name shown with the line
text
ts
text: Message;What is said
to
ts
to?: PlayerId[];Who hears it. Everyone when left out
unit
ts
unit?: number | string;The unit that says it, by its entity id or its name on the map (LineDef.unit)