前端Lua
前端Lua
前端Lua
function huoquname() local newname = itemData.Name return newname end -- 新增加的 -- 注册监听Tips鼠标滚动 SL:RegisterLUAEvent(LUA_EVENT_ITEMTIPS_MOUSE_SCROLL, "ItemTips", ItemTips.OnMouseScroll) end local t = {
前端Lua
function huoquname() local newname = itemData.Name return newname end -- 新增加的 -- 注册监听Tips鼠标滚动 SL:RegisterLUAEvent(LUA_EVENT_ITEMTIPS_MOUSE_SCROLL, "ItemTips", ItemTips.OnMouseScroll) 这里返回的 如何在 local t = {name = '井中月',path ='res/
前端Lua
为什么鼠标移动 返回的值是上次的
前端Lua
local t = {name = '井中月',path ='res/public_win32/bg_npc_01.png'} function ItemTips.AddTipLayout(parent, name) local node = GUI:Widget_Create(parent, "widget_" .. name, 0, 0) GUI:LoadExport(node, "item/item_tips") local ui = GUI:ui_deleg
前端Lua
local t = {name = '井中月',path ='res/public_win32/bg_npc_01.png'} function ItemTips.AddTipLayout(parent, name) local node = GUI:Widget_Create(parent, "widget_" .. name, 0, 0) GUI:LoadExport(node, "item/item_tips") local ui = GUI:ui_deleg
前端Lua
local ui = {} function ui.init(parent) -- Create tipsLayout local tipsLayout = GUI:Layout_Create(parent, "tipsLayout", 265.00, 400.00, 135.00, 173.00, false) GUI:Layout_setBackGroundImageScale9Slice(tipsLayout, 44, 44, 57, 57) GUI:Layout_setBackG
前端Lua
local n1_chuansong = {} local list = { { name = "比奇城", mapId = "0", lv = 0, equal = { "幽灵项链", "幽灵手套", "龙之戒指", } }, { name = "盟重省", mapId = "3", lv = 25, equal = { "幽灵项链", "幽灵手套", "龙之戒指", "道士头盔", } }, { name = "沙巴克城", mapId = "0150", lv =
前端Lua
function ItemTips.main(data) local parent = GUI:Attach_Parent() ItemTips._data = data ItemTips._panelListSubItems = {} ItemTips.itemCount = 0 ItemTips._PList = nil ItemTips._diff = false ItemTips._equipAttList = {} -- 身上的装
前端Lua
local n1_chuansong = {} local list = { { name = "比奇城", mapId = "0", lv = 0, equal = { "幽灵项链", "幽灵手套", "龙之戒指", } }, { name = "盟重省", mapId = "3", lv = 25, equal = { "幽灵项链", "幽灵手套", "龙之戒指", "道士头盔", } }, { name = "沙巴克城", mapId = "0150", lv =
前端Lua
ItemTips = {} local screenW = SL:GetMetaValue("SCREEN_WIDTH") local screenH = SL:GetMetaValue("SCREEN_HEIGHT") local ItemFrom = SL:GetMetaValue("ITEMFROMUI_ENUM") local FormHero = { [ItemFrom.HERO_EQUIP] = true, [ItemFrom.HERO_BAG] = true,
前端Lua
更换itemtips的背景图在哪
前端Lua
Inner height <= scrollview height, it will be force sized! 什么意思
前端Lua
function ItemTips.ParseExAddAttr(attr, needAttrList) if not attr or string.len(attr) == "" then return end local attrAlignment = SL:GetMetaValue("WINPLAYMODE") and tonumber(SL:GetMetaValue("GAME_DATA", "pc_tips_attr_alignment
前端Lua