-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63a1258
commit c757e99
Showing
4 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
### 新功能 | ||
|
||
- 完善后台交互,包括截图、点击、键盘事件 | ||
- 支持在任务结束后提示接到的悬赏封印数量 | ||
|
||
### 优化 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class GlobalParameter: | ||
"""全局参数""" | ||
|
||
count: int = 0 | ||
|
||
def add(self): | ||
self.count += 1 | ||
|
||
def reset(self): | ||
self.count = 0 | ||
|
||
def get(self): | ||
return self.count | ||
|
||
|
||
xuanshangfengyin_count = GlobalParameter() | ||
"""悬赏封印数量""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters