15 lines
No EOL
331 B
Lua
15 lines
No EOL
331 B
Lua
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 |