mirror of
https://github.com/wxd-gaming/test-all.git
synced 2026-05-09 23:16:02 +08:00
【测试】oninit
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user