Repository navigation
0.8.0.0 Mod Loading! #18
shenjackyuanjie
announced in
Announcements
Replies: 1 comment
|
长达两周的数据结构重构终于结束了 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
New Contributors
Full Changelog: 0.7.2.1...0.8.0.0
202305 DR
0.8.0.0+ DR_api0.1.0.0+ DR_rs0.2.7.0+ 15DR_api
0.1.0.0ModInfoon_load(game: Game, old_self: Optional[ModInfo]) -> boolgame: Game 对象 用于存储 DR SDK 的信息old_self: 旧的 ModInfo 对象, 可以用于从上次加载中恢复信息on_client_start(game: Game, client: ClientWindow) -> Nonegame: Game 对象 用于存储 DR SDK 的信息client: ClientWindow 对象 用于传递客户端状态on_client_stop(game: Game, client: ClientWindow, source: str = 'window')game: Game 对象 用于存储 DR SDK 的信息client: ClientWindow 对象 用于传递客户端状态source: 关闭调用的来源DR_rs
0.2.7.0__init__.pySR1Ship_rs的 typingnamedescriptionlift_offtouch_groundimg_pos() -> Tuple[int, int, int, int]SR1Ship_rsSR1Ship_rstypes::SR1PartDataget_box(&self, part_type: &SR1PartType) -> (f64, f64, f64, f64)types::SR1Shipfrom_fileConsole_rsRemove
game.configDR_option&DR_runtime(long_version15)DR_rust部分DR_rustpartclient不会在setup()中调用DR_runtime的find_mods()方法clientwill not call thefind_mods()method ofDR_runtimeinsetup()Difficult_Rocket.crashwrite_optionsmethodwrite_markdown_tabletmethodOption().as_markdown()Difficult_Rocket.utils.new_threadDiffiuclt_Rocket.utils.threadDifficult_Rocket.utils.threadThreadsChanges
main.tomlgame.mods.pathDifficult_Rocket.mod.MODInfo->Difficult_Rocket.api.mod.ModInfoDifficult_Rocket.DR_runtimemod_path: str字段DR_Mod_List: List[Tuple[str, Version]]字段load_mods() -> None方法find_mods -> List[str]方法mod_path: strfieldDR_Mod_List: List[Tuple[str, Version]]fieldload_mods() -> Nonemethodfind_mods -> List[str]methodutils.new_threadDifficult_Rocket.apiDifficult_Rocket.api.types.Options(Difficult_Rocket.utils.options.Options)options->_optionsoption_with_len(self) ->List[Union[List[Tuple[str, Any, Any]], int, Any]]:->Tuple[List[Tuple[str, Union[Any, Type], Type]], int, int, int]Difficult_Roocket.main.GameOptions完全重构init modsinit consoleinit loggerload_fileOptionsinit modsinit consoleinit loggerload_fileDifficult_Rocket.command.api.CommandTextfind->re_findAdd
Difficult_Rocket.api.types.Options(Difficult_Rocket.utils.options.Options)as_markdown方法Options类的所有字段as_markdownmethodOptionsclass in a human-readable Markdown formatDifficult_Rocket.command.api.CommandTextstr.find的find(text: str) -> bool方法find(text: str)based onstr.findDocs
howto/translate.mdSUMMARY.mdhowto/translate.mdhowto/game/readme.mdcontributors->ContributingMod Loader
ModInfoon_load(game: Game, old_self: Optional[ModInfo]) -> boolgame: Game 对象 用于存储 DR SDK 的信息old_self: 旧的 ModInfo 对象, 可以用于从上次加载中恢复信息game: Game object used to store information about the DR SDKold_self: Old ModInfo object, can be used to restore information from the last loadThis discussion was created from the release 0.8.0.0 Mod Loading!.
All reactions