foo-webview-sdk
    Preparing search index...

    Interface SmpMenuBuildState

    Stateful counter passed to the recursive menu builder.

    interface SmpMenuBuildState {
        family: SmpMenuFamily;
        idMap: Map<number, string | number>;
        limit: number | null;
        nextId: number;
    }
    Index

    Selects the identifier space; see SmpMenuFamily. Omitting it falls back to mainmenu, because that family cannot dispatch a numeric identifier at all.

    idMap: Map<number, string | number>

    Maps allocated id ↔ the C++ command identifier.

    limit: number | null

    Upper bound on auto-allocated ids; null = unlimited.

    nextId: number