#include <TwitchAccount.hpp>
|
| TwitchAccount (const QString &username, const QString &oauthToken_, const QString &oauthClient_, const QString &_userID) |
|
virtual QString | toString () const override |
|
const QString & | getUserName () const |
|
const QString & | getOAuthToken () const |
|
const QString & | getOAuthClient () const |
|
const QString & | getUserId () const |
|
QColor | color () |
|
void | setColor (QColor color) |
|
bool | setOAuthClient (const QString &newClientID) |
|
bool | setOAuthToken (const QString &newOAuthToken) |
|
bool | isAnon () const |
|
void | loadBlocks () |
|
void | blockUser (QString userId, std::function< void()> onSuccess, std::function< void()> onFailure) |
|
void | unblockUser (QString userId, std::function< void()> onSuccess, std::function< void()> onFailure) |
|
SharedAccessGuard< const std::set< QString > > | accessBlockedUserIds () const |
|
SharedAccessGuard< const std::set< TwitchUser > > | accessBlocks () const |
|
void | loadEmotes (std::weak_ptr< Channel > weakChannel={}) |
|
void | loadUserstateEmotes (std::weak_ptr< Channel > weakChannel={}) |
|
bool | setUserstateEmoteSets (QStringList newEmoteSets) |
|
SharedAccessGuard< const TwitchAccountEmoteData > | accessEmotes () const |
|
SharedAccessGuard< const std::unordered_map< QString, EmoteMap > > | accessLocalEmotes () const |
|
void | autoModAllow (const QString msgID, ChannelPtr channel) |
|
void | autoModDeny (const QString msgID, ChannelPtr channel) |
|
| Account (ProviderId providerId) |
|
virtual | ~Account ()=default |
|
const QString & | getCategory () const |
|
ProviderId | getProviderId () const |
|
bool | operator< (const Account &other) const |
|
◆ TwitchAccount()
chatterino::TwitchAccount::TwitchAccount |
( |
const QString & |
username, |
|
|
const QString & |
oauthToken_, |
|
|
const QString & |
oauthClient_, |
|
|
const QString & |
_userID |
|
) |
| |
◆ accessBlockedUserIds()
SharedAccessGuard< const std::set< QString > > chatterino::TwitchAccount::accessBlockedUserIds |
( |
| ) |
const |
◆ accessBlocks()
◆ accessEmotes()
◆ accessLocalEmotes()
◆ autoModAllow()
void chatterino::TwitchAccount::autoModAllow |
( |
const QString |
msgID, |
|
|
ChannelPtr |
channel |
|
) |
| |
◆ autoModDeny()
void chatterino::TwitchAccount::autoModDeny |
( |
const QString |
msgID, |
|
|
ChannelPtr |
channel |
|
) |
| |
◆ blockUser()
void chatterino::TwitchAccount::blockUser |
( |
QString |
userId, |
|
|
std::function< void()> |
onSuccess, |
|
|
std::function< void()> |
onFailure |
|
) |
| |
◆ color()
QColor chatterino::TwitchAccount::color |
( |
| ) |
|
◆ getOAuthClient()
const QString & chatterino::TwitchAccount::getOAuthClient |
( |
| ) |
const |
◆ getOAuthToken()
const QString & chatterino::TwitchAccount::getOAuthToken |
( |
| ) |
const |
◆ getUserId()
const QString & chatterino::TwitchAccount::getUserId |
( |
| ) |
const |
◆ getUserName()
const QString & chatterino::TwitchAccount::getUserName |
( |
| ) |
const |
◆ isAnon()
bool chatterino::TwitchAccount::isAnon |
( |
| ) |
const |
◆ loadBlocks()
void chatterino::TwitchAccount::loadBlocks |
( |
| ) |
|
◆ loadEmotes()
void chatterino::TwitchAccount::loadEmotes |
( |
std::weak_ptr< Channel > |
weakChannel = {} | ) |
|
◆ loadUserstateEmotes()
void chatterino::TwitchAccount::loadUserstateEmotes |
( |
std::weak_ptr< Channel > |
weakChannel = {} | ) |
|
◆ setColor()
void chatterino::TwitchAccount::setColor |
( |
QColor |
color | ) |
|
◆ setOAuthClient()
bool chatterino::TwitchAccount::setOAuthClient |
( |
const QString & |
newClientID | ) |
|
◆ setOAuthToken()
bool chatterino::TwitchAccount::setOAuthToken |
( |
const QString & |
newOAuthToken | ) |
|
◆ setUserstateEmoteSets()
bool chatterino::TwitchAccount::setUserstateEmoteSets |
( |
QStringList |
newEmoteSets | ) |
|
◆ toString()
QString chatterino::TwitchAccount::toString |
( |
| ) |
const |
|
overridevirtual |
◆ unblockUser()
void chatterino::TwitchAccount::unblockUser |
( |
QString |
userId, |
|
|
std::function< void()> |
onSuccess, |
|
|
std::function< void()> |
onFailure |
|
) |
| |
◆ staticEmoteSets
std::map<QString, EmoteSet> chatterino::TwitchAccount::staticEmoteSets |
The documentation for this class was generated from the following files: