Class ServerReceivePacketEvent
java.lang.Object
me.remigio07.chatplugin.api.proxy.event.socket.ClientHandlerEvent
me.remigio07.chatplugin.api.proxy.event.socket.ServerReceivePacketEvent
- All Implemented Interfaces:
ChatPluginEvent
- See Also:
-
Constructor Summary
ConstructorDescriptionServerReceivePacketEvent
(ClientHandler clientHandler, byte[] packet) Constructs a new server receive packet event. -
Method Summary
Methods inherited from class me.remigio07.chatplugin.api.proxy.event.socket.ClientHandlerEvent
getClientHandler
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.remigio07.chatplugin.api.common.event.ChatPluginEvent
call
-
Constructor Details
-
ServerReceivePacketEvent
Constructs a new server receive packet event.- Parameters:
clientHandler
- Client handler involvedpacket
- Packet received
-
-
Method Details
-
getPacket
public byte[] getPacket()Gets the packet received by the server.- Returns:
- Packet received
- See Also:
-