前端Lua
前端Lua
前端Lua
local function npcclick() SL:Print("属性刷新...") end SL:RegisterLUAEvent(LUA_EVENT_NPC_TALK, "属性刷新", npcclick) 这段话的意思 作用是什么
前端Lua
sendmsgnew这个命令在哪个文件里面
前端Lua
sendmsgnew 这个接口在哪里修改
前端Lua
比如这样的事件 我在到NPC的脚本文件里面 我每次打开界面都是用SL:Require("GUILayout/Framework/game/A/" npc_listscript, true) 事件会被反复注册吗 SL:RegisterLUAEvent(LUA_EVENT_ONPLAYLEVELUP, "MyLevelUpHandler", function() print("【我的模块】玩家升级了!") end)
前端Lua
那怎么清理没有执行的单次定时器
前端Lua
重复执行 单次定时器会重复创建吗
前端Lua
单次定时间 小退会清空吗
前端Lua
LUA_EVENT_ENTER_WORLD和 LUA_EVENT_MAIN_INIT 区别
前端Lua
-- 判断是否为手机端 local isMobile = SL:GetMetaValue("IS_MOBILE", 0) or 0 -- 显示物品需求 if GUI:Win_IsNull(ui.itemroom) == false and next_data then GUI:removeAllChildren(ui.itemroom) local item_name = next_data.name2 or "称号卷轴" local itemCount =
前端Lua
-- 显示物品需求 if GUI:Win_IsNotNull(ui.itemroom) and next_data then GUI:removeAllChildren(ui.itemroom) local item_name = next_data.name2 or "称号卷轴" local itemCount = tonumber(SL:GetMetaValue("ITEM_COUNT", item_name)) o
前端Lua
-- 显示物品需求 if GUI:Win_IsNotNull(ui.itemroom) and next_data then GUI:removeAllChildren(ui.itemroom) local item_name = next_data.name2 or "称号卷轴" local itemCount = tonumber(SL:GetMetaValue("ITEM_COUNT", item_name)) o
前端Lua
local qingxukezhan = {} function qingxukezhan.main(param1, param2, param3, param4) lib:Require(param1, function(state) if state then if param1 then qingxukezhan.parent = lib:openwin(param1, nil, true, param4) o
前端Lua
local qingxukezhan = {} function qingxukezhan.main(param1, param2, param3, param4) lib:Require(param1, function(state) if state then if param1 then qingxukezhan.parent = lib:openwin(param1, nil, true, param4) o
前端Lua