Class OnPlayerDisconnectEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPlayerDisconnectEvent

public abstract class OnPlayerDisconnectEvent extends Event
Triggered when the server decided to disconnect from the player.
  • Constructor Details

    • OnPlayerDisconnectEvent

      public OnPlayerDisconnectEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.characters.IsoPlayer player, zombie.core.raknet.UdpConnection playerConnection)
      Called Event Handling Method
      Parameters:
      player - Object of the player who left.
      playerConnection - Connection of a player who has left the server.