PGRData/Script/matrix/xentity/xgoldenminer/XGoldenMinerItemBase.lua
2024-09-01 22:49:41 +02:00

16 lines
No EOL
362 B
Lua

---@class XGoldenMinerItemBase
local XGoldenMinerItemBase = XClass(nil, "XGoldenMinerItemBase")
function XGoldenMinerItemBase:Ctor(itemId)
self:SetItemId(itemId)
end
function XGoldenMinerItemBase:SetItemId(itemId)
self._ItemId = itemId --道具Id
end
function XGoldenMinerItemBase:GetItemId()
return self._ItemId
end
return XGoldenMinerItemBase