Skip to content

Commit

Permalink
version bump to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftyspiffy committed Sep 25, 2021
1 parent fe378e9 commit d264b1f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions TwitchLib.Unity/PubSub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public class PubSub : TwitchPubSub, ITwitchPubSub
/// <summary>EventHandler for named event.</summary>
public new event EventHandler<OnRewardRedeemedArgs> OnRewardRedeemed;
/// <summary>EventHandler for named event.</summary>
public new event EventHandler<OnChannelPointsRewardRedeemedArgs> OnChannelPointsRewardRedeemed;
/// <summary>EventHandler for named event.</summary>
public new event EventHandler<OnBitsReceivedV2Args> OnBitsReceivedV2;
/// <summary>EventHandler for named event.</summary>
public new event EventHandler<OnLeaderboardEventArgs> OnLeaderboardSubs;
Expand All @@ -88,6 +90,10 @@ public class PubSub : TwitchPubSub, ITwitchPubSub
public new event EventHandler<OnCommercialArgs> OnCommercial;
/// <summary>EventHandler for named event</summary>
public new event EventHandler<OnPredictionArgs> OnPrediction;
/// <summary>EventHandler for named event</summary>
public new event EventHandler<OnAutomodCaughtMessageArgs> OnAutomodCaughtMessage;

public new event EventHandler<OnAutomodCaughtUserMessage> OnAutomodCaughtUserMessage;
#endregion

public PubSub(EndPoint proxy = null) : base(null)
Expand Down Expand Up @@ -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)); });
Expand All @@ -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)); });
}
}
}
14 changes: 7 additions & 7 deletions TwitchLib.Unity/TwitchLib.Unity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>TwitchLib.Unity</PackageId>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<Description>Unity wrapper system for TwitchLib</Description>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Authors>LuckyNoS7evin</Authors>
Expand All @@ -12,13 +12,13 @@
<PackageProjectUrl>https://github.com/TwitchLib/TwitchLib.Unity</PackageProjectUrl>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<Copyright>Copyright 2021</Copyright>
<PackageReleaseNotes>Major Update of TwitchLib.</PackageReleaseNotes>
<PackageReleaseNotes>Version bumps for Unity to match latest dev branch of TwitchLib.</PackageReleaseNotes>
<RepositoryUrl>https://github.com/TwitchLib/TwitchLib.Unity</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageTags>twitch library unity3d unity dotnet c# csharp net standard 2.0</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion>
<AssemblyVersion>1.0.4.0</AssemblyVersion>
<FileVersion>1.0.4.0</FileVersion>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

Expand Down Expand Up @@ -47,9 +47,9 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Serilog.Extensions.Logging" Version="3.0.1" />
<PackageReference Include="TwitchLib.Api" Version="3.2.4-preview-241647a94fd5b8363f7f41c35fa5fd33e760127b" />
<PackageReference Include="TwitchLib.Client" Version="3.2.3-preview-94b33cd801bf51e1d81b179ce10c7d896072b4c3" />
<PackageReference Include="TwitchLib.PubSub" Version="3.2.3-preview-5500be4a524d8812e7bd37de4288610422b41fe6" />
<PackageReference Include="TwitchLib.Api" Version="3.2.5-preview-9a3c9a73b72f479e1c27fec4e1c7ec77dd69f125" />
<PackageReference Include="TwitchLib.Client" Version="3.2.3" />
<PackageReference Include="TwitchLib.PubSub" Version="3.2.3" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit d264b1f

Please sign in to comment.