#include <chathelpers.h>
◆ ChatMessagePacer()
| ttv::chat::ChatMessagePacer::ChatMessagePacer |
( |
| ) |
|
◆ Clear()
| void ttv::chat::ChatMessagePacer::Clear |
( |
| ) |
|
◆ TrackMessage()
| bool ttv::chat::ChatMessagePacer::TrackMessage |
( |
| ) |
|
◆ kMessagePacingTimeSpanSeconds
| const uint ttv::chat::ChatMessagePacer::kMessagePacingTimeSpanSeconds = 30 |
|
staticprivate |
◆ kMessagePacingWindowSize
| const uint ttv::chat::ChatMessagePacer::kMessagePacingWindowSize = 18 |
|
staticprivate |
◆ mMessageSubmissionTimes
The ring buffer of timestamps for the last n messages submitted. This is used for preventing the client from submitting too many too quickly and becoming blacklisted.
◆ mNextMessageSubmissionIndex
| uint ttv::chat::ChatMessagePacer::mNextMessageSubmissionIndex |
|
private |
The index of the next entry to write in mMessageSubmissionTimes.
The documentation for this class was generated from the following file:
- modules/chat/chat_common/include/twitchsdk/chat/internal/chathelpers.h