#include "test.h"
|
std::string | foo |
|
snowflake | id = {} |
| Unique ID of object set by Discord. More...
|
|
◆ test_cached_object_t()
◆ ~test_cached_object_t()
virtual test_cached_object_t::~test_cached_object_t |
( |
| ) |
|
|
virtualdefault |
◆ get_creation_time()
constexpr double dpp::managed::get_creation_time |
( |
| ) |
const |
|
inlineconstexprnoexceptinherited |
Get the creation time of this object according to Discord.
- Returns
- double creation time inferred from the snowflake ID. The minimum possible value is the first second of 2015.
◆ operator!=()
constexpr bool dpp::managed::operator!= |
( |
const managed & |
other | ) |
const |
|
inlineconstexprnoexceptinherited |
Comparison operator for comparing two managed objects by id.
- Parameters
-
other | Other object to compare against |
- Returns
- true objects are not the same id
-
false objects are the same id
◆ operator==()
constexpr bool dpp::managed::operator== |
( |
const managed & |
other | ) |
const |
|
inlineconstexprnoexceptinherited |
Comparison operator for comparing two managed objects by id.
- Parameters
-
other | Other object to compare against |
- Returns
- true objects are the same id
-
false objects are not the same id
◆ foo
std::string test_cached_object_t::foo |
◆ id
snowflake dpp::managed::id = {} |
|
inherited |
Unique ID of object set by Discord.
This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relevant to us as useful metadata.
Referenced by dpp::poll::add_answer(), dpp::cluster::create_webhook(), dpp::cluster::current_user_join_thread(), dpp::invite::fill_from_json_impl(), dpp::command_permission::fill_from_json_impl(), dpp::interaction::get_resolved_role(), dpp::interaction::get_resolved_user(), dpp::cluster::global_bulk_command_create(), dpp::cluster::global_bulk_command_delete(), dpp::cluster::global_command_delete(), dpp::cluster::global_command_edit(), dpp::cluster::guild_ban_delete(), dpp::cluster::guild_command_create(), dpp::cluster::guild_command_edit_permissions(), dpp::cluster::guild_get_integrations(), dpp::events::guild_member_update::handle(), dpp::events::guild_role_create::handle(), dpp::events::channel_create::handle(), dpp::events::voice_state_update::handle(), dpp::discord_voice_client::handle_frame(), main(), dpp::component::set_disabled(), and dpp::select_option::set_label().
The documentation for this class was generated from the following file: