整理代码,适配新的玩家信息拉取机制,修改玩家数据保存方式
This commit is contained in:
@@ -178,9 +178,9 @@ local loadingThread=coroutine.create(function()
|
||||
LOADED=true
|
||||
|
||||
--Connect to server
|
||||
TASK.new(TICK_WS_app)
|
||||
TASK.new(TICK_WS_user)
|
||||
TASK.new(TICK_WS_play)
|
||||
TASK.new(NET.TICK_WS_app)
|
||||
TASK.new(NET.TICK_WS_user)
|
||||
TASK.new(NET.TICK_WS_play)
|
||||
WS.connect("app","/app")
|
||||
if USER.authToken then
|
||||
WS.connect("user","/user",JSON.encode{
|
||||
|
||||
Reference in New Issue
Block a user