|
cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
群聊开启/关闭坦白说事件 更多...
#include <GroupEvents.hpp>
Public 成员函数 | |
| Group | GetGroup () const |
| 获取群聊信息 更多... | |
| bool | GetOriginal () const |
| 原本坦白说是否开启 更多... | |
| bool | GetCurrent () const |
| 现在坦白说是否开启 更多... | |
| bool | isByBot () const |
| 操作员是否为Bot自己(无法获得具体操作员信息) 更多... | |
Public 成员函数 继承自 Mirai::IEvent< GroupAllowConfessTalkEvent > | |
| IEvent (const IEvent &)=default | |
| IEvent (IEvent &&)=default | |
| IEvent & | operator= (const IEvent &)=default |
| IEvent & | operator= (IEvent &&)=default |
| MiraiClient & | GetMiraiClient () const |
获取接收该事件的 MiraiClient 的引用 更多... | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 Mirai::IEvent< GroupAllowConfessTalkEvent > | |
| static constexpr EventTypes | GetType () |
| 获取事件类型 更多... | |
Protected 成员函数 继承自 Mirai::IEvent< GroupAllowConfessTalkEvent > | |
| IEvent ()=default | |
| ~IEvent ()=default | |
群聊开启/关闭坦白说事件
| Member Variable | Default Value |
|---|---|
GroupAllowConfessTalkEvent::group_ | Group{} |
GroupAllowConfessTalkEvent::origin_ | false |
GroupAllowConfessTalkEvent::current_ | false |
GroupAllowConfessTalkEvent::ByBot_ | false |
在文件 GroupEvents.hpp 第 76 行定义.
|
inline |
获取群聊信息
在文件 GroupEvents.hpp 第 89 行定义.
|
inline |
原本坦白说是否开启
在文件 GroupEvents.hpp 第 91 行定义.
|
inline |
现在坦白说是否开启
在文件 GroupEvents.hpp 第 93 行定义.
|
inline |
操作员是否为Bot自己(无法获得具体操作员信息)
在文件 GroupEvents.hpp 第 95 行定义.