STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
前端Lua

function zhuanpanOBJ:createItemShow() -- 先清理已存在的红点 for i = 1, 8 do local item = self.ui["item_" .. i] if item and not GUI:Win_IsNull(item) then local oldRedDot = GUI:getChildByName(item, "Image_bg_" .. i)

前端Lua

翻页容器怎么用

前端Lua

SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE, "temp", function(data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) if data["opera"] == 1 then handleBuffItem(data["operID"]) end end) function handleBuffI

前端Lua

SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) if data["opera"] == 1 then handleBuffItem(data["operID"])

前端Lua

for _, value in ipairs(itemsList) do SL:release_print(item["Index"]) if value == item["Index"] then if item["Index"] then SL:release_print(item["Index"]) SL:OpenAutoUseT

前端Lua

local zhuanpanOBJ = {} zhuanpanOBJ.Name = "zhuanpanOBJ" zhuanpanOBJ.cfg = { { { showReward = { { 19, 12 } }, index2 = 1 }, { showReward = { { 19, 18 } }, index2 = 2 }, { showReward = { { 19, 20 } }, index2 = 3 },

前端Lua

SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) for key, value in pairs(data["operID"][1]["item"]) do SL:release_print(key,

前端Lua

同时给的物品只使用了一个

前端Lua

SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) for key, value in pairs(data["operID"][1]["item"]) do SL:release_print(key,

前端Lua

SL:RegisterLUAEvent(LUA_EVENT_BAG_ITEM_CHANGE,"temp", function (data) SL:release_print(data["opera"], data["operID"][1]["item"]["Name"]) for key, value in pairs(data["operID"][1]["item"]) do SL:release_print(key,

前端Lua

local zhuanpanOBJ = {} zhuanpanOBJ.Name = "zhuanpanOBJ" zhuanpanOBJ.cfg = { { { showReward = { { 19, 12 } }, index2 = 1 }, { showReward = { { 19, 18 } }, index2 = 2 }, { showReward = { { 19, 20 } }, index2 = 3 },

前端Lua

我需要创建一个物品框怎么创建

前端Lua

获得物品触发怎么写

前端Lua

function MainButton:setupDataListener(parent) -- 每1秒检查一次数据变化 SL:Schedule(function() if not GUI:Win_IsNull(parent) then local node = GUI:getChildByName(parent, "node_rightSide_1") if not GUI:Win_IsNull(node) the

前端Lua

local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res/public/996kf_red.png", cmd = { 1, 0, 0 } }, --GM功能 } function MainButton:main() SL:ScheduleOnce(function() local parent = GUI:Attach_LeftTop