Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Source dump v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cybershard committed Jul 25, 2021
1 parent 231ae9e commit c660175
Show file tree
Hide file tree
Showing 77 changed files with 704 additions and 1,274 deletions.
26 changes: 26 additions & 0 deletions source/DirtyPatches.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System;
using HarmonyLib;
using Hazel.Udp;
using Reactor;

namespace TownOfUs
{
public static class DirtyPatches
{
public static void Initialize(Harmony harmony)
{
try
{
harmony.Unpatch(
AccessTools.Method(typeof(UdpConnection), nameof(UdpConnection.HandleSend)),
HarmonyPatchType.Prefix,
ReactorPlugin.Id
);
}
catch (Exception e)
{
Logger<TownOfUs>.Instance.LogError($"Exception unpatching Reactor's UdpConnection.HandleSend Prefix: {e.Message}, Stack: {e.StackTrace}");
}
}
}
}
360 changes: 0 additions & 360 deletions source/Extensions/Coroutines.cs

This file was deleted.

118 changes: 0 additions & 118 deletions source/Extensions/Extensions.cs

This file was deleted.

50 changes: 0 additions & 50 deletions source/Extensions/ExtraMessageExtensions.cs

This file was deleted.

144 changes: 0 additions & 144 deletions source/Extensions/GUIExtensions.cs

This file was deleted.

Loading

0 comments on commit c660175

Please sign in to comment.