更新联网相关代码(非最终,但不会运行到)

This commit is contained in:
MrZ626
2021-03-01 16:35:09 +08:00
parent 33101665e3
commit a9c892e6c7
9 changed files with 230 additions and 134 deletions

View File

@@ -132,19 +132,10 @@ function scene.update()
SFX.play("welcome_sfx")
VOC.play("welcome_voc")
--[[TODO
httpRequest(tick_httpREQ_launch,PATH.http..PATH.appInfo)
if USER.auth_token and USER.email then
httpRequest(
tick_httpREQ_autoLogin,
PATH.http..PATH.auth,
"GET",
{["Content-Type"]="application/json"},
json.encode{
email=USER.email,
auth_token=USER.auth_token,
}
)
end
WS.send("user",json.encode{
id=USER.id,
authToken=USER.authToken,
})
]]
if FESTIVAL=="Xmas"then
LOG.print("==============",COLOR.red)