mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-08-25 20:04:25 -05:00
Add support for Jubeat omnimix on api
This commit is contained in:
committed by
Jennifer Taylor
parent
3c1054b54c
commit
d14317c18c
@@ -215,7 +215,11 @@ class CatalogObject(BaseObject):
|
||||
|
||||
@property
|
||||
def music_version(self) -> int:
|
||||
if self.game in {GameConstants.IIDX, GameConstants.MUSECA}:
|
||||
if self.game in {
|
||||
GameConstants.IIDX,
|
||||
GameConstants.MUSECA,
|
||||
GameConstants.JUBEAT,
|
||||
}:
|
||||
if self.omnimix:
|
||||
return self.version + DBConstants.OMNIMIX_VERSION_BUMP
|
||||
else:
|
||||
|
||||
@@ -222,7 +222,11 @@ class RecordsObject(BaseObject):
|
||||
|
||||
@property
|
||||
def music_version(self) -> int:
|
||||
if self.game in {GameConstants.IIDX, GameConstants.MUSECA}:
|
||||
if self.game in {
|
||||
GameConstants.IIDX,
|
||||
GameConstants.MUSECA,
|
||||
GameConstants.JUBEAT,
|
||||
}:
|
||||
if self.omnimix:
|
||||
return self.version + DBConstants.OMNIMIX_VERSION_BUMP
|
||||
else:
|
||||
|
||||
@@ -26,7 +26,11 @@ class StatisticsObject(BaseObject):
|
||||
|
||||
@property
|
||||
def music_version(self) -> int:
|
||||
if self.game in {GameConstants.IIDX, GameConstants.MUSECA}:
|
||||
if self.game in {
|
||||
GameConstants.IIDX,
|
||||
GameConstants.MUSECA,
|
||||
GameConstants.JUBEAT,
|
||||
}:
|
||||
if self.omnimix:
|
||||
return self.version + DBConstants.OMNIMIX_VERSION_BUMP
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user