SleepyDiscord::RawComponent
Inherits from SleepyDiscord::BaseComponent, SleepyDiscord::DiscordObject
inherited members​
Public Types inherited from SleepyDiscord::BaseComponent
Name | |
---|---|
using ComponentType | Type |
Public Functions inherited from SleepyDiscord::BaseComponent
Name | |
---|---|
BaseComponent() =deleted | |
BaseComponent(Type _type) | |
~BaseComponent() =default | |
const ComponentType | getType() const |
Protected Attributes inherited from SleepyDiscord::BaseComponent
Name | |
---|---|
Type | type |
Public Types Documentation​
using JSONTypeHelper​
using SleepyDiscord::RawComponent::JSONTypeHelper = json::ClassTypeHelper<json::Value>;
Public Functions Documentation​
function RawComponent​
inline RawComponent(
BaseComponent base,
json::Value & rawJSON
)
function RawComponent​
inline RawComponent(
json::Value & rawJSON
)
function RawComponent​
inline RawComponent(
const nonstd::string_view & json
)
function RawComponent​
inline RawComponent(
const RawComponent & origin
)
function serialize​
inline json::Value serialize(
typename json::Value::AllocatorType & alloc
) const
function empty​
inline const bool empty() const
function isType​
static inline const bool isType(
const typename json::Value & value
)
Public Attributes Documentation​
variable data​
json::Value data;
Updated on 13 April 2022 at 18:39:59 UTC