PGRData/Script/matrix/xui/xuiguildwar/XUiGuildWarTips.lua

16 lines
480 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
---@class XUiGuildWarTips:XLuaUi
local XUiGuildWarTips = XLuaUiManager.Register(XLuaUi, "UiGuildWarTips")
function XUiGuildWarTips:OnAwake()
self:RegisterClickEvent(self.BtnTanchuangClose, self.Close)
self:RegisterClickEvent(self.BtnClose, self.Close)
self:RegisterClickEvent(self.BtnConfirm, self.OnClickSelectDifficulty)
end
function XUiGuildWarTips:OnClickSelectDifficulty()
self:Close()
XLuaUiManager.Open("UiGuildWarSelect")
end
return XUiGuildWarTips