using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using Jotunn.Utils; using Microsoft.CodeAnalysis; using ModdingUtils.Utils; using ToggleCardsCategories; using UnboundLib.Cards; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(/*Could not decode attribute arguments.*/)] [assembly: TargetFramework(".NETFramework,Version=v4.7.1", FrameworkDisplayName = ".NET Framework 4.7.1")] [assembly: AssemblyVersion("0.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(/*Could not decode attribute arguments.*/)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } public class CardHolder : MonoBehaviour { public List cards; public List hiddenCards; internal void RegisterCards() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) Enumerator enumerator = cards.GetEnumerator(); try { while (enumerator.MoveNext()) { CardInfo current = enumerator.Current; CustomCard.RegisterUnityCard(((Component)current).gameObject, Plugin.modInitials, current.cardName, true, (Action)null); } } finally { ((IDisposable)enumerator/*cast due to .constrained prefix*/).Dispose(); } Enumerator enumerator2 = hiddenCards.GetEnumerator(); try { while (enumerator2.MoveNext()) { CardInfo current2 = enumerator2.Current; CustomCard.RegisterUnityCard(((Component)current2).gameObject, Plugin.modInitials, current2.cardName, false, (Action)null); Cards.instance.AddHiddenCard(current2); } } finally { ((IDisposable)enumerator2/*cast due to .constrained prefix*/).Dispose(); } } } public class Roundabout : MonoBehaviour { private MoveTransform move; private float bull_timer; private Vector3 bullet_xspd; private bool going_right; private void Start() { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //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_0041: Unknown result type (might be due to invalid IL or missing references) move = ((Component)this).GetComponentInParent(); bull_timer = 0.3f; MoveTransform obj = move; bullet_xspd = (obj.velocity += Vector3.left * 1f); if (bullet_xspd.x < 0f) { going_right = true; } } private void FixedUpdate() { //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) bull_timer -= Time.deltaTime; if (going_right) { MoveTransform obj = move; obj.velocity += Vector3.left * bull_timer; } else { MoveTransform obj2 = move; obj2.velocity += Vector3.right * bull_timer; } } } public class EX : MonoBehaviour { private void Start() { } private void Update() { } } public class Parry : MonoBehaviour { private void Start() { } private void Update() { } } public class SpecialGun : MonoBehaviour { public List Cards; private void Start() { } private void Update() { } } public class SuperMeter : MonoBehaviour { private void Start() { } private void Update() { } } [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("brain.classes.mod", "Brain Classes", "1.0.10")] [BepInProcess("Rounds.exe")] public class Plugin : BaseUnityPlugin { internal static string modInitials = "BC"; internal static AssetBundle asset; private void Awake() { asset = AssetUtils.LoadAssetBundleFromResources("brainassets", typeof(Plugin).Assembly); ToggleCardsCategoriesManager.instance.RegisterCategories(modInitials); } private void Start() { asset.LoadAsset("ModCards").GetComponent().RegisterCards(); } }