SoUI 0.5版本占坑
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
402 B

3 years ago
local mt = {}
mt.__index = mt
function mt:add(format, ...)
self.hexs[#self.hexs+1] = (format):pack(...)
end
function mt:add_head()
self:add('c4LL', 'W3do', 8, 11)
end
function mt:add_data()
self:add('L', 0)
end
return function(self)
local tbl = setmetatable({}, mt)
tbl.hexs = {}
tbl.self = self
tbl:add_head()
tbl:add_data()
return table.concat(tbl.hexs)
end