[Lua] 纯文本查看 复制代码Dim res,键值表
Import "Cjson.lua"
Import "GK.lua"
Function 判断(fx, fy)
//进一步对果壳界面判断找图封装。找到图后加了false就不点击,但是返回函数的真假,后面要对这些函数返回值做出判断而做出相对应的操作
If (gk.full(fx)) Then
ms "在" & fy
判断 = True
Else
ms "不在" & fy
判断 = false
End if
End Function
Function ms(msg)
TracePrint msg
ShowMessage msg
End Function
res = URL.Get("https://koala9527.github.io/test/game.json")
//json数据 是 {"len":"2","data":{"v1":{"lx":"92","ly":"69","rx":"221","ry":"171","fc":"57B1FF","cr":"4|-3|C9E6FF,-5|-14|1592FF,-10|-4|1592FF,8|5|FBFDFF,6|-7|D8EDFF,-4|-15|1592FF,-4|1|5CB3FF,-9|-6|1592FF,-6|-24|1592FF","s":"0.9&