rednode API - v0.80.1
    Preparing search index...

    Interface InkView

    A tree written as ink markup and put on the game's UI, from ink.parse or ink.load.

    interface InkView {
        data: Readonly<Record<string, unknown>>;
        mounts: readonly InkMount[];
        get(id: string): InkNode<InkProps> | undefined;
        set(data: Record<string, unknown>): void;
        unmount(): void;
    }
    Index
    data: Readonly<Record<string, unknown>>

    The named data the markup reads ({name}), as now.

    mounts: readonly InkMount[]

    The mounts its <mount> tags made, in order.

    • Changes some named data. Only the props and lists that read a changed name are sent again, and a list sends only the items that changed.

      Parameters

      • data: Record<string, unknown>

      Returns void

      board.set({ contracts: await fetchContracts() });