云存档功能完成,暂时只能通过控制台使用

This commit is contained in:
MrZ626
2021-06-06 22:32:13 +08:00
parent 2e5f943b79
commit d3170ab219
4 changed files with 128 additions and 16 deletions

View File

@@ -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