forked from TwitchLib/TwitchLib.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nullable anotation Part2 (+1 small "bux" fix) (TwitchLib#252)
* nullable anotation Part 2 (focused on `Twitch.LibClient`) * fix potential problem when connecting to a channel when `Capabilities.Tags`is set to `false` * fix `tmiSent`dafault value in `HandleClearMsg` --------- Co-authored-by: AoshiW <[email protected]>
- Loading branch information
Showing
49 changed files
with
857 additions
and
474 deletions.
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
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
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,32 @@ | ||
using TwitchLib.Client.Models; | ||
using TwitchLib.Client.Models.Internal; | ||
|
||
namespace TwitchLib.Client.Events; | ||
|
||
public class OnAnonGiftPaidUpgradeArgs : EventArgs | ||
{ | ||
/// <summary> | ||
/// The channel | ||
/// </summary> | ||
public string Channel { get; } | ||
|
||
/// <summary> | ||
/// The AnonGiftPaidUpgrade | ||
/// </summary> | ||
public AnonGiftPaidUpgrade AnonGiftPaidUpgrade { get; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="OnBitsBadgeTierArgs"/> class. | ||
/// </summary> | ||
public OnAnonGiftPaidUpgradeArgs(string channel, AnonGiftPaidUpgrade anonGiftPaidUpgrade) | ||
{ | ||
Channel = channel; | ||
AnonGiftPaidUpgrade = anonGiftPaidUpgrade; | ||
} | ||
|
||
internal OnAnonGiftPaidUpgradeArgs(IrcMessage ircMessage) | ||
{ | ||
Channel = ircMessage.Channel; | ||
AnonGiftPaidUpgrade = new(ircMessage); | ||
} | ||
} |
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,32 @@ | ||
using TwitchLib.Client.Models; | ||
using TwitchLib.Client.Models.Internal; | ||
|
||
namespace TwitchLib.Client.Events; | ||
|
||
public class OnBitsBadgeTierArgs : EventArgs | ||
{ | ||
/// <summary> | ||
/// The channel | ||
/// </summary> | ||
public string Channel { get; } | ||
|
||
/// <summary> | ||
/// The BitsBadgeTier | ||
/// </summary> | ||
public BitsBadgeTier BitsBadgeTier { get; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="OnBitsBadgeTierArgs"/> class. | ||
/// </summary> | ||
public OnBitsBadgeTierArgs(string channel, BitsBadgeTier bitsBadgeTier) | ||
{ | ||
Channel = channel; | ||
BitsBadgeTier = bitsBadgeTier; | ||
} | ||
|
||
internal OnBitsBadgeTierArgs(IrcMessage ircMessage) | ||
{ | ||
Channel = ircMessage.Channel; | ||
BitsBadgeTier = new(ircMessage); | ||
} | ||
} |
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
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,32 @@ | ||
using TwitchLib.Client.Models; | ||
using TwitchLib.Client.Models.Internal; | ||
|
||
namespace TwitchLib.Client.Events; | ||
|
||
public class OnCommunityPayForwardArgs : EventArgs | ||
{ | ||
/// <summary> | ||
/// The channel | ||
/// </summary> | ||
public string Channel { get; } | ||
|
||
/// <summary> | ||
/// The CommunityPayForward | ||
/// </summary> | ||
public CommunityPayForward CommunityPayForward { get; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="OnCommunityPayForwardArgs"/> class. | ||
/// </summary> | ||
public OnCommunityPayForwardArgs(string channel, CommunityPayForward communityPayForward) | ||
{ | ||
Channel = channel; | ||
CommunityPayForward = communityPayForward; | ||
} | ||
|
||
internal OnCommunityPayForwardArgs(IrcMessage ircMessage) | ||
{ | ||
Channel = ircMessage.Channel; | ||
CommunityPayForward = new(ircMessage); | ||
} | ||
} |
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
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
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
Oops, something went wrong.