Strata - v1.4.10
    Preparing search index...

    Interface DialogChoice

    An interactive choice presented during a dialogue.

    interface DialogChoice {
        condition?: () => boolean;
        consequence?: string;
        disabled?: boolean;
        id: string;
        text: string;
    }
    Index

    Properties

    condition?: () => boolean

    Optional function to determine if this choice should be visible.

    consequence?: string

    Optional tag for branching logic consequence.

    disabled?: boolean

    Whether this choice is currently disabled.

    id: string

    Unique identifier for this choice.

    text: string

    Text displayed to the user for this choice.