mwg API
    Preparing search index...

    Interface MwlMessage

    One [message]: the text plus whatever a game needs to show it.

    interface MwlMessage {
        choices?: readonly MwlDialogueChoice[];
        dialogueId?: string;
        portrait?: string;
        side?: string;
        speaker?: string;
        text: string;
    }
    Index
    choices?: readonly MwlDialogueChoice[]

    choices waiting on the player; answer with answerDialogue

    dialogueId?: string

    identifies the pending dialogue this message's choices belong to

    portrait?: string
    side?: string
    speaker?: string
    text: string