mirror of
https://github.com/PaiGramTeam/python-genshin-artifact.git
synced 2024-11-22 06:57:55 +00:00
21 lines
700 B
Python
21 lines
700 B
Python
from typing import List, Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from python_genshin_artifact.models.artifact import ArtifactInfo
|
|
from python_genshin_artifact.models.buff import BuffInfo
|
|
from python_genshin_artifact.models.characterInfo import CharacterInfo
|
|
from python_genshin_artifact.models.enemy import EnemyInfo
|
|
from python_genshin_artifact.models.skill import SkillInfo
|
|
from python_genshin_artifact.models.weapon import WeaponInfo
|
|
|
|
|
|
class CalculatorConfig(BaseModel):
|
|
character: CharacterInfo
|
|
weapon: WeaponInfo
|
|
buffs: List[BuffInfo] = []
|
|
artifacts: List[ArtifactInfo] = []
|
|
artifact_config: Optional[dict] = None
|
|
skill: SkillInfo
|
|
enemy: Optional[EnemyInfo] = None
|