clean DR.api
This commit is contained in:
parent
f53460a24b
commit
df9202636b
@ -14,4 +14,6 @@ gitee: @shenjackyuanjie
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from Difficult_Rocket.api import delivery, screen, mod, exception
|
from Difficult_Rocket.api import screen, mod, exception
|
||||||
|
|
||||||
|
__all__ = ['screen', 'mod', 'exception']
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# -------------------------------
|
|
||||||
# Difficult Rocket
|
|
||||||
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
|
|
||||||
# All rights reserved
|
|
||||||
# -------------------------------
|
|
||||||
|
|
||||||
"""
|
|
||||||
writen by shenjackyuanjie
|
|
||||||
mail: 3695888@qq.com
|
|
||||||
github: @shenjackyuanjie
|
|
||||||
gitee: @shenjackyuanjie
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
class Delivery:
|
|
||||||
def __init__(self):
|
|
||||||
# bool
|
|
||||||
self.using = False
|
|
||||||
self.read = False
|
|
||||||
self.key_board_get = False
|
|
||||||
# dic
|
|
||||||
self.ship_info = {}
|
|
||||||
self.planet_system = {}
|
|
||||||
self.main_ship_parts = {}
|
|
||||||
self.this_planet_info = {}
|
|
||||||
self.back_ground_element = {}
|
|
||||||
# value
|
|
||||||
self.back_ground_image = ''
|
|
@ -15,3 +15,5 @@ from typing import TYPE_CHECKING
|
|||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from Difficult_Rocket.api.exception import command, logger, main, threading, unsupport
|
from Difficult_Rocket.api.exception import command, logger, main, threading, unsupport
|
||||||
|
|
||||||
|
__all__ = ['command', 'logger', 'main', 'threading', 'unsupport']
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# -------------------------------
|
|
||||||
# Difficult Rocket
|
|
||||||
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
|
|
||||||
# All rights reserved
|
|
||||||
# -------------------------------
|
|
||||||
|
|
||||||
"""
|
|
||||||
writen by shenjackyuanjie
|
|
||||||
mail: 3695888@qq.com
|
|
||||||
github: @shenjackyuanjie
|
|
||||||
gitee: @shenjackyuanjie
|
|
||||||
"""
|
|
||||||
|
|
||||||
# system function
|
|
||||||
import ctypes
|
|
||||||
|
|
||||||
# Difficult_Rocket function
|
|
||||||
|
|
||||||
# libs function
|
|
||||||
# from MCDR.serializer import Serializable
|
|
||||||
|
|
||||||
"""
|
|
||||||
DR 内部数据传输格式类型
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
class datas(ctypes.Structure):
|
|
||||||
_fields_: list = [("name", ctypes.c_char_p),
|
|
||||||
("uuid", ctypes.c_char_p),
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user