Skip to content

Genshin TCG Models

tcg

Genshin serenitea pot replica display models.

Classes:

__all__ module-attribute

__all__ = ['TCGBaseCard', 'TCGCard', 'TCGCardType', 'TCGCharacterCard', 'TCGCharacterTalent', 'TCGCost', 'TCGPartialCard', 'TCGPreview']

TCGBaseCard pydantic-model

TCG card.

Fields:

image_tags pydantic-field

image_tags: Sequence[str]

name pydantic-field

name: str

proficiency pydantic-field

proficiency: int

rank_id pydantic-field

rank_id: int

type pydantic-field

usages pydantic-field

usages: int

wiki_url pydantic-field

wiki_url: str

TCGCard pydantic-model

TCG equipment card.

Fields:

cost pydantic-field

description pydantic-field

description: str

type pydantic-field

TCGCardType

TCG card type.

Attributes:

ASSIST class-attribute instance-attribute

ASSIST = 'CardTypeAssist'

CHARACTER class-attribute instance-attribute

CHARACTER = 'CardTypeCharacter'

EQUIPMENT class-attribute instance-attribute

EQUIPMENT = 'CardTypeModify'

EVENT class-attribute instance-attribute

EVENT = 'CardTypeEvent'

TCGCharacterCard pydantic-model

TCG character card.

Fields:

health pydantic-field

health: int

name pydantic-field

name: str

talents pydantic-field

type pydantic-field

TCGCharacterTalent pydantic-model

TCG character talent.

Fields:

description pydantic-field

description: str

id pydantic-field

id: int

name pydantic-field

name: str

type pydantic-field

type: str

TCGCost pydantic-model

TCG cost.

Fields:

Validators:

element pydantic-field

element: str

value pydantic-field

value: int

__fix_element pydantic-validator

__fix_element(value: str) -> str

TCGPartialCard pydantic-model

Partial TCG card data.

Fields:

id pydantic-field

id: int

image pydantic-field

image: str

TCGPreview pydantic-model

Preview of TCG stats.

Fields:

action_cards pydantic-field

action_cards: int

cards pydantic-field

character_cards pydantic-field

character_cards: int

level pydantic-field

level: int

nickname pydantic-field

nickname: str

total_action_cards pydantic-field

total_action_cards: int

total_character_cards pydantic-field

total_character_cards: int