Uses of Class
privbot.mechanics.PvpSnapshot
Packages that use PvpSnapshot
Package
Description
ctx.* facades: inventory, bank, NPCs, widgets, and the other one-liners.Pure game-mechanic rules shared by plugins on every server: the same name and meaning on Impact, Elorin, Orion,
SpawnPK and Roat Pkz.
-
Uses of PvpSnapshot in privbot.hooks
Methods in privbot.hooks that return types with arguments of type PvpSnapshotModifier and TypeMethodDescriptionReads the fight once. -
Uses of PvpSnapshot in privbot.mechanics
Methods in privbot.mechanics that return PvpSnapshotModifier and TypeMethodDescriptionFightObservation.nearbyPlayers()Unfiltered players in the NPC scan radius, or null if the scan was unreadable.FightFrame.players()Constructors in privbot.mechanics with parameters of type PvpSnapshotModifierConstructorDescriptionFightFrame(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.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.