mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-04 19:17:33 +08:00
31 lines
539 B
Python
31 lines
539 B
Python
from typing import Dict, List, Union
|
|
|
|
from msgspec import field
|
|
|
|
from ..common import BaseStruct
|
|
|
|
|
|
class GridPosition(BaseStruct):
|
|
row: int
|
|
col: int
|
|
|
|
|
|
class ObscuredRect(BaseStruct):
|
|
m_xMin: float
|
|
m_yMin: float
|
|
m_width: float
|
|
m_height: float
|
|
|
|
|
|
class Stage(BaseStruct):
|
|
id_: str = field(name="id")
|
|
direction: int
|
|
grids: List[GridPosition]
|
|
boundingBoxes: Union[List[ObscuredRect], None] = None
|
|
|
|
|
|
class RangeTable(BaseStruct):
|
|
__version__ = "24-02-02-10-18-07-831ad8"
|
|
|
|
range_: Dict[str, Stage]
|