class_name CreateCharacterSuccessPacket extends Packet const HEADER := 0x0b6f const BYTE_LENGTH := 0 ## Byte Type: u16 ## Byte Length: 2 var packet_length: int var character_information: CharacterInformation static func from_bytes(bytes: PackedByteArray): var packet = CreateCharacterSuccessPacket.new() packet.packet_length = bytes.decode_u16(2) packet.character_information = CharacterInformation.from_bytes(bytes.slice(4)) return packet