Module server.stats.unit

Classes

class Unit (*args, **kwds)
Expand source code
class Unit(Enum):

    # ACUs
    AEON_ACU = "ual0001"
    CYBRAN_ACU = "url0001"
    UEF_ACU = "uel0001"
    SERAPHIM_ACU = "xsl0001"

    # ASFs
    CORONA = "uaa0303"
    GEMINI = "ura0303"
    WASP = "uea0303"
    IAZYNE = "xsa0303"

    # Experimentals
    # Aeon
    PARAGON = "xab1401"
    CZAR = "uaa0310"
    GALACTIC_COLOSSUS = "ual0401"
    TEMPEST = "uas0401"
    SALVATION = "xab2307"
    # UEF
    MAVOR = "ueb2401"
    FATBOY = "uel0401"
    NOVAX_CENTER = "xeb2402"
    ATLANTIS = "ues0401"
    # Cybran
    SOUL_RIPPER = "ura0401"
    SCATHIS = "url0401"
    MONKEYLORD = "url0402"
    MEGALITH = "xrl0403"
    # Sera
    YOLONA_OSS = "xsb2401"
    AHWASSA = "xsa0402"
    YTHOTHA = "xsl0401"

    # Transporters
    CHARIOT = "uaa0107"
    ALUMINAR = "uaa0104"
    SKYHOOK = "ura0107"
    DRAGON_FLY = "ura0104"
    C6_COURIER = "uea0107"
    C14_STAR_LIFTER = "uea0104"
    CONTINENTAL = "xea0306"
    VISH = "xsa0107"
    VISHALA = "xsa0104"

    # SACUs
    AEON_SACU = "ual0301"
    CYBRAN_SACU = "url0301"
    UEF_SACU = "uel0301"
    SERAPHIM_SACU = "xsl0301"

    # Engineers
    AEON_T1_ENGINEER = "ual0105"
    AEON_T2_ENGINEER = "ual0208"
    AEON_T3_ENGINEER = "ual0309"
    CYBRAN_T1_ENGINEER = "url0105"
    CYBRAN_T2_ENGINEER = "url0208"
    CYBRAN_T3_ENGINEER = "url0309"
    UEF_T1_ENGINEER = "uel0105"
    UEF_T2_ENGINEER = "uel0208"
    UEF_T2_FIELD_ENGINEER = "xel0209"
    UEF_T3_ENGINEER = "uel0309"
    SERAPHIM_T1_ENGINEER = "xsl0105"
    SERAPHIM_T2_ENGINEER = "xsl0208"
    SERAPHIM_T3_ENGINEER = "xsl0309"

    # Other units
    MERCY = "daa0206"
    FIRE_BEETLE = "xrl0302"

Create a collection of name/value pairs.

Example enumeration:

>>> class Color(Enum):
...     RED = 1
...     BLUE = 2
...     GREEN = 3

Access them by:

  • attribute access:

Color.RED

  • value lookup:

Color(1)

  • name lookup:

Color['RED']

Enumerations can be iterated over, and know how many members they have:

>>> len(Color)
3
>>> list(Color)
[<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]

Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.

Ancestors

  • enum.Enum

Class variables

var AEON_ACU

The type of the None singleton.

var AEON_SACU

The type of the None singleton.

var AEON_T1_ENGINEER

The type of the None singleton.

var AEON_T2_ENGINEER

The type of the None singleton.

var AEON_T3_ENGINEER

The type of the None singleton.

var AHWASSA

The type of the None singleton.

var ALUMINAR

The type of the None singleton.

var ATLANTIS

The type of the None singleton.

var C14_STAR_LIFTER

The type of the None singleton.

var C6_COURIER

The type of the None singleton.

var CHARIOT

The type of the None singleton.

var CONTINENTAL

The type of the None singleton.

var CORONA

The type of the None singleton.

var CYBRAN_ACU

The type of the None singleton.

var CYBRAN_SACU

The type of the None singleton.

var CYBRAN_T1_ENGINEER

The type of the None singleton.

var CYBRAN_T2_ENGINEER

The type of the None singleton.

var CYBRAN_T3_ENGINEER

The type of the None singleton.

var CZAR

The type of the None singleton.

var DRAGON_FLY

The type of the None singleton.

var FATBOY

The type of the None singleton.

var FIRE_BEETLE

The type of the None singleton.

var GALACTIC_COLOSSUS

The type of the None singleton.

var GEMINI

The type of the None singleton.

var IAZYNE

The type of the None singleton.

var MAVOR

The type of the None singleton.

var MEGALITH

The type of the None singleton.

var MERCY

The type of the None singleton.

var MONKEYLORD

The type of the None singleton.

var NOVAX_CENTER

The type of the None singleton.

var PARAGON

The type of the None singleton.

var SALVATION

The type of the None singleton.

var SCATHIS

The type of the None singleton.

var SERAPHIM_ACU

The type of the None singleton.

var SERAPHIM_SACU

The type of the None singleton.

var SERAPHIM_T1_ENGINEER

The type of the None singleton.

var SERAPHIM_T2_ENGINEER

The type of the None singleton.

var SERAPHIM_T3_ENGINEER

The type of the None singleton.

var SKYHOOK

The type of the None singleton.

var SOUL_RIPPER

The type of the None singleton.

var TEMPEST

The type of the None singleton.

var UEF_ACU

The type of the None singleton.

var UEF_SACU

The type of the None singleton.

var UEF_T1_ENGINEER

The type of the None singleton.

var UEF_T2_ENGINEER

The type of the None singleton.

var UEF_T2_FIELD_ENGINEER

The type of the None singleton.

var UEF_T3_ENGINEER

The type of the None singleton.

var VISH

The type of the None singleton.

var VISHALA

The type of the None singleton.

var WASP

The type of the None singleton.

var YOLONA_OSS

The type of the None singleton.

var YTHOTHA

The type of the None singleton.