class_name RequestCharacterListSuccessPacket extends Packet var character_information: Array static func from_bytes(bytes: PackedByteArray): var packet = RequestCharacterListSuccessPacket.new() packet.character_information = CharacterInformation.array_from_bytes(bytes) return packet static func from_bytes_via_peer(peer: StreamPeer): var _header = peer.get_data(4) var remaining_bytes = peer.get_data(peer.get_available_bytes()) return from_bytes(remaining_bytes[1])