gchar.games.genshin

Character

class gchar.games.genshin.Character(raw_data: dict)[source]

EnglishName

class gchar.games.genshin.EnglishName(name: Union[str, List[str]])[source]

JapaneseName

class gchar.games.genshin.JapaneseName(name: str)[source]

ChineseName

class gchar.games.genshin.ChineseName(name: str)[source]

Rarity

enum gchar.games.genshin.Rarity(value)[source]

An enumeration.

Member Type:

int

Valid values are as follows:

FOUR = <Rarity.FOUR: 4>
FIVE = <Rarity.FIVE: 5>

Weapon

enum gchar.games.genshin.Weapon(value)[source]

An enumeration.

Valid values are as follows:

CATALYST = <Weapon.CATALYST: 1>
CLAYMORE = <Weapon.CLAYMORE: 2>
SWORD = <Weapon.SWORD: 3>
BOW = <Weapon.BOW: 4>
POLEARM = <Weapon.POLEARM: 5>

Element

enum gchar.games.genshin.Element(value)[source]

An enumeration.

Valid values are as follows:

PYRO = <Element.PYRO: 1>
ANEMO = <Element.ANEMO: 2>
CRYO = <Element.CRYO: 3>
ELECTRO = <Element.ELECTRO: 4>
DENDRO = <Element.DENDRO: 5>
GEO = <Element.GEO: 6>
HYDRO = <Element.HYDRO: 7>