【不能用】继续改联网,能登录了

框架跟进
This commit is contained in:
MrZ_26
2022-09-28 23:00:43 +08:00
parent bc9f00d09f
commit 9ccc019bb9
8 changed files with 79 additions and 67 deletions

View File

@@ -574,12 +574,24 @@ do--Game data tables
REPLAY={}--Replay objects (not include stream data)
end
do--Userdata tables
USER={--User infomation
email=false,
password=false,
rToken=false,
aToken=false,
}
USER=setmetatable({--User infomation
__data={
email=false,
password=false,
rToken=false,
aToken=false,
},
},{
__index=function(self,k)
return self.__data[k]
end,
__newindex=function(self,k,v)
if self.__data[k]~=nil and v~=nil then
self.__data[k]=v
saveFile(USER.__data,'conf/user')
end
end,
})
SETTING={--Settings
--Tuning
das=10,arr=2,