feat(ranking): support team ranking

This commit is contained in:
MingxuanGame
2025-08-26 10:51:31 +00:00
parent 46b60e555f
commit 8d9f1d2750
3 changed files with 226 additions and 138 deletions

View File

@@ -49,6 +49,9 @@ class GameMode(str, Enum):
GameMode.FRUITSRX: 2,
}[self]
def __str__(self) -> str:
return self.value
@classmethod
def from_int(cls, v: int) -> "GameMode":
return {