一些小东西
This commit is contained in:
parent
aa6ab62fc8
commit
f462821909
@ -37,8 +37,9 @@ class ModManager(Options):
|
|||||||
find_mod_paths: Dict[str, Path] = {}
|
find_mod_paths: Dict[str, Path] = {}
|
||||||
loaded_mod_modules: Dict[str, ModInfo] = {}
|
loaded_mod_modules: Dict[str, ModInfo] = {}
|
||||||
|
|
||||||
def init(self, **kwargs) -> bool:
|
def init(self, **kwargs) -> None:
|
||||||
self.logger = config.get_logger_from_old("mod_manager", "client")
|
self.logger = config.get_logger_from_old("mod_manager", "client")
|
||||||
|
return None
|
||||||
|
|
||||||
def get_mod_module(self, mod_name: str) -> Optional[ModInfo]:
|
def get_mod_module(self, mod_name: str) -> Optional[ModInfo]:
|
||||||
"""
|
"""
|
||||||
|
@ -21,7 +21,7 @@ class RustConsole(Console):
|
|||||||
self.console = Console_rs()
|
self.console = Console_rs()
|
||||||
|
|
||||||
def get_command(self) -> str:
|
def get_command(self) -> str:
|
||||||
return self.console.get_command()
|
return self.console.get_command() # ignore: noqa
|
||||||
|
|
||||||
def new_command(self) -> None:
|
def new_command(self) -> None:
|
||||||
self.console.new_command()
|
self.console.new_command()
|
||||||
|
@ -26,7 +26,7 @@ class GameLayout(BaseScreen):
|
|||||||
DR game 的 菜单
|
DR game 的 菜单
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name = "Dr_game_layout"
|
name = "DR_game_layout"
|
||||||
|
|
||||||
def __init__(self, main_window: ClientWindow):
|
def __init__(self, main_window: ClientWindow):
|
||||||
super().__init__(main_window)
|
super().__init__(main_window)
|
||||||
|
Loading…
Reference in New Issue
Block a user