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

18 lines
No EOL
669 B
Lua

local XSmashBAssistanceMonsterViewModel = require("XEntity/XSuperSmashBros/XSmashBAssistanceMonsterViewModel")
---@class XSmashBAssistanceMonsterRawData:XSmashBCharacter
local XSmashBAssistanceMonsterRawData = XClass(nil, "XSmashBAssistanceMonsterRawData")
function XSmashBAssistanceMonsterRawData:Ctor(config)
self._Config = config
self.CharacterViewModel = false
end
function XSmashBAssistanceMonsterRawData:GetCharacterViewModel()
if self.CharacterViewModel == nil then
self.CharacterViewModel = XSmashBAssistanceMonsterViewModel.New(self._Config.AssistId)
end
return self.CharacterViewModel
end
return XSmashBAssistanceMonsterRawData