Skip to content

Commit

Permalink
#17 添加类图。
Browse files Browse the repository at this point in the history
  • Loading branch information
dydhyhwu committed Sep 8, 2018
1 parent 21b924f commit dc2c640
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Binary file added QQ.Framework/Docs/UMLs/RoBot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions QQ.Framework/Docs/add_your_custom_robot.md
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)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ MyUser.cs为本人扩展用户名和密码这里不做上传
------------------------------------------
#### 2018-9-8
1. 消息接收后查看确认,发送确认包后不再重复接收消息
2. 添加消息及自定义机器人相关类图。[查看](./QQ.Framework/Docs/UMLs/RoBot.png)

#### 2018-9-7
1. 重构完回复包。
Expand Down

0 comments on commit dc2c640

Please sign in to comment.