Class GeyserLoginEvent

java.lang.Object
org.geysermc.geyser.event.GeyserEvent
org.geysermc.geyser.event.events.geyser.GeyserLoginEvent
All Implemented Interfaces:
Cancellable, EventSession

public class GeyserLoginEvent extends GeyserEvent implements Cancellable, EventSession
  • Constructor Details

    • GeyserLoginEvent

      public GeyserLoginEvent(@NonNull @NonNull GeyserSession session)
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Description copied from interface: Cancellable
      Returns true if the event has been cancelled
      Specified by:
      isCancelled in interface Cancellable
      Returns:
      True if cancelled
    • getSession

      @NonNull public @NonNull GeyserSession getSession()
      Description copied from interface: EventSession
      Return the GeyserSession for this Event
      Specified by:
      getSession in interface EventSession
      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 interface Cancellable
      Parameters:
      cancelled - True if event should be cancelled.
    • toString

      public String toString()
      Overrides:
      toString in class GeyserEvent
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class GeyserEvent
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class GeyserEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class GeyserEvent