Package com.avrix.events
Class OnPlayerConnectEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPlayerConnectEvent
Triggered when the player connects to the server
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(ByteBuffer data, zombie.core.raknet.UdpConnection playerConnection, String username) Called Event Handling Method
-
Constructor Details
-
OnPlayerConnectEvent
public OnPlayerConnectEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
public abstract void handleEvent(ByteBuffer data, zombie.core.raknet.UdpConnection playerConnection, String username) Called Event Handling Method- Parameters:
data
- event-related data represented as a ByteBufferplayerConnection
- active player connectionusername
- user name
-