前端Lua
前端Lua
前端Lua
if GUI:getDescription(winid) == "Layout" then local layout = {} layout.dir = 2 layout.addDir = 2 layout.gap = { x = interval and interval or 20 } layout.sortfunc = function(lists) table.sort(lists, function(a, b) return GUI:getTag(a) > GUI:getTag(b)
前端Lua
30-50 以内 除以10 取余数
前端Lua
获取指定父节点下子控件的数量的命令
前端Lua
if GUI:getDescription(winid) == "Layout" and GUI:getChildCount(winid) <= 1 then local layout = {} layout.dir = 2 layout.addDir = 2 layout.gap = { x = interval and interval or 20 } layout.sortfunc = function(lis
前端Lua
if GUI:getDescription(winid) == "Layout" and GUI:getChildrenCount(winid) <= 1 then local layout = {} layout.dir = 2 layout.addDir = 2 layout.gap = { x = interval and interval or 20 } layout.sortfunc = function(
前端Lua
local fourthAnim = GUI:Frames_Create( parent, "FourthFrames", screenWidth / 2, screenHeight / 2, "res/yuding/donghua/c/c", ".png", 1, jieshuzhen, {speed = 80, count = 41, loop =
前端Lua
GUI:getChildrenCount(winid)
前端Lua
if GUI:getDescription(winid) == "Layout" then local layout = {} layout.dir = 2 layout.addDir = 2 layout.gap = { x = interval and interval or 20 } layout.sortfunc = function(lists) table.sort(lists, function(a, b) return GUI:getTag(a) > GUI:getTag(b)
前端Lua
local function show(parent,jieshuzhen,itemshow) local screenWidth = SL:GetMetaValue("SCREEN_WIDTH", 0) local screenHeight = SL:GetMetaValue("SCREEN_HEIGHT", 0) local fourthAnim = GUI:Frames_Create( parent, "FourthFrames",
前端Lua
if GUI:getDescription(winid) == "Layout" then local layout = {} layout.dir = 2 layout.addDir = 2 layout.gap = { x = interval and interval or 20 } layout.sortfunc = function(lists) table.sort(lists, function(a, b) return GUI:getTag(a) > GUI:getTag(b)
前端Lua
local function zhuanpan(msgID, msgData) local screenWidth = SL:GetMetaValue("SCREEN_WIDTH", 0) local screenHeight = SL:GetMetaValue("SCREEN_HEIGHT", 0) local parent = GUI:Win_Create("zhuanpan", 0, 0, 0, 0, false, false, true, false,
前端Lua
local function zhuanpan(msgID, msgData) local screenWidth = SL:GetMetaValue("SCREEN_WIDTH", 0) local screenHeight = SL:GetMetaValue("SCREEN_HEIGHT", 0) local parent = GUI:Win_Create("zhuanpan", 0, 0, 0, 0, false, false, true, false,
前端Lua
GUI:addOnClickEvent(beimian, function() GUI:removeFromParent(beimian) local i = 1 local eff = GUI:Effect_Create(itemshow[i], itemshow[i], -20, 82, 0, 20212, 0, 0, 0, 1) GUI
前端Lua