Skip to main content

SleepyDiscord::IdentifiableDiscordObject

More...

Inherits from SleepyDiscord::DiscordObject

Detailed Description​

template <class Derived >
class SleepyDiscord::IdentifiableDiscordObject;

Public Types Documentation​

using Parent​

using SleepyDiscord::IdentifiableDiscordObject< Derived >::Parent =  IdentifiableDiscordObject<Derived>;

using Identifier​

using SleepyDiscord::IdentifiableDiscordObject< Derived >::Identifier =  Snowflake<Derived>;

Public Functions Documentation​

function IdentifiableDiscordObject​

IdentifiableDiscordObject() =default

function IdentifiableDiscordObject​

inline IdentifiableDiscordObject(
Snowflake< Derived > id
)

function operator Snowflake< Derived > &​

inline operator Snowflake< Derived > &()

function empty​

inline bool empty() const

function merge​

inline void merge(
Derived & changes
)

function operator==​

template <class DiscordObject >
inline bool operator==(
const Snowflake< DiscordObject > & right
) const

function operator!=​

template <class DiscordObject >
inline bool operator!=(
const Snowflake< DiscordObject > & right
) const

function operator==​

inline bool operator==(
const Snowflake< Derived > & right
) const

function operator!=​

inline bool operator!=(
const Snowflake< Derived > & right
) const

function operator==​

inline bool operator==(
const IdentifiableDiscordObject< Derived > & right
) const

function operator!=​

inline bool operator!=(
const IdentifiableDiscordObject< Derived > & right
) const

function getTimestamp​

inline const Time getTimestamp()

Public Attributes Documentation​

variable ID​

Snowflake< Derived > ID;

Updated on 13 April 2022 at 18:39:59 UTC