云存档功能完成,暂时只能通过控制台使用
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
local data=love.data
|
||||
local next,type=next,type
|
||||
local TABLE={}
|
||||
|
||||
@@ -188,16 +187,4 @@ do--function TABLE.dumpDeflate(L,t)
|
||||
TABLE.dumpDeflate=dump
|
||||
end
|
||||
|
||||
function TABLE.pack(t)
|
||||
return STRING.packText(TABLE.dumpDeflate(t))
|
||||
end
|
||||
|
||||
function TABLE.unpack(s)
|
||||
s=loadstring(STRING.unpackText(s))
|
||||
if s then
|
||||
setfenv(s,{})
|
||||
return s()
|
||||
end
|
||||
end
|
||||
|
||||
return TABLE
|
||||
Reference in New Issue
Block a user