Uses of Class
privbot.wrappers.PrivNPC
Packages that use PrivNPC
Package
Description
ctx.* facades: inventory, bank, NPCs, widgets, and the other one-liners.Fluent queries behind
ctx.npcs.query(), objects, ground items, and widgets.-
Uses of PrivNPC in privbot.hooks
Methods in privbot.hooks that return PrivNPCModifier and TypeMethodDescriptionClosest NPC matching any of the supplied names, ornull.Closest NPC matching the predicate.Alias ofNPCs.closest(String...).static PrivNPCStatic lookup that needs noctx.Finds the live NPC for a view.Methods in privbot.hooks with parameters of type PrivNPCModifier and TypeMethodDescriptionbooleanCasts a spell by in-game name on an NPC.Method parameters in privbot.hooks with type arguments of type PrivNPC -
Uses of PrivNPC in privbot.query
Methods in privbot.query that return PrivNPCModifier and TypeMethodDescriptionNPCQuery.closest()The NPC nearest the local player in tile steps.Filter then nearest to the local player.NPCQuery.first()The first remaining entry in snapshot order, or null when the query is empty.Narrows bypred(in place) and returns the first match, or null.NPCQuery.nearest()Alias ofNPCQuery.closest().Alias ofNPCQuery.closest(Predicate).Methods in privbot.query that return types with arguments of type PrivNPCMethod parameters in privbot.query with type arguments of type PrivNPCModifier and TypeMethodDescriptionFilter then nearest to the local player.Narrows this query in place and returns it.Narrows bypred(in place) and returns the first match, or null.Alias ofNPCQuery.closest(Predicate).Alias ofNPCQuery.filter(Predicate).Constructor parameters in privbot.query with type arguments of type PrivNPC