PGRData/Script/matrix/xui/xuidlchunt/attr/XUiDlcHuntAttrDialogMagicGrid.lua
2024-09-01 22:49:41 +02:00

15 lines
No EOL
440 B
Lua

---@class XUiDlcHuntAttrDialogMagicGrid
local XUiDlcHuntAttrDialogMagicGrid = XClass(nil, "XUiDlcHuntAttrDialogMagicGrid")
function XUiDlcHuntAttrDialogMagicGrid:Ctor(ui)
self.GameObject = ui.gameObject
self.Transform = ui.transform
XTool.InitUiObject(self)
end
function XUiDlcHuntAttrDialogMagicGrid:Update(data)
self.TxtAffix.text = data.Name
self.TxtAffix2.text = data.Desc
end
return XUiDlcHuntAttrDialogMagicGrid