Some mods may be broken due to the recent Alloyed Collective update.
Decompiled source of Vagrant Hates Normies v1.3.0
VagrantHatesNormies.dll
Decompiled a year agousing System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using EntityStates.VagrantMonster; using On.RoR2; using R2API; using R2API.Utils; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("VagrantHatesNormies")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("VagrantHatesNormies")] [assembly: AssemblyTitle("VagrantHatesNormies")] [assembly: AssemblyVersion("1.0.0.0")] namespace VagrantHatesNormies; [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.Arbition.VagrantHatesNormies", "VagrantHatesNormies", "1.3.0")] public class VagrantHatesNormies : BaseUnityPlugin { public void Awake() { //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Expected O, but got Unknown using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("VagrantHatesNormies.REEE.bnk")) { if (stream != null) { byte[] array = new byte[stream.Length]; stream.Read(array, 0, array.Length); SoundBanks.Add(array); } else { Debug.LogError((object)"VagrantHatesNormies soundbank fetching failed"); Object.Destroy((Object)(object)this); } } Util.PlayAttackSpeedSound += new hook_PlayAttackSpeedSound(Util_PlayAttackSpeedSound); } private uint Util_PlayAttackSpeedSound(orig_PlayAttackSpeedSound orig, string soundString, GameObject gameObject, float playbackRate) { if (soundString == ChargeMegaNova.chargingSoundString) { return AkSoundEngine.PostEvent(2769586434u, gameObject); } return orig.Invoke(soundString, gameObject, playbackRate); } }