Class OpponentLock
java.lang.Object
privbot.mechanics.OpponentLock
The locked opponent. Immutable: every tick replaces it (or clears it) as a whole.
Pure; no client reads, any thread. Lifted unchanged from ElorinPvP model/OpponentLock.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal intfinal intfinal intThe last tick they targeted us (the lock's own tick when they never have): who is actually hitting us.final intfinal String -
Constructor Summary
ConstructorsConstructorDescriptionOpponentLock(int id, String name, int lockedTick, int lastInteractionTick, int absentSamples) OpponentLock(int id, String name, int lockedTick, int lastInteractionTick, int absentSamples, int lastTargetsUsTick) -
Method Summary
-
Field Details
-
id
public final int id -
name
-
lockedTick
public final int lockedTick -
lastInteractionTick
public final int lastInteractionTick -
absentSamples
public final int absentSamples -
lastTargetsUsTick
public final int lastTargetsUsTickThe last tick they targeted us (the lock's own tick when they never have): who is actually hitting us.
-
-
Constructor Details
-
Method Details
-
seen
-
seen
-
missing
-
toString
-