class_name LoginCharacterList extends Resource var slot_count: int var character_information: Array[CharacterInformation] static func from_character_list_packet(packet: CharacterServerLoginSuccessCharacterListPacket) -> LoginCharacterList: var resource := LoginCharacterList.new() resource.slot_count = packet.maximum_slot_count resource.character_information = packet.character_information return resource