摘要:
function And(num1,num2) local tmp1 = num1 local tmp2 = num2 local ret = 0 local count = 0 repeat local s1 = tmp1 % 2 local s2 = tmp2 % 2 if s1 == s2 a 阅读全文
摘要:
-- 全局变量,记录key local limit = {} -- 2为两次可以调用的最小间隔,单位秒if limit[key] then --判断是否可被调用 local lasttime = limit[key].lasttime local curtime = os.time() if cur 阅读全文