Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of MonesApi v1.0.0
ChaseModdifiedScreen.dll
Decompiled a week agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using Microsoft.CodeAnalysis; 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("ChaseModdifiedScreen")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("ChaseModdifiedScreen")] [assembly: AssemblyTitle("ChaseModdifiedScreen")] [assembly: AssemblyVersion("1.0.0.0")] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)] internal sealed class NullableAttribute : Attribute { public readonly byte[] NullableFlags; public NullableAttribute(byte P_0) { NullableFlags = new byte[1] { P_0 }; } public NullableAttribute(byte[] P_0) { NullableFlags = P_0; } } } [BepInPlugin("Mones.chasemoddifiedscreen", "chasemoddifiedscren", "1.0.0")] public class plugin : BaseUnityPlugin { private void Awake() { ((BaseUnityPlugin)this).Logger.LogInfo((object)"Loaded"); } } public class screenmoddified : MonoBehaviour { public Transform obj; public void ShakeScreen() { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) if (Vector3.Distance(((Component)StartOfRound.Instance.localPlayerController).transform.position, ((Component)obj).transform.position) < 30f) { HUDManager.Instance.ShakeCamera((ScreenShakeType)1); } } } public class chasemodifi : MonoBehaviour { public bool chase = false; public void ToggleChase() { if (chase) { HUDManager.Instance.HideHUD(false); } chase = !chase; } private void Update() { if (chase) { HUDManager.Instance.HideHUD(true); StartOfRound.Instance.localPlayerController.sprintMeter = 1f; } } }
EyesScripts.dll
Decompiled a week agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using GameNetcodeStuff; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(/*Could not decode attribute arguments.*/)] [assembly: TargetFramework(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")] [assembly: AssemblyCompany("EyesScripts")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("EyesScripts")] [assembly: AssemblyTitle("EyesScripts")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace HotelScripts; public class EyeContactHitter : MonoBehaviour { public Transform obj; public AudioSource hitSoundEffect; public int damage = 10; public float damageInterval = 0.5f; public bool giveFearLevel = true; public float viewAngle = 45f; public int maxRange = 30; private float nextHit; private void Update() { //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) PlayerControllerB localPlayerController = GameNetworkManager.Instance.localPlayerController; if (!((Object)(object)localPlayerController == (Object)null) && !localPlayerController.isPlayerDead && !((Object)(object)obj == (Object)null) && !(Time.realtimeSinceStartup < nextHit) && localPlayerController.HasLineOfSightToPosition(obj.position, viewAngle, maxRange, -1f, -1)) { nextHit = Time.realtimeSinceStartup + damageInterval; localPlayerController.DamagePlayer(damage, true, true, (CauseOfDeath)0, 0, false, default(Vector3)); if ((Object)(object)hitSoundEffect != (Object)null && !hitSoundEffect.isPlaying) { hitSoundEffect.Play(); } if (giveFearLevel) { localPlayerController.JumpToFearLevel(1f, true); } } } } public class SlowTrigger : MonoBehaviour { public float slowMultiplier = 2f; private Collider collider; private bool isPlayerInside = false; private void Start() { collider = ((Component)this).GetComponent<Collider>(); } private void Update() { //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)collider == (Object)null) { return; } PlayerControllerB val = GameNetworkManager.Instance?.localPlayerController; if (!((Object)(object)val == (Object)null)) { Bounds bounds = collider.bounds; bool flag = ((Bounds)(ref bounds)).Contains(((Component)val).transform.position); if (flag && !isPlayerInside) { isPlayerInside = true; ApplySlow(val); } else if (!flag && isPlayerInside) { isPlayerInside = false; RemoveSlow(val); } } } private void ApplySlow(PlayerControllerB player) { player.isMovementHindered++; player.hinderedMultiplier *= slowMultiplier; } private void RemoveSlow(PlayerControllerB player) { player.isMovementHindered = Mathf.Max(0, player.isMovementHindered - 1); player.hinderedMultiplier /= slowMultiplier; } private void OnDisable() { if (isPlayerInside) { isPlayerInside = false; PlayerControllerB val = GameNetworkManager.Instance?.localPlayerController; if (!((Object)(object)val == (Object)null)) { RemoveSlow(val); } } } }