Provides answer information in response to DialogModule.askQuestions().

interface Answer {
    answer: string;
    questionId: number;
    status: number;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Properties

answer: string

The answer to the question.

questionId: number

The index of the question this is answering in the questions array.

status: number

Status of the question response.

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean