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

public class ServerReceivePacketEvent extends ClientHandlerEvent
Represents the event called after a Server has received a PacketDeserializer from a ClientHandler.
See Also:
  • Constructor Details

    • ServerReceivePacketEvent

      public ServerReceivePacketEvent(ClientHandler clientHandler, byte[] packet)
      Constructs a new server receive packet event.
      Parameters:
      clientHandler - Client handler involved
      packet - Packet received
  • Method Details

    • getPacket

      public byte[] getPacket()
      Gets the packet received by the server.
      Returns:
      Packet received
      See Also: