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

public class MemberRemovedEvent extends ResultEvent
成员移除事件

当玩家移除成员时触发

  • Constructor Details

    • MemberRemovedEvent

      public MemberRemovedEvent(@NotNull @NotNull AbstractOperator operator, @NotNull @NotNull DominionDTO dominion, @NotNull @NotNull MemberDTO member)
      构造成员移除事件
      Parameters:
      operator - 操作者
      dominion - 领地
      member - 成员
  • Method Details

    • setDominion

      public void setDominion(@NotNull @NotNull DominionDTO dominion)
      设置领地
      Parameters:
      dominion - 领地
    • getDominion

      @NotNull public @NotNull DominionDTO getDominion()
      获取领地
      Returns:
      领地
    • setMember

      public void setMember(@NotNull @NotNull MemberDTO member)
      设置成员
      Parameters:
      member - 成员
    • getMember

      @NotNull public @NotNull MemberDTO getMember()
      获取成员
      Returns:
      成员