GuildWarAcceptEvent

class GuildWarAcceptEvent(player: Player, val challenger: Guild, val defender: Guild) : GuildEvent(source)

An event that is called when a guild war accept request is accepted by the defending guild.

Constructors

Link copied to clipboard
fun GuildWarAcceptEvent(player: Player, challenger: Guild, defender: Guild)

Creates a new GuildWarAcceptEvent with the given player, challenger and defender.

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 who initiated the request

Link copied to clipboard

the guild who accepted the request

Link copied to clipboard

the guild that is involved in the event