Link Search Menu Expand Document

Game_Message.d overview


Table of contents


utils

Game_Message (class)

Game_Message

The game object class for the state of the message window that displays text // or selections, etc.

Signature

export declare class Game_Message

clear (method)

Signature

clear(): void

choices (method)

Signature

choices(): string[]

speakerName (method)

Signature

speakerName(): string

faceName (method)

Signature

faceName(): string

faceIndex (method)

Signature

faceIndex(): number

background (method)

Signature

background(): TextWindowBackgroundType

positionType (method)

Signature

positionType(): TextWindowPositionType

choiceDefaultType (method)

Signature

choiceDefaultType(): number

choiceCancelType (method)

Signature

choiceCancelType(): number

choiceBackground (method)

Signature

choiceBackground(): TextWindowBackgroundType

choicePositionType (method)

Signature

choicePositionType(): TextWindowPositionType

numInputVariableId (method)

Signature

numInputVariableId(): number

numInputMaxDigits (method)

Signature

numInputMaxDigits(): number

itemChoiceVariableId (method)

Signature

itemChoiceVariableId(): number

itemChoiceItypeId (method)

Signature

itemChoiceItypeId(): number

scrollMode (method)

Signature

scrollMode(): boolean

scrollSpeed (method)

Signature

scrollSpeed(): number

scrollNoFast (method)

Signature

scrollNoFast(): boolean

add (method)

Signature

add(text: string): void

setSpeakerName (method)

Signature

setSpeakerName(speakerName: string): void

setFaceImage (method)

Signature

setFaceImage(faceName: string, faceIndex: number): void

setBackground (method)

Signature

setBackground(background: TextWindowBackgroundType): void

setPositionType (method)

Signature

setPositionType(positionType: TextWindowPositionType): void

setChoices (method)

Signature

setChoices(choices: string[], defaultType: number, cancelType: number): void

setChoiceBackground (method)

Signature

setChoiceBackground(background: TextWindowBackgroundType): void

setChoicePositionType (method)

Signature

setChoicePositionType(positionType: TextWindowPositionType): void

setNumberInput (method)

Signature

setNumberInput(variableId: number, maxDigits: number): void

setItemChoice (method)

Signature

setItemChoice(variableId: number, itemType: ItemType): void

setScroll (method)

Signature

setScroll(speed: number, noFast: boolean): void

setChoiceCallback (method)

Signature

setChoiceCallback(callback: (chosen: number) => void): void

onChoice (method)

Signature

onChoice(n: number): void

hasText (method)

Signature

hasText(): boolean

isChoice (method)

Signature

isChoice(): boolean

isNumberInput (method)

Signature

isNumberInput(): boolean

isItemChoice (method)

Signature

isItemChoice(): boolean

isBusy (method)

Signature

isBusy(): boolean

newPage (method)

Signature

newPage(): void

allText (method)

Signature

allText(): string

isRTL (method)

Signature

isRTL(): boolean

_texts (property)

Signature

_texts: string[]

_choices (property)

Signature

_choices: string[]

_speakerName (property)

Signature

_speakerName: string

_faceName (property)

Signature

_faceName: string

_faceIndex (property)

Signature

_faceIndex: number

_background (property)

Signature

_background: TextWindowBackgroundType

_positionType (property)

Signature

_positionType: TextWindowBackgroundType

_choiceDefaultType (property)

Signature

_choiceDefaultType: number

_choiceCancelType (property)

Signature

_choiceCancelType: number

_choiceBackground (property)

Signature

_choiceBackground: TextWindowBackgroundType

_choicePositionType (property)

Signature

_choicePositionType: TextWindowBackgroundType

_numInputVariableId (property)

Signature

_numInputVariableId: number

_numInputMaxDigits (property)

Signature

_numInputMaxDigits: number

_itemChoiceVariableId (property)

Signature

_itemChoiceVariableId: number

_itemChoiceItypeId (property)

Signature

_itemChoiceItypeId: number

_scrollMode (property)

Signature

_scrollMode: boolean

_scrollSpeed (property)

Signature

_scrollSpeed: number

_scrollNoFast (property)

Signature

_scrollNoFast: boolean

_choiceCallback (property)

Signature

_choiceCallback: ((chosen: number) => void) | null