gchar.games.bluearchive

Character

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

Represents a character in Blue Archive. Inherits from the base class _BaseCharacter.

property attack_type

Returns the attack type of the character.

Returns:

The attack type.

Return type:

AttackType

property rarity

Returns the rarity of the character.

Returns:

The rarity.

Return type:

Rarity

property role

Returns the role of the character.

Returns:

The role.

Return type:

Role

property weapon_type

Returns the weapon type of the character.

Returns:

The weapon type.

Return type:

WeaponType

EnglishName

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

Represents the English name of a character in Blue Archive. Inherits from the base class _GenericEnglishName.

JapaneseName

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

Represents the Japanese name of a character in Blue Archive. Inherits from the base class _GenericJapaneseName.

ChineseName

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

Represents the Chinese name of a character in Blue Archive. Inherits from the base class _GenericChineseName.

ChineseAliasName

class gchar.games.bluearchive.ChineseAliasName(name: str)[source]

Represents the Chinese alias name of a character in Blue Archive. Inherits from the base class _GenericChineseName.

Rarity

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

Enum representing the rarity of a character in Blue Archive.

Member Type:

int

Valid values are as follows:

R = <Rarity.R: 1>
SR = <Rarity.SR: 2>
SSR = <Rarity.SSR: 3>

The Enum and its members also have the following methods:

classmethod loads(val) → gchar.games.bluearchive.property.Rarity[source]

Load a rarity value.

Parameters:

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

Returns:

The loaded rarity.

Return type:

Rarity

Raises:
  • ValueError – If the value is invalid.

  • TypeError – If the type is invalid.

Role

enum gchar.games.bluearchive.Role(value)[source]

Enum representing the role of a character in Blue Archive.

Valid values are as follows:

ATTACKER = <Role.ATTACKER: 'ATTACKER'>
TACTICAL_SUPPORT = <Role.TACTICAL_SUPPORT: 'TACTICAL SUPPORT'>
HEALER = <Role.HEALER: 'HEALER'>
SUPPORT = <Role.SUPPORT: 'SUPPORT'>
TANK = <Role.TANK: 'TANK'>

The Enum and its members also have the following methods:

classmethod loads(val) → gchar.games.bluearchive.property.Role[source]

Load a role value.

Parameters:

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

Returns:

The loaded role.

Return type:

Role

Raises:
  • ValueError – If the value is invalid.

  • TypeError – If the type is invalid.

AttackType

enum gchar.games.bluearchive.AttackType(value)[source]

Enum representing the attack type of a character in Blue Archive.

Valid values are as follows:

PENETRATION = <AttackType.PENETRATION: 'PENETRATION'>
EXPLOSIVE = <AttackType.EXPLOSIVE: 'EXPLOSIVE'>
MYSTIC = <AttackType.MYSTIC: 'MYSTIC'>
SONIC = <AttackType.SONIC: 'SONIC'>

The Enum and its members also have the following methods:

classmethod loads(val) → gchar.games.bluearchive.property.AttackType[source]

Load an attack type value.

Parameters:

val (Union[str, AttackType]) – The attack type value to load.

Returns:

The loaded attack type.

Return type:

AttackType

Raises:
  • ValueError – If the value is invalid.

  • TypeError – If the type is invalid.

WeaponType

enum gchar.games.bluearchive.WeaponType(value)[source]

Enum representing the weapon type of a character in Blue Archive.

Valid values are as follows:

SMG = <WeaponType.SMG: 'SMG'>
RL = <WeaponType.RL: 'RL'>
HG = <WeaponType.HG: 'HG'>
FT = <WeaponType.FT: 'FT'>
SG = <WeaponType.SG: 'SG'>
MT = <WeaponType.MT: 'MT'>
AR = <WeaponType.AR: 'AR'>
MG = <WeaponType.MG: 'MG'>
GL = <WeaponType.GL: 'GL'>
SR = <WeaponType.SR: 'SR'>
RG = <WeaponType.RG: 'RG'>

The Enum and its members also have the following methods:

classmethod loads(val) → gchar.games.bluearchive.property.WeaponType[source]

Load a weapon type value.

Parameters:

val (Union[str, WeaponType]) – The weapon type value to load.

Returns:

The loaded weapon type.

Return type:

WeaponType

Raises:
  • ValueError – If the value is invalid.

  • TypeError – If the type is invalid.