PGRData/Script/matrix/xui/xuiguildwar/XUiGuildWarTips.lua
2024-09-01 22:49:41 +02:00

15 lines
480 B
Lua

---@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