D++ (DPP)  10.0.30
C++ Discord API Bot Library
role.h File Reference
#include <variant>
#include <dpp/export.h>
#include <dpp/managed.h>
#include <dpp/json_fwd.h>
#include <dpp/permissions.h>
#include <dpp/guild.h>
#include <dpp/json_interface.h>
Include dependency graph for role.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::application_role_connection
 The application role connection that an application has attached to a user. More...
 
class  dpp::application_role_connection_metadata
 Application Role Connection Metadata. More...
 
class  dpp::role
 Represents a role within a dpp::guild. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

typedef std::vector< application_role_connection_metadata > dpp::application_role_connection_metadata_list
 A group of dpp::application_role_connection_metadata objects. More...
 
typedef std::unordered_map< snowflake, role > dpp::role_map
 A group of roles. More...
 

Enumerations

enum  dpp::application_role_connection_metadata_type : uint8_t {
  dpp::rc_integer_less_than_or_equal = 1,
  dpp::rc_integer_greater_than_or_equal = 2,
  dpp::rc_integer_equal = 3,
  dpp::rc_integer_not_equal = 4,
  dpp::rc_datetime_less_than_or_equal = 5,
  dpp::rc_datetime_greater_than_or_equal = 6,
  dpp::rc_boolean_equal = 7,
  dpp::rc_boolean_not_equal = 8
}
 Application Role Connection Metadata Type. More...
 
enum  dpp::role_flags : uint8_t {
  dpp::r_hoist = 0b00000001,
  dpp::r_managed = 0b00000010,
  dpp::r_mentionable = 0b00000100,
  dpp::r_premium_subscriber = 0b00001000,
  dpp::r_available_for_purchase = 0b00010000,
  dpp::r_guild_connections = 0b00100000,
  dpp::r_in_prompt = 0b01000000
}
 Various flags related to dpp::role. More...