From a190fd0b31afce6cde2eb5624e8b6a848f9667ba Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 1 Jul 2023 00:25:41 +0800 Subject: [PATCH] add rename --- Difficult_Rocket/__init__.py | 6 +++--- docs/src/change_log/dr_sdk.md | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Difficult_Rocket/__init__.py b/Difficult_Rocket/__init__.py index f2dc818..d344f25 100644 --- a/Difficult_Rocket/__init__.py +++ b/Difficult_Rocket/__init__.py @@ -10,10 +10,10 @@ from pathlib import Path from Difficult_Rocket.api.types import Options, Version -game_version = Version("0.8.5.0") # 游戏版本 +sdk_version = Version("0.8.5.0") # SDK 版本 build_version = Version("2.1.0.0") # 编译文件版本(与游戏本体无关) Api_version = Version("0.1.1.0") # API 版本 -__version__ = game_version +__version__ = sdk_version __all__ = [ @@ -57,7 +57,7 @@ class _DR_status(Options): crash_report_test: bool = False # game version status - DR_version: Version = game_version # DR SDK 版本 + DR_version: Version = sdk_version # DR SDK 版本 Build_version: Version = build_version # DR 构建 版本 API_version: Version = Api_version # DR SDK API 版本 diff --git a/docs/src/change_log/dr_sdk.md b/docs/src/change_log/dr_sdk.md index 703c53e..3033dfb 100644 --- a/docs/src/change_log/dr_sdk.md +++ b/docs/src/change_log/dr_sdk.md @@ -8,6 +8,9 @@ ### Changes +- `Difficult_Rocket.__init__` + - 重命名 / Rename + - `game_version` -> `sdk_version` - `ModManager` - `get_mod_module(mod_name: str) -> Optional[ModInfo]` - 通过 mod 名称获取 mod 的信息