Module server.db.typedefs

Classes

class GameOutcome (value, names=None, *, module=None, qualname=None, type=None, start=1)

An enumeration.

Expand source code
@unique
class GameOutcome(Enum):
    VICTORY = "VICTORY"
    DEFEAT = "DEFEAT"
    DRAW = "DRAW"
    UNKNOWN = "UNKNOWN"

Ancestors

  • enum.Enum

Class variables

var DEFEAT
var DRAW
var UNKNOWN
var VICTORY
class Victory (value, names=None, *, module=None, qualname=None, type=None, start=1)

An enumeration.

Expand source code
@unique
class Victory(Enum):
    DEMORALIZATION = 0
    DOMINATION = 1
    ERADICATION = 2
    SANDBOX = 3

Ancestors

  • enum.Enum

Class variables

var DEMORALIZATION
var DOMINATION
var ERADICATION
var SANDBOX