Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Unity-Twitch-Chat/Assets/Package/Runtime/IRCMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class IRCTags
public string displayName = string.Empty;
public string channelId = string.Empty;
public string userId = string.Empty;
public bool isHighlighted;

public ChatterBadge[] badges = new ChatterBadge[0];
public ChatterEmote[] emotes = new ChatterEmote[0];
Expand Down
4 changes: 4 additions & 0 deletions Unity-Twitch-Chat/Assets/Package/Runtime/ParseHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ public static IRCTags ParseTags(string tagString)
case "user-id":
tags.userId = value;
continue;

case "msg-id":
tags.isHighlighted = value == "highlighted-message";
continue;
}
}

Expand Down