using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using BepInEx.Unity.IL2CPP;
using GTFO.API;
using GameData;
using Microsoft.CodeAnalysis;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyCompany("MakeSniperGreatAgain")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("MakeSniperGreatAgain")]
[assembly: AssemblyTitle("MakeSniperGreatAgain")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
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;
}
}
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
internal sealed class NullableContextAttribute : Attribute
{
public readonly byte Flag;
public NullableContextAttribute(byte P_0)
{
Flag = P_0;
}
}
}
namespace MakeSniperGreatAgain
{
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInPlugin("MakeSniperGreatAgain", "MakeSniperGreatAgain", "0.0.2")]
public class Plugin : BasePlugin
{
public class MakeSniperGreatAgain : MonoBehaviour
{
public static ManualLogSource? Log;
public static void Initialize()
{
ArchetypeDataBlock block = GameDataBlockBase<ArchetypeDataBlock>.GetBlock(29u);
block.DefaultClipSize = 3;
block.CostOfBullet = 23f;
block.ShotDelay = 0.5f;
block.HipFireSpread = 3f;
RecoilDataBlock block2 = GameDataBlockBase<RecoilDataBlock>.GetBlock(9u);
block2.dampening = 20f;
block2.hipFireCrosshairSizeDefault = 100f;
block2.hipFireCrosshairRecoilPop = 180f;
block2.hipFireCrosshairSizeMax = 180f;
block2.horizontalScale.Min = 0.13f;
block2.horizontalScale.Max = 0.23f;
block2.verticalScale.Min = 0.7f;
block2.verticalScale.Max = 0.8f;
Log.LogInfo((object)"sniper has been made great again");
}
}
public override void Load()
{
((BasePlugin)this).AddComponent<MakeSniperGreatAgain>();
MakeSniperGreatAgain.Log = ((BasePlugin)this).Log;
EventAPI.OnAssetsLoaded += MakeSniperGreatAgain.Initialize;
}
}
[GeneratedCode("VersionInfoGenerator", "2.0.0+git50a4b1a-master")]
[CompilerGenerated]
internal static class VersionInfo
{
public const string RootNamespace = "MakeSniperGreatAgain";
public const string Version = "1.0.0";
public const string VersionPrerelease = null;
public const string VersionMetadata = null;
public const string SemVer = "1.0.0";
public const string GitRevShort = null;
public const string GitRevLong = null;
public const string GitBranch = null;
public const string GitTag = null;
public const bool GitIsDirty = false;
}
}