PlayerScope

class PlayerScope(val coroutineContext: CoroutineContext, playerId: UUID) : CoroutineScope(source)

A CoroutineScope that is canceled when the player logs out.

Constructors

Link copied to clipboard
constructor(coroutineContext: CoroutineContext, playerId: UUID)
constructor(coroutineContext: CoroutineContext, player: Player)

Types

Link copied to clipboard

Properties

Link copied to clipboard