GuildEvent

open class GuildEvent(player: Player, val guild: Guild) : PlayerEvent, Cancellable(source)

A base class for guild related events that occur in the game.

Constructors

Link copied to clipboard
fun GuildEvent(player: Player, guild: Guild)

Creates a new GuildEvent with the given player and guild.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@NotNull
open fun getEventName(): String
Link copied to clipboard
open override fun getHandlers(): HandlerList

Returns the list of handlers, through which this event is passed.

Link copied to clipboard
@NotNull
fun getPlayer(): Player
Link copied to clipboard
Link copied to clipboard
open override fun isCancelled(): Boolean

Returns whether this event is cancelled or not.

Link copied to clipboard
open override fun setCancelled(cancelled: Boolean)

Sets whether this event is cancelled or not.

Properties

Link copied to clipboard

the guild that is involved in the event

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard