local packet = require("packet") local packet_names = {} for key, value in pairs(packet) do packet_names[value] = key end return packet_names