Package net.ess3.api.events
Class StatusChangeEvent
java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.StateChangeEvent
net.ess3.api.events.StatusChangeEvent
- All Implemented Interfaces:
Cancellable
- Direct Known Subclasses:
AfkStatusChangeEvent
,FlyStatusChangeEvent
,GodStatusChangeEvent
,IgnoreStatusChangeEvent
,JailStatusChangeEvent
,MuteStatusChangeEvent
,VanishStatusChangeEvent
This handles common boilerplate for events for changes in state that are boolean (true/false).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionStatusChangeEvent
(boolean isAsync, IUser affected, IUser controller, boolean value) StatusChangeEvent
(IUser affected, IUser controller, boolean value) -
Method Summary
Methods inherited from class net.ess3.api.events.StateChangeEvent
getAffected, getController, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
StatusChangeEvent
-
StatusChangeEvent
-
-
Method Details
-
getValue
public boolean getValue()
-