Package com.avrix.events
Class OnPlayerDisconnectEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPlayerDisconnectEvent
Triggered when the server decided to disconnect from the player.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoPlayer player, zombie.core.raknet.UdpConnection playerConnection) Called Event Handling Method
-
Constructor Details
-
OnPlayerDisconnectEvent
public OnPlayerDisconnectEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- 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.
-