Class RoomJoinRequestPacket
java.lang.Object
com.xpdustry.claj.common.packets.RoomLinkPacket
com.xpdustry.claj.common.packets.RoomJoinPacket
com.xpdustry.claj.common.packets.RoomJoinRequestPacket
- All Implemented Interfaces:
Packet
Only exists for compatibility with older versions.
This packet is used to validate join request, so the connection will not be added to the room.
But no reply are sent, so no reason know what was wrong, if the provided values are invalid.
This packet is used to validate join request, so the connection will not be added to the room.
RoomJoinPacket will be sent by the actual client connection and added to the room if all right. But no reply are sent, so no reason know what was wrong, if the provided values are invalid.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMax packet size: roomId + withPassword + password + typeFields inherited from class RoomJoinPacket
password, type, withPasswordFields inherited from class RoomLinkPacket
roomId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RoomJoinPacket
allow, read, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
handleClient, handleServer, r, w
-
Field Details
-
SIZE
public static final int SIZEMax packet size: roomId + withPassword + password + type- See Also:
-
-
Constructor Details
-
RoomJoinRequestPacket
public RoomJoinRequestPacket()
-
-
Method Details
-
toJoinPacket
-