Package cn.lunadeer.dominion.events
Class PlayerMoveOutDominionEvent
java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
cn.lunadeer.dominion.events.PlayerMoveOutDominionEvent
玩家离开领地事件,当玩家离开一个领地时触发。
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerMoveOutDominionEvent
(org.bukkit.entity.Player player, DominionDTO dominion) -
Method Summary
Modifier and TypeMethodDescription@NotNull DominionDTO
获取玩家离开的领地@NotNull org.bukkit.entity.Player
获取玩家Methods inherited from class cn.lunadeer.dominion.events.CallableEvent
call, getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerMoveOutDominionEvent
-
-
Method Details
-
getPlayer
@NotNull public @NotNull org.bukkit.entity.Player getPlayer()获取玩家- Returns:
- 玩家
-
getDominion
获取玩家离开的领地- Returns:
- 领地
-