前端Lua
前端Lua
前端Lua
function ItemTips.GetSuitPanel(suitConfig, itemData, idx) if ItemTips._diff then return end local tipsPanel, listView = ItemTips.GetNewTipsPanel("suit" .. (itemData.MakeIndex or "_") .. (idx or 0)) local panel = GUI:Layo
前端Lua
function ItemTips.GetSuitPanel(suitConfig, itemData, idx) if ItemTips._diff then return end local tipsPanel, listView = ItemTips.GetNewTipsPanel("suit" .. (itemData.MakeIndex or "_") .. (idx or 0)) local panel = GUI:Layout_C
前端Lua
local suitCalType = SL:GetMetaValue("GAME_DATA", "SuitCalType") or 0 local suitSwitch = tonumber(suitCalType) == 1 local IsHideSuitTips = (tonumber(SL:GetMetaValue("GAME_DATA", "hideSuitTips")) or 0) == 1 if not IsHideSuitTips then
前端Lua
获取尺寸
前端Lua
那顶部描述的对象是哪个
前端Lua
为什么是table,不是userdata
前端Lua
function ItemTips.CreateEquipPanel(data, itemData, isWear, panelInsertIndex) if not data or not itemData then return end if SL:GetMetaValue("WINPLAYMODE") then isWear = false end ResetDescParam() ItemTips.item
前端Lua
获取父节点
前端Lua
local rich_att = GUI:RichTextFCOLOR_Create(ItemTips.contentPanel, string.format("rich_att_%s", rich_att_num), math.floor(v.x or 0), math.floor(v.y or 0), v.text, ItemTips._isItem and 420 or (_TotalWidth - 20), textSize, "#FFFFFF", vspace, nil, fontPa
前端Lua
local function pushDescItem(desc, descTag) if not desc or not ItemTips.contentPanel then return end local movePosY = 0 if desc and next(desc) then local contentSz = GUI:getContentSize(ItemTips.contentPanel) for
前端Lua
function ItemTips.CreateEquipPanel(data, itemData, isWear, panelInsertIndex) if not data or not itemData then return end if SL:GetMetaValue("WINPLAYMODE") then isWear = false end ResetDescParam() ItemTips.item
前端Lua
function ItemTips.CreateEquipPanel(data, itemData, isWear, panelInsertIndex) if not data or not itemData then return end if SL:GetMetaValue("WINPLAYMODE") then isWear = false end ResetDescParam() ItemTips.itemCount = 0 if not ItemTips._PList then
前端Lua
[LUA-print] LUA ERROR: [string "GUILayout/GUIUtil.lua"]:54: module 'GUILayout/A/n1_chuansong' not found: no field package.preload['GUILayout/A/n1_chuansong'] no file 'scripts/GUILayout/A/n1_chuansong.lua' no file './GUILayout/
前端Lua