PGRData/Script/matrix/xui/xuidlchunt/bag/XUiDlcHuntTip.lua

17 lines
591 B
Lua
Raw Normal View History

2024-09-01 22:49:41 +02:00
local XUiTip = require("XUi/XUiTip/XUiTip")
---@class XUiDlcHuntTip:XLuaUi
local XUiDlcHuntTip = XLuaUiManager.Register(XUiTip, "UiDlcHuntTip")
function XUiDlcHuntTip:OnStart(data, hideSkipBtn, rootUiName, lackNum, showNum)
local musicKey = self:GetAutoKey(self.BtnBack, "onClick")
self.SpecialSoundMap[musicKey] = XSoundManager.UiBasicsMusic.Return
self.HideSkipBtn = hideSkipBtn
self.RootUiName = rootUiName
self.Data = data
self.LackNum = lackNum
self.ShowNum = showNum -- 兼容自定义数量
--self:PlayAnimation("AnimStart")
end
return XUiDlcHuntTip