py-gidb/pygidb/types/crafts.py

19 lines
303 B
Python
Raw Normal View History

2023-11-12 22:44:51 +03:00
from typing import List, Optional
from pydantic import BaseModel
class RecipeItem(BaseModel):
name: str
count: int
class Craft(BaseModel):
name: str
filter: str
sortorder: int
unlockrank: int
resultcount: int
moracost: Optional[int] = 0
recipe: List[RecipeItem]