PlayerSystemProviderService

ProviderService requiring Player to initialize "PlayerSystem" T.

Inheritors

Inherited properties

Link copied to clipboard
open val id: String
Link copied to clipboard
open val isEnabled: Boolean

Functions

Link copied to clipboard
open override fun get(arg: Any): T

Returns new instance of T is given arg is instance of Player. Otherwise, throws ClassCastException.

Link copied to clipboard
abstract fun getSystem(player: Player): T

Returns new instance of T initialized with the given player object.