#include <chathelpers.h>
◆ UnreadThreadCache()
| ttv::chat::UnreadThreadCache::UnreadThreadCache |
( |
| ) |
|
◆ Clear()
| void ttv::chat::UnreadThreadCache::Clear |
( |
| ) |
|
◆ ContainsThread()
| bool ttv::chat::UnreadThreadCache::ContainsThread |
( |
const std::string & |
threadId | ) |
const |
◆ GetDirty()
| bool ttv::chat::UnreadThreadCache::GetDirty |
( |
| ) |
|
|
inline |
◆ GetExhaustive()
| bool ttv::chat::UnreadThreadCache::GetExhaustive |
( |
| ) |
const |
|
inline |
◆ GetNumUnreadMessages()
| uint32_t ttv::chat::UnreadThreadCache::GetNumUnreadMessages |
( |
| ) |
const |
|
inline |
◆ GetNumUnreadThreads()
| uint32_t ttv::chat::UnreadThreadCache::GetNumUnreadThreads |
( |
| ) |
const |
|
inline |
◆ GetUnreadThreadCounts()
◆ MarkClean()
| void ttv::chat::UnreadThreadCache::MarkClean |
( |
| ) |
|
|
inline |
◆ MarkThreadRead() [1/2]
| void ttv::chat::UnreadThreadCache::MarkThreadRead |
( |
const std::string & |
threadId, |
|
|
MessageId |
lastReadId |
|
) |
| |
◆ MarkThreadRead() [2/2]
| void ttv::chat::UnreadThreadCache::MarkThreadRead |
( |
const std::string & |
threadId | ) |
|
◆ RealtimeMessageReceived()
| void ttv::chat::UnreadThreadCache::RealtimeMessageReceived |
( |
const std::string & |
threadId, |
|
|
MessageId |
id |
|
) |
| |
◆ RealtimeMessageSent()
| void ttv::chat::UnreadThreadCache::RealtimeMessageSent |
( |
const std::string & |
threadId, |
|
|
MessageId |
id |
|
) |
| |
◆ SetExhaustive()
| void ttv::chat::UnreadThreadCache::SetExhaustive |
( |
bool |
exhaustive | ) |
|
|
inline |
◆ UpdateThread()
| void ttv::chat::UnreadThreadCache::UpdateThread |
( |
const std::string & |
threadId, |
|
|
MessageId |
lastMessageId, |
|
|
MessageId |
lastReadMessageId |
|
) |
| |
◆ mDirty
| bool ttv::chat::UnreadThreadCache::mDirty |
|
private |
Whether the cache has changed since the last time the unread counts callbacks notified the user.
◆ mExhaustive
| bool ttv::chat::UnreadThreadCache::mExhaustive |
|
private |
exhaustive = false means we need to poll the endpoint after each action for more accurate counts
◆ mNumUnreadMessages
| int32_t ttv::chat::UnreadThreadCache::mNumUnreadMessages |
|
private |
◆ mNumUnreadThreads
| int32_t ttv::chat::UnreadThreadCache::mNumUnreadThreads |
|
private |
◆ mUnreadThreads
| std::map<std::string, ThreadData> ttv::chat::UnreadThreadCache::mUnreadThreads |
|
private |
The documentation for this class was generated from the following file:
- modules/chat/chat_common/include/twitchsdk/chat/internal/chathelpers.h