2023-02-17 06:02:21 +00:00
|
|
|
from core.data import Data
|
|
|
|
from core.config import CoreConfig
|
2023-03-09 16:38:58 +00:00
|
|
|
from titles.mai2.schema import (
|
|
|
|
Mai2ItemData,
|
|
|
|
Mai2ProfileData,
|
|
|
|
Mai2StaticData,
|
|
|
|
Mai2ScoreData,
|
|
|
|
)
|
|
|
|
|
2023-02-17 06:02:21 +00:00
|
|
|
|
|
|
|
class Mai2Data(Data):
|
|
|
|
def __init__(self, cfg: CoreConfig) -> None:
|
|
|
|
super().__init__(cfg)
|
|
|
|
|
|
|
|
self.profile = Mai2ProfileData(self.config, self.session)
|
|
|
|
self.item = Mai2ItemData(self.config, self.session)
|
|
|
|
self.static = Mai2StaticData(self.config, self.session)
|
2023-03-09 16:38:58 +00:00
|
|
|
self.score = Mai2ScoreData(self.config, self.session)
|