-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from pilky/raid-cancel-events
Add support for raid_cancel_v2 event
- Loading branch information
Showing
4 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
|
||
namespace TwitchLib.PubSub.Events { | ||
/// <inheritdoc /> | ||
/// <summary> | ||
/// Object representing the arguments for a raid cancel event | ||
/// </summary> | ||
public class OnRaidCancelArgs: EventArgs { | ||
/// <summary> | ||
/// The channel ID the event came from | ||
/// </summary> | ||
public string ChannelId; | ||
/// <summary> | ||
/// Property representing the id of the raid event | ||
/// </summary> | ||
public Guid Id; | ||
/// <summary> | ||
/// Property representing the target channel id | ||
/// </summary> | ||
public string TargetChannelId; | ||
/// <summary> | ||
/// Property representing the target channel login | ||
/// </summary> | ||
public string TargetLogin; | ||
/// <summary> | ||
/// Property representing the target display name | ||
/// </summary> | ||
public string TargetDisplayName; | ||
/// <summary> | ||
/// Property representing the target profile image url | ||
/// </summary> | ||
public string TargetProfileImage; | ||
/// <summary> | ||
/// Property representing the count of people in the raid | ||
/// </summary> | ||
public int ViewerCount; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters