diff --git a/docs/src/change_log/dr_game.md b/docs/src/change_log/dr_game.md index 2e859de..cc6fe04 100644 --- a/docs/src/change_log/dr_game.md +++ b/docs/src/change_log/dr_game.md @@ -3,7 +3,20 @@ - 最新版本号 - DR game: 0.3.1.3 - - DR rs: 0.2.15.2 + - DR rs: 0.2.16.0 + +## 20230721 DR rs 0.2.16.0 + +### Dependencies + +in [#45](https://github.com/shenjackyuanjie/Difficult-Rocket/pull/45) + +- `pyo3` + - `0.19.0` -> `0.19.1` +- `xml-rs` + - `0.8.14` -> `0.8.16` +- `serde` + - `1.0.164` -> `1.0.173` ## DR game 0.3.1.2 / 0.3.1.3 diff --git a/mods/dr_game/Difficult_Rocket_rs/src/setup.py b/mods/dr_game/Difficult_Rocket_rs/src/setup.py index 5dc4bf9..df418a1 100644 --- a/mods/dr_game/Difficult_Rocket_rs/src/setup.py +++ b/mods/dr_game/Difficult_Rocket_rs/src/setup.py @@ -12,7 +12,7 @@ package_path = 'Difficult_Rocket_rs' setup( name='Difficult_Rocket_rs', - version="0.2.15.1", + version="0.2.16.0", author='shenjackyuanjie', author_email='3695888@qq.com', rust_extensions=[RustExtension(target="Difficult_Rocket_rs.Difficult_Rocket_rs", diff --git a/mods/dr_game/Difficult_Rocket_rs/src/src/lib.rs b/mods/dr_game/Difficult_Rocket_rs/src/src/lib.rs index 61d62a7..052d9b7 100644 --- a/mods/dr_game/Difficult_Rocket_rs/src/src/lib.rs +++ b/mods/dr_game/Difficult_Rocket_rs/src/src/lib.rs @@ -24,7 +24,7 @@ enum LoadState { } #[pyfunction] -fn get_version_str() -> String { "0.2.15.2".to_string() } +fn get_version_str() -> String { "0.2.16.0".to_string() } #[pyfunction] fn test_call(py_obj: &PyAny) -> PyResult { diff --git a/mods/dr_game/__init__.py b/mods/dr_game/__init__.py index 0a9cbdd..cb0b315 100644 --- a/mods/dr_game/__init__.py +++ b/mods/dr_game/__init__.py @@ -16,7 +16,7 @@ from Difficult_Rocket.api.mod import ModInfo from Difficult_Rocket.client import ClientWindow from Difficult_Rocket.api.types import Options, Version -DR_rust_version = Version("0.2.15.2") # DR_mod 的 Rust 编写部分的兼容版本 +DR_rust_version = Version("0.2.16.0") # DR_mod 的 Rust 编写部分的兼容版本 logger = logging.getLogger('client.dr_game') diff --git a/mods/dr_game/sr1_ship.py b/mods/dr_game/sr1_ship.py index ce11310..0551071 100644 --- a/mods/dr_game/sr1_ship.py +++ b/mods/dr_game/sr1_ship.py @@ -114,9 +114,9 @@ class SR1ShipRender(BaseScreen): # Optional data self.gen_draw: Optional[Generator] = None self.textures: Union[SR1Textures, None] = None - self.xml_name: Optional[str] = None - self.xml_doc: Optional[ElementTree] = None - self.xml_root: Optional[Element] = None + self.xml_name: Optional[str] = None # 准备移除, 更换为基于 rust 的 xml 解析 + self.xml_doc: Optional[ElementTree] = None # 准备移除, 更换为基于 rust 的 xml 解析 + self.xml_root: Optional[Element] = None # 准备移除, 更换为基于 rust 的 xml 解析 self.rust_ship: Optional[SR1Ship_rs] = None # List/Dict data