forked from endernon/PGRData
17 lines
454 B
Lua
17 lines
454 B
Lua
|
|
||
|
local XUiSSBMonsterBuffGrid = XClass(nil, "XUiSSBMonsterBuffGrid")
|
||
|
|
||
|
function XUiSSBMonsterBuffGrid:Ctor(uiPrefab)
|
||
|
|
||
|
end
|
||
|
|
||
|
function XUiSSBMonsterBuffGrid:Init(uiPrefab)
|
||
|
XTool.InitUiObjectByUi(self, uiPrefab)
|
||
|
end
|
||
|
|
||
|
function XUiSSBMonsterBuffGrid:Refresh(fightEventId)
|
||
|
local details = XFubenConfigs.GetStageFightEventDetailsByStageFightEventId(fightEventId)
|
||
|
self.RImgIcon:SetRawImage(details and details.Icon)
|
||
|
end
|
||
|
|
||
|
return XUiSSBMonsterBuffGrid
|