#pragma once #include #include #include #include "common/UniqueAccess.hpp" #include "util/QStringHash.hpp" namespace chatterino { struct Emote; using EmotePtr = std::shared_ptr; class Settings; class Paths; class TwitchBadges { public: void loadTwitchBadges(); boost::optional badge(const QString &set, const QString &version) const; private: UniqueAccess< std::unordered_map>> badgeSets_; // "bits": { "100": ... "500": ... }; } // namespace chatterino