forked from endernon/PGRData
18 lines
No EOL
483 B
Lua
18 lines
No EOL
483 B
Lua
local XPlanetIObject = require("XEntity/XPlanet/XGameObject/XPlanetIObject")
|
|
|
|
---@class XChapterPlanet:XPlanetIObject
|
|
local XChapterPlanet = XClass(XPlanetIObject, "XPlanet")
|
|
|
|
function XChapterPlanet:Ctor(root, chapterId)
|
|
self.ChapterId = chapterId
|
|
end
|
|
|
|
function XChapterPlanet:GetAssetPath()
|
|
return XPlanetStageConfigs.GetChapterPlanetPrefabUrl(self.ChapterId)
|
|
end
|
|
|
|
function XChapterPlanet:GetObjName()
|
|
return "ChapterPlanet" .. self.ChapterId
|
|
end
|
|
|
|
return XChapterPlanet |