Class FightFrame
java.lang.Object
privbot.mechanics.FightFrame
Detached observations for one PvP decision. A null component is unreadable or was not collected, never an empty
container or a negative answer. The supplied player and threat snapshots must be from the stated tick. Matching
tick numbers alone do not prove the reads were atomic: the caller owns collection and its consistency guarantees.
This is a value object; it performs no client reads and can be used by a single-owner policy on any thread.
-
Constructor Summary
ConstructorsConstructorDescriptionFightFrame(int tick, PvpSnapshot players, ThreatSnapshot threats, ItemContainerSnapshot equipment, ItemContainerSnapshot inventory, Boolean specArmed) The snapshots must correspond totick; unavailable or structurally invalid containers are represented as null.FightFrame(int tick, PvpSnapshot players, ThreatSnapshot threats, ItemContainerSnapshot equipment, ItemContainerSnapshot inventory, Boolean specArmed, CombatLevels levels) As above, with combat levels collected for this decision; individual levels may be null. -
Method Summary
-
Constructor Details
-
FightFrame
public FightFrame(int tick, PvpSnapshot players, ThreatSnapshot threats, ItemContainerSnapshot equipment, ItemContainerSnapshot inventory, Boolean specArmed) The snapshots must correspond totick; unavailable or structurally invalid containers are represented as null. Container and orb observations have no tick of their own, so callers must collect them for this decision themselves. -
FightFrame
public FightFrame(int tick, PvpSnapshot players, ThreatSnapshot threats, ItemContainerSnapshot equipment, ItemContainerSnapshot inventory, Boolean specArmed, CombatLevels levels) As above, with combat levels collected for this decision; individual levels may be null.
-
-
Method Details
-
tick
public int tick() -
players
-
threats
-
equipment
-
inventory
-
specArmed
-
levels
-