GuildRemoveAllyEvent

class GuildRemoveAllyEvent(player: Player, val guild: Guild, val ally: Guild) : GuildEvent(source)

Class representing an event that occurs when a guild removes an ally.

Constructors

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

Creates a new GuildRemoveAllyEvent.

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
val ally: Guild

the guild that was removed as an ally

Link copied to clipboard

the guild that is involved in the event