9 lines
145 B
Lua
9 lines
145 B
Lua
|
local packet = require("packet")
|
||
|
|
||
|
local packet_names = {}
|
||
|
|
||
|
for key, value in pairs(packet) do
|
||
|
packet_names[value] = key
|
||
|
end
|
||
|
|
||
|
return packet_names
|