Uses of Class
privbot.mechanics.ThreatQuery
Packages that use ThreatQuery
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 ThreatQuery in privbot.hooks
Methods in privbot.hooks with parameters of type ThreatQueryModifier and TypeMethodDescriptionPvp.fight(PvpQuery players, ThreatQuery threats) Collects the local player, opponents, threats, containers and spec orb within one client-thread callback.Pvp.fightObserver(PvpQuery players, ThreatQuery threats) A single-owner observer for one fight.Threats.snapshot(ThreatQuery query) Reads the fight once. -
Uses of ThreatQuery in privbot.mechanics
Methods in privbot.mechanics that return ThreatQueryModifier and TypeMethodDescriptionstatic ThreatQueryThreatQuery.all()ThreatQuery.npcs(TargetSpec spec) ThreatQuery.within(int tiles)