From a51a54bc5979a2491f152abc47ad54e6b63f27c8 Mon Sep 17 00:00:00 2001 From: Dylam De La Torre Date: Tue, 23 Nov 2021 05:21:56 +0100 Subject: Restructure source and resource files (#46) importantly, res is now res/res and css is now res/css --- discord/usersettings.hpp | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 discord/usersettings.hpp (limited to 'discord/usersettings.hpp') diff --git a/discord/usersettings.hpp b/discord/usersettings.hpp deleted file mode 100644 index 6d37b3c..0000000 --- a/discord/usersettings.hpp +++ /dev/null @@ -1,47 +0,0 @@ -#pragma once -#include "json.hpp" -#include "snowflake.hpp" -#include - -struct UserSettingsGuildFoldersEntry { - int Color = -1; // null - std::vector GuildIDs; - Snowflake ID; // null (this can be a snowflake as a string or an int that isnt a snowflake lol) - std::string Name; // null - - friend void from_json(const nlohmann::json &j, UserSettingsGuildFoldersEntry &m); -}; - -struct UserSettings { - int TimezoneOffset; // - std::string Theme; // - bool AreStreamNotificationsEnabled; // - std::string Status; // - bool ShouldShowCurrentGame; // - // std::vector RestrictedGuilds; // - bool ShouldRenderReactions; // - bool ShouldRenderEmbeds; // - bool IsNativePhoneIntegrationEnabled; // - bool ShouldMessageDisplayCompact; // - std::string Locale; // - bool ShouldInlineEmbedMedia; // - bool ShouldInlineAttachmentMedia; // - std::vector GuildPositions; // deprecated? - std::vector 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); -}; -- cgit v1.2.3