Class Capabilities

java.lang.Object
com.valhalla.sdk.Capabilities

public final class Capabilities extends Object
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 Details

    • PLAYER_ENUMERATION

      public static final String PLAYER_ENUMERATION
      Enumerates visible players, including the local player.
      See Also:
    • PLAYER_ANIMATION

      public static final String PLAYER_ANIMATION
      Reads the local player's current action-sequence animation.
      See Also:
    • NPC_ENUMERATION

      public static final String NPC_ENUMERATION
      Enumerates NPCs in the loaded scene.
      See Also:
    • SCENE_OBJECT_ENUMERATION

      public static final String SCENE_OBJECT_ENUMERATION
      Enumerates typed scene objects from the live renderer.
      See Also:
    • OBSERVED_OBJECT_CACHE

      public static final String OBSERVED_OBJECT_CACHE
      Retains objects observed by the adapter across short scene changes.
      See Also:
    • GROUND_ITEM_ENUMERATION

      public static final String GROUND_ITEM_ENUMERATION
      Enumerates ground items in the loaded scene.
      See Also:
    • SKILLS

      public static final String SKILLS
      Reads current levels, real levels, and experience.
      See Also:
    • INVENTORY

      public static final String INVENTORY
      Reads the live inventory container.
      See Also:
    • EQUIPMENT

      public static final String EQUIPMENT
      Reads the live equipment container.
      See Also:
    • INVENTORY_ITEM_ACTIONS

      public static final String INVENTORY_ITEM_ACTIONS
      Invokes item actions using an item identifier and slot.
      See Also:
    • NATIVE_WALKING

      public static final String NATIVE_WALKING
      Dispatches native tile-walking actions.
      See Also:
    • SESSION_CONTROL

      public static final String SESSION_CONTROL
      Controls login-session operations such as logout.
      See Also:
    • WORLD_STATE

      public static final String WORLD_STATE
      Reads the current world number.
      See Also:
    • MEMBERSHIP_STATE

      public static final String MEMBERSHIP_STATE
      Reads whether the current account has members access.
      See Also:
    • RUN_STATE

      public static final String RUN_STATE
      Reads run energy and run-enabled state.
      See Also:
    • RUN_CONTROL

      public static final String RUN_CONTROL
      Changes the run-enabled state.
      See Also:
    • VARP_STATE

      public static final String VARP_STATE
      Reads client varps used by higher-level APIs.
      See Also:
    • COMBAT_STATE

      public static final String COMBAT_STATE
      Reads combat state used by the combat facade.
      See Also:
    • INSTANCE_STATE

      public static final String INSTANCE_STATE
      Reads whether the player is inside an instanced region.
      See Also:
    • QUETZAL_WHISTLE_CHARGES

      public static final String QUETZAL_WHISTLE_CHARGES
      Reads the remaining charges of a quetzal whistle.
      See Also:
    • TAB_CONTROL

      public static final String TAB_CONTROL
      Opens top-level game tabs.
      See Also:
    • INVENTORY_SLOT_ACTIONS

      public static final String INVENTORY_SLOT_ACTIONS
      Invokes the default action for an inventory slot.
      See Also:
    • EQUIPMENT_SLOT_ACTIONS

      public static final String EQUIPMENT_SLOT_ACTIONS
      Invokes the default action for an equipment slot.
      See Also:
    • COMPONENT_ACTIONS

      public static final String COMPONENT_ACTIONS
      Invokes actions on native interface components.
      See Also:
    • SEMANTIC_WIDGETS

      public static final String SEMANTIC_WIDGETS
      Enumerates semantic widgets decoded by the active adapter.
      See Also:
    • SPELL_COMPONENTS

      public static final String SPELL_COMPONENTS
      Resolves spell interface components.
      See Also:
    • CAMERA_CONTROL

      public static final String CAMERA_CONTROL
      Changes the native camera orientation.
      See Also:
    • BANK_ACTIONS

      public static final String BANK_ACTIONS
      Reads and operates the bank interface.
      See Also:
  • Method Details

    • all

      public static Set<String> all()
      Returns every capability name known to this SDK release.
      Returns:
      an immutable set of capability names