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

15 lines
No EOL
499 B
Lua

---@class XUiDlcHuntAttrDialogChipGroupAttrGrid
local XUiDlcHuntAttrDialogChipGroupAttrGrid = XClass(nil, "XUiDlcHuntAttrDialogChipGroupAttrGrid")
function XUiDlcHuntAttrDialogChipGroupAttrGrid:Ctor(ui)
self.GameObject = ui.gameObject
self.Transform = ui.transform
XTool.InitUiObject(self)
end
function XUiDlcHuntAttrDialogChipGroupAttrGrid:Update(data)
self.TxtAttribute.text = data.Name
self.TxtChipAddition.text = data.Value
end
return XUiDlcHuntAttrDialogChipGroupAttrGrid