diff --git a/TwitchLib.Unity/PubSub.cs b/TwitchLib.Unity/PubSub.cs
index b2638a9..fd16afd 100644
--- a/TwitchLib.Unity/PubSub.cs
+++ b/TwitchLib.Unity/PubSub.cs
@@ -69,6 +69,8 @@ public class PubSub : TwitchPubSub, ITwitchPubSub
/// EventHandler for named event.
public new event EventHandler OnRewardRedeemed;
/// EventHandler for named event.
+ public new event EventHandler OnChannelPointsRewardRedeemed;
+ /// EventHandler for named event.
public new event EventHandler OnBitsReceivedV2;
/// EventHandler for named event.
public new event EventHandler OnLeaderboardSubs;
@@ -88,6 +90,10 @@ public class PubSub : TwitchPubSub, ITwitchPubSub
public new event EventHandler OnCommercial;
/// EventHandler for named event
public new event EventHandler OnPrediction;
+ /// EventHandler for named event
+ public new event EventHandler OnAutomodCaughtMessage;
+
+ public new event EventHandler OnAutomodCaughtUserMessage;
#endregion
public PubSub(EndPoint proxy = null) : base(null)
@@ -123,6 +129,7 @@ public PubSub(EndPoint proxy = null) : base(null)
base.OnCustomRewardUpdated += ((object sender, OnCustomRewardUpdatedArgs e) => { ThreadDispatcher.Enqueue(() => OnCustomRewardUpdated?.Invoke(sender, e)); });
base.OnCustomRewardDeleted += ((object sender, OnCustomRewardDeletedArgs e) => { ThreadDispatcher.Enqueue(() => OnCustomRewardDeleted?.Invoke(sender, e)); });
base.OnRewardRedeemed += ((object sender, OnRewardRedeemedArgs e) => { ThreadDispatcher.Enqueue(() => OnRewardRedeemed?.Invoke(sender, e)); });
+ base.OnChannelPointsRewardRedeemed += (object sender, OnChannelPointsRewardRedeemedArgs e) => { ThreadDispatcher.Enqueue(() => OnChannelPointsRewardRedeemed?.Invoke(sender, e)); };
base.OnBitsReceivedV2 += ((object sender, OnBitsReceivedV2Args e) => { ThreadDispatcher.Enqueue(() => OnBitsReceivedV2?.Invoke(sender, e)); });
base.OnLeaderboardSubs += ((object sender, OnLeaderboardEventArgs e) => { ThreadDispatcher.Enqueue(() => OnLeaderboardSubs?.Invoke(sender, e)); });
base.OnLeaderboardBits += ((object sender, OnLeaderboardEventArgs e) => { ThreadDispatcher.Enqueue(() => OnLeaderboardBits?.Invoke(sender, e)); });
@@ -133,6 +140,8 @@ public PubSub(EndPoint proxy = null) : base(null)
base.OnLog += ((object sender, OnLogArgs e) => { ThreadDispatcher.Enqueue(() => OnLog?.Invoke(sender, e)); });
base.OnCommercial += ((object sender, OnCommercialArgs e) => { ThreadDispatcher.Enqueue(() => OnCommercial?.Invoke(sender, e)); });
base.OnPrediction += ((object sender, OnPredictionArgs e) => { ThreadDispatcher.Enqueue(() => OnPrediction?.Invoke(sender, e)); });
+ base.OnAutomodCaughtMessage += ((object sender, OnAutomodCaughtMessageArgs e) => { ThreadDispatcher.Enqueue(() => OnAutomodCaughtMessage?.Invoke(sender, e)); });
+ base.OnAutomodCaughtUserMessage += ((object sender, OnAutomodCaughtUserMessage e) => { ThreadDispatcher.Enqueue(() => OnAutomodCaughtUserMessage?.Invoke(sender, e)); });
}
}
}
diff --git a/TwitchLib.Unity/TwitchLib.Unity.csproj b/TwitchLib.Unity/TwitchLib.Unity.csproj
index 15f5e36..9c341f7 100644
--- a/TwitchLib.Unity/TwitchLib.Unity.csproj
+++ b/TwitchLib.Unity/TwitchLib.Unity.csproj
@@ -3,7 +3,7 @@
netstandard2.0
TwitchLib.Unity
- 1.0.3
+ 1.0.4
Unity wrapper system for TwitchLib
false
LuckyNoS7evin
@@ -12,13 +12,13 @@
https://github.com/TwitchLib/TwitchLib.Unity
https://opensource.org/licenses/MIT
Copyright 2021
- Major Update of TwitchLib.
+ Version bumps for Unity to match latest dev branch of TwitchLib.
https://github.com/TwitchLib/TwitchLib.Unity
Git
twitch library unity3d unity dotnet c# csharp net standard 2.0
en-US
- 1.0.3.0
- 1.0.2.0
+ 1.0.4.0
+ 1.0.4.0
true
@@ -47,9 +47,9 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+