Decompiled source of AlwaysNormalTTS v1.0.0

DeadTTSNormal.dll

Decompiled a month ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyCompany("DeadTTSNormal")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("DeadTTSNormal")]
[assembly: AssemblyTitle("DeadTTSNormal")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace DeadTTSNormal;

[BepInPlugin("Ginja.DeadTTS", "Normal TTS When Dead", "1.0.0")]
public class DeadTTS : BaseUnityPlugin
{
	private void Awake()
	{
		//IL_0006: Unknown result type (might be due to invalid IL or missing references)
		//IL_000c: Expected O, but got Unknown
		Harmony val = new Harmony("Ginja.DeadTTS");
		val.PatchAll();
	}
}
[HarmonyPatch(typeof(TTSVoice), "StartSpeakingWithHighlight")]
public class TTSVoicePatch
{
	private static void Prefix(ref bool crouch)
	{
		crouch = false;
	}
}