DR -> DR SDK #16

Merged
shenjackyuanjie merged 41 commits from feature/dr-sdk into main 2023-05-03 00:40:53 +08:00
4 changed files with 5 additions and 59 deletions
Showing only changes of commit df9202636b - Show all commits

View File

@ -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']

View File

@ -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 = ''

View File

@ -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']

View File

@ -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),
]