cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
CRTP helper layer 更多...
#include <IMessage.hpp>
Public 成员函数 | |
std::unique_ptr< IMessage > | clone () const override |
![]() | |
virtual | ~IMessage ()=default |
virtual std::unique_ptr< IMessage > | clone () const =0 |
MessageTypes | type () const |
Return the type of the class 更多... | |
bool | allowSend () const |
检查消息是否可以用于发送 更多... | |
bool | valid () const |
检查消息是否有效 更多... | |
静态 Public 成员函数 | |
static constexpr MessageTypes | GetType () |
static constexpr bool | isSendSupported () |
Protected 成员函数 | |
IMessageImpl ()=default | |
MessageTypes | GetType_ () const override |
bool | isSendSupported_ () const override |
![]() | |
IMessage ()=default | |
virtual MessageTypes | GetType_ () const =0 |
virtual bool | isSendSupported_ () const =0 |
virtual bool | isValid_ () const =0 |
CRTP helper layer
在文件 IMessage.hpp 第 77 行定义.
|
protecteddefault |
|
inlineoverrideprotectedvirtual |
实现了 Mirai::IMessage.
在文件 IMessage.hpp 第 86 行定义.
|
inlineoverrideprotectedvirtual |
实现了 Mirai::IMessage.
在文件 IMessage.hpp 第 88 行定义.
|
inlinestaticconstexpr |
在文件 IMessage.hpp 第 95 行定义.
|
inlinestaticconstexpr |
在文件 IMessage.hpp 第 97 行定义.
|
inlineoverridevirtual |
实现了 Mirai::IMessage.
在文件 IMessage.hpp 第 99 行定义.