toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.game
/
GameService
Game
Service
@
Singleton
class
GameService
:
AbstractScheduledService
Members
Constructors
Game
Service
Link copied to clipboard
constructor
(
)
Functions
add
Listener
Link copied to clipboard
override
fun
addListener
(
listener
:
Service.Listener
,
executor
:
Executor
)
await
Running
Link copied to clipboard
override
fun
awaitRunning
(
)
override
fun
awaitRunning
(
timeout
:
Duration
)
override
fun
awaitRunning
(
timeout
:
Long
,
unit
:
TimeUnit
)
await
Terminated
Link copied to clipboard
override
fun
awaitTerminated
(
)
override
fun
awaitTerminated
(
timeout
:
Duration
)
override
fun
awaitTerminated
(
timeout
:
Long
,
unit
:
TimeUnit
)
failure
Cause
Link copied to clipboard
override
fun
failureCause
(
)
:
Throwable
is
Running
Link copied to clipboard
override
fun
isRunning
(
)
:
Boolean
start
Async
Link copied to clipboard
@
CanIgnoreReturnValue
override
fun
startAsync
(
)
:
Service
state
Link copied to clipboard
override
fun
state
(
)
:
Service.State
stop
Async
Link copied to clipboard
@
CanIgnoreReturnValue
override
fun
stopAsync
(
)
:
Service
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String