2024-09-01 22:49:41 +02:00
|
|
|
---@class XGoldenMinerItemBase
|
2023-07-15 02:35:33 +07:00
|
|
|
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
|