Class PvpArbiter.Action

java.lang.Object
privbot.mechanics.PvpArbiter.Action
Enclosing class:
PvpArbiter

public static final class PvpArbiter.Action extends Object
  • Constructor Details

  • Method Details

    • kind

      public PvpArbiter.Kind kind()
    • detail

      public String detail()
    • style

      public CombatStyle style()
    • set

      public String set()
    • weaponSlot

      public Boolean weaponSlot()
    • afterAttack

      public boolean afterAttack()
    • held

      public boolean held()
    • reason

      public String reason()
    • item

      Exact detached inventory item for a planned consume or equip, or null for other actions.
    • consumeKind

      public ConsumeTiming.Kind consumeKind()
      Food, combo food or potion category; null when this action did not specify one.
    • tile

      public net.runelite.api.coords.WorldPoint tile()
      Destination for a planned movement, or null on other actions.
    • equipmentSlot

      public Integer equipmentSlot()
      Intended equipment slot for a planned gear switch, or null on other actions.
    • target

      public PlayerView target()
      Detached attack target from the decision frame, or null for untyped actions.
    • attack

      public static PvpArbiter.Action attack(PlayerView target, CombatStyle style)
      Construct an attack proposal against a detached player; resolve the target again at dispatch.
    • consume

      Construct a consume action retaining its item ID, slot and distinct food, combo or potion category.
    • equip

      public static PvpArbiter.Action equip(CombatStyle style, StylePlanner.GearPick pick)
      Construct a gear proposal retaining the carried item and intended equipment slot.
    • gear

      public static PvpArbiter.Action gear(PvpArbiter.Kind kind, ItemContainerSnapshot.Item item, int equipmentSlot, CombatStyle style, String set)
      A fixed-set or bait gear proposal; the planner validates it against the current inventory.
    • move

      public static PvpArbiter.Action move(PvpArbiter.Kind kind, net.runelite.api.coords.WorldPoint tile, String detail)
      Construct a close or step-out proposal with its detached destination.
    • hold

      public PvpArbiter.Action hold(String why)
      Return an explainable held version of this action; held actions are never dispatched.