feat(ranking): support team ranking
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user