类 PlayerMoveOutDominionEvent
java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
cn.lunadeer.dominion.events.PlayerMoveOutDominionEvent
Event triggered when a player moves out of a dominion.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
org.bukkit.event.Event.Result -
构造器概要
构造器构造器说明PlayerMoveOutDominionEvent(@NotNull org.bukkit.entity.Player player, @Nullable DominionDTO dominion) Constructs a new PlayerMoveOutDominionEvent. -
方法概要
修饰符和类型方法说明@Nullable DominionDTOGets the dominion the player moved out of.@NotNull org.bukkit.entity.PlayerGets the player who moved out.从类继承的方法 cn.lunadeer.dominion.events.CallableEvent
call, getHandlerList, getHandlers从类继承的方法 org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
构造器详细资料
-
PlayerMoveOutDominionEvent
public PlayerMoveOutDominionEvent(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable DominionDTO dominion) Constructs a new PlayerMoveOutDominionEvent.- 参数:
player- the player who moved outdominion- the dominion the player moved out of
-
-
方法详细资料
-
getPlayer
@NotNull public @NotNull org.bukkit.entity.Player getPlayer()Gets the player who moved out.- 返回:
- the player
-
getDominion
Gets the dominion the player moved out of.Might be null if this dominion called because of dominion deletion.
- 返回:
- the dominion
-