Package com.avrix.events
Class OnCoopServerMessageEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnCoopServerMessageEvent
Triggered when the player receives a server message during a cooperative game.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(String messageType, String playerNick, String steamId) Called Event Handling Method
-
Constructor Details
-
OnCoopServerMessageEvent
public OnCoopServerMessageEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
Called Event Handling Method- Parameters:
messageType
- The type of message received from the server. Can be either `ping`, `pong`, `steam-id`, or `server-address`.playerNick
- The nick of the player who's sending the message.steamId
- The Steam identifier of the player who's sending the message.
-