Class FightObservation
java.lang.Object
privbot.mechanics.FightObservation
One fight frame plus newly observed local hits and graphics from the same client-thread batch. A null list is
unreadable or not yet baselined, not an empty observation. All contents are detached from the client.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFightObservation(FightFrame frame, List<ThreatMemory.Hit> hits, List<FightObservation.Graphic> graphics) FightObservation(FightFrame frame, List<ThreatMemory.Hit> hits, List<FightObservation.Graphic> graphics, NpcAttackerEvidence npcAttackers) Adds a same-batch bounded NPC scan; null means it was unavailable.FightObservation(FightFrame frame, List<ThreatMemory.Hit> hits, List<FightObservation.Graphic> graphics, NpcAttackerEvidence npcAttackers, PvpSnapshot nearbyPlayers) Adds an unfiltered, same-batch player snapshot for bounded attacker analysis. -
Method Summary
Modifier and TypeMethodDescriptionframe()graphics()hits()magicTells(Set<Integer> verifiedServerIds) Convert only verified server-specific magic graphic IDs to threat tells.Unfiltered players in the NPC scan radius, or null if the scan was unreadable.A bounded NPC scan from the frame's batch, or null when no scan was available.
-
Constructor Details
-
FightObservation
public FightObservation(FightFrame frame, List<ThreatMemory.Hit> hits, List<FightObservation.Graphic> graphics) -
FightObservation
public FightObservation(FightFrame frame, List<ThreatMemory.Hit> hits, List<FightObservation.Graphic> graphics, NpcAttackerEvidence npcAttackers) Adds a same-batch bounded NPC scan; null means it was unavailable. -
FightObservation
public FightObservation(FightFrame frame, List<ThreatMemory.Hit> hits, List<FightObservation.Graphic> graphics, NpcAttackerEvidence npcAttackers, PvpSnapshot nearbyPlayers) Adds an unfiltered, same-batch player snapshot for bounded attacker analysis.
-
-
Method Details
-
frame
-
hits
-
graphics
-
npcAttackers
A bounded NPC scan from the frame's batch, or null when no scan was available. -
nearbyPlayers
Unfiltered players in the NPC scan radius, or null if the scan was unreadable. -
magicTells
Convert only verified server-specific magic graphic IDs to threat tells. Null graphics or cue table stays unreadable; an empty verified table means no graphic is classified as a tell.
-