using System; using System.Collections; 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 BepInEx.Configuration; using BepInEx.Logging; using EntityStates; using EntityStates.Captain.Weapon; using EntityStates.Commando.CommandoWeapon; using HG; using HG.BlendableTypes; using IL.RoR2; using KinematicCharacterController; using Mono.Cecil.Cil; using MonoMod.Cil; using On.RoR2; using R2API; using R2API.Utils; using RoR2; using RoR2.Achievements; using RoR2.Audio; using RoR2.ContentManagement; using RoR2.Orbs; using RoR2.Projectile; using RoR2.Skills; using UnityEngine; using UnityEngine.Networking; using UnityEngine.Rendering; using UnityEngine.Serialization; using UrgotMod; using UrgotMod.Controllers; using UrgotMod.Modules; using UrgotMod.Modules.Survivors; using UrgotMod.SkillStates; using UrgotMod.SkillStates.BaseStates; using UrgotMod.SkillStates.Emotes; using UrgotMod.SkillStates.Keystone; using UrgotMod.States; using UrgotMod.States.Emotes; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("UrgotMod")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.3.0")] [assembly: AssemblyInformationalVersion("1.0.3")] [assembly: AssemblyProduct("UrgotMod")] [assembly: AssemblyTitle("UrgotMod")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.3.0")] [module: UnverifiableCode] public class FBDSkillOverrideController : MonoBehaviour { public SkillDef FBDSkillDef; public SkillDef NoMercySkillDef = new SkillDef { skillName = "URGOT_SPECIAL2_NAME", skillNameToken = "rahhhhhhhhhhhh", skillDescriptionToken = "you shoudnt see this actually", icon = Assets.mainAssetBundle.LoadAsset("urgot_rrecast"), activationState = new SerializableEntityStateType(typeof(NoMercy)), activationStateMachineName = "Body", baseMaxStock = 1, baseRechargeInterval = 0.5f, beginSkillCooldownOnSkillEnd = true, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)2, resetCooldownTimerOnUse = false, isCombatSkill = true, mustKeyPress = false, cancelSprintingOnActivation = true, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }; private bool _canActivateNoMercy; private float _eTime; public bool mayExecute; private SkillLocator skillLocator; private GenericSkill specialSkill; private bool isOverridden; public bool canActivateNoMercy { get { return _canActivateNoMercy; } set { _canActivateNoMercy = value; UpdateSkillOverride(); } } public float eTime { get { if (!(_eTime < 5f) || !(_eTime > 0f)) { return 5f; } return _eTime; } set { _eTime = value; } } private void Start() { skillLocator = ((Component)this).GetComponent(); if ((Object)(object)skillLocator != (Object)null) { specialSkill = skillLocator.special; } } public void UpdateSkillOverride() { FBDSkillDef = Skills.skillDefs.Find((SkillDef SkillDef) => SkillDef.skillName == "URGOT_SPECIAL_NAME"); if (canActivateNoMercy && !isOverridden) { OverrideToNoMercy(); } else if (!canActivateNoMercy && isOverridden) { RestoreToFBD(); } } private void OverrideToNoMercy() { UrgotPlugin.Logger.LogMessage((object)"Hello?"); if ((Object)(object)specialSkill == (Object)null || (Object)(object)NoMercySkillDef == (Object)null) { UrgotPlugin.Logger.LogMessage((object)(((Object)(object)specialSkill == (Object)null) ? "Could not get special Skill" : "NoMercy skillDef is null")); } else if ((Object)(object)specialSkill.skillDef == (Object)(object)FBDSkillDef) { specialSkill.SetSkillOverride((object)this, NoMercySkillDef, (SkillOverridePriority)4); UrgotPlugin.Logger.LogMessage((object)"now what"); specialSkill.stock = 1; specialSkill.rechargeStopwatch = 0f; isOverridden = true; } else { UrgotPlugin.Logger.LogMessage((object)$"Special skillDef is not equal to {FBDSkillDef}"); } } private void RestoreToFBD() { if ((Object)(object)specialSkill == (Object)null || (Object)(object)FBDSkillDef == (Object)null) { UrgotPlugin.Logger.LogMessage((object)(((Object)(object)specialSkill == (Object)null) ? "Could not get special Skill" : "FBD skillDef is null")); return; } specialSkill.UnsetSkillOverride((object)this, NoMercySkillDef, (SkillOverridePriority)4); isOverridden = false; } public void SetNoMercyCondition(bool condition) { canActivateNoMercy = condition; } } internal enum UrgotCameraParams { DEFAULT, EMOTE } public enum AnimationLayer { Base, FullBody, Gesture } public static class AnimationLayerNames { private static readonly Dictionary layerNames = new Dictionary { { AnimationLayer.Base, "Base" }, { AnimationLayer.FullBody, "FullBody, Override" }, { AnimationLayer.Gesture, "Gesture, Override" } }; public static string GetLayerName(this AnimationLayer layer) { if (!layerNames.TryGetValue(layer, out var value)) { return layer.ToString(); } return value; } } internal class BodyInfo { internal string bodyName = ""; internal string bodyNameToken = ""; internal string subtitleNameToken = ""; internal string bodyNameToClone = "Commando"; internal Texture characterPortrait; internal GameObject crosshair; internal GameObject podPrefab; internal float maxHealth = 100f; internal float healthGrowth = 2f; internal float healthRegen; internal float regenGrowth; internal float shield; internal float shieldGrowth; internal float moveSpeed = 7f; internal float moveSpeedGrowth; internal float acceleration = 80f; internal float jumpPower = 15f; internal float jumpPowerGrowth; internal float damage = 12f; internal float damageGrowth; internal float attackSpeed = 1f; internal float attackSpeedGrowth; internal float armor; internal float armorGrowth; internal float crit = 1f; internal float critGrowth; internal int jumpCount = 1; internal Color bodyColor = Color.grey; internal Vector3 aimOriginPosition = new Vector3(0f, 1.8f, 0f); internal Vector3 modelBasePosition = new Vector3(0f, -0.92f, 0f); internal Vector3 cameraPivotPosition = new Vector3(0f, 1.6f, 0f); } internal class CustomRendererInfo { internal string childName; internal Material material; internal bool ignoreOverlays; } internal class SkillDefInfo { public string skillName; public string skillNameToken; public string skillDescriptionToken; public string[] keywordTokens = new string[0]; public Sprite skillIcon; public SerializableEntityStateType activationState; public InterruptPriority interruptPriority; public string activationStateMachineName; public float baseRechargeInterval; public int baseMaxStock = 1; public int rechargeStock = 1; public int requiredStock = 1; public int stockToConsume = 1; public bool isCombatSkill = true; public bool canceledFromSprinting; public bool forceSprintDuringState; public bool cancelSprintingOnActivation = true; public bool beginSkillCooldownOnSkillEnd; public bool fullRestockOnAssign = true; public bool resetCooldownTimerOnUse; public bool mustKeyPress; public SkillDefInfo() { } public SkillDefInfo(string skillNameToken, string skillDescriptionToken, Sprite skillIcon, SerializableEntityStateType activationState, string activationStateMachineName = "Weapon", bool agile = true, bool slayer = false, bool poisonous = false) { //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) skillName = skillNameToken; this.skillNameToken = skillNameToken; this.skillDescriptionToken = skillDescriptionToken; this.skillIcon = skillIcon; this.activationState = activationState; this.activationStateMachineName = activationStateMachineName; interruptPriority = (InterruptPriority)0; isCombatSkill = true; baseRechargeInterval = 0f; requiredStock = 0; stockToConsume = 0; cancelSprintingOnActivation = !agile; if (agile) { keywordTokens = new string[1] { "KEYWORD_AGILE" }; } if (slayer) { keywordTokens = new string[1] { "KEYWORD_SLAYER" }; } } } namespace UrgotMod { public class MenuSound : MonoBehaviour { private uint playID; private uint playID2; private void OnDestroy() { if (playID != 0) { AkSoundEngine.StopPlayingID(playID); } if (playID2 != 0) { AkSoundEngine.StopPlayingID(playID2); } } private void OnEnable() { ((MonoBehaviour)this).Invoke("PlayVO", 1f); ((MonoBehaviour)this).Invoke("PlaySFX", 0.05f); } private void PlayVO() { if (Config.voiceLines.Value) { UrgotPlugin.Logger.LogMessage((object)"menus voiceline null check"); playID = Util.PlaySound("menu", ((Component)this).gameObject); } } private void PlaySFX() { playID2 = Util.PlaySound("menuSFX", ((Component)this).gameObject); } } [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.*/)] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.DogWithWine.Urgot", "Urgot", "1.0.3")] public class UrgotPlugin : BaseUnityPlugin { public const string DEVELOPER_PREFIX = "URGOT"; public const string MODNAME = "Urgot"; public const string MODUID = "com.DogWithWine.Urgot"; public const string MODVERSION = "1.0.3"; public static UrgotPlugin instance; public static ModdedDamageType urgotDamage; internal List Survivors = new List(); internal static ManualLogSource Logger; private void Awake() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) Logger = ((BaseUnityPlugin)this).Logger; instance = this; try { urgotDamage = DamageAPI.ReserveDamageType(); Assets.Initialize(); Config.ReadConfig(); CameraParams.InitializeParams(); UrgotMod.Modules.States.RegisterStates(); Buffs.RegisterBuffs(); Projectiles.RegisterProjectiles(); Tokens.AddTokens(); ItemDisplays.PopulateDisplays(); new Urgot().Initialize(); Logger.LogMessage((object)"ok ik this one is kinda uneccessary"); new ContentPacks().Initialize(); ContentManager.onContentPacksAssigned += LateSetup; Hook(); } catch (Exception ex) { Logger.LogError((object)(ex.Message + " - " + ex.StackTrace)); } } private void Hook() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Expected O, but got Unknown //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Expected O, but got Unknown CharacterBody.RecalculateStats += new hook_RecalculateStats(CharacterBody_RecalculateStats); PickupPickerController.FixedUpdateServer += new hook_FixedUpdateServer(PickupPickerController_FixedUpdateServer); } private void Run_OnServerSceneChanged(orig_OnServerSceneChanged orig, Run self, string sceneName) { orig.Invoke(self, sceneName); foreach (PlayerCharacterMasterController instance in PlayerCharacterMasterController.instances) { CharacterBody body = instance.body.GetBody(); if (Object.op_Implicit((Object)(object)body.healthComponent)) { while (body.healthComponent.body.HasBuff(Buffs.executionTokenBuff)) { body.healthComponent.body.RemoveBuff(Buffs.executionTokenBuff); } } } } private void CharacterBody_RecalculateStats(orig_RecalculateStats orig, CharacterBody self) { orig.Invoke(self); if (Object.op_Implicit((Object)(object)self)) { float num = Mathf.Floor(self.level / 4f); if (self.HasBuff(Buffs.regenBuff)) { float num2 = self.GetBuffCount(Buffs.regenBuff); self.regen += num2 * (0.25f + num * 0.25f); } if (self.HasBuff(Buffs.lethalBuff)) { float num3 = self.GetBuffCount(Buffs.lethalBuff); self.attackSpeed += self.attackSpeed * (num3 * 0.1f); } if (self.HasBuff(Buffs.conquerorBuff)) { float num4 = self.GetBuffCount(Buffs.conquerorBuff); self.damage += num4 * (0.6f + num * 0.045f); } if (self.HasBuff(Buffs.movementSpeedBuff)) { self.moveSpeed += self.moveSpeed * (0.3f + num * 0.05f); } } } private void LateSetup(ReadOnlyArray obj) { } private void PickupPickerController_FixedUpdateServer(orig_FixedUpdateServer orig, PickupPickerController self) { //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) CharacterMaster currentParticipantMaster = self.networkUIPromptController.currentParticipantMaster; if (!Object.op_Implicit((Object)(object)currentParticipantMaster)) { return; } CharacterBody body = currentParticipantMaster.GetBody(); Interactor val = (Object.op_Implicit((Object)(object)body) ? ((Component)body).GetComponent() : null); if (Object.op_Implicit((Object)(object)body)) { Vector3 val2 = body.inputBank.aimOrigin - ((Component)self).transform.position; if (!((double)((Vector3)(ref val2)).sqrMagnitude > (Object.op_Implicit((Object)(object)val) ? Math.Pow(val.maxInteractionDistance + self.cutoffDistance, 2.0) : ((double)(self.cutoffDistance * self.cutoffDistance))))) { return; } } self.networkUIPromptController.SetParticipantMaster((CharacterMaster)null); } public void OnDestroy() { try { UnHooks(); } catch (Exception ex) { Logger.LogError((object)(ex.Message + " - " + ex.StackTrace)); } } private void UnHooks() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Expected O, but got Unknown //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Expected O, but got Unknown //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Expected O, but got Unknown CharacterBody.RecalculateStats -= new hook_RecalculateStats(CharacterBody_RecalculateStats); PickupPickerController.FixedUpdateServer -= new hook_FixedUpdateServer(PickupPickerController_FixedUpdateServer); Run.OnServerSceneChanged -= new hook_OnServerSceneChanged(Run_OnServerSceneChanged); } } } namespace UrgotMod.States { public class UrgotMain : GenericCharacterMain { private ChildLocator childLocator; private Animator animator; public LocalUser localUser; public override void OnEnter() { ((GenericCharacterMain)this).OnEnter(); childLocator = ((EntityState)this).GetModelChildLocator(); animator = ((EntityState)this).GetModelAnimator(); localUser = LocalUserManager.readOnlyLocalUsersList[0]; } public override void Update() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_005a: 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_00a2: Unknown result type (might be due to invalid IL or missing references) ((GenericCharacterMain)this).Update(); if (((EntityState)this).isAuthority && ((EntityState)this).characterMotor.isGrounded && !localUser.isUIFocused) { if (Input.GetKeyDown(Config.tauntKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Taunt(), (InterruptPriority)0); } else if (Input.GetKeyDown(Config.jokeKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Joke(), (InterruptPriority)0); } else if (Input.GetKeyDown(Config.laughKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Laugh(), (InterruptPriority)0); } else if (Input.GetKeyDown(Config.danceKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Dance(), (InterruptPriority)0); } } } public override void FixedUpdate() { ((GenericCharacterMain)this).FixedUpdate(); } public override void OnExit() { ((GenericCharacterMain)this).OnExit(); } } } namespace UrgotMod.States.Emotes { public class Dance : BaseEmote { private GameObject hat; public override void OnEnter() { animString = "Dance"; duration = 2.042f; soundString = "dance"; base.OnEnter(); if (!Object.op_Implicit((Object)(object)hat)) { hat = Object.Instantiate(Assets.mainAssetBundle.LoadAsset("hat")); } hat.SetActive(false); } public override void FixedUpdate() { //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0075: 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) base.FixedUpdate(); if (Object.op_Implicit((Object)(object)hat)) { hat.transform.parent = ((Component)((BaseState)this).FindModelChild("AttachObj")).transform; hat.transform.position = ((Component)((BaseState)this).FindModelChild("AttachObj")).transform.position; hat.transform.localPosition = new Vector3(0.1517885f, 0.1841809f, -0.1253804f); hat.transform.localRotation = Quaternion.Euler(-176.593f, 85.119f, -9.799011f); } if (((EntityState)this).fixedAge >= 2.042f && !hat.activeSelf) { hat.SetActive(true); } } public override void OnExit() { if (Object.op_Implicit((Object)(object)hat)) { EntityState.Destroy((Object)(object)hat.gameObject); } base.OnExit(); } } public class Joke : BaseEmote { private GameObject Joke1; public override void OnEnter() { animString = "Joke"; duration = 9.75f; soundString = "joke"; Util.PlaySound("jokeSFX", ((EntityState)this).gameObject); base.OnEnter(); if (!Object.op_Implicit((Object)(object)Joke1)) { Joke1 = Object.Instantiate(Assets.mainAssetBundle.LoadAsset("Joke1")); } Joke1.SetActive(false); } public override void FixedUpdate() { //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0075: 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) base.FixedUpdate(); if (Object.op_Implicit((Object)(object)Joke1)) { Joke1.transform.parent = ((Component)((BaseState)this).FindModelChild("AttachObj")).transform; Joke1.transform.position = ((Component)((BaseState)this).FindModelChild("AttachObj")).transform.position; Joke1.transform.localPosition = new Vector3(0.1517885f, 0.1841809f, -0.1253804f); Joke1.transform.localRotation = Quaternion.Euler(-176.593f, 85.119f, -9.799011f); } if (((EntityState)this).fixedAge >= 9.75f && !Joke1.activeSelf) { Joke1.SetActive(true); } } public override void OnExit() { if (Object.op_Implicit((Object)(object)Joke1)) { EntityState.Destroy((Object)(object)Joke1.gameObject); } base.OnExit(); } } public class Laugh : BaseEmote { public override void OnEnter() { animString = "Laugh"; duration = 3.667f; soundString = "laugh"; base.OnEnter(); } } public class Taunt : BaseEmote { public override void OnEnter() { animString = "Taunt"; duration = 4.708f; soundString = "religion"; base.OnEnter(); } } } namespace UrgotMod.SkillStates { public class CorrosiveCharge : BaseSkillState { public static float damageCoefficient = Config.corrosiveChargeDamageCoefficient.Value; public static float procCoefficient = Config.corrosiveChargeProcCoefficient.Value; public static float baseDuration = 1f; public static float throwForce = 150f; private float duration; private float fireTime; private bool hasFired; private Animator animator; private GameObject projectilePrefab; public override void OnEnter() { //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); duration = baseDuration / ((BaseState)this).attackSpeedStat; fireTime = 1f; ((BaseState)this).StartAimMode(duration, false); animator = ((EntityState)this).GetModelAnimator(); projectilePrefab = Projectiles.corrosiveChargePrefab; ((EntityState)this).PlayCrossfade("Gesture, Override", "CorrosiveCharge_fwd", "CorrosiveCharge.PlaybackRate", duration, 0.05f); ProjectileController component = projectilePrefab.GetComponent(); ProjectileDamage component2 = projectilePrefab.GetComponent(); projectilePrefab.GetComponent().playerTeamIndex = ((BaseState)this).GetTeam(); component2.damage = ((EntityState)this).characterBody.damage * Config.corrosiveChargeDamageCoefficient.Value; component2.force = throwForce; component.owner = ((EntityState)this).gameObject; component.procChainMask = default(ProcChainMask); Fire(); } public override void OnExit() { ((EntityState)this).OnExit(); } private void Fire() { if (!hasFired) { hasFired = true; Util.PlaySound("corrosiveCharge", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority) { FireCharge(); } } } private void FireCharge() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: 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_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Unknown result type (might be due to invalid IL or missing references) //IL_012e: 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_0135: Unknown result type (might be due to invalid IL or missing references) Ray aimRay = ((BaseState)this).GetAimRay(); if ((Object)(object)projectilePrefab != (Object)null) { bool crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master); ((EntityState)this).characterBody.AddSpreadBloom(1.5f); ((BaseState)this).AddRecoil(-1f * FireTazer.recoilAmplitude, -1.5f * FireTazer.recoilAmplitude, -0.25f * FireTazer.recoilAmplitude, 0.25f * FireTazer.recoilAmplitude); if (Object.op_Implicit((Object)(object)FireTazer.muzzleflashEffectPrefab)) { EffectManager.SimpleMuzzleFlash(LegacyResourcesAPI.Load("Prefabs/Effects/MuzzleFlashes/MuzzleflashLoader"), ((EntityState)this).gameObject, "LowerBarrel", false); } FireProjectileInfo val = default(FireProjectileInfo); val.projectilePrefab = projectilePrefab; val.position = ((Ray)(ref aimRay)).origin; val.rotation = Util.QuaternionSafeLookRotation(((Ray)(ref aimRay)).direction); val.procChainMask = default(ProcChainMask); val.target = null; val.owner = ((Component)((EntityState)this).characterBody).gameObject; val.damage = ((EntityState)this).characterBody.damage * damageCoefficient; val.crit = crit; val.force = 80f; val.damageColorIndex = (DamageColorIndex)4; FireProjectileInfo val2 = val; ProjectileManager.instance.FireProjectile(val2); } } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); ((EntityState)this).outer.SetNextStateToMain(); } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)2; } } public class Disdain : BaseSkillState { public bool willTransition; private List previousTargets = new List(); private static float missBaseDuration = 0.667f; private static float baseDuration = 0.667f; private float missDuration; private float duration; private bool missed; protected Vector3 dashVelocity; public float dashSpeed { get; private set; } public override void OnEnter() { //IL_004e: 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_005c: 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_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: 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_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); UrgotPlugin.Logger.LogMessage((object)"DisdainOnEnter"); willTransition = false; missed = true; duration = baseDuration / ((BaseState)this).attackSpeedStat; missDuration = missBaseDuration / ((BaseState)this).attackSpeedStat; Vector3 velocity = ((EntityState)this).characterMotor.velocity; Ray aimRay = ((BaseState)this).GetAimRay(); dashVelocity = velocity + ((Ray)(ref aimRay)).direction * 40f; ((EntityState)this).characterDirection.forward = ((Vector3)(ref ((EntityState)this).characterMotor.velocity)).normalized; ((BaseCharacterController)((EntityState)this).characterMotor).Motor.ForceUnground(0.1f); ((EntityState)this).characterMotor.disableAirControlUntilCollision = true; ((EntityState)this).characterMotor.velocity = dashVelocity; ((EntityState)this).GetModelAnimator().SetBoolString("mayDash", true); ((EntityState)this).PlayCrossfade("FullBody, Override", "Disdain_Move_fwd", "Disdain.PlaybackRate", duration, 0.05f); } public override void FixedUpdate() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); ((EntityState)this).characterMotor.velocity = dashVelocity; ((EntityState)this).characterDirection.forward = dashVelocity; ((EntityState)this).characterBody.isSprinting = true; AttemptGrab(); if (((EntityState)this).fixedAge >= duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } private void AttemptGrab() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //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_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: 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_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0107: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0113: 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_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0133: 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_0143: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_01d1: Unknown result type (might be due to invalid IL or missing references) //IL_01e1: Unknown result type (might be due to invalid IL or missing references) //IL_01e6: Unknown result type (might be due to invalid IL or missing references) //IL_01eb: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Unknown result type (might be due to invalid IL or missing references) //IL_01f3: Unknown result type (might be due to invalid IL or missing references) //IL_01f4: Unknown result type (might be due to invalid IL or missing references) //IL_0214: Unknown result type (might be due to invalid IL or missing references) //IL_0219: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_021e: Unknown result type (might be due to invalid IL or missing references) //IL_0223: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_022c: Unknown result type (might be due to invalid IL or missing references) //IL_0231: Unknown result type (might be due to invalid IL or missing references) //IL_0250: Unknown result type (might be due to invalid IL or missing references) //IL_0272: Unknown result type (might be due to invalid IL or missing references) //IL_028b: Unknown result type (might be due to invalid IL or missing references) //IL_02c5: Unknown result type (might be due to invalid IL or missing references) //IL_02cc: Expected O, but got Unknown //IL_02e1: Unknown result type (might be due to invalid IL or missing references) //IL_02e6: Unknown result type (might be due to invalid IL or missing references) //IL_02ed: Unknown result type (might be due to invalid IL or missing references) //IL_02f2: Unknown result type (might be due to invalid IL or missing references) //IL_02f7: Unknown result type (might be due to invalid IL or missing references) //IL_032a: Unknown result type (might be due to invalid IL or missing references) //IL_032f: Unknown result type (might be due to invalid IL or missing references) //IL_0337: Unknown result type (might be due to invalid IL or missing references) //IL_0340: 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_0351: Unknown result type (might be due to invalid IL or missing references) Ray aimRay = ((BaseState)this).GetAimRay(); BullseyeSearch val = new BullseyeSearch { teamMaskFilter = TeamMask.GetEnemyTeams(((BaseState)this).GetTeam()), filterByLoS = true, searchOrigin = ((EntityState)this).transform.position, searchDirection = ((Ray)(ref aimRay)).direction, sortMode = (SortMode)1, maxDistanceFilter = 6f, maxAngleFilter = 90f }; val.RefreshCandidates(); HurtBox val2 = val.GetResults().FirstOrDefault(); if (Object.op_Implicit((Object)(object)val2) && Object.op_Implicit((Object)(object)val2.healthComponent) && Object.op_Implicit((Object)(object)val2.healthComponent.body) && val2.healthComponent.body.isElite && !val2.healthComponent.body.isBoss) { ((EntityState)this).characterMotor.velocity = Vector3.zero; ((EntityState)this).characterBody.isSprinting = false; willTransition = true; ((EntityState)this).outer.SetNextState((EntityState)(object)new DisdainGrab()); missed = false; return; } BullseyeSearch val3 = new BullseyeSearch { teamMaskFilter = TeamMask.GetEnemyTeams(((BaseState)this).GetTeam()), filterByLoS = false, searchOrigin = ((EntityState)this).transform.position, searchDirection = ((Ray)(ref aimRay)).direction, sortMode = (SortMode)1, maxDistanceFilter = 7f, maxAngleFilter = 180f }; val3.RefreshCandidates(); val3.FilterOutGameObject(((EntityState)this).gameObject); HurtBox val4 = val3.GetResults().FirstOrDefault(); if (Object.op_Implicit((Object)(object)val4) && !previousTargets.Contains(((Component)val4).gameObject) && Object.op_Implicit((Object)(object)val4.healthComponent) && Object.op_Implicit((Object)(object)val4.healthComponent.body) && !val4.healthComponent.body.isElite) { Vector3 val5 = ((Component)val4).gameObject.transform.position - ((EntityState)this).gameObject.transform.position; float num = Vector3.SignedAngle(((Ray)(ref aimRay)).direction, val5, Vector3.up); Vector3 val6 = Vector3.Cross((num > 0f) ? (-((Ray)(ref aimRay)).direction) : ((Ray)(ref aimRay)).direction, Vector3.up); Vector3 normalized = ((Vector3)(ref val6)).normalized; UrgotPlugin.Logger.LogMessage((object)($"My Position:{((EntityState)this).gameObject.transform.position}, " + $"Enemy Position:{((Component)val4).gameObject.transform.position}, " + $"Facing Direction: {((Ray)(ref aimRay)).direction} " + "Is on the " + ((num > 0f) ? "right" : "left"))); DamageInfo val7 = new DamageInfo(); val7.damage = ((BaseState)this).damageStat * 2f; val7.force = Vector3.zero + normalized * 2000f; val7.procCoefficient = 1f; val7.crit = false; val7.inflictor = ((EntityState)this).gameObject; val7.position = ((EntityState)this).gameObject.transform.position; val7.damageColorIndex = (DamageColorIndex)0; val7.damageType = DamageTypeCombo.op_Implicit((DamageType)32); val7.procChainMask = default(ProcChainMask); val7.attacker = ((EntityState)this).gameObject; val4.healthComponent.TakeDamage(val7); val4.healthComponent.TakeDamageForce(val7, true, true); val4.healthComponent.body.AddBuff(Buffs.PermanentDebuff); val4.healthComponent.body.AddTimedBuff(Buffs.Poisoned, 60f); previousTargets.Add(((Component)val4).gameObject); } } public override void OnExit() { ((EntityState)this).OnExit(); UrgotPlugin.Logger.LogMessage((object)"DisdainOnExit"); ((EntityState)this).GetModelAnimator().SetBoolString("mayDash", false); if (missed) { ((EntityState)this).PlayCrossfade("FullBody, Override", "Disdain_Miss_fwd", "Disdain_Miss_fwd", missDuration, 0.05f); missed = false; } foreach (GameObject previousTarget in previousTargets) { UrgotPlugin.Logger.LogMessage((object)((previousTarget != null) ? ((Object)previousTarget).name : null)); } UrgotPlugin.Logger.LogMessage((object)previousTargets.Count); } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)1; } } public class DisdainGrab : BaseSkillState { public static float slamDamageCoefficient = Config.disdainDamageCoefficient.Value; public static float slamProcCoefficient = 1f; protected Animator animator; private UrgotGrabController grabController; private static float baseDuration = 0.833f; private float duration; private float initialTime; private bool hasGrabbed; private bool hasTurned; private HurtBox saveHurtbox; public override void OnEnter() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); hasTurned = false; UrgotPlugin.Logger.LogMessage((object)"GrabOnEnter"); duration = baseDuration / ((BaseState)this).attackSpeedStat; ((EntityState)this).PlayCrossfade("FullBody, Override", "Disdain_Grab_fwd", "DisdainGrab.PlaybackRate", baseDuration, 0.05f); CharacterBody characterBody = ((EntityState)this).characterBody; characterBody.bodyFlags = (BodyFlags)(characterBody.bodyFlags | 1); ((EntityState)this).gameObject.layer = LayerIndex.fakeActor.intVal; ((BaseCharacterController)((EntityState)this).characterMotor).Motor.RebuildCollidableLayers(); } public override void Update() { ((EntityState)this).Update(); } public override void FixedUpdate() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_003e: 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) ((EntityState)this).FixedUpdate(); if (!hasGrabbed) { AttemptGrab(); } if (((EntityState)this).fixedAge >= baseDuration / 2f && !hasTurned) { CharacterDirection characterDirection = ((EntityState)this).characterDirection; Ray aimRay = ((BaseState)this).GetAimRay(); characterDirection.forward = -((Ray)(ref aimRay)).direction; hasTurned = true; } if (((EntityState)this).fixedAge >= baseDuration && ((EntityState)this).isAuthority && hasGrabbed) { ((EntityState)this).outer.SetNextStateToMain(); } } public void AttemptGrab() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: 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_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0159: Expected O, but got Unknown //IL_01b6: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01ca: Unknown result type (might be due to invalid IL or missing references) //IL_01cf: 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) if (Object.op_Implicit((Object)(object)grabController)) { return; } Ray aimRay = ((BaseState)this).GetAimRay(); BullseyeSearch val = new BullseyeSearch { teamMaskFilter = TeamMask.GetEnemyTeams(((BaseState)this).GetTeam()), filterByLoS = true, searchOrigin = ((EntityState)this).transform.position, searchDirection = ((Ray)(ref aimRay)).direction, sortMode = (SortMode)1, maxDistanceFilter = 8f, maxAngleFilter = 90f }; val.RefreshCandidates(); val.FilterOutGameObject(((EntityState)this).gameObject); HurtBox val2 = val.GetResults().FirstOrDefault(); if (Object.op_Implicit((Object)(object)val2)) { UrgotPlugin.Logger.LogMessage((object)((Component)val2).gameObject); if (Object.op_Implicit((Object)(object)val2.healthComponent) && Object.op_Implicit((Object)(object)val2.healthComponent.body) && (val2.healthComponent.body.isElite || !val2.healthComponent.body.isBoss)) { grabController = ((Component)val2.healthComponent.body).gameObject.AddComponent(); grabController.pivotTransform = ((BaseState)this).FindModelChild("AttatchObj"); grabController.baseTransform = ((BaseState)this).FindModelChild("MidCon"); grabController.baseScale = ((EntityState)this).gameObject.transform.lossyScale; DamageInfo val3 = new DamageInfo(); val3.damage = ((BaseState)this).damageStat * slamDamageCoefficient; val3.procCoefficient = slamProcCoefficient; val3.crit = Util.CheckRoll(((BaseState)this).critStat, ((EntityState)this).characterBody.master); val3.attacker = ((EntityState)this).gameObject; val3.inflictor = ((EntityState)this).gameObject; val3.position = ((EntityState)this).gameObject.transform.position; val3.damageColorIndex = (DamageColorIndex)0; val3.damageType = DamageTypeCombo.op_Implicit((DamageType)32); val3.procChainMask = default(ProcChainMask); val2.healthComponent.TakeDamage(val3); val2.healthComponent.body.AddBuff(Buffs.Weak); hasGrabbed = true; saveHurtbox = val2; } if (NetworkServer.active && !((EntityState)this).characterBody.HasBuff(Buffs.HiddenInvincibility)) { ((EntityState)this).characterBody.AddBuff(Buffs.HiddenInvincibility); } } } public override void OnExit() { //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).OnExit(); UrgotPlugin.Logger.LogMessage((object)"GrabOnExit"); Util.PlaySound("disdain_slam", ((Component)saveHurtbox).gameObject); if (Object.op_Implicit((Object)(object)grabController)) { grabController.Release(); } ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); CharacterBody characterBody = ((EntityState)this).characterBody; characterBody.bodyFlags = (BodyFlags)(characterBody.bodyFlags & -2); if (NetworkServer.active && ((EntityState)this).characterBody.HasBuff(Buffs.HiddenInvincibility)) { ((EntityState)this).characterBody.RemoveBuff(Buffs.HiddenInvincibility); } ((EntityState)this).gameObject.layer = LayerIndex.defaultLayer.intVal; ((BaseCharacterController)((EntityState)this).characterMotor).Motor.RebuildCollidableLayers(); hasTurned = false; } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)1; } } public class DisdainWindup : BaseSkillState { public float duration; private Animator animator; private float baseDuration = 0.5f; public override void OnEnter() { ((BaseState)this).OnEnter(); UrgotPlugin.Logger.LogMessage((object)"WindupOnEnter"); animator = ((EntityState)this).GetModelAnimator(); duration = baseDuration / ((BaseState)this).attackSpeedStat; ((EntityState)this).healthComponent.AddBarrierAuthority(((EntityState)this).healthComponent.fullBarrier * 0.25f); Util.PlaySound("DisdainStart", ((EntityState)this).gameObject); Util.PlaySound("DisdainShield", ((EntityState)this).gameObject); ((EntityState)this).PlayAnimation("FullBody, Override", "Disdain_Start_fwd", "Disdain.PlaybackRate", duration, 0f); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (((EntityState)this).fixedAge > duration) { ((EntityState)this).outer.SetNextState((EntityState)(object)new Disdain()); } } public override void OnExit() { ((EntityState)this).OnExit(); UrgotPlugin.Logger.LogMessage((object)"WindupOnExit"); } } public class UrgotDragController : MonoBehaviour { public float executionTime; public GameObject attacker; public bool authority; public Vector3 scaleReference; private HealthComponent healthComponentC; private CapsuleCollider capsuleCollider; private CharacterDirection direction; private ModelLocator modelLocator; private Transform modelTransform; private CharacterMotor motor; private Quaternion originalRotation; private SphereCollider sphereCollider; private Vector3 startPosition; private Vector3 currentPosition; private DamageInfo damageInfo; private ProjectileStickOnImpact ProjectileStickOnImpactC; private float scaleFractionx; private float scaleFractiony; private float scaleFractionz; private float deathTimer; private float elapsedTime; private void Awake() { //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) motor = ((Component)this).GetComponent(); modelLocator = ((Component)this).GetComponent(); direction = ((Component)this).GetComponent(); sphereCollider = ((Component)this).GetComponent(); capsuleCollider = ((Component)this).GetComponent(); healthComponentC = ((Component)this).GetComponent(); ProjectileStickOnImpactC = ((Component)this).GetComponent(); startPosition = ((Component)this).transform.position; currentPosition = startPosition; authority = false; if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = false; } if (Object.op_Implicit((Object)(object)capsuleCollider)) { ((Collider)capsuleCollider).enabled = false; } if (Object.op_Implicit((Object)(object)sphereCollider)) { ((Collider)sphereCollider).enabled = false; } if (Object.op_Implicit((Object)(object)modelLocator) && Object.op_Implicit((Object)(object)modelLocator.modelTransform)) { modelTransform = modelLocator.modelTransform; originalRotation = modelTransform.rotation; if (((Object)((Component)modelLocator).gameObject).name == "GreaterWispBody(Clone)") { modelLocator.dontReleaseModelOnDeath = true; modelLocator.dontDetatchFromParent = true; } ((Behaviour)modelLocator).enabled = false; } } private void Start() { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) executionTime = attacker.GetComponent().eTime; scaleFractiony = ((Component)this).transform.lossyScale.y * 0.05f; scaleFractionx = ((Component)this).transform.lossyScale.x * 0.05f; scaleFractionz = ((Component)this).transform.lossyScale.z * 0.05f; executionTime *= 0.6f; deathTimer = executionTime; elapsedTime = 0f; scaleReference = new Vector3(5f, 0f, 0f); } public void Release() { //IL_002d: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)modelLocator)) { ((Behaviour)modelLocator).enabled = true; } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.rotation = originalRotation; } if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = true; } if (Object.op_Implicit((Object)(object)capsuleCollider)) { ((Collider)capsuleCollider).enabled = true; } if (Object.op_Implicit((Object)(object)sphereCollider)) { ((Collider)sphereCollider).enabled = true; } Object.Destroy((Object)(object)this); } private void FixedUpdate() { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_0122: 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_0132: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_0180: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Unknown result type (might be due to invalid IL or missing references) if (attacker.GetComponent().mayExecute) { Vector3 val = ((Component)this).transform.position; _ = Vector3.oneVector; if (Object.op_Implicit((Object)(object)attacker.transform)) { currentPosition = ((Component)this).transform.position; val = CalculateNextPos(elapsedTime, currentPosition); } else { UrgotPlugin.Logger.LogWarning((object)$"base transform ({attacker.transform}) is null"); Release(); } if (Object.op_Implicit((Object)(object)motor)) { motor.disableAirControlUntilCollision = true; motor.velocity = Vector3.zero; motor.rootMotion = Vector3.zero; ((BaseCharacterController)motor).Motor.SetPosition(val, true); } ((Component)this).transform.position = val; if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.position = val; modelTransform.rotation = originalRotation; } deathTimer -= Time.fixedDeltaTime; Vector3 val2 = attacker.transform.position - ((Component)this).transform.position; if (((Vector3)(ref val2)).magnitude <= ((Vector3)(ref scaleReference)).magnitude || deathTimer <= 0f) { Execute(); return; } ManualLogSource logger = UrgotPlugin.Logger; val2 = attacker.transform.position - ((Component)this).transform.position; logger.LogMessage((object)$"remaining distance: {((Vector3)(ref val2)).magnitude}, scaleReference.magnitude {((Vector3)(ref scaleReference)).magnitude}"); } } private Vector3 CalculateNextPos(float elapsedTime, Vector3 cPos) { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) float val = elapsedTime / (executionTime / Time.fixedDeltaTime); elapsedTime += Time.fixedDeltaTime; return Vector3.Lerp(cPos, attacker.transform.position, Math.Min(val, 1f)); } private void Execute() { MakeDmgInfo(healthComponentC.fullCombinedHealth); healthComponentC.TakeDamage(damageInfo); attacker.GetComponent().canActivateNoMercy = false; } private void MakeDmgInfo(float h) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Expected O, but got Unknown //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Unknown result type (might be due to invalid IL or missing references) damageInfo = new DamageInfo(); damageInfo.damage = CheckForCoolestNumber(h); damageInfo.damageColorIndex = (DamageColorIndex)13; damageInfo.procCoefficient = 1f; damageInfo.crit = false; damageInfo.inflictor = ((Component)this).gameObject; damageInfo.position = ((Component)this).gameObject.transform.position; damageInfo.damageType = DamageTypeCombo.op_Implicit((DamageType)262144); damageInfo.procChainMask = default(ProcChainMask); damageInfo.attacker = attacker; } private float CheckForCoolestNumber(float h) { int num = 9999; while (h > (float)num) { num *= 10; num += 9; } return num; } } public class FBD : BaseSkillState { public static float damageCoefficient = Config.FBDDamageCoefficient.Value; public static float procCoefficient = Config.FBDProcCoefficient.Value; public static float baseDuration = 1.5f; private float duration; private float fireTime; private bool hasFired; private Animator animator; private GameObject projectilePrefab; public override void OnEnter() { //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_0133: 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_014d: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); hasFired = false; duration = baseDuration / ((BaseState)this).attackSpeedStat; fireTime = 1f; ((BaseState)this).StartAimMode(duration, false); animator = ((EntityState)this).GetModelAnimator(); projectilePrefab = Projectiles.drillPrefab; ((EntityState)this).PlayCrossfade("FullBody, Override", "FBD_Start_fwd", "FBDStart.PlaybackRate", duration, 0.05f); if (Config.voiceLines.Value) { Util.PlaySound("FBD", ((EntityState)this).gameObject); } Util.PlaySound("FBDLaunch", ((EntityState)this).gameObject); ProjectileController component = projectilePrefab.GetComponent(); ProjectileDamage component2 = projectilePrefab.GetComponent(); ExecutionHandler component3 = projectilePrefab.GetComponent(); component2.damage = ((EntityState)this).characterBody.damage * damageCoefficient; component2.force = 0f; component.owner = ((EntityState)this).gameObject; component.procChainMask = default(ProcChainMask); component3.attacker = ((EntityState)this).gameObject; component3.stack = ((EntityState)this).characterBody.GetBuffCount(Buffs.executionTokenBuff); component3.healthComponentC = ((EntityState)this).healthComponent; component3.refVector = ((BaseState)this).FindModelChild("MeaterA").position - ((BaseState)this).FindModelChild("MeaterB").position; } private void Fire() { if (((EntityState)this).isAuthority) { FireCharge(); } } private void FireCharge() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: 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_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00da: 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_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: 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_0148: Unknown result type (might be due to invalid IL or missing references) //IL_014d: Unknown result type (might be due to invalid IL or missing references) //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) Ray aimRay = ((BaseState)this).GetAimRay(); if ((Object)(object)projectilePrefab != (Object)null) { bool crit = Util.CheckRoll(((EntityState)this).characterBody.crit, ((EntityState)this).characterBody.master); ((EntityState)this).characterBody.AddSpreadBloom(1.5f); ((BaseState)this).AddRecoil(-1f * FireTazer.recoilAmplitude, -1.5f * FireTazer.recoilAmplitude, -0.25f * FireTazer.recoilAmplitude, 0.25f * FireTazer.recoilAmplitude); if (Object.op_Implicit((Object)(object)LegacyResourcesAPI.Load("Prefabs/Effects/MuzzleFlashes/MuzzleflashBFG"))) { EffectManager.SimpleMuzzleFlash(LegacyResourcesAPI.Load("Prefabs/Effects/MuzzleFlashes/MuzzleflashBFG"), ((EntityState)this).gameObject, "MidCon", false); } FireProjectileInfo val = default(FireProjectileInfo); val.projectilePrefab = projectilePrefab; _ = ((BaseState)this).FindModelChild("MidCon").position; val.position = ((BaseState)this).FindModelChild("MidCon").position; val.rotation = Util.QuaternionSafeLookRotation(((Ray)(ref aimRay)).direction); val.procChainMask = default(ProcChainMask); val.target = null; val.owner = ((Component)((EntityState)this).characterBody).gameObject; val.damage = ((EntityState)this).characterBody.damage * damageCoefficient; val.crit = crit; val.force = 80f; val.damageColorIndex = (DamageColorIndex)0; FireProjectileInfo val2 = val; ProjectileManager.instance.FireProjectile(val2); } } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (((EntityState)this).fixedAge >= baseDuration / 3f && !hasFired) { Fire(); hasFired = true; } if (((EntityState)this).fixedAge >= baseDuration) { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { ((EntityState)this).OnExit(); } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)2; } } public class UrgotGrabController : MonoBehaviour { public Transform pivotTransform; public Transform baseTransform; public Vector3 baseScale; private CapsuleCollider capsuleCollider; private CharacterDirection direction; private ModelLocator modelLocator; private Transform modelTransform; private CharacterMotor motor; private Quaternion originalRotation; private SphereCollider sphereCollider; public void Release() { //IL_002d: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)modelLocator)) { ((Behaviour)modelLocator).enabled = true; } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.rotation = originalRotation; } if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = true; } if (Object.op_Implicit((Object)(object)capsuleCollider)) { ((Collider)capsuleCollider).enabled = true; } if (Object.op_Implicit((Object)(object)sphereCollider)) { ((Collider)sphereCollider).enabled = true; } Object.Destroy((Object)(object)this); } private void Awake() { //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_00c3: Unknown result type (might be due to invalid IL or missing references) motor = ((Component)this).GetComponent(); direction = ((Component)this).GetComponent(); modelLocator = ((Component)this).GetComponent(); capsuleCollider = ((Component)this).GetComponent(); sphereCollider = ((Component)this).GetComponent(); if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = false; } if (Object.op_Implicit((Object)(object)capsuleCollider)) { ((Collider)capsuleCollider).enabled = false; } if (Object.op_Implicit((Object)(object)sphereCollider)) { ((Collider)sphereCollider).enabled = false; } if (Object.op_Implicit((Object)(object)modelLocator) && Object.op_Implicit((Object)(object)modelLocator.modelTransform)) { modelTransform = modelLocator.modelTransform; originalRotation = modelTransform.rotation; if (((Object)((Component)modelLocator).gameObject).name == "GreaterWispBody(Clone)") { modelLocator.dontReleaseModelOnDeath = true; modelLocator.dontDetatchFromParent = true; } ((Behaviour)modelLocator).enabled = false; } } private void FixedUpdate() { //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: 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_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_0077: 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_0081: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: 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_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_011c: Unknown result type (might be due to invalid IL or missing references) //IL_012e: Unknown result type (might be due to invalid IL or missing references) Vector3 val2; if (Object.op_Implicit((Object)(object)pivotTransform) && Object.op_Implicit((Object)(object)baseTransform)) { float num = Mathf.Max(((Component)this).gameObject.transform.lossyScale.y / baseScale.y, 1f); Vector3 val = pivotTransform.position - baseTransform.position; Vector3 normalized = ((Vector3)(ref val)).normalized; val2 = pivotTransform.position + normalized * num; } else { val2 = ((Component)this).transform.position; } if (Object.op_Implicit((Object)(object)motor)) { motor.disableAirControlUntilCollision = true; motor.velocity = Vector3.zero; motor.rootMotion = Vector3.zero; ((BaseCharacterController)motor).Motor.SetPosition(val2, true); } if (Object.op_Implicit((Object)(object)pivotTransform) && Object.op_Implicit((Object)(object)baseTransform)) { ((Component)this).transform.position = val2; } else { Release(); } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.position = val2; modelTransform.rotation = pivotTransform.rotation; } } } internal class NoMercy : BaseSkillState { public float duration; private FBDSkillOverrideController fBDSkillOverrideControllerC; private readonly float baseDuration = 5f; private Animator animator; private float t = 1.5f; public override void OnEnter() { ((BaseState)this).OnEnter(); duration = baseDuration / ((BaseState)this).attackSpeedStat; t = duration * 0.3f; UrgotPlugin.Logger.LogMessage((object)$"attackSpeedStat: {((BaseState)this).attackSpeedStat}, this.duration:{duration}"); fBDSkillOverrideControllerC = ((EntityState)this).gameObject.GetComponent(); fBDSkillOverrideControllerC.eTime = duration; fBDSkillOverrideControllerC.mayExecute = true; animator = ((EntityState)this).GetModelAnimator(); ((EntityState)this).PlayAnimation("Gesture, Override", "FBD_execute"); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (((EntityState)this).fixedAge >= duration) { fBDSkillOverrideControllerC.canActivateNoMercy = false; fBDSkillOverrideControllerC.mayExecute = false; } t -= Time.fixedDeltaTime; if (t <= 0f) { ((EntityState)this).outer.SetNextStateToMain(); } } public override void OnExit() { ((EntityState)this).OnExit(); } } } namespace UrgotMod.SkillStates.Keystone { public class ElectrocuteHandler : MonoBehaviour { public CharacterBody attackerBody; public float electrocuteCD = 5f; public float stopwatch; private static readonly int maxElectrocuteStacks = 3; private CharacterBody body; private int electrocuteStacks; private bool fired; private HurtBox hurtBox; public void AddStack() { //IL_0020: Unknown result type (might be due to invalid IL or missing references) if (GetStacks() < maxElectrocuteStacks && !fired) { body.AddTimedBuff(Buffs.electrocuteDebuff.buffIndex, 3f); GetStacks(); } } public int GetStacks() { electrocuteStacks = body.GetBuffCount(Buffs.electrocuteDebuff); return electrocuteStacks; } public void SetStacks(int num) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) body.SetBuffCount(Buffs.electrocuteDebuff.buffIndex, num); GetStacks(); } private void Awake() { body = ((Component)this).GetComponent(); hurtBox = body.mainHurtBox; AddStack(); } private void FireLightning() { //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005d: 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_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Expected O, but got Unknown if (GetStacks() >= maxElectrocuteStacks) { SetStacks(0); fired = true; float num = Mathf.Floor(attackerBody.level / 4f); if (Object.op_Implicit((Object)(object)hurtBox)) { float num2 = 6f + num * 0.75f; OrbManager.instance.AddOrb((Orb)new SimpleLightningStrikeOrb { attacker = ((Component)attackerBody).gameObject, damageColorIndex = (DamageColorIndex)3, damageValue = attackerBody.damage * num2, isCrit = Util.CheckRoll(attackerBody.crit, attackerBody.master), procChainMask = default(ProcChainMask), procCoefficient = 1f, target = hurtBox }); } } } private void FixedUpdate() { if (!fired && NetworkServer.active) { FireLightning(); } if (stopwatch < electrocuteCD) { stopwatch += Time.fixedDeltaTime; } if (stopwatch >= electrocuteCD) { Object.Destroy((Object)(object)this); } } } public class KeyStoneHandler : NetworkBehaviour, IOnDamageDealtServerReceiver, IOnTakeDamageServerReceiver { public enum KeyStones { None = 0, Conqueror = 1, Lethal = 2, PhaseRush = 4, Electrocute = 8 } public float conquerorMaxStacks = 12f; [FormerlySerializedAs("Keystone")] public GenericSkill keyStone; public KeyStones keyStoneType; public float lethalMaxStacks = 6f; public float UptimeStopwatch; private CharacterBody body; private float conquerorUpTime = 4f; private HealthComponent healthComponent; private float lethalUpTime = 6f; private float MaxthrottleTime = 0.5f; private EntityStateMachine outer; private float throttleUpdateTime; protected bool isAuthority => Util.HasEffectiveAuthority(outer.networkIdentity); public void Awake() { body = ((Component)this).GetComponent(); outer = ((Component)this).GetComponent(); healthComponent = ((Component)this).GetComponent(); GlobalEventManager.onCharacterDeathGlobal += GlobalEventManager_onCharacterDeathGlobal; } private void GlobalEventManager_onCharacterDeathGlobal(DamageReport damageReport) { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Invalid comparison between Unknown and I4 if (damageReport != null && damageReport.victimBody != null && damageReport.attackerBody != null && (int)damageReport.victimTeamIndex != 1 && damageReport.attackerBody.GetBuffCount(Buffs.movementSpeedBuff) < 1 && damageReport.attackerBody.baseNameToken == "URGOT_NAME" && ((Component)damageReport.attackerBody).GetComponent().keyStoneType == KeyStones.PhaseRush) { damageReport.attackerBody.AddTimedBuff(Buffs.movementSpeedBuff, 3f); } } public void OnDamageDealtServer(DamageReport damageReport) { //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0142: 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) if (damageReport == null || !Object.op_Implicit((Object)(object)damageReport.victimBody) || !Object.op_Implicit((Object)(object)damageReport.attacker) || !(damageReport.attackerBody.baseNameToken == "URGOT_NAME") || !DamageAPI.HasModdedDamageType(damageReport.damageInfo, UrgotPlugin.urgotDamage)) { return; } UptimeStopwatch = 0f; if (keyStoneType == KeyStones.PhaseRush) { if (damageReport.victimBody.GetBuffCount(Buffs.phaseRushDebuff) < 3) { damageReport.victimBody.AddTimedBuff(Buffs.phaseRushDebuff, 4f); } if (damageReport.victimBody.GetBuffCount(Buffs.phaseRushDebuff) >= 3 && body.GetBuffCount(Buffs.movementSpeedBuff) < 1) { body.AddTimedBuff(Buffs.movementSpeedBuff, 3f); } } if (keyStoneType == KeyStones.Electrocute) { ElectrocuteHandler component = ((Component)damageReport.victimBody).gameObject.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { ((Component)damageReport.victimBody).gameObject.AddComponent().attackerBody = damageReport.attackerBody; } else { component.AddStack(); } } AddKeyStoneBuff(); if (keyStoneType == KeyStones.Conqueror && GetKeyStoneBuffCount() >= GetKeyStoneMaxStacks()) { float num = damageReport.damageDealt * 0.06f; healthComponent.Heal(num, default(ProcChainMask), true); } } public void OnTakeDamageServer(DamageReport damageReport) { } private void AddKeyStoneBuff() { if (GetKeyStoneBuffCount() < GetKeyStoneMaxStacks()) { if (keyStoneType == KeyStones.Conqueror) { body.AddBuff(Buffs.conquerorBuff); } if (keyStoneType == KeyStones.Lethal) { body.AddBuff(Buffs.lethalBuff); } } } private void AuthorityFixedUpdate() { } private void CheckKeyStone() { if (keyStone.skillNameToken == "URGOT_CONQUEROR_NAME") { keyStoneType = KeyStones.Conqueror; } if (keyStone.skillNameToken == "URGOT_LETHAL_NAME") { keyStoneType = KeyStones.Lethal; } if (keyStone.skillNameToken == "URGOT_PHASE_RUSH_NAME") { keyStoneType = KeyStones.PhaseRush; } if (keyStone.skillNameToken == "URGOT_ELECTROCUTE_NAME") { keyStoneType = KeyStones.Electrocute; } } private void FixedUpdate() { if (NetworkServer.active) { ServerFixedUpdate(); } if (isAuthority) { AuthorityFixedUpdate(); } } private float GetKeyStoneBuffCount() { if (keyStoneType == KeyStones.Conqueror) { return body.GetBuffCount(Buffs.conquerorBuff); } if (keyStoneType == KeyStones.Lethal) { return body.GetBuffCount(Buffs.lethalBuff); } return 0f; } private float GetKeyStoneMaxStacks() { if (keyStoneType == KeyStones.Conqueror) { return conquerorMaxStacks; } if (keyStoneType == KeyStones.Lethal) { return lethalMaxStacks; } return 6f; } private float GetKeyStoneUpTime() { if (keyStoneType == KeyStones.Conqueror) { return conquerorUpTime; } if (keyStoneType == KeyStones.Lethal) { return lethalUpTime; } return 5f; } private void RemoveKeyStoneBuff() { if (keyStoneType == KeyStones.Conqueror) { body.RemoveBuff(Buffs.conquerorBuff); } if (keyStoneType == KeyStones.Lethal) { body.RemoveBuff(Buffs.lethalBuff); } } private void ServerFixedUpdate() { if (UptimeStopwatch < GetKeyStoneUpTime()) { UptimeStopwatch += Time.fixedDeltaTime; } if (throttleUpdateTime < MaxthrottleTime) { throttleUpdateTime += Time.fixedDeltaTime; } if (throttleUpdateTime >= MaxthrottleTime && UptimeStopwatch > GetKeyStoneUpTime() && GetKeyStoneBuffCount() > 0f) { RemoveKeyStoneBuff(); throttleUpdateTime = 0f; } if (GetKeyStoneBuffCount() <= 0f) { UptimeStopwatch = 0f; } } private void Update() { CheckKeyStone(); } } } namespace UrgotMod.SkillStates.Emotes { public class BaseEmote : BaseState { public string soundString; public string animString; public float duration; public float animDuration; public bool normalizeModel; private uint activePlayID; private Animator animator; protected ChildLocator childLocator; private CameraParamsOverrideHandle handle; public LocalUser localUser; public override void OnEnter() { //IL_015c: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); animator = ((EntityState)this).GetModelAnimator(); childLocator = ((EntityState)this).GetModelChildLocator(); localUser = LocalUserManager.readOnlyLocalUsersList[0]; ((EntityState)this).characterBody.hideCrosshair = true; if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = false; } animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 0f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 0f); if (animDuration == 0f && duration != 0f) { animDuration = duration; } if (duration > 0f) { ((EntityState)this).PlayAnimation("FullBody, Override", animString, "Emote.playbackRate", duration, 0f); } else { ((EntityState)this).PlayAnimation("FullBody, Override", animString, "Emote.playbackRate", animDuration, 0f); } if (Config.voiceLines.Value) { activePlayID = Util.PlaySound(soundString, ((EntityState)this).gameObject); } if (normalizeModel && Object.op_Implicit((Object)(object)((EntityState)this).modelLocator)) { ((EntityState)this).modelLocator.normalizeToFloor = true; } handle = CameraParams.OverrideUrgotCameraParams(((EntityState)this).cameraTargetParams, UrgotCameraParams.EMOTE); } public override void OnExit() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).OnExit(); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(handle, 0.2f); if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = true; } if (Object.op_Implicit((Object)(object)animator)) { animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 1f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 1f); } if (normalizeModel && Object.op_Implicit((Object)(object)((EntityState)this).modelLocator)) { ((EntityState)this).modelLocator.normalizeToFloor = false; } ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); if (activePlayID != 0) { AkSoundEngine.StopPlayingID(activePlayID); } } public override void FixedUpdate() { //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: 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_013f: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); bool flag = false; if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor)) { if (!((EntityState)this).characterMotor.isGrounded) { flag = true; } if (((EntityState)this).characterMotor.velocity != Vector3.zero) { flag = true; } } if (Object.op_Implicit((Object)(object)((EntityState)this).inputBank)) { if (((EntityState)this).inputBank.skill1.down) { flag = true; } if (((EntityState)this).inputBank.skill2.down) { flag = true; } if (((EntityState)this).inputBank.skill3.down) { flag = true; } if (((EntityState)this).inputBank.skill4.down) { flag = true; } if (((EntityState)this).inputBank.jump.down) { flag = true; } if (((EntityState)this).inputBank.moveVector != Vector3.zero) { flag = true; } } if (((EntityState)this).isAuthority && ((EntityState)this).characterMotor.isGrounded && !localUser.isUIFocused) { if (Input.GetKeyDown(Config.tauntKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Taunt(), (InterruptPriority)0); return; } if (Input.GetKeyDown(Config.jokeKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Joke(), (InterruptPriority)0); return; } if (Input.GetKeyDown(Config.laughKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Laugh(), (InterruptPriority)0); return; } if (Input.GetKeyDown(Config.danceKeybind.Value)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Dance(), (InterruptPriority)0); return; } } if (duration > 0f && ((EntityState)this).fixedAge >= duration) { flag = true; } if (flag) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)0; } } } namespace UrgotMod.SkillStates.BaseStates { internal class Death : GenericCharacterDeath { public override void FixedUpdate() { ((GenericCharacterDeath)this).FixedUpdate(); } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)7; } public override void OnEnter() { ((GenericCharacterDeath)this).OnEnter(); Util.PlaySound("Death", ((EntityState)this).gameObject); Animator modelAnimator = ((EntityState)this).GetModelAnimator(); if (Object.op_Implicit((Object)(object)modelAnimator)) { modelAnimator.CrossFadeInFixedTime("Death", 0.1f); } } public override void OnExit() { ((GenericCharacterDeath)this).OnExit(); } } public class Purge : BaseSkillState { public static float damageCoefficient = Config.purgeDamageCoefficient.Value; public static float procCoefficientV = Config.purgeProcCoefficient.Value; public static float baseDuration = 0.2f; public static float force = 800f; public static float recoil = 1.1f; public static float range = 200f; public static GameObject tracerEffectPrefab = Assets.purgeTracer; private Animator animator; private float duration; private float fireTime; private float bulletStopWatch; private int bulletCount = 3; private bool hasFired; private bool hasHit; private string muzzleString; private Ray aimRay; private static float spreadBloomAngel = 0.3f; private void PlaySound() { Util.PlaySound("firing", ((EntityState)this).gameObject); } private void FireBullet(string targetMuzzle) { //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: 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_00ee: 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_0100: 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_0127: Unknown result type (might be due to invalid IL or missing references) //IL_0132: 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_0144: Unknown result type (might be due to invalid IL or missing references) //IL_0145: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_014f: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Expected O, but got Unknown //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_016c: Unknown result type (might be due to invalid IL or missing references) //IL_0172: Unknown result type (might be due to invalid IL or missing references) Util.PlaySound("purge", ((EntityState)this).gameObject); ((Component)((EntityState)this).characterBody).GetComponent(typeof(CharacterBody)); EffectManager.SimpleMuzzleFlash(FirePistol2.muzzleEffectPrefab, ((EntityState)this).gameObject, targetMuzzle, false); ((BaseState)this).AddRecoil(-0.4f * recoil, -0.8f * recoil, -0.3f * recoil, 0.3f * recoil); if (((EntityState)this).isAuthority) { new BulletAttack { owner = ((EntityState)this).gameObject, weapon = ((EntityState)this).gameObject, origin = ((Ray)(ref aimRay)).origin, aimVector = ((Ray)(ref aimRay)).direction, minSpread = 0f, maxSpread = ((EntityState)this).characterBody.spreadBloomAngle, damage = damageCoefficient * ((BaseState)this).damageStat, force = force, tracerEffectPrefab = tracerEffectPrefab, muzzleName = targetMuzzle, hitEffectPrefab = FirePistol2.hitEffectPrefab, isCrit = Util.CheckRoll(((BaseState)this).critStat, ((EntityState)this).characterBody.master), radius = 0.1f, smartCollision = true, trajectoryAimAssistMultiplier = 1f, damageType = DamageTypeCombo.GenericPrimary, hitCallback = new HitCallback(BulletHitCallback), procCoefficient = procCoefficientV, procChainMask = default(ProcChainMask) }.Fire(); } ((EntityState)this).characterBody.AddSpreadBloom(spreadBloomAngel); } private bool BulletHitCallback(BulletAttack bulletAttack, ref BulletHit hitInfo) { //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) bool result = BulletAttack.defaultHitCallback.Invoke(bulletAttack, ref hitInfo); HealthComponent val = (Object.op_Implicit((Object)(object)hitInfo.hitHurtBox) ? hitInfo.hitHurtBox.healthComponent : null); if (Object.op_Implicit((Object)(object)val) && val.alive && hitInfo.hitHurtBox.teamIndex != ((EntityState)this).teamComponent.teamIndex) { hasHit = true; PointSoundManager.EmitSoundLocal(AkEventIdArg.op_Implicit(NetworkSoundEventCatalog.GetAkIdFromNetworkSoundEventIndex(Assets.bulletHitSoundEvent.index)), ((Component)hitInfo.hitHurtBox).transform.position); } return result; } public override void OnEnter() { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: 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_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); duration = baseDuration / ((BaseState)this).attackSpeedStat; aimRay = ((BaseState)this).GetAimRay(); animator = ((EntityState)this).GetModelAnimator(); animator.SetBool("attacking", true); ((BaseState)this).StartAimMode(aimRay, 3f, false); ((EntityState)this).GetComponent().CheckAngle(((Ray)(ref aimRay)).direction, new Vector3(0f, 1f, 0f), new Vector3(1f, 0f, 0f)); if (animator.GetBool("isMoving") || !animator.GetBool("isGrounded")) { ((EntityState)this).PlayAnimation("Gesture, Override", "Fire", "Purge.playbackRate", duration, 0.05f); } else if (!animator.GetBool("isMoving") && animator.GetBool("isGrounded")) { ((EntityState)this).PlayAnimation("FullBody, Override", "Fire", "Purge.playbackRate", duration, 0.05f); } FireBullet("GunGrill"); } public override void OnExit() { ((EntityState)this).OnExit(); animator.SetBool("attacking", false); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (!(((EntityState)this).fixedAge < duration) && ((EntityState)this).isAuthority) { _ = ((BaseSkillState)this).activatorSkillSlot.stock; _ = 0; ((EntityState)this).outer.SetNextStateToMain(); } } public override void Update() { } protected virtual void OnHitEnemyAuthority() { } public override InterruptPriority GetMinimumInterruptPriority() { return (InterruptPriority)1; } } } namespace UrgotMod.Modules { internal static class Assets { internal static Material commandoMat; internal static List effectDefs = new List(); internal static Shader hotpoo = LegacyResourcesAPI.Load("Shaders/Deferred/HGStandard"); internal static AssetBundle mainAssetBundle; internal static GameObject purgeTracer; public static GameObject corrosiveCharge; internal static NetworkSoundEventDef bulletHitSoundEvent; internal static List networkSoundEventDefs = new List(); private const string assetbundleName = "urgotBundle"; private static string[] assetNames = new string[0]; public static Material CreateMaterial(string materialName, float emission, Color emissionColor, float normalStrength) { //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)commandoMat)) { commandoMat = LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody").GetComponentInChildren().baseRendererInfos[0].defaultMaterial; } Material val = Object.Instantiate(commandoMat); Material val2 = mainAssetBundle.LoadAsset(materialName); if (!Object.op_Implicit((Object)(object)val2)) { Debug.LogError((object)("Failed to load material: " + materialName + " - Check to see that the name in your Unity project matches the one in this code")); return commandoMat; } ((Object)val).name = materialName; val.SetColor("_Color", val2.GetColor("_Color")); val.SetTexture("_MainTex", val2.GetTexture("_MainTex")); val.SetColor("_EmColor", emissionColor); val.SetFloat("_EmPower", emission); val.SetTexture("_EmTex", val2.GetTexture("_EmissionMap")); val.SetFloat("_NormalStrength", normalStrength); return val2; } public static Material CreateMaterial(string materialName) { return CreateMaterial(materialName, 0f); } public static Material CreateMaterial(string materialName, float emission) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) return CreateMaterial(materialName, emission, Color.white); } public static Material CreateMaterial(string materialName, float emission, Color emissionColor) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) return CreateMaterial(materialName, emission, emissionColor, 0f); } internal static void ConvertAllRenderersToHopooShader(GameObject objectToConvert) { if (!Object.op_Implicit((Object)(object)objectToConvert)) { return; } MeshRenderer[] componentsInChildren = objectToConvert.GetComponentsInChildren(); foreach (MeshRenderer val in componentsInChildren) { if (Object.op_Implicit((Object)(object)val) && Object.op_Implicit((Object)(object)((Renderer)val).material)) { ((Renderer)val).material.shader = hotpoo; } } SkinnedMeshRenderer[] componentsInChildren2 = objectToConvert.GetComponentsInChildren(); foreach (SkinnedMeshRenderer val2 in componentsInChildren2) { if (Object.op_Implicit((Object)(object)val2) && Object.op_Implicit((Object)(object)((Renderer)val2).material)) { ((Renderer)val2).material.shader = hotpoo; } } } internal static NetworkSoundEventDef CreateNetworkSoundEventDef(string eventName) { NetworkSoundEventDef val = ScriptableObject.CreateInstance(); val.akId = AkSoundEngine.GetIDFromString(eventName); val.eventName = eventName; networkSoundEventDefs.Add(val); return val; } internal static void Initialize() { LoadAssetBundle(); UrgotPlugin.Logger.LogInfo((object)"LoadAssetbundle"); LoadSoundbank(); UrgotPlugin.Logger.LogInfo((object)"LoadSoundbank"); PopulateAssets(); UrgotPlugin.Logger.LogInfo((object)"PopulateAssets"); } internal static void LoadAssetBundle() { if ((Object)(object)mainAssetBundle == (Object)null) { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("UrgotMod.urgotBundle"); mainAssetBundle = AssetBundle.LoadFromStream(stream); } assetNames = mainAssetBundle.GetAllAssetNames(); } internal static Texture LoadCharacterIcon(string characterName) { return mainAssetBundle.LoadAsset("urgot_square"); } internal static GameObject LoadCrosshair(string crosshairName) { if ((Object)(object)LegacyResourcesAPI.Load("Prefabs/Crosshair/" + crosshairName + "Crosshair") == (Object)null) { return LegacyResourcesAPI.Load("Prefabs/Crosshair/StandardCrosshair"); } return LegacyResourcesAPI.Load("Prefabs/Crosshair/" + crosshairName + "Crosshair"); } internal static void LoadSoundbank() { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("UrgotMod.urgotBank.bnk"); byte[] array = new byte[stream.Length]; stream.Read(array, 0, array.Length); SoundBanks.Add(array); } internal static void PopulateAssets() { if (!Object.op_Implicit((Object)(object)mainAssetBundle)) { Debug.LogError((object)"There is no AssetBundle to load assets from."); return; } purgeTracer = CreateTracer("TracerGoldGat", "PurgeTracer"); if (Object.op_Implicit((Object)(object)purgeTracer)) { purgeTracer.GetComponent().speed = 600f; purgeTracer.GetComponent().length = 75f; } bulletHitSoundEvent = CreateNetworkSoundEventDef("hit"); } internal static RendererInfo[] SetupRendererInfos(GameObject obj) { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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) MeshRenderer[] componentsInChildren = obj.GetComponentsInChildren(); RendererInfo[] array = (RendererInfo[])(object)new RendererInfo[componentsInChildren.Length]; for (int i = 0; i < componentsInChildren.Length; i++) { array[i] = new RendererInfo { defaultMaterial = ((Renderer)componentsInChildren[i]).material, renderer = (Renderer)(object)componentsInChildren[i], defaultShadowCastingMode = (ShadowCastingMode)1, ignoreOverlays = false }; } return array; } private static void AddNewEffectDef(GameObject effectPrefab) { AddNewEffectDef(effectPrefab, ""); } private static void AddNewEffectDef(GameObject effectPrefab, string soundName) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Expected O, but got Unknown EffectDef val = new EffectDef(); val.prefab = effectPrefab; val.prefabEffectComponent = effectPrefab.GetComponent(); val.prefabName = ((Object)effectPrefab).name; val.prefabVfxAttributes = effectPrefab.GetComponent(); val.spawnSoundEventName = soundName; effectDefs.Add(val); } private static GameObject CreateTracer(string originalTracerName, string newTracerName) { if ((Object)(object)LegacyResourcesAPI.Load("Prefabs/Effects/Tracers/" + originalTracerName) == (Object)null) { return null; } GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/Effects/Tracers/" + originalTracerName), newTracerName, true); if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } val.GetComponent().speed = 250f; val.GetComponent().length = 50f; AddNewEffectDef(val); return val; } private static GameObject LoadEffect(string resourceName) { return LoadEffect(resourceName, "", parentToTransform: false); } private static GameObject LoadEffect(string resourceName, string soundName) { return LoadEffect(resourceName, soundName, parentToTransform: false); } private static GameObject LoadEffect(string resourceName, bool parentToTransform) { return LoadEffect(resourceName, "", parentToTransform); } private static GameObject LoadEffect(string resourceName, string soundName, bool parentToTransform) { //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) bool flag = false; for (int i = 0; i < assetNames.Length; i++) { if (assetNames[i].Contains(resourceName.ToLower())) { flag = true; i = assetNames.Length; } } if (!flag) { Debug.LogError((object)("Failed to load effect: " + resourceName + " because it does not exist in the AssetBundle")); return null; } GameObject obj = mainAssetBundle.LoadAsset(resourceName); obj.AddComponent().duration = 12f; obj.AddComponent(); obj.AddComponent().vfxPriority = (VFXPriority)2; EffectComponent obj2 = obj.AddComponent(); obj2.applyScale = false; obj2.effectIndex = (EffectIndex)(-1); obj2.parentToReferencedTransform = parentToTransform; obj2.positionAtReferencedTransform = true; obj2.soundName = soundName; AddNewEffectDef(obj, soundName); return obj; } } public static class Buffs { internal static List buffDefs = new List(); internal static BuffDef conquerorBuff; internal static BuffDef electrocuteDebuff; internal static BuffDef lethalBuff; internal static BuffDef movementSpeedBuff; internal static BuffDef executionTokenBuff; internal static BuffDef phaseRushDebuff; internal static BuffDef regenBuff; internal static BuffDef AddNewBuff(string buffName, Sprite buffIcon, Color buffColor, bool canStack, bool isDebuff) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) BuffDef val = ScriptableObject.CreateInstance(); ((Object)val).name = buffName; val.buffColor = buffColor; val.canStack = canStack; val.isDebuff = isDebuff; val.eliteDef = null; val.iconSprite = buffIcon; buffDefs.Add(val); return val; } internal static void RegisterBuffs() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) conquerorBuff = AddNewBuff("ConquerorBuff", Assets.mainAssetBundle.LoadAsset("Conqueror_rune"), Color.white, canStack: true, isDebuff: false); lethalBuff = AddNewBuff("LethalBuff", Assets.mainAssetBundle.LoadAsset("Lethal_Tempo_rune"), Color.white, canStack: true, isDebuff: false); phaseRushDebuff = AddNewBuff("PhaseRushDebuff", Assets.mainAssetBundle.LoadAsset("Phase_Rush_rune"), Color.white, canStack: true, isDebuff: true); electrocuteDebuff = AddNewBuff("ElectrocuteDebuff", Assets.mainAssetBundle.LoadAsset("Electrocute_rune"), Color.white, canStack: true, isDebuff: true); movementSpeedBuff = AddNewBuff("MovementSpeedBuff", Assets.mainAssetBundle.LoadAsset("Phase_Rush_rune"), Color.white, canStack: true, isDebuff: false); executionTokenBuff = AddNewBuff("executionToken", Assets.mainAssetBundle.LoadAsset("urgot_rrecast_grey"), Color.white, canStack: true, isDebuff: false); } } internal static class CameraParams { internal static CharacterCameraParamsData defaultCameraParamsUrgot; internal static CharacterCameraParamsData emoteCameraParamsUrgot; internal static float defaultVerticalOffset = 1.53f; internal static void InitializeParams() { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: 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) defaultCameraParamsUrgot = NewCameraParams("ccpUrgot", 70f, defaultVerticalOffset, new Vector3(0f, 1.25f, -12f)); emoteCameraParamsUrgot = NewCameraParams("ccpUrgotEmote", 70f, defaultVerticalOffset, new Vector3(0f, -0.6f, -8.5f)); } private static CharacterCameraParamsData NewCameraParams(string name, float pitch, float pivotVerticalOffset, Vector3 idealPosition) { //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) return NewCameraParams(name, pitch, pivotVerticalOffset, idealPosition, 0.1f); } private static CharacterCameraParamsData NewCameraParams(string name, float pitch, float pivotVerticalOffset, Vector3 idealPosition, float wallCushion) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0032: 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_0038: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) CharacterCameraParamsData result = default(CharacterCameraParamsData); result.maxPitch = BlendableFloat.op_Implicit(pitch); result.minPitch = BlendableFloat.op_Implicit(0f - pitch); result.pivotVerticalOffset = BlendableFloat.op_Implicit(pivotVerticalOffset); result.idealLocalCameraPos = BlendableVector3.op_Implicit(idealPosition); result.wallCushion = BlendableFloat.op_Implicit(wallCushion); return result; } internal static CameraParamsOverrideHandle OverrideUrgotCameraParams(CameraTargetParams camParams, UrgotCameraParams camera, float transitionDuration = 0.5f) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) CharacterCameraParamsData newUrgotParams = GetNewUrgotParams(camera); CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = newUrgotParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; return camParams.AddParamsOverride(val2, transitionDuration); } internal static CharacterCameraParams CreateCameraParamsWithData(UrgotCameraParams camera) { //IL_0029: 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) CharacterCameraParams obj = ScriptableObject.CreateInstance(); ((Object)obj).name = camera.ToString().ToLower() + "Params"; obj.data = GetNewUrgotParams(camera); return obj; } internal static CharacterCameraParamsData GetNewUrgotParams(UrgotCameraParams camera) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) CharacterCameraParamsData val = defaultCameraParamsUrgot; if (camera == UrgotCameraParams.DEFAULT || camera != UrgotCameraParams.EMOTE) { return defaultCameraParamsUrgot; } return emoteCameraParamsUrgot; } } public static class Config { public static ConfigEntry armorGrowth; public static ConfigEntry baseArmor; public static ConfigEntry baseCrit; public static ConfigEntry baseDamage; public static ConfigEntry baseHealth; public static ConfigEntry baseMovementSpeed; public static ConfigEntry baseRegen; public static ConfigEntry bonusHealthCoefficient; public static ConfigEntry corrosiveChargeCD; public static ConfigEntry corrosiveChargeDamageCoefficient; public static ConfigEntry corrosiveChargeProcCoefficient; public static ConfigEntry corrosiveChargeRadius; public static ConfigEntry damageGrowth; public static ConfigEntry disdainShieldCoefficient; public static ConfigEntry disdainCD; public static ConfigEntry disdainDamageCoefficient; public static ConfigEntry disdainTargetDamageCoefficient; public static ConfigEntry disdainRadius; public static ConfigEntry FBDCD; public static ConfigEntry FBDDamageCoefficient; public static ConfigEntry FBDProcCoefficient; public static ConfigEntry FBDRadius; public static ConfigEntry healthGrowth; public static ConfigEntry jumpCount; public static ConfigEntry purgeDamageCoefficient; public static ConfigEntry purgeProcCoefficient; public static ConfigEntry regenGrowth; public static ConfigEntry tauntKeybind; public static ConfigEntry jokeKeybind; public static ConfigEntry laughKeybind; public static ConfigEntry danceKeybind; public static ConfigEntry voiceLines; public static void ReadConfig() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Expected O, but got Unknown //IL_002f: Expected O, but got Unknown //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Expected O, but got Unknown //IL_0067: Expected O, but got Unknown //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Expected O, but got Unknown //IL_009f: Expected O, but got Unknown //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Expected O, but got Unknown //IL_00d7: Expected O, but got Unknown //IL_00f0: Unknown result type (might be due to invalid IL or missing references) //IL_0105: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Expected O, but got Unknown //IL_010f: Expected O, but got Unknown //IL_0128: Unknown result type (might be due to invalid IL or missing references) //IL_013d: Unknown result type (might be due to invalid IL or missing references) //IL_0147: Expected O, but got Unknown //IL_0147: Expected O, but got Unknown //IL_0160: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_017f: Expected O, but got Unknown //IL_017f: Expected O, but got Unknown //IL_0198: Unknown result type (might be due to invalid IL or missing references) //IL_01ad: Unknown result type (might be due to invalid IL or missing references) //IL_01b7: Expected O, but got Unknown //IL_01b7: Expected O, but got Unknown //IL_01d0: Unknown result type (might be due to invalid IL or missing references) //IL_01e5: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Expected O, but got Unknown //IL_01ef: Expected O, but got Unknown //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_021d: Unknown result type (might be due to invalid IL or missing references) //IL_0227: Expected O, but got Unknown //IL_0227: Expected O, but got Unknown //IL_0240: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_025f: Expected O, but got Unknown //IL_025f: Expected O, but got Unknown //IL_0278: Unknown result type (might be due to invalid IL or missing references) //IL_0289: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Expected O, but got Unknown //IL_0293: Expected O, but got Unknown //IL_02ac: Unknown result type (might be due to invalid IL or missing references) //IL_02c1: Unknown result type (might be due to invalid IL or missing references) //IL_02cb: Expected O, but got Unknown //IL_02cb: Expected O, but got Unknown //IL_02e4: Unknown result type (might be due to invalid IL or missing references) //IL_02f9: Unknown result type (might be due to invalid IL or missing references) //IL_0303: Expected O, but got Unknown //IL_0303: Expected O, but got Unknown //IL_031c: Unknown result type (might be due to invalid IL or missing references) //IL_0331: Unknown result type (might be due to invalid IL or missing references) //IL_033b: Expected O, but got Unknown //IL_033b: Expected O, but got Unknown //IL_0354: Unknown result type (might be due to invalid IL or missing references) //IL_0369: Unknown result type (might be due to invalid IL or missing references) //IL_0373: Expected O, but got Unknown //IL_0373: Expected O, but got Unknown //IL_038c: Unknown result type (might be due to invalid IL or missing references) //IL_03a1: Unknown result type (might be due to invalid IL or missing references) //IL_03ab: Expected O, but got Unknown //IL_03ab: Expected O, but got Unknown //IL_03c4: Unknown result type (might be due to invalid IL or missing references) //IL_03d9: Unknown result type (might be due to invalid IL or missing references) //IL_03e3: Expected O, but got Unknown //IL_03e3: Expected O, but got Unknown //IL_03fc: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_041b: Expected O, but got Unknown //IL_041b: Expected O, but got Unknown //IL_0434: Unknown result type (might be due to invalid IL or missing references) //IL_0449: Unknown result type (might be due to invalid IL or missing references) //IL_0453: Expected O, but got Unknown //IL_0453: Expected O, but got Unknown //IL_046c: Unknown result type (might be due to invalid IL or missing references) //IL_0481: Unknown result type (might be due to invalid IL or missing references) //IL_048b: Expected O, but got Unknown //IL_048b: Expected O, but got Unknown //IL_04a4: Unknown result type (might be due to invalid IL or missing references) //IL_04b9: Unknown result type (might be due to invalid IL or missing references) //IL_04c3: Expected O, but got Unknown //IL_04c3: Expected O, but got Unknown //IL_04dc: Unknown result type (might be due to invalid IL or missing references) //IL_04f1: Unknown result type (might be due to invalid IL or missing references) //IL_04fb: Expected O, but got Unknown //IL_04fb: Expected O, but got Unknown //IL_0514: Unknown result type (might be due to invalid IL or missing references) //IL_0529: Unknown result type (might be due to invalid IL or missing references) //IL_0533: Expected O, but got Unknown //IL_0533: Expected O, but got Unknown //IL_054c: Unknown result type (might be due to invalid IL or missing references) //IL_0561: Unknown result type (might be due to invalid IL or missing references) //IL_056b: Expected O, but got Unknown //IL_056b: Expected O, but got Unknown //IL_0584: Unknown result type (might be due to invalid IL or missing references) //IL_0599: Unknown result type (might be due to invalid IL or missing references) //IL_05a3: Expected O, but got Unknown //IL_05a3: Expected O, but got Unknown //IL_05bc: Unknown result type (might be due to invalid IL or missing references) //IL_05d1: Unknown result type (might be due to invalid IL or missing references) //IL_05db: Expected O, but got Unknown //IL_05db: Expected O, but got Unknown //IL_05f4: Unknown result type (might be due to invalid IL or missing references) //IL_0606: Unknown result type (might be due to invalid IL or missing references) //IL_0610: Expected O, but got Unknown //IL_0610: Expected O, but got Unknown //IL_0629: Unknown result type (might be due to invalid IL or missing references) //IL_063b: Unknown result type (might be due to invalid IL or missing references) //IL_0645: Expected O, but got Unknown //IL_0645: Expected O, but got Unknown //IL_065e: Unknown result type (might be due to invalid IL or missing references) //IL_0670: Unknown result type (might be due to invalid IL or missing references) //IL_067a: Expected O, but got Unknown //IL_067a: Expected O, but got Unknown //IL_0693: Unknown result type (might be due to invalid IL or missing references) //IL_06a5: Unknown result type (might be due to invalid IL or missing references) //IL_06af: Expected O, but got Unknown //IL_06af: Expected O, but got Unknown voiceLines = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("00 - Other", "Voice Lines"), true, new ConfigDescription("Enable Voice Lines", (AcceptableValueBase)null, Array.Empty())); baseHealth = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Base Health"), 220f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); healthGrowth = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Health Growth"), 48f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); baseRegen = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Base Health Regen"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); regenGrowth = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Health Regen Growth"), 0.2f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); baseArmor = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Base Armor"), 20f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); armorGrowth = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Armor Growth"), 0f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); baseDamage = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Base Damage"), 13f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); damageGrowth = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Damage Growth"), 2.8f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); baseMovementSpeed = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Base Movement Speed"), 7f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); baseCrit = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Base Crit"), 5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); jumpCount = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("01 - Character Stats", "Jump Count"), 1, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); purgeDamageCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("02 - Purge", "Purge Damage Coefficient"), 0.9f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); purgeProcCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("02 - Purge", "Purge Proc Coefficient"), 0.7f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); corrosiveChargeCD = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("03 - Corrosive Charge", "Corrosive Charge Cooldown"), 5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); corrosiveChargeDamageCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("03 - Corrosive Charge", "Corrosive Charge Damage Coefficient"), 1.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); corrosiveChargeProcCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("03 - Corrosive Charge", "Corrosive Charge Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); corrosiveChargeRadius = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("03 - Corrosive Charge", "Corrosive Charge Radius"), 4f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); disdainCD = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("04 - Disdain", "Disdain Dooldown"), 10f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); disdainDamageCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("04 - Disdain", "Disdain Damage Coefficient"), 2f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); disdainTargetDamageCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("04 - Disdain", "Disdain Target Damage Coefficient"), 5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); disdainShieldCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("04 - Disdain", "Disdain Shield Coefficient"), 0.5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); disdainRadius = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("04 - Disdain", "Disdain Radius"), 30f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); FBDCD = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("05 - Fear Beyond Death", "Fear Beyond Death Cooldown"), 40f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); FBDDamageCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("05 - Fear Beyond Death", "Fear Beyond Death Damage Coefficient"), 5f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); FBDProcCoefficient = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("05 - Fear Beyond Death", "Fear Beyond Death Proc Coefficient"), 1f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); FBDRadius = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("05 - Fear Beyond Death", "Fear Beyond Death Radius"), 20f, new ConfigDescription("", (AcceptableValueBase)null, Array.Empty())); tauntKeybind = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("06 - Emotes", "Taunt"), (KeyCode)49, new ConfigDescription("Keybind used to perform the Taunt emote", (AcceptableValueBase)null, Array.Empty())); jokeKeybind = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("06 - Emotes", "Joke"), (KeyCode)50, new ConfigDescription("Keybind used to perform the Joke emote", (AcceptableValueBase)null, Array.Empty())); laughKeybind = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("06 - Emotes", "Laugh"), (KeyCode)51, new ConfigDescription("Keybind used to perform the Laugh emote", (AcceptableValueBase)null, Array.Empty())); danceKeybind = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition("06 - Emotes", "Dance"), (KeyCode)52, new ConfigDescription("Keybind used to perform the Dance emote", (AcceptableValueBase)null, Array.Empty())); } internal static ConfigEntry CharacterEnableConfig(string characterName) { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Expected O, but got Unknown //IL_002b: Expected O, but got Unknown return ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition(characterName, "Enabled"), true, new ConfigDescription("Set to false to disable this character", (AcceptableValueBase)null, Array.Empty())); } internal static ConfigEntry EnemyEnableConfig(string characterName) { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Expected O, but got Unknown //IL_002b: Expected O, but got Unknown return ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition(characterName, "Enabled"), true, new ConfigDescription("Set to false to disable this enemy", (AcceptableValueBase)null, Array.Empty())); } } internal class ContentPacks : IContentPackProvider { [CompilerGenerated] private sealed class d__3 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public FinalizeAsyncArgs args; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__3(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { if (<>1__state != 0) { return false; } <>1__state = -1; args.ReportProgress(1f); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } [CompilerGenerated] private sealed class d__4 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public ContentPacks <>4__this; public GetContentPackAsyncArgs args; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__4(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { int num = <>1__state; ContentPacks contentPacks = <>4__this; if (num != 0) { return false; } <>1__state = -1; ContentPack.Copy(contentPacks.contentPack, args.output); args.ReportProgress(1f); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } [CompilerGenerated] private sealed class d__6 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public ContentPacks <>4__this; public LoadStaticContentAsyncArgs args; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__6(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { int num = <>1__state; ContentPacks contentPacks = <>4__this; if (num != 0) { return false; } <>1__state = -1; contentPacks.contentPack.identifier = contentPacks.identifier; contentPacks.contentPack.bodyPrefabs.Add(Prefabs.bodyPrefabs.ToArray()); contentPacks.contentPack.buffDefs.Add(Buffs.buffDefs.ToArray()); contentPacks.contentPack.effectDefs.Add(Assets.effectDefs.ToArray()); contentPacks.contentPack.entityStateTypes.Add(States.entityStates.ToArray()); contentPacks.contentPack.masterPrefabs.Add(Prefabs.masterPrefabs.ToArray()); contentPacks.contentPack.networkSoundEventDefs.Add(Assets.networkSoundEventDefs.ToArray()); contentPacks.contentPack.projectilePrefabs.Add(Prefabs.projectilePrefabs.ToArray()); contentPacks.contentPack.skillDefs.Add(Skills.skillDefs.ToArray()); contentPacks.contentPack.skillFamilies.Add(Skills.skillFamilies.ToArray()); contentPacks.contentPack.survivorDefs.Add(Prefabs.survivorDefinitions.ToArray()); contentPacks.contentPack.unlockableDefs.Add(Unlockables.unlockableDefs.ToArray()); args.ReportProgress(1f); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } internal ContentPack contentPack = new ContentPack(); public string identifier => "com.DogWithWine.Urgot"; [IteratorStateMachine(typeof(d__3))] public IEnumerator FinalizeAsync(FinalizeAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__3(0) { args = args }; } [IteratorStateMachine(typeof(d__4))] public IEnumerator GenerateContentPackAsync(GetContentPackAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__4(0) { <>4__this = this, args = args }; } public void Initialize() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Expected O, but got Unknown ContentManager.collectContentPackProviders += new CollectContentPackProvidersDelegate(ContentManager_collectContentPackProviders); } [IteratorStateMachine(typeof(d__6))] public IEnumerator LoadStaticContentAsync(LoadStaticContentAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__6(0) { <>4__this = this, args = args }; } private void ContentManager_collectContentPackProviders(AddContentPackProviderDelegate addContentPackProvider) { addContentPackProvider.Invoke((IContentPackProvider)(object)this); } } internal static class ArrayHelper { public static T[] Append(ref T[] array, List list) { int num = array.Length; int count = list.Count; Array.Resize(ref array, num + count); list.CopyTo(array, num); return array; } public static Func AppendDel(List list) { return (T[] r) => Append(ref r, list); } } internal static class Helpers { internal const string agilePrefix = "Agile. "; public static T[] Append(ref T[] array, List list) { int num = array.Length; int count = list.Count; Array.Resize(ref array, num + count); list.CopyTo(array, num); return array; } public static Func AppendDel(List list) { return (T[] r) => Append(ref r, list); } internal static string ScepterDescription(string desc) { return "\nSCEPTER: " + desc + ""; } } internal static class ItemDisplays { private static Dictionary itemDisplayPrefabs = new Dictionary(); public static Dictionary KeyAssetDisplayPrefabs = new Dictionary(); public static Dictionary KeyAssets = new Dictionary(); public static int queuedDisplays; public static bool initialized = false; public static void LazyInit() { if (!initialized) { initialized = true; PopulateDisplays(); } } internal static void DisposeWhenDone() { queuedDisplays--; if (queuedDisplays <= 0 && initialized) { initialized = false; itemDisplayPrefabs = null; KeyAssetDisplayPrefabs = null; KeyAssets = null; } } internal static void PopulateDisplays() { PopulateFromBody("LoaderBody"); } private static void PopulateFromBody(string bodyName) { KeyAssetRuleGroup[] keyAssetRuleGroups = ((Component)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyName).GetComponent().modelTransform).GetComponent().itemDisplayRuleSet.keyAssetRuleGroups; for (int i = 0; i < keyAssetRuleGroups.Length; i++) { ItemDisplayRule[] rules = keyAssetRuleGroups[i].displayRuleGroup.rules; KeyAssetDisplayPrefabs[keyAssetRuleGroups[i].keyAsset] = rules; KeyAssets[keyAssetRuleGroups[i].keyAsset.name] = keyAssetRuleGroups[i].keyAsset; for (int j = 0; j < rules.Length; j++) { GameObject followerPrefab = rules[j].followerPrefab; if (Object.op_Implicit((Object)(object)followerPrefab)) { string key = ((Object)followerPrefab).name?.ToLowerInvariant(); if (!itemDisplayPrefabs.ContainsKey(key)) { itemDisplayPrefabs[key] = followerPrefab; } } } } } private static void PopulateCustomLightningArm() { GameObject val = PrefabAPI.InstantiateClone(itemDisplayPrefabs["displaylightningarmright"], "DisplayLightningCustom", false); LimbMatcher component = val.GetComponent(); component.limbPairs[0].targetChildLimb = "LightningArm1"; component.limbPairs[1].targetChildLimb = "LightningArm2"; component.limbPairs[2].targetChildLimb = "LightningArmEnd"; itemDisplayPrefabs["displaylightningarmcustom"] = val; } public static GameObject LoadDisplay(string name) { if (itemDisplayPrefabs.ContainsKey(name.ToLowerInvariant()) && Object.op_Implicit((Object)(object)itemDisplayPrefabs[name.ToLowerInvariant()])) { return itemDisplayPrefabs[name.ToLowerInvariant()]; } UrgotPlugin.Logger.LogError((object)("item display " + name + " returned null")); return null; } public static KeyAssetRuleGroup CreateDisplayRuleGroupWithRules(string itemName, params ItemDisplayRule[] rules) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) return CreateDisplayRuleGroupWithRules(GetKeyAssetFromString(itemName), rules); } public static KeyAssetRuleGroup CreateDisplayRuleGroupWithRules(Object keyAsset_, params ItemDisplayRule[] rules) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) if (keyAsset_ == (Object)null) { UrgotPlugin.Logger.LogError((object)"could not find keyasset"); } KeyAssetRuleGroup result = default(KeyAssetRuleGroup); result.keyAsset = keyAsset_; result.displayRuleGroup = new DisplayRuleGroup { rules = rules }; return result; } public static ItemDisplayRule CreateDisplayRule(string prefabName, string childName, Vector3 position, Vector3 rotation, Vector3 scale) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0009: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) return CreateDisplayRule(LoadDisplay(prefabName), childName, position, rotation, scale); } public static ItemDisplayRule CreateDisplayRule(GameObject itemPrefab, string childName, Vector3 position, Vector3 rotation, Vector3 scale) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0032: 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_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) ItemDisplayRule result = default(ItemDisplayRule); result.ruleType = (ItemDisplayRuleType)0; result.childName = childName; result.followerPrefab = itemPrefab; result.limbMask = (LimbFlags)0; result.localPos = position; result.localAngles = rotation; result.localScale = scale; return result; } public static ItemDisplayRule CreateLimbMaskDisplayRule(LimbFlags limb) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0012: 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_002c: Unknown result type (might be due to invalid IL or missing references) ItemDisplayRule result = default(ItemDisplayRule); result.ruleType = (ItemDisplayRuleType)1; result.limbMask = limb; result.childName = ""; result.followerPrefab = null; return result; } private static Object GetKeyAssetFromString(string itemName) { Object val = (Object)(object)LegacyResourcesAPI.Load("ItemDefs/" + itemName); if (val == (Object)null) { val = (Object)(object)LegacyResourcesAPI.Load("EquipmentDefs/" + itemName); } if (val == (Object)null) { UrgotPlugin.Logger.LogError((object)("Could not load keyasset for " + itemName)); } return val; } } internal static class Materials { private static List cachedMaterials = new List(); public static Material CreateHopooMaterial(string materialName) { //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Expected O, but got Unknown Material val = cachedMaterials.Find(delegate(Material mat) { materialName.Replace(" (Instance)", ""); return ((Object)mat).name.Contains(materialName); }); if (Object.op_Implicit((Object)(object)val)) { return val; } val = Assets.mainAssetBundle.LoadAsset(materialName); if (!Object.op_Implicit((Object)(object)val)) { UrgotPlugin.Logger.LogError((object)("Failed to load material: " + materialName + " - Check to see that the material in your Unity project matches this name")); return new Material(Assets.hotpoo); } return val.SetHopooMaterial(); } public static Material SetHopooMaterial(this Material tempMat) { //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) if (cachedMaterials.Contains(tempMat)) { return tempMat; } float? num = null; Color? val = null; if (tempMat.IsKeywordEnabled("_NORMALMAP")) { num = tempMat.GetFloat("_BumpScale"); } if (tempMat.IsKeywordEnabled("_EMISSION")) { val = tempMat.GetColor("_EmissionColor"); } tempMat.shader = Assets.hotpoo; tempMat.SetColor("_Color", tempMat.GetColor("_Color")); tempMat.SetTexture("_MainTex", tempMat.GetTexture("_MainTex")); tempMat.SetTexture("_EmTex", tempMat.GetTexture("_EmissionMap")); tempMat.EnableKeyword("DITHER"); if (num.HasValue) { tempMat.SetFloat("_NormalStrength", num.Value); } if (val.HasValue) { tempMat.SetColor("_EmColor", val.Value); tempMat.SetFloat("_EmPower", 1f); } if (tempMat.IsKeywordEnabled("NOCULL")) { tempMat.SetInt("_Cull", 0); } if (tempMat.IsKeywordEnabled("LIMBREMOVAL")) { tempMat.SetInt("_LimbRemovalOn", 1); } cachedMaterials.Add(tempMat); return tempMat; } public static Material MakeUnique(this Material material) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Expected O, but got Unknown if (cachedMaterials.Contains(material)) { return new Material(material); } return material; } public static Material SetColor(this Material material, Color color) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) material.SetColor("_Color", color); return material; } public static Material SetNormal(this Material material, float normalStrength = 1f) { material.SetFloat("_NormalStrength", normalStrength); return material; } public static Material SetEmission(this Material material) { return material.SetEmission(1f); } public static Material SetEmission(this Material material, float emission) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) return material.SetEmission(emission, Color.white); } public static Material SetEmission(this Material material, float emission, Color emissionColor) { //IL_0012: Unknown result type (might be due to invalid IL or missing references) material.SetFloat("_EmPower", emission); material.SetColor("_EmColor", emissionColor); return material; } public static Material SetCull(this Material material, bool cull = false) { material.SetInt("_Cull", cull ? 1 : 0); return material; } } internal static class Prefabs { private static PhysicMaterial ragdollMaterial; internal static List survivorDefinitions = new List(); internal static List bodyPrefabs = new List(); internal static List masterPrefabs = new List(); public static List projectilePrefabs = new List(); internal static void RegisterNewSurvivor(GameObject bodyPrefab, GameObject displayPrefab, Color charColor, string namePrefix, UnlockableDef unlockableDef, float sortPosition, string nameString) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) string descriptionToken = "URGOT_DESCRIPTION"; string outroFlavorToken = "URGOT_OUTRO_FLAVOR"; string mainEndingEscapeFailureFlavorToken = "URGOT_OUTRO_FAILURE"; SurvivorDef val = ScriptableObject.CreateInstance(); val.bodyPrefab = bodyPrefab; val.displayPrefab = displayPrefab; val.primaryColor = charColor; val.displayNameToken = nameString; val.descriptionToken = descriptionToken; val.outroFlavorToken = outroFlavorToken; val.mainEndingEscapeFailureFlavorToken = mainEndingEscapeFailureFlavorToken; val.desiredSortPosition = sortPosition; val.unlockableDef = unlockableDef; survivorDefinitions.Add(val); UrgotPlugin.Logger.LogMessage((object)"RegisterNewSurvivor was called"); } internal static GameObject CreateDisplayPrefab(string modelName, GameObject prefab, BodyInfo bodyInfo) { if (!Object.op_Implicit((Object)(object)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyInfo.bodyNameToClone + "Body"))) { Debug.LogError((object)(bodyInfo.bodyNameToClone + "Body is not a valid body, character creation failed")); return null; } GameObject obj = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyInfo.bodyNameToClone + "Body"), modelName + "Prefab"); GameObject val = CreateModel(obj, modelName); SetupModel(obj, val.transform, bodyInfo); val.AddComponent().baseRendererInfos = prefab.GetComponentInChildren().baseRendererInfos; Assets.ConvertAllRenderersToHopooShader(val); return val.gameObject; } internal static GameObject CreatePrefab(string bodyName, string modelName, BodyInfo bodyInfo) { //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0242: Unknown result type (might be due to invalid IL or missing references) //IL_02b4: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyInfo.bodyNameToClone + "Body"))) { Debug.LogError((object)(bodyInfo.bodyNameToClone + "Body is not a valid body, character creation failed")); return null; } GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyInfo.bodyNameToClone + "Body"), bodyName); Transform val2 = null; GameObject val3 = null; if (modelName != "mdl") { val3 = CreateModel(val, modelName); if ((Object)(object)val3 == (Object)null) { val3 = ((Component)val.GetComponentInChildren()).gameObject; } val2 = SetupModel(val, val3.transform, bodyInfo); } CharacterBody component = val.GetComponent(); ((Object)component).name = bodyInfo.bodyName; component.baseNameToken = bodyInfo.bodyNameToken; component.subtitleNameToken = bodyInfo.subtitleNameToken; component.portraitIcon = bodyInfo.characterPortrait; component.bodyFlags = (BodyFlags)16; component.rootMotionInMainState = false; component.baseMaxHealth = bodyInfo.maxHealth; component.levelMaxHealth = bodyInfo.healthGrowth; component.baseRegen = bodyInfo.healthRegen; component.levelRegen = bodyInfo.regenGrowth; component.baseMaxShield = bodyInfo.shield; component.levelMaxShield = bodyInfo.shieldGrowth; component.baseMoveSpeed = bodyInfo.moveSpeed; component.levelMoveSpeed = bodyInfo.moveSpeedGrowth; component.baseAcceleration = bodyInfo.acceleration; component.baseJumpPower = bodyInfo.jumpPower; component.levelJumpPower = bodyInfo.jumpPowerGrowth; component.baseDamage = bodyInfo.damage; component.levelDamage = bodyInfo.damageGrowth; component.baseAttackSpeed = bodyInfo.attackSpeed; component.levelAttackSpeed = bodyInfo.attackSpeedGrowth; component.baseArmor = bodyInfo.armor; component.levelArmor = bodyInfo.armorGrowth; component.baseCrit = bodyInfo.crit; component.levelCrit = bodyInfo.critGrowth; component.baseJumpCount = bodyInfo.jumpCount; component.sprintingSpeedMultiplier = 1.45f; component.hideCrosshair = false; component.aimOriginTransform = val2.Find("AimOrigin"); component.hullClassification = (HullClassification)0; component.preferredPodPrefab = bodyInfo.podPrefab; component.isChampion = false; ((Component)component).gameObject.AddComponent(); ((Component)component).gameObject.AddComponent(); ((Component)component).gameObject.AddComponent(); ((Behaviour)((Component)component).gameObject.AddComponent()).enabled = true; component.bodyColor = bodyInfo.bodyColor; if ((Object)(object)val2 != (Object)null) { SetupCharacterDirection(val, val2, val3.transform); } SetupCameraTargetParams(val); if ((Object)(object)val2 != (Object)null) { SetupModelLocator(val, val2, val3.transform); } SetupCharacterMotor(val); SetupRigidbody(val); SetupCapsuleCollider(val); SetupKinematicCharacterMotor(val); SetupMainHurtbox(val, val3); SetupFootstepController(val3); SetupRagdoll(val3); val.GetComponent().deathState = new SerializableEntityStateType(typeof(Death)); SetupAimAnimator(val, val3); bodyPrefabs.Add(val); return val; } internal static void CreateGenericDoppelganger(GameObject bodyPrefab, string masterName, string masterToCopy) { GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/CharacterMasters/" + masterToCopy + "MonsterMaster"), masterName, true); val.GetComponent().bodyPrefab = bodyPrefab; masterPrefabs.Add(val); } private static Transform SetupModel(GameObject prefab, Transform modelTransform, BodyInfo bodyInfo) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Expected O, but got Unknown //IL_0023: 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_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0061: 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_0077: 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_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Expected O, but got Unknown //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_0112: 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) GameObject val = new GameObject("ModelBase"); val.transform.parent = prefab.transform; val.transform.localPosition = bodyInfo.modelBasePosition; val.transform.localRotation = Quaternion.identity; val.transform.localScale = new Vector3(1f, 1f, 1f); GameObject val2 = new GameObject("CameraPivot"); val2.transform.parent = val.transform; val2.transform.localPosition = bodyInfo.cameraPivotPosition; val2.transform.localRotation = Quaternion.identity; val2.transform.localScale = Vector3.one; GameObject val3 = new GameObject("AimOrigin"); val3.transform.parent = val.transform; val3.transform.localPosition = bodyInfo.aimOriginPosition; val3.transform.localRotation = Quaternion.identity; val3.transform.localScale = Vector3.one; prefab.GetComponent().aimOriginTransform = val3.transform; modelTransform.parent = val.transform; modelTransform.localPosition = Vector3.zero; modelTransform.localRotation = Quaternion.identity; return val.transform; } private static GameObject CreateModel(GameObject main, string modelName) { Object.DestroyImmediate((Object)(object)((Component)main.transform.Find("ModelBase")).gameObject); Object.DestroyImmediate((Object)(object)((Component)main.transform.Find("CameraPivot")).gameObject); Object.DestroyImmediate((Object)(object)((Component)main.transform.Find("AimOrigin")).gameObject); if ((Object)(object)Assets.mainAssetBundle.LoadAsset(modelName) == (Object)null) { Debug.LogError((object)"Trying to load a null model- check to see if the name in your code matches the name of the object in Unity"); return null; } return Object.Instantiate(Assets.mainAssetBundle.LoadAsset(modelName)); } internal static void SetupCharacterModel(GameObject prefab, CustomRendererInfo[] rendererInfo, int mainRendererIndex) { //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) CharacterModel val = ((Component)prefab.GetComponent().modelTransform).gameObject.AddComponent(); ChildLocator component = ((Component)val).GetComponent(); val.body = prefab.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { Debug.LogError((object)"Failed CharacterModel setup: ChildLocator component does not exist on the model"); return; } List list = new List(); for (int i = 0; i < rendererInfo.Length; i++) { if (!Object.op_Implicit((Object)(object)component.FindChild(rendererInfo[i].childName))) { Debug.LogError((object)("Trying to add a RendererInfo for a renderer that does not exist: " + rendererInfo[i].childName)); continue; } Renderer component2 = ((Component)component.FindChild(rendererInfo[i].childName)).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { list.Add(new RendererInfo { renderer = ((Component)component.FindChild(rendererInfo[i].childName)).GetComponent(), defaultMaterial = (rendererInfo[i].material ?? component2.materials.FirstOrDefault()), ignoreOverlays = rendererInfo[i].ignoreOverlays, defaultShadowCastingMode = (ShadowCastingMode)1 }); } } val.baseRendererInfos = list.ToArray(); val.autoPopulateLightInfos = true; val.invisibilityCount = 0; val.temporaryOverlays = new List(); if (mainRendererIndex >= val.baseRendererInfos.Length) { Debug.LogError((object)("mainRendererIndex out of range: not setting mainSkinnedMeshRenderer for " + ((Object)prefab).name)); } else { val.mainSkinnedMeshRenderer = ((Component)val.baseRendererInfos[mainRendererIndex].renderer).GetComponent(); } } private static void SetupCharacterDirection(GameObject prefab, Transform modelBaseTransform, Transform modelTransform) { CharacterDirection component = prefab.GetComponent(); component.targetTransform = modelBaseTransform; component.overrideAnimatorForwardTransform = null; component.rootMotionAccumulator = null; component.modelAnimator = ((Component)modelTransform).GetComponent(); component.driveFromRootRotation = false; component.turnSpeed = 720f; } private static void SetupCameraTargetParams(GameObject prefab) { //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) CameraTargetParams component = prefab.GetComponent(); component.cameraParams = LegacyResourcesAPI.Load("Prefabs/CharacterBodies/MercBody").GetComponent().cameraParams; component.cameraPivotTransform = prefab.transform.Find("ModelBase").Find("CameraPivot"); component.RequestAimType((AimType)0); component.recoil = Vector2.zero; component.dontRaycastToPivot = false; } private static void SetupModelLocator(GameObject prefab, Transform modelBaseTransform, Transform modelTransform) { ModelLocator component = prefab.GetComponent(); component.modelTransform = modelTransform; component.modelBaseTransform = modelBaseTransform; } private static void SetupCharacterMotor(GameObject prefab) { CharacterMotor component = prefab.GetComponent(); component.walkSpeedPenaltyCoefficient = 1f; component.characterDirection = prefab.GetComponent(); component.muteWalkMotion = false; component.mass = 200f; component.airControl = 0.25f; component.disableAirControlUntilCollision = false; component.generateParametersOnAwake = true; } private static void SetupRigidbody(GameObject prefab) { Rigidbody component = prefab.GetComponent(); component.mass = 200f; component.drag = 0f; component.angularDrag = 0f; component.useGravity = false; component.isKinematic = true; component.interpolation = (RigidbodyInterpolation)0; component.collisionDetectionMode = (CollisionDetectionMode)0; component.constraints = (RigidbodyConstraints)0; } private static void SetupCapsuleCollider(GameObject prefab) { //IL_0024: Unknown result type (might be due to invalid IL or missing references) CapsuleCollider component = prefab.GetComponent(); ((Collider)component).isTrigger = false; ((Collider)component).material = null; component.center = new Vector3(0f, 0f, 0f); component.radius = 0.6f; component.height = 2f; component.direction = 1; } private static void SetupKinematicCharacterMotor(GameObject prefab) { //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) KinematicCharacterMotor component = prefab.GetComponent(); component.CharacterController = (ICharacterController)(object)prefab.GetComponent(); component.Capsule = prefab.GetComponent(); component._attachedRigidbody = prefab.GetComponent(); component.DiscreteCollisionEvents = false; component.GroundDetectionExtraDistance = 0f; component.MaxStepHeight = 0.2f; component.MinRequiredStepDepth = 0.1f; component.MaxStableSlopeAngle = 55f; component.MaxStableDistanceFromLedge = 0.5f; component.MaxStableDenivelationAngle = 55f; component.RigidbodyInteractionType = (RigidbodyInteractionType)0; component.PreserveAttachedRigidbodyMomentum = true; component.HasPlanarConstraint = false; component.PlanarConstraintAxis = Vector3.up; component.StepHandling = (StepHandlingMethod)0; component.LedgeAndDenivelationHandling = true; component.InteractiveRigidbodyHandling = true; component.CheckMovementInitialOverlaps = false; } private static void SetupMainHurtbox(GameObject prefab, GameObject model) { //IL_006b: Unknown result type (might be due to invalid IL or missing references) ChildLocator component = model.GetComponent(); if (!Object.op_Implicit((Object)(object)component.FindChild("MainHurtbox"))) { Debug.LogError((object)"Could not set up main hurtbox: make sure you have a transform pair in your prefab's ChildLocator component called 'MainHurtbox'"); return; } HurtBoxGroup val = model.AddComponent(); HurtBox val2 = ((Component)component.FindChild("MainHurtbox")).gameObject.AddComponent(); ((Component)val2).gameObject.layer = LayerIndex.entityPrecise.intVal; val2.healthComponent = prefab.GetComponent(); val2.isBullseye = true; val2.damageModifier = (DamageModifier)0; val2.hurtBoxGroup = val; val2.indexInGroup = 0; val.hurtBoxes = (HurtBox[])(object)new HurtBox[1] { val2 }; val.mainHurtBox = val2; val.bullseyeCount = 1; } private static void SetupFootstepController(GameObject model) { FootstepHandler obj = model.AddComponent(); obj.baseFootstepString = "Play_player_footstep"; obj.sprintFootstepOverrideString = ""; obj.enableFootstepDust = true; obj.footstepDustPrefab = LegacyResourcesAPI.Load("Prefabs/GenericFootstepDust"); } private static void SetupRagdoll(GameObject model) { RagdollController component = model.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { return; } if ((Object)(object)ragdollMaterial == (Object)null) { ragdollMaterial = ((Component)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/CommandoBody").GetComponentInChildren().bones[1]).GetComponent().material; } Transform[] bones = component.bones; foreach (Transform val in bones) { if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = LayerIndex.ragdoll.intVal; Collider component2 = ((Component)val).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.material = ragdollMaterial; component2.sharedMaterial = ragdollMaterial; } } } } private static void SetupAimAnimator(GameObject prefab, GameObject model) { AimAnimator obj = model.AddComponent(); obj.directionComponent = prefab.GetComponent(); obj.pitchRangeMax = 60f; obj.pitchRangeMin = -60f; obj.yawRangeMin = -180f; obj.yawRangeMax = 180f; obj.pitchGiveupRange = 30f; obj.yawGiveupRange = 10f; obj.giveupDuration = 3f; obj.fullYaw = true; obj.inputBank = prefab.GetComponent(); } internal static void SetupHitbox(GameObject prefab, Transform hitboxTransform, string hitboxName) { HitBoxGroup val = prefab.AddComponent(); HitBox val2 = ((Component)hitboxTransform).gameObject.AddComponent(); ((Component)hitboxTransform).gameObject.layer = LayerIndex.projectile.intVal; val.hitBoxes = (HitBox[])(object)new HitBox[1] { val2 }; val.groupName = hitboxName; } internal static void SetupHitbox(GameObject prefab, string hitboxName, params Transform[] hitboxTransforms) { HitBoxGroup val = prefab.AddComponent(); List list = new List(); foreach (Transform obj in hitboxTransforms) { HitBox item = ((Component)obj).gameObject.AddComponent(); ((Component)obj).gameObject.layer = LayerIndex.projectile.intVal; list.Add(item); } val.hitBoxes = list.ToArray(); val.groupName = hitboxName; } public static void AddProjectilePrefab(GameObject projectileToAdd) { projectilePrefabs.Add(projectileToAdd); } } internal static class Projectiles { public static GameObject corrosiveChargePrefab; public static GameObject explosionEffect = LegacyResourcesAPI.Load("Prefabs/Effects/ImpactEffects/MissileExplosionVFX"); public static GameObject drillPrefab; internal static void RegisterProjectiles() { CreateCorrosiveCharge(); CreateDrill(); AddProjectile(drillPrefab); AddProjectile(corrosiveChargePrefab); } private static void CreateCorrosiveCharge() { //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Unknown result type (might be due to invalid IL or missing references) corrosiveChargePrefab = CloneProjectilePrefab("CaptainTazer", "UrgotCorrosiveChargeProjectile"); Object.Destroy((Object)(object)corrosiveChargePrefab.GetComponent()); Object.Destroy((Object)(object)corrosiveChargePrefab.GetComponent()); Object.Destroy((Object)(object)corrosiveChargePrefab.GetComponent()); ((Collider)corrosiveChargePrefab.GetComponent()).material = null; corrosiveChargePrefab.GetComponent().damageType = DamageTypeCombo.op_Implicit((DamageType)4096); ProjectileSimple obj = corrosiveChargePrefab.AddComponent(); obj.desiredForwardSpeed = 200f; obj.lifetime = 99999f; obj.lifetimeExpiredEffect = null; ProjectileStickOnImpact obj2 = corrosiveChargePrefab.AddComponent(); obj2.ignoreCharacters = false; obj2.ignoreWorld = false; StickFuse stickFuse = corrosiveChargePrefab.AddComponent(); if (Object.op_Implicit((Object)(object)explosionEffect)) { stickFuse.explosionEffectPrefab = explosionEffect; } else { stickFuse.explosionEffectPrefab = LegacyResourcesAPI.Load(""); } ProjectileController component = corrosiveChargePrefab.GetComponent(); if ((Object)(object)Assets.mainAssetBundle.LoadAsset("corrosiveCharge") != (Object)null) { component.ghostPrefab = CreateGhostPrefab("corrosiveCharge"); } component.ghostPrefab.transform.rotation = Quaternion.Euler(0f, 90f, 0f); component.startSound = "corrosiveCharge"; } private static void CreateDrill() { //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) drillPrefab = CloneProjectilePrefab("CaptainTazer", "UrgotDrillProjectile"); Object.Destroy((Object)(object)drillPrefab.GetComponent()); Object.Destroy((Object)(object)drillPrefab.GetComponent()); Object.Destroy((Object)(object)drillPrefab.GetComponent()); ((Collider)drillPrefab.GetComponent()).material = null; drillPrefab.GetComponent().damageType = DamageTypeCombo.op_Implicit((DamageType)0); ProjectileSimple obj = drillPrefab.AddComponent(); obj.desiredForwardSpeed = 100f; obj.lifetime = 99999f; obj.lifetimeExpiredEffect = null; ProjectileStickOnImpact obj2 = drillPrefab.AddComponent(); obj2.ignoreCharacters = false; obj2.ignoreWorld = false; ProjectileController component = drillPrefab.GetComponent(); drillPrefab.AddComponent(); if ((Object)(object)Assets.mainAssetBundle.LoadAsset("hexdrill") != (Object)null) { component.ghostPrefab = CreateGhostPrefab("hexdrill"); } component.startSound = "FBDLaunch"; } internal static void AddProjectile(GameObject projectileToAdd) { Prefabs.AddProjectilePrefab(projectileToAdd); } private static GameObject CreateGhostPrefab(string ghostName) { GameObject val = Assets.mainAssetBundle.LoadAsset(ghostName); if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } if (!Object.op_Implicit((Object)(object)val.GetComponent())) { val.AddComponent(); } Assets.ConvertAllRenderersToHopooShader(val); return val; } private static void InitializeImpactExplosion(ProjectileImpactExplosion projectileImpactExplosion) { } private static GameObject CloneProjectilePrefab(string prefabName, string newPrefabName) { return PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("Prefabs/Projectiles/" + prefabName), newPrefabName); } } internal static class Skills { internal static List skillFamilies = new List(); internal static List skillDefs = new List(); internal static void CreateSkillFamilies(GameObject targetPrefab, bool destroyExisting = true) { if (destroyExisting) { GenericSkill[] componentsInChildren = targetPrefab.GetComponentsInChildren(); for (int i = 0; i < componentsInChildren.Length; i++) { Object.DestroyImmediate((Object)(object)componentsInChildren[i]); } } SkillLocator component = targetPrefab.GetComponent(); KeyStoneHandler component2 = targetPrefab.GetComponent(); component.primary = CreateGenericSkillWithSkillFamily(targetPrefab, "Primary"); component.secondary = CreateGenericSkillWithSkillFamily(targetPrefab, "Secondary"); component.utility = CreateGenericSkillWithSkillFamily(targetPrefab, "Utility"); component.special = CreateGenericSkillWithSkillFamily(targetPrefab, "Special"); component2.keyStone = CreateGenericSkillWithSkillFamily(targetPrefab, "KeyStone"); component.passiveSkill.enabled = true; component.passiveSkill.skillNameToken = "URGOT_PASSIVE_NAME"; component.passiveSkill.skillDescriptionToken = "URGOT_PASSIVE_DESC"; component.passiveSkill.icon = Assets.mainAssetBundle.LoadAsset("urgot_passive"); } public static GenericSkill CreateGenericSkillWithSkillFamily(GameObject targetPrefab, string familyName, bool hidden = false) { GenericSkill obj = targetPrefab.AddComponent(); obj.skillName = familyName; obj.hideInCharacterSelect = hidden; SkillFamily val = ScriptableObject.CreateInstance(); ((Object)val).name = ((Object)targetPrefab).name + familyName + "Family"; val.variants = (Variant[])(object)new Variant[0]; obj._skillFamily = val; skillFamilies.Add(val); return obj; } public static void AddKeystoneSkills(GameObject targetPrefab, params SkillDef[] skillDefs) { AddSkillsToFamily(targetPrefab.GetComponent().keyStone.skillFamily, skillDefs); } public static void AddSkillToFamily(SkillFamily skillFamily, SkillDef skillDef, UnlockableDef unlockableDef = null) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Expected O, but got Unknown //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) Array.Resize(ref skillFamily.variants, skillFamily.variants.Length + 1); Variant[] variants = skillFamily.variants; int num = skillFamily.variants.Length - 1; Variant val = new Variant { skillDef = skillDef, unlockableDef = unlockableDef }; ((Variant)(ref val)).viewableNode = new Node(skillDef.skillNameToken, false, (Node)null); variants[num] = val; } public static void AddSkillsToFamily(SkillFamily skillFamily, params SkillDef[] skillDefs) { foreach (SkillDef skillDef in skillDefs) { AddSkillToFamily(skillFamily, skillDef); } } public static void AddPrimarySkills(GameObject targetPrefab, params SkillDef[] skillDefs) { AddSkillsToFamily(targetPrefab.GetComponent().primary.skillFamily, skillDefs); } public static void AddSecondarySkills(GameObject targetPrefab, params SkillDef[] skillDefs) { AddSkillsToFamily(targetPrefab.GetComponent().secondary.skillFamily, skillDefs); } public static void AddUtilitySkills(GameObject targetPrefab, params SkillDef[] skillDefs) { AddSkillsToFamily(targetPrefab.GetComponent().utility.skillFamily, skillDefs); } public static void AddSpecialSkills(GameObject targetPrefab, params SkillDef[] skillDefs) { AddSkillsToFamily(targetPrefab.GetComponent().special.skillFamily, skillDefs); } public static void AddUnlockablesToFamily(SkillFamily skillFamily, params UnlockableDef[] unlockableDefs) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) for (int i = 0; i < unlockableDefs.Length; i++) { Variant val = skillFamily.variants[i]; val.unlockableDef = unlockableDefs[i]; skillFamily.variants[i] = val; } } public static SkillDef CreateSkillDef(SkillDefInfo skillDefInfo) { return Skills.CreateSkillDef(skillDefInfo); } public static T CreateSkillDef(SkillDefInfo skillDefInfo) where T : SkillDef { //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: 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) T val = ScriptableObject.CreateInstance(); ((SkillDef)val).skillName = skillDefInfo.skillName; ((Object)(object)val).name = skillDefInfo.skillName; ((SkillDef)val).skillNameToken = skillDefInfo.skillNameToken; ((SkillDef)val).skillDescriptionToken = skillDefInfo.skillDescriptionToken; ((SkillDef)val).icon = skillDefInfo.skillIcon; ((SkillDef)val).activationState = skillDefInfo.activationState; ((SkillDef)val).activationStateMachineName = skillDefInfo.activationStateMachineName; ((SkillDef)val).baseMaxStock = skillDefInfo.baseMaxStock; ((SkillDef)val).baseRechargeInterval = skillDefInfo.baseRechargeInterval; ((SkillDef)val).beginSkillCooldownOnSkillEnd = skillDefInfo.beginSkillCooldownOnSkillEnd; ((SkillDef)val).canceledFromSprinting = skillDefInfo.canceledFromSprinting; ((SkillDef)val).forceSprintDuringState = skillDefInfo.forceSprintDuringState; ((SkillDef)val).fullRestockOnAssign = skillDefInfo.fullRestockOnAssign; ((SkillDef)val).interruptPriority = skillDefInfo.interruptPriority; ((SkillDef)val).resetCooldownTimerOnUse = skillDefInfo.resetCooldownTimerOnUse; ((SkillDef)val).isCombatSkill = skillDefInfo.isCombatSkill; ((SkillDef)val).mustKeyPress = skillDefInfo.mustKeyPress; ((SkillDef)val).cancelSprintingOnActivation = skillDefInfo.cancelSprintingOnActivation; ((SkillDef)val).rechargeStock = skillDefInfo.rechargeStock; ((SkillDef)val).requiredStock = skillDefInfo.requiredStock; ((SkillDef)val).stockToConsume = skillDefInfo.stockToConsume; ((SkillDef)val).keywordTokens = skillDefInfo.keywordTokens; skillDefs.Add((SkillDef)(object)val); return val; } public static SkillDef GetSkillDefByName(string skillName) { return skillDefs.Find((SkillDef skillDef) => skillDef.skillName == skillName); } } internal static class Skins { internal struct SkinDefInfo { internal SkinDef[] BaseSkins; internal GameObjectActivation[] GameObjectActivations; internal Sprite Icon; internal MeshReplacement[] MeshReplacements; internal MinionSkinReplacement[] MinionSkinReplacements; internal string Name; internal string NameToken; internal ProjectileGhostReplacement[] ProjectileGhostReplacements; internal RendererInfo[] RendererInfos; internal GameObject RootObject; internal UnlockableDef UnlockableDef; } internal static SkinDef CreateSkinDef(SkinDefInfo skinDefInfo) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Expected O, but got Unknown //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00ab: Expected O, but got Unknown SkinDef.Awake += new hook_Awake(DoNothing); SkinDef obj = ScriptableObject.CreateInstance(); obj.baseSkins = skinDefInfo.BaseSkins; obj.icon = skinDefInfo.Icon; obj.unlockableDef = skinDefInfo.UnlockableDef; obj.rootObject = skinDefInfo.RootObject; obj.rendererInfos = skinDefInfo.RendererInfos; obj.gameObjectActivations = skinDefInfo.GameObjectActivations; obj.meshReplacements = skinDefInfo.MeshReplacements; obj.projectileGhostReplacements = skinDefInfo.ProjectileGhostReplacements; obj.minionSkinReplacements = skinDefInfo.MinionSkinReplacements; obj.nameToken = skinDefInfo.NameToken; ((Object)obj).name = skinDefInfo.Name; SkinDef.Awake -= new hook_Awake(DoNothing); return obj; } internal static SkinDef CreateSkinDef(string skinName, Sprite skinIcon, RendererInfo[] rendererInfos, SkinnedMeshRenderer mainRenderer, GameObject root) { return CreateSkinDef(skinName, skinIcon, rendererInfos, mainRenderer, root, null); } internal static SkinDef CreateSkinDef(string skinName, Sprite skinIcon, RendererInfo[] rendererInfos, SkinnedMeshRenderer mainRenderer, GameObject root, UnlockableDef unlockableDef) { //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Expected O, but got Unknown //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0127: Expected O, but got Unknown SkinDefInfo skinDefInfo = default(SkinDefInfo); skinDefInfo.BaseSkins = Array.Empty(); skinDefInfo.GameObjectActivations = (GameObjectActivation[])(object)new GameObjectActivation[0]; skinDefInfo.Icon = skinIcon; skinDefInfo.MeshReplacements = (MeshReplacement[])(object)new MeshReplacement[0]; skinDefInfo.MinionSkinReplacements = (MinionSkinReplacement[])(object)new MinionSkinReplacement[0]; skinDefInfo.Name = skinName; skinDefInfo.NameToken = skinName; skinDefInfo.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; skinDefInfo.RendererInfos = rendererInfos; skinDefInfo.RootObject = root; skinDefInfo.UnlockableDef = unlockableDef; SkinDefInfo skinDefInfo2 = skinDefInfo; SkinDef.Awake += new hook_Awake(DoNothing); SkinDef obj = ScriptableObject.CreateInstance(); obj.baseSkins = skinDefInfo2.BaseSkins; obj.icon = skinDefInfo2.Icon; obj.unlockableDef = skinDefInfo2.UnlockableDef; obj.rootObject = skinDefInfo2.RootObject; obj.rendererInfos = skinDefInfo2.RendererInfos; obj.gameObjectActivations = skinDefInfo2.GameObjectActivations; obj.meshReplacements = skinDefInfo2.MeshReplacements; obj.projectileGhostReplacements = skinDefInfo2.ProjectileGhostReplacements; obj.minionSkinReplacements = skinDefInfo2.MinionSkinReplacements; obj.nameToken = skinDefInfo2.NameToken; ((Object)obj).name = skinDefInfo2.Name; SkinDef.Awake -= new hook_Awake(DoNothing); return obj; } private static void DoNothing(orig_Awake orig, SkinDef self) { } } public static class States { internal static List entityStates = new List(); internal static void RegisterStates() { entityStates.Add(typeof(FBD)); entityStates.Add(typeof(Purge)); entityStates.Add(typeof(DisdainWindup)); entityStates.Add(typeof(UrgotMain)); entityStates.Add(typeof(CorrosiveCharge)); entityStates.Add(typeof(Death)); entityStates.Add(typeof(Taunt)); entityStates.Add(typeof(Joke)); entityStates.Add(typeof(Laugh)); entityStates.Add(typeof(Dance)); } } internal static class StaticValues { } internal static class Tokens { public const string characterLore = "Once a powerful Noxian headsman, Urgot was betrayed by the empire for which he had killed so many. Bound in iron chains, he was forced to learn the true meaning of strength in the Dredge—a prison mine deep beneath Zaun. Emerging in a disaster that spread chaos throughout the city, he now casts an imposing shadow over its criminal underworld. Raising his victims on the very chains that once enslaved him, he will purge his new home of the unworthy, making it a crucible of pain."; public const string characterName = "Urgot"; public const string characterOutro = "..and so he left, looking for the worthy"; public const string characterOutroFailure = "..and so he returned, unworthy"; public const string characterSubtitle = "The Dreadnought"; public static string descriptionText = "Urgot's rebellion caused Piltover to imprison him once more. But since the concept of a Prison didn't work the first time, he was send to Petrichor V" + Environment.NewLine + Environment.NewLine + "< ! > Each of Urgot's six legs conceals a shotgun each covering an 60° angel, together forming the Perfect defense. Fire within each arc sets of the designated Blast before entering a unique cooldown" + Environment.NewLine + Environment.NewLine + "< ! > Urgot's machine gun allows him constant enemy Surpession while keeping a safe distance." + Environment.NewLine + Environment.NewLine + "< ! > Urgot fires a Corrosive charge allowing him to intoxicate and slow enemys." + Environment.NewLine + Environment.NewLine + "< ! > Urgot leaps forward knocking aside lesser enemys, stopping at the first elite hit and flinging them behind him." + Environment.NewLine + Environment.NewLine + "< ! > Urgot launches a chemdrill, impaling the first enemy hit. If the impaled victim falls below a ceratin health threshhold he can reel them in end execute them." + Environment.NewLine + Environment.NewLine; internal static void AddTokens() { LanguageAPI.Add("URGOT_NAME", "Urgot"); LanguageAPI.Add("URGOT_NAME_SUBTITLE", "The Dreadnought"); LanguageAPI.Add("CRAB_URGOT_NAME", "Giant enemy Crabgot"); LanguageAPI.Add("BUTCHER_URGOT_NAME", "Butcher Urgot"); LanguageAPI.Add("BATTLECAST_URGOT_NAME", "Battlecast Urgot"); LanguageAPI.Add("HIGHNOON_URGOT_NAME", "High Noon Urgot"); LanguageAPI.Add("PJAMA_URGOT_NAME", "Pjama Guardian Cosplay Urgot"); LanguageAPI.Add("FRIGHT_URGOT_NAME", "Fright Night Urgot"); LanguageAPI.Add("CLOGFATHER_URGOT_NAME", "Urgot the Clogfather"); LanguageAPI.Add("URGOT_DESCRIPTION", descriptionText); LanguageAPI.Add("URGOT_LORE", "Once a powerful Noxian headsman, Urgot was betrayed by the empire for which he had killed so many. Bound in iron chains, he was forced to learn the true meaning of strength in the Dredge—a prison mine deep beneath Zaun. Emerging in a disaster that spread chaos throughout the city, he now casts an imposing shadow over its criminal underworld. Raising his victims on the very chains that once enslaved him, he will purge his new home of the unworthy, making it a crucible of pain."); LanguageAPI.Add("URGOT_OUTRO_FLAVOR", "..and so he left, looking for the worthy"); LanguageAPI.Add("URGOT_OUTRO_FAILURE", "..and so he returned, unworthy"); LanguageAPI.Add("URGOT_DEFAULT_SKIN_NAME", "Urgot"); LanguageAPI.Add("URGOT_PASSIVE_NAME", "Echoing Flames"); LanguageAPI.Add("URGOT_PASSIVE_DESC", "Stunning. Each of Urgot' s legs can fire in a cone every 30 seconds(decreasing with level) when targetting an enemy in it's angle dealing 250% + up to 6%max health damage."); LanguageAPI.Add("URGOT_PRIMARY_NAME", "Purge"); LanguageAPI.Add("URGOT_PRIMARY_DESC", "Agile. Agile. Fire repeatedly, dealing 90% damage."); LanguageAPI.Add("URGOT_SECONDARY_NAME", "Corrosive Charge"); LanguageAPI.Add("URGOT_SECONDARY_DESC", "Poisonous. Fire a poisonous, sticky charge that explodes after a delay, dealing 350 % damage and slowing enemies by 70%\n"); LanguageAPI.Add("URGOT_UTILITY_NAME", "Disdain"); LanguageAPI.Add("URGOT_UTILITY_DESC", "Stunning. Leaps forward, dealing 200% damage to enemies Urgot passes through. Knocks enemies to the side, stunning them. Throws elites and bosses behind you, making them vulnerable for Purge.\n"); LanguageAPI.Add("URGOT_SPECIAL_NAME", "FEAR BEYOND DEATH"); LanguageAPI.Add("URGOT_SPECIAL_DESC", "Slayer. Launches a chemdrill, slowing the first enemy hit based on its missing health. Once low enough, Urgot can recast to drag the enemy and execute it. Kills lower the execution threshold for the stage.."); LanguageAPI.Add("URGOT_CONQUEROR_NAME", "Conqueror"); LanguageAPI.Add("URGOT_CONQUEROR_DESC", "Successful attacks & abilties against enemies grant 1 stack of conqueror up to 12 stacks. Each stack of Conqueror grants 0.6 (+0.045 every 4 levels) bonus base damage. While fully stacked you heal for 6% of any damage from abilities dealt to enemies."); LanguageAPI.Add("URGOT_LETHAL_NAME", "Lethal Tempo"); LanguageAPI.Add("URGOT_LETHAL_DESC", "Successful attacks & abilties against enemies grant 1 stack of lethal tempo up to 6 stacks. Gain 10% bonus attack speed for each stack up to 60% bonus attack speed at maximum stacks."); LanguageAPI.Add("URGOT_PHASE_RUSH_NAME", "Phase Rush"); LanguageAPI.Add("URGOT_PHASE_RUSH_DESC", "Successful attacks & abilties generate 1 stack against enemies. Applying 3 stacks to a target within a 4 second period grants you 30% (+5% every 4 levels) bonus movement speed for 3 seconds. Grants the bonus movement speed on kill."); LanguageAPI.Add("URGOT_ELECTROCUTE_NAME", "Electrocute"); LanguageAPI.Add("URGOT_ELECTROCUTE_DESC", "Successful attacks & abilties generate 1 stack against enemies. Applying 3 stacks to a target within a 3 second period causes them to be struck by lightning after a 1-second delay, dealing them 600% (+75% every 4 levels) damage. Electrocute has a 5 second cooldown per target."); } } internal interface IModdedUnlockableDataProvider { string AchievementDescToken { get; } string AchievementIdentifier { get; } string AchievementNameToken { get; } Func GetHowToUnlock { get; } Func GetUnlocked { get; } string PrerequisiteUnlockableIdentifier { get; } Sprite Sprite { get; } string UnlockableIdentifier { get; } string UnlockableNameToken { get; } } internal static class Unlockables { internal struct UnlockableInfo { internal Func HowToUnlockString; internal string Name; internal int SortScore; internal Func UnlockedString; } internal static List achievementDefs = new List(); internal static List unlockableDefs = new List(); private static readonly List<(AchievementDef achDef, UnlockableDef unlockableDef, string unlockableName)> moddedUnlocks = new List<(AchievementDef, UnlockableDef, string)>(); private static readonly HashSet usedRewardIds = new HashSet(); private static bool addingUnlockables; public static bool ableToAdd { get; private set; } = false; public static UnlockableDef AddUnlockable(bool serverTracked) where TUnlockable : BaseAchievement, IModdedUnlockableDataProvider, new() { //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //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_008f: 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_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Expected O, but got Unknown //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_016b: Expected O, but got Unknown //IL_0172: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Expected O, but got Unknown TUnlockable val = new TUnlockable(); string unlockableIdentifier = val.UnlockableIdentifier; if (!usedRewardIds.Add(unlockableIdentifier)) { throw new InvalidOperationException("The unlockable identifier '" + unlockableIdentifier + "' is already used by another mod or the base game."); } AchievementDef val2 = new AchievementDef { identifier = val.AchievementIdentifier, unlockableRewardIdentifier = val.UnlockableIdentifier, prerequisiteAchievementIdentifier = val.PrerequisiteUnlockableIdentifier, nameToken = val.AchievementNameToken, descriptionToken = val.AchievementDescToken, achievedIcon = val.Sprite, type = val.GetType(), serverTrackerType = (serverTracked ? val.GetType() : null) }; UnlockableInfo unlochableInfo = default(UnlockableInfo); unlochableInfo.Name = val.UnlockableIdentifier; unlochableInfo.HowToUnlockString = val.GetHowToUnlock; unlochableInfo.UnlockedString = val.GetUnlocked; unlochableInfo.SortScore = 200; UnlockableDef val3 = CreateNewUnlockable(unlochableInfo); unlockableDefs.Add(val3); achievementDefs.Add(val2); moddedUnlocks.Add((val2, val3, val.UnlockableIdentifier)); if (!addingUnlockables) { addingUnlockables = true; AchievementManager.CollectAchievementDefs += new Manipulator(CollectAchievementDefs); UnlockableCatalog.Init += new Manipulator(Init_IL); } return val3; } public static ILCursor CallDel_(this ILCursor cursor, TDelegate target, out int index) where TDelegate : Delegate { index = cursor.EmitDelegate(target); return cursor; } public static ILCursor CallDel_(this ILCursor cursor, TDelegate target) where TDelegate : Delegate { int index; return cursor.CallDel_(target, out index); } internal static UnlockableDef CreateNewUnlockable(UnlockableInfo unlochableInfo) { UnlockableDef obj = ScriptableObject.CreateInstance(); obj.nameToken = unlochableInfo.Name; obj.cachedName = unlochableInfo.Name; obj.getHowToUnlockString = unlochableInfo.HowToUnlockString; obj.getUnlockedString = unlochableInfo.UnlockedString; obj.sortScore = unlochableInfo.SortScore; return obj; } private static void CollectAchievementDefs(ILContext il) { //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Expected O, but got Unknown //IL_007f: 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_00ab: Unknown result type (might be due to invalid IL or missing references) FieldInfo field = typeof(AchievementManager).GetField("achievementIdentifiers", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); if ((object)field == null) { throw new NullReferenceException("Could not find field in AchievementManager"); } ILCursor val = new ILCursor(il); val.GotoNext((MoveType)2, new Func[2] { (Instruction x) => ILPatternMatchingExt.MatchEndfinally(x), (Instruction x) => ILPatternMatchingExt.MatchLdloc(x, 1) }); val.Emit(OpCodes.Ldarg_0); val.Emit(OpCodes.Ldsfld, field); val.EmitDelegate, Dictionary, List>>((Action, Dictionary, List>)EmittedDelegate); val.Emit(OpCodes.Ldloc_1); static void EmittedDelegate(List list, Dictionary map, List identifiers) { ableToAdd = false; for (int i = 0; i < moddedUnlocks.Count; i++) { AchievementDef item = moddedUnlocks[i].achDef; if (item != null) { identifiers.Add(item.identifier); list.Add(item); map.Add(item.identifier, item); } } } } private static void Init_IL(ILContext il) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) new ILCursor(il).GotoNext((MoveType)1, new Func[1] { (Instruction x) => ILPatternMatchingExt.MatchCallOrCallvirt(x, typeof(UnlockableCatalog), "SetUnlockableDefs") }).CallDel_(ArrayHelper.AppendDel(unlockableDefs)); } } internal abstract class ModdedUnlockable : BaseAchievement, IModdedUnlockableDataProvider { public abstract string AchievementDescToken { get; } public abstract string AchievementIdentifier { get; } public abstract string AchievementNameToken { get; } public abstract Func GetHowToUnlock { get; } public abstract Func GetUnlocked { get; } public abstract string PrerequisiteUnlockableIdentifier { get; } public abstract Sprite Sprite { get; } public abstract string UnlockableIdentifier { get; } public abstract string UnlockableNameToken { get; } public override bool wantsBodyCallbacks => ((BaseAchievement)this).wantsBodyCallbacks; public void Revoke() { if (((BaseAchievement)this).userProfile.HasAchievement(AchievementIdentifier)) { ((BaseAchievement)this).userProfile.RevokeAchievement(AchievementIdentifier); } ((BaseAchievement)this).userProfile.RevokeUnlockable(UnlockableCatalog.GetUnlockableDef(UnlockableIdentifier)); } public override BodyIndex LookUpRequiredBodyIndex() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) return ((BaseAchievement)this).LookUpRequiredBodyIndex(); } public override void OnBodyRequirementBroken() { ((BaseAchievement)this).OnBodyRequirementBroken(); } public override void OnBodyRequirementMet() { ((BaseAchievement)this).OnBodyRequirementMet(); } public override void OnGranted() { ((BaseAchievement)this).OnGranted(); } public override void OnInstall() { ((BaseAchievement)this).OnInstall(); } public override void OnUninstall() { ((BaseAchievement)this).OnUninstall(); } public override float ProgressForAchievement() { return ((BaseAchievement)this).ProgressForAchievement(); } } public class EchoingFlamesComponent : NetworkBehaviour, IOnDamageInflictedServerReceiver { private CharacterBody body; private EntityStateMachine outer; private const float baseEchoingFlamesCD = 30f; private float EchoingFlamesDamageCoefficient = 2.5f; private float[] cooldowns = new float[6]; private bool[] glow = new bool[6]; private Vector3 up = Vector3.up; private Vector3 fwd = Vector3.forward; public float echoingFlamesCD { get { return body.level * 30f; } set { echoingFlamesCD = ((value >= 0f) ? value : 0f); } } protected bool isAuthority => Util.HasEffectiveAuthority(outer.networkIdentity); public void Awake() { body = ((Component)this).GetComponent(); outer = ((Component)this).GetComponent(); } private void FixedUpdate() { if (NetworkServer.active) { ServerFixedUpdate(); } if (isAuthority) { AuthorityFixedUpdate(); } } private void AuthorityFixedUpdate() { } private void ServerFixedUpdate() { for (int i = 0; i > cooldowns.Length; i++) { glow[i] = Time.time - cooldowns[i] >= Mathf.Lerp(30f, 2.5f, Mathf.Min(12f, body.level) / 12f); _ = glow[i]; } } public void OnDamageInflictedServer(DamageReport damageReport) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) Vector3 val = damageReport.attacker.transform.position - ((Component)damageReport.victim).transform.position; float magnitude = ((Vector3)(ref val)).magnitude; if (DamageTypeCombo.op_Implicit(damageReport.damageInfo.damageType) == DamageTypeCombo.op_Implicit(DamageTypeCombo.GenericPrimary) && magnitude <= 10f) { UrgotPlugin.Logger.LogMessage((object)$"Distance: {magnitude}"); } } public void CheckAngle(Vector3 aimDirA, Vector3 upA, Vector3 fwdA) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) aimDirA.y = 0f; float num = Vector3.SignedAngle(fwdA, aimDirA, upA); fwd = fwdA; up = upA; float num2 = num; if (num2 > 0f && num2 <= 60f) { CheckForCooldown(0); } else { float num3 = num2; if (num3 > 60f && num3 <= 120f) { CheckForCooldown(1); } else { float num4 = num2; if (num4 > 120f && num4 <= 180f) { CheckForCooldown(2); } else { float num5 = num2; if (num5 > -180f && num5 <= -120f) { CheckForCooldown(3); } else { float num6 = num2; if (num6 > -120f && num6 <= -60f) { CheckForCooldown(4); } else { float num7 = num2; if (num7 > -60f && num7 <= 0f) { CheckForCooldown(5); } } } } } } UrgotPlugin.Logger.LogMessage((object)$"Angle: {num},aimDir: {aimDirA}"); } private void CheckForCooldown(int legID) { if (Time.time - cooldowns[legID] >= Mathf.Lerp(30f, 2.5f, Mathf.Min(12f, body.level) / 12f)) { cooldowns[legID] = Time.time; FireFlame(legID); } else { UrgotPlugin.Logger.LogMessage((object)$"Cooldown of leg {legID} is {Time.time - cooldowns[legID]}"); UrgotPlugin.Logger.LogMessage((object)$"Time is {Time.time}, Level: {body.level}"); } } public void FireFlame(int legID) { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0071: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bc: 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_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0135: Unknown result type (might be due to invalid IL or missing references) //IL_013a: 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_0143: Unknown result type (might be due to invalid IL or missing references) //IL_0155: Unknown result type (might be due to invalid IL or missing references) //IL_015a: 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_024a: Unknown result type (might be due to invalid IL or missing references) //IL_0251: Expected O, but got Unknown //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02cc: Unknown result type (might be due to invalid IL or missing references) //IL_02d3: Unknown result type (might be due to invalid IL or missing references) //IL_02d8: Unknown result type (might be due to invalid IL or missing references) //IL_02dd: Unknown result type (might be due to invalid IL or missing references) //IL_030d: Unknown result type (might be due to invalid IL or missing references) //IL_0312: Unknown result type (might be due to invalid IL or missing references) //IL_031a: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Unknown result type (might be due to invalid IL or missing references) //IL_0328: Unknown result type (might be due to invalid IL or missing references) List list = new List(); list = new SphereSearch { radius = 8f, mask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask, origin = body.transform.position }.RefreshCandidates().FilterCandidatesByHurtBoxTeam(TeamMask.GetEnemyTeams(body.teamComponent.teamIndex)).FilterCandidatesByDistinctHurtBoxEntities() .GetHurtBoxes() .ToList(); new List(); foreach (HurtBox item in new SphereSearch { radius = 3f, mask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask, origin = body.transform.position }.RefreshCandidates().FilterCandidatesByHurtBoxTeam(TeamMask.GetEnemyTeams(body.teamComponent.teamIndex)).FilterCandidatesByDistinctHurtBoxEntities() .GetHurtBoxes() .ToList()) { list.Remove(item); } foreach (HurtBox item2 in list) { Vector3 val = ((Component)item2).transform.position - body.transform.position; Vector3 normalized = ((Vector3)(ref val)).normalized; int num = 7; normalized.y = 0f; float num2 = Vector3.SignedAngle(fwd, normalized, up); UrgotPlugin.Logger.LogMessage((object)("Enemy: " + ((Object)item2).name)); float num3 = num2; if (num3 > 0f && num3 <= 60f) { num = 0; } else { float num4 = num3; if (num4 > 60f && num4 <= 120f) { num = 1; } else { float num5 = num3; if (num5 > 120f && num5 <= 180f) { num = 2; } else { float num6 = num3; if (num6 > -180f && num6 <= -120f) { num = 3; } else { float num7 = num3; if (num7 > -120f && num7 <= -60f) { num = 4; } else { float num8 = num3; if (num8 > -60f && num8 <= 0f) { num = 5; } } } } } } UrgotPlugin.Logger.LogMessage((object)$"michael stabi: {num}"); if (num != 7 || num == legID) { DamageInfo val2 = new DamageInfo(); val2.damage = EchoingFlamesDamageCoefficient * body.damage + item2.healthComponent.fullHealth * Mathf.Lerp(0.03f, 0.06f, Mathf.Min(12f, body.level) / 12f); val2.attacker = ((Component)body).gameObject; val2.inflictor = ((Component)body).gameObject; val2.force = Vector3.zero + normalized * 1000f; val2.crit = body.RollCrit(); val2.procCoefficient = 1.1f; val2.position = ((Component)item2).gameObject.transform.position; val2.damageType = DamageTypeCombo.op_Implicit((DamageType)0); val2.damageColorIndex = (DamageColorIndex)14; item2.healthComponent.TakeDamage(val2); } } Util.PlaySound("passive", ((Component)body).gameObject); UrgotPlugin.Logger.LogMessage((object)$"FIRE: {legID}"); } } } namespace UrgotMod.Modules.Survivors { internal abstract class SurvivorBase { internal static SurvivorBase instance; internal abstract BodyInfo bodyInfo { get; set; } internal abstract string bodyName { get; set; } internal abstract GameObject bodyPrefab { get; set; } internal abstract ConfigEntry characterEnabled { get; set; } internal abstract Type characterMainState { get; set; } internal abstract UnlockableDef characterUnlockableDef { get; set; } internal abstract CustomRendererInfo[] customRendererInfos { get; set; } internal abstract GameObject displayPrefab { get; set; } internal string fullBodyName => bodyName + "Body"; internal abstract List itemDisplayRules { get; set; } internal abstract ItemDisplayRuleSet itemDisplayRuleSet { get; set; } internal abstract int mainRendererIndex { get; set; } internal abstract float sortPosition { get; set; } internal virtual void Initialize() { instance = this; InitializeCharacter(); UrgotPlugin.Logger.LogMessage((object)"please work"); } internal virtual void InitializeCharacter() { //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_010f: Unknown result type (might be due to invalid IL or missing references) UrgotPlugin.Logger.LogMessage((object)"this is a cry for help"); if (characterEnabled.Value) { InitializeUnlockables(); bodyPrefab = Prefabs.CreatePrefab(bodyName + "Body", "mdl" + bodyName, bodyInfo); ChildLocator component = ((Component)bodyPrefab.GetComponent().modelTransform).GetComponent(); int num = component.FindChildIndex("Root_Legs_DRVN"); component.FindChildGameObject(num).AddComponent(); bodyPrefab.GetComponent().mainStateType = new SerializableEntityStateType(characterMainState); Prefabs.SetupCharacterModel(bodyPrefab, customRendererInfos, mainRendererIndex); displayPrefab = Prefabs.CreateDisplayPrefab(bodyName + "Display", bodyPrefab, bodyInfo); displayPrefab.AddComponent(); displayPrefab.AddComponent(); Prefabs.RegisterNewSurvivor(bodyPrefab, displayPrefab, new Color(0f, 54f, 14f), bodyName.ToUpper(), characterUnlockableDef, sortPosition, bodyInfo.bodyNameToken); InitializeHitboxes(); InitializeSkills(); InitializeSkins(); InitializeItemDisplays(); InitializeDoppelganger(); UrgotPlugin.Logger.LogMessage((object)"InitializeCharacter was called"); } } internal virtual void InitializeDoppelganger() { Prefabs.CreateGenericDoppelganger(instance.bodyPrefab, bodyName + "MonsterMaster", "Commando"); } internal virtual void InitializeHitboxes() { } internal virtual void InitializeItemDisplays() { CharacterModel componentInChildren = bodyPrefab.GetComponentInChildren(); itemDisplayRuleSet = ScriptableObject.CreateInstance(); ((Object)itemDisplayRuleSet).name = "idrs" + bodyName; componentInChildren.itemDisplayRuleSet = itemDisplayRuleSet; } internal virtual void InitializeSkills() { } internal virtual void InitializeSkins() { } internal virtual void InitializeUnlockables() { } internal virtual void SetItemDisplays() { } } internal class Urgot : SurvivorBase { internal static Material urgotMat = Assets.CreateMaterial("urgot_base"); private static UnlockableDef masterySkinUnlockableDef; internal override string bodyName { get; set; } = "Urgot"; internal override GameObject bodyPrefab { get; set; } internal override GameObject displayPrefab { get; set; } internal override float sortPosition { get; set; } = 18f; internal override ConfigEntry characterEnabled { get; set; } internal override BodyInfo bodyInfo { get; set; } = new BodyInfo { bodyName = "UrgotBody", bodyNameToken = "URGOT_NAME", bodyColor = new Color(0.3781f, 0.1324f, 0.4894f), characterPortrait = Assets.LoadCharacterIcon("urgot_square"), crosshair = Assets.LoadCrosshair("Standard"), subtitleNameToken = "URGOT_NAME_SUBTITLE", podPrefab = LegacyResourcesAPI.Load("Prefabs/NetworkedObjects/SurvivorPod"), maxHealth = Config.baseHealth.Value, healthGrowth = Config.healthGrowth.Value, healthRegen = Config.baseRegen.Value, regenGrowth = Config.regenGrowth.Value, moveSpeed = Config.baseMovementSpeed.Value, damage = Config.baseDamage.Value, damageGrowth = Config.damageGrowth.Value, armor = Config.baseArmor.Value, armorGrowth = Config.armorGrowth.Value, crit = Config.baseCrit.Value, jumpCount = Config.jumpCount.Value }; internal override int mainRendererIndex { get; set; } internal override CustomRendererInfo[] customRendererInfos { get; set; } = new CustomRendererInfo[1] { new CustomRendererInfo { childName = "Model", material = urgotMat } }; internal override Type characterMainState { get; set; } = typeof(UrgotMain); internal override ItemDisplayRuleSet itemDisplayRuleSet { get; set; } internal override List itemDisplayRules { get; set; } internal override UnlockableDef characterUnlockableDef { get; set; } internal override void InitializeCharacter() { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Expected O, but got Unknown //IL_0031: Expected O, but got Unknown characterEnabled = ((BaseUnityPlugin)UrgotPlugin.instance).Config.Bind(new ConfigDefinition(bodyName, "Enabled"), true, new ConfigDescription("Set to false to disable this character", (AcceptableValueBase)null, Array.Empty())); base.InitializeCharacter(); } internal override void InitializeUnlockables() { } internal override void InitializeDoppelganger() { base.InitializeDoppelganger(); } internal override void InitializeHitboxes() { _ = ((Component)bodyPrefab.GetComponentInChildren()).gameObject; } internal override void InitializeSkills() { //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Unknown result type (might be due to invalid IL or missing references) //IL_0168: Unknown result type (might be due to invalid IL or missing references) //IL_01ad: Unknown result type (might be due to invalid IL or missing references) //IL_0261: Unknown result type (might be due to invalid IL or missing references) //IL_0266: Unknown result type (might be due to invalid IL or missing references) //IL_02ab: Unknown result type (might be due to invalid IL or missing references) //IL_035f: Unknown result type (might be due to invalid IL or missing references) //IL_0364: Unknown result type (might be due to invalid IL or missing references) //IL_03a9: Unknown result type (might be due to invalid IL or missing references) Skills.CreateSkillFamilies(bodyPrefab); string text = "URGOT"; SkillDef val = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_PRIMARY_NAME", skillNameToken = text + "_PRIMARY_NAME", skillDescriptionToken = text + "_PRIMARY_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("urgot_w"), activationState = new SerializableEntityStateType(typeof(Purge)), activationStateMachineName = "Weapon", baseMaxStock = 1, baseRechargeInterval = 0f, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)0, resetCooldownTimerOnUse = false, isCombatSkill = true, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); ((Object)val).name = "UrgotPrimary"; Skills.AddPrimarySkills(bodyPrefab, val); SkillDef val2 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_SECONDARY_NAME", skillNameToken = text + "_SECONDARY_NAME", skillDescriptionToken = text + "_SECONDARY_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("urgot_q"), activationState = new SerializableEntityStateType(typeof(CorrosiveCharge)), activationStateMachineName = "Body", baseMaxStock = 1, baseRechargeInterval = Config.corrosiveChargeCD.Value, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)2, resetCooldownTimerOnUse = false, isCombatSkill = true, mustKeyPress = false, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); ((Object)val2).name = "UrgotCorrosiveCharge"; Skills.AddSecondarySkills(bodyPrefab, val2); SkillDef val3 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_UTILITY_NAME", skillNameToken = text + "_UTILITY_NAME", skillDescriptionToken = text + "_UTILITY_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("urgot_e"), activationState = new SerializableEntityStateType(typeof(DisdainWindup)), activationStateMachineName = "Body", baseMaxStock = 1, baseRechargeInterval = Config.disdainCD.Value, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)2, resetCooldownTimerOnUse = false, isCombatSkill = true, mustKeyPress = true, cancelSprintingOnActivation = false, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); ((Object)val3).name = "UrgotDisdainWindup"; Skills.AddUtilitySkills(bodyPrefab, val3); SkillDef val4 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_SPECIAL_NAME", skillNameToken = text + "_SPECIAL_NAME", skillDescriptionToken = text + "_SPECIAL_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("urgot_r"), activationState = new SerializableEntityStateType(typeof(FBD)), activationStateMachineName = "Body", baseMaxStock = 1, baseRechargeInterval = Config.FBDCD.Value, beginSkillCooldownOnSkillEnd = false, canceledFromSprinting = false, forceSprintDuringState = false, fullRestockOnAssign = true, interruptPriority = (InterruptPriority)2, resetCooldownTimerOnUse = false, isCombatSkill = true, mustKeyPress = false, cancelSprintingOnActivation = true, rechargeStock = 1, requiredStock = 1, stockToConsume = 1 }); ((Object)val4).name = "UrgotFearBeyondDeath"; Skills.AddSpecialSkills(bodyPrefab, val4); SkillDef val5 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_CONQUEROR_NAME", skillNameToken = text + "_CONQUEROR_NAME", skillDescriptionToken = text + "_CONQUEROR_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("Conqueror_rune") }); Skills.AddKeystoneSkills(bodyPrefab, val5); SkillDef val6 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_LETHAL_NAME", skillNameToken = text + "_LETHAL_NAME", skillDescriptionToken = text + "_LETHAL_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("Lethal_Tempo_rune") }); Skills.AddKeystoneSkills(bodyPrefab, val6); SkillDef val7 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_PHASE_RUSH_NAME", skillNameToken = text + "_PHASE_RUSH_NAME", skillDescriptionToken = text + "_PHASE_RUSH_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("Phase_Rush_rune") }); Skills.AddKeystoneSkills(bodyPrefab, val7); SkillDef val8 = Skills.CreateSkillDef(new SkillDefInfo { skillName = text + "_ELECTROCUTE_NAME", skillNameToken = text + "_ELECTROCUTE_NAME", skillDescriptionToken = text + "_ELECTROCUTE_DESC", skillIcon = Assets.mainAssetBundle.LoadAsset("Electrocute_rune") }); Skills.AddKeystoneSkills(bodyPrefab, val8); } internal override void InitializeSkins() { //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) GameObject gameObject = ((Component)bodyPrefab.GetComponentInChildren().modelTransform).gameObject; CharacterModel component = gameObject.GetComponent(); ModelSkinController val = gameObject.AddComponent(); gameObject.GetComponent(); SkinnedMeshRenderer mainSkinnedMeshRenderer = component.mainSkinnedMeshRenderer; RendererInfo[] baseRendererInfos = component.baseRendererInfos; List list = new List(); SkinDef val2 = Skins.CreateSkinDef("URGOT_DEFAULT_SKIN_NAME", Assets.mainAssetBundle.LoadAsset("urgot_square"), baseRendererInfos, mainSkinnedMeshRenderer, gameObject); val2.meshReplacements = (MeshReplacement[])(object)new MeshReplacement[1] { new MeshReplacement { mesh = mainSkinnedMeshRenderer.sharedMesh, renderer = (Renderer)(object)mainSkinnedMeshRenderer } }; list.Add(val2); val.skins = list.ToArray(); } internal override void SetItemDisplays() { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_0077: 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_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: 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_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0147: 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_0178: Unknown result type (might be due to invalid IL or missing references) //IL_017d: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) //IL_019b: Unknown result type (might be due to invalid IL or missing references) //IL_01a9: Unknown result type (might be due to invalid IL or missing references) //IL_01bf: Unknown result type (might be due to invalid IL or missing references) //IL_01d1: 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_020d: Unknown result type (might be due to invalid IL or missing references) //IL_0212: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_022d: Unknown result type (might be due to invalid IL or missing references) //IL_0243: Unknown result type (might be due to invalid IL or missing references) //IL_0248: Unknown result type (might be due to invalid IL or missing references) //IL_0250: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_0256: Unknown result type (might be due to invalid IL or missing references) //IL_0260: Unknown result type (might be due to invalid IL or missing references) //IL_0261: Unknown result type (might be due to invalid IL or missing references) //IL_0266: Unknown result type (might be due to invalid IL or missing references) //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_028a: Unknown result type (might be due to invalid IL or missing references) //IL_029c: Unknown result type (might be due to invalid IL or missing references) //IL_02a5: Unknown result type (might be due to invalid IL or missing references) //IL_02d8: Unknown result type (might be due to invalid IL or missing references) //IL_02dd: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Unknown result type (might be due to invalid IL or missing references) //IL_02f8: Unknown result type (might be due to invalid IL or missing references) //IL_030e: Unknown result type (might be due to invalid IL or missing references) //IL_0313: Unknown result type (might be due to invalid IL or missing references) //IL_031b: Unknown result type (might be due to invalid IL or missing references) //IL_0320: Unknown result type (might be due to invalid IL or missing references) //IL_0321: Unknown result type (might be due to invalid IL or missing references) //IL_032b: Unknown result type (might be due to invalid IL or missing references) //IL_032c: Unknown result type (might be due to invalid IL or missing references) //IL_0331: Unknown result type (might be due to invalid IL or missing references) //IL_033f: Unknown result type (might be due to invalid IL or missing references) //IL_0355: Unknown result type (might be due to invalid IL or missing references) //IL_0367: Unknown result type (might be due to invalid IL or missing references) //IL_0370: Unknown result type (might be due to invalid IL or missing references) //IL_03a3: Unknown result type (might be due to invalid IL or missing references) //IL_03a8: Unknown result type (might be due to invalid IL or missing references) //IL_03be: Unknown result type (might be due to invalid IL or missing references) //IL_03c3: Unknown result type (might be due to invalid IL or missing references) //IL_03d9: Unknown result type (might be due to invalid IL or missing references) //IL_03de: Unknown result type (might be due to invalid IL or missing references) //IL_03e6: Unknown result type (might be due to invalid IL or missing references) //IL_03eb: Unknown result type (might be due to invalid IL or missing references) //IL_03ec: Unknown result type (might be due to invalid IL or missing references) //IL_03f6: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03fc: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0420: Unknown result type (might be due to invalid IL or missing references) //IL_0432: Unknown result type (might be due to invalid IL or missing references) //IL_043b: Unknown result type (might be due to invalid IL or missing references) //IL_046e: 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_0489: Unknown result type (might be due to invalid IL or missing references) //IL_048e: Unknown result type (might be due to invalid IL or missing references) //IL_04a4: Unknown result type (might be due to invalid IL or missing references) //IL_04a9: 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_04b6: Unknown result type (might be due to invalid IL or missing references) //IL_04b7: Unknown result type (might be due to invalid IL or missing references) //IL_04c1: Unknown result type (might be due to invalid IL or missing references) //IL_04c2: Unknown result type (might be due to invalid IL or missing references) //IL_04c7: Unknown result type (might be due to invalid IL or missing references) //IL_04d5: Unknown result type (might be due to invalid IL or missing references) //IL_04eb: Unknown result type (might be due to invalid IL or missing references) //IL_04fd: Unknown result type (might be due to invalid IL or missing references) //IL_0506: Unknown result type (might be due to invalid IL or missing references) //IL_0539: Unknown result type (might be due to invalid IL or missing references) //IL_053e: Unknown result type (might be due to invalid IL or missing references) //IL_0554: Unknown result type (might be due to invalid IL or missing references) //IL_0559: Unknown result type (might be due to invalid IL or missing references) //IL_056f: Unknown result type (might be due to invalid IL or missing references) //IL_0574: Unknown result type (might be due to invalid IL or missing references) //IL_057c: Unknown result type (might be due to invalid IL or missing references) //IL_0581: Unknown result type (might be due to invalid IL or missing references) //IL_0582: Unknown result type (might be due to invalid IL or missing references) //IL_058c: Unknown result type (might be due to invalid IL or missing references) //IL_058d: Unknown result type (might be due to invalid IL or missing references) //IL_0592: Unknown result type (might be due to invalid IL or missing references) //IL_05a0: Unknown result type (might be due to invalid IL or missing references) //IL_05b6: Unknown result type (might be due to invalid IL or missing references) //IL_05c8: Unknown result type (might be due to invalid IL or missing references) //IL_05d1: Unknown result type (might be due to invalid IL or missing references) //IL_0604: 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_061f: Unknown result type (might be due to invalid IL or missing references) //IL_0624: Unknown result type (might be due to invalid IL or missing references) //IL_063a: Unknown result type (might be due to invalid IL or missing references) //IL_063f: Unknown result type (might be due to invalid IL or missing references) //IL_0647: Unknown result type (might be due to invalid IL or missing references) //IL_064c: Unknown result type (might be due to invalid IL or missing references) //IL_064d: Unknown result type (might be due to invalid IL or missing references) //IL_0657: Unknown result type (might be due to invalid IL or missing references) //IL_0658: Unknown result type (might be due to invalid IL or missing references) //IL_065d: Unknown result type (might be due to invalid IL or missing references) //IL_066b: Unknown result type (might be due to invalid IL or missing references) //IL_0681: Unknown result type (might be due to invalid IL or missing references) //IL_0693: Unknown result type (might be due to invalid IL or missing references) //IL_069c: Unknown result type (might be due to invalid IL or missing references) //IL_06cf: Unknown result type (might be due to invalid IL or missing references) //IL_06d4: Unknown result type (might be due to invalid IL or missing references) //IL_06ea: Unknown result type (might be due to invalid IL or missing references) //IL_06ef: Unknown result type (might be due to invalid IL or missing references) //IL_0705: Unknown result type (might be due to invalid IL or missing references) //IL_070a: Unknown result type (might be due to invalid IL or missing references) //IL_0712: Unknown result type (might be due to invalid IL or missing references) //IL_0717: 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_0722: 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_0728: Unknown result type (might be due to invalid IL or missing references) //IL_0736: Unknown result type (might be due to invalid IL or missing references) //IL_074c: Unknown result type (might be due to invalid IL or missing references) //IL_075e: Unknown result type (might be due to invalid IL or missing references) //IL_0767: Unknown result type (might be due to invalid IL or missing references) //IL_079a: Unknown result type (might be due to invalid IL or missing references) //IL_079f: Unknown result type (might be due to invalid IL or missing references) //IL_07b5: Unknown result type (might be due to invalid IL or missing references) //IL_07ba: Unknown result type (might be due to invalid IL or missing references) //IL_07d0: Unknown result type (might be due to invalid IL or missing references) //IL_07d5: Unknown result type (might be due to invalid IL or missing references) //IL_07dd: Unknown result type (might be due to invalid IL or missing references) //IL_07e2: Unknown result type (might be due to invalid IL or missing references) //IL_07e3: Unknown result type (might be due to invalid IL or missing references) //IL_07ed: Unknown result type (might be due to invalid IL or missing references) //IL_07ee: Unknown result type (might be due to invalid IL or missing references) //IL_07f3: Unknown result type (might be due to invalid IL or missing references) //IL_0801: Unknown result type (might be due to invalid IL or missing references) //IL_0817: Unknown result type (might be due to invalid IL or missing references) //IL_0829: Unknown result type (might be due to invalid IL or missing references) //IL_0832: Unknown result type (might be due to invalid IL or missing references) //IL_0865: Unknown result type (might be due to invalid IL or missing references) //IL_086a: Unknown result type (might be due to invalid IL or missing references) //IL_0880: Unknown result type (might be due to invalid IL or missing references) //IL_0885: Unknown result type (might be due to invalid IL or missing references) //IL_089b: Unknown result type (might be due to invalid IL or missing references) //IL_08a0: Unknown result type (might be due to invalid IL or missing references) //IL_08a8: Unknown result type (might be due to invalid IL or missing references) //IL_08ad: Unknown result type (might be due to invalid IL or missing references) //IL_08ae: Unknown result type (might be due to invalid IL or missing references) //IL_08b8: Unknown result type (might be due to invalid IL or missing references) //IL_08b9: Unknown result type (might be due to invalid IL or missing references) //IL_08be: Unknown result type (might be due to invalid IL or missing references) //IL_08cc: Unknown result type (might be due to invalid IL or missing references) //IL_08e2: Unknown result type (might be due to invalid IL or missing references) //IL_08f4: Unknown result type (might be due to invalid IL or missing references) //IL_08fd: Unknown result type (might be due to invalid IL or missing references) //IL_0930: Unknown result type (might be due to invalid IL or missing references) //IL_0935: Unknown result type (might be due to invalid IL or missing references) //IL_094b: Unknown result type (might be due to invalid IL or missing references) //IL_0950: Unknown result type (might be due to invalid IL or missing references) //IL_0966: Unknown result type (might be due to invalid IL or missing references) //IL_096b: Unknown result type (might be due to invalid IL or missing references) //IL_0973: Unknown result type (might be due to invalid IL or missing references) //IL_0978: Unknown result type (might be due to invalid IL or missing references) //IL_0979: Unknown result type (might be due to invalid IL or missing references) //IL_0983: Unknown result type (might be due to invalid IL or missing references) //IL_0984: Unknown result type (might be due to invalid IL or missing references) //IL_0989: Unknown result type (might be due to invalid IL or missing references) //IL_0997: Unknown result type (might be due to invalid IL or missing references) //IL_09ad: Unknown result type (might be due to invalid IL or missing references) //IL_09bf: Unknown result type (might be due to invalid IL or missing references) //IL_09c8: Unknown result type (might be due to invalid IL or missing references) //IL_09fb: Unknown result type (might be due to invalid IL or missing references) //IL_0a00: Unknown result type (might be due to invalid IL or missing references) //IL_0a16: Unknown result type (might be due to invalid IL or missing references) //IL_0a1b: Unknown result type (might be due to invalid IL or missing references) //IL_0a31: Unknown result type (might be due to invalid IL or missing references) //IL_0a36: Unknown result type (might be due to invalid IL or missing references) //IL_0a3e: Unknown result type (might be due to invalid IL or missing references) //IL_0a43: Unknown result type (might be due to invalid IL or missing references) //IL_0a44: Unknown result type (might be due to invalid IL or missing references) //IL_0a4e: Unknown result type (might be due to invalid IL or missing references) //IL_0a4f: Unknown result type (might be due to invalid IL or missing references) //IL_0a54: Unknown result type (might be due to invalid IL or missing references) //IL_0a62: Unknown result type (might be due to invalid IL or missing references) //IL_0a78: Unknown result type (might be due to invalid IL or missing references) //IL_0a8a: Unknown result type (might be due to invalid IL or missing references) //IL_0a93: Unknown result type (might be due to invalid IL or missing references) //IL_0ac6: Unknown result type (might be due to invalid IL or missing references) //IL_0acb: Unknown result type (might be due to invalid IL or missing references) //IL_0ae1: Unknown result type (might be due to invalid IL or missing references) //IL_0ae6: Unknown result type (might be due to invalid IL or missing references) //IL_0afc: Unknown result type (might be due to invalid IL or missing references) //IL_0b01: 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_0b0e: Unknown result type (might be due to invalid IL or missing references) //IL_0b0f: Unknown result type (might be due to invalid IL or missing references) //IL_0b19: Unknown result type (might be due to invalid IL or missing references) //IL_0b1a: Unknown result type (might be due to invalid IL or missing references) //IL_0b1f: Unknown result type (might be due to invalid IL or missing references) //IL_0b2d: Unknown result type (might be due to invalid IL or missing references) //IL_0b43: Unknown result type (might be due to invalid IL or missing references) //IL_0b55: Unknown result type (might be due to invalid IL or missing references) //IL_0b5e: 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_0b96: Unknown result type (might be due to invalid IL or missing references) //IL_0bac: Unknown result type (might be due to invalid IL or missing references) //IL_0bb1: Unknown result type (might be due to invalid IL or missing references) //IL_0bc7: Unknown result type (might be due to invalid IL or missing references) //IL_0bcc: Unknown result type (might be due to invalid IL or missing references) //IL_0bd4: Unknown result type (might be due to invalid IL or missing references) //IL_0bd9: Unknown result type (might be due to invalid IL or missing references) //IL_0bda: Unknown result type (might be due to invalid IL or missing references) //IL_0be4: Unknown result type (might be due to invalid IL or missing references) //IL_0be5: Unknown result type (might be due to invalid IL or missing references) //IL_0bea: Unknown result type (might be due to invalid IL or missing references) //IL_0bf8: Unknown result type (might be due to invalid IL or missing references) //IL_0c0e: Unknown result type (might be due to invalid IL or missing references) //IL_0c20: Unknown result type (might be due to invalid IL or missing references) //IL_0c29: Unknown result type (might be due to invalid IL or missing references) //IL_0c5c: Unknown result type (might be due to invalid IL or missing references) //IL_0c61: Unknown result type (might be due to invalid IL or missing references) //IL_0c77: Unknown result type (might be due to invalid IL or missing references) //IL_0c7c: Unknown result type (might be due to invalid IL or missing references) //IL_0c92: Unknown result type (might be due to invalid IL or missing references) //IL_0c97: Unknown result type (might be due to invalid IL or missing references) //IL_0c9f: Unknown result type (might be due to invalid IL or missing references) //IL_0ca4: Unknown result type (might be due to invalid IL or missing references) //IL_0ca5: Unknown result type (might be due to invalid IL or missing references) //IL_0caf: Unknown result type (might be due to invalid IL or missing references) //IL_0cb0: Unknown result type (might be due to invalid IL or missing references) //IL_0cb5: Unknown result type (might be due to invalid IL or missing references) //IL_0cc3: Unknown result type (might be due to invalid IL or missing references) //IL_0cd9: Unknown result type (might be due to invalid IL or missing references) //IL_0ceb: Unknown result type (might be due to invalid IL or missing references) //IL_0cf4: Unknown result type (might be due to invalid IL or missing references) //IL_0d27: Unknown result type (might be due to invalid IL or missing references) //IL_0d2c: Unknown result type (might be due to invalid IL or missing references) //IL_0d42: Unknown result type (might be due to invalid IL or missing references) //IL_0d47: Unknown result type (might be due to invalid IL or missing references) //IL_0d5d: Unknown result type (might be due to invalid IL or missing references) //IL_0d62: Unknown result type (might be due to invalid IL or missing references) //IL_0d6a: Unknown result type (might be due to invalid IL or missing references) //IL_0d6f: Unknown result type (might be due to invalid IL or missing references) //IL_0d70: Unknown result type (might be due to invalid IL or missing references) //IL_0d7a: Unknown result type (might be due to invalid IL or missing references) //IL_0d7b: Unknown result type (might be due to invalid IL or missing references) //IL_0d80: Unknown result type (might be due to invalid IL or missing references) //IL_0d8e: Unknown result type (might be due to invalid IL or missing references) //IL_0da4: Unknown result type (might be due to invalid IL or missing references) //IL_0db6: Unknown result type (might be due to invalid IL or missing references) //IL_0dbf: Unknown result type (might be due to invalid IL or missing references) //IL_0df2: 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_0e0d: Unknown result type (might be due to invalid IL or missing references) //IL_0e12: 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_0e2d: Unknown result type (might be due to invalid IL or missing references) //IL_0e35: Unknown result type (might be due to invalid IL or missing references) //IL_0e3a: Unknown result type (might be due to invalid IL or missing references) //IL_0e3b: Unknown result type (might be due to invalid IL or missing references) //IL_0e45: Unknown result type (might be due to invalid IL or missing references) //IL_0e46: Unknown result type (might be due to invalid IL or missing references) //IL_0e4b: 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_0e6f: 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_0ebd: Unknown result type (might be due to invalid IL or missing references) //IL_0ec2: Unknown result type (might be due to invalid IL or missing references) //IL_0ed8: Unknown result type (might be due to invalid IL or missing references) //IL_0edd: Unknown result type (might be due to invalid IL or missing references) //IL_0ef3: Unknown result type (might be due to invalid IL or missing references) //IL_0ef8: Unknown result type (might be due to invalid IL or missing references) //IL_0f00: Unknown result type (might be due to invalid IL or missing references) //IL_0f05: Unknown result type (might be due to invalid IL or missing references) //IL_0f06: Unknown result type (might be due to invalid IL or missing references) //IL_0f10: Unknown result type (might be due to invalid IL or missing references) //IL_0f11: Unknown result type (might be due to invalid IL or missing references) //IL_0f16: Unknown result type (might be due to invalid IL or missing references) //IL_0f24: Unknown result type (might be due to invalid IL or missing references) //IL_0f3a: Unknown result type (might be due to invalid IL or missing references) //IL_0f4c: Unknown result type (might be due to invalid IL or missing references) //IL_0f55: Unknown result type (might be due to invalid IL or missing references) //IL_0f88: Unknown result type (might be due to invalid IL or missing references) //IL_0f8d: Unknown result type (might be due to invalid IL or missing references) //IL_0fa3: Unknown result type (might be due to invalid IL or missing references) //IL_0fa8: Unknown result type (might be due to invalid IL or missing references) //IL_0fbe: Unknown result type (might be due to invalid IL or missing references) //IL_0fc3: Unknown result type (might be due to invalid IL or missing references) //IL_0fcb: Unknown result type (might be due to invalid IL or missing references) //IL_0fd0: Unknown result type (might be due to invalid IL or missing references) //IL_0fd1: Unknown result type (might be due to invalid IL or missing references) //IL_0fdb: Unknown result type (might be due to invalid IL or missing references) //IL_0fdc: Unknown result type (might be due to invalid IL or missing references) //IL_0fe1: Unknown result type (might be due to invalid IL or missing references) //IL_0fef: Unknown result type (might be due to invalid IL or missing references) //IL_1005: Unknown result type (might be due to invalid IL or missing references) //IL_1017: Unknown result type (might be due to invalid IL or missing references) //IL_1020: Unknown result type (might be due to invalid IL or missing references) //IL_1053: Unknown result type (might be due to invalid IL or missing references) //IL_1058: Unknown result type (might be due to invalid IL or missing references) //IL_106e: Unknown result type (might be due to invalid IL or missing references) //IL_1073: Unknown result type (might be due to invalid IL or missing references) //IL_1089: Unknown result type (might be due to invalid IL or missing references) //IL_108e: Unknown result type (might be due to invalid IL or missing references) //IL_1096: Unknown result type (might be due to invalid IL or missing references) //IL_109b: Unknown result type (might be due to invalid IL or missing references) //IL_109c: Unknown result type (might be due to invalid IL or missing references) //IL_10a6: Unknown result type (might be due to invalid IL or missing references) //IL_10a7: Unknown result type (might be due to invalid IL or missing references) //IL_10ac: Unknown result type (might be due to invalid IL or missing references) //IL_10ba: Unknown result type (might be due to invalid IL or missing references) //IL_10d0: Unknown result type (might be due to invalid IL or missing references) //IL_10e2: Unknown result type (might be due to invalid IL or missing references) //IL_10eb: Unknown result type (might be due to invalid IL or missing references) //IL_111e: Unknown result type (might be due to invalid IL or missing references) //IL_1123: Unknown result type (might be due to invalid IL or missing references) //IL_1139: 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_1154: Unknown result type (might be due to invalid IL or missing references) //IL_1159: Unknown result type (might be due to invalid IL or missing references) //IL_1161: Unknown result type (might be due to invalid IL or missing references) //IL_1166: Unknown result type (might be due to invalid IL or missing references) //IL_1167: Unknown result type (might be due to invalid IL or missing references) //IL_1171: Unknown result type (might be due to invalid IL or missing references) //IL_1172: Unknown result type (might be due to invalid IL or missing references) //IL_1177: Unknown result type (might be due to invalid IL or missing references) //IL_1185: Unknown result type (might be due to invalid IL or missing references) //IL_119b: Unknown result type (might be due to invalid IL or missing references) //IL_11ad: Unknown result type (might be due to invalid IL or missing references) //IL_11b6: Unknown result type (might be due to invalid IL or missing references) //IL_11e9: Unknown result type (might be due to invalid IL or missing references) //IL_11ee: Unknown result type (might be due to invalid IL or missing references) //IL_1204: Unknown result type (might be due to invalid IL or missing references) //IL_1209: Unknown result type (might be due to invalid IL or missing references) //IL_121f: Unknown result type (might be due to invalid IL or missing references) //IL_1224: Unknown result type (might be due to invalid IL or missing references) //IL_122c: Unknown result type (might be due to invalid IL or missing references) //IL_1231: Unknown result type (might be due to invalid IL or missing references) //IL_1232: Unknown result type (might be due to invalid IL or missing references) //IL_123c: Unknown result type (might be due to invalid IL or missing references) //IL_123d: Unknown result type (might be due to invalid IL or missing references) //IL_1242: Unknown result type (might be due to invalid IL or missing references) //IL_1250: Unknown result type (might be due to invalid IL or missing references) //IL_1266: Unknown result type (might be due to invalid IL or missing references) //IL_1278: Unknown result type (might be due to invalid IL or missing references) //IL_1281: Unknown result type (might be due to invalid IL or missing references) //IL_12b4: Unknown result type (might be due to invalid IL or missing references) //IL_12b9: Unknown result type (might be due to invalid IL or missing references) //IL_12cf: Unknown result type (might be due to invalid IL or missing references) //IL_12d4: Unknown result type (might be due to invalid IL or missing references) //IL_12ea: Unknown result type (might be due to invalid IL or missing references) //IL_12ef: Unknown result type (might be due to invalid IL or missing references) //IL_12f7: Unknown result type (might be due to invalid IL or missing references) //IL_12fc: Unknown result type (might be due to invalid IL or missing references) //IL_12fd: Unknown result type (might be due to invalid IL or missing references) //IL_1307: Unknown result type (might be due to invalid IL or missing references) //IL_1308: Unknown result type (might be due to invalid IL or missing references) //IL_130d: Unknown result type (might be due to invalid IL or missing references) //IL_131b: Unknown result type (might be due to invalid IL or missing references) //IL_1331: Unknown result type (might be due to invalid IL or missing references) //IL_1343: Unknown result type (might be due to invalid IL or missing references) //IL_134c: Unknown result type (might be due to invalid IL or missing references) //IL_137f: Unknown result type (might be due to invalid IL or missing references) //IL_1384: Unknown result type (might be due to invalid IL or missing references) //IL_139a: Unknown result type (might be due to invalid IL or missing references) //IL_139f: Unknown result type (might be due to invalid IL or missing references) //IL_13b5: Unknown result type (might be due to invalid IL or missing references) //IL_13ba: Unknown result type (might be due to invalid IL or missing references) //IL_13c2: Unknown result type (might be due to invalid IL or missing references) //IL_13c7: 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_13d1: Unknown result type (might be due to invalid IL or missing references) //IL_13da: Unknown result type (might be due to invalid IL or missing references) //IL_140d: Unknown result type (might be due to invalid IL or missing references) //IL_1412: Unknown result type (might be due to invalid IL or missing references) //IL_1428: Unknown result type (might be due to invalid IL or missing references) //IL_142d: Unknown result type (might be due to invalid IL or missing references) //IL_1443: Unknown result type (might be due to invalid IL or missing references) //IL_1448: Unknown result type (might be due to invalid IL or missing references) //IL_1450: Unknown result type (might be due to invalid IL or missing references) //IL_1455: Unknown result type (might be due to invalid IL or missing references) //IL_1456: Unknown result type (might be due to invalid IL or missing references) //IL_1460: Unknown result type (might be due to invalid IL or missing references) //IL_1461: 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_1474: Unknown result type (might be due to invalid IL or missing references) //IL_148a: Unknown result type (might be due to invalid IL or missing references) //IL_149c: Unknown result type (might be due to invalid IL or missing references) //IL_14a5: Unknown result type (might be due to invalid IL or missing references) //IL_14d8: Unknown result type (might be due to invalid IL or missing references) //IL_14dd: Unknown result type (might be due to invalid IL or missing references) //IL_14f3: Unknown result type (might be due to invalid IL or missing references) //IL_14f8: Unknown result type (might be due to invalid IL or missing references) //IL_150e: Unknown result type (might be due to invalid IL or missing references) //IL_1513: Unknown result type (might be due to invalid IL or missing references) //IL_151b: Unknown result type (might be due to invalid IL or missing references) //IL_1520: 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_152b: Unknown result type (might be due to invalid IL or missing references) //IL_152c: Unknown result type (might be due to invalid IL or missing references) //IL_1531: Unknown result type (might be due to invalid IL or missing references) //IL_153f: 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_1567: Unknown result type (might be due to invalid IL or missing references) //IL_1570: Unknown result type (might be due to invalid IL or missing references) //IL_15a3: Unknown result type (might be due to invalid IL or missing references) //IL_15a8: Unknown result type (might be due to invalid IL or missing references) //IL_15be: Unknown result type (might be due to invalid IL or missing references) //IL_15c3: Unknown result type (might be due to invalid IL or missing references) //IL_15d9: Unknown result type (might be due to invalid IL or missing references) //IL_15de: Unknown result type (might be due to invalid IL or missing references) //IL_15e6: Unknown result type (might be due to invalid IL or missing references) //IL_15eb: Unknown result type (might be due to invalid IL or missing references) //IL_15ec: Unknown result type (might be due to invalid IL or missing references) //IL_15f6: Unknown result type (might be due to invalid IL or missing references) //IL_15f7: Unknown result type (might be due to invalid IL or missing references) //IL_15fc: Unknown result type (might be due to invalid IL or missing references) //IL_160a: Unknown result type (might be due to invalid IL or missing references) //IL_1620: Unknown result type (might be due to invalid IL or missing references) //IL_1632: Unknown result type (might be due to invalid IL or missing references) //IL_163b: Unknown result type (might be due to invalid IL or missing references) //IL_166e: Unknown result type (might be due to invalid IL or missing references) //IL_1673: Unknown result type (might be due to invalid IL or missing references) //IL_1689: Unknown result type (might be due to invalid IL or missing references) //IL_168e: Unknown result type (might be due to invalid IL or missing references) //IL_16a4: Unknown result type (might be due to invalid IL or missing references) //IL_16a9: Unknown result type (might be due to invalid IL or missing references) //IL_16b1: 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_16b7: 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_16c2: Unknown result type (might be due to invalid IL or missing references) //IL_16c7: Unknown result type (might be due to invalid IL or missing references) //IL_16d5: Unknown result type (might be due to invalid IL or missing references) //IL_16eb: Unknown result type (might be due to invalid IL or missing references) //IL_16fd: Unknown result type (might be due to invalid IL or missing references) //IL_1706: Unknown result type (might be due to invalid IL or missing references) //IL_1739: Unknown result type (might be due to invalid IL or missing references) //IL_173e: 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_1759: Unknown result type (might be due to invalid IL or missing references) //IL_176f: Unknown result type (might be due to invalid IL or missing references) //IL_1774: 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_1781: Unknown result type (might be due to invalid IL or missing references) //IL_1782: Unknown result type (might be due to invalid IL or missing references) //IL_178c: Unknown result type (might be due to invalid IL or missing references) //IL_178d: Unknown result type (might be due to invalid IL or missing references) //IL_1792: Unknown result type (might be due to invalid IL or missing references) //IL_17a0: Unknown result type (might be due to invalid IL or missing references) //IL_17b6: Unknown result type (might be due to invalid IL or missing references) //IL_17c8: Unknown result type (might be due to invalid IL or missing references) //IL_17d1: Unknown result type (might be due to invalid IL or missing references) //IL_1804: Unknown result type (might be due to invalid IL or missing references) //IL_1809: Unknown result type (might be due to invalid IL or missing references) //IL_181f: Unknown result type (might be due to invalid IL or missing references) //IL_1824: Unknown result type (might be due to invalid IL or missing references) //IL_183a: Unknown result type (might be due to invalid IL or missing references) //IL_183f: Unknown result type (might be due to invalid IL or missing references) //IL_1847: Unknown result type (might be due to invalid IL or missing references) //IL_184c: Unknown result type (might be due to invalid IL or missing references) //IL_184d: Unknown result type (might be due to invalid IL or missing references) //IL_1857: Unknown result type (might be due to invalid IL or missing references) //IL_1858: Unknown result type (might be due to invalid IL or missing references) //IL_185d: Unknown result type (might be due to invalid IL or missing references) //IL_186b: Unknown result type (might be due to invalid IL or missing references) //IL_1881: Unknown result type (might be due to invalid IL or missing references) //IL_1893: Unknown result type (might be due to invalid IL or missing references) //IL_189c: Unknown result type (might be due to invalid IL or missing references) //IL_18cf: Unknown result type (might be due to invalid IL or missing references) //IL_18d4: Unknown result type (might be due to invalid IL or missing references) //IL_18ea: Unknown result type (might be due to invalid IL or missing references) //IL_18ef: Unknown result type (might be due to invalid IL or missing references) //IL_1905: Unknown result type (might be due to invalid IL or missing references) //IL_190a: Unknown result type (might be due to invalid IL or missing references) //IL_1912: Unknown result type (might be due to invalid IL or missing references) //IL_1917: Unknown result type (might be due to invalid IL or missing references) //IL_1918: Unknown result type (might be due to invalid IL or missing references) //IL_1922: Unknown result type (might be due to invalid IL or missing references) //IL_1923: Unknown result type (might be due to invalid IL or missing references) //IL_1928: Unknown result type (might be due to invalid IL or missing references) //IL_1936: Unknown result type (might be due to invalid IL or missing references) //IL_194c: Unknown result type (might be due to invalid IL or missing references) //IL_195e: Unknown result type (might be due to invalid IL or missing references) //IL_1967: Unknown result type (might be due to invalid IL or missing references) //IL_199a: Unknown result type (might be due to invalid IL or missing references) //IL_199f: Unknown result type (might be due to invalid IL or missing references) //IL_19b5: Unknown result type (might be due to invalid IL or missing references) //IL_19ba: Unknown result type (might be due to invalid IL or missing references) //IL_19d0: 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_19dd: Unknown result type (might be due to invalid IL or missing references) //IL_19e2: Unknown result type (might be due to invalid IL or missing references) //IL_19e3: Unknown result type (might be due to invalid IL or missing references) //IL_19ed: Unknown result type (might be due to invalid IL or missing references) //IL_19ee: Unknown result type (might be due to invalid IL or missing references) //IL_19f3: Unknown result type (might be due to invalid IL or missing references) //IL_1a01: Unknown result type (might be due to invalid IL or missing references) //IL_1a17: Unknown result type (might be due to invalid IL or missing references) //IL_1a29: Unknown result type (might be due to invalid IL or missing references) //IL_1a32: Unknown result type (might be due to invalid IL or missing references) //IL_1a65: 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_1a80: Unknown result type (might be due to invalid IL or missing references) //IL_1a85: 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_1aa0: Unknown result type (might be due to invalid IL or missing references) //IL_1aa8: Unknown result type (might be due to invalid IL or missing references) //IL_1aad: Unknown result type (might be due to invalid IL or missing references) //IL_1aae: Unknown result type (might be due to invalid IL or missing references) //IL_1ab7: Unknown result type (might be due to invalid IL or missing references) //IL_1ac0: Unknown result type (might be due to invalid IL or missing references) //IL_1af3: Unknown result type (might be due to invalid IL or missing references) //IL_1af8: Unknown result type (might be due to invalid IL or missing references) //IL_1b0e: Unknown result type (might be due to invalid IL or missing references) //IL_1b13: Unknown result type (might be due to invalid IL or missing references) //IL_1b29: Unknown result type (might be due to invalid IL or missing references) //IL_1b2e: Unknown result type (might be due to invalid IL or missing references) //IL_1b36: Unknown result type (might be due to invalid IL or missing references) //IL_1b3b: Unknown result type (might be due to invalid IL or missing references) //IL_1b3c: Unknown result type (might be due to invalid IL or missing references) //IL_1b46: Unknown result type (might be due to invalid IL or missing references) //IL_1b47: Unknown result type (might be due to invalid IL or missing references) //IL_1b4c: Unknown result type (might be due to invalid IL or missing references) //IL_1b5a: Unknown result type (might be due to invalid IL or missing references) //IL_1b70: Unknown result type (might be due to invalid IL or missing references) //IL_1b82: Unknown result type (might be due to invalid IL or missing references) //IL_1b8b: Unknown result type (might be due to invalid IL or missing references) //IL_1bbe: Unknown result type (might be due to invalid IL or missing references) //IL_1bc3: 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_1bde: Unknown result type (might be due to invalid IL or missing references) //IL_1bf4: Unknown result type (might be due to invalid IL or missing references) //IL_1bf9: 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_1c06: Unknown result type (might be due to invalid IL or missing references) //IL_1c07: Unknown result type (might be due to invalid IL or missing references) //IL_1c11: Unknown result type (might be due to invalid IL or missing references) //IL_1c12: Unknown result type (might be due to invalid IL or missing references) //IL_1c17: Unknown result type (might be due to invalid IL or missing references) //IL_1c25: 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_1c4d: Unknown result type (might be due to invalid IL or missing references) //IL_1c56: Unknown result type (might be due to invalid IL or missing references) //IL_1c89: Unknown result type (might be due to invalid IL or missing references) //IL_1c8e: Unknown result type (might be due to invalid IL or missing references) //IL_1ca4: Unknown result type (might be due to invalid IL or missing references) //IL_1ca9: Unknown result type (might be due to invalid IL or missing references) //IL_1cbf: Unknown result type (might be due to invalid IL or missing references) //IL_1cc4: Unknown result type (might be due to invalid IL or missing references) //IL_1ccc: Unknown result type (might be due to invalid IL or missing references) //IL_1cd1: Unknown result type (might be due to invalid IL or missing references) //IL_1cd2: Unknown result type (might be due to invalid IL or missing references) //IL_1cdc: Unknown result type (might be due to invalid IL or missing references) //IL_1cdd: Unknown result type (might be due to invalid IL or missing references) //IL_1ce2: Unknown result type (might be due to invalid IL or missing references) //IL_1cf0: Unknown result type (might be due to invalid IL or missing references) //IL_1d06: Unknown result type (might be due to invalid IL or missing references) //IL_1d18: Unknown result type (might be due to invalid IL or missing references) //IL_1d21: Unknown result type (might be due to invalid IL or missing references) //IL_1d54: Unknown result type (might be due to invalid IL or missing references) //IL_1d59: Unknown result type (might be due to invalid IL or missing references) //IL_1d6f: Unknown result type (might be due to invalid IL or missing references) //IL_1d74: Unknown result type (might be due to invalid IL or missing references) //IL_1d8a: Unknown result type (might be due to invalid IL or missing references) //IL_1d8f: Unknown result type (might be due to invalid IL or missing references) //IL_1d97: Unknown result type (might be due to invalid IL or missing references) //IL_1d9c: Unknown result type (might be due to invalid IL or missing references) //IL_1d9d: Unknown result type (might be due to invalid IL or missing references) //IL_1da6: Unknown result type (might be due to invalid IL or missing references) //IL_1daf: Unknown result type (might be due to invalid IL or missing references) //IL_1de2: Unknown result type (might be due to invalid IL or missing references) //IL_1de7: Unknown result type (might be due to invalid IL or missing references) //IL_1dfd: Unknown result type (might be due to invalid IL or missing references) //IL_1e02: Unknown result type (might be due to invalid IL or missing references) //IL_1e18: 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_1e25: Unknown result type (might be due to invalid IL or missing references) //IL_1e2a: Unknown result type (might be due to invalid IL or missing references) //IL_1e2b: Unknown result type (might be due to invalid IL or missing references) //IL_1e35: Unknown result type (might be due to invalid IL or missing references) //IL_1e36: Unknown result type (might be due to invalid IL or missing references) //IL_1e3b: Unknown result type (might be due to invalid IL or missing references) //IL_1e49: Unknown result type (might be due to invalid IL or missing references) //IL_1e5f: Unknown result type (might be due to invalid IL or missing references) //IL_1e71: Unknown result type (might be due to invalid IL or missing references) //IL_1e7a: Unknown result type (might be due to invalid IL or missing references) //IL_1ead: Unknown result type (might be due to invalid IL or missing references) //IL_1eb2: Unknown result type (might be due to invalid IL or missing references) //IL_1ec8: Unknown result type (might be due to invalid IL or missing references) //IL_1ecd: Unknown result type (might be due to invalid IL or missing references) //IL_1ee3: Unknown result type (might be due to invalid IL or missing references) //IL_1ee8: Unknown result type (might be due to invalid IL or missing references) //IL_1ef0: Unknown result type (might be due to invalid IL or missing references) //IL_1ef5: Unknown result type (might be due to invalid IL or missing references) //IL_1ef6: Unknown result type (might be due to invalid IL or missing references) //IL_1f00: Unknown result type (might be due to invalid IL or missing references) //IL_1f01: Unknown result type (might be due to invalid IL or missing references) //IL_1f06: Unknown result type (might be due to invalid IL or missing references) //IL_1f14: Unknown result type (might be due to invalid IL or missing references) //IL_1f2a: Unknown result type (might be due to invalid IL or missing references) //IL_1f3c: Unknown result type (might be due to invalid IL or missing references) //IL_1f45: Unknown result type (might be due to invalid IL or missing references) //IL_1f78: Unknown result type (might be due to invalid IL or missing references) //IL_1f7d: Unknown result type (might be due to invalid IL or missing references) //IL_1f93: Unknown result type (might be due to invalid IL or missing references) //IL_1f98: Unknown result type (might be due to invalid IL or missing references) //IL_1fae: 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_1fbb: Unknown result type (might be due to invalid IL or missing references) //IL_1fc0: Unknown result type (might be due to invalid IL or missing references) //IL_1fc1: Unknown result type (might be due to invalid IL or missing references) //IL_1fcb: Unknown result type (might be due to invalid IL or missing references) //IL_1fcc: Unknown result type (might be due to invalid IL or missing references) //IL_1fd1: Unknown result type (might be due to invalid IL or missing references) //IL_1fdf: Unknown result type (might be due to invalid IL or missing references) //IL_1ff5: Unknown result type (might be due to invalid IL or missing references) //IL_2007: Unknown result type (might be due to invalid IL or missing references) //IL_2010: Unknown result type (might be due to invalid IL or missing references) //IL_2043: Unknown result type (might be due to invalid IL or missing references) //IL_2048: Unknown result type (might be due to invalid IL or missing references) //IL_205e: Unknown result type (might be due to invalid IL or missing references) //IL_2063: Unknown result type (might be due to invalid IL or missing references) //IL_2079: Unknown result type (might be due to invalid IL or missing references) //IL_207e: Unknown result type (might be due to invalid IL or missing references) //IL_2086: Unknown result type (might be due to invalid IL or missing references) //IL_208b: Unknown result type (might be due to invalid IL or missing references) //IL_208c: Unknown result type (might be due to invalid IL or missing references) //IL_2096: Unknown result type (might be due to invalid IL or missing references) //IL_2097: Unknown result type (might be due to invalid IL or missing references) //IL_209c: Unknown result type (might be due to invalid IL or missing references) //IL_20aa: Unknown result type (might be due to invalid IL or missing references) //IL_20c0: Unknown result type (might be due to invalid IL or missing references) //IL_20d2: 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_210e: Unknown result type (might be due to invalid IL or missing references) //IL_2113: Unknown result type (might be due to invalid IL or missing references) //IL_2129: Unknown result type (might be due to invalid IL or missing references) //IL_212e: Unknown result type (might be due to invalid IL or missing references) //IL_2144: Unknown result type (might be due to invalid IL or missing references) //IL_2149: Unknown result type (might be due to invalid IL or missing references) //IL_2151: Unknown result type (might be due to invalid IL or missing references) //IL_2156: Unknown result type (might be due to invalid IL or missing references) //IL_2157: Unknown result type (might be due to invalid IL or missing references) //IL_2161: Unknown result type (might be due to invalid IL or missing references) //IL_2162: Unknown result type (might be due to invalid IL or missing references) //IL_2167: Unknown result type (might be due to invalid IL or missing references) //IL_2175: Unknown result type (might be due to invalid IL or missing references) //IL_218b: Unknown result type (might be due to invalid IL or missing references) //IL_219d: Unknown result type (might be due to invalid IL or missing references) //IL_21a6: Unknown result type (might be due to invalid IL or missing references) //IL_21d9: Unknown result type (might be due to invalid IL or missing references) //IL_21de: Unknown result type (might be due to invalid IL or missing references) //IL_21f4: Unknown result type (might be due to invalid IL or missing references) //IL_21f9: Unknown result type (might be due to invalid IL or missing references) //IL_220f: Unknown result type (might be due to invalid IL or missing references) //IL_2214: Unknown result type (might be due to invalid IL or missing references) //IL_221c: Unknown result type (might be due to invalid IL or missing references) //IL_2221: Unknown result type (might be due to invalid IL or missing references) //IL_2222: Unknown result type (might be due to invalid IL or missing references) //IL_222c: Unknown result type (might be due to invalid IL or missing references) //IL_222d: Unknown result type (might be due to invalid IL or missing references) //IL_2232: Unknown result type (might be due to invalid IL or missing references) //IL_2240: Unknown result type (might be due to invalid IL or missing references) //IL_2256: Unknown result type (might be due to invalid IL or missing references) //IL_2268: Unknown result type (might be due to invalid IL or missing references) //IL_2271: Unknown result type (might be due to invalid IL or missing references) //IL_22a4: Unknown result type (might be due to invalid IL or missing references) //IL_22a9: Unknown result type (might be due to invalid IL or missing references) //IL_22bf: Unknown result type (might be due to invalid IL or missing references) //IL_22c4: Unknown result type (might be due to invalid IL or missing references) //IL_22da: Unknown result type (might be due to invalid IL or missing references) //IL_22df: Unknown result type (might be due to invalid IL or missing references) //IL_22e7: Unknown result type (might be due to invalid IL or missing references) //IL_22ec: Unknown result type (might be due to invalid IL or missing references) //IL_22ed: Unknown result type (might be due to invalid IL or missing references) //IL_22f7: Unknown result type (might be due to invalid IL or missing references) //IL_22f8: Unknown result type (might be due to invalid IL or missing references) //IL_22fd: Unknown result type (might be due to invalid IL or missing references) //IL_230b: Unknown result type (might be due to invalid IL or missing references) //IL_2321: Unknown result type (might be due to invalid IL or missing references) //IL_2333: Unknown result type (might be due to invalid IL or missing references) //IL_233c: 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_2374: Unknown result type (might be due to invalid IL or missing references) //IL_238a: Unknown result type (might be due to invalid IL or missing references) //IL_238f: Unknown result type (might be due to invalid IL or missing references) //IL_23a5: Unknown result type (might be due to invalid IL or missing references) //IL_23aa: Unknown result type (might be due to invalid IL or missing references) //IL_23b2: Unknown result type (might be due to invalid IL or missing references) //IL_23b7: Unknown result type (might be due to invalid IL or missing references) //IL_23b8: Unknown result type (might be due to invalid IL or missing references) //IL_23c2: Unknown result type (might be due to invalid IL or missing references) //IL_23c3: Unknown result type (might be due to invalid IL or missing references) //IL_23c8: Unknown result type (might be due to invalid IL or missing references) //IL_23d6: Unknown result type (might be due to invalid IL or missing references) //IL_23ec: Unknown result type (might be due to invalid IL or missing references) //IL_23fe: Unknown result type (might be due to invalid IL or missing references) //IL_2407: Unknown result type (might be due to invalid IL or missing references) //IL_243a: Unknown result type (might be due to invalid IL or missing references) //IL_243f: Unknown result type (might be due to invalid IL or missing references) //IL_2455: Unknown result type (might be due to invalid IL or missing references) //IL_245a: Unknown result type (might be due to invalid IL or missing references) //IL_2470: Unknown result type (might be due to invalid IL or missing references) //IL_2475: Unknown result type (might be due to invalid IL or missing references) //IL_247d: Unknown result type (might be due to invalid IL or missing references) //IL_2482: Unknown result type (might be due to invalid IL or missing references) //IL_2483: Unknown result type (might be due to invalid IL or missing references) //IL_248d: Unknown result type (might be due to invalid IL or missing references) //IL_248e: Unknown result type (might be due to invalid IL or missing references) //IL_2493: Unknown result type (might be due to invalid IL or missing references) //IL_24a1: Unknown result type (might be due to invalid IL or missing references) //IL_24b7: 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_24d2: 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_250a: Unknown result type (might be due to invalid IL or missing references) //IL_2520: Unknown result type (might be due to invalid IL or missing references) //IL_2525: Unknown result type (might be due to invalid IL or missing references) //IL_253b: Unknown result type (might be due to invalid IL or missing references) //IL_2540: Unknown result type (might be due to invalid IL or missing references) //IL_2548: Unknown result type (might be due to invalid IL or missing references) //IL_254d: Unknown result type (might be due to invalid IL or missing references) //IL_254e: Unknown result type (might be due to invalid IL or missing references) //IL_2558: Unknown result type (might be due to invalid IL or missing references) //IL_2559: 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_256c: Unknown result type (might be due to invalid IL or missing references) //IL_2582: Unknown result type (might be due to invalid IL or missing references) //IL_2594: Unknown result type (might be due to invalid IL or missing references) //IL_259d: Unknown result type (might be due to invalid IL or missing references) //IL_25d0: Unknown result type (might be due to invalid IL or missing references) //IL_25d5: Unknown result type (might be due to invalid IL or missing references) //IL_25eb: Unknown result type (might be due to invalid IL or missing references) //IL_25f0: Unknown result type (might be due to invalid IL or missing references) //IL_2606: Unknown result type (might be due to invalid IL or missing references) //IL_260b: Unknown result type (might be due to invalid IL or missing references) //IL_2613: Unknown result type (might be due to invalid IL or missing references) //IL_2618: Unknown result type (might be due to invalid IL or missing references) //IL_2619: Unknown result type (might be due to invalid IL or missing references) //IL_2623: Unknown result type (might be due to invalid IL or missing references) //IL_2624: Unknown result type (might be due to invalid IL or missing references) //IL_2629: Unknown result type (might be due to invalid IL or missing references) //IL_2637: Unknown result type (might be due to invalid IL or missing references) //IL_264d: Unknown result type (might be due to invalid IL or missing references) //IL_265f: Unknown result type (might be due to invalid IL or missing references) //IL_2668: Unknown result type (might be due to invalid IL or missing references) //IL_269b: Unknown result type (might be due to invalid IL or missing references) //IL_26a0: Unknown result type (might be due to invalid IL or missing references) //IL_26b6: Unknown result type (might be due to invalid IL or missing references) //IL_26bb: Unknown result type (might be due to invalid IL or missing references) //IL_26d1: Unknown result type (might be due to invalid IL or missing references) //IL_26d6: Unknown result type (might be due to invalid IL or missing references) //IL_26de: Unknown result type (might be due to invalid IL or missing references) //IL_26e3: Unknown result type (might be due to invalid IL or missing references) //IL_26e4: Unknown result type (might be due to invalid IL or missing references) //IL_26ee: Unknown result type (might be due to invalid IL or missing references) //IL_26ef: Unknown result type (might be due to invalid IL or missing references) //IL_26f4: Unknown result type (might be due to invalid IL or missing references) //IL_2702: Unknown result type (might be due to invalid IL or missing references) //IL_2718: Unknown result type (might be due to invalid IL or missing references) //IL_272a: Unknown result type (might be due to invalid IL or missing references) //IL_2733: Unknown result type (might be due to invalid IL or missing references) //IL_2766: Unknown result type (might be due to invalid IL or missing references) //IL_276b: Unknown result type (might be due to invalid IL or missing references) //IL_2781: Unknown result type (might be due to invalid IL or missing references) //IL_2786: Unknown result type (might be due to invalid IL or missing references) //IL_279c: Unknown result type (might be due to invalid IL or missing references) //IL_27a1: Unknown result type (might be due to invalid IL or missing references) //IL_27a9: Unknown result type (might be due to invalid IL or missing references) //IL_27ae: Unknown result type (might be due to invalid IL or missing references) //IL_27af: 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_27ba: Unknown result type (might be due to invalid IL or missing references) //IL_27bf: Unknown result type (might be due to invalid IL or missing references) //IL_27cd: Unknown result type (might be due to invalid IL or missing references) //IL_27e3: Unknown result type (might be due to invalid IL or missing references) //IL_27f5: Unknown result type (might be due to invalid IL or missing references) //IL_27fe: Unknown result type (might be due to invalid IL or missing references) //IL_2831: Unknown result type (might be due to invalid IL or missing references) //IL_2836: 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_2851: Unknown result type (might be due to invalid IL or missing references) //IL_2867: Unknown result type (might be due to invalid IL or missing references) //IL_286c: Unknown result type (might be due to invalid IL or missing references) //IL_2874: Unknown result type (might be due to invalid IL or missing references) //IL_2879: Unknown result type (might be due to invalid IL or missing references) //IL_287a: Unknown result type (might be due to invalid IL or missing references) //IL_2884: Unknown result type (might be due to invalid IL or missing references) //IL_2885: Unknown result type (might be due to invalid IL or missing references) //IL_288a: Unknown result type (might be due to invalid IL or missing references) //IL_2898: 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_28c0: Unknown result type (might be due to invalid IL or missing references) //IL_28c9: Unknown result type (might be due to invalid IL or missing references) //IL_28fc: Unknown result type (might be due to invalid IL or missing references) //IL_2901: Unknown result type (might be due to invalid IL or missing references) //IL_2917: Unknown result type (might be due to invalid IL or missing references) //IL_291c: Unknown result type (might be due to invalid IL or missing references) //IL_2932: Unknown result type (might be due to invalid IL or missing references) //IL_2937: 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_2944: Unknown result type (might be due to invalid IL or missing references) //IL_2945: Unknown result type (might be due to invalid IL or missing references) //IL_294f: Unknown result type (might be due to invalid IL or missing references) //IL_2950: Unknown result type (might be due to invalid IL or missing references) //IL_2955: Unknown result type (might be due to invalid IL or missing references) //IL_2963: Unknown result type (might be due to invalid IL or missing references) //IL_2979: Unknown result type (might be due to invalid IL or missing references) //IL_298b: Unknown result type (might be due to invalid IL or missing references) //IL_2994: Unknown result type (might be due to invalid IL or missing references) //IL_29c7: Unknown result type (might be due to invalid IL or missing references) //IL_29cc: Unknown result type (might be due to invalid IL or missing references) //IL_29e2: Unknown result type (might be due to invalid IL or missing references) //IL_29e7: Unknown result type (might be due to invalid IL or missing references) //IL_29fd: Unknown result type (might be due to invalid IL or missing references) //IL_2a02: Unknown result type (might be due to invalid IL or missing references) //IL_2a0a: Unknown result type (might be due to invalid IL or missing references) //IL_2a0f: Unknown result type (might be due to invalid IL or missing references) //IL_2a10: Unknown result type (might be due to invalid IL or missing references) //IL_2a1a: Unknown result type (might be due to invalid IL or missing references) //IL_2a1b: Unknown result type (might be due to invalid IL or missing references) //IL_2a20: Unknown result type (might be due to invalid IL or missing references) //IL_2a2e: Unknown result type (might be due to invalid IL or missing references) //IL_2a44: Unknown result type (might be due to invalid IL or missing references) //IL_2a56: Unknown result type (might be due to invalid IL or missing references) //IL_2a5f: Unknown result type (might be due to invalid IL or missing references) //IL_2a92: Unknown result type (might be due to invalid IL or missing references) //IL_2a97: Unknown result type (might be due to invalid IL or missing references) //IL_2aad: Unknown result type (might be due to invalid IL or missing references) //IL_2ab2: Unknown result type (might be due to invalid IL or missing references) //IL_2ac8: Unknown result type (might be due to invalid IL or missing references) //IL_2acd: Unknown result type (might be due to invalid IL or missing references) //IL_2ad5: Unknown result type (might be due to invalid IL or missing references) //IL_2ada: Unknown result type (might be due to invalid IL or missing references) //IL_2adb: Unknown result type (might be due to invalid IL or missing references) //IL_2ae5: Unknown result type (might be due to invalid IL or missing references) //IL_2ae6: Unknown result type (might be due to invalid IL or missing references) //IL_2aeb: Unknown result type (might be due to invalid IL or missing references) //IL_2af9: Unknown result type (might be due to invalid IL or missing references) //IL_2b0f: Unknown result type (might be due to invalid IL or missing references) //IL_2b21: Unknown result type (might be due to invalid IL or missing references) //IL_2b2a: Unknown result type (might be due to invalid IL or missing references) //IL_2b5d: Unknown result type (might be due to invalid IL or missing references) //IL_2b62: Unknown result type (might be due to invalid IL or missing references) //IL_2b78: Unknown result type (might be due to invalid IL or missing references) //IL_2b7d: Unknown result type (might be due to invalid IL or missing references) //IL_2b93: Unknown result type (might be due to invalid IL or missing references) //IL_2b98: Unknown result type (might be due to invalid IL or missing references) //IL_2ba0: 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_2ba6: Unknown result type (might be due to invalid IL or missing references) //IL_2bb0: Unknown result type (might be due to invalid IL or missing references) //IL_2bb1: Unknown result type (might be due to invalid IL or missing references) //IL_2bb6: Unknown result type (might be due to invalid IL or missing references) //IL_2bc4: Unknown result type (might be due to invalid IL or missing references) //IL_2bda: Unknown result type (might be due to invalid IL or missing references) //IL_2bec: Unknown result type (might be due to invalid IL or missing references) //IL_2bf5: Unknown result type (might be due to invalid IL or missing references) //IL_2c28: 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_2c43: Unknown result type (might be due to invalid IL or missing references) //IL_2c48: Unknown result type (might be due to invalid IL or missing references) //IL_2c5e: Unknown result type (might be due to invalid IL or missing references) //IL_2c63: 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_2c70: Unknown result type (might be due to invalid IL or missing references) //IL_2c71: Unknown result type (might be due to invalid IL or missing references) //IL_2c7b: Unknown result type (might be due to invalid IL or missing references) //IL_2c7c: Unknown result type (might be due to invalid IL or missing references) //IL_2c81: Unknown result type (might be due to invalid IL or missing references) //IL_2c8f: Unknown result type (might be due to invalid IL or missing references) //IL_2ca5: Unknown result type (might be due to invalid IL or missing references) //IL_2cb7: Unknown result type (might be due to invalid IL or missing references) //IL_2cc0: Unknown result type (might be due to invalid IL or missing references) //IL_2cf3: Unknown result type (might be due to invalid IL or missing references) //IL_2cf8: Unknown result type (might be due to invalid IL or missing references) //IL_2d0e: Unknown result type (might be due to invalid IL or missing references) //IL_2d13: 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_2d2e: Unknown result type (might be due to invalid IL or missing references) //IL_2d36: Unknown result type (might be due to invalid IL or missing references) //IL_2d3b: Unknown result type (might be due to invalid IL or missing references) //IL_2d3c: Unknown result type (might be due to invalid IL or missing references) //IL_2d46: Unknown result type (might be due to invalid IL or missing references) //IL_2d47: Unknown result type (might be due to invalid IL or missing references) //IL_2d4c: Unknown result type (might be due to invalid IL or missing references) //IL_2d5a: Unknown result type (might be due to invalid IL or missing references) //IL_2d70: Unknown result type (might be due to invalid IL or missing references) //IL_2d82: Unknown result type (might be due to invalid IL or missing references) //IL_2d8b: Unknown result type (might be due to invalid IL or missing references) //IL_2dbe: Unknown result type (might be due to invalid IL or missing references) //IL_2dc3: Unknown result type (might be due to invalid IL or missing references) //IL_2dd9: Unknown result type (might be due to invalid IL or missing references) //IL_2dde: Unknown result type (might be due to invalid IL or missing references) //IL_2df4: Unknown result type (might be due to invalid IL or missing references) //IL_2df9: Unknown result type (might be due to invalid IL or missing references) //IL_2e01: Unknown result type (might be due to invalid IL or missing references) //IL_2e06: Unknown result type (might be due to invalid IL or missing references) //IL_2e07: Unknown result type (might be due to invalid IL or missing references) //IL_2e11: Unknown result type (might be due to invalid IL or missing references) //IL_2e12: Unknown result type (might be due to invalid IL or missing references) //IL_2e17: Unknown result type (might be due to invalid IL or missing references) //IL_2e25: Unknown result type (might be due to invalid IL or missing references) //IL_2e3b: Unknown result type (might be due to invalid IL or missing references) //IL_2e4d: Unknown result type (might be due to invalid IL or missing references) //IL_2e56: Unknown result type (might be due to invalid IL or missing references) //IL_2e89: Unknown result type (might be due to invalid IL or missing references) //IL_2e8e: Unknown result type (might be due to invalid IL or missing references) //IL_2ea4: Unknown result type (might be due to invalid IL or missing references) //IL_2ea9: Unknown result type (might be due to invalid IL or missing references) //IL_2ebf: Unknown result type (might be due to invalid IL or missing references) //IL_2ec4: Unknown result type (might be due to invalid IL or missing references) //IL_2ecc: Unknown result type (might be due to invalid IL or missing references) //IL_2ed1: Unknown result type (might be due to invalid IL or missing references) //IL_2ed2: Unknown result type (might be due to invalid IL or missing references) //IL_2edb: Unknown result type (might be due to invalid IL or missing references) //IL_2ee4: Unknown result type (might be due to invalid IL or missing references) //IL_2f17: Unknown result type (might be due to invalid IL or missing references) //IL_2f1c: Unknown result type (might be due to invalid IL or missing references) //IL_2f32: Unknown result type (might be due to invalid IL or missing references) //IL_2f37: Unknown result type (might be due to invalid IL or missing references) //IL_2f4d: Unknown result type (might be due to invalid IL or missing references) //IL_2f52: Unknown result type (might be due to invalid IL or missing references) //IL_2f5a: Unknown result type (might be due to invalid IL or missing references) //IL_2f5f: Unknown result type (might be due to invalid IL or missing references) //IL_2f60: Unknown result type (might be due to invalid IL or missing references) //IL_2f6a: Unknown result type (might be due to invalid IL or missing references) //IL_2f6b: Unknown result type (might be due to invalid IL or missing references) //IL_2f70: Unknown result type (might be due to invalid IL or missing references) //IL_2f7e: Unknown result type (might be due to invalid IL or missing references) //IL_2f94: Unknown result type (might be due to invalid IL or missing references) //IL_2fa6: Unknown result type (might be due to invalid IL or missing references) //IL_2faf: Unknown result type (might be due to invalid IL or missing references) //IL_2fe2: Unknown result type (might be due to invalid IL or missing references) //IL_2fe7: Unknown result type (might be due to invalid IL or missing references) //IL_2ffd: Unknown result type (might be due to invalid IL or missing references) //IL_3002: Unknown result type (might be due to invalid IL or missing references) //IL_3018: Unknown result type (might be due to invalid IL or missing references) //IL_301d: Unknown result type (might be due to invalid IL or missing references) //IL_3025: Unknown result type (might be due to invalid IL or missing references) //IL_302a: Unknown result type (might be due to invalid IL or missing references) //IL_302b: Unknown result type (might be due to invalid IL or missing references) //IL_3035: Unknown result type (might be due to invalid IL or missing references) //IL_3036: Unknown result type (might be due to invalid IL or missing references) //IL_303b: Unknown result type (might be due to invalid IL or missing references) //IL_3049: Unknown result type (might be due to invalid IL or missing references) //IL_305f: Unknown result type (might be due to invalid IL or missing references) //IL_3071: Unknown result type (might be due to invalid IL or missing references) //IL_307a: 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_30b2: Unknown result type (might be due to invalid IL or missing references) //IL_30c8: Unknown result type (might be due to invalid IL or missing references) //IL_30cd: Unknown result type (might be due to invalid IL or missing references) //IL_30e3: Unknown result type (might be due to invalid IL or missing references) //IL_30e8: Unknown result type (might be due to invalid IL or missing references) //IL_30f0: Unknown result type (might be due to invalid IL or missing references) //IL_30f5: Unknown result type (might be due to invalid IL or missing references) //IL_30f6: Unknown result type (might be due to invalid IL or missing references) //IL_3100: Unknown result type (might be due to invalid IL or missing references) //IL_3101: Unknown result type (might be due to invalid IL or missing references) //IL_3106: Unknown result type (might be due to invalid IL or missing references) //IL_3114: Unknown result type (might be due to invalid IL or missing references) //IL_312a: 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_3145: Unknown result type (might be due to invalid IL or missing references) //IL_3178: Unknown result type (might be due to invalid IL or missing references) //IL_317d: Unknown result type (might be due to invalid IL or missing references) //IL_3193: Unknown result type (might be due to invalid IL or missing references) //IL_3198: Unknown result type (might be due to invalid IL or missing references) //IL_31ae: Unknown result type (might be due to invalid IL or missing references) //IL_31b3: Unknown result type (might be due to invalid IL or missing references) //IL_31bb: Unknown result type (might be due to invalid IL or missing references) //IL_31c0: Unknown result type (might be due to invalid IL or missing references) //IL_31c1: Unknown result type (might be due to invalid IL or missing references) //IL_31cb: Unknown result type (might be due to invalid IL or missing references) //IL_31cc: Unknown result type (might be due to invalid IL or missing references) //IL_31d1: Unknown result type (might be due to invalid IL or missing references) //IL_31df: Unknown result type (might be due to invalid IL or missing references) //IL_31f5: Unknown result type (might be due to invalid IL or missing references) //IL_3207: Unknown result type (might be due to invalid IL or missing references) //IL_3210: Unknown result type (might be due to invalid IL or missing references) //IL_3243: Unknown result type (might be due to invalid IL or missing references) //IL_3248: Unknown result type (might be due to invalid IL or missing references) //IL_325e: Unknown result type (might be due to invalid IL or missing references) //IL_3263: Unknown result type (might be due to invalid IL or missing references) //IL_3279: Unknown result type (might be due to invalid IL or missing references) //IL_327e: Unknown result type (might be due to invalid IL or missing references) //IL_3286: Unknown result type (might be due to invalid IL or missing references) //IL_328b: Unknown result type (might be due to invalid IL or missing references) //IL_328c: Unknown result type (might be due to invalid IL or missing references) //IL_3296: Unknown result type (might be due to invalid IL or missing references) //IL_3297: Unknown result type (might be due to invalid IL or missing references) //IL_329c: Unknown result type (might be due to invalid IL or missing references) //IL_32aa: Unknown result type (might be due to invalid IL or missing references) //IL_32c0: Unknown result type (might be due to invalid IL or missing references) //IL_32d2: Unknown result type (might be due to invalid IL or missing references) //IL_32db: Unknown result type (might be due to invalid IL or missing references) //IL_330e: Unknown result type (might be due to invalid IL or missing references) //IL_3313: Unknown result type (might be due to invalid IL or missing references) //IL_3329: Unknown result type (might be due to invalid IL or missing references) //IL_332e: Unknown result type (might be due to invalid IL or missing references) //IL_3344: Unknown result type (might be due to invalid IL or missing references) //IL_3349: Unknown result type (might be due to invalid IL or missing references) //IL_3351: Unknown result type (might be due to invalid IL or missing references) //IL_3356: Unknown result type (might be due to invalid IL or missing references) //IL_3357: Unknown result type (might be due to invalid IL or missing references) //IL_3361: Unknown result type (might be due to invalid IL or missing references) //IL_3362: Unknown result type (might be due to invalid IL or missing references) //IL_3367: Unknown result type (might be due to invalid IL or missing references) //IL_3375: Unknown result type (might be due to invalid IL or missing references) //IL_338b: Unknown result type (might be due to invalid IL or missing references) //IL_339d: Unknown result type (might be due to invalid IL or missing references) //IL_33a6: Unknown result type (might be due to invalid IL or missing references) //IL_33d9: Unknown result type (might be due to invalid IL or missing references) //IL_33de: Unknown result type (might be due to invalid IL or missing references) //IL_33f4: Unknown result type (might be due to invalid IL or missing references) //IL_33f9: Unknown result type (might be due to invalid IL or missing references) //IL_340f: Unknown result type (might be due to invalid IL or missing references) //IL_3414: Unknown result type (might be due to invalid IL or missing references) //IL_341c: Unknown result type (might be due to invalid IL or missing references) //IL_3421: Unknown result type (might be due to invalid IL or missing references) //IL_3422: Unknown result type (might be due to invalid IL or missing references) //IL_342c: Unknown result type (might be due to invalid IL or missing references) //IL_342d: Unknown result type (might be due to invalid IL or missing references) //IL_3432: Unknown result type (might be due to invalid IL or missing references) //IL_3440: Unknown result type (might be due to invalid IL or missing references) //IL_3456: Unknown result type (might be due to invalid IL or missing references) //IL_3468: Unknown result type (might be due to invalid IL or missing references) //IL_3471: Unknown result type (might be due to invalid IL or missing references) //IL_34a4: Unknown result type (might be due to invalid IL or missing references) //IL_34a9: Unknown result type (might be due to invalid IL or missing references) //IL_34bf: Unknown result type (might be due to invalid IL or missing references) //IL_34c4: Unknown result type (might be due to invalid IL or missing references) //IL_34da: Unknown result type (might be due to invalid IL or missing references) //IL_34df: Unknown result type (might be due to invalid IL or missing references) //IL_34e7: Unknown result type (might be due to invalid IL or missing references) //IL_34ec: Unknown result type (might be due to invalid IL or missing references) //IL_34ed: Unknown result type (might be due to invalid IL or missing references) //IL_34f7: Unknown result type (might be due to invalid IL or missing references) //IL_34f8: Unknown result type (might be due to invalid IL or missing references) //IL_34fd: Unknown result type (might be due to invalid IL or missing references) //IL_350b: Unknown result type (might be due to invalid IL or missing references) //IL_3521: Unknown result type (might be due to invalid IL or missing references) //IL_3533: Unknown result type (might be due to invalid IL or missing references) //IL_353c: Unknown result type (might be due to invalid IL or missing references) //IL_356f: Unknown result type (might be due to invalid IL or missing references) //IL_3574: Unknown result type (might be due to invalid IL or missing references) //IL_358a: Unknown result type (might be due to invalid IL or missing references) //IL_358f: Unknown result type (might be due to invalid IL or missing references) //IL_35a5: Unknown result type (might be due to invalid IL or missing references) //IL_35aa: Unknown result type (might be due to invalid IL or missing references) //IL_35b2: Unknown result type (might be due to invalid IL or missing references) //IL_35b7: Unknown result type (might be due to invalid IL or missing references) //IL_35b8: Unknown result type (might be due to invalid IL or missing references) //IL_35c2: Unknown result type (might be due to invalid IL or missing references) //IL_35c3: Unknown result type (might be due to invalid IL or missing references) //IL_35c8: Unknown result type (might be due to invalid IL or missing references) //IL_35d6: Unknown result type (might be due to invalid IL or missing references) //IL_35ec: Unknown result type (might be due to invalid IL or missing references) //IL_35fe: Unknown result type (might be due to invalid IL or missing references) //IL_3607: Unknown result type (might be due to invalid IL or missing references) //IL_363a: Unknown result type (might be due to invalid IL or missing references) //IL_363f: Unknown result type (might be due to invalid IL or missing references) //IL_3655: Unknown result type (might be due to invalid IL or missing references) //IL_365a: Unknown result type (might be due to invalid IL or missing references) //IL_3670: Unknown result type (might be due to invalid IL or missing references) //IL_3675: Unknown result type (might be due to invalid IL or missing references) //IL_367d: Unknown result type (might be due to invalid IL or missing references) //IL_3682: Unknown result type (might be due to invalid IL or missing references) //IL_3683: Unknown result type (might be due to invalid IL or missing references) //IL_368d: Unknown result type (might be due to invalid IL or missing references) //IL_368e: Unknown result type (might be due to invalid IL or missing references) //IL_3693: Unknown result type (might be due to invalid IL or missing references) //IL_36a1: Unknown result type (might be due to invalid IL or missing references) //IL_36b7: Unknown result type (might be due to invalid IL or missing references) //IL_36c9: Unknown result type (might be due to invalid IL or missing references) //IL_36d2: Unknown result type (might be due to invalid IL or missing references) //IL_3705: Unknown result type (might be due to invalid IL or missing references) //IL_370a: Unknown result type (might be due to invalid IL or missing references) //IL_3720: Unknown result type (might be due to invalid IL or missing references) //IL_3725: Unknown result type (might be due to invalid IL or missing references) //IL_373b: Unknown result type (might be due to invalid IL or missing references) //IL_3740: Unknown result type (might be due to invalid IL or missing references) //IL_3748: Unknown result type (might be due to invalid IL or missing references) //IL_374d: Unknown result type (might be due to invalid IL or missing references) //IL_374e: Unknown result type (might be due to invalid IL or missing references) //IL_3758: Unknown result type (might be due to invalid IL or missing references) //IL_3759: Unknown result type (might be due to invalid IL or missing references) //IL_375e: Unknown result type (might be due to invalid IL or missing references) //IL_376c: Unknown result type (might be due to invalid IL or missing references) //IL_3782: Unknown result type (might be due to invalid IL or missing references) //IL_3794: Unknown result type (might be due to invalid IL or missing references) //IL_379d: Unknown result type (might be due to invalid IL or missing references) //IL_37d0: Unknown result type (might be due to invalid IL or missing references) //IL_37d5: Unknown result type (might be due to invalid IL or missing references) //IL_37eb: Unknown result type (might be due to invalid IL or missing references) //IL_37f0: Unknown result type (might be due to invalid IL or missing references) //IL_3806: Unknown result type (might be due to invalid IL or missing references) //IL_380b: Unknown result type (might be due to invalid IL or missing references) //IL_3813: Unknown result type (might be due to invalid IL or missing references) //IL_3818: Unknown result type (might be due to invalid IL or missing references) //IL_3819: Unknown result type (might be due to invalid IL or missing references) //IL_3823: Unknown result type (might be due to invalid IL or missing references) //IL_3824: Unknown result type (might be due to invalid IL or missing references) //IL_3829: Unknown result type (might be due to invalid IL or missing references) //IL_3837: Unknown result type (might be due to invalid IL or missing references) //IL_384d: Unknown result type (might be due to invalid IL or missing references) //IL_385f: Unknown result type (might be due to invalid IL or missing references) //IL_3868: Unknown result type (might be due to invalid IL or missing references) //IL_389b: Unknown result type (might be due to invalid IL or missing references) //IL_38a0: Unknown result type (might be due to invalid IL or missing references) //IL_38b6: Unknown result type (might be due to invalid IL or missing references) //IL_38bb: Unknown result type (might be due to invalid IL or missing references) //IL_38d1: Unknown result type (might be due to invalid IL or missing references) //IL_38d6: Unknown result type (might be due to invalid IL or missing references) //IL_38de: Unknown result type (might be due to invalid IL or missing references) //IL_38e3: Unknown result type (might be due to invalid IL or missing references) //IL_38e4: Unknown result type (might be due to invalid IL or missing references) //IL_38ee: Unknown result type (might be due to invalid IL or missing references) //IL_38ef: Unknown result type (might be due to invalid IL or missing references) //IL_38f4: Unknown result type (might be due to invalid IL or missing references) //IL_3902: Unknown result type (might be due to invalid IL or missing references) //IL_3918: Unknown result type (might be due to invalid IL or missing references) //IL_392a: Unknown result type (might be due to invalid IL or missing references) //IL_3933: Unknown result type (might be due to invalid IL or missing references) //IL_3966: Unknown result type (might be due to invalid IL or missing references) //IL_396b: Unknown result type (might be due to invalid IL or missing references) //IL_3981: Unknown result type (might be due to invalid IL or missing references) //IL_3986: Unknown result type (might be due to invalid IL or missing references) //IL_399c: Unknown result type (might be due to invalid IL or missing references) //IL_39a1: Unknown result type (might be due to invalid IL or missing references) //IL_39a9: Unknown result type (might be due to invalid IL or missing references) //IL_39ae: Unknown result type (might be due to invalid IL or missing references) //IL_39af: Unknown result type (might be due to invalid IL or missing references) //IL_39b9: Unknown result type (might be due to invalid IL or missing references) //IL_39ba: Unknown result type (might be due to invalid IL or missing references) //IL_39bf: Unknown result type (might be due to invalid IL or missing references) //IL_39cd: Unknown result type (might be due to invalid IL or missing references) //IL_39e3: Unknown result type (might be due to invalid IL or missing references) //IL_39f5: Unknown result type (might be due to invalid IL or missing references) //IL_39fe: Unknown result type (might be due to invalid IL or missing references) //IL_3a31: Unknown result type (might be due to invalid IL or missing references) //IL_3a36: Unknown result type (might be due to invalid IL or missing references) //IL_3a4c: Unknown result type (might be due to invalid IL or missing references) //IL_3a51: Unknown result type (might be due to invalid IL or missing references) //IL_3a67: Unknown result type (might be due to invalid IL or missing references) //IL_3a6c: Unknown result type (might be due to invalid IL or missing references) //IL_3a74: Unknown result type (might be due to invalid IL or missing references) //IL_3a79: Unknown result type (might be due to invalid IL or missing references) //IL_3a7a: Unknown result type (might be due to invalid IL or missing references) //IL_3a84: Unknown result type (might be due to invalid IL or missing references) //IL_3a85: Unknown result type (might be due to invalid IL or missing references) //IL_3a8a: Unknown result type (might be due to invalid IL or missing references) //IL_3a98: Unknown result type (might be due to invalid IL or missing references) //IL_3aae: Unknown result type (might be due to invalid IL or missing references) //IL_3ac0: Unknown result type (might be due to invalid IL or missing references) //IL_3ac9: Unknown result type (might be due to invalid IL or missing references) //IL_3afc: Unknown result type (might be due to invalid IL or missing references) //IL_3b01: Unknown result type (might be due to invalid IL or missing references) //IL_3b17: Unknown result type (might be due to invalid IL or missing references) //IL_3b1c: Unknown result type (might be due to invalid IL or missing references) //IL_3b32: Unknown result type (might be due to invalid IL or missing references) //IL_3b37: Unknown result type (might be due to invalid IL or missing references) //IL_3b3f: Unknown result type (might be due to invalid IL or missing references) //IL_3b44: Unknown result type (might be due to invalid IL or missing references) //IL_3b45: Unknown result type (might be due to invalid IL or missing references) //IL_3b4f: Unknown result type (might be due to invalid IL or missing references) //IL_3b50: Unknown result type (might be due to invalid IL or missing references) //IL_3b55: Unknown result type (might be due to invalid IL or missing references) //IL_3b63: Unknown result type (might be due to invalid IL or missing references) //IL_3b79: Unknown result type (might be due to invalid IL or missing references) //IL_3b8b: Unknown result type (might be due to invalid IL or missing references) //IL_3b94: Unknown result type (might be due to invalid IL or missing references) //IL_3bc7: Unknown result type (might be due to invalid IL or missing references) //IL_3bcc: Unknown result type (might be due to invalid IL or missing references) //IL_3be2: Unknown result type (might be due to invalid IL or missing references) //IL_3be7: Unknown result type (might be due to invalid IL or missing references) //IL_3bfd: Unknown result type (might be due to invalid IL or missing references) //IL_3c02: Unknown result type (might be due to invalid IL or missing references) //IL_3c0a: Unknown result type (might be due to invalid IL or missing references) //IL_3c0f: Unknown result type (might be due to invalid IL or missing references) //IL_3c10: Unknown result type (might be due to invalid IL or missing references) //IL_3c1a: Unknown result type (might be due to invalid IL or missing references) //IL_3c1b: Unknown result type (might be due to invalid IL or missing references) //IL_3c20: Unknown result type (might be due to invalid IL or missing references) //IL_3c2e: Unknown result type (might be due to invalid IL or missing references) //IL_3c44: Unknown result type (might be due to invalid IL or missing references) //IL_3c56: Unknown result type (might be due to invalid IL or missing references) //IL_3c5f: Unknown result type (might be due to invalid IL or missing references) //IL_3c92: Unknown result type (might be due to invalid IL or missing references) //IL_3c97: Unknown result type (might be due to invalid IL or missing references) //IL_3cad: Unknown result type (might be due to invalid IL or missing references) //IL_3cb2: Unknown result type (might be due to invalid IL or missing references) //IL_3cc8: Unknown result type (might be due to invalid IL or missing references) //IL_3ccd: Unknown result type (might be due to invalid IL or missing references) //IL_3cd5: Unknown result type (might be due to invalid IL or missing references) //IL_3cda: Unknown result type (might be due to invalid IL or missing references) //IL_3cdb: Unknown result type (might be due to invalid IL or missing references) //IL_3ce5: Unknown result type (might be due to invalid IL or missing references) //IL_3ce6: Unknown result type (might be due to invalid IL or missing references) //IL_3ceb: Unknown result type (might be due to invalid IL or missing references) //IL_3cf9: Unknown result type (might be due to invalid IL or missing references) //IL_3d0f: Unknown result type (might be due to invalid IL or missing references) //IL_3d21: Unknown result type (might be due to invalid IL or missing references) //IL_3d2a: Unknown result type (might be due to invalid IL or missing references) //IL_3d5d: Unknown result type (might be due to invalid IL or missing references) //IL_3d62: Unknown result type (might be due to invalid IL or missing references) //IL_3d78: Unknown result type (might be due to invalid IL or missing references) //IL_3d7d: Unknown result type (might be due to invalid IL or missing references) //IL_3d93: Unknown result type (might be due to invalid IL or missing references) //IL_3d98: Unknown result type (might be due to invalid IL or missing references) //IL_3da0: Unknown result type (might be due to invalid IL or missing references) //IL_3da5: Unknown result type (might be due to invalid IL or missing references) //IL_3da6: Unknown result type (might be due to invalid IL or missing references) //IL_3db0: Unknown result type (might be due to invalid IL or missing references) //IL_3db1: Unknown result type (might be due to invalid IL or missing references) //IL_3db6: Unknown result type (might be due to invalid IL or missing references) //IL_3dc4: Unknown result type (might be due to invalid IL or missing references) //IL_3dda: Unknown result type (might be due to invalid IL or missing references) //IL_3dec: Unknown result type (might be due to invalid IL or missing references) //IL_3df5: Unknown result type (might be due to invalid IL or missing references) //IL_3e28: Unknown result type (might be due to invalid IL or missing references) //IL_3e2d: Unknown result type (might be due to invalid IL or missing references) //IL_3e43: Unknown result type (might be due to invalid IL or missing references) //IL_3e48: Unknown result type (might be due to invalid IL or missing references) //IL_3e5e: Unknown result type (might be due to invalid IL or missing references) //IL_3e63: Unknown result type (might be due to invalid IL or missing references) //IL_3e6b: Unknown result type (might be due to invalid IL or missing references) //IL_3e70: Unknown result type (might be due to invalid IL or missing references) //IL_3e71: Unknown result type (might be due to invalid IL or missing references) //IL_3e7b: Unknown result type (might be due to invalid IL or missing references) //IL_3e7c: Unknown result type (might be due to invalid IL or missing references) //IL_3e81: Unknown result type (might be due to invalid IL or missing references) //IL_3e8f: Unknown result type (might be due to invalid IL or missing references) //IL_3ea5: Unknown result type (might be due to invalid IL or missing references) //IL_3eb7: Unknown result type (might be due to invalid IL or missing references) //IL_3ec0: Unknown result type (might be due to invalid IL or missing references) //IL_3ef3: Unknown result type (might be due to invalid IL or missing references) //IL_3ef8: Unknown result type (might be due to invalid IL or missing references) //IL_3f0e: Unknown result type (might be due to invalid IL or missing references) //IL_3f13: Unknown result type (might be due to invalid IL or missing references) //IL_3f29: Unknown result type (might be due to invalid IL or missing references) //IL_3f2e: Unknown result type (might be due to invalid IL or missing references) //IL_3f36: Unknown result type (might be due to invalid IL or missing references) //IL_3f3b: Unknown result type (might be due to invalid IL or missing references) //IL_3f3c: Unknown result type (might be due to invalid IL or missing references) //IL_3f45: Unknown result type (might be due to invalid IL or missing references) //IL_3f4e: Unknown result type (might be due to invalid IL or missing references) //IL_3f81: Unknown result type (might be due to invalid IL or missing references) //IL_3f86: Unknown result type (might be due to invalid IL or missing references) //IL_3f9c: Unknown result type (might be due to invalid IL or missing references) //IL_3fa1: Unknown result type (might be due to invalid IL or missing references) //IL_3fb7: Unknown result type (might be due to invalid IL or missing references) //IL_3fbc: Unknown result type (might be due to invalid IL or missing references) //IL_3fc4: Unknown result type (might be due to invalid IL or missing references) //IL_3fc9: Unknown result type (might be due to invalid IL or missing references) //IL_3fca: Unknown result type (might be due to invalid IL or missing references) //IL_3fd4: Unknown result type (might be due to invalid IL or missing references) //IL_3fd5: Unknown result type (might be due to invalid IL or missing references) //IL_3fda: Unknown result type (might be due to invalid IL or missing references) //IL_3fe8: Unknown result type (might be due to invalid IL or missing references) //IL_3ffe: Unknown result type (might be due to invalid IL or missing references) //IL_4010: Unknown result type (might be due to invalid IL or missing references) //IL_4019: Unknown result type (might be due to invalid IL or missing references) //IL_404c: Unknown result type (might be due to invalid IL or missing references) //IL_4051: Unknown result type (might be due to invalid IL or missing references) //IL_4067: Unknown result type (might be due to invalid IL or missing references) //IL_406c: Unknown result type (might be due to invalid IL or missing references) //IL_4082: Unknown result type (might be due to invalid IL or missing references) //IL_4087: Unknown result type (might be due to invalid IL or missing references) //IL_408f: Unknown result type (might be due to invalid IL or missing references) //IL_4094: Unknown result type (might be due to invalid IL or missing references) //IL_4095: Unknown result type (might be due to invalid IL or missing references) //IL_409f: Unknown result type (might be due to invalid IL or missing references) //IL_40a0: Unknown result type (might be due to invalid IL or missing references) //IL_40a5: Unknown result type (might be due to invalid IL or missing references) //IL_40b3: Unknown result type (might be due to invalid IL or missing references) //IL_40c9: Unknown result type (might be due to invalid IL or missing references) //IL_40db: Unknown result type (might be due to invalid IL or missing references) //IL_40e4: Unknown result type (might be due to invalid IL or missing references) //IL_4117: Unknown result type (might be due to invalid IL or missing references) //IL_411c: Unknown result type (might be due to invalid IL or missing references) //IL_4132: Unknown result type (might be due to invalid IL or missing references) //IL_4137: Unknown result type (might be due to invalid IL or missing references) //IL_414d: Unknown result type (might be due to invalid IL or missing references) //IL_4152: Unknown result type (might be due to invalid IL or missing references) //IL_415a: Unknown result type (might be due to invalid IL or missing references) //IL_415f: Unknown result type (might be due to invalid IL or missing references) //IL_4160: Unknown result type (might be due to invalid IL or missing references) //IL_416a: Unknown result type (might be due to invalid IL or missing references) //IL_416b: Unknown result type (might be due to invalid IL or missing references) //IL_4170: Unknown result type (might be due to invalid IL or missing references) //IL_417e: Unknown result type (might be due to invalid IL or missing references) //IL_4194: Unknown result type (might be due to invalid IL or missing references) //IL_41a6: Unknown result type (might be due to invalid IL or missing references) //IL_41af: Unknown result type (might be due to invalid IL or missing references) //IL_41e2: Unknown result type (might be due to invalid IL or missing references) //IL_41e7: Unknown result type (might be due to invalid IL or missing references) //IL_41fd: Unknown result type (might be due to invalid IL or missing references) //IL_4202: Unknown result type (might be due to invalid IL or missing references) //IL_4218: Unknown result type (might be due to invalid IL or missing references) //IL_421d: Unknown result type (might be due to invalid IL or missing references) //IL_4225: Unknown result type (might be due to invalid IL or missing references) //IL_422a: Unknown result type (might be due to invalid IL or missing references) //IL_422b: Unknown result type (might be due to invalid IL or missing references) //IL_4235: Unknown result type (might be due to invalid IL or missing references) //IL_4236: Unknown result type (might be due to invalid IL or missing references) //IL_423b: Unknown result type (might be due to invalid IL or missing references) //IL_4249: Unknown result type (might be due to invalid IL or missing references) //IL_425f: Unknown result type (might be due to invalid IL or missing references) //IL_4271: Unknown result type (might be due to invalid IL or missing references) //IL_427a: Unknown result type (might be due to invalid IL or missing references) //IL_42ad: Unknown result type (might be due to invalid IL or missing references) //IL_42b2: Unknown result type (might be due to invalid IL or missing references) //IL_42c8: Unknown result type (might be due to invalid IL or missing references) //IL_42cd: Unknown result type (might be due to invalid IL or missing references) //IL_42e3: Unknown result type (might be due to invalid IL or missing references) //IL_42e8: Unknown result type (might be due to invalid IL or missing references) //IL_42f0: Unknown result type (might be due to invalid IL or missing references) //IL_42f5: Unknown result type (might be due to invalid IL or missing references) //IL_42f6: Unknown result type (might be due to invalid IL or missing references) //IL_4300: Unknown result type (might be due to invalid IL or missing references) //IL_4301: Unknown result type (might be due to invalid IL or missing references) //IL_4306: Unknown result type (might be due to invalid IL or missing references) //IL_4314: Unknown result type (might be due to invalid IL or missing references) //IL_432a: Unknown result type (might be due to invalid IL or missing references) //IL_433c: Unknown result type (might be due to invalid IL or missing references) //IL_4345: Unknown result type (might be due to invalid IL or missing references) //IL_4378: Unknown result type (might be due to invalid IL or missing references) //IL_437d: Unknown result type (might be due to invalid IL or missing references) //IL_4393: Unknown result type (might be due to invalid IL or missing references) //IL_4398: Unknown result type (might be due to invalid IL or missing references) //IL_43ae: Unknown result type (might be due to invalid IL or missing references) //IL_43b3: Unknown result type (might be due to invalid IL or missing references) //IL_43bb: Unknown result type (might be due to invalid IL or missing references) //IL_43c0: Unknown result type (might be due to invalid IL or missing references) //IL_43c1: Unknown result type (might be due to invalid IL or missing references) //IL_43cb: Unknown result type (might be due to invalid IL or missing references) //IL_43cc: Unknown result type (might be due to invalid IL or missing references) //IL_43d1: Unknown result type (might be due to invalid IL or missing references) //IL_43df: Unknown result type (might be due to invalid IL or missing references) //IL_43f5: Unknown result type (might be due to invalid IL or missing references) //IL_4407: Unknown result type (might be due to invalid IL or missing references) //IL_4410: Unknown result type (might be due to invalid IL or missing references) //IL_4443: Unknown result type (might be due to invalid IL or missing references) //IL_4448: Unknown result type (might be due to invalid IL or missing references) //IL_445e: Unknown result type (might be due to invalid IL or missing references) //IL_4463: Unknown result type (might be due to invalid IL or missing references) //IL_4479: Unknown result type (might be due to invalid IL or missing references) //IL_447e: Unknown result type (might be due to invalid IL or missing references) //IL_4486: Unknown result type (might be due to invalid IL or missing references) //IL_448b: Unknown result type (might be due to invalid IL or missing references) //IL_448c: Unknown result type (might be due to invalid IL or missing references) //IL_4496: Unknown result type (might be due to invalid IL or missing references) //IL_4497: Unknown result type (might be due to invalid IL or missing references) //IL_449c: Unknown result type (might be due to invalid IL or missing references) //IL_44aa: Unknown result type (might be due to invalid IL or missing references) //IL_44c0: Unknown result type (might be due to invalid IL or missing references) //IL_44d2: Unknown result type (might be due to invalid IL or missing references) //IL_44db: Unknown result type (might be due to invalid IL or missing references) //IL_450e: Unknown result type (might be due to invalid IL or missing references) //IL_4513: Unknown result type (might be due to invalid IL or missing references) //IL_4529: Unknown result type (might be due to invalid IL or missing references) //IL_452e: Unknown result type (might be due to invalid IL or missing references) //IL_4544: Unknown result type (might be due to invalid IL or missing references) //IL_4549: Unknown result type (might be due to invalid IL or missing references) //IL_4551: Unknown result type (might be due to invalid IL or missing references) //IL_4556: Unknown result type (might be due to invalid IL or missing references) //IL_4557: Unknown result type (might be due to invalid IL or missing references) //IL_4561: Unknown result type (might be due to invalid IL or missing references) //IL_4562: Unknown result type (might be due to invalid IL or missing references) //IL_4567: Unknown result type (might be due to invalid IL or missing references) //IL_4575: Unknown result type (might be due to invalid IL or missing references) //IL_458b: Unknown result type (might be due to invalid IL or missing references) //IL_459d: Unknown result type (might be due to invalid IL or missing references) //IL_45a6: Unknown result type (might be due to invalid IL or missing references) //IL_45d9: Unknown result type (might be due to invalid IL or missing references) //IL_45de: Unknown result type (might be due to invalid IL or missing references) //IL_45f4: Unknown result type (might be due to invalid IL or missing references) //IL_45f9: Unknown result type (might be due to invalid IL or missing references) //IL_460f: Unknown result type (might be due to invalid IL or missing references) //IL_4614: Unknown result type (might be due to invalid IL or missing references) //IL_461c: Unknown result type (might be due to invalid IL or missing references) //IL_4621: Unknown result type (might be due to invalid IL or missing references) //IL_4622: Unknown result type (might be due to invalid IL or missing references) //IL_462c: Unknown result type (might be due to invalid IL or missing references) //IL_462d: Unknown result type (might be due to invalid IL or missing references) //IL_4632: Unknown result type (might be due to invalid IL or missing references) //IL_4640: Unknown result type (might be due to invalid IL or missing references) //IL_4656: Unknown result type (might be due to invalid IL or missing references) //IL_4668: Unknown result type (might be due to invalid IL or missing references) //IL_4671: Unknown result type (might be due to invalid IL or missing references) //IL_46a4: Unknown result type (might be due to invalid IL or missing references) //IL_46a9: Unknown result type (might be due to invalid IL or missing references) //IL_46bf: Unknown result type (might be due to invalid IL or missing references) //IL_46c4: Unknown result type (might be due to invalid IL or missing references) //IL_46da: Unknown result type (might be due to invalid IL or missing references) //IL_46df: Unknown result type (might be due to invalid IL or missing references) //IL_46e7: Unknown result type (might be due to invalid IL or missing references) //IL_46ec: Unknown result type (might be due to invalid IL or missing references) //IL_46ed: Unknown result type (might be due to invalid IL or missing references) //IL_46f7: Unknown result type (might be due to invalid IL or missing references) //IL_46f8: Unknown result type (might be due to invalid IL or missing references) //IL_46fd: Unknown result type (might be due to invalid IL or missing references) //IL_470b: Unknown result type (might be due to invalid IL or missing references) //IL_4721: Unknown result type (might be due to invalid IL or missing references) //IL_4733: Unknown result type (might be due to invalid IL or missing references) //IL_473c: Unknown result type (might be due to invalid IL or missing references) //IL_476f: Unknown result type (might be due to invalid IL or missing references) //IL_4774: Unknown result type (might be due to invalid IL or missing references) //IL_478a: Unknown result type (might be due to invalid IL or missing references) //IL_478f: Unknown result type (might be due to invalid IL or missing references) //IL_47a5: Unknown result type (might be due to invalid IL or missing references) //IL_47aa: Unknown result type (might be due to invalid IL or missing references) //IL_47b2: Unknown result type (might be due to invalid IL or missing references) //IL_47b7: Unknown result type (might be due to invalid IL or missing references) //IL_47b8: Unknown result type (might be due to invalid IL or missing references) //IL_47c2: Unknown result type (might be due to invalid IL or missing references) //IL_47c3: Unknown result type (might be due to invalid IL or missing references) //IL_47c8: Unknown result type (might be due to invalid IL or missing references) //IL_47d6: Unknown result type (might be due to invalid IL or missing references) //IL_47ec: Unknown result type (might be due to invalid IL or missing references) //IL_47fe: Unknown result type (might be due to invalid IL or missing references) //IL_4807: Unknown result type (might be due to invalid IL or missing references) //IL_483a: Unknown result type (might be due to invalid IL or missing references) //IL_483f: Unknown result type (might be due to invalid IL or missing references) //IL_4855: Unknown result type (might be due to invalid IL or missing references) //IL_485a: Unknown result type (might be due to invalid IL or missing references) //IL_4870: Unknown result type (might be due to invalid IL or missing references) //IL_4875: Unknown result type (might be due to invalid IL or missing references) //IL_487d: Unknown result type (might be due to invalid IL or missing references) //IL_4882: Unknown result type (might be due to invalid IL or missing references) //IL_4883: Unknown result type (might be due to invalid IL or missing references) //IL_488d: Unknown result type (might be due to invalid IL or missing references) //IL_488e: Unknown result type (might be due to invalid IL or missing references) //IL_4893: Unknown result type (might be due to invalid IL or missing references) //IL_48a1: Unknown result type (might be due to invalid IL or missing references) //IL_48b7: Unknown result type (might be due to invalid IL or missing references) //IL_48c9: Unknown result type (might be due to invalid IL or missing references) //IL_48d2: Unknown result type (might be due to invalid IL or missing references) //IL_4905: Unknown result type (might be due to invalid IL or missing references) //IL_490a: Unknown result type (might be due to invalid IL or missing references) //IL_4920: Unknown result type (might be due to invalid IL or missing references) //IL_4925: Unknown result type (might be due to invalid IL or missing references) //IL_493b: Unknown result type (might be due to invalid IL or missing references) //IL_4940: Unknown result type (might be due to invalid IL or missing references) //IL_4948: Unknown result type (might be due to invalid IL or missing references) //IL_494d: Unknown result type (might be due to invalid IL or missing references) //IL_494e: Unknown result type (might be due to invalid IL or missing references) //IL_4958: Unknown result type (might be due to invalid IL or missing references) //IL_4959: Unknown result type (might be due to invalid IL or missing references) //IL_495e: Unknown result type (might be due to invalid IL or missing references) //IL_496c: Unknown result type (might be due to invalid IL or missing references) //IL_4982: Unknown result type (might be due to invalid IL or missing references) //IL_4994: Unknown result type (might be due to invalid IL or missing references) //IL_499d: Unknown result type (might be due to invalid IL or missing references) //IL_49d0: Unknown result type (might be due to invalid IL or missing references) //IL_49d5: Unknown result type (might be due to invalid IL or missing references) //IL_49eb: Unknown result type (might be due to invalid IL or missing references) //IL_49f0: Unknown result type (might be due to invalid IL or missing references) //IL_4a06: Unknown result type (might be due to invalid IL or missing references) //IL_4a0b: Unknown result type (might be due to invalid IL or missing references) //IL_4a13: Unknown result type (might be due to invalid IL or missing references) //IL_4a18: Unknown result type (might be due to invalid IL or missing references) //IL_4a19: Unknown result type (might be due to invalid IL or missing references) //IL_4a23: Unknown result type (might be due to invalid IL or missing references) //IL_4a24: Unknown result type (might be due to invalid IL or missing references) //IL_4a29: Unknown result type (might be due to invalid IL or missing references) //IL_4a37: Unknown result type (might be due to invalid IL or missing references) //IL_4a4d: Unknown result type (might be due to invalid IL or missing references) //IL_4a5f: Unknown result type (might be due to invalid IL or missing references) //IL_4a68: Unknown result type (might be due to invalid IL or missing references) //IL_4a9b: Unknown result type (might be due to invalid IL or missing references) //IL_4aa0: Unknown result type (might be due to invalid IL or missing references) //IL_4ab6: Unknown result type (might be due to invalid IL or missing references) //IL_4abb: Unknown result type (might be due to invalid IL or missing references) //IL_4ad1: Unknown result type (might be due to invalid IL or missing references) //IL_4ad6: Unknown result type (might be due to invalid IL or missing references) //IL_4ade: Unknown result type (might be due to invalid IL or missing references) //IL_4ae3: Unknown result type (might be due to invalid IL or missing references) //IL_4ae4: Unknown result type (might be due to invalid IL or missing references) //IL_4aee: Unknown result type (might be due to invalid IL or missing references) //IL_4aef: Unknown result type (might be due to invalid IL or missing references) //IL_4af4: Unknown result type (might be due to invalid IL or missing references) //IL_4b02: Unknown result type (might be due to invalid IL or missing references) //IL_4b18: Unknown result type (might be due to invalid IL or missing references) //IL_4b2a: Unknown result type (might be due to invalid IL or missing references) //IL_4b33: Unknown result type (might be due to invalid IL or missing references) //IL_4b66: Unknown result type (might be due to invalid IL or missing references) //IL_4b6b: Unknown result type (might be due to invalid IL or missing references) //IL_4b81: Unknown result type (might be due to invalid IL or missing references) //IL_4b86: Unknown result type (might be due to invalid IL or missing references) //IL_4b9c: Unknown result type (might be due to invalid IL or missing references) //IL_4ba1: Unknown result type (might be due to invalid IL or missing references) //IL_4ba9: Unknown result type (might be due to invalid IL or missing references) //IL_4bae: Unknown result type (might be due to invalid IL or missing references) //IL_4baf: Unknown result type (might be due to invalid IL or missing references) //IL_4bb9: Unknown result type (might be due to invalid IL or missing references) //IL_4bba: Unknown result type (might be due to invalid IL or missing references) //IL_4bbf: Unknown result type (might be due to invalid IL or missing references) //IL_4bcd: Unknown result type (might be due to invalid IL or missing references) //IL_4be3: Unknown result type (might be due to invalid IL or missing references) //IL_4bf5: Unknown result type (might be due to invalid IL or missing references) //IL_4bfe: Unknown result type (might be due to invalid IL or missing references) //IL_4c31: Unknown result type (might be due to invalid IL or missing references) //IL_4c36: Unknown result type (might be due to invalid IL or missing references) //IL_4c4c: Unknown result type (might be due to invalid IL or missing references) //IL_4c51: Unknown result type (might be due to invalid IL or missing references) //IL_4c67: Unknown result type (might be due to invalid IL or missing references) //IL_4c6c: Unknown result type (might be due to invalid IL or missing references) //IL_4c74: Unknown result type (might be due to invalid IL or missing references) //IL_4c79: Unknown result type (might be due to invalid IL or missing references) //IL_4c7a: Unknown result type (might be due to invalid IL or missing references) //IL_4c84: Unknown result type (might be due to invalid IL or missing references) //IL_4c85: Unknown result type (might be due to invalid IL or missing references) //IL_4c8a: Unknown result type (might be due to invalid IL or missing references) //IL_4c98: Unknown result type (might be due to invalid IL or missing references) //IL_4cae: Unknown result type (might be due to invalid IL or missing references) //IL_4cc0: Unknown result type (might be due to invalid IL or missing references) //IL_4cc9: Unknown result type (might be due to invalid IL or missing references) //IL_4cfc: Unknown result type (might be due to invalid IL or missing references) //IL_4d01: Unknown result type (might be due to invalid IL or missing references) //IL_4d17: Unknown result type (might be due to invalid IL or missing references) //IL_4d1c: Unknown result type (might be due to invalid IL or missing references) //IL_4d32: Unknown result type (might be due to invalid IL or missing references) //IL_4d37: Unknown result type (might be due to invalid IL or missing references) //IL_4d3f: Unknown result type (might be due to invalid IL or missing references) //IL_4d44: Unknown result type (might be due to invalid IL or missing references) //IL_4d45: Unknown result type (might be due to invalid IL or missing references) //IL_4d4f: Unknown result type (might be due to invalid IL or missing references) //IL_4d50: Unknown result type (might be due to invalid IL or missing references) //IL_4d55: Unknown result type (might be due to invalid IL or missing references) //IL_4d63: Unknown result type (might be due to invalid IL or missing references) //IL_4d79: Unknown result type (might be due to invalid IL or missing references) //IL_4d8b: Unknown result type (might be due to invalid IL or missing references) //IL_4d94: Unknown result type (might be due to invalid IL or missing references) //IL_4dc7: Unknown result type (might be due to invalid IL or missing references) //IL_4dcc: Unknown result type (might be due to invalid IL or missing references) //IL_4de2: Unknown result type (might be due to invalid IL or missing references) //IL_4de7: Unknown result type (might be due to invalid IL or missing references) //IL_4dfd: Unknown result type (might be due to invalid IL or missing references) //IL_4e02: Unknown result type (might be due to invalid IL or missing references) //IL_4e0a: Unknown result type (might be due to invalid IL or missing references) //IL_4e0f: Unknown result type (might be due to invalid IL or missing references) //IL_4e10: Unknown result type (might be due to invalid IL or missing references) //IL_4e1a: Unknown result type (might be due to invalid IL or missing references) //IL_4e1b: Unknown result type (might be due to invalid IL or missing references) //IL_4e20: Unknown result type (might be due to invalid IL or missing references) //IL_4e2e: Unknown result type (might be due to invalid IL or missing references) //IL_4e44: Unknown result type (might be due to invalid IL or missing references) //IL_4e56: Unknown result type (might be due to invalid IL or missing references) //IL_4e5f: Unknown result type (might be due to invalid IL or missing references) //IL_4e92: Unknown result type (might be due to invalid IL or missing references) //IL_4e97: Unknown result type (might be due to invalid IL or missing references) //IL_4ead: Unknown result type (might be due to invalid IL or missing references) //IL_4eb2: Unknown result type (might be due to invalid IL or missing references) //IL_4ec8: Unknown result type (might be due to invalid IL or missing references) //IL_4ecd: Unknown result type (might be due to invalid IL or missing references) //IL_4ed5: Unknown result type (might be due to invalid IL or missing references) //IL_4eda: Unknown result type (might be due to invalid IL or missing references) //IL_4edb: Unknown result type (might be due to invalid IL or missing references) //IL_4ee5: Unknown result type (might be due to invalid IL or missing references) //IL_4ee6: Unknown result type (might be due to invalid IL or missing references) //IL_4eeb: Unknown result type (might be due to invalid IL or missing references) //IL_4ef9: Unknown result type (might be due to invalid IL or missing references) //IL_4f0f: Unknown result type (might be due to invalid IL or missing references) //IL_4f21: Unknown result type (might be due to invalid IL or missing references) //IL_4f2a: Unknown result type (might be due to invalid IL or missing references) //IL_4f5d: Unknown result type (might be due to invalid IL or missing references) //IL_4f62: Unknown result type (might be due to invalid IL or missing references) //IL_4f78: Unknown result type (might be due to invalid IL or missing references) //IL_4f7d: Unknown result type (might be due to invalid IL or missing references) //IL_4f93: Unknown result type (might be due to invalid IL or missing references) //IL_4f98: Unknown result type (might be due to invalid IL or missing references) //IL_4fa0: Unknown result type (might be due to invalid IL or missing references) //IL_4fa5: Unknown result type (might be due to invalid IL or missing references) //IL_4fa6: Unknown result type (might be due to invalid IL or missing references) //IL_4faf: Unknown result type (might be due to invalid IL or missing references) //IL_4fb8: Unknown result type (might be due to invalid IL or missing references) //IL_4feb: Unknown result type (might be due to invalid IL or missing references) //IL_4ff0: Unknown result type (might be due to invalid IL or missing references) //IL_5006: Unknown result type (might be due to invalid IL or missing references) //IL_500b: Unknown result type (might be due to invalid IL or missing references) //IL_5021: Unknown result type (might be due to invalid IL or missing references) //IL_5026: Unknown result type (might be due to invalid IL or missing references) //IL_502e: Unknown result type (might be due to invalid IL or missing references) //IL_5033: Unknown result type (might be due to invalid IL or missing references) //IL_5034: Unknown result type (might be due to invalid IL or missing references) //IL_503e: Unknown result type (might be due to invalid IL or missing references) //IL_503f: Unknown result type (might be due to invalid IL or missing references) //IL_5044: Unknown result type (might be due to invalid IL or missing references) //IL_5052: Unknown result type (might be due to invalid IL or missing references) //IL_5068: Unknown result type (might be due to invalid IL or missing references) //IL_507a: Unknown result type (might be due to invalid IL or missing references) //IL_5083: Unknown result type (might be due to invalid IL or missing references) //IL_50b6: Unknown result type (might be due to invalid IL or missing references) //IL_50bb: Unknown result type (might be due to invalid IL or missing references) //IL_50d1: Unknown result type (might be due to invalid IL or missing references) //IL_50d6: Unknown result type (might be due to invalid IL or missing references) //IL_50ec: Unknown result type (might be due to invalid IL or missing references) //IL_50f1: Unknown result type (might be due to invalid IL or missing references) //IL_50f9: Unknown result type (might be due to invalid IL or missing references) //IL_50fe: Unknown result type (might be due to invalid IL or missing references) //IL_50ff: Unknown result type (might be due to invalid IL or missing references) //IL_5108: Unknown result type (might be due to invalid IL or missing references) //IL_5111: Unknown result type (might be due to invalid IL or missing references) //IL_5144: Unknown result type (might be due to invalid IL or missing references) //IL_5149: Unknown result type (might be due to invalid IL or missing references) //IL_515f: Unknown result type (might be due to invalid IL or missing references) //IL_5164: Unknown result type (might be due to invalid IL or missing references) //IL_517a: Unknown result type (might be due to invalid IL or missing references) //IL_517f: Unknown result type (might be due to invalid IL or missing references) //IL_5187: Unknown result type (might be due to invalid IL or missing references) //IL_518c: Unknown result type (might be due to invalid IL or missing references) //IL_518d: Unknown result type (might be due to invalid IL or missing references) //IL_5197: Unknown result type (might be due to invalid IL or missing references) //IL_5198: Unknown result type (might be due to invalid IL or missing references) //IL_519d: Unknown result type (might be due to invalid IL or missing references) //IL_51ab: Unknown result type (might be due to invalid IL or missing references) //IL_51c1: Unknown result type (might be due to invalid IL or missing references) //IL_51d3: Unknown result type (might be due to invalid IL or missing references) //IL_51dc: Unknown result type (might be due to invalid IL or missing references) //IL_520f: Unknown result type (might be due to invalid IL or missing references) //IL_5214: Unknown result type (might be due to invalid IL or missing references) //IL_522a: Unknown result type (might be due to invalid IL or missing references) //IL_522f: Unknown result type (might be due to invalid IL or missing references) //IL_5245: Unknown result type (might be due to invalid IL or missing references) //IL_524a: Unknown result type (might be due to invalid IL or missing references) //IL_5252: Unknown result type (might be due to invalid IL or missing references) //IL_5257: Unknown result type (might be due to invalid IL or missing references) //IL_5258: Unknown result type (might be due to invalid IL or missing references) //IL_5262: Unknown result type (might be due to invalid IL or missing references) //IL_5263: Unknown result type (might be due to invalid IL or missing references) //IL_5268: Unknown result type (might be due to invalid IL or missing references) //IL_5276: Unknown result type (might be due to invalid IL or missing references) //IL_528c: Unknown result type (might be due to invalid IL or missing references) //IL_529e: Unknown result type (might be due to invalid IL or missing references) //IL_52a7: Unknown result type (might be due to invalid IL or missing references) //IL_52da: Unknown result type (might be due to invalid IL or missing references) //IL_52df: Unknown result type (might be due to invalid IL or missing references) //IL_52f5: Unknown result type (might be due to invalid IL or missing references) //IL_52fa: Unknown result type (might be due to invalid IL or missing references) //IL_5310: Unknown result type (might be due to invalid IL or missing references) //IL_5315: Unknown result type (might be due to invalid IL or missing references) //IL_531d: Unknown result type (might be due to invalid IL or missing references) //IL_5322: Unknown result type (might be due to invalid IL or missing references) //IL_5323: Unknown result type (might be due to invalid IL or missing references) //IL_532d: Unknown result type (might be due to invalid IL or missing references) //IL_532e: Unknown result type (might be due to invalid IL or missing references) //IL_5333: Unknown result type (might be due to invalid IL or missing references) //IL_5341: Unknown result type (might be due to invalid IL or missing references) //IL_5357: Unknown result type (might be due to invalid IL or missing references) //IL_5369: Unknown result type (might be due to invalid IL or missing references) //IL_5372: Unknown result type (might be due to invalid IL or missing references) //IL_53a5: Unknown result type (might be due to invalid IL or missing references) //IL_53aa: Unknown result type (might be due to invalid IL or missing references) //IL_53c0: Unknown result type (might be due to invalid IL or missing references) //IL_53c5: Unknown result type (might be due to invalid IL or missing references) //IL_53db: Unknown result type (might be due to invalid IL or missing references) //IL_53e0: Unknown result type (might be due to invalid IL or missing references) //IL_53e8: Unknown result type (might be due to invalid IL or missing references) //IL_53ed: Unknown result type (might be due to invalid IL or missing references) //IL_53ee: Unknown result type (might be due to invalid IL or missing references) //IL_53f8: Unknown result type (might be due to invalid IL or missing references) //IL_53f9: Unknown result type (might be due to invalid IL or missing references) //IL_53fe: Unknown result type (might be due to invalid IL or missing references) //IL_540c: Unknown result type (might be due to invalid IL or missing references) //IL_5422: Unknown result type (might be due to invalid IL or missing references) //IL_5434: Unknown result type (might be due to invalid IL or missing references) //IL_543d: Unknown result type (might be due to invalid IL or missing references) //IL_5470: Unknown result type (might be due to invalid IL or missing references) //IL_5475: Unknown result type (might be due to invalid IL or missing references) //IL_548b: Unknown result type (might be due to invalid IL or missing references) //IL_5490: Unknown result type (might be due to invalid IL or missing references) //IL_54a6: Unknown result type (might be due to invalid IL or missing references) //IL_54ab: Unknown result type (might be due to invalid IL or missing references) //IL_54b3: Unknown result type (might be due to invalid IL or missing references) //IL_54b8: Unknown result type (might be due to invalid IL or missing references) //IL_54b9: Unknown result type (might be due to invalid IL or missing references) //IL_54c3: Unknown result type (might be due to invalid IL or missing references) //IL_54c4: Unknown result type (might be due to invalid IL or missing references) //IL_54c9: Unknown result type (might be due to invalid IL or missing references) //IL_54d7: Unknown result type (might be due to invalid IL or missing references) //IL_54ed: Unknown result type (might be due to invalid IL or missing references) //IL_54ff: Unknown result type (might be due to invalid IL or missing references) //IL_5508: Unknown result type (might be due to invalid IL or missing references) //IL_553b: Unknown result type (might be due to invalid IL or missing references) //IL_5540: Unknown result type (might be due to invalid IL or missing references) //IL_5556: Unknown result type (might be due to invalid IL or missing references) //IL_555b: Unknown result type (might be due to invalid IL or missing references) //IL_5571: Unknown result type (might be due to invalid IL or missing references) //IL_5576: Unknown result type (might be due to invalid IL or missing references) //IL_557e: Unknown result type (might be due to invalid IL or missing references) //IL_5583: Unknown result type (might be due to invalid IL or missing references) //IL_5584: Unknown result type (might be due to invalid IL or missing references) //IL_558e: Unknown result type (might be due to invalid IL or missing references) //IL_558f: Unknown result type (might be due to invalid IL or missing references) //IL_5594: Unknown result type (might be due to invalid IL or missing references) //IL_55a2: Unknown result type (might be due to invalid IL or missing references) //IL_55b8: Unknown result type (might be due to invalid IL or missing references) //IL_55ca: Unknown result type (might be due to invalid IL or missing references) //IL_55d3: Unknown result type (might be due to invalid IL or missing references) //IL_5606: Unknown result type (might be due to invalid IL or missing references) //IL_560b: Unknown result type (might be due to invalid IL or missing references) //IL_5621: Unknown result type (might be due to invalid IL or missing references) //IL_5626: Unknown result type (might be due to invalid IL or missing references) //IL_563c: Unknown result type (might be due to invalid IL or missing references) //IL_5641: Unknown result type (might be due to invalid IL or missing references) //IL_5649: Unknown result type (might be due to invalid IL or missing references) //IL_564e: Unknown result type (might be due to invalid IL or missing references) //IL_564f: Unknown result type (might be due to invalid IL or missing references) //IL_5659: Unknown result type (might be due to invalid IL or missing references) //IL_565a: Unknown result type (might be due to invalid IL or missing references) //IL_565f: Unknown result type (might be due to invalid IL or missing references) //IL_566d: Unknown result type (might be due to invalid IL or missing references) //IL_5683: Unknown result type (might be due to invalid IL or missing references) //IL_5695: Unknown result type (might be due to invalid IL or missing references) //IL_569e: Unknown result type (might be due to invalid IL or missing references) //IL_56d1: Unknown result type (might be due to invalid IL or missing references) //IL_56d6: Unknown result type (might be due to invalid IL or missing references) //IL_56ec: Unknown result type (might be due to invalid IL or missing references) //IL_56f1: Unknown result type (might be due to invalid IL or missing references) //IL_5707: Unknown result type (might be due to invalid IL or missing references) //IL_570c: Unknown result type (might be due to invalid IL or missing references) //IL_5714: Unknown result type (might be due to invalid IL or missing references) //IL_5719: Unknown result type (might be due to invalid IL or missing references) //IL_571a: Unknown result type (might be due to invalid IL or missing references) //IL_5724: Unknown result type (might be due to invalid IL or missing references) //IL_5725: Unknown result type (might be due to invalid IL or missing references) //IL_572a: Unknown result type (might be due to invalid IL or missing references) //IL_5738: Unknown result type (might be due to invalid IL or missing references) //IL_574e: Unknown result type (might be due to invalid IL or missing references) //IL_5760: Unknown result type (might be due to invalid IL or missing references) //IL_5769: Unknown result type (might be due to invalid IL or missing references) //IL_579c: Unknown result type (might be due to invalid IL or missing references) //IL_57a1: Unknown result type (might be due to invalid IL or missing references) //IL_57b7: Unknown result type (might be due to invalid IL or missing references) //IL_57bc: Unknown result type (might be due to invalid IL or missing references) //IL_57d2: Unknown result type (might be due to invalid IL or missing references) //IL_57d7: Unknown result type (might be due to invalid IL or missing references) //IL_57df: Unknown result type (might be due to invalid IL or missing references) //IL_57e4: Unknown result type (might be due to invalid IL or missing references) //IL_57e5: Unknown result type (might be due to invalid IL or missing references) //IL_57ef: Unknown result type (might be due to invalid IL or missing references) //IL_57f0: Unknown result type (might be due to invalid IL or missing references) //IL_57f5: Unknown result type (might be due to invalid IL or missing references) //IL_5803: Unknown result type (might be due to invalid IL or missing references) //IL_5819: Unknown result type (might be due to invalid IL or missing references) //IL_582b: Unknown result type (might be due to invalid IL or missing references) //IL_5834: Unknown result type (might be due to invalid IL or missing references) //IL_5867: Unknown result type (might be due to invalid IL or missing references) //IL_586c: Unknown result type (might be due to invalid IL or missing references) //IL_5882: Unknown result type (might be due to invalid IL or missing references) //IL_5887: Unknown result type (might be due to invalid IL or missing references) //IL_589d: Unknown result type (might be due to invalid IL or missing references) //IL_58a2: Unknown result type (might be due to invalid IL or missing references) //IL_58aa: Unknown result type (might be due to invalid IL or missing references) //IL_58af: Unknown result type (might be due to invalid IL or missing references) //IL_58b0: Unknown result type (might be due to invalid IL or missing references) //IL_58ba: Unknown result type (might be due to invalid IL or missing references) //IL_58bb: Unknown result type (might be due to invalid IL or missing references) //IL_58c0: Unknown result type (might be due to invalid IL or missing references) //IL_58ce: Unknown result type (might be due to invalid IL or missing references) //IL_58e4: Unknown result type (might be due to invalid IL or missing references) //IL_58f6: Unknown result type (might be due to invalid IL or missing references) //IL_58ff: Unknown result type (might be due to invalid IL or missing references) //IL_5932: Unknown result type (might be due to invalid IL or missing references) //IL_5937: Unknown result type (might be due to invalid IL or missing references) //IL_594d: Unknown result type (might be due to invalid IL or missing references) //IL_5952: Unknown result type (might be due to invalid IL or missing references) //IL_5968: Unknown result type (might be due to invalid IL or missing references) //IL_596d: Unknown result type (might be due to invalid IL or missing references) //IL_5975: Unknown result type (might be due to invalid IL or missing references) //IL_597a: Unknown result type (might be due to invalid IL or missing references) //IL_597b: Unknown result type (might be due to invalid IL or missing references) //IL_5985: Unknown result type (might be due to invalid IL or missing references) //IL_5986: Unknown result type (might be due to invalid IL or missing references) //IL_598b: Unknown result type (might be due to invalid IL or missing references) //IL_5999: Unknown result type (might be due to invalid IL or missing references) //IL_59af: Unknown result type (might be due to invalid IL or missing references) //IL_59c1: Unknown result type (might be due to invalid IL or missing references) //IL_59ca: Unknown result type (might be due to invalid IL or missing references) //IL_59fd: Unknown result type (might be due to invalid IL or missing references) //IL_5a02: Unknown result type (might be due to invalid IL or missing references) //IL_5a18: Unknown result type (might be due to invalid IL or missing references) //IL_5a1d: Unknown result type (might be due to invalid IL or missing references) //IL_5a33: Unknown result type (might be due to invalid IL or missing references) //IL_5a38: Unknown result type (might be due to invalid IL or missing references) //IL_5a40: Unknown result type (might be due to invalid IL or missing references) //IL_5a45: Unknown result type (might be due to invalid IL or missing references) //IL_5a46: Unknown result type (might be due to invalid IL or missing references) //IL_5a50: Unknown result type (might be due to invalid IL or missing references) //IL_5a51: Unknown result type (might be due to invalid IL or missing references) //IL_5a56: Unknown result type (might be due to invalid IL or missing references) //IL_5a64: Unknown result type (might be due to invalid IL or missing references) //IL_5a7a: Unknown result type (might be due to invalid IL or missing references) //IL_5a8c: Unknown result type (might be due to invalid IL or missing references) //IL_5a95: Unknown result type (might be due to invalid IL or missing references) //IL_5ac8: Unknown result type (might be due to invalid IL or missing references) //IL_5acd: Unknown result type (might be due to invalid IL or missing references) //IL_5ae3: Unknown result type (might be due to invalid IL or missing references) //IL_5ae8: Unknown result type (might be due to invalid IL or missing references) //IL_5afe: Unknown result type (might be due to invalid IL or missing references) //IL_5b03: Unknown result type (might be due to invalid IL or missing references) //IL_5b0b: Unknown result type (might be due to invalid IL or missing references) //IL_5b10: Unknown result type (might be due to invalid IL or missing references) //IL_5b11: Unknown result type (might be due to invalid IL or missing references) //IL_5b1b: Unknown result type (might be due to invalid IL or missing references) //IL_5b1c: Unknown result type (might be due to invalid IL or missing references) //IL_5b21: Unknown result type (might be due to invalid IL or missing references) //IL_5b2f: Unknown result type (might be due to invalid IL or missing references) //IL_5b45: Unknown result type (might be due to invalid IL or missing references) //IL_5b57: Unknown result type (might be due to invalid IL or missing references) //IL_5b60: Unknown result type (might be due to invalid IL or missing references) //IL_5b93: Unknown result type (might be due to invalid IL or missing references) //IL_5b98: Unknown result type (might be due to invalid IL or missing references) //IL_5bae: Unknown result type (might be due to invalid IL or missing references) //IL_5bb3: Unknown result type (might be due to invalid IL or missing references) //IL_5bc9: Unknown result type (might be due to invalid IL or missing references) //IL_5bce: Unknown result type (might be due to invalid IL or missing references) //IL_5bd6: Unknown result type (might be due to invalid IL or missing references) //IL_5bdb: Unknown result type (might be due to invalid IL or missing references) //IL_5bdc: Unknown result type (might be due to invalid IL or missing references) //IL_5be6: Unknown result type (might be due to invalid IL or missing references) //IL_5be7: Unknown result type (might be due to invalid IL or missing references) //IL_5bec: Unknown result type (might be due to invalid IL or missing references) //IL_5bfa: Unknown result type (might be due to invalid IL or missing references) //IL_5c10: Unknown result type (might be due to invalid IL or missing references) //IL_5c22: Unknown result type (might be due to invalid IL or missing references) //IL_5c2b: Unknown result type (might be due to invalid IL or missing references) //IL_5c5e: Unknown result type (might be due to invalid IL or missing references) //IL_5c63: Unknown result type (might be due to invalid IL or missing references) //IL_5c79: Unknown result type (might be due to invalid IL or missing references) //IL_5c7e: Unknown result type (might be due to invalid IL or missing references) //IL_5c94: Unknown result type (might be due to invalid IL or missing references) //IL_5c99: Unknown result type (might be due to invalid IL or missing references) //IL_5ca1: Unknown result type (might be due to invalid IL or missing references) //IL_5ca6: Unknown result type (might be due to invalid IL or missing references) //IL_5ca7: Unknown result type (might be due to invalid IL or missing references) //IL_5cb1: Unknown result type (might be due to invalid IL or missing references) //IL_5cb2: Unknown result type (might be due to invalid IL or missing references) //IL_5cb7: Unknown result type (might be due to invalid IL or missing references) //IL_5cc5: Unknown result type (might be due to invalid IL or missing references) //IL_5cdb: Unknown result type (might be due to invalid IL or missing references) //IL_5ced: Unknown result type (might be due to invalid IL or missing references) //IL_5cf6: Unknown result type (might be due to invalid IL or missing references) //IL_5d29: Unknown result type (might be due to invalid IL or missing references) //IL_5d2e: Unknown result type (might be due to invalid IL or missing references) //IL_5d44: Unknown result type (might be due to invalid IL or missing references) //IL_5d49: Unknown result type (might be due to invalid IL or missing references) //IL_5d5f: Unknown result type (might be due to invalid IL or missing references) //IL_5d64: Unknown result type (might be due to invalid IL or missing references) //IL_5d6c: Unknown result type (might be due to invalid IL or missing references) //IL_5d71: Unknown result type (might be due to invalid IL or missing references) //IL_5d72: Unknown result type (might be due to invalid IL or missing references) //IL_5d7c: Unknown result type (might be due to invalid IL or missing references) //IL_5d7d: Unknown result type (might be due to invalid IL or missing references) //IL_5d82: Unknown result type (might be due to invalid IL or missing references) //IL_5d90: Unknown result type (might be due to invalid IL or missing references) //IL_5da6: Unknown result type (might be due to invalid IL or missing references) //IL_5db8: Unknown result type (might be due to invalid IL or missing references) //IL_5dc1: Unknown result type (might be due to invalid IL or missing references) //IL_5df4: Unknown result type (might be due to invalid IL or missing references) //IL_5df9: Unknown result type (might be due to invalid IL or missing references) //IL_5e0f: Unknown result type (might be due to invalid IL or missing references) //IL_5e14: Unknown result type (might be due to invalid IL or missing references) //IL_5e2a: Unknown result type (might be due to invalid IL or missing references) //IL_5e2f: Unknown result type (might be due to invalid IL or missing references) //IL_5e37: Unknown result type (might be due to invalid IL or missing references) //IL_5e3c: Unknown result type (might be due to invalid IL or missing references) //IL_5e3d: Unknown result type (might be due to invalid IL or missing references) //IL_5e47: Unknown result type (might be due to invalid IL or missing references) //IL_5e48: Unknown result type (might be due to invalid IL or missing references) //IL_5e4d: Unknown result type (might be due to invalid IL or missing references) //IL_5e5b: Unknown result type (might be due to invalid IL or missing references) //IL_5e71: Unknown result type (might be due to invalid IL or missing references) //IL_5e83: Unknown result type (might be due to invalid IL or missing references) //IL_5e8c: Unknown result type (might be due to invalid IL or missing references) //IL_5ebf: Unknown result type (might be due to invalid IL or missing references) //IL_5ec4: Unknown result type (might be due to invalid IL or missing references) //IL_5eda: Unknown result type (might be due to invalid IL or missing references) //IL_5edf: Unknown result type (might be due to invalid IL or missing references) //IL_5ef5: Unknown result type (might be due to invalid IL or missing references) //IL_5efa: Unknown result type (might be due to invalid IL or missing references) //IL_5f02: Unknown result type (might be due to invalid IL or missing references) //IL_5f07: Unknown result type (might be due to invalid IL or missing references) //IL_5f08: Unknown result type (might be due to invalid IL or missing references) //IL_5f12: Unknown result type (might be due to invalid IL or missing references) //IL_5f13: Unknown result type (might be due to invalid IL or missing references) //IL_5f18: Unknown result type (might be due to invalid IL or missing references) //IL_5f26: Unknown result type (might be due to invalid IL or missing references) //IL_5f3c: Unknown result type (might be due to invalid IL or missing references) //IL_5f4e: Unknown result type (might be due to invalid IL or missing references) //IL_5f57: Unknown result type (might be due to invalid IL or missing references) //IL_5f8a: Unknown result type (might be due to invalid IL or missing references) //IL_5f8f: Unknown result type (might be due to invalid IL or missing references) //IL_5fa5: Unknown result type (might be due to invalid IL or missing references) //IL_5faa: Unknown result type (might be due to invalid IL or missing references) //IL_5fc0: Unknown result type (might be due to invalid IL or missing references) //IL_5fc5: Unknown result type (might be due to invalid IL or missing references) //IL_5fcd: Unknown result type (might be due to invalid IL or missing references) //IL_5fd2: Unknown result type (might be due to invalid IL or missing references) //IL_5fd3: Unknown result type (might be due to invalid IL or missing references) //IL_5fdd: Unknown result type (might be due to invalid IL or missing references) //IL_5fde: Unknown result type (might be due to invalid IL or missing references) //IL_5fe3: Unknown result type (might be due to invalid IL or missing references) //IL_5ff1: Unknown result type (might be due to invalid IL or missing references) //IL_6007: Unknown result type (might be due to invalid IL or missing references) //IL_6019: Unknown result type (might be due to invalid IL or missing references) //IL_6022: Unknown result type (might be due to invalid IL or missing references) //IL_6055: Unknown result type (might be due to invalid IL or missing references) //IL_605a: Unknown result type (might be due to invalid IL or missing references) //IL_6070: Unknown result type (might be due to invalid IL or missing references) //IL_6075: Unknown result type (might be due to invalid IL or missing references) //IL_608b: Unknown result type (might be due to invalid IL or missing references) //IL_6090: Unknown result type (might be due to invalid IL or missing references) //IL_6098: Unknown result type (might be due to invalid IL or missing references) //IL_609d: Unknown result type (might be due to invalid IL or missing references) //IL_609e: Unknown result type (might be due to invalid IL or missing references) //IL_60a8: Unknown result type (might be due to invalid IL or missing references) //IL_60a9: Unknown result type (might be due to invalid IL or missing references) //IL_60ae: Unknown result type (might be due to invalid IL or missing references) //IL_60bc: Unknown result type (might be due to invalid IL or missing references) //IL_60d2: Unknown result type (might be due to invalid IL or missing references) //IL_60e4: Unknown result type (might be due to invalid IL or missing references) //IL_60ed: Unknown result type (might be due to invalid IL or missing references) //IL_6120: Unknown result type (might be due to invalid IL or missing references) //IL_6125: Unknown result type (might be due to invalid IL or missing references) //IL_613b: Unknown result type (might be due to invalid IL or missing references) //IL_6140: Unknown result type (might be due to invalid IL or missing references) //IL_6156: Unknown result type (might be due to invalid IL or missing references) //IL_615b: Unknown result type (might be due to invalid IL or missing references) //IL_6163: Unknown result type (might be due to invalid IL or missing references) //IL_6168: Unknown result type (might be due to invalid IL or missing references) //IL_6169: Unknown result type (might be due to invalid IL or missing references) //IL_6173: Unknown result type (might be due to invalid IL or missing references) //IL_6174: Unknown result type (might be due to invalid IL or missing references) //IL_6179: Unknown result type (might be due to invalid IL or missing references) //IL_6187: Unknown result type (might be due to invalid IL or missing references) //IL_619d: Unknown result type (might be due to invalid IL or missing references) //IL_61af: Unknown result type (might be due to invalid IL or missing references) //IL_61b8: Unknown result type (might be due to invalid IL or missing references) //IL_61eb: Unknown result type (might be due to invalid IL or missing references) //IL_61f0: Unknown result type (might be due to invalid IL or missing references) //IL_6206: Unknown result type (might be due to invalid IL or missing references) //IL_620b: Unknown result type (might be due to invalid IL or missing references) //IL_6221: Unknown result type (might be due to invalid IL or missing references) //IL_6226: Unknown result type (might be due to invalid IL or missing references) //IL_622e: Unknown result type (might be due to invalid IL or missing references) //IL_6233: Unknown result type (might be due to invalid IL or missing references) //IL_6234: Unknown result type (might be due to invalid IL or missing references) //IL_623e: Unknown result type (might be due to invalid IL or missing references) //IL_623f: Unknown result type (might be due to invalid IL or missing references) //IL_6244: Unknown result type (might be due to invalid IL or missing references) //IL_6252: Unknown result type (might be due to invalid IL or missing references) //IL_6268: Unknown result type (might be due to invalid IL or missing references) //IL_627a: Unknown result type (might be due to invalid IL or missing references) //IL_6283: Unknown result type (might be due to invalid IL or missing references) //IL_62b6: Unknown result type (might be due to invalid IL or missing references) //IL_62bb: Unknown result type (might be due to invalid IL or missing references) //IL_62d1: Unknown result type (might be due to invalid IL or missing references) //IL_62d6: Unknown result type (might be due to invalid IL or missing references) //IL_62ec: Unknown result type (might be due to invalid IL or missing references) //IL_62f1: Unknown result type (might be due to invalid IL or missing references) //IL_62f9: Unknown result type (might be due to invalid IL or missing references) //IL_62fe: Unknown result type (might be due to invalid IL or missing references) //IL_62ff: Unknown result type (might be due to invalid IL or missing references) //IL_6309: Unknown result type (might be due to invalid IL or missing references) //IL_630a: Unknown result type (might be due to invalid IL or missing references) //IL_630f: Unknown result type (might be due to invalid IL or missing references) itemDisplayRules = new List(); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Jetpack, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBugWings"), childName = "Chest", localPos = new Vector3(0.0009f, 0.2767f, -0.1f), localAngles = new Vector3(21.4993f, 358.6616f, 358.3334f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.GoldGat, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGoldGat"), childName = "Chest", localPos = new Vector3(0.1009f, 0.4728f, -0.1278f), localAngles = new Vector3(22.6043f, 114.6042f, 299.1935f), localScale = new Vector3(0.15f, 0.15f, 0.15f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BFG, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBFG"), childName = "Chest", localPos = new Vector3(0.0782f, 0.4078f, 0f), localAngles = new Vector3(0f, 0f, 313.6211f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CritGlasses, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGlasses"), childName = "Head", localPos = new Vector3(0f, 0.1687f, 0.1558f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.3215f, 0.3034f, 0.3034f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Syringe, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySyringeCluster"), childName = "Chest", localPos = new Vector3(-0.0534f, 0.0352f, 0f), localAngles = new Vector3(0f, 0f, 83.2547f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Behemoth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBehemoth"), childName = "Gun", localPos = new Vector3(0f, 0.2247f, -0.1174f), localAngles = new Vector3(6.223f, 180f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Missile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMissileLauncher"), childName = "Chest", localPos = new Vector3(-0.3075f, 0.5204f, -0.049f), localAngles = new Vector3(0f, 0f, 51.9225f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Dagger, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDagger"), childName = "Chest", localPos = new Vector3(-0.0553f, 0.2856f, 0.0945f), localAngles = new Vector3(334.8839f, 31.5284f, 34.6784f), localScale = new Vector3(1.2428f, 1.2428f, 1.2299f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Hoof, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHoof"), childName = "CalfL", localPos = new Vector3(-0.0071f, 0.3039f, -0.051f), localAngles = new Vector3(76.5928f, 0f, 0f), localScale = new Vector3(0.0846f, 0.0846f, 0.0758f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ChainLightning, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayUkulele"), childName = "Chest", localPos = new Vector3(-0.0011f, 0.1031f, -0.0901f), localAngles = new Vector3(0f, 180f, 89.3997f), localScale = new Vector3(0.4749f, 0.4749f, 0.4749f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.GhostOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMask"), childName = "Head", localPos = new Vector3(0f, 0.1748f, 0.0937f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.6313f, 0.6313f, 0.6313f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Mushroom, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMushroom"), childName = "UpperArmR", localPos = new Vector3(-0.0139f, 0.1068f, 0f), localAngles = new Vector3(0f, 0f, 89.4525f), localScale = new Vector3(0.0501f, 0.0501f, 0.0501f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AttackSpeedOnCrit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWolfPelt"), childName = "Head", localPos = new Vector3(0f, 0.2783f, -0.002f), localAngles = new Vector3(358.4554f, 0f, 0f), localScale = new Vector3(0.5666f, 0.5666f, 0.5666f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BleedOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTriTip"), childName = "Chest", localPos = new Vector3(-0.1247f, 0.416f, 0.1225f), localAngles = new Vector3(11.5211f, 128.5354f, 165.922f), localScale = new Vector3(0.2615f, 0.2615f, 0.2615f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.WardOnLevel, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWarbanner"), childName = "Pelvis", localPos = new Vector3(0.0168f, 0.0817f, -0.0955f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(0.3162f, 0.3162f, 0.3162f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HealOnCrit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayScythe"), childName = "Chest", localPos = new Vector3(0.0278f, 0.2322f, -0.0877f), localAngles = new Vector3(323.9545f, 90f, 270f), localScale = new Vector3(0.1884f, 0.1884f, 0.1884f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HealWhileSafe, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySnail"), childName = "UpperArmL", localPos = new Vector3(0f, 0.3267f, 0.046f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.0289f, 0.0289f, 0.0289f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Clover, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayClover"), childName = "Gun", localPos = new Vector3(0.0004f, 0.1094f, -0.1329f), localAngles = new Vector3(85.6192f, 0.0001f, 179.4897f), localScale = new Vector3(0.2749f, 0.2749f, 0.2749f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BarrierOnOverHeal, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAegis"), childName = "LowerArmL", localPos = new Vector3(0f, 0.1396f, 0f), localAngles = new Vector3(86.4709f, 180f, 180f), localScale = new Vector3(0.2849f, 0.2849f, 0.2849f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.GoldOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBoneCrown"), childName = "Head", localPos = new Vector3(0f, 0.1791f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1.1754f, 1.1754f, 1.1754f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.WarCryOnMultiKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayPauldron"), childName = "UpperArmL", localPos = new Vector3(0.0435f, 0.0905f, 0.0118f), localAngles = new Vector3(82.0839f, 160.9228f, 100.7722f), localScale = new Vector3(0.7094f, 0.7094f, 0.7094f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintArmor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBuckler"), childName = "LowerArmR", localPos = new Vector3(-0.005f, 0.285f, 0.0074f), localAngles = new Vector3(358.4802f, 192.347f, 88.4811f), localScale = new Vector3(0.3351f, 0.3351f, 0.3351f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.IceRing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayIceRing"), childName = "Gun", localPos = new Vector3(0.0334f, 0.2587f, -0.1223f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(0.3627f, 0.3627f, 0.3627f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FireRing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFireRing"), childName = "Gun", localPos = new Vector3(0.0352f, 0.282f, -0.1223f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(0.3627f, 0.3627f, 0.3627f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.UtilitySkillMagazine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAfterburnerShoulderRing"), childName = "UpperArmL", localPos = new Vector3(0f, 0f, -0.002f), localAngles = new Vector3(-90f, 0f, 0f), localScale = new Vector3(0.01f, 0.01f, 0.01f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAfterburnerShoulderRing"), childName = "UpperArmR", localPos = new Vector3(0f, 0f, -0.002f), localAngles = new Vector3(-90f, 0f, 0f), localScale = new Vector3(0.01f, 0.01f, 0.01f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.JumpBoost, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWaxBird"), childName = "Head", localPos = new Vector3(0f, 0.0529f, -0.1242f), localAngles = new Vector3(24.419f, 0f, 0f), localScale = new Vector3(0.5253f, 0.5253f, 0.5253f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ArmorReductionOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWarhammer"), childName = "Chest", localPos = new Vector3(0.0513f, 0.0652f, -0.0792f), localAngles = new Vector3(64.189f, 90f, 90f), localScale = new Vector3(0.1722f, 0.1722f, 0.1722f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.NearbyDamageBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDiamond"), childName = "Sword", localPos = new Vector3(-0.002f, 0.1828f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1236f, 0.1236f, 0.1236f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ArmorPlate, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRepulsionArmorPlate"), childName = "ThighL", localPos = new Vector3(0.0218f, 0.4276f, 0f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(0.1971f, 0.1971f, 0.1971f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.CommandMissile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMissileRack"), childName = "Chest", localPos = new Vector3(0f, 0.2985f, -0.0663f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(0.3362f, 0.3362f, 0.3362f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Feather, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFeather"), childName = "LowerArmL", localPos = new Vector3(0.001f, 0.2755f, 0.0454f), localAngles = new Vector3(270f, 91.2661f, 0f), localScale = new Vector3(0.0285f, 0.0285f, 0.0285f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Crowbar, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCrowbar"), childName = "Chest", localPos = new Vector3(0f, 0.1219f, -0.0764f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(0.1936f, 0.1936f, 0.1936f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FallBoots, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravBoots"), childName = "CalfL", localPos = new Vector3(-0.0038f, 0.3729f, -0.0046f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1485f, 0.1485f, 0.1485f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravBoots"), childName = "CalfR", localPos = new Vector3(-0.0038f, 0.3729f, -0.0046f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1485f, 0.1485f, 0.1485f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExecuteLowHealthElite, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGuillotine"), childName = "ThighR", localPos = new Vector3(-0.0561f, 0.1607f, 0f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(0.1843f, 0.1843f, 0.1843f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.EquipmentMagazine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBattery"), childName = "Chest", localPos = new Vector3(0f, 0.0791f, 0.0726f), localAngles = new Vector3(0f, 270f, 292.8411f), localScale = new Vector3(0.0773f, 0.0773f, 0.0773f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.NovaOnHeal, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDevilHorns"), childName = "Head", localPos = new Vector3(0.0949f, 0.0945f, 0.0654f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.5349f, 0.5349f, 0.5349f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDevilHorns"), childName = "Head", localPos = new Vector3(-0.0949f, 0.0945f, 0.0105f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-0.5349f, 0.5349f, 0.5349f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Infusion, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayInfusion"), childName = "Pelvis", localPos = new Vector3(-0.0703f, 0.0238f, -0.0366f), localAngles = new Vector3(0f, 45f, 0f), localScale = new Vector3(0.5253f, 0.5253f, 0.5253f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Medkit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMedkit"), childName = "Chest", localPos = new Vector3(0.0039f, -0.0125f, -0.0546f), localAngles = new Vector3(290f, 180f, 0f), localScale = new Vector3(0.4907f, 0.4907f, 0.4907f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Bandolier, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBandolier"), childName = "Chest", localPos = new Vector3(0.0035f, 0f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.1684f, 0.242f, 0.242f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BounceNearby, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHook"), childName = "Chest", localPos = new Vector3(-0.0922f, 0.4106f, -0.0015f), localAngles = new Vector3(290.3197f, 89f, 0f), localScale = new Vector3(0.214f, 0.214f, 0.214f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.IgniteOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGasoline"), childName = "ThighL", localPos = new Vector3(0.0494f, 0.0954f, 0.0015f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.3165f, 0.3165f, 0.3165f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.StunChanceOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayStunGrenade"), childName = "ThighR", localPos = new Vector3(0.001f, 0.3609f, 0.0523f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.5672f, 0.5672f, 0.5672f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Firework, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFirework"), childName = "Muzzle", localPos = new Vector3(0.0086f, 0.0069f, 0.0565f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1194f, 0.1194f, 0.1194f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarDagger, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLunarDagger"), childName = "Chest", localPos = new Vector3(-0.0015f, 0.2234f, -0.0655f), localAngles = new Vector3(277.637f, 358.2474f, 1.4903f), localScale = new Vector3(0.3385f, 0.3385f, 0.3385f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Knurl, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayKnurl"), childName = "LowerArmL", localPos = new Vector3(-0.0186f, 0.0405f, -0.0049f), localAngles = new Vector3(78.8707f, 36.6722f, 105.8275f), localScale = new Vector3(0.0848f, 0.0848f, 0.0848f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BeetleGland, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBeetleGland"), childName = "Chest", localPos = new Vector3(0.0852f, 0.0577f, 0f), localAngles = new Vector3(359.9584f, 0.1329f, 39.8304f), localScale = new Vector3(0.0553f, 0.0553f, 0.0553f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySoda"), childName = "Pelvis", localPos = new Vector3(-0.075f, 0.095f, 0f), localAngles = new Vector3(270f, 251.0168f, 0f), localScale = new Vector3(0.1655f, 0.1655f, 0.1655f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SecondarySkillMagazine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDoubleMag"), childName = "Gun", localPos = new Vector3(-0.0018f, 0.0002f, 0.097f), localAngles = new Vector3(84.2709f, 200.5981f, 25.0139f), localScale = new Vector3(0.0441f, 0.0441f, 0.0441f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.StickyBomb, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayStickyBomb"), childName = "Pelvis", localPos = new Vector3(0.0594f, 0.0811f, 0.0487f), localAngles = new Vector3(8.4958f, 176.5473f, 162.7601f), localScale = new Vector3(0.0736f, 0.0736f, 0.0736f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TreasureCache, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayKey"), childName = "Pelvis", localPos = new Vector3(0.0589f, 0.1056f, -0.0174f), localAngles = new Vector3(0.2454f, 195.0205f, 89.0854f), localScale = new Vector3(0.4092f, 0.4092f, 0.4092f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BossDamageBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAPRound"), childName = "Pelvis", localPos = new Vector3(-0.0371f, 0.0675f, -0.052f), localAngles = new Vector3(90f, 41.5689f, 0f), localScale = new Vector3(0.2279f, 0.2279f, 0.2279f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SlowOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBauble"), childName = "Pelvis", localPos = new Vector3(-0.0074f, 0.076f, -0.0864f), localAngles = new Vector3(0f, 23.7651f, 0f), localScale = new Vector3(0.0687f, 0.0687f, 0.0687f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExtraLife, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHippo"), childName = "Chest", localPos = new Vector3(0f, 0.3001f, 0.0555f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2645f, 0.2645f, 0.2645f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.KillEliteFrenzy, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBrainstalk"), childName = "Head", localPos = new Vector3(0f, 0.1882f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2638f, 0.2638f, 0.2638f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RepeatHeal, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCorpseFlower"), childName = "UpperArmR", localPos = new Vector3(-0.0393f, 0.1484f, 0f), localAngles = new Vector3(270f, 90f, 0f), localScale = new Vector3(0.1511f, 0.1511f, 0.1511f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AutoCastEquipment, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFossil"), childName = "Chest", localPos = new Vector3(-0.0722f, 0.0921f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.4208f, 0.4208f, 0.4208f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.IncreaseHealing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAntler"), childName = "Head", localPos = new Vector3(0.1003f, 0.269f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.3395f, 0.3395f, 0.3395f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAntler"), childName = "Head", localPos = new Vector3(-0.1003f, 0.269f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.3395f, 0.3395f, -0.3395f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TitanGoldDuringTP, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGoldHeart"), childName = "Chest", localPos = new Vector3(-0.0571f, 0.3027f, 0.0755f), localAngles = new Vector3(335.0033f, 343.2951f, 0f), localScale = new Vector3(0.1191f, 0.1191f, 0.1191f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintWisp, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBrokenMask"), childName = "UpperArmR", localPos = new Vector3(-0.0283f, 0.0452f, -0.0271f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.1385f, 0.1385f, 0.1385f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BarrierOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBrooch"), childName = "Gun", localPos = new Vector3(-0.0097f, -0.0058f, -0.0847f), localAngles = new Vector3(0f, 0f, 84.3456f), localScale = new Vector3(0.1841f, 0.1841f, 0.1841f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TPHealingNova, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGlowFlower"), childName = "UpperArmL", localPos = new Vector3(0.0399f, 0.1684f, 0.0121f), localAngles = new Vector3(0f, 73.1449f, 0f), localScale = new Vector3(0.2731f, 0.2731f, 0.0273f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarUtilityReplacement, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBirdFoot"), childName = "Head", localPos = new Vector3(0f, 0.2387f, -0.199f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.2833f, 0.2833f, 0.2833f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Thorns, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRazorwireLeft"), childName = "UpperArmL", localPos = new Vector3(0f, 0f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.4814f, 0.4814f, 0.4814f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarPrimaryReplacement, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBirdEye"), childName = "Head", localPos = new Vector3(0f, 0.1738f, 0.1375f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.2866f, 0.2866f, 0.2866f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.NovaOnLowHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayJellyGuts"), childName = "Head", localPos = new Vector3(-0.0484f, -0.0116f, 0.0283f), localAngles = new Vector3(316.2306f, 45.1087f, 303.6165f), localScale = new Vector3(0.1035f, 0.1035f, 0.1035f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarTrinket, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBeads"), childName = "LowerArmL", localPos = new Vector3(0f, 0.3249f, 0.0381f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Plant, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayInterstellarDeskPlant"), childName = "UpperArmR", localPos = new Vector3(-0.0663f, 0.2266f, 0f), localAngles = new Vector3(4.9717f, 270f, 54.4915f), localScale = new Vector3(0.0429f, 0.0429f, 0.0429f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Bear, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBear"), childName = "Chest", localPos = new Vector3(0f, 0.3014f, 0.0662f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2034f, 0.2034f, 0.2034f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.DeathMark, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDeathMark"), childName = "LowerArmR", localPos = new Vector3(0f, 0.4099f, 0.0252f), localAngles = new Vector3(277.5254f, 0f, 0f), localScale = new Vector3(-0.0375f, -0.0341f, -0.0464f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExplodeOnDeath, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWilloWisp"), childName = "Pelvis", localPos = new Vector3(0.0595f, 0.0696f, -0.0543f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.0283f, 0.0283f, 0.0283f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Seed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySeed"), childName = "Head", localPos = new Vector3(-0.1702f, 0.1366f, -0.026f), localAngles = new Vector3(344.0657f, 196.8238f, 275.5892f), localScale = new Vector3(0.0275f, 0.0275f, 0.0275f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SprintOutOfCombat, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWhip"), childName = "Pelvis", localPos = new Vector3(0.1001f, -0.0132f, 0f), localAngles = new Vector3(0f, 0f, 20.1526f), localScale = new Vector3(0.2845f, 0.2845f, 0.2845f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CooldownOnCrit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySkull"), childName = "Chest", localPos = new Vector3(0f, 0.3997f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.2789f, 0.2789f, 0.2789f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Phasing, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayStealthkit"), childName = "CalfL", localPos = new Vector3(-0.0063f, 0.2032f, -0.0507f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.1454f, 0.2399f, 0.16f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.PersonalShield, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldGenerator"), childName = "Chest", localPos = new Vector3(0f, 0.2649f, 0.0689f), localAngles = new Vector3(304.1204f, 90f, 270f), localScale = new Vector3(0.1057f, 0.1057f, 0.1057f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ShockNearby, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTeslaCoil"), childName = "Chest", localPos = new Vector3(0.0008f, 0.3747f, -0.0423f), localAngles = new Vector3(297.6866f, 1.3864f, 358.5596f), localScale = new Vector3(0.3229f, 0.3229f, 0.3229f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ShieldOnly, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldBug"), childName = "Head", localPos = new Vector3(0.0868f, 0.3114f, 0f), localAngles = new Vector3(348.1819f, 268.0985f, 0.3896f), localScale = new Vector3(0.3521f, 0.3521f, 0.3521f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldBug"), childName = "Head", localPos = new Vector3(-0.0868f, 0.3114f, 0f), localAngles = new Vector3(11.8181f, 268.0985f, 359.6104f), localScale = new Vector3(0.3521f, 0.3521f, -0.3521f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AlienHead, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAlienHead"), childName = "Chest", localPos = new Vector3(0.0417f, 0.2791f, -0.0493f), localAngles = new Vector3(284.1172f, 243.7966f, 260.89f), localScale = new Vector3(0.6701f, 0.6701f, 0.6701f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HeadHunter, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySkullCrown"), childName = "Head", localPos = new Vector3(0f, 0.2556f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.4851f, 0.1617f, 0.1617f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.EnergizedOnEquipmentUse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWarHorn"), childName = "Pelvis", localPos = new Vector3(-0.1509f, 0.0659f, 0f), localAngles = new Vector3(0f, 0f, 69.9659f), localScale = new Vector3(0.2732f, 0.2732f, 0.2732f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FlatHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySteakCurved"), childName = "Head", localPos = new Vector3(0f, 0.3429f, -0.0671f), localAngles = new Vector3(294.98f, 180f, 180f), localScale = new Vector3(0.1245f, 0.1155f, 0.1155f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Tooth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Head", localPos = new Vector3(0f, 0.0687f, 0.0998f), localAngles = new Vector3(344.9017f, 0f, 0f), localScale = new Vector3(7.5452f, 7.5452f, 7.5452f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Pearl, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayPearl"), childName = "LowerArmR", localPos = new Vector3(0f, 0f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ShinyPearl, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShinyPearl"), childName = "LowerArmL", localPos = new Vector3(0f, 0f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BonusGoldPackOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTome"), childName = "ThighR", localPos = new Vector3(0.0155f, 0.2145f, 0.0615f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.0475f, 0.0475f, 0.0475f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Icicle, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFrostRelic"), childName = "Base", localPos = new Vector3(-0.658f, -1.0806f, 0.015f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Talisman, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTalisman"), childName = "Base", localPos = new Vector3(0.8357f, -0.7042f, -0.2979f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LaserTurbine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLaserTurbine"), childName = "Chest", localPos = new Vector3(0f, 0.0622f, -0.0822f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2159f, 0.2159f, 0.2159f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FocusConvergence, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFocusedConvergence"), childName = "Base", localPos = new Vector3(-0.0554f, -1.6605f, -0.3314f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Incubator, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAncestralIncubator"), childName = "Chest", localPos = new Vector3(0f, 0.3453f, 0f), localAngles = new Vector3(353.0521f, 317.2421f, 69.6292f), localScale = new Vector3(0.0528f, 0.0528f, 0.0528f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FireballsOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFireballsOnHit"), childName = "LowerArmL", localPos = new Vector3(0f, 0.3365f, -0.0878f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0761f, 0.0761f, 0.0761f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SiphonOnLowHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySiphonOnLowHealth"), childName = "Pelvis", localPos = new Vector3(0.0542f, 0.0206f, -0.0019f), localAngles = new Vector3(0f, 303.4368f, 0f), localScale = new Vector3(0.0385f, 0.0385f, 0.0385f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BleedOnHitAndExplode, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBleedOnHitAndExplode"), childName = "ThighR", localPos = new Vector3(0f, 0.0575f, -0.0178f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.0486f, 0.0486f, 0.0486f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MonstersOnShrineUse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMonstersOnShrineUse"), childName = "ThighR", localPos = new Vector3(0.0022f, 0.084f, 0.066f), localAngles = new Vector3(352.4521f, 260.6884f, 341.5106f), localScale = new Vector3(0.0246f, 0.0246f, 0.0246f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RandomDamageZone, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRandomDamageZone"), childName = "LowerArmL", localPos = new Vector3(0.0709f, 0.4398f, 0.0587f), localAngles = new Vector3(349.218f, 235.9453f, 0f), localScale = new Vector3(0.0465f, 0.0465f, 0.0465f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Fruit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFruit"), childName = "Chest", localPos = new Vector3(-0.0513f, 0.2348f, -0.1839f), localAngles = new Vector3(354.7403f, 305.3714f, 336.9526f), localScale = new Vector3(0.2118f, 0.2118f, 0.2118f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixRed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteHorn"), childName = "Head", localPos = new Vector3(0.1201f, 0.2516f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1036f, 0.1036f, 0.1036f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteHorn"), childName = "Head", localPos = new Vector3(-0.1201f, 0.2516f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-0.1036f, 0.1036f, 0.1036f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixBlue, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteRhinoHorn"), childName = "Head", localPos = new Vector3(0f, 0.2648f, 0.1528f), localAngles = new Vector3(315f, 0f, 0f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteRhinoHorn"), childName = "Head", localPos = new Vector3(0f, 0.3022f, 0.1055f), localAngles = new Vector3(300f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixWhite, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteIceCrown"), childName = "Head", localPos = new Vector3(0f, 0.2836f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0265f, 0.0265f, 0.0265f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixPoison, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteUrchinCrown"), childName = "Head", localPos = new Vector3(0f, 0.2679f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.0496f, 0.0496f, 0.0496f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.AffixHaunted, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteStealthCrown"), childName = "Head", localPos = new Vector3(0f, 0.2143f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.065f, 0.065f, 0.065f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.CritOnUse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayNeuralImplant"), childName = "Head", localPos = new Vector3(0f, 0.1861f, 0.2328f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2326f, 0.2326f, 0.2326f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.DroneBackup, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRadio"), childName = "Pelvis", localPos = new Vector3(0.0604f, 0.1269f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.2641f, 0.2641f, 0.2641f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Lightning, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLightningArmRight"), childName = "UpperArmR", localPos = new Vector3(0f, 0f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.3413f, 0.3413f, 0.3413f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BurnNearby, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayPotion"), childName = "Pelvis", localPos = new Vector3(0.078f, 0.065f, 0f), localAngles = new Vector3(359.1402f, 0.1068f, 331.8908f), localScale = new Vector3(0.0307f, 0.0307f, 0.0307f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.CrippleWard, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEffigy"), childName = "Pelvis", localPos = new Vector3(0.0768f, -0.0002f, 0f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.2812f, 0.2812f, 0.2812f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.QuestVolatileBattery, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBatteryArray"), childName = "Chest", localPos = new Vector3(0f, 0.2584f, -0.0987f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.2188f, 0.2188f, 0.2188f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.GainArmor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayElephantFigure"), childName = "CalfR", localPos = new Vector3(0f, 0.3011f, 0.0764f), localAngles = new Vector3(77.5634f, 0f, 0f), localScale = new Vector3(0.6279f, 0.6279f, 0.6279f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Recycle, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRecycler"), childName = "Chest", localPos = new Vector3(0f, 0.1976f, -0.0993f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.0802f, 0.0802f, 0.0802f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.FireBallDash, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEgg"), childName = "Pelvis", localPos = new Vector3(0.0727f, 0.0252f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.1891f, 0.1891f, 0.1891f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Cleanse, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWaterPack"), childName = "Chest", localPos = new Vector3(0f, 0.1996f, -0.0489f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.0821f, 0.0821f, 0.0821f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Tonic, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTonic"), childName = "Pelvis", localPos = new Vector3(0.066f, 0.058f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.1252f, 0.1252f, 0.1252f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Gateway, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVase"), childName = "Pelvis", localPos = new Vector3(0.0807f, 0.0877f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(0.0982f, 0.0982f, 0.0982f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Meteor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMeteor"), childName = "Base", localPos = new Vector3(0f, -1.7606f, -0.9431f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Saw, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySawmerang"), childName = "Base", localPos = new Vector3(0f, -1.7606f, -0.9431f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1f, 0.1f, 0.1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Blackhole, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravCube"), childName = "Base", localPos = new Vector3(0f, -1.7606f, -0.9431f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.5f, 0.5f, 0.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Scanner, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayScanner"), childName = "Pelvis", localPos = new Vector3(0.0857f, 0.0472f, 0.0195f), localAngles = new Vector3(270f, 154.175f, 0f), localScale = new Vector3(0.0861f, 0.0861f, 0.0861f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.DeathProjectile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDeathProjectile"), childName = "Pelvis", localPos = new Vector3(0f, 0.028f, -0.0977f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.0596f, 0.0596f, 0.0596f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.LifestealOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLifestealOnHit"), childName = "Head", localPos = new Vector3(-0.2175f, 0.4404f, -0.141f), localAngles = new Vector3(44.0939f, 33.5151f, 43.5058f), localScale = new Vector3(0.1246f, 0.1246f, 0.1246f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.TeamWarCry, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTeamWarCry"), childName = "Pelvis", localPos = new Vector3(0f, 0f, 0.1866f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.1233f, 0.1233f, 0.1233f), limbMask = (LimbFlags)0 } } } }); itemDisplayRuleSet.keyAssetRuleGroups = itemDisplayRules.ToArray(); itemDisplayRuleSet.GenerateRuntimeValues(); } private static RendererInfo[] SkinRendererInfos(RendererInfo[] defaultRenderers, Material[] materials) { RendererInfo[] array = (RendererInfo[])(object)new RendererInfo[defaultRenderers.Length]; defaultRenderers.CopyTo(array, 0); array[0].defaultMaterial = materials[0]; array[1].defaultMaterial = materials[1]; array[SurvivorBase.instance.mainRendererIndex].defaultMaterial = materials[2]; return array; } } } namespace UrgotMod.Modules.Achievements { internal class MasteryAchievement : ModdedUnlockable { public override string AchievementDescToken { get; } = "URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_DESC"; public override string AchievementIdentifier { get; } = "URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_ID"; public override string AchievementNameToken { get; } = "URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_NAME"; public override Func GetHowToUnlock { get; } = () => Language.GetStringFormatted("UNLOCK_VIA_ACHIEVEMENT_FORMAT", new object[2] { Language.GetString("URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_NAME"), Language.GetString("URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_DESC") }); public override Func GetUnlocked { get; } = () => Language.GetStringFormatted("UNLOCKED_FORMAT", new object[2] { Language.GetString("URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_NAME"), Language.GetString("URGOT_URGOT_BODY_MASTERYUNLOCKABLE_ACHIEVEMENT_DESC") }); public override string PrerequisiteUnlockableIdentifier { get; } = "URGOT_URGOT_BODY_UNLOCKABLE_REWARD_ID"; public override Sprite Sprite { get; } = Assets.mainAssetBundle.LoadAsset("texMasteryAchievement"); public override string UnlockableIdentifier { get; } = "URGOT_URGOT_BODY_MASTERYUNLOCKABLE_REWARD_ID"; public override string UnlockableNameToken { get; } = "URGOT_URGOT_BODY_MASTERYUNLOCKABLE_UNLOCKABLE_NAME"; public void ClearCheck(Run run, RunReport runReport) { //IL_0029: Unknown result type (might be due to invalid IL or missing references) if (run != null && runReport != null && Object.op_Implicit((Object)(object)runReport.gameEnding) && runReport.gameEnding.isWin) { DifficultyDef difficultyDef = DifficultyCatalog.GetDifficultyDef(runReport.ruleBook.FindDifficulty()); if (difficultyDef != null && difficultyDef.countsAsHardMode && ((BaseAchievement)this).meetsBodyRequirement) { ((BaseAchievement)this).Grant(); } } } public override BodyIndex LookUpRequiredBodyIndex() { //IL_000a: Unknown result type (might be due to invalid IL or missing references) return BodyCatalog.FindBodyIndex(SurvivorBase.instance.fullBodyName); } public override void OnInstall() { base.OnInstall(); Run.onClientGameOverGlobal += ClearCheck; } public override void OnUninstall() { base.OnUninstall(); Run.onClientGameOverGlobal -= ClearCheck; } } } namespace UrgotMod.Controllers { internal class ExecutionHandler : MonoBehaviour { public ProjectileStickOnImpact ProjectileStickOnImpactC; public ProjectileDamage projectileDamageC; public ProjectileController projectileControllerC; public HealthComponent healthComponentC; public GameObject attacker; public GameObject explosionEffectPrefab = LegacyResourcesAPI.Load("Prefabs/Effects/ImpactEffects/ExplosionVFX"); public float effectScale = 100f; public float timer = 10f; public bool stuck; public int stack; public Vector3 refVector; private DamageInfo damageInfo; private void Awake() { ((MonoBehaviour)this).Invoke("Explode", timer); } private void Start() { ProjectileStickOnImpactC = ((Component)this).GetComponent(); projectileDamageC = ((Component)this).GetComponent(); projectileControllerC = ((Component)this).GetComponent(); } private void FixedUpdate() { //IL_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) if (ProjectileStickOnImpactC.stuck) { GameObject victim = ProjectileStickOnImpactC.victim; UrgotPlugin.Logger.LogMessage((object)("Drill sticks to " + ((Object)victim).name)); HealthComponent component = victim.GetComponent(); if (((component != null) ? new float?(component.combinedHealthFraction) : null) <= 0.3f + 0.05f * (float)stack) { healthComponentC.body.AddBuff(Buffs.executionTokenBuff); healthComponentC.body.healthComponent.HealFraction(healthComponentC.fullCombinedHealth / component.fullCombinedHealth, default(ProcChainMask)); attacker.GetComponent().SetNoMercyCondition(condition: true); UrgotDragController urgotDragController = victim.AddComponent(); urgotDragController.attacker = attacker; urgotDragController.executionTime = 5f; Explode(); } else { UrgotPlugin.Logger.LogMessage((object)(((!Object.op_Implicit((Object)(object)victim)) ? "No Victim" : (Object.op_Implicit((Object)(object)component) ? ("This exists: " + ((object)victim).ToString() + ((object)component).ToString()) : "No Healthcomponent")) ?? "")); } } } private void Explode() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Expected O, but got Unknown if (Object.op_Implicit((Object)(object)explosionEffectPrefab)) { EffectManager.SpawnEffect(LegacyResourcesAPI.Load("Prefabs/Effects/ImpactEffects/CrocoDiseaseImpactEffect"), new EffectData { origin = ((Component)this).transform.position, rotation = ((Component)this).transform.rotation, scale = effectScale }, true); } Object.Destroy((Object)(object)((Component)this).gameObject); } } internal class lockRotation : MonoBehaviour { private void Awake() { } private void Update() { //IL_001a: Unknown result type (might be due to invalid IL or missing references) ((Component)this).transform.rotation = new Quaternion(-2.2361375E-05f, 2.2459566E-05f, 2.2362341E-05f, 1f); } } public class QuoteController : MonoBehaviour { private bool quotePlayed; private uint activeKillQuotePlayID; private uint activePlayID; private uint activeTeleportQuotePlayID; private uint activeWalkQuotePlayID; private bool killQuotePlayed; private bool teleportQuotePlayed; private void Awake() { TeleporterInteraction.onTeleporterFinishGlobal += TeleporterInteraction_onTeleporterFinishGlobal; BossGroup.onBossGroupStartServer += BossGroup_onBossGroupStartServer; BossGroup.onBossGroupDefeatedServer += BossGroup_onBossGroupDefeatedServer; Run.onRunAmbientLevelUp += Run_onRunAmbientLevelUp; } private void Run_onRunAmbientLevelUp(Run obj) { if (Config.voiceLines.Value) { activeWalkQuotePlayID = Util.PlaySound("walk", ((Component)this).gameObject); } } private void BossGroup_onBossGroupDefeatedServer(BossGroup obj) { if (!killQuotePlayed && Config.voiceLines.Value) { quotePlayed = true; activeKillQuotePlayID = Util.PlaySound("bossKill", ((Component)this).gameObject); } } private void BossGroup_onBossGroupStartServer(BossGroup obj) { if (!quotePlayed && Config.voiceLines.Value) { quotePlayed = true; activePlayID = Util.PlaySound("bossSpawn", ((Component)this).gameObject); } } private void TeleporterInteraction_onTeleporterFinishGlobal(TeleporterInteraction obj) { if (!teleportQuotePlayed && Config.voiceLines.Value) { teleportQuotePlayed = true; activeTeleportQuotePlayID = Util.PlaySound("teleport", ((Component)this).gameObject); } } private void OnDestroy() { if (activePlayID != 0) { AkSoundEngine.StopPlayingID(activePlayID); } if (activeKillQuotePlayID != 0) { AkSoundEngine.StopPlayingID(activeKillQuotePlayID); } if (activeTeleportQuotePlayID != 0) { AkSoundEngine.StopPlayingID(activeTeleportQuotePlayID); } if (activeWalkQuotePlayID != 0) { AkSoundEngine.StopPlayingID(activeWalkQuotePlayID); } TeleporterInteraction.onTeleporterFinishGlobal -= TeleporterInteraction_onTeleporterFinishGlobal; BossGroup.onBossGroupStartServer -= BossGroup_onBossGroupStartServer; BossGroup.onBossGroupDefeatedServer -= BossGroup_onBossGroupDefeatedServer; Run.onRunAmbientLevelUp -= Run_onRunAmbientLevelUp; } } [RequireComponent(typeof(ProjectileFuse))] [RequireComponent(typeof(ProjectileStickOnImpact))] [DefaultExecutionOrder(-2)] internal class StickFuse : MonoBehaviour { [SerializeField] public ProjectileStickOnImpact ProjectileStickOnImpactC; public ProjectileDamage projectileDamageC; public ProjectileController projectileControllerC; public GameObject attacker; public GameObject inflicor; public GameObject explosionEffectPrefab = LegacyResourcesAPI.Load("Prefabs/Effects/ImpactEffects/CrocoDiseaseImpactEffect"); public Vector3 position; public Vector3 rotation; public ProcChainMask procChainMask; public TeamIndex playerTeamIndex; public TeamIndex teamIndex; public DamageColorIndex damageColorIndex; public float procCoefficient; public float time = 0.6f; public float baseDamage; public float baseForce; public float radius; public float effectScale = 100f; public bool stuck; public bool crit; private void Awake() { } private void Start() { //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: 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_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) ProjectileStickOnImpactC = ((Component)this).GetComponent(); projectileDamageC = ((Component)this).GetComponent(); projectileControllerC = ((Component)this).GetComponent(); projectileControllerC.ghostPrefab.transform.rotation = Util.QuaternionSafeLookRotation(rotation + new Vector3(0f, -90f, 0f)); procChainMask = projectileControllerC.procChainMask; procCoefficient = projectileControllerC.procCoefficient; attacker = projectileControllerC.owner; inflicor = ((Component)this).gameObject; teamIndex = projectileControllerC.teamFilter.teamIndex; baseDamage = projectileDamageC.damage; baseForce = projectileDamageC.force; crit = projectileDamageC.crit; radius = 5f; damageColorIndex = projectileDamageC.damageColorIndex; } private void FixedUpdate() { //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) stuck = ProjectileStickOnImpactC.stuck; if (stuck) { time -= Time.fixedDeltaTime; if (time <= 0f) { position = ((Component)this).transform.position; Explode(); } } } private void Explode() { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0058: 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_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: 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_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: 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_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: 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_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: 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_0109: Unknown result type (might be due to invalid IL or missing references) //IL_0114: Unknown result type (might be due to invalid IL or missing references) //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_0197: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Unknown result type (might be due to invalid IL or missing references) //IL_01a8: Unknown result type (might be due to invalid IL or missing references) //IL_01af: Unknown result type (might be due to invalid IL or missing references) //IL_01b4: Unknown result type (might be due to invalid IL or missing references) //IL_01b9: Unknown result type (might be due to invalid IL or missing references) //IL_01cb: Expected O, but got Unknown new BlastAttack { procChainMask = procChainMask, procCoefficient = procCoefficient, attacker = attacker, inflictor = inflicor, teamIndex = (TeamIndex)1, procCoefficient = Config.corrosiveChargeProcCoefficient.Value, baseDamage = baseDamage, baseForce = baseForce, falloffModel = (FalloffModel)0, crit = crit, radius = radius, position = position, damageColorIndex = damageColorIndex, damageType = { damageSource = (DamageSource)2 }, damageType = DamageTypeCombo.op_Implicit((DamageType)4096) }.Fire(); BullseyeSearch val = new BullseyeSearch { teamMaskFilter = TeamMask.GetEnemyTeams(playerTeamIndex), filterByLoS = true, searchOrigin = ((Component)this).transform.position, searchDirection = Random.onUnitSphere, sortMode = (SortMode)1, maxDistanceFilter = radius, maxAngleFilter = 360f }; val.RefreshCandidates(); foreach (HurtBox result in val.GetResults()) { if (Object.op_Implicit((Object)(object)result?.healthComponent?.body)) { result.healthComponent.body.AddTimedBuff(Buffs.Slow60, 2f); } } if (Object.op_Implicit((Object)(object)explosionEffectPrefab)) { EffectManager.SpawnEffect(LegacyResourcesAPI.Load("Prefabs/Effects/ImpactEffects/CrocoDiseaseImpactEffect"), new EffectData { origin = ((Component)this).transform.position, rotation = ((Component)this).transform.rotation, scale = effectScale }, true); } Object.Destroy((Object)(object)((Component)this).gameObject); } } public class SuccController : MonoBehaviour { public float duration = 1f; public GameObject anchor; private GameObject extraCollider; private GameObject extraCollider2; private int extraLayer; private int extraLayer2; private bool modelLocatorStartedDisabled; public Transform pivotTransform; private CharacterDirection direction; private ModelLocator modelLocator; private Transform modelTransform; private Quaternion originalRotation; private Vector3 offset; private float stopwatch; private bool removedInvincibility; private Vector3 origin; public CharacterBody body { get; private set; } public CharacterMotor motor { get; private set; } private void Awake() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Expected O, but got Unknown //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_02ac: Unknown result type (might be due to invalid IL or missing references) //IL_02b1: Unknown result type (might be due to invalid IL or missing references) body = ((Component)this).GetComponent(); motor = ((Component)this).GetComponent(); direction = ((Component)this).GetComponent(); modelLocator = ((Component)this).GetComponent(); anchor = new GameObject("Anchor"); origin = ((Component)this).transform.position; stopwatch = 0f; ((MonoBehaviour)this).InvokeRepeating("ForceStun", 0f, 0.9f); if (Object.op_Implicit((Object)(object)modelLocator)) { Transform val = ((Component)this).transform.Find("Model Base/mdlGreaterWisp/GreaterWispArmature/ROOT/Mask/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { extraLayer2 = ((Component)val).gameObject.layer; ((Component)val).gameObject.layer = LayerIndex.noCollision.intVal; } val = ((Component)this).transform.Find("Model Base/mdlArchWisp/ArchWispArmature/ROOT/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { extraLayer2 = ((Component)val).gameObject.layer; ((Component)val).gameObject.layer = LayerIndex.noCollision.intVal; } if (((Object)((Component)this).gameObject).name == "LunarWispBody(Clone)") { val = ((Component)this).GetComponent().modelTransform.Find("StandableSurface/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { extraLayer2 = ((Component)val).gameObject.layer; ((Component)val).gameObject.layer = LayerIndex.noCollision.intVal; } } val = ((Component)this).transform.Find("Model Base/mdlVagrant/VagrantArmature/DetatchedHull/Hull.003/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { extraLayer2 = ((Component)val).gameObject.layer; ((Component)val).gameObject.layer = LayerIndex.noCollision.intVal; } val = ((Component)this).transform.Find("Model Base/mdlRoboBallBoss/RoboBallBossArmature/ROOT/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { extraLayer2 = ((Component)val).gameObject.layer; ((Component)val).gameObject.layer = LayerIndex.noCollision.intVal; } if (((Object)((Component)this).gameObject).name == "MegaConstructBody(Clone)") { val = ((Component)this).GetComponent().modelTransform.Find("MegaConstructArmature/ROOT/base/body.1/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { extraLayer2 = ((Component)val).gameObject.layer; ((Component)val).gameObject.layer = LayerIndex.noCollision.intVal; } } } ((Component)this).gameObject.layer = LayerIndex.noCollision.intVal; if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = false; } if (Object.op_Implicit((Object)(object)modelLocator)) { if (!((Behaviour)modelLocator).enabled) { modelLocatorStartedDisabled = true; } if (Object.op_Implicit((Object)(object)modelLocator.modelTransform)) { modelTransform = modelLocator.modelTransform; originalRotation = modelTransform.rotation; ((Behaviour)modelLocator).enabled = false; } } if (NetworkServer.active && Object.op_Implicit((Object)(object)body)) { body.AddBuff(Buffs.HiddenInvincibility); } } private void Start() { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) anchor.transform.parent = pivotTransform; anchor.transform.localPosition = offset; anchor.transform.rotation = pivotTransform.rotation; } private void SnapToAnchor() { //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_00c2: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_0053: 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_00e7: 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_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Unknown result type (might be due to invalid IL or missing references) //IL_018c: Unknown result type (might be due to invalid IL or missing references) //IL_0191: Unknown result type (might be due to invalid IL or missing references) //IL_0198: 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_0127: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Unknown result type (might be due to invalid IL or missing references) //IL_0131: 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_013a: Unknown result type (might be due to invalid IL or missing references) //IL_013b: Unknown result type (might be due to invalid IL or missing references) //IL_013c: 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_014d: Unknown result type (might be due to invalid IL or missing references) //IL_0152: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) //IL_01b6: Unknown result type (might be due to invalid IL or missing references) //IL_01d0: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)motor)) { if (Object.op_Implicit((Object)(object)anchor)) { ((Component)this).transform.position = anchor.transform.position; if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.position = anchor.transform.position; modelTransform.rotation = anchor.transform.rotation; } } return; } Vector3 val = ((Component)this).transform.position; if (Object.op_Implicit((Object)(object)anchor)) { val = anchor.transform.position; } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.position = val; } ((Component)this).transform.position = val; if (Object.op_Implicit((Object)(object)motor)) { motor.disableAirControlUntilCollision = true; motor.velocity = Vector3.zero; motor.rootMotion = Vector3.zero; ((BaseCharacterController)motor).Motor.SetPosition(val, true); } if (Object.op_Implicit((Object)(object)body)) { Vector3 val2 = val - body.corePosition; Vector3 normalized = ((Vector3)(ref val2)).normalized; val += normalized * Vector3.Distance(val, body.corePosition); } Vector3 val3 = Vector3.Lerp(((Component)this).transform.position, val, Util.Remap(stopwatch, 0f, duration, ((Vector3)(ref origin)).magnitude, ((Vector3)(ref val)).magnitude)); ((Component)this).transform.position = val3; if (Object.op_Implicit((Object)(object)motor)) { ((BaseCharacterController)motor).Motor.SetPosition(val3, true); } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.position = val3; } } private void LateUpdate() { SnapToAnchor(); } private void Update() { SnapToAnchor(); } private void FixedUpdate() { stopwatch += Time.fixedDeltaTime; if (stopwatch >= duration - 0.1f && !removedInvincibility) { removedInvincibility = true; if (NetworkServer.active && Object.op_Implicit((Object)(object)body)) { body.RemoveBuff(Buffs.HiddenInvincibility); } } SnapToAnchor(); if (Object.op_Implicit((Object)(object)body) && Object.op_Implicit((Object)(object)body.healthComponent) && !body.healthComponent.alive) { Release(); } } private void ForceStun() { if (!Util.HasEffectiveAuthority(((Component)this).gameObject)) { return; } SetStateOnHurt component = ((Component)body.healthComponent).GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { return; } if (component.canBeHitStunned) { component.SetPain(); } else if (component.canBeStunned) { component.SetStun(1f); } EntityStateMachine[] components = ((Component)body).gameObject.GetComponents(); foreach (EntityStateMachine val in components) { if (Object.op_Implicit((Object)(object)val) && val.customName.Equals("Weapon")) { val.SetNextStateToMain(); } } } public void Launch(Vector3 launchVector, float throwForce, Vector3 startPos) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_02be: Unknown result type (might be due to invalid IL or missing references) //IL_02c0: Unknown result type (might be due to invalid IL or missing references) //IL_02a5: Unknown result type (might be due to invalid IL or missing references) //IL_02a7: Unknown result type (might be due to invalid IL or missing references) //IL_02ac: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.position = startPos; } ((Component)this).transform.position = startPos; if (Object.op_Implicit((Object)(object)motor)) { motor.disableAirControlUntilCollision = true; motor.velocity = Vector3.zero; motor.rootMotion = Vector3.zero; ((BaseCharacterController)motor).Motor.SetPosition(startPos, true); } if (Object.op_Implicit((Object)(object)modelLocator) && !modelLocatorStartedDisabled) { ((Behaviour)modelLocator).enabled = true; } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.rotation = originalRotation; } if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = true; } if (Object.op_Implicit((Object)(object)body.healthComponent) && body.healthComponent.alive) { if (Object.op_Implicit((Object)(object)modelLocator)) { Transform val = ((Component)this).transform.Find("Model Base/mdlGreaterWisp/GreaterWispArmature/ROOT/Mask/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = extraLayer2; } val = ((Component)this).transform.Find("Model Base/mdlArchWisp/ArchWispArmature/ROOT/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = extraLayer2; } if (((Object)((Component)this).gameObject).name == "LunarWispBody(Clone)") { val = ((Component)this).GetComponent().modelTransform.Find("StandableSurface/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = extraLayer2; } } if (((Object)((Component)this).gameObject).name == "Vagrant(Clone)") { val = ((Component)this).transform.Find("Model Base/mdlVagrant/VagrantArmature/DetatchedHull/Hull.003/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = extraLayer2; } } if (((Object)((Component)this).gameObject).name == "RoboBallBossBody(Clone)" || ((Object)((Component)this).gameObject).name == "SuperRoboBallBossBody(Clone)") { val = ((Component)this).transform.Find("Model Base/mdlRoboBallBoss/RoboBallBossArmature/ROOT/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = extraLayer2; } } if (((Object)((Component)this).gameObject).name == "MegaConstructBody(Clone)") { val = ((Component)this).GetComponent().modelTransform.Find("MegaConstructArmature/ROOT/base/body.1/StandableSurfacePosition/StandableSurface"); if (Object.op_Implicit((Object)(object)val)) { ((Component)val).gameObject.layer = extraLayer2; } } } ((Component)this).gameObject.layer = LayerIndex.defaultLayer.intVal; } if (Object.op_Implicit((Object)(object)motor)) { motor.velocity = launchVector * throwForce; } else { body.rigidbody.velocity = launchVector * throwForce; } Object.Destroy((Object)(object)this); } public void Release() { //IL_0035: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)modelLocator) && !modelLocatorStartedDisabled) { ((Behaviour)modelLocator).enabled = true; } if (Object.op_Implicit((Object)(object)modelTransform)) { modelTransform.rotation = originalRotation; } if (Object.op_Implicit((Object)(object)direction)) { ((Behaviour)direction).enabled = true; } if (Object.op_Implicit((Object)(object)extraCollider)) { extraCollider.layer = extraLayer; } if (Object.op_Implicit((Object)(object)extraCollider2)) { extraCollider2.layer = extraLayer2; } ((Component)this).gameObject.layer = LayerIndex.defaultLayer.intVal; Object.Destroy((Object)(object)this); } private void OnDestroy() { if (Object.op_Implicit((Object)(object)anchor)) { Object.Destroy((Object)(object)anchor); } KillBuff(); } public void KillBuff() { if (NetworkServer.active && Object.op_Implicit((Object)(object)body) && body.HasBuff(Buffs.HiddenInvincibility)) { body.RemoveBuff(Buffs.HiddenInvincibility); } } } }