Class GeyserLoginEvent
java.lang.Object
org.geysermc.geyser.event.GeyserEvent
org.geysermc.geyser.event.events.geyser.GeyserLoginEvent
- All Implemented Interfaces:
Cancellable
,EventSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@NonNull GeyserSession
Return theGeyserSession
for this Eventint
hashCode()
boolean
Returns true if the event has been cancelledvoid
setCancelled(boolean cancelled)
Set if an event is cancelledtoString()
-
Constructor Details
-
GeyserLoginEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()Description copied from interface:Cancellable
Returns true if the event has been cancelled- Specified by:
isCancelled
in interfaceCancellable
- Returns:
- True if cancelled
-
getSession
Description copied from interface:EventSession
Return theGeyserSession
for this Event- Specified by:
getSession
in interfaceEventSession
- Returns:
- the current session
-
setCancelled
public void setCancelled(boolean cancelled)Description copied from interface:Cancellable
Set if an event is cancelled- Specified by:
setCancelled
in interfaceCancellable
- Parameters:
cancelled
- True if event should be cancelled.
-
toString
- Overrides:
toString
in classGeyserEvent
-
equals
- Overrides:
equals
in classGeyserEvent
-
canEqual
- Overrides:
canEqual
in classGeyserEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classGeyserEvent
-