class_name CharacterSelectionFailedPacket extends Packet const HEADER := 0x006c const BYTE_LENGTH := 3 ## Byte Type: u8 ## Byte Length: 1 var reason: int static func from_bytes(bytes: PackedByteArray): var packet = CharacterSelectionFailedPacket.new() packet.reason = bytes.decode_u8(2) return packet