PvpArenaLoadoutSetup
Tick-owned, exact PvP Arena loadout setup session.
Final classRLPlugins API
public final class PvpArenaLoadoutSetupThe session selects the requested build when the screen permits it, opens our tab, invokes Wipe when a rebuild is needed, equips worn items first, fills exact inventory slots, selects the spellbook, and requires two matching atomic snapshots. Delayed actions are reconciled in place; only contradictory state can trigger a bounded wipe-and-repair cycle.
Members
Constructors
- newPvpArenaLoadoutSetup(PvpArenaLoadout)
Creates a PvpArenaLoadoutSetup.
Methods
- voidcancel()
Cancels only native mouse work created by this setup.
- intgetActions()
The actions.
- intgetCycles()
The cycles.
- longgetElapsedMillis()
The elapsed millis.
- StringgetFailure()
The failure.
- StringgetLastRetryReason()
The last retry reason.
- PvpArenaLoadoutgetLoadout()
The loadout.
- intgetRepairCycles()
The repair cycles.
- intgetRetries()
The retries.
- PvpArenaLoadoutSetup.StagegetStage()
The stage.
- StringgetStatus()
The status.
- intgetTargetBuild()
The target build.
- intgetTicks()
The ticks.
- booleanisCancelled()
Whether cancelled.
- booleanisDone()
Whether done.
- booleanisFailed()
Whether failed.
- booleanisTerminal()
Whether terminal.
- PvpArenaLoadoutSetup.Stagetick()
Advances this setup.
PvpArenaLoadoutSetup(PvpArenaLoadout)
public PvpArenaLoadoutSetup(PvpArenaLoadout loadout)Creates a PvpArenaLoadoutSetup.
Parameters
loadout- Loadout.
cancel()
public void cancel()Cancels only native mouse work created by this setup.
Other editor, plugin, and global mouse sessions remain untouched.
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.
getLastRetryReason()
public String getLastRetryReason()The last retry reason.
getLoadout()
public PvpArenaLoadout getLoadout()The loadout.
getRepairCycles()
public int getRepairCycles()The repair cycles.
getRetries()
public int getRetries()The retries.
getStage()
public PvpArenaLoadoutSetup.Stage getStage()The stage.
getStatus()
public String getStatus()The status.
getTargetBuild()
public int getTargetBuild()The target build.
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 PvpArenaLoadoutSetup.Stage tick()Advances this setup.
Call from ClientTick for the fastest safe setup; calling from GameTick remains supported but is slower.
Also allowed
Every class has these, as in plain Java.
equals, toString