Class PvpArbiter.Action
java.lang.Object
privbot.mechanics.PvpArbiter.Action
-
Constructor Summary
ConstructorsConstructorDescriptionAction(PvpArbiter.Kind kind, String detail, CombatStyle style, String set, Boolean weaponSlot, boolean afterAttack) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PvpArbiter.Actionattack(PlayerView target, CombatStyle style) Construct an attack proposal against a detached player; resolve the target again at dispatch.static PvpArbiter.Actionconsume(ConsumeTiming.Kind kind, ItemContainerSnapshot.Item item) Construct a consume action retaining its item ID, slot and distinct food, combo or potion category.Food, combo food or potion category; null when this action did not specify one.detail()static PvpArbiter.Actionequip(CombatStyle style, StylePlanner.GearPick pick) Construct a gear proposal retaining the carried item and intended equipment slot.Intended equipment slot for a planned gear switch, or null on other actions.static PvpArbiter.Actiongear(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.booleanheld()Return an explainable held version of this action; held actions are never dispatched.item()Exact detached inventory item for a planned consume or equip, or null for other actions.kind()static PvpArbiter.Actionmove(PvpArbiter.Kind kind, net.runelite.api.coords.WorldPoint tile, String detail) Construct a close or step-out proposal with its detached destination.reason()set()style()target()Detached attack target from the decision frame, or null for untyped actions.net.runelite.api.coords.WorldPointtile()Destination for a planned movement, or null on other actions.
-
Constructor Details
-
Action
public Action(PvpArbiter.Kind kind, String detail, CombatStyle style, String set, Boolean weaponSlot, boolean afterAttack)
-
-
Method Details
-
kind
-
detail
-
style
-
set
-
weaponSlot
-
afterAttack
public boolean afterAttack() -
held
public boolean held() -
reason
-
item
Exact detached inventory item for a planned consume or equip, or null for other actions. -
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
Intended equipment slot for a planned gear switch, or null on other actions. -
target
Detached attack target from the decision frame, or null for untyped actions. -
attack
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
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
Return an explainable held version of this action; held actions are never dispatched.
-