diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-02-01 23:49:48 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-02-01 23:49:48 -0500 |
commit | ecc83036c1522a024e1f5a1efc6fe533b907daf1 (patch) | |
tree | ceb75059aec90e01a314e59851beefffa733cdb0 /src/discord/discord.hpp | |
parent | 5a6f8cac09770d315fe4a3258fa6116e65750f24 (diff) | |
parent | 3ed51eb155444859c3aa00119857b602066c9c10 (diff) | |
download | abaddon-portaudio-ecc83036c1522a024e1f5a1efc6fe533b907daf1.tar.gz abaddon-portaudio-ecc83036c1522a024e1f5a1efc6fe533b907daf1.zip |
Merge branch 'master' into pch
Diffstat (limited to 'src/discord/discord.hpp')
-rw-r--r-- | src/discord/discord.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp index c2bea7d..6f90659 100644 --- a/src/discord/discord.hpp +++ b/src/discord/discord.hpp @@ -60,6 +60,7 @@ public: std::vector<Message> GetMessagesForChannel(Snowflake id, size_t limit = 50) const; std::vector<Message> GetMessagesBefore(Snowflake channel_id, Snowflake message_id, size_t limit = 50) const; std::set<Snowflake> GetPrivateChannels() const; + const UserSettings &GetUserSettings() const; EPremiumType GetSelfPremiumType() const; @@ -211,6 +212,8 @@ public: void UpdateToken(const std::string &token); void SetUserAgent(const std::string &agent); + void SetDumpReady(bool dump); + bool IsChannelMuted(Snowflake id) const noexcept; bool IsGuildMuted(Snowflake id) const noexcept; int GetUnreadStateForChannel(Snowflake id) const noexcept; @@ -229,6 +232,8 @@ private: std::vector<uint8_t> m_decompress_buf; z_stream m_zstream; + bool m_dump_ready = false; + static std::string GetAPIURL(); static std::string GetGatewayURL(); |