cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
Bot被禁言事件 更多...
#include <BotEvents.hpp>
Public 成员函数 | |
GroupMember | GetOperator () const |
获取操作员信息 更多... | |
std::chrono::seconds | GetMuteTime () const |
获取禁言时间 更多... | |
![]() | |
IEvent (const IEvent &)=default | |
IEvent (IEvent &&)=default | |
IEvent & | operator= (const IEvent &)=default |
IEvent & | operator= (IEvent &&)=default |
MiraiClient & | GetMiraiClient () const |
获取接收该事件的 MiraiClient 的引用 更多... | |
Protected 属性 | |
GroupMember | operator_ |
std::time_t | duration_ = 0 |
静态 Protected 属性 | |
static constexpr EventTypes | TYPE_ = EventTypes::BotMute |
额外继承的成员函数 | |
![]() | |
static constexpr EventTypes | GetType () |
获取事件类型 更多... | |
![]() | |
IEvent ()=default | |
~IEvent ()=default | |
Bot被禁言事件
Member Variable | Default Value |
---|---|
BotMuteEvent::operator_ | GroupMember{} |
BotMuteEvent::duration_ | 0 |
在文件 BotEvents.hpp 第 308 行定义.
|
inline |
获取操作员信息
在文件 BotEvents.hpp 第 319 行定义.
|
inline |
获取禁言时间
在文件 BotEvents.hpp 第 321 行定义.
|
protected |
在文件 BotEvents.hpp 第 312 行定义.
|
protected |
在文件 BotEvents.hpp 第 313 行定义.
|
staticconstexprprotected |
在文件 BotEvents.hpp 第 315 行定义.