forked from LenLiin/PCQQ-Protocol--New
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# 自定义机器人(非完整版) | ||
|
||
1. 新建你的机器人类`YourRoBotClass`, 实现接口`ServerMessageObserver`。 | ||
2. 构造函数带`ServerMessageSubject`参数, 并在构造函数中添加一行代码`ServerMessageSubject.AddCustomRoBot(this)` | ||
3. 在对应事件实现你想要的功能。 | ||
1. 新建你的机器人类`YourRoBotClass`, 继承抽象类`CustomRoBot`。 | ||
2. 在对应事件实现你想要的功能。 | ||
|
||
demo待补充, 此处暂未重构完 | ||
demo待补充, 此处暂未重构完 | ||
|
||
## 类图 | ||
![查看类图](./UMLs/RoBot.png) |
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