Class StatusChangeEvent

All Implemented Interfaces:
Cancellable
Direct Known Subclasses:
AfkStatusChangeEvent, FlyStatusChangeEvent, GodStatusChangeEvent, IgnoreStatusChangeEvent, JailStatusChangeEvent, MuteStatusChangeEvent, VanishStatusChangeEvent

public abstract class StatusChangeEvent extends StateChangeEvent implements Cancellable
This handles common boilerplate for events for changes in state that are boolean (true/false).
  • Constructor Details

    • StatusChangeEvent

      public StatusChangeEvent(IUser affected, IUser controller, boolean value)
    • StatusChangeEvent

      public StatusChangeEvent(boolean isAsync, IUser affected, IUser controller, boolean value)
  • Method Details

    • getValue

      public boolean getValue()