pymud 0.19.1__py3-none-any.whl → 0.19.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pymud/__main__.py +10 -1
- pymud/pymud.py +79 -11
- pymud/session.py +607 -169
- pymud/settings.py +3 -2
- pymud/statemachine.py +1525 -0
- {pymud-0.19.1.dist-info → pymud-0.19.2.dist-info}/METADATA +10 -1
- pymud-0.19.2.dist-info/RECORD +17 -0
- {pymud-0.19.1.dist-info → pymud-0.19.2.dist-info}/WHEEL +1 -1
- pymud-0.19.1.dist-info/RECORD +0 -16
- {pymud-0.19.1.dist-info → pymud-0.19.2.dist-info}/LICENSE.txt +0 -0
- {pymud-0.19.1.dist-info → pymud-0.19.2.dist-info}/entry_points.txt +0 -0
- {pymud-0.19.1.dist-info → pymud-0.19.2.dist-info}/top_level.txt +0 -0
pymud/settings.py
CHANGED
@@ -11,9 +11,9 @@ class Settings:
|
|
11
11
|
"APP 名称, 默认PYMUD"
|
12
12
|
__appdesc__ = "a MUD client written in Python"
|
13
13
|
"APP 简要描述"
|
14
|
-
__version__ = "0.19.
|
14
|
+
__version__ = "0.19.2"
|
15
15
|
"APP 当前版本"
|
16
|
-
__release__ = "2024-03-
|
16
|
+
__release__ = "2024-03-22"
|
17
17
|
"APP 当前版本发布日期"
|
18
18
|
__author__ = "本牛(newstart)@北侠"
|
19
19
|
"APP 作者"
|
@@ -61,6 +61,7 @@ class Settings:
|
|
61
61
|
"interval" : 10, # 在自动执行中,两次命令输入中的间隔时间(ms)
|
62
62
|
"auto_connect" : True, # 创建会话后,是否自动连接
|
63
63
|
"auto_reconnect" : False, # 在会话异常断开之后,是否自动重连
|
64
|
+
"reconnect_wait" : 15, # 自动重连等待的时间(秒数)
|
64
65
|
"var_autosave" : True, # 断开时自动保存会话变量
|
65
66
|
"var_autoload" : True, # 初始化时自动加载会话变量
|
66
67
|
|