using System;
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.Configuration;
using Microsoft.CodeAnalysis;
using On.RoR2;
using RiskOfOptions;
using RiskOfOptions.OptionConfigs;
using RiskOfOptions.Options;
using RoR2;
[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("NemesisPillars")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+fd617d07137dcfefce34516689971198213aa4db")]
[assembly: AssemblyProduct("NemesisPillars")]
[assembly: AssemblyTitle("NemesisPillars")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
internal sealed class RefSafetyRulesAttribute : Attribute
{
public readonly int Version;
public RefSafetyRulesAttribute(int P_0)
{
Version = P_0;
}
}
}
namespace NemesisPillars
{
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInPlugin("icebro.nemesispillars", "nemesispillars", "1.0.0")]
public class NemesisPillars : BaseUnityPlugin
{
public const string PluginGUID = "icebro.nemesispillars";
public const string PluginAuthor = "icebro";
public const string PluginName = "nemesispillars";
public const string PluginVersion = "1.0.0";
public void Awake()
{
//IL_002c: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Expected O, but got Unknown
//IL_005b: Unknown result type (might be due to invalid IL or missing references)
//IL_0065: Expected O, but got Unknown
//IL_006d: Unknown result type (might be due to invalid IL or missing references)
//IL_0077: Expected O, but got Unknown
ConfigEntry<float> pillarConfig = ((BaseUnityPlugin)this).Config.Bind<float>("pillars", "pillars", 2f, "how many pillars required ,, note setting it manually to values outside the slider might softlock you if you cant pillar skip ,,..,,.,");
SliderConfig val = new SliderConfig();
val.max = 6f;
val.min = 1f;
val.FormatString = "{0:0}";
ModSettingsManager.AddOption((BaseOption)new SliderOption(pillarConfig, val));
MoonBatteryMissionController.Awake += (hook_Awake)delegate(orig_Awake orig, MoonBatteryMissionController self)
{
orig.Invoke(self);
self._numRequiredBatteries = (int)pillarConfig.Value;
};
}
}
}