Some mods may be broken due to the recent Alloyed Collective update.
Decompiled source of Darius v1.0.1
Darius.dll
Decompiled 11 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using EntityStates; using EntityStates.Commando; using EntityStates.Merc; using EntityStates.Merc.Weapon; using KinematicCharacterController; using On.RoR2; using R2API; using R2API.Utils; using RoR2; using RoR2.Skills; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.Networking; using UnityEngine.Rendering; [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 = "")] [assembly: AssemblyCompany("Dragonyck")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("Darius")] [assembly: AssemblyTitle("Darius")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace Darius; internal class Assets { public static AssetBundle MainAssetBundle; public static void PopulateAssets() { if ((Object)(object)MainAssetBundle == (Object)null) { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Darius.AssetBundle.dariusassets"); MainAssetBundle = AssetBundle.LoadFromStream(stream); } using Stream stream2 = Assembly.GetExecutingAssembly().GetManifestResourceStream("Darius.Darius.bnk"); byte[] array = new byte[stream2.Length]; stream2.Read(array, 0, array.Length); SoundBanks.Add(array); } } internal class DariusBuffBehaviour : MonoBehaviour { public int skinIndex; private static GameObject buffFXInstance; private static CharacterBody body; private void OnEnable() { body = ((Component)this).GetComponent<CharacterBody>(); } private void FixedUpdate() { //IL_0093: Unknown result type (might be due to invalid IL or missing references) GameObject val = null; if (!Object.op_Implicit((Object)(object)body)) { return; } if (body.HasBuff(Prefabs.execute)) { if (!Object.op_Implicit((Object)(object)buffFXInstance)) { switch (skinIndex) { case 0: val = Prefabs.buffFX; break; case 1: val = Prefabs.buffFXSkin; break; } buffFXInstance = Object.Instantiate<GameObject>(val, ((Component)this).gameObject.transform); buffFXInstance.transform.localPosition = new Vector3(0f, -0.8f, 0f); } } else if (Object.op_Implicit((Object)(object)buffFXInstance)) { Object.Destroy((Object)(object)buffFXInstance); } } } internal class PullBehaviour : MonoBehaviour { private CharacterMotor motor; private RigidbodyMotor rigidMotor; private static Vector3 targetPosition = Vector3.zero; public void SetPos(Vector3 pos) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0002: Unknown result type (might be due to invalid IL or missing references) targetPosition = pos; } private void OnEnable() { motor = ((Component)this).GetComponent<CharacterMotor>(); rigidMotor = ((Component)this).GetComponent<RigidbodyMotor>(); } private void Update() { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: 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) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_011f: Unknown result type (might be due to invalid IL or missing references) //IL_0123: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0148: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Unknown result type (might be due to invalid IL or missing references) //IL_0156: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)motor) && targetPosition != Vector3.zero) { float num = Vector3.Distance(((Component)this).transform.position, targetPosition); if (num >= 5f) { Vector3 val = ((Component)this).transform.position - targetPosition; Vector3 val2 = ((Vector3)(ref val)).normalized * ((Vector3)(ref val)).magnitude * 5f * Time.deltaTime; CharacterMotor obj = motor; obj.rootMotion += -val2; } else { Object.Destroy((Object)(object)this); } } if (Object.op_Implicit((Object)(object)rigidMotor) && targetPosition != Vector3.zero) { float num2 = Vector3.Distance(((Component)this).transform.position, targetPosition); if (num2 >= 5f) { Vector3 val3 = ((Component)this).transform.position - targetPosition; Vector3 val4 = ((Vector3)(ref val3)).normalized * ((Vector3)(ref val3)).magnitude * 5f * Time.deltaTime; RigidbodyMotor obj2 = rigidMotor; obj2.rootMotion += -val4; } else { Object.Destroy((Object)(object)this); } } } } internal class Hook { internal static void Hooks() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Expected O, but got Unknown //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Expected O, but got Unknown RecalculateStatsAPI.GetStatCoefficients += new StatHookEventHandler(RecalculateStatsAPI_GetStatCoefficients); HealthComponent.TakeDamage += new hook_TakeDamage(HealthComponent_TakeDamage); GlobalEventManager.onCharacterDeathGlobal += GlobalEventManager_onCharacterDeathGlobal; } private static void GlobalEventManager_onCharacterDeathGlobal(DamageReport damageReport) { //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Expected O, but got Unknown //IL_00eb: Unknown result type (might be due to invalid IL or missing references) //IL_00f0: Unknown result type (might be due to invalid IL or missing references) //IL_0106: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0126: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)damageReport.attackerBody) || !Object.op_Implicit((Object)(object)damageReport.attackerBody.teamComponent) || !Object.op_Implicit((Object)(object)damageReport.victimBody) || !((Object)damageReport.attackerBody).name.Contains("DariusBody") || !damageReport.victimBody.HasBuff(Prefabs.executeMark)) { return; } AkSoundEngine.PostEvent(Sounds.Play_Darius_R_EXECUTE, ((Component)damageReport.attackerBody).gameObject); if (Object.op_Implicit((Object)(object)damageReport.attackerBody.skillLocator) && Object.op_Implicit((Object)(object)damageReport.attackerBody.skillLocator.special)) { damageReport.attackerBody.skillLocator.special.Reset(); } if (!NetworkServer.active) { return; } damageReport.attackerBody.AddTimedBuff(Prefabs.execute, 5f); SphereSearch val = new SphereSearch(); val.origin = damageReport.victimBody.corePosition; val.radius = 15f; val.mask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask; HurtBox[] hurtBoxes = val.RefreshCandidates().FilterCandidatesByHurtBoxTeam(TeamMask.GetEnemyTeams(damageReport.attackerBody.teamComponent.teamIndex)).OrderCandidatesByDistance() .FilterCandidatesByDistinctHurtBoxEntities() .GetHurtBoxes(); for (int i = 0; i < hurtBoxes.Length; i++) { if (Object.op_Implicit((Object)(object)hurtBoxes[i]) && Object.op_Implicit((Object)(object)hurtBoxes[i].healthComponent) && Object.op_Implicit((Object)(object)hurtBoxes[i].healthComponent.body)) { SetStateOnHurt.SetStunOnObject(((Component)hurtBoxes[i].healthComponent).gameObject, 3f); if (NetworkServer.active) { hurtBoxes[i].healthComponent.body.AddTimedBuff(Buffs.Slow80, 10f); } } } } private static void HealthComponent_TakeDamage(orig_TakeDamage orig, HealthComponent self, DamageInfo damageInfo) { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0055: 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_006e: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010b: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011b: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_0128: Unknown result type (might be due to invalid IL or missing references) //IL_012d: Unknown result type (might be due to invalid IL or missing references) //IL_0134: Unknown result type (might be due to invalid IL or missing references) //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0147: Expected O, but got Unknown if (Object.op_Implicit((Object)(object)self.body) && Object.op_Implicit((Object)(object)damageInfo.attacker) && ((Object)damageInfo.attacker).name.Contains("DariusBody") && (int)DamageTypeCombo.op_Implicit(damageInfo.damageType & DamageTypeCombo.op_Implicit((DamageType)64)) != 0 && DamageTypeCombo.op_Implicit(damageInfo.damageType) != DamageTypeCombo.op_Implicit(DamageTypeCombo.op_Implicit((DamageType)262210) | DamageTypeCombo.GenericSpecial)) { float num = damageInfo.damage / 6f; int num2 = Mathf.Clamp(self.body.GetBuffCount(Buffs.Bleeding), 0, 5); if (NetworkServer.active) { self.body.AddTimedBuff(Prefabs.executeMark, 0.2f); DamageInfo val = new DamageInfo { attacker = damageInfo.attacker, inflictor = damageInfo.attacker, damage = num * (float)num2, procCoefficient = 0f, crit = false, damageType = (DamageTypeCombo.op_Implicit((DamageType)262210) | DamageTypeCombo.GenericSpecial), damageColorIndex = (DamageColorIndex)12, position = self.body.corePosition, rejected = false }; self.TakeDamage(val); } } orig.Invoke(self, damageInfo); } internal static void RecalculateStatsAPI_GetStatCoefficients(CharacterBody sender, StatHookEventArgs args) { if (sender.HasBuff(Prefabs.execute)) { args.damageMultAdd += 0.5f; args.moveSpeedMultAdd += 0.5f; } } } [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.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.Dragonyck.Darius", "Darius", "1.0.1")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] public class MainPlugin : BaseUnityPlugin { public const string MODUID = "com.Dragonyck.Darius"; public const string MODNAME = "Darius"; public const string VERSION = "1.0.1"; public const string SURVIVORNAME = "Darius"; public const string SURVIVORNAMEKEY = "DARIUS"; public static GameObject characterPrefab; public GameObject characterDisplay; public GameObject doppelganger; private static readonly Color characterColor = new Color(0.27843f, 0.03137f, 0.08235f); private void Awake() { Assets.PopulateAssets(); Prefabs.CreatePrefabs(); CreatePrefab(); RegisterStates(); RegisterCharacter(); CreateDoppelganger(); Hook.Hooks(); } private static GameObject CreateModel(GameObject main) { Object.Destroy((Object)(object)((Component)main.transform.Find("ModelBase")).gameObject); Object.Destroy((Object)(object)((Component)main.transform.Find("CameraPivot")).gameObject); Object.Destroy((Object)(object)((Component)main.transform.Find("AimOrigin")).gameObject); return Assets.MainAssetBundle.LoadAsset<GameObject>("darius"); } internal static void CreatePrefab() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Expected O, but got Unknown //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_01da: Unknown result type (might be due to invalid IL or missing references) //IL_030b: Unknown result type (might be due to invalid IL or missing references) //IL_0345: Unknown result type (might be due to invalid IL or missing references) //IL_034a: Unknown result type (might be due to invalid IL or missing references) //IL_03ae: Unknown result type (might be due to invalid IL or missing references) //IL_03b3: Unknown result type (might be due to invalid IL or missing references) //IL_03e9: Unknown result type (might be due to invalid IL or missing references) //IL_03ee: Unknown result type (might be due to invalid IL or missing references) //IL_0473: Unknown result type (might be due to invalid IL or missing references) //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_04be: Unknown result type (might be due to invalid IL or missing references) //IL_04c0: Unknown result type (might be due to invalid IL or missing references) //IL_04c9: Unknown result type (might be due to invalid IL or missing references) //IL_0507: Unknown result type (might be due to invalid IL or missing references) //IL_0514: Unknown result type (might be due to invalid IL or missing references) //IL_0516: Unknown result type (might be due to invalid IL or missing references) //IL_051f: Unknown result type (might be due to invalid IL or missing references) //IL_055d: Unknown result type (might be due to invalid IL or missing references) //IL_056a: Unknown result type (might be due to invalid IL or missing references) //IL_056c: Unknown result type (might be due to invalid IL or missing references) //IL_0575: Unknown result type (might be due to invalid IL or missing references) //IL_05b3: Unknown result type (might be due to invalid IL or missing references) //IL_05c0: Unknown result type (might be due to invalid IL or missing references) //IL_05c2: Unknown result type (might be due to invalid IL or missing references) //IL_05cb: Unknown result type (might be due to invalid IL or missing references) //IL_0609: Unknown result type (might be due to invalid IL or missing references) //IL_0616: Unknown result type (might be due to invalid IL or missing references) //IL_0618: Unknown result type (might be due to invalid IL or missing references) //IL_0621: Unknown result type (might be due to invalid IL or missing references) //IL_065f: Unknown result type (might be due to invalid IL or missing references) //IL_066c: Unknown result type (might be due to invalid IL or missing references) //IL_066e: Unknown result type (might be due to invalid IL or missing references) //IL_0677: Unknown result type (might be due to invalid IL or missing references) //IL_06b5: Unknown result type (might be due to invalid IL or missing references) //IL_06c2: Unknown result type (might be due to invalid IL or missing references) //IL_06c4: Unknown result type (might be due to invalid IL or missing references) //IL_06cd: Unknown result type (might be due to invalid IL or missing references) //IL_070b: Unknown result type (might be due to invalid IL or missing references) //IL_0718: Unknown result type (might be due to invalid IL or missing references) //IL_071a: Unknown result type (might be due to invalid IL or missing references) //IL_0723: Unknown result type (might be due to invalid IL or missing references) //IL_0761: Unknown result type (might be due to invalid IL or missing references) //IL_076e: Unknown result type (might be due to invalid IL or missing references) //IL_0770: Unknown result type (might be due to invalid IL or missing references) //IL_077a: Unknown result type (might be due to invalid IL or missing references) //IL_07b8: Unknown result type (might be due to invalid IL or missing references) //IL_07c5: Unknown result type (might be due to invalid IL or missing references) //IL_07c7: Unknown result type (might be due to invalid IL or missing references) //IL_07d1: Unknown result type (might be due to invalid IL or missing references) //IL_080f: Unknown result type (might be due to invalid IL or missing references) //IL_081c: Unknown result type (might be due to invalid IL or missing references) //IL_081e: Unknown result type (might be due to invalid IL or missing references) //IL_0828: Unknown result type (might be due to invalid IL or missing references) //IL_0866: Unknown result type (might be due to invalid IL or missing references) //IL_0873: Unknown result type (might be due to invalid IL or missing references) //IL_0875: Unknown result type (might be due to invalid IL or missing references) //IL_09e1: Unknown result type (might be due to invalid IL or missing references) //IL_09e6: Unknown result type (might be due to invalid IL or missing references) //IL_0a0c: Unknown result type (might be due to invalid IL or missing references) //IL_0a45: Unknown result type (might be due to invalid IL or missing references) //IL_0a6b: Unknown result type (might be due to invalid IL or missing references) //IL_0a6d: Unknown result type (might be due to invalid IL or missing references) //IL_0a76: Unknown result type (might be due to invalid IL or missing references) //IL_0a9c: Unknown result type (might be due to invalid IL or missing references) //IL_0a9e: Unknown result type (might be due to invalid IL or missing references) //IL_0aa7: Unknown result type (might be due to invalid IL or missing references) //IL_0acd: Unknown result type (might be due to invalid IL or missing references) //IL_0acf: Unknown result type (might be due to invalid IL or missing references) //IL_0ad8: Unknown result type (might be due to invalid IL or missing references) //IL_0afe: Unknown result type (might be due to invalid IL or missing references) //IL_0b00: Unknown result type (might be due to invalid IL or missing references) //IL_0b09: Unknown result type (might be due to invalid IL or missing references) //IL_0b2f: Unknown result type (might be due to invalid IL or missing references) //IL_0b31: Unknown result type (might be due to invalid IL or missing references) //IL_0b3a: Unknown result type (might be due to invalid IL or missing references) //IL_0b60: Unknown result type (might be due to invalid IL or missing references) //IL_0b62: Unknown result type (might be due to invalid IL or missing references) //IL_0b6b: Unknown result type (might be due to invalid IL or missing references) //IL_0b91: Unknown result type (might be due to invalid IL or missing references) //IL_0b93: Unknown result type (might be due to invalid IL or missing references) //IL_0b9c: Unknown result type (might be due to invalid IL or missing references) //IL_0bc2: Unknown result type (might be due to invalid IL or missing references) //IL_0bc4: Unknown result type (might be due to invalid IL or missing references) //IL_0bcd: Unknown result type (might be due to invalid IL or missing references) //IL_0bf3: Unknown result type (might be due to invalid IL or missing references) //IL_0bf5: Unknown result type (might be due to invalid IL or missing references) //IL_0bff: Unknown result type (might be due to invalid IL or missing references) //IL_0c25: Unknown result type (might be due to invalid IL or missing references) //IL_0c27: Unknown result type (might be due to invalid IL or missing references) //IL_0c31: Unknown result type (might be due to invalid IL or missing references) //IL_0c57: Unknown result type (might be due to invalid IL or missing references) //IL_0c59: Unknown result type (might be due to invalid IL or missing references) //IL_0c63: Unknown result type (might be due to invalid IL or missing references) //IL_0c89: Unknown result type (might be due to invalid IL or missing references) //IL_0c8b: Unknown result type (might be due to invalid IL or missing references) //IL_0cef: Unknown result type (might be due to invalid IL or missing references) //IL_0cfa: Unknown result type (might be due to invalid IL or missing references) //IL_0d33: Unknown result type (might be due to invalid IL or missing references) //IL_0d59: Unknown result type (might be due to invalid IL or missing references) //IL_0d5b: Unknown result type (might be due to invalid IL or missing references) //IL_0d64: Unknown result type (might be due to invalid IL or missing references) //IL_0d8a: Unknown result type (might be due to invalid IL or missing references) //IL_0d8c: Unknown result type (might be due to invalid IL or missing references) //IL_0d95: Unknown result type (might be due to invalid IL or missing references) //IL_0dbb: Unknown result type (might be due to invalid IL or missing references) //IL_0dbd: Unknown result type (might be due to invalid IL or missing references) //IL_0dc6: Unknown result type (might be due to invalid IL or missing references) //IL_0dec: Unknown result type (might be due to invalid IL or missing references) //IL_0dee: Unknown result type (might be due to invalid IL or missing references) //IL_0df7: Unknown result type (might be due to invalid IL or missing references) //IL_0e1d: Unknown result type (might be due to invalid IL or missing references) //IL_0e1f: Unknown result type (might be due to invalid IL or missing references) //IL_0e28: Unknown result type (might be due to invalid IL or missing references) //IL_0e4e: Unknown result type (might be due to invalid IL or missing references) //IL_0e50: Unknown result type (might be due to invalid IL or missing references) //IL_0e59: Unknown result type (might be due to invalid IL or missing references) //IL_0e7f: Unknown result type (might be due to invalid IL or missing references) //IL_0e81: Unknown result type (might be due to invalid IL or missing references) //IL_0e8a: Unknown result type (might be due to invalid IL or missing references) //IL_0eb0: Unknown result type (might be due to invalid IL or missing references) //IL_0eb2: Unknown result type (might be due to invalid IL or missing references) //IL_0ebb: Unknown result type (might be due to invalid IL or missing references) //IL_0ee1: Unknown result type (might be due to invalid IL or missing references) //IL_0ee3: Unknown result type (might be due to invalid IL or missing references) //IL_0eed: Unknown result type (might be due to invalid IL or missing references) //IL_0f13: Unknown result type (might be due to invalid IL or missing references) //IL_0f15: Unknown result type (might be due to invalid IL or missing references) //IL_0f1f: Unknown result type (might be due to invalid IL or missing references) //IL_0f45: Unknown result type (might be due to invalid IL or missing references) //IL_0f47: Unknown result type (might be due to invalid IL or missing references) //IL_0f51: Unknown result type (might be due to invalid IL or missing references) //IL_0f77: Unknown result type (might be due to invalid IL or missing references) //IL_0f79: Unknown result type (might be due to invalid IL or missing references) //IL_0fdd: Unknown result type (might be due to invalid IL or missing references) //IL_0fe8: Unknown result type (might be due to invalid IL or missing references) //IL_1021: Unknown result type (might be due to invalid IL or missing references) //IL_1047: Unknown result type (might be due to invalid IL or missing references) //IL_1049: Unknown result type (might be due to invalid IL or missing references) //IL_1052: Unknown result type (might be due to invalid IL or missing references) //IL_1078: Unknown result type (might be due to invalid IL or missing references) //IL_107a: Unknown result type (might be due to invalid IL or missing references) //IL_1083: Unknown result type (might be due to invalid IL or missing references) //IL_10a9: Unknown result type (might be due to invalid IL or missing references) //IL_10ab: Unknown result type (might be due to invalid IL or missing references) //IL_10b4: Unknown result type (might be due to invalid IL or missing references) //IL_10da: Unknown result type (might be due to invalid IL or missing references) //IL_10dc: Unknown result type (might be due to invalid IL or missing references) //IL_10e5: Unknown result type (might be due to invalid IL or missing references) //IL_110b: Unknown result type (might be due to invalid IL or missing references) //IL_110d: Unknown result type (might be due to invalid IL or missing references) //IL_1116: Unknown result type (might be due to invalid IL or missing references) //IL_113c: Unknown result type (might be due to invalid IL or missing references) //IL_113e: Unknown result type (might be due to invalid IL or missing references) //IL_1147: Unknown result type (might be due to invalid IL or missing references) //IL_116d: Unknown result type (might be due to invalid IL or missing references) //IL_116f: Unknown result type (might be due to invalid IL or missing references) //IL_1178: Unknown result type (might be due to invalid IL or missing references) //IL_119e: Unknown result type (might be due to invalid IL or missing references) //IL_11a0: Unknown result type (might be due to invalid IL or missing references) //IL_11a9: Unknown result type (might be due to invalid IL or missing references) //IL_11cf: Unknown result type (might be due to invalid IL or missing references) //IL_11d1: Unknown result type (might be due to invalid IL or missing references) //IL_11db: Unknown result type (might be due to invalid IL or missing references) //IL_1201: Unknown result type (might be due to invalid IL or missing references) //IL_1203: Unknown result type (might be due to invalid IL or missing references) //IL_120d: Unknown result type (might be due to invalid IL or missing references) //IL_1233: Unknown result type (might be due to invalid IL or missing references) //IL_1235: Unknown result type (might be due to invalid IL or missing references) //IL_123f: Unknown result type (might be due to invalid IL or missing references) //IL_1265: Unknown result type (might be due to invalid IL or missing references) //IL_1267: Unknown result type (might be due to invalid IL or missing references) //IL_12cb: Unknown result type (might be due to invalid IL or missing references) //IL_12d6: Unknown result type (might be due to invalid IL or missing references) //IL_130f: Unknown result type (might be due to invalid IL or missing references) //IL_1335: Unknown result type (might be due to invalid IL or missing references) //IL_1337: Unknown result type (might be due to invalid IL or missing references) //IL_1340: Unknown result type (might be due to invalid IL or missing references) //IL_1366: Unknown result type (might be due to invalid IL or missing references) //IL_1368: Unknown result type (might be due to invalid IL or missing references) //IL_1371: Unknown result type (might be due to invalid IL or missing references) //IL_1397: Unknown result type (might be due to invalid IL or missing references) //IL_1399: Unknown result type (might be due to invalid IL or missing references) //IL_13a2: Unknown result type (might be due to invalid IL or missing references) //IL_13c8: Unknown result type (might be due to invalid IL or missing references) //IL_13ca: Unknown result type (might be due to invalid IL or missing references) //IL_13d3: Unknown result type (might be due to invalid IL or missing references) //IL_13f9: Unknown result type (might be due to invalid IL or missing references) //IL_13fb: Unknown result type (might be due to invalid IL or missing references) //IL_1404: Unknown result type (might be due to invalid IL or missing references) //IL_142a: Unknown result type (might be due to invalid IL or missing references) //IL_142c: Unknown result type (might be due to invalid IL or missing references) //IL_1435: Unknown result type (might be due to invalid IL or missing references) //IL_145b: Unknown result type (might be due to invalid IL or missing references) //IL_145d: Unknown result type (might be due to invalid IL or missing references) //IL_1466: Unknown result type (might be due to invalid IL or missing references) //IL_148c: Unknown result type (might be due to invalid IL or missing references) //IL_148e: Unknown result type (might be due to invalid IL or missing references) //IL_1497: Unknown result type (might be due to invalid IL or missing references) //IL_14bd: Unknown result type (might be due to invalid IL or missing references) //IL_14bf: Unknown result type (might be due to invalid IL or missing references) //IL_14c9: Unknown result type (might be due to invalid IL or missing references) //IL_14ef: Unknown result type (might be due to invalid IL or missing references) //IL_14f1: Unknown result type (might be due to invalid IL or missing references) //IL_14fb: Unknown result type (might be due to invalid IL or missing references) //IL_1521: Unknown result type (might be due to invalid IL or missing references) //IL_1523: Unknown result type (might be due to invalid IL or missing references) //IL_152d: Unknown result type (might be due to invalid IL or missing references) //IL_1553: Unknown result type (might be due to invalid IL or missing references) //IL_1555: Unknown result type (might be due to invalid IL or missing references) //IL_15b9: Unknown result type (might be due to invalid IL or missing references) //IL_15c4: Unknown result type (might be due to invalid IL or missing references) //IL_15fd: Unknown result type (might be due to invalid IL or missing references) //IL_1623: Unknown result type (might be due to invalid IL or missing references) //IL_1625: Unknown result type (might be due to invalid IL or missing references) //IL_162e: Unknown result type (might be due to invalid IL or missing references) //IL_1654: Unknown result type (might be due to invalid IL or missing references) //IL_1656: Unknown result type (might be due to invalid IL or missing references) //IL_165f: Unknown result type (might be due to invalid IL or missing references) //IL_1685: Unknown result type (might be due to invalid IL or missing references) //IL_1687: Unknown result type (might be due to invalid IL or missing references) //IL_1690: Unknown result type (might be due to invalid IL or missing references) //IL_16b6: Unknown result type (might be due to invalid IL or missing references) //IL_16b8: Unknown result type (might be due to invalid IL or missing references) //IL_16c1: Unknown result type (might be due to invalid IL or missing references) //IL_16e7: Unknown result type (might be due to invalid IL or missing references) //IL_16e9: Unknown result type (might be due to invalid IL or missing references) //IL_16f2: Unknown result type (might be due to invalid IL or missing references) //IL_1718: Unknown result type (might be due to invalid IL or missing references) //IL_171a: Unknown result type (might be due to invalid IL or missing references) //IL_1723: Unknown result type (might be due to invalid IL or missing references) //IL_1749: Unknown result type (might be due to invalid IL or missing references) //IL_174b: Unknown result type (might be due to invalid IL or missing references) //IL_1754: Unknown result type (might be due to invalid IL or missing references) //IL_177a: Unknown result type (might be due to invalid IL or missing references) //IL_177c: Unknown result type (might be due to invalid IL or missing references) //IL_1785: Unknown result type (might be due to invalid IL or missing references) //IL_17ab: Unknown result type (might be due to invalid IL or missing references) //IL_17ad: Unknown result type (might be due to invalid IL or missing references) //IL_17b7: Unknown result type (might be due to invalid IL or missing references) //IL_17dd: Unknown result type (might be due to invalid IL or missing references) //IL_17df: Unknown result type (might be due to invalid IL or missing references) //IL_17e9: Unknown result type (might be due to invalid IL or missing references) //IL_180f: Unknown result type (might be due to invalid IL or missing references) //IL_1811: Unknown result type (might be due to invalid IL or missing references) //IL_181b: Unknown result type (might be due to invalid IL or missing references) //IL_1841: Unknown result type (might be due to invalid IL or missing references) //IL_1843: Unknown result type (might be due to invalid IL or missing references) //IL_18a7: Unknown result type (might be due to invalid IL or missing references) //IL_18b2: Unknown result type (might be due to invalid IL or missing references) //IL_18eb: Unknown result type (might be due to invalid IL or missing references) //IL_1911: Unknown result type (might be due to invalid IL or missing references) //IL_1913: Unknown result type (might be due to invalid IL or missing references) //IL_191c: Unknown result type (might be due to invalid IL or missing references) //IL_1942: Unknown result type (might be due to invalid IL or missing references) //IL_1944: Unknown result type (might be due to invalid IL or missing references) //IL_194d: Unknown result type (might be due to invalid IL or missing references) //IL_1973: Unknown result type (might be due to invalid IL or missing references) //IL_1975: Unknown result type (might be due to invalid IL or missing references) //IL_197e: Unknown result type (might be due to invalid IL or missing references) //IL_19a4: Unknown result type (might be due to invalid IL or missing references) //IL_19a6: Unknown result type (might be due to invalid IL or missing references) //IL_19af: Unknown result type (might be due to invalid IL or missing references) //IL_19d5: Unknown result type (might be due to invalid IL or missing references) //IL_19d7: Unknown result type (might be due to invalid IL or missing references) //IL_19e0: Unknown result type (might be due to invalid IL or missing references) //IL_1a06: Unknown result type (might be due to invalid IL or missing references) //IL_1a08: Unknown result type (might be due to invalid IL or missing references) //IL_1a11: Unknown result type (might be due to invalid IL or missing references) //IL_1a37: Unknown result type (might be due to invalid IL or missing references) //IL_1a39: Unknown result type (might be due to invalid IL or missing references) //IL_1a42: Unknown result type (might be due to invalid IL or missing references) //IL_1a68: Unknown result type (might be due to invalid IL or missing references) //IL_1a6a: Unknown result type (might be due to invalid IL or missing references) //IL_1a73: Unknown result type (might be due to invalid IL or missing references) //IL_1a99: Unknown result type (might be due to invalid IL or missing references) //IL_1a9b: Unknown result type (might be due to invalid IL or missing references) //IL_1aa5: Unknown result type (might be due to invalid IL or missing references) //IL_1acb: Unknown result type (might be due to invalid IL or missing references) //IL_1acd: Unknown result type (might be due to invalid IL or missing references) //IL_1ad7: Unknown result type (might be due to invalid IL or missing references) //IL_1afd: Unknown result type (might be due to invalid IL or missing references) //IL_1aff: Unknown result type (might be due to invalid IL or missing references) //IL_1b09: Unknown result type (might be due to invalid IL or missing references) //IL_1b2f: Unknown result type (might be due to invalid IL or missing references) //IL_1b31: Unknown result type (might be due to invalid IL or missing references) //IL_1b95: Unknown result type (might be due to invalid IL or missing references) //IL_1ba0: Unknown result type (might be due to invalid IL or missing references) //IL_1bd9: Unknown result type (might be due to invalid IL or missing references) //IL_1bff: Unknown result type (might be due to invalid IL or missing references) //IL_1c01: Unknown result type (might be due to invalid IL or missing references) //IL_1c0a: Unknown result type (might be due to invalid IL or missing references) //IL_1c30: Unknown result type (might be due to invalid IL or missing references) //IL_1c32: Unknown result type (might be due to invalid IL or missing references) //IL_1c3b: Unknown result type (might be due to invalid IL or missing references) //IL_1c61: Unknown result type (might be due to invalid IL or missing references) //IL_1c63: Unknown result type (might be due to invalid IL or missing references) //IL_1c6c: Unknown result type (might be due to invalid IL or missing references) //IL_1c92: Unknown result type (might be due to invalid IL or missing references) //IL_1c94: Unknown result type (might be due to invalid IL or missing references) //IL_1c9d: Unknown result type (might be due to invalid IL or missing references) //IL_1cc3: Unknown result type (might be due to invalid IL or missing references) //IL_1cc5: Unknown result type (might be due to invalid IL or missing references) //IL_1cce: Unknown result type (might be due to invalid IL or missing references) //IL_1cf4: Unknown result type (might be due to invalid IL or missing references) //IL_1cf6: Unknown result type (might be due to invalid IL or missing references) //IL_1cff: Unknown result type (might be due to invalid IL or missing references) //IL_1d25: Unknown result type (might be due to invalid IL or missing references) //IL_1d27: Unknown result type (might be due to invalid IL or missing references) //IL_1d30: Unknown result type (might be due to invalid IL or missing references) //IL_1d56: Unknown result type (might be due to invalid IL or missing references) //IL_1d58: Unknown result type (might be due to invalid IL or missing references) //IL_1d61: Unknown result type (might be due to invalid IL or missing references) //IL_1d87: Unknown result type (might be due to invalid IL or missing references) //IL_1d89: Unknown result type (might be due to invalid IL or missing references) //IL_1d93: Unknown result type (might be due to invalid IL or missing references) //IL_1db9: Unknown result type (might be due to invalid IL or missing references) //IL_1dbb: Unknown result type (might be due to invalid IL or missing references) //IL_1dc5: Unknown result type (might be due to invalid IL or missing references) //IL_1deb: Unknown result type (might be due to invalid IL or missing references) //IL_1ded: Unknown result type (might be due to invalid IL or missing references) //IL_1df7: Unknown result type (might be due to invalid IL or missing references) //IL_1e1d: Unknown result type (might be due to invalid IL or missing references) //IL_1e1f: Unknown result type (might be due to invalid IL or missing references) //IL_1e83: Unknown result type (might be due to invalid IL or missing references) //IL_1e8e: Unknown result type (might be due to invalid IL or missing references) //IL_1ec7: Unknown result type (might be due to invalid IL or missing references) //IL_1eed: Unknown result type (might be due to invalid IL or missing references) //IL_1eef: Unknown result type (might be due to invalid IL or missing references) //IL_1ef8: Unknown result type (might be due to invalid IL or missing references) //IL_1f1e: Unknown result type (might be due to invalid IL or missing references) //IL_1f20: Unknown result type (might be due to invalid IL or missing references) //IL_1f29: Unknown result type (might be due to invalid IL or missing references) //IL_1f4f: Unknown result type (might be due to invalid IL or missing references) //IL_1f51: Unknown result type (might be due to invalid IL or missing references) //IL_1f5a: Unknown result type (might be due to invalid IL or missing references) //IL_1f80: Unknown result type (might be due to invalid IL or missing references) //IL_1f82: Unknown result type (might be due to invalid IL or missing references) //IL_1f8b: Unknown result type (might be due to invalid IL or missing references) //IL_1fb1: Unknown result type (might be due to invalid IL or missing references) //IL_1fb3: Unknown result type (might be due to invalid IL or missing references) //IL_1fbc: Unknown result type (might be due to invalid IL or missing references) //IL_1fe2: Unknown result type (might be due to invalid IL or missing references) //IL_1fe4: Unknown result type (might be due to invalid IL or missing references) //IL_1fed: Unknown result type (might be due to invalid IL or missing references) //IL_2013: Unknown result type (might be due to invalid IL or missing references) //IL_2015: Unknown result type (might be due to invalid IL or missing references) //IL_201e: Unknown result type (might be due to invalid IL or missing references) //IL_2044: Unknown result type (might be due to invalid IL or missing references) //IL_2046: Unknown result type (might be due to invalid IL or missing references) //IL_204f: Unknown result type (might be due to invalid IL or missing references) //IL_2075: Unknown result type (might be due to invalid IL or missing references) //IL_2077: Unknown result type (might be due to invalid IL or missing references) //IL_2081: Unknown result type (might be due to invalid IL or missing references) //IL_20a7: Unknown result type (might be due to invalid IL or missing references) //IL_20a9: Unknown result type (might be due to invalid IL or missing references) //IL_20b3: Unknown result type (might be due to invalid IL or missing references) //IL_20d9: Unknown result type (might be due to invalid IL or missing references) //IL_20db: Unknown result type (might be due to invalid IL or missing references) //IL_20e5: Unknown result type (might be due to invalid IL or missing references) //IL_210b: Unknown result type (might be due to invalid IL or missing references) //IL_210d: Unknown result type (might be due to invalid IL or missing references) //IL_2171: Unknown result type (might be due to invalid IL or missing references) //IL_217c: Unknown result type (might be due to invalid IL or missing references) //IL_21b5: Unknown result type (might be due to invalid IL or missing references) //IL_21db: Unknown result type (might be due to invalid IL or missing references) //IL_21dd: Unknown result type (might be due to invalid IL or missing references) //IL_21e6: Unknown result type (might be due to invalid IL or missing references) //IL_220c: Unknown result type (might be due to invalid IL or missing references) //IL_220e: Unknown result type (might be due to invalid IL or missing references) //IL_2217: Unknown result type (might be due to invalid IL or missing references) //IL_223d: Unknown result type (might be due to invalid IL or missing references) //IL_223f: Unknown result type (might be due to invalid IL or missing references) //IL_2248: Unknown result type (might be due to invalid IL or missing references) //IL_226e: Unknown result type (might be due to invalid IL or missing references) //IL_2270: Unknown result type (might be due to invalid IL or missing references) //IL_2279: Unknown result type (might be due to invalid IL or missing references) //IL_229f: Unknown result type (might be due to invalid IL or missing references) //IL_22a1: Unknown result type (might be due to invalid IL or missing references) //IL_22aa: Unknown result type (might be due to invalid IL or missing references) //IL_22d0: Unknown result type (might be due to invalid IL or missing references) //IL_22d2: Unknown result type (might be due to invalid IL or missing references) //IL_22db: Unknown result type (might be due to invalid IL or missing references) //IL_2301: Unknown result type (might be due to invalid IL or missing references) //IL_2303: Unknown result type (might be due to invalid IL or missing references) //IL_230c: Unknown result type (might be due to invalid IL or missing references) //IL_2332: Unknown result type (might be due to invalid IL or missing references) //IL_2334: Unknown result type (might be due to invalid IL or missing references) //IL_233d: Unknown result type (might be due to invalid IL or missing references) //IL_2363: Unknown result type (might be due to invalid IL or missing references) //IL_2365: Unknown result type (might be due to invalid IL or missing references) //IL_236f: Unknown result type (might be due to invalid IL or missing references) //IL_2395: Unknown result type (might be due to invalid IL or missing references) //IL_2397: Unknown result type (might be due to invalid IL or missing references) //IL_23a1: Unknown result type (might be due to invalid IL or missing references) //IL_23c7: Unknown result type (might be due to invalid IL or missing references) //IL_23c9: Unknown result type (might be due to invalid IL or missing references) //IL_23d3: Unknown result type (might be due to invalid IL or missing references) //IL_23f9: Unknown result type (might be due to invalid IL or missing references) //IL_23fb: Unknown result type (might be due to invalid IL or missing references) //IL_245f: Unknown result type (might be due to invalid IL or missing references) //IL_246a: Unknown result type (might be due to invalid IL or missing references) //IL_24a3: Unknown result type (might be due to invalid IL or missing references) //IL_24c9: Unknown result type (might be due to invalid IL or missing references) //IL_24cb: Unknown result type (might be due to invalid IL or missing references) //IL_24d4: Unknown result type (might be due to invalid IL or missing references) //IL_24fa: Unknown result type (might be due to invalid IL or missing references) //IL_24fc: Unknown result type (might be due to invalid IL or missing references) //IL_2505: Unknown result type (might be due to invalid IL or missing references) //IL_252b: Unknown result type (might be due to invalid IL or missing references) //IL_252d: Unknown result type (might be due to invalid IL or missing references) //IL_2536: Unknown result type (might be due to invalid IL or missing references) //IL_255c: Unknown result type (might be due to invalid IL or missing references) //IL_255e: Unknown result type (might be due to invalid IL or missing references) //IL_2567: Unknown result type (might be due to invalid IL or missing references) //IL_258d: Unknown result type (might be due to invalid IL or missing references) //IL_258f: Unknown result type (might be due to invalid IL or missing references) //IL_2598: Unknown result type (might be due to invalid IL or missing references) //IL_25be: Unknown result type (might be due to invalid IL or missing references) //IL_25c0: Unknown result type (might be due to invalid IL or missing references) //IL_25c9: Unknown result type (might be due to invalid IL or missing references) //IL_25ef: Unknown result type (might be due to invalid IL or missing references) //IL_25f1: Unknown result type (might be due to invalid IL or missing references) //IL_25fa: Unknown result type (might be due to invalid IL or missing references) //IL_2620: Unknown result type (might be due to invalid IL or missing references) //IL_2622: Unknown result type (might be due to invalid IL or missing references) //IL_262b: Unknown result type (might be due to invalid IL or missing references) //IL_2651: Unknown result type (might be due to invalid IL or missing references) //IL_2653: Unknown result type (might be due to invalid IL or missing references) //IL_265d: Unknown result type (might be due to invalid IL or missing references) //IL_2683: Unknown result type (might be due to invalid IL or missing references) //IL_2685: Unknown result type (might be due to invalid IL or missing references) //IL_268f: Unknown result type (might be due to invalid IL or missing references) //IL_26b5: Unknown result type (might be due to invalid IL or missing references) //IL_26b7: Unknown result type (might be due to invalid IL or missing references) //IL_26c1: Unknown result type (might be due to invalid IL or missing references) //IL_26e7: Unknown result type (might be due to invalid IL or missing references) //IL_26e9: Unknown result type (might be due to invalid IL or missing references) //IL_274d: Unknown result type (might be due to invalid IL or missing references) //IL_2758: Unknown result type (might be due to invalid IL or missing references) //IL_2791: Unknown result type (might be due to invalid IL or missing references) //IL_27b7: Unknown result type (might be due to invalid IL or missing references) //IL_27b9: Unknown result type (might be due to invalid IL or missing references) //IL_27c2: Unknown result type (might be due to invalid IL or missing references) //IL_27e8: Unknown result type (might be due to invalid IL or missing references) //IL_27ea: Unknown result type (might be due to invalid IL or missing references) //IL_27f3: Unknown result type (might be due to invalid IL or missing references) //IL_2819: Unknown result type (might be due to invalid IL or missing references) //IL_281b: Unknown result type (might be due to invalid IL or missing references) //IL_2824: Unknown result type (might be due to invalid IL or missing references) //IL_284a: Unknown result type (might be due to invalid IL or missing references) //IL_284c: Unknown result type (might be due to invalid IL or missing references) //IL_2855: Unknown result type (might be due to invalid IL or missing references) //IL_287b: Unknown result type (might be due to invalid IL or missing references) //IL_287d: Unknown result type (might be due to invalid IL or missing references) //IL_2886: Unknown result type (might be due to invalid IL or missing references) //IL_28ac: Unknown result type (might be due to invalid IL or missing references) //IL_28ae: Unknown result type (might be due to invalid IL or missing references) //IL_28b7: Unknown result type (might be due to invalid IL or missing references) //IL_28dd: Unknown result type (might be due to invalid IL or missing references) //IL_28df: Unknown result type (might be due to invalid IL or missing references) //IL_28e8: Unknown result type (might be due to invalid IL or missing references) //IL_290e: Unknown result type (might be due to invalid IL or missing references) //IL_2910: Unknown result type (might be due to invalid IL or missing references) //IL_2919: Unknown result type (might be due to invalid IL or missing references) //IL_293f: Unknown result type (might be due to invalid IL or missing references) //IL_2941: Unknown result type (might be due to invalid IL or missing references) //IL_294b: Unknown result type (might be due to invalid IL or missing references) //IL_2971: Unknown result type (might be due to invalid IL or missing references) //IL_2973: Unknown result type (might be due to invalid IL or missing references) //IL_297d: Unknown result type (might be due to invalid IL or missing references) //IL_29a3: Unknown result type (might be due to invalid IL or missing references) //IL_29a5: Unknown result type (might be due to invalid IL or missing references) //IL_29af: Unknown result type (might be due to invalid IL or missing references) //IL_29d5: Unknown result type (might be due to invalid IL or missing references) //IL_29d7: Unknown result type (might be due to invalid IL or missing references) //IL_2a3b: Unknown result type (might be due to invalid IL or missing references) //IL_2a46: Unknown result type (might be due to invalid IL or missing references) //IL_2a7f: Unknown result type (might be due to invalid IL or missing references) //IL_2aa5: Unknown result type (might be due to invalid IL or missing references) //IL_2aa7: Unknown result type (might be due to invalid IL or missing references) //IL_2ab0: Unknown result type (might be due to invalid IL or missing references) //IL_2ad6: Unknown result type (might be due to invalid IL or missing references) //IL_2ad8: Unknown result type (might be due to invalid IL or missing references) //IL_2ae1: Unknown result type (might be due to invalid IL or missing references) //IL_2b07: Unknown result type (might be due to invalid IL or missing references) //IL_2b09: Unknown result type (might be due to invalid IL or missing references) //IL_2b12: Unknown result type (might be due to invalid IL or missing references) //IL_2b38: Unknown result type (might be due to invalid IL or missing references) //IL_2b3a: Unknown result type (might be due to invalid IL or missing references) //IL_2b43: Unknown result type (might be due to invalid IL or missing references) //IL_2b69: Unknown result type (might be due to invalid IL or missing references) //IL_2b6b: Unknown result type (might be due to invalid IL or missing references) //IL_2b74: Unknown result type (might be due to invalid IL or missing references) //IL_2b9a: Unknown result type (might be due to invalid IL or missing references) //IL_2b9c: Unknown result type (might be due to invalid IL or missing references) //IL_2ba5: Unknown result type (might be due to invalid IL or missing references) //IL_2bcb: Unknown result type (might be due to invalid IL or missing references) //IL_2bcd: Unknown result type (might be due to invalid IL or missing references) //IL_2bd6: Unknown result type (might be due to invalid IL or missing references) //IL_2bfc: Unknown result type (might be due to invalid IL or missing references) //IL_2bfe: Unknown result type (might be due to invalid IL or missing references) //IL_2c07: Unknown result type (might be due to invalid IL or missing references) //IL_2c2d: Unknown result type (might be due to invalid IL or missing references) //IL_2c2f: Unknown result type (might be due to invalid IL or missing references) //IL_2c39: Unknown result type (might be due to invalid IL or missing references) //IL_2c5f: Unknown result type (might be due to invalid IL or missing references) //IL_2c61: Unknown result type (might be due to invalid IL or missing references) //IL_2c6b: Unknown result type (might be due to invalid IL or missing references) //IL_2c91: Unknown result type (might be due to invalid IL or missing references) //IL_2c93: Unknown result type (might be due to invalid IL or missing references) //IL_2c9d: Unknown result type (might be due to invalid IL or missing references) //IL_2cc3: Unknown result type (might be due to invalid IL or missing references) //IL_2cc5: Unknown result type (might be due to invalid IL or missing references) //IL_2d29: Unknown result type (might be due to invalid IL or missing references) //IL_2f82: Unknown result type (might be due to invalid IL or missing references) //IL_3082: Unknown result type (might be due to invalid IL or missing references) //IL_30ad: Unknown result type (might be due to invalid IL or missing references) //IL_30d8: Unknown result type (might be due to invalid IL or missing references) //IL_3103: Unknown result type (might be due to invalid IL or missing references) //IL_3112: Unknown result type (might be due to invalid IL or missing references) //IL_311c: Unknown result type (might be due to invalid IL or missing references) //IL_313c: Unknown result type (might be due to invalid IL or missing references) //IL_3141: Unknown result type (might be due to invalid IL or missing references) //IL_316f: Unknown result type (might be due to invalid IL or missing references) //IL_3174: Unknown result type (might be due to invalid IL or missing references) characterPrefab = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load<GameObject>("Prefabs/CharacterBodies/CommandoBody"), "DariusBody", true); characterPrefab.GetComponent<NetworkIdentity>().localPlayerAuthority = true; GameObject val = CreateModel(characterPrefab); GameObject val2 = new GameObject("ModelBase"); val2.transform.parent = characterPrefab.transform; val2.transform.localPosition = new Vector3(0f, -0.94f, 0f); val2.transform.localRotation = Quaternion.identity; val2.transform.localScale = new Vector3(1f, 1f, 1f); GameObject val3 = new GameObject("AimOrigin"); val3.transform.parent = val2.transform; val3.transform.localPosition = new Vector3(0f, 2f, 0f); val3.transform.localRotation = Quaternion.identity; val3.transform.localScale = Vector3.one; Transform transform = val.transform; transform.parent = val2.transform; transform.localPosition = Vector3.zero; transform.localScale = new Vector3(1f, 1f, 1f); transform.localRotation = Quaternion.identity; CharacterDirection component = characterPrefab.GetComponent<CharacterDirection>(); component.moveVector = Vector3.zero; component.targetTransform = val2.transform; component.overrideAnimatorForwardTransform = null; component.rootMotionAccumulator = null; component.modelAnimator = val.GetComponentInChildren<Animator>(); component.driveFromRootRotation = false; component.turnSpeed = 720f; CharacterBody component2 = characterPrefab.GetComponent<CharacterBody>(); ((Object)component2).name = "DariusBody"; component2.baseNameToken = "DARIUS_NAME"; component2.subtitleNameToken = "DARIUS_SUBTITLE"; component2.bodyFlags = (BodyFlags)16; component2.rootMotionInMainState = false; component2.mainRootSpeed = 0f; component2.baseMaxHealth = 140f; component2.levelMaxHealth = 35f; component2.baseRegen = 1f; component2.levelRegen = 0.33f; component2.baseMaxShield = 0f; component2.levelMaxShield = 0f; component2.baseMoveSpeed = 7f; component2.levelMoveSpeed = 0f; component2.baseAcceleration = 110f; component2.baseJumpPower = 15f; component2.levelJumpPower = 0f; component2.baseDamage = 12f; component2.levelDamage = 2.4f; component2.baseAttackSpeed = 1f; component2.levelAttackSpeed = 0f; component2.baseCrit = 1f; component2.levelCrit = 0f; component2.baseArmor = 30f; component2.levelArmor = 0f; component2.baseJumpCount = 1; component2.sprintingSpeedMultiplier = 1.45f; component2.wasLucky = false; component2.hideCrosshair = false; component2.aimOriginTransform = val3.transform; component2.hullClassification = (HullClassification)0; component2.portraitIcon = (Texture)(object)Assets.MainAssetBundle.LoadAsset<Sprite>("portrait").texture; component2.isChampion = false; component2.currentVehicle = null; component2.skinIndex = 0u; component2.bodyColor = characterColor; CharacterMotor component3 = characterPrefab.GetComponent<CharacterMotor>(); component3.walkSpeedPenaltyCoefficient = 1f; component3.characterDirection = component; component3.muteWalkMotion = false; component3.mass = 160f; component3.airControl = 0.25f; component3.disableAirControlUntilCollision = false; component3.generateParametersOnAwake = true; InputBankTest component4 = characterPrefab.GetComponent<InputBankTest>(); component4.moveVector = Vector3.zero; CameraTargetParams component5 = characterPrefab.GetComponent<CameraTargetParams>(); component5.cameraParams = LegacyResourcesAPI.Load<GameObject>("Prefabs/CharacterBodies/CommandoBody").GetComponent<CameraTargetParams>().cameraParams; component5.cameraPivotTransform = null; component5.recoil = Vector2.zero; component5.dontRaycastToPivot = false; ModelLocator component6 = characterPrefab.GetComponent<ModelLocator>(); component6.modelTransform = transform; component6.modelBaseTransform = val2.transform; component6.dontReleaseModelOnDeath = false; component6.autoUpdateModelTransform = true; component6.dontDetatchFromParent = false; component6.noCorpse = false; component6.normalizeToFloor = false; component6.preserveModel = false; ChildLocator component7 = val.GetComponent<ChildLocator>(); CharacterModel val4 = val.AddComponent<CharacterModel>(); val4.body = component2; val4.baseRendererInfos = (RendererInfo[])(object)new RendererInfo[12] { new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("default")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("default")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin01")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin01")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin02")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin02")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin03")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin03")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin04")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin04")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin05")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin05")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin06")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin06")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin07")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin07")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin08")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin08")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin09")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin09")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin10")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin10")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }, new RendererInfo { renderer = (Renderer)(object)((Component)component7.FindChild("skin11")).GetComponentInChildren<SkinnedMeshRenderer>(), defaultMaterial = ((Renderer)((Component)component7.FindChild("skin11")).GetComponentInChildren<SkinnedMeshRenderer>()).material, defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false } }; val4.autoPopulateLightInfos = true; val4.invisibilityCount = 0; val4.temporaryOverlays = new List<TemporaryOverlayInstance>(); Reflection.SetFieldValue<SkinnedMeshRenderer>((object)val4, "mainSkinnedMeshRenderer", ((Component)val4.baseRendererInfos[0].renderer).gameObject.GetComponent<SkinnedMeshRenderer>()); GameObject gameObject = ((Component)characterPrefab.GetComponentInChildren<ModelLocator>().modelTransform).gameObject; CharacterModel component8 = gameObject.GetComponent<CharacterModel>(); ModelSkinController val5 = gameObject.AddComponent<ModelSkinController>(); ChildLocator component9 = gameObject.GetComponent<ChildLocator>(); SkinnedMeshRenderer fieldValue = Reflection.GetFieldValue<SkinnedMeshRenderer>((object)component8, "mainSkinnedMeshRenderer"); LanguageAPI.Add("DARIUSBODY_DEFAULT_SKIN_NAME", "Default"); LanguageAPI.Add("DARIUSBODY_SKIN01_NAME", "Lord"); LanguageAPI.Add("DARIUSBODY_SKIN02_NAME", "Bioforge"); LanguageAPI.Add("DARIUSBODY_SKIN03_NAME", "Woad King"); LanguageAPI.Add("DARIUSBODY_SKIN04_NAME", "Dunkmaster"); LanguageAPI.Add("DARIUSBODY_SKIN05_NAME", "Academy"); LanguageAPI.Add("DARIUSBODY_SKIN06_NAME", "Dreadnova"); LanguageAPI.Add("DARIUSBODY_SKIN07_NAME", "God-King"); LanguageAPI.Add("DARIUSBODY_SKIN08_NAME", "High Noon"); LanguageAPI.Add("DARIUSBODY_SKIN09_NAME", "Lunar Beast"); LanguageAPI.Add("DARIUSBODY_SKIN010_NAME", "Crime City"); LanguageAPI.Add("DARIUSBODY_SKIN011_NAME", "Spirit Blossom"); SkinnedMeshRenderer[] componentsInChildren = gameObject.GetComponentsInChildren<SkinnedMeshRenderer>(); for (int i = 0; i < componentsInChildren.Length; i++) { ((Renderer)componentsInChildren[i]).material.shader = Addressables.LoadAssetAsync<Shader>((object)"RoR2/Base/Shaders/HGStandard.shader").WaitForCompletion(); } SkinDefInfo val6 = default(SkinDefInfo); val6.BaseSkins = Array.Empty<SkinDef>(); val6.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val6.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val6.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val6.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("default"); val6.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val6.Name = "DARIUSBODY_DEFAULT_SKIN_NAME"; val6.NameToken = "DARIUSBODY_DEFAULT_SKIN_NAME"; val6.RendererInfos = component8.baseRendererInfos; val6.RootObject = gameObject; val6.UnlockableDef = null; SkinDef val7 = Skins.CreateNewSkinDef(val6); SkinDefInfo val8 = default(SkinDefInfo); val8.BaseSkins = Array.Empty<SkinDef>(); val8.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val8.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val8.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val8.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin01"); val8.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val8.Name = "DARIUSBODY_SKIN01_NAME"; val8.NameToken = "DARIUSBODY_SKIN01_NAME"; val8.RendererInfos = component8.baseRendererInfos; val8.RootObject = gameObject; val8.UnlockableDef = null; SkinDef val9 = Skins.CreateNewSkinDef(val8); SkinDefInfo val10 = default(SkinDefInfo); val10.BaseSkins = Array.Empty<SkinDef>(); val10.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val10.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val10.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val10.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin02"); val10.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val10.Name = "DARIUSBODY_SKIN02_NAME"; val10.NameToken = "DARIUSBODY_SKIN02_NAME"; val10.RendererInfos = component8.baseRendererInfos; val10.RootObject = gameObject; val10.UnlockableDef = null; SkinDef val11 = Skins.CreateNewSkinDef(val10); SkinDefInfo val12 = default(SkinDefInfo); val12.BaseSkins = Array.Empty<SkinDef>(); val12.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val12.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val12.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val12.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin03"); val12.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val12.Name = "DARIUSBODY_SKIN03_NAME"; val12.NameToken = "DARIUSBODY_SKIN03_NAME"; val12.RendererInfos = component8.baseRendererInfos; val12.RootObject = gameObject; val12.UnlockableDef = null; SkinDef val13 = Skins.CreateNewSkinDef(val12); SkinDefInfo val14 = default(SkinDefInfo); val14.BaseSkins = Array.Empty<SkinDef>(); val14.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val14.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val14.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val14.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin04"); val14.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val14.Name = "DARIUSBODY_SKIN04_NAME"; val14.NameToken = "DARIUSBODY_SKIN04_NAME"; val14.RendererInfos = component8.baseRendererInfos; val14.RootObject = gameObject; val14.UnlockableDef = null; SkinDef val15 = Skins.CreateNewSkinDef(val14); SkinDefInfo val16 = default(SkinDefInfo); val16.BaseSkins = Array.Empty<SkinDef>(); val16.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val16.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val16.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val16.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin05"); val16.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val16.Name = "DARIUSBODY_SKIN05_NAME"; val16.NameToken = "DARIUSBODY_SKIN05_NAME"; val16.RendererInfos = component8.baseRendererInfos; val16.RootObject = gameObject; val16.UnlockableDef = null; SkinDef val17 = Skins.CreateNewSkinDef(val16); SkinDefInfo val18 = default(SkinDefInfo); val18.BaseSkins = Array.Empty<SkinDef>(); val18.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val18.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val18.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val18.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin06"); val18.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val18.Name = "DARIUSBODY_SKIN06_NAME"; val18.NameToken = "DARIUSBODY_SKIN06_NAME"; val18.RendererInfos = component8.baseRendererInfos; val18.RootObject = gameObject; val18.UnlockableDef = null; SkinDef val19 = Skins.CreateNewSkinDef(val18); SkinDefInfo val20 = default(SkinDefInfo); val20.BaseSkins = Array.Empty<SkinDef>(); val20.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val20.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val20.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val20.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin07"); val20.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val20.Name = "DARIUSBODY_SKIN07_NAME"; val20.NameToken = "DARIUSBODY_SKIN07_NAME"; val20.RendererInfos = component8.baseRendererInfos; val20.RootObject = gameObject; val20.UnlockableDef = null; SkinDef val21 = Skins.CreateNewSkinDef(val20); SkinDefInfo val22 = default(SkinDefInfo); val22.BaseSkins = Array.Empty<SkinDef>(); val22.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val22.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val22.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val22.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin08"); val22.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val22.Name = "DARIUSBODY_SKIN08_NAME"; val22.NameToken = "DARIUSBODY_SKIN08_NAME"; val22.RendererInfos = component8.baseRendererInfos; val22.RootObject = gameObject; val22.UnlockableDef = null; SkinDef val23 = Skins.CreateNewSkinDef(val22); SkinDefInfo val24 = default(SkinDefInfo); val24.BaseSkins = Array.Empty<SkinDef>(); val24.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val24.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val24.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val24.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin09"); val24.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val24.Name = "DARIUSBODY_SKIN09_NAME"; val24.NameToken = "DARIUSBODY_SKIN09_NAME"; val24.RendererInfos = component8.baseRendererInfos; val24.RootObject = gameObject; val24.UnlockableDef = null; SkinDef val25 = Skins.CreateNewSkinDef(val24); SkinDefInfo val26 = default(SkinDefInfo); val26.BaseSkins = Array.Empty<SkinDef>(); val26.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val26.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val26.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = true }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = false } }; val26.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin10"); val26.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val26.Name = "DARIUSBODY_SKIN010_NAME"; val26.NameToken = "DARIUSBODY_SKIN010_NAME"; val26.RendererInfos = component8.baseRendererInfos; val26.RootObject = gameObject; val26.UnlockableDef = null; SkinDef val27 = Skins.CreateNewSkinDef(val26); SkinDefInfo val28 = default(SkinDefInfo); val28.BaseSkins = Array.Empty<SkinDef>(); val28.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; val28.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; val28.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[12] { new GameObjectActivation { gameObject = ((Component)component9.FindChild("default")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin01")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin02")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin03")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin04")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin05")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin06")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin07")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin08")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin09")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin10")).gameObject, shouldActivate = false }, new GameObjectActivation { gameObject = ((Component)component9.FindChild("skin11")).gameObject, shouldActivate = true } }; val28.Icon = Assets.MainAssetBundle.LoadAsset<Sprite>("skin11"); val28.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; val28.Name = "DARIUSBODY_SKIN011_NAME"; val28.NameToken = "DARIUSBODY_SKIN011_NAME"; val28.RendererInfos = component8.baseRendererInfos; val28.RootObject = gameObject; val28.UnlockableDef = null; SkinDef val29 = Skins.CreateNewSkinDef(val28); val5.skins = (SkinDef[])(object)new SkinDef[12] { val7, val9, val11, val13, val15, val17, val19, val21, val23, val25, val27, val29 }; TeamComponent val30 = null; val30 = ((!((Object)(object)characterPrefab.GetComponent<TeamComponent>() != (Object)null)) ? characterPrefab.GetComponent<TeamComponent>() : characterPrefab.GetComponent<TeamComponent>()); val30.hideAllyCardDisplay = false; val30.teamIndex = (TeamIndex)(-1); HealthComponent component10 = characterPrefab.GetComponent<HealthComponent>(); component10.health = 110f; component10.shield = 0f; component10.barrier = 0f; component10.magnetiCharge = 0f; component10.body = null; component10.dontShowHealthbar = false; component10.globalDeathEventChanceCoefficient = 1f; characterPrefab.GetComponent<Interactor>().maxInteractionDistance = 3f; characterPrefab.GetComponent<InteractionDriver>().highlightInteractor = true