Class MemberRemovedEvent
java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
cn.lunadeer.dominion.events.ResultEvent
cn.lunadeer.dominion.events.member.MemberRemovedEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
成员移除事件
当玩家移除成员时触发
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionMemberRemovedEvent
(@NotNull AbstractOperator operator, @NotNull DominionDTO dominion, @NotNull MemberDTO member) 构造成员移除事件 -
Method Summary
Modifier and TypeMethodDescription@NotNull DominionDTO
获取领地@NotNull MemberDTO
获取成员void
setDominion
(@NotNull DominionDTO dominion) 设置领地void
设置成员Methods inherited from class cn.lunadeer.dominion.events.ResultEvent
getOperator, isCancelled, setCancelled, setCancelled, setCancelledAdnComplete
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
-
MemberRemovedEvent
public MemberRemovedEvent(@NotNull @NotNull AbstractOperator operator, @NotNull @NotNull DominionDTO dominion, @NotNull @NotNull MemberDTO member) 构造成员移除事件- Parameters:
operator
- 操作者dominion
- 领地member
- 成员
-
-
Method Details
-
setDominion
设置领地- Parameters:
dominion
- 领地
-
getDominion
获取领地- Returns:
- 领地
-
setMember
设置成员- Parameters:
member
- 成员
-
getMember
获取成员- Returns:
- 成员
-