python-genshin-artifact/python_genshin_artifact/models/calculator.py

21 lines
700 B
Python
Raw Normal View History

2023-05-14 04:29:29 +00:00
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] = []
2023-05-16 09:25:12 +00:00
artifacts: List[ArtifactInfo] = []
2023-10-21 15:27:41 +00:00
artifact_config: Optional[dict] = None
2023-05-14 04:29:29 +00:00
skill: SkillInfo
enemy: Optional[EnemyInfo] = None