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 Microsoft.CodeAnalysis;
using On.RoR2.UI;
using RoR2.UI;
using TMPro;
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.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("PoorlySquaredBalance")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("PoorlySquaredBalance")]
[assembly: AssemblyTitle("PoorlySquaredBalance")]
[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 PoorlySquaredBalance
{
[BepInPlugin("WDESI.PoorlySquaredBalance", "PoorlySquaredBalance", "1.0.0")]
public class Main : BaseUnityPlugin
{
[Serializable]
[CompilerGenerated]
private sealed class <>c
{
public static readonly <>c <>9 = new <>c();
public static hook_Start <>9__4_0;
internal void <Awake>b__4_0(orig_Start orig, SteamBuildIdLabel self)
{
orig.Invoke(self);
TextMeshProUGUI component = ((Component)self).GetComponent<TextMeshProUGUI>();
((TMP_Text)component).text = ((TMP_Text)component).text + " | <style=cWorldEvent>PoorlySquaredBalance ver. 1.0.0</style>";
}
}
public const string PluginGUID = "WDESI.PoorlySquaredBalance";
public const string PluginAuthor = "WDESI";
public const string PluginName = "PoorlySquaredBalance";
public const string PluginVersion = "1.0.0";
public void Awake()
{
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
//IL_001a: Unknown result type (might be due to invalid IL or missing references)
//IL_0020: Expected O, but got Unknown
object obj = <>c.<>9__4_0;
if (obj == null)
{
hook_Start val = delegate(orig_Start orig, SteamBuildIdLabel self)
{
orig.Invoke(self);
TextMeshProUGUI component = ((Component)self).GetComponent<TextMeshProUGUI>();
((TMP_Text)component).text = ((TMP_Text)component).text + " | <style=cWorldEvent>PoorlySquaredBalance ver. 1.0.0</style>";
};
<>c.<>9__4_0 = val;
obj = (object)val;
}
SteamBuildIdLabel.Start += (hook_Start)obj;
}
}
}