Source code for csle_common.dao.training.player_type
from enum import IntEnum
[docs]class PlayerType(IntEnum):
"""
Enum representing the different player types in CSLE
"""
DEFENDER = 1
ATTACKER = 2
SELF_PLAY = 3
from enum import IntEnum
[docs]class PlayerType(IntEnum):
"""
Enum representing the different player types in CSLE
"""
DEFENDER = 1
ATTACKER = 2
SELF_PLAY = 3