|
Twitch SDK (Internal)
|
Namespaces | |
| graphql | |
| json | |
Typedefs | |
| using | EmoticonId = uint32_t |
| using | EmoticonSetId = uint32_t |
| using | MessageId = uint32_t |
Functions | |
| const char * | ChatErrorToString (TTV_ErrorCode ec) |
| void | GetChatErrorCodeValues (std::vector< EnumValue > &result) |
| bool | TokensEqual (const std::unique_ptr< MessageToken > &lhs, const std::unique_ptr< MessageToken > &rhs) |
| Color | GetRandomUserColor (const std::string &username) |
| SubscriptionStatus | ParseSubscriptionStatus (const std::string &str) |
| UserMode | ParseUserType (const std::string &str) |
| void | UnescapeEmoticonToken (std::string &token) |
| bool | SortTokenRangesByTypeThenRangeNum (const TokenRange &a, const TokenRange &b) |
| bool | SortTokenRangesByStartIndex (const TokenRange &a, const TokenRange &b) |
| bool | SortEmoticonRangesByEmoticonId (const TokenRange &a, const TokenRange &b) |
| void | RemoveOverlappingRanges (std::vector< TokenRange > &ranges) |
| void | AdjustByteRangesToUtf8Ranges (std::vector< TokenRange > &ranges, const std::string &message) |
| void | AdjustUtf8RangesToByteRanges (std::vector< TokenRange > &ranges, const std::string &message) |
| bool | ParseEmotesMessageTag (const std::string &emotesMessageTag, std::map< EmoticonId, std::vector< EmoteRange >> &result) |
| bool | ParseBadgesMessageTag (const std::string &messageTag, std::vector< std::pair< std::string, std::string >> &result) |
| bool | GenerateBadgesMessageTag (const std::vector< std::pair< std::string, std::string >> &badges, std::string &result) |
| bool | TokenizeLocalMessage (const std::shared_ptr< User > &user, ChannelId channelId, const std::string &message, std::string &emotesMessageTag, std::string &badgesMessageTag) |
| void | TokenizeServerMessage (const std::string &message, const TokenizationOptions &tokenizationOptions, const std::string &messageTags, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, MessageInfo &tokenizedMessage) |
| void | TokenizeServerMessage (const std::string &message, const TokenizationOptions &tokenizationOptions, const std::map< EmoticonId, std::vector< EmoteRange >> &emoticonRanges, const std::vector< std::string > &localUserNames, MessageInfo &tokenizedMessage) |
| void | TokenizeServerMessage (const std::string &message, const TokenizationOptions &tokenizationOptions, const std::map< EmoticonId, std::vector< EmoteRange >> &emoticonRanges, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, MessageInfo &tokenizedMessage) |
| TTV_ErrorCode | GetEmoticonUrl (uint32_t emoticonId, float scale, std::string &result) |
| int | IrcStringGetWord (char *dst, const char *src, int maxLen, const char **ppEnd) |
| const char * | IrcStringSkipSpaces (const char *psz) |
| bool | IsChannelString (const std::string &channel) |
| std::string | GetPrefixNick (const std::string &prefix) |
| std::string | GetPrefixHost (const std::string &prefix) |
| std::string | GetPrefixIdent (const std::string &prefix) |
| std::string | StripNickModes (const std::string &nick, const std::string &modeChars) |
| std::string | StripNickModesAndInvalidChars (const std::string &nick, const std::string &modeChars) |
| bool | NickHasMode (const std::string &nick, char mode) |
| bool | IsTwitchChatUrl (const std::string &url) |
| bool | IsSimpleWordCharacter (char ch) |
| std::string | GetWord (const std::string &str, uint32_t start, bool getRest, uint32_t &end) |
| std::string | ReplaceSubstring (const std::string &source, const std::string &target, const std::string &with) |
| std::string | UnescapeMessageTag (const std::string &escapedMessageTag) |
| bool | Compare (const std::string &one, const std::string &two, bool caseSensitive) |
| bool | IsSlashCommandMessage (const std::string &message) |
| bool | ParseParticipantJson (const ttv::json::Value &jParticipant, ChatUserInfo &user) |
| bool | ParseThreadJson (const ttv::json::Value &jThread, const TokenizationOptions &tokenizationOptions, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, ThreadData &result) |
| bool | ParseRaidStatusJson (const ttv::json::Value &jRaid, RaidStatus &status) |
| bool | ParseMessageJson (const ttv::json::Value &jMessage, const TokenizationOptions &tokenizationOptions, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, WhisperMessage &result) |
| bool | ParseChatReplayMessageJson (const ttv::json::Value &jMessage, const TokenizationOptions &tokenizationOptions, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, ReplayMessage &result) |
| bool | ParseMillisecondTimestampChatReplayMessageJson (const ttv::json::Value &jMessage, uint64_t &result) |
| bool | ParseGraphQLErrorCode (const ttv::json::Value &jVal, const std::string &mutationName, GraphQLErrorCode &code) |
| bool | ParseEditRoomMessage (const ttv::json::Value &jVal, ChatRoomMessage &result) |
| bool | ParseSendRoomMessage (const ttv::json::Value &jVal, ChatRoomMessage &result, SendRoomMessageError &error) |
| bool | ParseRoomMessages (const ttv::json::Value &jVal, std::vector< ChatRoomMessage > &result, std::string &resultCursor, bool &resultMoreMessages) |
| bool | ParseCreateRoom (const ttv::json::Value &jVal, ChatRoomInfo &result, CreateRoomError &error) |
| bool | ParseUpdateRoom (const ttv::json::Value &jVal, ChatRoomInfo &result, UpdateRoomError &error) |
| bool | ParseUpdateRoomModes (const ttv::json::Value &jVal, ChatRoomInfo &result, UpdateRoomModesError &error) |
| bool | ParseRoomInfo (const ttv::json::Value &jVal, ChatRoomInfo &result) |
| bool | ParseGraphQLChatRooms (const ttv::json::Value &jVal, std::vector< ChatRoomInfo > &result) |
| bool | ParseGraphQLChatRoomView (const ttv::json::Value &jVal, const std::string &mutationName, ChatRoomInfo &result) |
| bool | ParseGraphQLUserMods (const ttv::json::Value &jVal, std::vector< std::string > &result, std::string &cursor) |
| bool | ParseBanUser (const ttv::json::Value &jVal, BanUserError &error) |
| bool | ParseUnbanUser (const ttv::json::Value &jVal, UnbanUserError &error) |
| bool | ParseUserEmoticonSets (const ttv::json::Value &jVal, std::vector< EmoticonSet > &result) |
| JavaClassInfo & | GetJavaClassInfo_IChatRoomCollection (JNIEnv *jEnv) |
| JavaClassInfo & | GetJavaClassInfo_IChatRoomCollection_AddRoomCallback (JNIEnv *jEnv) |
| JavaClassInfo & | GetJavaClassInfo_IChatRoomCollection_FetchRoomsInfoCallback (JNIEnv *jEnv) |
| JavaClassInfo & | GetJavaClassInfo_IChatRoomCollection_JoinCallback (JNIEnv *jEnv) |
| JavaClassInfo & | GetJavaClassInfo_IChatRoomCollection_LeaveCallback (JNIEnv *jEnv) |
| JavaClassInfo & | GetJavaClassInfo_IChatRoomCollectionListener (JNIEnv *jEnv) |
| struct ttv::chat::Badge |
Badge - Information about a badge set which may have several versions.
| Class Members | ||
|---|---|---|
| string | name | The unique name of the badge. |
| map< string, BadgeVersion > | versions | The versions available for rendering, keyed by version name. |
| struct ttv::chat::BitsReceivedEvent |
BitsReceivedEvent - A message indicating that the given channel received a bits cheer.
| Class Members | ||
|---|---|---|
| BadgeEntitlement | badge | Information about the user's new badge level, if the user reached a new badge level with this cheer. |
| uint32_t | bitsUsed | Number of bits used. |
| ChannelId | channelId | User ID of the channel on which bits were used. |
| string | channelName | Name of the channel on which bits were used. |
| string | context | Event type associated with this use of bits. |
| MessageInfo | message | Chat message sent with the cheer. |
| uint32_t | totalBitsUsed | All-time total number of bits used on this channel by the specified user. |
| struct ttv::chat::ChatChannelInfo |
ChatChannelInfo - Information about the state of a connected chat channel.
| Class Members | ||
|---|---|---|
| string | broadcasterLanguage | The active broadcaster language code. Empty if there is no language filter enabled. |
| RestrictionReason | localUserRestriction | The active restriction for the local user. |
| string | name | The UTF-8 encoded name of the channel. Currently restricted to the ASCII subset. |
| struct ttv::chat::ChatRoomMessage |
ChatRoomMessage - A message from a single user in a chat room.
| Class Members | ||
|---|---|---|
| MessageInfo | messageInfo | The information about the message. |
| string | roomId | The room id the message is being sent to. |
| string | roomMessageId | The message id for the room. |
| struct ttv::chat::EmoticonRange |
| Class Members | ||
|---|---|---|
| EmoticonId | emoticonId | |
| struct ttv::chat::FirstTimeChatterNotice |
FirstTimeChatterNotice - A message indicating that a user has completed the first time chatter ritual.
| Class Members | ||
|---|---|---|
| string | messageId | The id of the first time chatter notice. |
| string | systemMessage | Message generated by the system itself accompanying the user message. |
| MessageInfo | userMessage | Message the user provided when they completed their first chatter ritual. |
| struct ttv::chat::FollowerAddedEvent |
FollowerAddedEvent - Info received about a new follower to a channel
| Class Members | ||
|---|---|---|
| string | displayName | Display name of the person who followed the channel. |
| UserId | userId | User Id of the person who followed the channel. |
| string | userName | Username of the person who followed the channel. |
| struct ttv::chat::MentionRange |
| struct ttv::chat::MessageBadge |
MessageBadge - A badge instance associated with a message.
| Class Members | ||
|---|---|---|
| string | name | Corresponds to Badge::name. |
| string | version | Corresponds to BadgeVersion::name. |
| struct ttv::chat::SubscriberAddedEvent |
SubscriberAddedEvent - Info received about a new subscriber to a channel
| Class Members | ||
|---|---|---|
| ChannelId | channelId | User ID of the channel subscribed to. |
| string | channelName | Name of the channel subscribed to. |
| string | displayName | Display name of the person who subscribed to the channel. |
| SubscriptionNotice | subNotice | Details of the subscription. |
| Timestamp | timestamp | Time when subscribed event occured. |
| UserId | userId | User ID of the person who subscribed to the channel. |
| string | userName | Login name of the person who subscribed to the channel. |
| struct ttv::chat::TokenRange |
| Class Members | ||
|---|---|---|
| union TokenRange | data | |
| int | endIndex | |
| int | rangeNum | |
| int | startIndex | |
| TokenRangeEnum | type | |
| union ttv::chat::TokenRange.data |
| Class Members | ||
|---|---|---|
| BitsRange | bits | |
| EmoticonRange | emoticon | |
| MentionRange | mention | |
| UrlRange | url | |
| struct ttv::chat::UnraidNotice |
UnraidNotice - A message indicating that the current channel has stopped raiding another channel.
| Class Members | ||
|---|---|---|
| string | systemMessage | Message generated by the system accompanying the unraid. |
| struct ttv::chat::UrlRange |
| using ttv::chat::EmoticonId = typedef uint32_t |
| using ttv::chat::EmoticonSetId = typedef uint32_t |
| using ttv::chat::MessageId = typedef uint32_t |
|
strong |
|
strong |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| SUCCESS | No error. |
| UNKNOWN | Received an unrecognized error code. |
| AUTO_MOD_ENFORCEMENT_FAILED | Message failed automod check. sendRoomMessage. |
| CHANNEL_NOT_FOUND | Target channel does not exist. modUser, unmodUser. |
| DURATION_INVALID | Duration provided was too short or too long. banUser. |
| EMOTE_ONLY_MODE_ENFORCEMENT_FAILED | Room is in emotes only mode and message contained non-emote text. sendRoomMessage. |
| FORBIDDEN | User is not allowed to perform the action. |
| MAX_ROOMS_LIMIT_EXCEEDED | User cannot create any more rooms. createRoom. |
| NAME_CONTAINS_INVALID_CHARACTERS | Name contains invalid characters (e.g. spaces). createRoom, updateRoom. |
| NAME_INAPPROPRIATE | Name failed automod check. createRoom, updateRoom. |
| NAME_LENGTH_INVALID | Name is too short or too long. createRoom, updateRoom. |
| R9K_MODE_ENFORCEMENT_FAILED | Room is in R9K mode and message was not unique. sendRoomMessage. |
| RATE_LIMIT_FAILED | User is rate limited. sendRoomMessage. |
| ROOM_NOT_FOUND | Could not find a room with the given room ID. updateRoom. updateRoomModes. |
| SLOW_MODE_DURATION_INVALID | Slow mode duration was too short, too long, or not a number. updateRoomModes. |
| SLOW_MODE_ENFORCEMENT_FAILED | Room is in slow mode and user tried to send a message too quickly. sendRoomMessage. |
| SPAM_ENFORCEMENT_FAILED | Message failed spam check. sendRoomMessage. |
| TARGET_ALREADY_BANNED | User tried to ban already banned user. banUser. |
| TARGET_ALREADY_MOD | Target is already a mod. modUser. |
| TARGET_IS_ADMIN | User tried to ban admin. banUser. |
| TARGET_IS_ANONYMOUS | User tried to ban anonymous user. banUser. |
| TARGET_IS_BROADCASTER | User tried to ban broadcaster. banUser. |
| TARGET_IS_CHAT_BANNED | User is banned from chat. modUser. |
| TARGET_IS_GLOBAL_MOD | User tried to ban admin. banUser. |
| TARGET_IS_MOD | User tried to ban moderator without permission. banUser. |
| TARGET_IS_SELF | User tried to ban themselves. banUser. |
| TARGET_IS_STAFF | User tried to ban staff. banUser. |
| TARGET_NOT_BANNED | Target is not banned in channel. unbanUser. |
| TARGET_NOT_FOUND | Target does not exist. banUser, unbanUser, modUser, unmodUser. |
| TARGET_NOT_MOD | Target is not a mod. unmodUser. |
| TOPIC_INAPPROPRIATE | Topic failed automod check. createRoom, updateRoom. |
| TOPIC_LENGTH_INVALID | Topic is too short or too long. createRoom, updateRoom. |
| USER_CHAT_BANNED | User is banned from the channel. sendRoomMessage. |
| USER_CHAT_TIMED_OUT | User is timed out from the channel sendRoomMessage. |
| USER_SUSPENDED | User is suspended from Twitch. sendRoomMessage. |
| ZALGO_ENFORCEMENT_FAILED | Message contained zalgo characters. sendRoomMessage. |
|
strong |
| void ttv::chat::AdjustByteRangesToUtf8Ranges | ( | std::vector< TokenRange > & | ranges, |
| const std::string & | message | ||
| ) |
| void ttv::chat::AdjustUtf8RangesToByteRanges | ( | std::vector< TokenRange > & | ranges, |
| const std::string & | message | ||
| ) |
| const char* ttv::chat::ChatErrorToString | ( | TTV_ErrorCode | ec | ) |
The error code string lookup for chat. This is not normally used directly by clients. Use ttv::ErrorToString() instead.
|
inline |
| bool ttv::chat::GenerateBadgesMessageTag | ( | const std::vector< std::pair< std::string, std::string >> & | badges, |
| std::string & | result | ||
| ) |
Creates a new IRC message tag string from the passed-in list of badges. The pairs should contain the badgeSet name and version name, respectively.
| void ttv::chat::GetChatErrorCodeValues | ( | std::vector< EnumValue > & | result | ) |
| TTV_ErrorCode ttv::chat::GetEmoticonUrl | ( | uint32_t | emoticonId, |
| float | scale, | ||
| std::string & | result | ||
| ) |
| JavaClassInfo& ttv::chat::GetJavaClassInfo_IChatRoomCollection | ( | JNIEnv * | jEnv | ) |
| JavaClassInfo& ttv::chat::GetJavaClassInfo_IChatRoomCollection_AddRoomCallback | ( | JNIEnv * | jEnv | ) |
| JavaClassInfo& ttv::chat::GetJavaClassInfo_IChatRoomCollection_FetchRoomsInfoCallback | ( | JNIEnv * | jEnv | ) |
| JavaClassInfo& ttv::chat::GetJavaClassInfo_IChatRoomCollection_JoinCallback | ( | JNIEnv * | jEnv | ) |
| JavaClassInfo& ttv::chat::GetJavaClassInfo_IChatRoomCollection_LeaveCallback | ( | JNIEnv * | jEnv | ) |
| JavaClassInfo& ttv::chat::GetJavaClassInfo_IChatRoomCollectionListener | ( | JNIEnv * | jEnv | ) |
| std::string ttv::chat::GetPrefixHost | ( | const std::string & | prefix | ) |
| std::string ttv::chat::GetPrefixIdent | ( | const std::string & | prefix | ) |
| std::string ttv::chat::GetPrefixNick | ( | const std::string & | prefix | ) |
| Color ttv::chat::GetRandomUserColor | ( | const std::string & | username | ) |
| std::string ttv::chat::GetWord | ( | const std::string & | str, |
| uint32_t | start, | ||
| bool | getRest, | ||
| uint32_t & | end | ||
| ) |
| int ttv::chat::IrcStringGetWord | ( | char * | dst, |
| const char * | src, | ||
| int | maxLen, | ||
| const char ** | ppEnd | ||
| ) |
| const char* ttv::chat::IrcStringSkipSpaces | ( | const char * | psz | ) |
| bool ttv::chat::IsChannelString | ( | const std::string & | channel | ) |
| bool ttv::chat::IsSimpleWordCharacter | ( | char | ch | ) |
|
inline |
| bool ttv::chat::IsTwitchChatUrl | ( | const std::string & | url | ) |
| bool ttv::chat::NickHasMode | ( | const std::string & | nick, |
| char | mode | ||
| ) |
| bool ttv::chat::ParseBadgesMessageTag | ( | const std::string & | messageTag, |
| std::vector< std::pair< std::string, std::string >> & | result | ||
| ) |
Parses the 'badges' IRC message tag into the list of badges in the message. The pairs contain badgeSet name and version name, respectively.
| bool ttv::chat::ParseBanUser | ( | const ttv::json::Value & | jVal, |
| BanUserError & | error | ||
| ) |
| bool ttv::chat::ParseChatReplayMessageJson | ( | const ttv::json::Value & | jMessage, |
| const TokenizationOptions & | tokenizationOptions, | ||
| const std::shared_ptr< BitsConfiguration > & | bitsConfig, | ||
| const std::vector< std::string > & | localUserNames, | ||
| ReplayMessage & | result | ||
| ) |
| bool ttv::chat::ParseCreateRoom | ( | const ttv::json::Value & | jVal, |
| ChatRoomInfo & | result, | ||
| CreateRoomError & | error | ||
| ) |
| bool ttv::chat::ParseEditRoomMessage | ( | const ttv::json::Value & | jVal, |
| ChatRoomMessage & | result | ||
| ) |
| bool ttv::chat::ParseEmotesMessageTag | ( | const std::string & | emotesMessageTag, |
| std::map< EmoticonId, std::vector< EmoteRange >> & | result | ||
| ) |
Parses the 'emotes' IRC message tag into the ranges needed to parse the associated message.
| bool ttv::chat::ParseGraphQLChatRooms | ( | const ttv::json::Value & | jVal, |
| std::vector< ChatRoomInfo > & | result | ||
| ) |
| bool ttv::chat::ParseGraphQLChatRoomView | ( | const ttv::json::Value & | jVal, |
| const std::string & | mutationName, | ||
| ChatRoomInfo & | result | ||
| ) |
| bool ttv::chat::ParseGraphQLErrorCode | ( | const ttv::json::Value & | jVal, |
| const std::string & | mutationName, | ||
| GraphQLErrorCode & | code | ||
| ) |
Parses the GraphQL payloads as json and populates the result with the information.
| bool ttv::chat::ParseGraphQLUserMods | ( | const ttv::json::Value & | jVal, |
| std::vector< std::string > & | result, | ||
| std::string & | cursor | ||
| ) |
| bool ttv::chat::ParseMessageJson | ( | const ttv::json::Value & | jMessage, |
| const TokenizationOptions & | tokenizationOptions, | ||
| const std::shared_ptr< BitsConfiguration > & | bitsConfig, | ||
| const std::vector< std::string > & | localUserNames, | ||
| WhisperMessage & | result | ||
| ) |
Parses the given json and returns a populated TTV_ChatMessage with dynamically allocated strings. Be sure to free the string fields.
| bool ttv::chat::ParseMillisecondTimestampChatReplayMessageJson | ( | const ttv::json::Value & | jMessage, |
| uint64_t & | result | ||
| ) |
| bool ttv::chat::ParseParticipantJson | ( | const ttv::json::Value & | jParticipant, |
| ChatUserInfo & | user | ||
| ) |
| bool ttv::chat::ParseRaidStatusJson | ( | const ttv::json::Value & | jRaid, |
| RaidStatus & | status | ||
| ) |
| bool ttv::chat::ParseRoomInfo | ( | const ttv::json::Value & | jVal, |
| ChatRoomInfo & | result | ||
| ) |
| bool ttv::chat::ParseRoomMessages | ( | const ttv::json::Value & | jVal, |
| std::vector< ChatRoomMessage > & | result, | ||
| std::string & | resultCursor, | ||
| bool & | resultMoreMessages | ||
| ) |
| bool ttv::chat::ParseSendRoomMessage | ( | const ttv::json::Value & | jVal, |
| ChatRoomMessage & | result, | ||
| SendRoomMessageError & | error | ||
| ) |
| SubscriptionStatus ttv::chat::ParseSubscriptionStatus | ( | const std::string & | str | ) |
| bool ttv::chat::ParseThreadJson | ( | const ttv::json::Value & | jThread, |
| const TokenizationOptions & | tokenizationOptions, | ||
| const std::shared_ptr< BitsConfiguration > & | bitsConfig, | ||
| const std::vector< std::string > & | localUserNames, | ||
| ThreadData & | result | ||
| ) |
| bool ttv::chat::ParseUnbanUser | ( | const ttv::json::Value & | jVal, |
| UnbanUserError & | error | ||
| ) |
| bool ttv::chat::ParseUpdateRoom | ( | const ttv::json::Value & | jVal, |
| ChatRoomInfo & | result, | ||
| UpdateRoomError & | error | ||
| ) |
| bool ttv::chat::ParseUpdateRoomModes | ( | const ttv::json::Value & | jVal, |
| ChatRoomInfo & | result, | ||
| UpdateRoomModesError & | error | ||
| ) |
| bool ttv::chat::ParseUserEmoticonSets | ( | const ttv::json::Value & | jVal, |
| std::vector< EmoticonSet > & | result | ||
| ) |
| UserMode ttv::chat::ParseUserType | ( | const std::string & | str | ) |
| void ttv::chat::RemoveOverlappingRanges | ( | std::vector< TokenRange > & | ranges | ) |
| std::string ttv::chat::ReplaceSubstring | ( | const std::string & | source, |
| const std::string & | target, | ||
| const std::string & | with | ||
| ) |
| bool ttv::chat::SortEmoticonRangesByEmoticonId | ( | const TokenRange & | a, |
| const TokenRange & | b | ||
| ) |
| bool ttv::chat::SortTokenRangesByStartIndex | ( | const TokenRange & | a, |
| const TokenRange & | b | ||
| ) |
| bool ttv::chat::SortTokenRangesByTypeThenRangeNum | ( | const TokenRange & | a, |
| const TokenRange & | b | ||
| ) |
| std::string ttv::chat::StripNickModes | ( | const std::string & | nick, |
| const std::string & | modeChars | ||
| ) |
| std::string ttv::chat::StripNickModesAndInvalidChars | ( | const std::string & | nick, |
| const std::string & | modeChars | ||
| ) |
| bool ttv::chat::TokenizeLocalMessage | ( | const std::shared_ptr< User > & | user, |
| ChannelId | channelId, | ||
| const std::string & | message, | ||
| std::string & | emotesMessageTag, | ||
| std::string & | badgesMessageTag | ||
| ) |
| void ttv::chat::TokenizeServerMessage | ( | const std::string & | message, |
| const TokenizationOptions & | tokenizationOptions, | ||
| const std::string & | messageTags, | ||
| const std::shared_ptr< BitsConfiguration > & | bitsConfig, | ||
| const std::vector< std::string > & | localUserNames, | ||
| MessageInfo & | tokenizedMessage | ||
| ) |
| void ttv::chat::TokenizeServerMessage | ( | const std::string & | message, |
| const TokenizationOptions & | tokenizationOptions, | ||
| const std::map< EmoticonId, std::vector< EmoteRange >> & | emoticonRanges, | ||
| const std::vector< std::string > & | localUserNames, | ||
| MessageInfo & | tokenizedMessage | ||
| ) |
| void ttv::chat::TokenizeServerMessage | ( | const std::string & | message, |
| const TokenizationOptions & | tokenizationOptions, | ||
| const std::map< EmoticonId, std::vector< EmoteRange >> & | emoticonRanges, | ||
| const std::shared_ptr< BitsConfiguration > & | bitsConfig, | ||
| const std::vector< std::string > & | localUserNames, | ||
| MessageInfo & | tokenizedMessage | ||
| ) |
| bool ttv::chat::TokensEqual | ( | const std::unique_ptr< MessageToken > & | lhs, |
| const std::unique_ptr< MessageToken > & | rhs | ||
| ) |
| void ttv::chat::UnescapeEmoticonToken | ( | std::string & | token | ) |
| std::string ttv::chat::UnescapeMessageTag | ( | const std::string & | escapedMessageTag | ) |
Parses an IRC escaped string into a normal string, according to the IRC spec here: http://ircv3.net/specs/core/message-tags-3.2.html
1.8.13