Uses of Class
privbot.mechanics.FightFrame
Packages that use FightFrame
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 FightFrame in privbot.hooks
Methods in privbot.hooks that return types with arguments of type FightFrameModifier and TypeMethodDescriptionPvp.fight(PvpQuery players, ThreatQuery threats) Collects the local player, opponents, threats, containers and spec orb within one client-thread callback.Methods in privbot.hooks with parameters of type FightFrameModifier and TypeMethodDescriptionPvp.riskValue(FightFrame frame, Map<Integer, RiskValuation.ItemRule> itemRules, Boolean skulled, Boolean protectItem, int ordinarySlots, int skulledSlots, boolean prayerAddsSlot) Estimate loss from both containers in a detached fight frame using caller-verified item values, death rules, skull and prayer observations. -
Uses of FightFrame in privbot.mechanics
Methods in privbot.mechanics that return FightFrameMethods in privbot.mechanics with parameters of type FightFrameModifier and TypeMethodDescriptionstatic StylePlanner.CandidateStylePlanner.candidate(CombatStyle style, GearSetup setup, FightFrame frame, Boolean blocked, Boolean outOfReach, boolean refused, boolean allowNameVariants) Derive one style candidate from a worn setup and a same-tick frame.static ConsumePlanner.StateConsumePlanner.State.fromFrame(FightFrame frame, Integer worstHit, Integer lastFood, Integer lastCombo, Integer lastPotion, Integer idleTick, Integer deferredSince, KnockoutRisk.Assessment risk) Build from a same-tick fight frame.static LongRiskValuation.fromFrame(FightFrame frame, Map<Integer, RiskValuation.ItemRule> itemRules, Boolean skulled, Boolean protectItem, int ordinarySlots, int skulledSlots, boolean prayerAddsSlot) Evaluate both containers from one fight frame.voidHealthHistory.observe(FightFrame frame) Record the HP and inventory in one detached fight frame.OwnAttackClock.observe(FightFrame frame, Boolean specFired, Integer cycleTicks) Fold one detached frame.static BooleanPvpActionPlanner.specialSetReady(FightFrame frame, GearSetup setup) Compares a nonempty special set with this frame's actual equipment.Constructors in privbot.mechanics with parameters of type FightFrameModifierConstructorDescriptionFightObservation(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.