stoneage8.5/客户端lua文件/list.lua

22 lines
532 B
Lua
Raw Normal View History

2020-06-23 15:27:59 +08:00
function data()
grouplist = {{1, 2, 0, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·"}
}
serlist = {
{"192.168.1.2","19065","<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·"},
{"192.168.1.2","19065","<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>·"},
}
end
function main()
data()
ServerList.SetGroupMaxNum(table.getn(grouplist))
for i = 1, table.getn(grouplist) do
ServerList.SetGroupList(i - 1, grouplist[i][1], grouplist[i][2], grouplist[i][3], grouplist[i][4])
end
for i = 1, table.getn(serlist) do
ServerList.SetServerList(i - 1, serlist[i][1], serlist[i][2], serlist[i][3])
end
end