PGRData/Script/matrix/xui/xuiguildwar/difficultselect/XUiGuildWarMapDetail.lua

17 lines
542 B
Lua
Raw Permalink Normal View History

2024-09-01 22:49:41 +02:00
---@class XUiGuildWarMapDetail:XLuaUi
local XUiGuildWarMapDetail = XLuaUiManager.Register(XLuaUi, "UiGuildWarMapDetail")
function XUiGuildWarMapDetail:Ctor()
self._TextMapName = false
self._TextDesc = false
self._ImageBuff = false
end
function XUiGuildWarMapDetail:OnStart(buffId)
self._TextMapName.text = XGuildWarConfig.GetFightEventName(buffId)
self._TextDesc.text = XGuildWarConfig.GetFightEventDesc(buffId)
self._ImageBuff:SetRawImage(XGuildWarConfig.GetFightEventIcon(buffId))
end
return XUiGuildWarMapDetail