前端Lua
前端Lua
前端Lua
SL:Set_SETTING_VALUE(param1, param2)
前端Lua
SL:Set_CHAT_CUR_CHAT_CHANNEL(channel) 怎么用
前端Lua
SL:AddMapObstacle(10, 10)怎么用
前端Lua
local fentian = {} -- 属性映射配置(1-8) local attr_mapping = { [2] = { id = 36, name = "防御加成" }, [3] = { id = 60, name = "生命加成" }, [4] = { id = 200, name = "攻击力" }, [5] = { id = 207, name = "防御值" }, [6] = { id = 1, name = "生命值" },
前端Lua
LUA_EVENT_PCMINIMAP_STATUS_CHANGE 如何做触发
前端Lua
MainRightTop = {} local IconData = { { { notes = "在线充值按钮", path = "res/custom/top/11.png" }, { notes = "狂暴之力按钮", path = "res/custom/top/12.png" }, { notes = "首领挑战按钮", path = "res/custom/top/13.png" }, }, { { notes = "每日礼包按钮", path = "res/
前端Lua
那怎么做事件触发呢
前端Lua
SL:OpenMiniMapChangeUI()怎么用
前端Lua
如何根据小地图的展开状态进行事件触发
前端Lua
function MainRightTop.main() local isOnPC = SL:GetMetaValue("CURRENT_OPERMODE") if isOnPC == 1 then local parent = GUI:Attach_RightTop() local buttonLayout = GUI:Layout_Create(parent, "buttonLayout", -630, -265, 445, 235, true) local topIcon
前端Lua
function MainRightTop.main() local isOnPC = SL:GetMetaValue("CURRENT_OPERMODE") if isOnPC == 1 then local parent = GUI:Attach_RightTop() local buttonLayout = GUI:Layout_Create(parent, "buttonLayout", -665, -265, 445, 235, true) local topIcon
前端Lua
如何判断当前是移动端还是PC
前端Lua
LUA_EVENT_PCMINIMAP_STATUS_CHANGE 这样的事件如何做触发
前端Lua