Skip to content

stageMapList

Stage Info

ModeShort ¤

Bases: Enum

Splatoon Game Mode Shorthands

Values

TW: Turf War, SZ: Splat Zones, TC: Tower Control, RM: Rainmaker, CB: Clam Blitz

Source code in sendou/models/stageMapList.py
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class ModeShort(Enum):
    """
    Splatoon Game Mode Shorthands

    Values:
        TW: Turf War,
        SZ: Splat Zones,
        TC: Tower Control,
        RM: Rainmaker,
        CB: Clam Blitz
    """
    TW = "TW"  # Turf War
    SZ = "SZ"  # Splat Zones
    TC = "TC"  # Tower Control
    RM = "RM"  # Rainmaker
    CB = "CB"  # Clam Blitz

Stage ¤

Team Map Pool Stage

Attributes:

Name Type Description
id int

Stage ID

name str

Stage Name

Source code in sendou/models/stageMapList.py
25
26
27
28
29
30
31
32
33
34
35
36
37
38
class Stage:
    """
    Team Map Pool Stage

    Attributes:
        id (int): Stage ID
        name (str): Stage Name
    """
    id: int
    name: str

    def __init__(self, data: dict):
        self.id = data.get("id", 0)
        self.name = data.get("name", "")

StageWithMode ¤

Stage & Mode Info

Attributes:

Name Type Description
mode ModeShort

Game Mode

stage Stage

Stage

Source code in sendou/models/stageMapList.py
41
42
43
44
45
46
47
48
49
50
51
52
53
54
class StageWithMode:
    """
    Stage & Mode Info

    Attributes:
        mode (ModeShort): Game Mode
        stage (Stage): Stage
    """
    mode: ModeShort
    stage: Stage

    def __init__(self, data: dict):
        self.mode = ModeShort(data.get("mode"))
        self.stage = Stage(data.get("stage", {}))