2023-02-17 06:02:21 +00:00
|
|
|
from core.data import Data
|
|
|
|
from core.config import CoreConfig
|
2023-02-18 20:01:31 +00:00
|
|
|
from titles.diva.schema import DivaProfileData, DivaScoreData, DivaModuleData, DivaCustomizeItemData, DivaPvCustomizeData, DivaItemData, DivaStaticData
|
|
|
|
|
2023-02-17 06:02:21 +00:00
|
|
|
|
|
|
|
class DivaData(Data):
|
|
|
|
def __init__(self, cfg: CoreConfig) -> None:
|
|
|
|
super().__init__(cfg)
|
|
|
|
|
|
|
|
self.profile = DivaProfileData(self.config, self.session)
|
|
|
|
self.score = DivaScoreData(self.config, self.session)
|
2023-02-18 20:01:31 +00:00
|
|
|
self.module = DivaModuleData(self.config, self.session)
|
|
|
|
self.customize = DivaCustomizeItemData(self.config, self.session)
|
|
|
|
self.pv_customize = DivaPvCustomizeData(self.config, self.session)
|
2023-02-17 06:02:21 +00:00
|
|
|
self.item = DivaItemData(self.config, self.session)
|
|
|
|
self.static = DivaStaticData(self.config, self.session)
|