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.
-
ClassDescriptionRich wrapper around a
Componentrecord plus its position in a materializedComponentTree.Fluent, RPC-backed query over an interface subtree.Interface-component query facade.An immutable, materialized interface subtree fetched in a singleget_interface_treeround-trip.Stable, build-independent semantic category of an interface component.