Transform

class Transform(val abilityPlayer: TerixPlayer, val linkedOrigin: Origin, val cooldownDuration: Duration, val disguise: Disguise) : TogglingKeybindAbility

Constructors

Link copied to clipboard
fun Transform(abilityPlayer: TerixPlayer, linkedOrigin: Origin, cooldownDuration: Duration, disguise: Disguise)

Functions

Link copied to clipboard
open fun async(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open fun <R> completableAsync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> completableSync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> deferredAsync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun <R> deferredSync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun deleteProperty(key: String)
Link copied to clipboard
open fun getKoin(): Koin
Link copied to clipboard
open fun <T : Any> getProperty(key: String): T?
open fun <T : Any> getProperty(key: String, default: T): T
Link copied to clipboard
open suspend override fun handleActivation()

Called when the abilities keybind has been toggled on.

Link copied to clipboard
open suspend override fun handleDeactivation()

Called when the ability is deactivated.

Link copied to clipboard
open fun launch(dispatcher: CoroutineContext, block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open fun registerEvents(vararg listeners: Listener)
Link copied to clipboard
open fun <T : Any> setProperty(key: String, value: T): T
Link copied to clipboard
open fun sync(block: suspend CoroutineScope.() -> Unit): Job

Properties

Link copied to clipboard
open override val abilityPlayer: TerixPlayer

The player who this ability belongs to.

Link copied to clipboard
Link copied to clipboard
open override val cooldownDuration: Duration

The duration before the ability can be activated again.

Link copied to clipboard
val disguise: Disguise
Link copied to clipboard
var isActivated: Boolean = false
Link copied to clipboard
open override val linkedOrigin: Origin

The origin instance that this ability belongs to.

Link copied to clipboard
open val logger: MinixLogger
Link copied to clipboard
open val name: String
Link copied to clipboard
override val plugin: Terix