Package com.valhalla.sdk
Class Capabilities
java.lang.Object
com.valhalla.sdk.Capabilities
Runtime feature names returned by
Client.getCapabilities().
Capabilities describe what the active OSRS adapter can do. They are
deliberately separate from manifest Permissions: a script must
declare the appropriate permission and should also verify the live
capability before depending on version-sensitive native state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringOperates the bank interface.static final StringSubmits one digit through a revision-validated bank-PIN keypad.static final StringDetects a complete revision-validated randomized bank-PIN keypad.static final StringReads the live bank container and interface state.static final StringChanges the native camera orientation.static final StringReads combat state used by the combat facade.static final StringInvokes actions on native interface components.static final StringReads the live equipment container.static final StringInvokes the default action for an equipment slot.static final StringEnumerates ground items in the loaded scene.static final StringReads whether the player is inside an instanced region.static final StringReads the live inventory container.static final StringInvokes item actions using an item identifier and slot.static final StringAtomically uses one identity-validated inventory item on another.static final StringAtomically uses one identity-validated inventory item on a scene object.static final StringInvokes the default action for an inventory slot.static final StringAtomically applies one current target spell to one identity-validated NPC.static final StringRevalidates one exact live widget action on the client owner thread.static final StringTraverses all visible, mounted widget roots under a revision-pinned adapter.static final StringReads whether the current account has members access.static final StringDispatches native tile-walking actions.static final StringEnumerates NPCs in the loaded scene.static final StringRetains objects observed by the adapter across short scene changes.static final StringReads the local player's current action-sequence animation.static final StringEnumerates visible players, including the local player.static final StringReads the remaining charges of a quetzal whistle.static final StringChanges the run-enabled state.static final StringReads run energy and run-enabled state.static final StringReads interpolated local-player terrain height from the native scene.static final StringReads the current animation (sequence id) of dynamic scene objects.static final StringEnumerates typed scene objects from the live renderer.static final StringLegacy discovery capability retained for existing widget consumers.static final StringControls login-session operations such as logout.static final StringReads current levels, real levels, and experience.static final StringResolves spell interface components.static final StringOpens top-level game tabs.static final StringReads client varps used by higher-level APIs.static final StringReads the current world number. -
Method Summary
-
Field Details
-
PLAYER_ENUMERATION
Enumerates visible players, including the local player.- See Also:
-
PLAYER_ANIMATION
Reads the local player's current action-sequence animation.- See Also:
-
NPC_ENUMERATION
Enumerates NPCs in the loaded scene.- See Also:
-
SCENE_OBJECT_ENUMERATION
Enumerates typed scene objects from the live renderer.- See Also:
-
SCENE_OBJECT_ANIMATION
Reads the current animation (sequence id) of dynamic scene objects.- See Also:
-
OBSERVED_OBJECT_CACHE
Retains objects observed by the adapter across short scene changes.- See Also:
-
GROUND_ITEM_ENUMERATION
Enumerates ground items in the loaded scene.- See Also:
-
SKILLS
Reads current levels, real levels, and experience.- See Also:
-
INVENTORY
Reads the live inventory container.- See Also:
-
EQUIPMENT
Reads the live equipment container.- See Also:
-
INVENTORY_ITEM_ACTIONS
Invokes item actions using an item identifier and slot.- See Also:
-
INVENTORY_ITEM_ON_ITEM_ACTIONS
Atomically uses one identity-validated inventory item on another.- See Also:
-
INVENTORY_ITEM_ON_OBJECT_ACTIONS
Atomically uses one identity-validated inventory item on a scene object.- See Also:
-
NATIVE_WALKING
Dispatches native tile-walking actions.- See Also:
-
SESSION_CONTROL
Controls login-session operations such as logout.- See Also:
-
WORLD_STATE
Reads the current world number.- See Also:
-
MEMBERSHIP_STATE
Reads whether the current account has members access.- See Also:
-
RUN_STATE
Reads run energy and run-enabled state.- See Also:
-
RUN_CONTROL
Changes the run-enabled state.- See Also:
-
VARP_STATE
Reads client varps used by higher-level APIs.- See Also:
-
COMBAT_STATE
Reads combat state used by the combat facade.- See Also:
-
INSTANCE_STATE
Reads whether the player is inside an instanced region.- See Also:
-
QUETZAL_WHISTLE_CHARGES
Reads the remaining charges of a quetzal whistle.- See Also:
-
TAB_CONTROL
Opens top-level game tabs.- See Also:
-
INVENTORY_SLOT_ACTIONS
Invokes the default action for an inventory slot.- See Also:
-
EQUIPMENT_SLOT_ACTIONS
Invokes the default action for an equipment slot.- See Also:
-
COMPONENT_ACTIONS
Invokes actions on native interface components.- See Also:
-
SEMANTIC_WIDGETS
Legacy discovery capability retained for existing widget consumers.- See Also:
-
LIVE_WIDGET_BRIDGE
Traverses all visible, mounted widget roots under a revision-pinned adapter.- See Also:
-
LIVE_WIDGET_ACTIONS
Revalidates one exact live widget action on the client owner thread.- See Also:
-
LIVE_SPELL_NPC_ACTIONS
Atomically applies one current target spell to one identity-validated NPC.- See Also:
-
SPELL_COMPONENTS
Resolves spell interface components.- See Also:
-
CAMERA_CONTROL
Changes the native camera orientation.- See Also:
-
SCENE_HEIGHT
Reads interpolated local-player terrain height from the native scene.- See Also:
-
BANK_STATE
Reads the live bank container and interface state.- See Also:
-
BANK_ACTIONS
Operates the bank interface.- See Also:
-
BANK_PIN_STATE
Detects a complete revision-validated randomized bank-PIN keypad.- See Also:
-
BANK_PIN_ACTIONS
Submits one digit through a revision-validated bank-PIN keypad.- See Also:
-
-
Method Details
-
all
Returns every capability name known to this SDK release.- Returns:
- an immutable set of capability names
-