Decompiled source of OPSniper v1.0.0

OPSniper.dll

Decompiled a week ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Unity.IL2CPP;
using GTFO.API;
using GameData;
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(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
[assembly: AssemblyCompany("ForKaka")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("ForKaka")]
[assembly: AssemblyTitle("ForKaka")]
[assembly: AssemblyVersion("1.0.0.0")]
internal class forkaka : MonoBehaviour
{
	public static void Initialize()
	{
		ArchetypeDataBlock block = GameDataBlockBase<ArchetypeDataBlock>.GetBlock(29u);
		block.DefaultReloadTime = 2f;
		block.EquipTransitionTime = 0.1f;
		block.AimTransitionTime = 0.1f;
		block.Damage = 99999f;
		block.CostOfBullet = 1f;
		block.DefaultClipSize = 50;
	}
}
namespace ForKaka;

[BepInPlugin("ForKaka", "ForKaka", "1.0.0")]
internal class Loader : BasePlugin
{
	public override void Load()
	{
		((BasePlugin)this).AddComponent<forkaka>();
		EventAPI.OnAssetsLoaded += forkaka.Initialize;
	}
}