Class RoomCreationRequestPacket

java.lang.Object
com.xpdustry.claj.common.packets.RoomCreationRequestPacket
All Implemented Interfaces:
Packet

public class RoomCreationRequestPacket extends Object implements Packet
  • Field Details

    • version

      public int version
      Must be the same as the server's major version to be able to connect.
    • type

      public ClajType type
      Implementation type.
  • Constructor Details

    • RoomCreationRequestPacket

      public RoomCreationRequestPacket()
  • Method Details

    • read

      public void read(arc.util.io.ByteBufferInput read)
      Specified by:
      read in interface Packet
    • write

      public void write(arc.util.io.ByteBufferOutput write)
      Specified by:
      write in interface Packet
    • allow

      public boolean allow(boolean isServer)
      Specified by:
      allow in interface Packet
      Returns:
      whether this packet should be allowed or ignored, for the type of endpoint.