Difficult-Rocket/libs/Difficult_Rocket_rs/__init__.py

30 lines
951 B
Python
Raw Normal View History

2023-01-20 17:41:43 +08:00
# -------------------------------
# Difficult Rocket
2023-01-23 23:46:43 +08:00
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
2023-01-20 17:41:43 +08:00
# All rights reserved
# -------------------------------
2023-01-23 00:01:01 +08:00
from .lib import *
2023-01-23 01:58:07 +08:00
2023-01-24 12:25:23 +08:00
from typing import TYPE_CHECKING, Dict
2023-01-23 01:58:07 +08:00
if TYPE_CHECKING:
2023-01-23 23:46:43 +08:00
from Difficult_Rocket.client.screen import BaseScreen
2023-01-24 12:25:23 +08:00
from Difficult_Rocket.api.types.SR1 import SR1PartData
2023-01-23 01:58:07 +08:00
from Difficult_Rocket.client.render.sr1_ship import SR1ShipRender, SR1ShipRender_Option
def test_call(py_obj) -> bool: ...
2023-01-24 12:25:23 +08:00
def get_version_str() -> str: ...
2023-01-24 08:24:31 +08:00
class PartDatas:
""" 用于在 PyObj 里塞一个浓眉大眼的 HashMap<uszie, SR1PartData>"""
2023-01-24 12:25:23 +08:00
def __new__(cls, py_part_data: Dict[int, SR1PartData]) -> "PartDatas": ...
def better_update_parts(render: SR1ShipRender,
option: SR1ShipRender_Option,
window: BaseScreen,
parts: PartDatas) -> bool: ...
2023-01-24 08:24:31 +08:00