Difficult-Rocket/libs/Difficult_Rocket_rs/__init__.py

26 lines
823 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
from typing import TYPE_CHECKING
if TYPE_CHECKING:
2023-01-23 23:46:43 +08:00
from Difficult_Rocket.client.screen import BaseScreen
2023-01-23 01:58:07 +08:00
from Difficult_Rocket.client.render.sr1_ship import SR1ShipRender, SR1ShipRender_Option
def sum_as_string(a: int, b: int) -> int: ...
def for_x_in_range(a: int, b: int) -> None: ...
def test_call(py_obj) -> bool: ...
2023-01-23 23:46:43 +08:00
def better_update_parts(render: SR1ShipRender, option: SR1ShipRender_Option, window: BaseScreen) -> bool: ...
2023-01-24 08:24:31 +08:00
class PartDatas:
""" 用于在 PyObj 里塞一个浓眉大眼的 HashMap<uszie, SR1PartData>"""
def __new__(cls, py_part_data) -> "PartDatas": ...