Package com.botwithus.bot.api.component


package com.botwithus.bot.api.component
Scripter-facing API for querying interface components.

Components (obtained via api.components()) is the entry point: a fluent, RPC-backed query that materializes an interface subtree in one round-trip and filters it client-side, returning rich ComponentNode wrappers with in-memory tree navigation and a thin interaction hook. Categories are exposed as the stable ComponentType enum, decoupled from the build-specific raw type byte.

Poll-based: every query is a live read; results reflect one tick — don't cache nodes or trees across ticks.

  • Class
    Description
    Rich wrapper around a Component record plus its position in a materialized ComponentTree.
    Fluent, RPC-backed query over an interface subtree.
    Interface-component query facade.
    An immutable, materialized interface subtree fetched in a single get_interface_tree round-trip.
    Stable, build-independent semantic category of an interface component.