Class GroupDeleteEvent
java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
cn.lunadeer.dominion.events.ResultEvent
cn.lunadeer.dominion.events.group.GroupDeleteEvent
- 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
ConstructorDescriptionGroupDeleteEvent
(@NotNull AbstractOperator operator, @NotNull DominionDTO dominion, @NotNull GroupDTO group) 构造权限组移除事件 -
Method Summary
Modifier and TypeMethodDescription@NotNull DominionDTO
获取领地@NotNull GroupDTO
getGroup()
获取权限组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
-
GroupDeleteEvent
public GroupDeleteEvent(@NotNull @NotNull AbstractOperator operator, @NotNull @NotNull DominionDTO dominion, @NotNull @NotNull GroupDTO group) 构造权限组移除事件- Parameters:
operator
- 操作者dominion
- 领地group
- 权限组
-
-
Method Details
-
setDominion
设置领地- Parameters:
dominion
- 领地
-
getDominion
获取领地- Returns:
- 领地
-
setGroup
设置权限组- Parameters:
group
- 权限组
-
getGroup
获取权限组- Returns:
- 权限组
-