PvpArenaOpponentSpellbookSync
Tick-owned spellbook synchronization for an open unranked PvP Arena duel.
Final classRLPlugins API
public final class PvpArenaOpponentSpellbookSyncThe session opens the opponent tab, requires two stable readings, opens our tab, applies and verifies the same spellbook, then reopens and rechecks the opponent tab. It tolerates two opponent changes during synchronization and leaves the opponent tab visible on success.
Members
Constructors
- newPvpArenaOpponentSpellbookSync()
Creates a PvpArenaOpponentSpellbookSync.
Methods
- voidcancel()
Cancels only native mouse work owned by this synchronization.
- intgetActions()
The actions.
- intgetCycles()
The cycles.
- longgetElapsedMillis()
The elapsed millis.
- StringgetFailure()
The failure.
- intgetOpponentChanges()
The opponent changes.
- intgetRetries()
The retries.
- PvpArenaOpponentSpellbookSync.StagegetStage()
The stage.
- StringgetStatus()
The status.
- PvpArenaSpellbookgetTargetSpellbook()
The target spellbook.
- intgetTicks()
The ticks.
- booleanisCancelled()
Whether cancelled.
- booleanisDone()
Whether done.
- booleanisFailed()
Whether failed.
- booleanisTerminal()
Whether terminal.
- PvpArenaOpponentSpellbookSync.Stagetick()
Advances synchronization.
PvpArenaOpponentSpellbookSync()
public PvpArenaOpponentSpellbookSync()Creates a PvpArenaOpponentSpellbookSync.
cancel()
public void cancel()Cancels only native mouse work owned by this synchronization.
getActions()
public int getActions()The actions.
getCycles()
public int getCycles()The cycles.
getElapsedMillis()
public long getElapsedMillis()The elapsed millis.
getFailure()
public String getFailure()The failure.
getOpponentChanges()
public int getOpponentChanges()The opponent changes.
getRetries()
public int getRetries()The retries.
getStage()
public PvpArenaOpponentSpellbookSync.Stage getStage()The stage.
getStatus()
public String getStatus()The status.
getTargetSpellbook()
public PvpArenaSpellbook getTargetSpellbook()The target spellbook.
getTicks()
public int getTicks()The ticks.
isCancelled()
public boolean isCancelled()Whether cancelled.
isDone()
public boolean isDone()Whether done.
isFailed()
public boolean isFailed()Whether failed.
isTerminal()
public boolean isTerminal()Whether terminal.
tick()
public PvpArenaOpponentSpellbookSync.Stage tick()Advances synchronization.
Pump from ClientTick for fastest safe progress.
Also allowed
Every class has these, as in plain Java.
equals, toString