Class Events.Needs
java.lang.Object
privbot.hooks.Events.Needs
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanRead the chat list.final booleanRead the graphics list.final booleanPoll hitsplats.final booleanRead the local player (animation, hitpoints, tile).final booleanRead NPC animations.final booleanRead the projectile list.Varbit ids to read.Varp ids to read. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
projectiles
public final boolean projectilesRead the projectile list. -
hitsplats
public final boolean hitsplatsPoll hitsplats. -
npcAnimations
public final boolean npcAnimationsRead NPC animations. -
localPlayer
public final boolean localPlayerRead the local player (animation, hitpoints, tile). -
graphics
public final boolean graphicsRead the graphics list. -
chat
public final boolean chatRead the chat list. -
varbits
-
varps
-
-
Constructor Details
-
Needs
public Needs(boolean projectiles, boolean hitsplats, boolean npcAnimations, boolean localPlayer, boolean graphics, boolean chat, Set<Integer> varbits, Set<Integer> varps) - Parameters:
projectiles- read projectileshitsplats- poll hitsplatsnpcAnimations- read NPC animationslocalPlayer- read the local playergraphics- read graphicschat- read chatvarbits- varbit ids (null: none)varps- varp ids (null: none)
-
-
Method Details
-
nothing
public boolean nothing()- Returns:
- whether nothing at all needs reading
-