2019-12-08 22:43:49 +01:00
|
|
|
# vim: set fileencoding=utf-8
|
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from bemani.backend.ddr.base import DDRBase
|
|
|
|
from bemani.common import VersionConstants
|
|
|
|
|
|
|
|
|
|
|
|
class DDRX(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution X"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_X
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDRSuperNova2(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDRSuperNova2(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution SuperNova 2"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_SUPERNOVA_2
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDRSuperNova(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDRSuperNova(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution SuperNova"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_SUPERNOVA
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDRExtreme(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDRExtreme(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution Extreme"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_EXTREME
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR7thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR7thMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 7thMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_7THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR6thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR6thMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 6thMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_6THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR5thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR5thMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 5thMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_5THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR4thMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR4thMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 4thMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_4THMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR3rdMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR3rdMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 3rdMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_3RDMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR2ndMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR2ndMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 2ndMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_2NDMIX
|
2019-12-08 22:43:49 +01:00
|
|
|
|
|
|
|
def previous_version(self) -> Optional[DDRBase]:
|
|
|
|
return DDR1stMix(self.data, self.config, self.model)
|
|
|
|
|
|
|
|
|
|
|
|
class DDR1stMix(DDRBase):
|
|
|
|
|
2022-10-15 20:56:30 +02:00
|
|
|
name: str = "DanceDanceRevolution 1stMix"
|
2021-09-07 19:56:15 +02:00
|
|
|
version: int = VersionConstants.DDR_1STMIX
|