gchar.games.azurlane

Character

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

A class representing characters in the Azur Lane game. Inherits from _BaseCharacter.

property group

Get the group of the character.

Returns:

The group of the character.

Return type:

Union[Group, str]

property is_chibi

Check if the character has a chibi form.

Returns:

True if the character has a chibi form, False otherwise.

Return type:

bool

property is_meta

Check if the character is a meta character.

Returns:

True if the character is a meta character, False otherwise.

Return type:

bool

property is_mu

Check if the character is a Mu character.

Returns:

True if the character is a Mu character, False otherwise.

Return type:

bool

property is_refit

Check if the character is a refit character.

Returns:

True if the character is a refit character, False otherwise.

Return type:

bool

property rarity

Get the rarity of the character.

Returns:

The rarity of the character.

Return type:

Optional[Union[BasicRarity, ResearchRarity]]

EnglishName

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

A class representing English names of characters in the Azur Lane game. Inherits from _GenericEnglishName.

JapaneseName

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

A class representing Japanese names of characters in the Azur Lane game. Inherits from _GenericJapaneseName.

ChineseName

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

A class representing Chinese names of characters in the Azur Lane game. Inherits from _GenericChineseName.

BasicRarity

enum gchar.games.azurlane.BasicRarity(value)[source]

An enumeration representing the basic rarity levels in the Azur Lane game.

Member Type:

int

Valid values are as follows:

COMMON = <BasicRarity.COMMON: 1>
RARE = <BasicRarity.RARE: 2>
ELITE = <BasicRarity.ELITE: 3>
ULTRA = <BasicRarity.ULTRA: 4>
EPIC = <BasicRarity.EPIC: 5>

The Enum and its members also have the following methods:

property label

Get the label corresponding to the rarity level.

Returns:

The label of the rarity level.

Return type:

str

classmethod loads(val) → gchar.games.azurlane.property.BasicRarity[source]

Load a BasicRarity value from a string or an int.

Parameters:

val (Union[str, int]) – The value to load.

Returns:

The loaded BasicRarity value.

Return type:

BasicRarity

ResearchRarity

enum gchar.games.azurlane.ResearchRarity(value)[source]

An enumeration representing the research rarity levels in the Azur Lane game.

Member Type:

int

Valid values are as follows:

TOP = <ResearchRarity.TOP: 4>
DECISIVE = <ResearchRarity.DECISIVE: 5>

The Enum and its members also have the following methods:

property label

Get the label corresponding to the research rarity level.

Returns:

The label of the research rarity level.

Return type:

str

classmethod loads(val) → gchar.games.azurlane.property.ResearchRarity[source]

Load a ResearchRarity value from a string or an int.

Parameters:

val (Union[str, int]) – The value to load.

Returns:

The loaded ResearchRarity value.

Return type:

ResearchRarity

Group

enum gchar.games.azurlane.Group(value)[source]

An enumeration representing the groups in the Azur Lane game.

Valid values are as follows:

USS = <Group.USS: 1>
HMS = <Group.HMS: 2>
IJN = <Group.IJN: 3>
KMS = <Group.KMS: 4>
DE = <Group.DE: 5>
RN = <Group.RN: 6>
SN = <Group.SN: 7>
FFNF = <Group.FFNF: 8>
MNF = <Group.MNF: 9>

The Enum and its members also have the following methods:

classmethod loads(val) → gchar.games.azurlane.property.Group[source]

Load a Group value from a string or an int.

Parameters:

val (Union[str, int]) – The value to load.

Returns:

The loaded Group value.

Return type:

Group