GrenadeActivateEvent

class GrenadeActivateEvent(val entity: CounterStrikeGrenadeEntity, val grenadeType: GrenadeType) : EntityEvent

Fires when a grenade activates.

Fires on both server and client side

by activate we mean explode for most of the grenades

Constructors

Link copied to clipboard
constructor(entity: CounterStrikeGrenadeEntity, grenadeType: GrenadeType)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val listenerList: ListenerList?
Link copied to clipboard
@get:Nullable
open val phase: @Nullable EventPriority?
Link copied to clipboard
open var result: Event.Result?

Functions

Link copied to clipboard
open fun hasResult(): Boolean
Link copied to clipboard
open fun setPhase(@NotNull value: @NotNull EventPriority)