RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.task.impl.ObjectReplacementEvent Class Reference
Inheritance diagram for com.osroyale.game.task.impl.ObjectReplacementEvent:
Collaboration diagram for com.osroyale.game.task.impl.ObjectReplacementEvent:

Public Member Functions

void execute ()
Public Member Functions inherited from com.osroyale.game.task.Task
 Task (boolean instant, int delay)
 Task (int delay)
boolean canRun ()
synchronized final void cancel ()
synchronized final void cancel (boolean logout)
Task attach (Object newKey)
boolean isInstant ()
int getDelay ()
void setDelay (int delay)
boolean isRunning ()
Optional< Object > getAttachment ()

Protected Member Functions

void onSchedule ()
void onCancel (boolean logout)
Protected Member Functions inherited from com.osroyale.game.task.Task
boolean canSchedule ()

Detailed Description

An randomevent which replaces an object with another object.

Author
Daniel | Obey
Michael | Chex

Definition at line 42 of file ObjectReplacementEvent.java.

Member Function Documentation

◆ execute()

void com.osroyale.game.task.impl.ObjectReplacementEvent.execute ( )
inline

A function representing the unit of work that will be carried out.

Reimplemented from com.osroyale.game.task.Task.

Definition at line 92 of file ObjectReplacementEvent.java.

◆ onCancel()

void com.osroyale.game.task.impl.ObjectReplacementEvent.onCancel ( boolean logout)
inlineprotected

A function executed on cancellation.

Reimplemented from com.osroyale.game.task.Task.

Definition at line 97 of file ObjectReplacementEvent.java.

◆ onSchedule()

void com.osroyale.game.task.impl.ObjectReplacementEvent.onSchedule ( )
inlineprotected

A function executed on registration.

Reimplemented from com.osroyale.game.task.Task.

Definition at line 83 of file ObjectReplacementEvent.java.


The documentation for this class was generated from the following file: