mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-04 11:07:35 +08:00
31 lines
539 B
Python
31 lines
539 B
Python
from typing import Dict, List, Union
|
|
|
|
from ..common import BaseStruct
|
|
|
|
from msgspec import field
|
|
|
|
|
|
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__ = '23-10-31-11-47-45-d410ff'
|
|
|
|
range_: Dict[str, Stage]
|