feat: add get_version_str for HSR

This commit is contained in:
tretrauit 2023-06-17 08:39:35 +07:00
parent baadc253d4
commit 03c2c4ad38

View File

@ -85,6 +85,9 @@ class Game(GameABC):
correct = False correct = False
return (0, 0, 0) return (0, 0, 0)
def get_version_str(self) -> str:
return ".".join(str(i) for i in self.get_version())
def get_channel(self) -> GameChannel: def get_channel(self) -> GameChannel:
if self.get_version() == (1, 0, 5): if self.get_version() == (1, 0, 5):
for channel, v in md5sums["1.0.5"].values(): for channel, v in md5sums["1.0.5"].values():