forked from Dniel97/artemis
Dniel97
e50fedad49
round database implenments idac: database upgrade script idac: unused upgrade script idac: even more round event implements idac: some bugfixes idac: convert round event file to UTF-8 idac: async round info loading idac: last round ranking impl idac: bugfixes idac: bugfixes idac: bugfixes idac: 160~240 number plate implemented idac: remove SQL comment idac: sort things out and make multi-season compatibility
17 lines
606 B
Python
17 lines
606 B
Python
from core.data import Data
|
|
from core.config import CoreConfig
|
|
from titles.idac.schema.profile import IDACProfileData
|
|
from titles.idac.schema.item import IDACItemData
|
|
from titles.idac.schema.rounds import IDACOnlineRounds
|
|
from titles.idac.schema.factory import IDACFactoryData
|
|
|
|
|
|
class IDACData(Data):
|
|
def __init__(self, cfg: CoreConfig) -> None:
|
|
super().__init__(cfg)
|
|
|
|
self.profile = IDACProfileData(cfg, self.session)
|
|
self.item = IDACItemData(cfg, self.session)
|
|
self.rounds = IDACOnlineRounds(cfg, self.session)
|
|
self.factory = IDACFactoryData(cfg, self.session)
|