diff options
Diffstat (limited to 'discord/usersettings.hpp')
-rw-r--r-- | discord/usersettings.hpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/discord/usersettings.hpp b/discord/usersettings.hpp new file mode 100644 index 0000000..ed55761 --- /dev/null +++ b/discord/usersettings.hpp @@ -0,0 +1,38 @@ +#pragma once +#include "json.hpp" +#include "snowflake.hpp" +#include <string> + +struct UserSettings { + int TimezoneOffset; // + std::string Theme; // + bool AreStreamNotificationsEnabled; // + std::string Status; // + bool ShouldShowCurrentGame; // + // std::vector<Unknown> RestrictedGuilds; // + bool ShouldRenderReactions; // + bool ShouldRenderEmbeds; // + bool IsNativePhoneIntegrationEnabled; // + bool ShouldMessageDisplayCompact; // + std::string Locale; // + bool ShouldInlineEmbedMedia; // + bool ShouldInlineAttachmentMedia; // + std::vector<Snowflake> GuildPositions; // + // std::vector<GuildFolderEntryData> GuildFolders; // + bool ShouldGIFAutoplay; // + // Unknown FriendSourceFlags; // + int ExplicitContentFilter; // + bool IsTTSCommandEnabled; // + bool ShouldDisableGamesTab; // + bool DeveloperMode; // + bool ShouldDetectPlatformAccounts; // + bool AreDefaultGuildsRestricted; // + // Unknown CustomStatus; // null + bool ShouldConvertEmoticons; // + bool IsContactSyncEnabled; // + bool ShouldAnimateEmojis; // + bool IsAccessibilityDetectionAllowed; // + int AFKTimeout; + + friend void from_json(const nlohmann::json &j, UserSettings &m); +}; |