cpp-mirai-client  v2.6.1
cpp client for mirai-api-http
Mirai::BotLeaveEvent< Event > 模板类 参考

Bot退群相关事件 更多...

#include <BotEvents.hpp>

类 Mirai::BotLeaveEvent< Event > 继承关系图:
[图例]
Mirai::BotLeaveEvent< Event > 的协作图:
[图例]

Public 成员函数

Group GetGroup () const
 获取群聊信息 更多...
 
- Public 成员函数 继承自 Mirai::IEvent< Event >
 IEvent (const IEvent &)=default
 
IEventoperator= (const IEvent &)=default
 
 IEvent (IEvent &&)=default
 
IEventoperator= (IEvent &&)=default
 
MiraiClientGetMiraiClient () const
 获取接收该事件的 MiraiClient 的引用 更多...
 

Protected 属性

Group group_ {}
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 Mirai::IEvent< Event >
static constexpr EventTypes GetType ()
 获取事件类型 更多...
 
- Protected 成员函数 继承自 Mirai::IEvent< Event >
 IEvent ()=default
 
 ~IEvent ()=default
 

详细描述

template<class Event>
class Mirai::BotLeaveEvent< Event >

Bot退群相关事件

Middleware for all bot leave group events

Member Variable Default Value
BotLeaveEvent::group_ Group{}

在文件 BotEvents.hpp226 行定义.

成员函数说明

◆ GetGroup()

template<class Event >
Group Mirai::BotLeaveEvent< Event >::GetGroup ( ) const
inline

获取群聊信息

在文件 BotEvents.hpp233 行定义.

类成员变量说明

◆ group_

template<class Event >
Group Mirai::BotLeaveEvent< Event >::group_ {}
protected

在文件 BotEvents.hpp229 行定义.


该类的文档由以下文件生成: