mirror of
https://github.com/PaiGramTeam/python-genshin-artifact.git
synced 2024-11-25 17:25:25 +00:00
21 lines
699 B
Python
21 lines
699 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[str] = None
|
|
skill: SkillInfo
|
|
enemy: Optional[EnemyInfo] = None
|