Uses of Class
privbot.task.PrivTaskContext
Packages that use PrivTaskContext
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.
Restock and loot helpers shared by plugins:
RestockRunner with its
RestockRoute, RestockCycle and RestockHost,
plus GroundLoot and LootNames.-
Uses of PrivTaskContext in privbot.hooks
Fields in privbot.hooks declared as PrivTaskContextModifier and TypeFieldDescriptionfinal PrivTaskContextRestock.Request.taskContextElorin: the plugin's task context (the runner reads facades through it).Methods in privbot.hooks with parameters of type PrivTaskContextModifier and TypeMethodDescriptionSustain.maintain(PrivTaskContext ctx, SustainPlan plan) Does whatplansays is needed right now, if anything.Restock.Builder.taskContext(PrivTaskContext ctx) booleanTeleporter.transport(TransportRequest request, PrivTaskContext taskCtx) Uses a movement-catalog transport or NPC entry, then clicks an exact widget path. -
Uses of PrivTaskContext in privbot.mechanics
Methods in privbot.mechanics with parameters of type PrivTaskContextModifier and TypeMethodDescriptionJob.step(PrivTaskContext ctx) Advance the job one step and return the state it ended in. -
Uses of PrivTaskContext in privbot.restock
Methods in privbot.restock with parameters of type PrivTaskContextModifier and TypeMethodDescriptionstatic StringRestockRunner.fingerprint(PrivTaskContext ctx) The worn and carried items as one comparable string; null when either is unreadable.booleanRestockRunner.step(PrivTaskContext ctx, RestockCycle cycle, RestockHost host) Runs the current stage's step.RestockRunner.supplies(PrivTaskContext ctx) The carried items by name (the supplies the next fight starts with).GroundLoot.takeOne(PrivTaskContext ctx, List<String> fragments, RestockHost host) Takes the nearest wanted item and confirms it by the inventory count of its id rising.GroundLoot.wanted(PrivTaskContext ctx, List<String> fragments, RestockHost host) The wanted ground items in reach that were not skipped, nearest first.