Module genshin.types

Types used in the library.

Classes

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

Hoyoverse game.

Expand source code
class Game(str, enum.Enum):
    """Hoyoverse game."""

    GENSHIN = "genshin"
    """Genshin Impact"""

    HONKAI = "honkai3rd"
    """Honkai Impact 3rd"""

    STARRAIL = "hkrpg"
    """Honkai Star Rail"""

    ZZZ = "nap"
    """Zenless Zone Zero"""

    TOT = "tot"
    """Tears of Themis"""

Ancestors

  • builtins.str
  • enum.Enum

Class variables

var GENSHIN

Genshin Impact

var HONKAI

Honkai Impact 3rd

var STARRAIL

Honkai Star Rail

var TOT

Tears of Themis

var ZZZ

Zenless Zone Zero

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

Region to get data from.

Expand source code
class Region(str, enum.Enum):
    """Region to get data from."""

    OVERSEAS = "os"
    """Applies to all overseas APIs."""

    CHINESE = "cn"
    """Applies to all chinese mainland APIs."""

Ancestors

  • builtins.str
  • enum.Enum

Class variables

var CHINESE

Applies to all chinese mainland APIs.

var OVERSEAS

Applies to all overseas APIs.