【测试】oninit

This commit is contained in:
wxd-gaming
2025-01-09 20:25:16 +08:00
parent 396700afa3
commit b0df9649bf
4 changed files with 35 additions and 65 deletions

View File

@@ -54,41 +54,3 @@ function tableInsert.onLogin(player)
print("onLogin", player:toString())
end
--LoginEventListerTable:eventLister("0", "test", function()
-- print("test")
--end, 999999)
--
--LoginEventListerTable:eventLister("0", "test", this.t1)
--
--LoginEventListerTable:eventLister("0", "test", function()
-- print("test100")
--end, 100)
--
--LoginEventListerTable:eventLister("0", "test", function()
-- print("test1")
--end, 1)
--LoginEventListerTable:triggerEvent("0")
local a = 10
print(a < 20 and a or 20)
--gameDebug.debug(function()
-- CheckOpenEventListerTable:eventLister("0", "会员礼包检测", function()
-- return "CheckOpenEventListerTable"
-- end)
--
-- print(CheckOpenEventListerTable:triggerResult("0"))
--end)
--
--local tmpList = {}
--
--for i = 1, 10 do
-- table.insert(tmpList, tostring(i))
--end
--
--gameDebug.print(tmpList)
--
--table.remove(tmpList, 5)
--
--gameDebug.print(tmpList)