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.InteropServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using AncientScepter; using BepInEx; using BepInEx.Bootstrap; using BepInEx.Configuration; using BepInEx.Logging; using EmotesAPI; using EntityStates; using EntityStates.HAND_Overclocked; using EntityStates.HAND_Overclocked.BrokenJanitor; using EntityStates.HAND_Overclocked.Emotes; using EntityStates.HAND_Overclocked.Primary; using EntityStates.HAND_Overclocked.Secondary; using EntityStates.HAND_Overclocked.Special; using EntityStates.HAND_Overclocked.Utility; using EntityStates.Toolbot; using HANDMod; using HANDMod.Content; using HANDMod.Content.HANDSurvivor; using HANDMod.Content.HANDSurvivor.CharacterUnlock; using HANDMod.Content.HANDSurvivor.Components; using HANDMod.Content.HANDSurvivor.Components.Body; using HANDMod.Content.HANDSurvivor.Components.DroneProjectile; using HANDMod.Content.HANDSurvivor.Components.Master; using HANDMod.Content.RMORSurvivor; using HANDMod.Content.RMORSurvivor.Components.Body; using HANDMod.Content.Shared; using HANDMod.Content.Shared.Components.Body; using HANDMod.Modules; using HANDMod.Modules.Achievements; using HANDMod.Modules.Characters; using HANDMod.Modules.Survivors; using HANDMod.SkillStates.BaseStates; using HG; using HG.BlendableTypes; using Inferno; using NS_KingKombatArena; using On.RoR2; using R2API; using R2API.Utils; using Rewired.ComponentControls.Effects; using RiskOfOptions; using RiskOfOptions.Options; using RoR2; using RoR2.Achievements; using RoR2.Audio; using RoR2.CharacterAI; using RoR2.ContentManagement; using RoR2.Hologram; using RoR2.Navigation; using RoR2.Orbs; using RoR2.Projectile; using RoR2.Skills; using ShaderSwapper; using TILER2; using TMPro; using ThinkInvisible.ClassicItems; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.Events; using UnityEngine.Networking; using UnityEngine.Rendering; using Zio.FileSystems; [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyCompany("HAND_Overclocked")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: CompilationRelaxations(8)] [assembly: AssemblyTitle("HAND_Overclocked")] [assembly: AssemblyInformationalVersion("1.0.0+3679427f831f58c8f4dc6cad1c820952db490092")] [assembly: AssemblyProduct("HAND_Overclocked")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: UnverifiableCode] public class FuckinMaterialComponent : MonoBehaviour { private Renderer[] rends; public float strenght; public float exponent; private float lastValues; private MaterialPropertyBlock matblock; private void Awake() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Expected O, but got Unknown matblock = new MaterialPropertyBlock(); rends = ((Component)this).GetComponentsInChildren(); } public void SetSpecular(float strenght_, float exponent_) { strenght = strenght_; exponent = exponent_; lastValues = strenght + exponent; } private void Update() { if (lastValues != strenght + exponent) { for (int i = 0; i < rends.Length; i++) { Renderer val = rends[i]; val.GetPropertyBlock(matblock); matblock.SetFloat("_SpecularStrength", strenght); matblock.SetFloat("_SpecularExponent", exponent); val.SetPropertyBlock(matblock); } lastValues = strenght + exponent; } } } namespace EntityStates.RMOR.Primary { public class ChargeCannon : BaseState { public static float baseDuration = 1.5f; public static string partialChargeSoundString = "Play_engi_M1_chargeStock"; public static string fullChargeSoundString = "Play_HOC_StartPunch"; public static GameObject partialChargeEffect; public static GameObject fullChargeEffect; public static int maxChargeLevel = 3; private float duration; public int chargeLevel; public override void OnEnter() { ((BaseState)this).OnEnter(); chargeLevel = 0; duration = baseDuration / base.attackSpeedStat; } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (chargeLevel < maxChargeLevel && ((EntityState)this).fixedAge >= (float)(chargeLevel + 1) * duration / (float)maxChargeLevel) { chargeLevel++; string text = partialChargeSoundString; GameObject val = partialChargeEffect; if (chargeLevel >= maxChargeLevel) { text = fullChargeSoundString; val = fullChargeEffect; } Util.PlaySound(text, ((EntityState)this).gameObject); EffectManager.SimpleMuzzleFlash(val, ((EntityState)this).gameObject, "HandL", false); EffectManager.SimpleMuzzleFlash(val, ((EntityState)this).gameObject, "HandR", false); } if (((EntityState)this).isAuthority && (!Object.op_Implicit((Object)(object)((EntityState)this).inputBank) || !((EntityState)this).inputBank.skill1.down)) { if (chargeLevel > 0) { SetNextState(); } else { ((EntityState)this).outer.SetNextStateToMain(); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)1; } public virtual void SetNextState() { ((EntityState)this).outer.SetNextState((EntityState)(object)new FireCannon { chargeLevel = chargeLevel }); } } public class FireCannon : BaseState { public static string attackSoundString; public static GameObject projectilePrefab; public static float baseExitDuration = 0.6f; public static float baseDurationBetweenShots = 0.2f; public static float damageCoefficient = 4.2f; public static float force = 2000f; public static GameObject muzzleflashEffectPrefab; public int chargeLevel; private bool crit; private float totalDuration; private float durationBetweenShots; private float fireStopwatch; private int shotsRemaining; public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)2; } public override void OnEnter() { ((BaseState)this).OnEnter(); shotsRemaining = chargeLevel; crit = ((BaseState)this).RollCrit(); fireStopwatch = 0f; durationBetweenShots = baseDurationBetweenShots / base.attackSpeedStat; totalDuration = baseExitDuration / base.attackSpeedStat + durationBetweenShots * (float)shotsRemaining; if (shotsRemaining > 0) { FireProjectile(); } } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (shotsRemaining > 0) { fireStopwatch += Time.fixedDeltaTime; if (fireStopwatch >= durationBetweenShots) { FireProjectile(); fireStopwatch -= durationBetweenShots; } } else if (((EntityState)this).isAuthority && ((EntityState)this).fixedAge > totalDuration) { ((EntityState)this).outer.SetNextStateToMain(); } } private void FireProjectile() { //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_006c: 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_0078: Unknown result type (might be due to invalid IL or missing references) shotsRemaining--; Util.PlaySound(attackSoundString, ((EntityState)this).gameObject); EffectManager.SimpleMuzzleFlash(muzzleflashEffectPrefab, ((EntityState)this).gameObject, "HandL", false); EffectManager.SimpleMuzzleFlash(muzzleflashEffectPrefab, ((EntityState)this).gameObject, "HandR", false); Ray aimRay = ((BaseState)this).GetAimRay(); if (((EntityState)this).isAuthority) { ProjectileManager.instance.FireProjectile(projectilePrefab, ((Ray)(ref aimRay)).origin, Util.QuaternionSafeLookRotation(((Ray)(ref aimRay)).direction), ((EntityState)this).gameObject, base.damageStat * damageCoefficient, force, crit, (DamageColorIndex)0, (GameObject)null, -1f, (DamageTypeCombo?)null); } } } } namespace EntityStates.HAND_Overclocked { public class HANDMainState : GenericCharacterMain { public LocalUser localUser; public override void OnEnter() { ((GenericCharacterMain)this).OnEnter(); FindLocalUser(); } private void FindLocalUser() { if (localUser != null || !Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { return; } foreach (LocalUser readOnlyLocalUsers in LocalUserManager.readOnlyLocalUsersList) { if ((Object)(object)readOnlyLocalUsers.cachedBody == (Object)(object)((EntityState)this).characterBody) { localUser = readOnlyLocalUsers; break; } } } public override void FixedUpdate() { ((GenericCharacterMain)this).FixedUpdate(); FindLocalUser(); if (((EntityState)this).isAuthority && ((EntityState)this).characterMotor.isGrounded && localUser != null && !localUser.isUIFocused) { if (Config.GetKeyPressed(Config.KeybindEmote1)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Sit(), (InterruptPriority)0); } else if (Config.GetKeyPressed(Config.KeybindEmote2)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Spin(), (InterruptPriority)0); } else if (Config.GetKeyPressed(Config.KeybindEmoteCSS)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new MenuPose(), (InterruptPriority)0); } } } } } namespace EntityStates.HAND_Overclocked.Utility { public class BeginFocus : BeginOverclock { public static Texture2D texGaugeNemesis; public static Texture2D texGaugeArrowNemesis; public new static Material overlayMaterial; public override void LoadStats() { cancelDef = HANDMod.Content.Shared.SkillDefs.UtilityOverclockCancel; buffDef = HANDMod.Content.Shared.Buffs.NemesisFocus; gaugeInternal = texGaugeNemesis; gaugeArrowInternal = texGaugeArrowNemesis; internalOverlayMaterial = overlayMaterial; } } public class BeginOverclock : BaseState { private float lastFUpdateTime; public float buffDuration = 4f; public BuffDef buffDef; public string startSoundString = "Play_MULT_shift_start"; public string endSoundString = "Play_MULT_shift_end"; public SkillDef cancelDef; private Animator modelAnimator; private float stopwatch = 0f; private float jetFireTime; private float jetStopwatch; private float timerSinceComplete = 0f; private bool beginExit; private int startStocks = 0; private Transform leftJet; private Transform rightJet; private TemporaryOverlayInstance tempOverlay; private CharacterModel characterModel; public static GameObject jetEffectPrefab; public static float baseExitDuration = 0.3f; public static float shortHopVelocity = 12f; public static float jetFireFrequency = 6f; public Material internalOverlayMaterial; public static Material overlayMaterial; public OverclockController overclockController; private GenericSkill skillSlot; public Texture2D gaugeInternal; public Texture2D gaugeArrowInternal; public static Texture2D texGauge; public static Texture2D texGaugeArrow; public static event Action onAuthorityFixedUpdateGlobal; public override void OnEnter() { //IL_021f: Unknown result type (might be due to invalid IL or missing references) //IL_0233: Unknown result type (might be due to invalid IL or missing references) //IL_0238: Unknown result type (might be due to invalid IL or missing references) //IL_024b: Unknown result type (might be due to invalid IL or missing references) //IL_025f: Unknown result type (might be due to invalid IL or missing references) //IL_0264: 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_029d: Unknown result type (might be due to invalid IL or missing references) //IL_02a2: Unknown result type (might be due to invalid IL or missing references) //IL_02b5: Unknown result type (might be due to invalid IL or missing references) //IL_02c9: Unknown result type (might be due to invalid IL or missing references) //IL_02ce: Unknown result type (might be due to invalid IL or missing references) ((BaseState)this).OnEnter(); lastFUpdateTime = Time.time; LoadStats(); modelAnimator = ((EntityState)this).GetModelAnimator(); if (Object.op_Implicit((Object)(object)modelAnimator)) { modelAnimator.SetFloat("KeyCrank", 1f); } overclockController = ((EntityState)this).gameObject.GetComponent(); if (((EntityState)this).isAuthority) { if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && !((EntityState)this).characterMotor.isGrounded && shortHopVelocity > 0f) { ((BaseState)this).SmallHop(((EntityState)this).characterMotor, shortHopVelocity); } if (Object.op_Implicit((Object)(object)overclockController)) { overclockController.StartOverclock(gaugeInternal, gaugeArrowInternal); } } if (NetworkServer.active) { BuffDef val = buffDef; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && !((EntityState)this).characterBody.HasBuff(val)) { ((EntityState)this).characterBody.AddBuff(val); } } Util.PlaySound(startSoundString, ((EntityState)this).gameObject); skillSlot = (Object.op_Implicit((Object)(object)((EntityState)this).skillLocator) ? ((EntityState)this).skillLocator.utility : null); if (Object.op_Implicit((Object)(object)skillSlot)) { startStocks = skillSlot.stock; skillSlot.SetSkillOverride((object)this, cancelDef, (SkillOverridePriority)4); skillSlot.stock = Mathf.Min(skillSlot.maxStock, startStocks + 1); } jetFireTime = 1f / jetFireFrequency; jetStopwatch = 0f; ChildLocator modelChildLocator = ((EntityState)this).GetModelChildLocator(); if (Object.op_Implicit((Object)(object)modelChildLocator)) { leftJet = modelChildLocator.FindChild("Jetpack.L"); rightJet = modelChildLocator.FindChild("Jetpack.R"); GameObject val2 = Object.Instantiate(jetEffectPrefab, leftJet); Transform transform = val2.transform; transform.localRotation *= Quaternion.Euler(0f, -60f, 0f); Transform transform2 = val2.transform; transform2.localPosition += new Vector3(0f, 0.6f, 0f); GameObject val3 = Object.Instantiate(jetEffectPrefab, rightJet); Transform transform3 = val3.transform; transform3.localRotation *= Quaternion.Euler(0f, 60f, 0f); Transform transform4 = val3.transform; transform4.localPosition += new Vector3(0f, 0.6f, 0f); } if (Object.op_Implicit((Object)(object)internalOverlayMaterial) && Object.op_Implicit((Object)(object)((EntityState)this).modelLocator) && Object.op_Implicit((Object)(object)((EntityState)this).modelLocator.modelTransform) && Object.op_Implicit((Object)(object)((Component)((EntityState)this).modelLocator.modelTransform).gameObject)) { characterModel = ((Component)((EntityState)this).modelLocator.modelTransform).gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)characterModel)) { tempOverlay = TemporaryOverlayManager.AddOverlay(((Component)characterModel).gameObject); tempOverlay.duration = float.PositiveInfinity; tempOverlay.animateShaderAlpha = true; tempOverlay.alphaCurve = AnimationCurve.EaseInOut(0f, 1f, 1f, 0f); tempOverlay.destroyComponentOnEnd = true; tempOverlay.originalMaterial = internalOverlayMaterial; tempOverlay.AddToCharacterModel(characterModel); tempOverlay.Start(); } } } public virtual void LoadStats() { cancelDef = HANDMod.Content.Shared.SkillDefs.UtilityOverclockCancel; buffDef = HANDMod.Content.Shared.Buffs.Overclock; gaugeInternal = texGauge; gaugeArrowInternal = texGaugeArrow; internalOverlayMaterial = overlayMaterial; } public virtual float ExtendBuff(float stopwatch, float extensionTime) { return Mathf.Max(0f, stopwatch - extensionTime); } public override void OnExit() { if (Object.op_Implicit((Object)(object)skillSlot)) { skillSlot.UnsetSkillOverride((object)this, cancelDef, (SkillOverridePriority)4); skillSlot.stock = startStocks; } if (NetworkServer.active && Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && ((EntityState)this).characterBody.HasBuff(buffDef)) { ((EntityState)this).characterBody.RemoveBuff(buffDef); } if (tempOverlay != null) { tempOverlay.RemoveFromCharacterModel(); tempOverlay.Destroy(); tempOverlay = null; } if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)overclockController)) { overclockController.EndOverclock(); } Util.PlaySound(endSoundString, ((EntityState)this).gameObject); if (Object.op_Implicit((Object)(object)modelAnimator)) { modelAnimator.SetFloat("KeyCrank", 0f); } ((EntityState)this).OnExit(); } public override void FixedUpdate() { //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_009d: 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_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: 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_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_0118: 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) ((EntityState)this).FixedUpdate(); float num = Time.time - lastFUpdateTime; lastFUpdateTime = Time.time; jetStopwatch += num; if (jetStopwatch >= jetFireTime) { jetStopwatch -= jetFireTime; GameObject val = Object.Instantiate(jetEffectPrefab, leftJet); Transform transform = val.transform; transform.localRotation *= Quaternion.Euler(0f, -60f, 0f); Transform transform2 = val.transform; transform2.localPosition += new Vector3(0f, 0.6f, 0f); GameObject val2 = Object.Instantiate(jetEffectPrefab, rightJet); Transform transform3 = val2.transform; transform3.localRotation *= Quaternion.Euler(0f, 60f, 0f); Transform transform4 = val2.transform; transform4.localPosition += new Vector3(0f, 0.6f, 0f); } if (!((EntityState)this).isAuthority) { return; } stopwatch += num; if (Object.op_Implicit((Object)(object)overclockController)) { stopwatch = ExtendBuff(stopwatch, overclockController.ConsumeExtensionTime()); overclockController.buffPercent = Mathf.Max(0f, buffDuration - stopwatch) / buffDuration; } if (BeginOverclock.onAuthorityFixedUpdateGlobal != null) { BeginOverclock.onAuthorityFixedUpdateGlobal(this); } if (!Object.op_Implicit((Object)(object)skillSlot) || skillSlot.stock == 0 || stopwatch >= buffDuration) { beginExit = true; } if (beginExit) { timerSinceComplete += num; if (timerSinceComplete > baseExitDuration) { ((EntityState)this).outer.SetNextStateToMain(); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)1; } } public class CancelOverclock : BaseState { public static float shortHopVelocity = 24f; public static GameObject jetEffectPrefab = Addressables.LoadAssetAsync((object)"RoR2/Base/Commando/CommandoDashJets.prefab").WaitForCompletion(); protected OverclockController overclockController; public override void OnEnter() { //IL_005b: 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_0074: 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_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: 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_00d9: 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_0100: 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) ((BaseState)this).OnEnter(); Util.PlaySound("Play_commando_shift", ((EntityState)this).gameObject); ChildLocator modelChildLocator = ((EntityState)this).GetModelChildLocator(); if (Object.op_Implicit((Object)(object)modelChildLocator)) { Transform val = modelChildLocator.FindChild("Jetpack.L"); Transform val2 = modelChildLocator.FindChild("Jetpack.R"); GameObject val3 = Object.Instantiate(jetEffectPrefab, val); Transform transform = val3.transform; transform.localRotation *= Quaternion.Euler(-60f, -90f, -60f); Transform transform2 = val3.transform; transform2.localPosition += new Vector3(0f, 0.6f, 0f); GameObject val4 = Object.Instantiate(jetEffectPrefab, val2); Transform transform3 = val4.transform; transform3.localRotation *= Quaternion.Euler(-60f, 90f, -60f); Transform transform4 = val4.transform; transform4.localPosition += new Vector3(0f, 0.6f, 0f); } if (((EntityState)this).isAuthority) { if ((Object)(object)((EntityState)this).characterMotor != (Object)null) { ((BaseState)this).SmallHop(((EntityState)this).characterMotor, shortHopVelocity); } ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)2; } } } namespace EntityStates.HAND_Overclocked.Special { public class FireSeekingDrone : BaseState { private bool hasFired; public static float damageCoefficient = 2.7f; public static GameObject projectilePrefab; public static string muzzleString; public static GameObject muzzleflashEffectPrefab; public static float baseDuration = 0.25f; public static float force = 250f; private float duration; protected bool isCrit; private HurtBox initialOrbTarget = null; private HANDTargetingController targetingController; public override void OnEnter() { ((BaseState)this).OnEnter(); hasFired = false; Transform modelTransform = ((EntityState)this).GetModelTransform(); targetingController = ((EntityState)this).GetComponent(); Util.PlaySound("Play_HOC_Drone", ((EntityState)this).gameObject); if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)targetingController)) { initialOrbTarget = targetingController.GetTrackingTarget(); } duration = baseDuration; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { ((EntityState)this).characterBody.SetAimTimer(duration + 1f); } isCrit = ((BaseState)this).RollCrit(); } public override void OnExit() { //IL_0024: Unknown result type (might be due to invalid IL or missing references) if (!hasFired && ((EntityState)this).isAuthority) { FireProjectile(initialOrbTarget, ((EntityState)this).inputBank.aimOrigin); } ((EntityState)this).OnExit(); } private void FireProjectile(HurtBox target, Vector3 position) { //IL_000a: 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_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_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_002d: 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_009e: Unknown result type (might be due to invalid IL or missing references) hasFired = true; FireProjectileInfo val = default(FireProjectileInfo); val.position = position; Ray aimRay = ((BaseState)this).GetAimRay(); val.rotation = Util.QuaternionSafeLookRotation(((Ray)(ref aimRay)).direction); val.crit = ((BaseState)this).RollCrit(); val.damage = base.damageStat * damageCoefficient; val.damageColorIndex = (DamageColorIndex)0; val.owner = ((EntityState)this).gameObject; val.force = force; val.projectilePrefab = GetProjectile(); if (Object.op_Implicit((Object)(object)target)) { val.target = ((Component)target).gameObject; } ProjectileManager.instance.FireProjectile(val); } public override void FixedUpdate() { //IL_002b: Unknown result type (might be due to invalid IL or missing references) ((EntityState)this).FixedUpdate(); if (!hasFired && ((EntityState)this).isAuthority) { FireProjectile(initialOrbTarget, ((EntityState)this).inputBank.aimOrigin); } if (((EntityState)this).fixedAge > duration && ((EntityState)this).isAuthority) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)1; } protected virtual GameObject GetProjectile() { return projectilePrefab; } } public class FireSpeedDrone : FireSeekingDrone { public static GameObject speedDroneProjectile; protected override GameObject GetProjectile() { return speedDroneProjectile; } } } namespace EntityStates.HAND_Overclocked.Secondary { public class ChargeSlam : BaseState { private float lastUpdateTime; public static float baseMinDuration = 0.5f; public static float baseChargeDuration = 1.5f; private float minDuration; private float chargeDuration; private float charge; public float chargePercent; private Animator modelAnimator; public static GameObject chargeEffectPrefab = LegacyResourcesAPI.Load("prefabs/effects/omnieffect/OmniImpactVFXLoader"); private bool startedChargeAnim = false; private HammerVisibilityController hammerController; public static GameObject holdChargeVfxPrefab = ChargeSpear.holdChargeVfxPrefab; private GameObject holdChargeVfxGameObject = null; public override void OnEnter() { lastUpdateTime = Time.time; ((BaseState)this).OnEnter(); Util.PlaySound("Play_HOC_StartHammer", ((EntityState)this).gameObject); minDuration = baseMinDuration / base.attackSpeedStat; modelAnimator = ((EntityState)this).GetModelAnimator(); if (Object.op_Implicit((Object)(object)modelAnimator)) { ((EntityState)this).PlayAnimation("Gesture, Override", "PrepHammer", "ChargeHammer.playbackRate", minDuration, 0f); } if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { ((EntityState)this).characterBody.SetAimTimer(3f); } charge = 0f; chargePercent = 0f; chargeDuration = baseChargeDuration / base.attackSpeedStat; hammerController = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)hammerController)) { hammerController.SetHammerEnabled(enabled: true); } OverclockController component = ((EntityState)this).GetComponent(); bool flag = Object.op_Implicit((Object)(object)component) && component.BuffActive(); if (((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && !flag) { ((EntityState)this).characterBody.isSprinting = false; } } public override void OnExit() { if (Object.op_Implicit((Object)(object)holdChargeVfxGameObject)) { EntityState.Destroy((Object)(object)holdChargeVfxGameObject); holdChargeVfxGameObject = null; } if (!((EntityState)this).outer.destroying) { ((EntityState)this).PlayAnimation("Gesture, Override", "BufferEmpty"); } if (Object.op_Implicit((Object)(object)hammerController)) { hammerController.SetHammerEnabled(enabled: false); } ((EntityState)this).OnExit(); } public override void FixedUpdate() { //IL_010f: 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_011b: Unknown result type (might be due to invalid IL or missing references) //IL_012c: Expected O, but got Unknown ((EntityState)this).FixedUpdate(); float num = Time.time - lastUpdateTime; lastUpdateTime = Time.time; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { ((EntityState)this).characterBody.SetAimTimer(3f); } if (((EntityState)this).fixedAge > minDuration && charge < chargeDuration) { if (!startedChargeAnim) { startedChargeAnim = true; ((EntityState)this).PlayCrossfade("Gesture, Override", "ChargeHammer", "ChargeHammer.playbackRate", chargeDuration, 0.2f); } charge += num * base.attackSpeedStat; if (charge >= chargeDuration) { ((EntityState)this).PlayCrossfade("Gesture, Override", "ChargeHammerHold", "ChargeHammer.playbackRate", 0.6f, 0.05f); Util.PlaySound("Play_HOC_StartPunch", ((EntityState)this).gameObject); charge = chargeDuration; EffectManager.SpawnEffect(chargeEffectPrefab, new EffectData { origin = ((EntityState)this).transform.position }, false); } chargePercent = Mathf.Max(0f, (charge - baseMinDuration) / (baseChargeDuration - baseMinDuration)); } if (((EntityState)this).fixedAge >= minDuration && ((EntityState)this).isAuthority && Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && !((EntityState)this).inputBank.skill2.down) { SetNextState(); } } public virtual void SetNextState() { ((EntityState)this).outer.SetNextState((EntityState)(object)new FireSlam { chargePercent = chargePercent }); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)2; } } public class ChargeSlamScepter : ChargeSlam { public override void SetNextState() { ((EntityState)this).outer.SetNextState((EntityState)(object)new FireSlamScepter { chargePercent = chargePercent }); } } public class FireSlam : BaseMeleeAttack { public static GameObject swingEffect = null; public float chargePercent = 0f; public static float minDamageCoefficient = 6f; public static float maxDamageCoefficient = 15f; public static float minDownForce = 2400f; public static float maxDownForce = 3200f; public static float baseYPos = -14f; public static float baseYScale = 30f; public static float maxYScale = 60f; public static float baseZPos = 4.5f; public static float baseZScale = 30f; public static float maxZScale = 40f; public static float shortHop = 12f; public static float shortHopOnHit = 24f; public static NetworkSoundEventDef networkHitSound; public static GameObject earthquakeEffectPrefab; public static GameObject hitEffect = null; private HammerVisibilityController hammerController; private bool hitEnemy = false; public override void OnEnter() { //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_00da: 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_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e9: Unknown result type (might be due to invalid IL or missing references) //IL_01f8: Unknown result type (might be due to invalid IL or missing references) //IL_0206: 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) attackRecoil = 0f; swingEffectPrefab = null; hitEffectPrefab = null; if (Object.op_Implicit((Object)(object)networkHitSound)) { impactSound = networkHitSound.index; } damageType = DamageTypeCombo.op_Implicit((DamageType)32); hitHopVelocity = shortHopOnHit; hitStopDuration = 0.1f; hitSoundString = ""; swingSoundString = ""; hitboxName = "ChargeHammerHitbox"; damageCoefficient = Mathf.Lerp(minDamageCoefficient, maxDamageCoefficient, chargePercent); procCoefficient = 1f; baseDuration = 0.7f; baseEarlyExitTime = 0.2f; attackStartTime = 0.33f; attackEndTime = 0.5f; pushForce = 0f; bonusForce = Vector3.down * Mathf.Lerp(minDownForce, maxDownForce, chargePercent); muzzleString = "SwingCenter"; ModifyStats(); hammerController = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)hammerController)) { hammerController.SetHammerEnabled(enabled: true); } if (((EntityState)this).isAuthority) { ChildLocator modelChildLocator = ((EntityState)this).GetModelChildLocator(); if (Object.op_Implicit((Object)(object)modelChildLocator)) { Transform val = modelChildLocator.FindChild("ChargeHammerHitbox"); if (Object.op_Implicit((Object)(object)val)) { float num = Mathf.Lerp(baseYScale, maxYScale, chargePercent); float num2 = baseYPos - (num - baseYScale) * 0.5f; float num3 = Mathf.Lerp(baseZScale, maxZScale, chargePercent); float num4 = baseZPos - (num3 - baseZScale) * 0.5f; val.localScale = new Vector3(val.localScale.x, num, num3); val.localPosition = new Vector3(val.localPosition.x, num2, num4); } } } base.OnEnter(); if (attack != null) { ModifyDamageTypes(); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && ((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { attack.damageColorIndex = (DamageColorIndex)12; } } if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { ((EntityState)this).characterBody.SetAimTimer(3f); } } public virtual void ModifyStats() { } public virtual void ModifyDamageTypes() { //IL_0007: 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_0029: 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) DamageAPI.AddModdedDamageType(attack, DamageTypes.HANDSecondary); DamageAPI.AddModdedDamageType(attack, DamageTypes.SquashOnKill); DamageAPI.AddModdedDamageType(attack, DamageTypes.ResetVictimForce); attack.damageType.damageSource = (DamageSource)2; } protected override void PlayAttackAnimation() { ((EntityState)this).PlayAnimation("FullBody, Override", "FireHammer", "ChargeHammer.playbackRate", duration, 0f); } protected override void OnHitEnemyAuthority() { base.OnHitEnemyAuthority(); if (hitEnemy) { return; } hitEnemy = true; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { OverclockController component = ((EntityState)this).gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component)) { component.ExtendOverclock(Mathf.Lerp(0.8f, 2f, chargePercent)); } DroneStockController component2 = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.MeleeHit(); } } } public override void OnFiredAttack() { //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_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_0090: 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_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: 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_00ac: 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_00c0: 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_00dc: Expected O, but got Unknown //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_00ef: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_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) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_010e: 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_011e: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Expected O, but got Unknown //IL_014c: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Unknown result type (might be due to invalid IL or missing references) //IL_0158: 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_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_0172: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0187: Unknown result type (might be due to invalid IL or missing references) //IL_0198: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c1: Unknown result type (might be due to invalid IL or missing references) //IL_01cb: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: 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_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e0: 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_01f0: Unknown result type (might be due to invalid IL or missing references) //IL_0201: Expected O, but got Unknown //IL_0254: Unknown result type (might be due to invalid IL or missing references) //IL_025b: 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) Util.PlaySound("Play_parent_attack1_slam", ((EntityState)this).gameObject); Util.PlaySound("Play_UI_podImpact", ((EntityState)this).gameObject); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && ((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { Util.PlaySound("Play_HOC_Focus", ((EntityState)this).gameObject); } if (((EntityState)this).isAuthority) { Ray aimRay = ((BaseState)this).GetAimRay(); Vector3 direction = ((Ray)(ref aimRay)).direction; direction.y = 0f; ((Vector3)(ref direction)).Normalize(); EffectManager.SpawnEffect(earthquakeEffectPrefab, new EffectData { origin = ((EntityState)this).transform.position + 4f * direction - 2f * Vector3.up, scale = 0.5f }, true); EffectManager.SpawnEffect(earthquakeEffectPrefab, new EffectData { origin = ((EntityState)this).transform.position + 8f * direction - 2f * Vector3.up, scale = 0.5f }, true); if (chargePercent >= 0.5f) { EffectManager.SpawnEffect(earthquakeEffectPrefab, new EffectData { origin = ((EntityState)this).transform.position + 12f * direction - 2f * Vector3.up, scale = 0.5f }, true); } if (chargePercent >= 1f) { EffectManager.SpawnEffect(earthquakeEffectPrefab, new EffectData { origin = ((EntityState)this).transform.position + 16f * direction - 2f * Vector3.up, scale = 0.5f }, true); } if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && !((EntityState)this).characterMotor.isGrounded) { ((BaseState)this).SmallHop(((EntityState)this).characterMotor, shortHop); } if (Config.screenshakeScale > 0f) { ShakeEmitter val = ShakeEmitter.CreateSimpleShakeEmitter(((EntityState)this).transform.position, new Wave { amplitude = 10f * Config.screenshakeScale, cycleOffset = 0f, frequency = 5f }, 0.75f, 30f, true); ((Component)val).transform.parent = ((EntityState)this).transform; } } } public override void OnExit() { if (Object.op_Implicit((Object)(object)hammerController)) { hammerController.SetHammerEnabled(enabled: false); } if (!((EntityState)this).outer.destroying) { ((EntityState)this).PlayAnimation("FullBody, Override", "Empty"); } base.OnExit(); } protected override void SetNextState() { ((EntityState)this).outer.SetNextStateToMain(); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_002e: 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_0031: Unknown result type (might be due to invalid IL or missing references) if (hasFired && ((EntityState)this).fixedAge >= duration - earlyExitTime) { return (InterruptPriority)0; } return (InterruptPriority)2; } } public class FireSlamScepter : FireSlam { public override void ModifyStats() { //IL_0003: 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) bonusForce *= 1.5f; damageCoefficient *= 1.5f; } public override void ModifyDamageTypes() { //IL_0007: 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_0029: 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) DamageAPI.AddModdedDamageType(attack, DamageTypes.HANDSecondaryScepter); DamageAPI.AddModdedDamageType(attack, DamageTypes.SquashOnKill); DamageAPI.AddModdedDamageType(attack, DamageTypes.ResetVictimForce); attack.damageType.damageSource = (DamageSource)2; } } } namespace EntityStates.HAND_Overclocked.Primary { public class SwingHammer : BaseMeleeAttack { public static NetworkSoundEventDef networkHitSound = null; public static GameObject swingEffect = null; public static GameObject swingEffectFocus = null; public static GameObject hitEffect = null; public static float force = 3000f; public static float forwardSpeed = 30f; public static float recoilAmplitude = 1.3f; public static float momentumStartPercent = 0.5f; public static float momentumFadePercent = 0.6825f; public static float momentumEndPercent = 0.8f; public static ConfigEntry useForwardLunge; private float accumulatedReductionPercent = 1f; private float inputReductionPercent = 0f; private bool hitEnemy = false; private bool setNextState = false; private string animationLayer; private bool removedBuff = false; private float lastUpdateTime; public override void OnEnter() { //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_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004a: 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_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_00f0: Unknown result type (might be due to invalid IL or missing references) //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_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_029e: Unknown result type (might be due to invalid IL or missing references) //IL_02af: Unknown result type (might be due to invalid IL or missing references) //IL_02e9: Unknown result type (might be due to invalid IL or missing references) //IL_01ff: Unknown result type (might be due to invalid IL or missing references) //IL_0206: 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_0210: Unknown result type (might be due to invalid IL or missing references) lastUpdateTime = Time.time; bonusForce = Vector3.zero; attackRecoil = 0f; if ((Object)(object)networkHitSound != (Object)null) { impactSound = networkHitSound.index; } damageType = DamageTypeCombo.op_Implicit((DamageType)0); damageType.damageSource = (DamageSource)1; hitHopVelocity = 11f; scaleHitHopWithAttackSpeed = true; hitStopDuration = 0.1f; hitSoundString = ""; swingSoundString = "Play_loader_m1_swing"; hitboxName = "HammerHitbox"; damageCoefficient = 6f; procCoefficient = 1f; baseDuration = 1.625f; baseEarlyExitTime = 0.325f; attackStartTime = 91f / 160f; attackEndTime = 0.6825f; pushForce = 0f; Ray aimRay = ((BaseState)this).GetAimRay(); Vector3 direction = ((Ray)(ref aimRay)).direction; direction.y = 0f; ((Vector3)(ref direction)).Normalize(); bonusForce = force * direction; muzzleString = ((swingIndex == 1) ? "SwingCenterL" : "SwingCenterR"); animationLayer = "FullBody, Override"; Util.PlaySound("Play_HOC_StartPunch", ((EntityState)this).gameObject); OverclockController component = ((EntityState)this).GetComponent(); bool flag = Object.op_Implicit((Object)(object)component) && component.BuffActive(); Animator modelAnimator = ((EntityState)this).GetModelAnimator(); if (Object.op_Implicit((Object)(object)modelAnimator)) { modelAnimator.SetFloat("hammerIdle", 1f); } swingEffectPrefab = swingEffect; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { if (Object.op_Implicit((Object)(object)swingEffectFocus) && ((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { swingEffectPrefab = swingEffectFocus; } if (!HandPlugin.ArenaModeActive && flag && swingIndex == 1) { damageType |= DamageTypeCombo.op_Implicit((DamageType)32); } } base.OnEnter(); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { if (swingIndex != 0) { ((EntityState)this).characterBody.OnSkillActivated(((EntityState)this).skillLocator.primary); } ((EntityState)this).characterBody.SetAimTimer(3f); if (NetworkServer.active) { ((EntityState)this).characterBody.AddBuff(Buffs.Slow50); } } if (attack != null) { DamageAPI.AddModdedDamageType(attack, DamageTypes.HANDPrimaryHammer); DamageAPI.AddModdedDamageType(attack, DamageTypes.ResetVictimForce); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && ((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { attack.damageColorIndex = (DamageColorIndex)12; } } HammerVisibilityController component2 = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.SetHammerEnabled(enabled: true); } if (((EntityState)this).isAuthority && !flag) { ((EntityState)this).characterBody.isSprinting = false; } } public override void FixedUpdate() { //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_0022: 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_0055: 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_00c9: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_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_0197: Unknown result type (might be due to invalid IL or missing references) //IL_019c: Unknown result type (might be due to invalid IL or missing references) //IL_01c9: Unknown result type (might be due to invalid IL or missing references) //IL_01d5: Unknown result type (might be due to invalid IL or missing references) //IL_01e4: 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_0306: 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_0326: Unknown result type (might be due to invalid IL or missing references) //IL_032d: Unknown result type (might be due to invalid IL or missing references) float num = Time.time - lastUpdateTime; lastUpdateTime = Time.time; Ray aimRay = ((BaseState)this).GetAimRay(); Vector3 direction = ((Ray)(ref aimRay)).direction; direction.y = 0f; ((Vector3)(ref direction)).Normalize(); if (attack != null) { attack.forceVector = force * direction; } if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { ((BaseState)this).damageStat = ((EntityState)this).characterBody.damage; if (((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { swingEffectPrefab = swingEffectFocus; attack.damageColorIndex = (DamageColorIndex)12; } else { swingEffectPrefab = swingEffect; attack.damageColorIndex = (DamageColorIndex)0; } } base.FixedUpdate(); if (NetworkServer.active && !removedBuff && ((EntityState)this).fixedAge > duration * attackEndTime) { RemoveBuff(); } if (!((EntityState)this).isAuthority) { return; } if (!hasFired) { startedSkillStationary = (Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && ((EntityState)this).inputBank.moveVector == Vector3.zero) || !useForwardLunge.Value; if (Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && !startedSkillStationary) { Ray aimRay2 = ((BaseState)this).GetAimRay(); Vector2 val = default(Vector2); ((Vector2)(ref val))..ctor(((EntityState)this).inputBank.moveVector.x, ((EntityState)this).inputBank.moveVector.z); Vector2 val2 = default(Vector2); ((Vector2)(ref val2))..ctor(((Ray)(ref aimRay2)).direction.x, ((Ray)(ref aimRay2)).direction.z); float num2 = Vector2.Angle(val, val2); if (num2 < 50f) { inputReductionPercent = 0f; } else { inputReductionPercent = 1f; startedSkillStationary = true; } } } if (inHitPause || !Object.op_Implicit((Object)(object)((EntityState)this).characterDirection) || !Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) || startedSkillStationary || !(stopwatch >= duration * momentumStartPercent)) { return; } float num3 = duration * momentumFadePercent; float num4 = duration * momentumEndPercent; if (stopwatch <= num4) { float num5 = forwardSpeed * num * (1f - inputReductionPercent) * accumulatedReductionPercent; if (stopwatch > num3) { num5 = Mathf.Lerp(num5, 0f, (stopwatch - num3) / (num4 - num3)); } if (num5 > 0f) { Vector3 val3 = ((EntityState)this).characterDirection.forward * num5; ((EntityState)this).characterMotor.AddDisplacement(new Vector3(val3.x, 0f, val3.z)); } else { startedSkillStationary = true; } } } public override void OnFiredAttack() { if (((EntityState)this).isAuthority) { ((BaseState)this).AddRecoil(-0.1f * recoilAmplitude, 0.1f * recoilAmplitude, -1f * recoilAmplitude, 1f * recoilAmplitude); } if ((Object)(object)swingEffectPrefab == (Object)(object)swingEffectFocus) { Util.PlaySound("Play_HOC_Focus", ((EntityState)this).gameObject); } } protected override void PlayAttackAnimation() { switch (swingIndex) { case 0: ((EntityState)this).PlayCrossfade(animationLayer, "HammerSwingR", "SwingHammer.playbackRate", duration * 1.4f, 0.2f * duration); break; case 1: ((EntityState)this).PlayCrossfade(animationLayer, "HammerSwingRL", "SwingHammer.playbackRate", duration * 0.8f, 0.2f * duration); break; case 2: ((EntityState)this).PlayCrossfade(animationLayer, "HammerSwingLR", "SwingHammer.playbackRate", duration * 0.8f, 0.2f * duration); break; } } protected override void OnHitEnemyAuthority() { base.OnHitEnemyAuthority(); accumulatedReductionPercent *= 0.5f; if (hitEnemy) { return; } hitEnemy = true; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { OverclockController component = ((EntityState)this).gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component)) { component.ExtendOverclock(1f); } DroneStockController component2 = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.MeleeHit(); } } } protected override void SetNextState() { int num = swingIndex; switch (num) { case 1: num = 2; break; case 0: case 2: num = 1; break; } setNextState = true; ((EntityState)this).outer.SetNextState((EntityState)(object)new SwingHammer { swingIndex = num }); } public override void OnExit() { if (!((EntityState)this).outer.destroying && !setNextState) { float num = ((swingIndex == 0) ? (1.3f / ((BaseState)this).attackSpeedStat) : 0.3f); ((EntityState)this).PlayCrossfade(animationLayer, "BufferEmpty", "SwingHammer.playbackRate", num, num); } RemoveBuff(); base.OnExit(); } private void RemoveBuff() { if (!removedBuff && NetworkServer.active && Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { removedBuff = true; if (((EntityState)this).characterBody.HasBuff(Buffs.Slow50)) { ((EntityState)this).characterBody.RemoveBuff(Buffs.Slow50); } } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)1; } } public class SwingPunch : BaseMeleeAttack { public static NetworkSoundEventDef networkHitSound = null; public static GameObject swingEffect = null; public static GameObject swingEffectFocus = null; public static GameObject hitEffect = null; public static AnimationCurve swingCurve = new AnimationCurve((Keyframe[])(object)new Keyframe[3] { new Keyframe(0f, 0f, 0.25312966f, float.PositiveInfinity, 0f, 1f / 3f), new Keyframe(0.24929532f, 0.2f, -1.3447399f, -1.3447399f, 1f / 3f, 0.09076658f), new Keyframe(0.6705322f, 0f, -0.10235062f, -0.10235062f, 0.73324406f, 0f) }); private bool setNextState = false; private string animationLayer; public static float force = 1600f; private bool hitEnemy = false; public override void OnEnter() { //IL_0002: 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_0055: 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_0066: 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_0100: 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_0120: Unknown result type (might be due to invalid IL or missing references) //IL_0121: Unknown result type (might be due to invalid IL or missing references) //IL_0126: Unknown result type (might be due to invalid IL or missing references) //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_02cb: Unknown result type (might be due to invalid IL or missing references) //IL_02dc: Unknown result type (might be due to invalid IL or missing references) //IL_0316: Unknown result type (might be due to invalid IL or missing references) //IL_0206: 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_0217: Unknown result type (might be due to invalid IL or missing references) bonusForce = Vector3.zero; attackRecoil = 0f; muzzleString = ((swingIndex == 1) ? "MuzzleHandL" : "MuzzleHandR"); if ((Object)(object)networkHitSound != (Object)null) { impactSound = networkHitSound.index; } damageType = DamageTypeCombo.op_Implicit((DamageType)0); damageType.damageSource = (DamageSource)1; hitHopVelocity = 8f; scaleHitHopWithAttackSpeed = true; hitStopDuration = 0.1f; hitSoundString = ""; swingSoundString = "Play_HOC_Punch"; hitboxName = "FistHitbox"; damageCoefficient = 3.9f; procCoefficient = 1f; baseDuration = 1.3f; baseEarlyExitTime = 0.35f; attackStartTime = 0.283f; attackEndTime = 0.565f; pushForce = 0f; Ray aimRay = ((BaseState)this).GetAimRay(); Vector3 direction = ((Ray)(ref aimRay)).direction; direction.y = 0f; ((Vector3)(ref direction)).Normalize(); bonusForce = force * direction; forceForwardVelocity = true; forwardVelocityCurve = swingCurve; animationLayer = "FullBody, Override"; Util.PlaySound("Play_HOC_StartPunch", ((EntityState)this).gameObject); OverclockController component = ((EntityState)this).GetComponent(); bool flag = Object.op_Implicit((Object)(object)component) && component.BuffActive(); Animator modelAnimator = ((EntityState)this).GetModelAnimator(); if (Object.op_Implicit((Object)(object)modelAnimator)) { modelAnimator.SetFloat("hammerIdle", 0f); } swingEffectPrefab = swingEffect; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { if (Object.op_Implicit((Object)(object)swingEffectFocus) && ((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { swingEffectPrefab = swingEffectFocus; } if (!HandPlugin.ArenaModeActive && flag && swingIndex == 1) { damageType |= DamageTypeCombo.op_Implicit((DamageType)32); } } base.OnEnter(); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { if (swingIndex != 0) { ((EntityState)this).characterBody.OnSkillActivated(((EntityState)this).skillLocator.primary); } HammerVisibilityController component2 = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.SetHammerEnabled(enabled: false); } if (((EntityState)this).isAuthority && !flag) { ((EntityState)this).characterBody.isSprinting = false; } ((EntityState)this).characterBody.SetAimTimer(3f); } if (attack != null) { DamageAPI.AddModdedDamageType(attack, DamageTypes.HANDPrimaryPunch); DamageAPI.AddModdedDamageType(attack, DamageTypes.ResetVictimForce); if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody) && ((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { attack.damageColorIndex = (DamageColorIndex)12; } } } public override void FixedUpdate() { //IL_0002: 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_000a: 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) //IL_003d: 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_00af: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) Ray aimRay = ((BaseState)this).GetAimRay(); Vector3 direction = ((Ray)(ref aimRay)).direction; direction.y = 0f; ((Vector3)(ref direction)).Normalize(); if (attack != null) { attack.forceVector = force * direction; } if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { ((BaseState)this).damageStat = ((EntityState)this).characterBody.damage; if (((EntityState)this).characterBody.HasBuff(HANDMod.Content.Shared.Buffs.NemesisFocus)) { swingEffectPrefab = swingEffectFocus; attack.damageColorIndex = (DamageColorIndex)12; } else { swingEffectPrefab = swingEffect; attack.damageColorIndex = (DamageColorIndex)0; } } base.FixedUpdate(); } public override void OnFiredAttack() { //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_005a: Unknown result type (might be due to invalid IL or missing references) if (((EntityState)this).isAuthority && Config.screenshakeScale > 0f) { ShakeEmitter val = ShakeEmitter.CreateSimpleShakeEmitter(((EntityState)this).transform.position, new Wave { amplitude = 3f * Config.screenshakeScale, cycleOffset = 0f, frequency = 4f }, 0.25f, 20f, true); ((Component)val).transform.parent = ((EntityState)this).transform; } if ((Object)(object)swingEffectPrefab == (Object)(object)swingEffectFocus) { Util.PlaySound("Play_HOC_Focus", ((EntityState)this).gameObject); } } protected override void PlayAttackAnimation() { if (swingIndex == 1) { ((EntityState)this).PlayCrossfade(animationLayer, "PunchR", "Punch.playbackRate", duration, 0.2f * duration); } else { ((EntityState)this).PlayCrossfade(animationLayer, "PunchL", "Punch.playbackRate", duration, 0.2f * duration); } } public override void OnExit() { if (!((EntityState)this).outer.destroying && !setNextState) { ((EntityState)this).PlayCrossfade(animationLayer, "BufferEmpty", "Punch.playbackRate", 0.2f, 0.2f); } base.OnExit(); } protected override void OnHitEnemyAuthority() { base.OnHitEnemyAuthority(); if (hitEnemy) { return; } hitEnemy = true; if (Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { OverclockController component = ((EntityState)this).gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component)) { component.ExtendOverclock(0.8f); } DroneStockController component2 = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { component2.MeleeHit(); } } } protected override void SetNextState() { int num = swingIndex; switch (num) { case 1: num = 2; break; case 0: case 2: num = 1; break; } setNextState = true; ((EntityState)this).outer.SetNextState((EntityState)(object)new SwingPunch { swingIndex = num }); } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)1; } } } namespace EntityStates.HAND_Overclocked.Emotes { public class HANDEmotes : BaseState { public string soundString; public string animString; public float duration; public float animDuration; private Animator animator; private ChildLocator childLocator; public LocalUser localUser; public bool useHammer; private HammerVisibilityController hammerVisibility; private CharacterCameraParamsData emoteCameraParams = new CharacterCameraParamsData { maxPitch = BlendableFloat.op_Implicit(70f), minPitch = BlendableFloat.op_Implicit(-70f), pivotVerticalOffset = BlendableFloat.op_Implicit(1f), idealLocalCameraPos = BlendableVector3.op_Implicit(emoteCameraPosition), wallCushion = BlendableFloat.op_Implicit(0.1f) }; public static Vector3 emoteCameraPosition = new Vector3(0f, 0f, -7.9f); private CameraParamsOverrideHandle camOverrideHandle; public override void OnEnter() { //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_0123: Unknown result type (might be due to invalid IL or missing references) //IL_0128: 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_013b: 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_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) ((BaseState)this).OnEnter(); animator = ((EntityState)this).GetModelAnimator(); childLocator = ((EntityState)this).GetModelChildLocator(); FindLocalUser(); ((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); } CameraParamsOverrideRequest val = default(CameraParamsOverrideRequest); val.cameraParamsData = emoteCameraParams; val.priority = 0f; CameraParamsOverrideRequest val2 = val; camOverrideHandle = ((EntityState)this).cameraTargetParams.AddParamsOverride(val2, 0.5f); hammerVisibility = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)hammerVisibility)) { hammerVisibility.SetEmote(inEmote: true); hammerVisibility.SetHammerEnabled(useHammer); } } private void FindLocalUser() { if (localUser != null || !Object.op_Implicit((Object)(object)((EntityState)this).characterBody)) { return; } foreach (LocalUser readOnlyLocalUsers in LocalUserManager.readOnlyLocalUsersList) { if ((Object)(object)readOnlyLocalUsers.cachedBody == (Object)(object)((EntityState)this).characterBody) { localUser = readOnlyLocalUsers; break; } } } public override void OnExit() { //IL_00ae: 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) if (Object.op_Implicit((Object)(object)hammerVisibility)) { hammerVisibility.SetHammerEnabled(enabled: false); hammerVisibility.SetEmote(inEmote: false); } ((EntityState)this).characterBody.hideCrosshair = false; if (Object.op_Implicit((Object)(object)((EntityState)this).GetAimAnimator())) { ((Behaviour)((EntityState)this).GetAimAnimator()).enabled = true; } animator.SetLayerWeight(animator.GetLayerIndex("AimPitch"), 1f); animator.SetLayerWeight(animator.GetLayerIndex("AimYaw"), 1f); ((EntityState)this).PlayAnimation("FullBody, Override", "BufferEmpty"); ((EntityState)this).cameraTargetParams.RemoveParamsOverride(camOverrideHandle, 0.5f); ((EntityState)this).OnExit(); } public override void FixedUpdate() { //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_00dd: 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) ((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; } } FindLocalUser(); if (((EntityState)this).isAuthority && ((EntityState)this).characterMotor.isGrounded && localUser != null && !localUser.isUIFocused) { if (Config.GetKeyPressed(Config.KeybindEmote1)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Sit(), (InterruptPriority)0); return; } if (Config.GetKeyPressed(Config.KeybindEmote2)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new Spin(), (InterruptPriority)0); return; } if (Config.GetKeyPressed(Config.KeybindEmoteCSS)) { ((EntityState)this).outer.SetInterruptState((EntityState)(object)new MenuPose(), (InterruptPriority)0); return; } } if (duration > 0f && ((EntityState)this).fixedAge >= duration) { flag = true; } if (flag) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)0; } } public class MenuPose : HANDEmotes { public override void OnEnter() { animString = "MenuPose"; animDuration = MathF.PI * 113f / 150f; useHammer = true; base.OnEnter(); Util.PlaySound("Play_HOC_StartHammer", ((EntityState)this).gameObject); } } public class Spin : HANDEmotes { private bool playedSound1 = false; private bool playedSound2 = false; private bool playedSound3 = false; private static string startSoundString = "Play_MULT_shift_start"; private static string endSoundString = "Play_MULT_shift_end"; public override void OnEnter() { animString = "Emote2"; animDuration = 4.3f; useHammer = false; base.OnEnter(); } public override void FixedUpdate() { base.FixedUpdate(); float num = ((EntityState)this).fixedAge / animDuration; if (!playedSound1 && num >= 10f / 129f) { playedSound1 = true; Util.PlaySound(startSoundString, ((EntityState)this).gameObject); } if (!playedSound2 && num >= 0.9302326f) { playedSound2 = true; Util.PlaySound(endSoundString, ((EntityState)this).gameObject); Util.PlaySound("Play_mult_shift_hit", ((EntityState)this).gameObject); } if (!playedSound3 && num >= 1.0542636f) { playedSound3 = true; Util.PlaySound("Play_HOC_StartPunch", ((EntityState)this).gameObject); } } public override void OnExit() { if (playedSound1 && !playedSound2) { Util.PlaySound(endSoundString, ((EntityState)this).gameObject); } base.OnExit(); } } public class Sit : HANDEmotes { private bool playedSound = false; public override void OnEnter() { animString = "Emote1"; animDuration = 1.2666667f; useHammer = false; base.OnEnter(); Util.PlaySound("Play_drone_deathpt1", ((EntityState)this).gameObject); } public override void FixedUpdate() { base.FixedUpdate(); if (!playedSound && ((EntityState)this).fixedAge / animDuration >= 0.7894737f) { playedSound = true; Util.PlaySound("Play_drone_deathpt2", ((EntityState)this).gameObject); } } } } namespace EntityStates.HAND_Overclocked.BrokenJanitor { public class BrokenJanitorMain : BaseState { public Interactor activator; public static event Action onBrokenJanitorPurchaseGlobal; public override void OnEnter() { ((BaseState)this).OnEnter(); ((EntityState)this).PlayAnimation("Body", "UnlockIdle", "Unlock.playbackRate", 0.1f, 0f); PurchaseInteraction component = ((EntityState)this).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { ((UnityEvent)(object)component.onPurchase).AddListener((UnityAction)DoOnPurchase); } } private void DoOnPurchase(Interactor activator) { this.activator = activator; BrokenJanitorMain.onBrokenJanitorPurchaseGlobal?.Invoke(this); ((EntityState)this).outer.SetNextState((EntityState)(object)new BrokenJanitorActivate { activator = ((Component)activator).gameObject }); } } public class BrokenJanitorActivate : BaseState { public GameObject activator; public static float spawnDelay = 0.25f; public static float baseDuration = 2f; private bool spawned = false; public override void OnEnter() { ((BaseState)this).OnEnter(); Util.PlaySound("Play_HOC_StartHammer", ((EntityState)this).gameObject); ((EntityState)this).PlayAnimation("Body", "UnlockActivate", "Unlock.playbackRate", baseDuration, 0f); } public override void FixedUpdate() { ((EntityState)this).FixedUpdate(); if (NetworkServer.active) { if (!spawned && ((EntityState)this).fixedAge >= spawnDelay) { SpawnAllyServer(); } if (((EntityState)this).fixedAge >= baseDuration) { EntityState.Destroy((Object)(object)((EntityState)this).gameObject); } } } private void SpawnAllyServer() { //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_002c: 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_003e: 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_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: 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_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown //IL_00a7: 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_014c: 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_0151: Invalid comparison between Unknown and I4 //IL_016e: Unknown result type (might be due to invalid IL or missing references) //IL_0173: 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_0178: Invalid comparison between Unknown and I4 //IL_015f: 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_00fc: 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_0195: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_019c: Unknown result type (might be due to invalid IL or missing references) //IL_019f: Invalid comparison between Unknown and I4 //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_01bc: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Invalid comparison between Unknown and I4 //IL_01ad: Unknown result type (might be due to invalid IL or missing references) spawned = true; if (!Object.op_Implicit((Object)(object)activator)) { return; } MasterSummon val = new MasterSummon { useAmbientLevel = true, ignoreTeamMemberLimit = true, masterPrefab = MasterAI.HANDMaster, position = ((EntityState)this).transform.position, rotation = ((EntityState)this).transform.rotation, summonerBodyObject = activator.gameObject }; CharacterMaster val2 = val.Perform(); if (!Object.op_Implicit((Object)(object)val2)) { return; } if (val2.loadout != null) { val2.loadout.bodyLoadoutManager.SetSkillVariant(BodyCatalog.FindBodyIndex("HANDOverclockedBody"), 0, 1u); CharacterBody body = val2.GetBody(); if (Object.op_Implicit((Object)(object)body)) { if (!Config.allowPlayerRepair) { ((Component)body).gameObject.AddComponent(); } body.SetLoadoutServer(val2.loadout); body.bodyFlags = (BodyFlags)(body.bodyFlags | 1); } } Object.DontDestroyOnLoad((Object)(object)val2); Inventory inventory = val2.inventory; if (Object.op_Implicit((Object)(object)inventory)) { inventory.GiveItem(Items.BoostHp, 50); inventory.GiveItem(Items.BoostDamage, 20); ItemIndex val3 = ItemCatalog.FindItemIndex("RiskyModAllyMarkerItem"); if ((int)val3 != -1) { inventory.GiveItem(val3, 1); } ItemIndex val4 = ItemCatalog.FindItemIndex("RiskyModAllyScalingItem"); if ((int)val4 != -1) { inventory.GiveItem(val4, 1); } ItemIndex val5 = ItemCatalog.FindItemIndex("RiskyModAllyRegenItem"); if ((int)val5 != -1) { inventory.GiveItem(val5, 40); } else if ((int)val2.teamIndex == 1) { inventory.GiveItem(Items.HealWhileSafe, 7); } } } } } namespace HANDMod { public class DroneSkillDef : SkillDef { public enum TargetingMode { EnemiesAndAllies, EnemiesOnly } public TargetingMode targetingMode = TargetingMode.EnemiesAndAllies; } [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.EnforcerGang.HANDOverclocked", "HAN-D Overclocked", "1.5.8")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class HandPlugin : BaseUnityPlugin { [Serializable] [CompilerGenerated] private sealed class <>c { public static readonly <>c <>9 = new <>c(); public static hook_Init <>9__16_0; internal void b__16_0(orig_Init orig) { orig.Invoke(); foreach (SurvivorDef allSurvivorDef in SurvivorCatalog.allSurvivorDefs) { if (((Object)allSurvivorDef.bodyPrefab).name == "HANDOverclockedBody") { GameObject val = Assets.mainAssetBundle.LoadAsset("animHANDEmote.prefab"); CustomEmotesAPI.ImportArmature(allSurvivorDef.bodyPrefab, val, 0, true); val.GetComponentInChildren().scale = 1.5f; } } } } public const string MODUID = "com.EnforcerGang.HANDOverclocked"; public const string MODNAME = "HAN-D Overclocked"; public const string MODVERSION = "1.5.8"; public const string DEVELOPER_PREFIX = "MOFFEIN"; public static HandPlugin instance; public static bool ScepterStandaloneLoaded; public static bool ScepterClassicLoaded; public static bool EmoteAPILoaded; public static bool ArenaPluginLoaded; public static bool ArenaModeActive; public static bool InfernoPluginLoaded; public static bool RiskOfOptionsLoaded; private void Awake() { Files.PluginInfo = ((BaseUnityPlugin)this).Info; instance = this; CheckDependencies(); Log.Init(((BaseUnityPlugin)this).Logger); Assets.Initialize(); SoundBanks.Init(); Config.ReadConfig(); ItemDisplays.PopulateDisplays(); new LanguageTokens(); new SharedContent(); DamageTypes.Initialize(); new HANDSurvivor().Initialize(); if (RMORSurvivor.enabled) { new RMORSurvivor().Initialize(); } new ContentPacks().Initialize(); if (EmoteAPILoaded) { EmoteAPICompat(); } if (ArenaPluginLoaded) { Stage.onStageStartGlobal += SetArena; } RoR2Application.onLoad = (Action)Delegate.Combine(RoR2Application.onLoad, new Action(AddMechanicalBodies)); } private void AddMechanicalBodies() { //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_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_0024: 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_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Invalid comparison between Unknown and I4 //IL_003b: Unknown result type (might be due to invalid IL or missing references) DroneStockController.droneMeldStackItem = ItemCatalog.FindItemIndex("DronemeldInternalStackItem"); DroneStockController.minionMeldStackItem = ItemCatalog.FindItemIndex("MinionMeldInternalStackItem"); BodyIndex val = BodyCatalog.FindBodyIndex("SniperClassicBody"); if ((int)val != -1) { DroneStockController.mechanicalBodies.Add(val); } } private void CheckDependencies() { ScepterStandaloneLoaded = Chainloader.PluginInfos.ContainsKey("com.DestroyedClone.AncientScepter"); ScepterClassicLoaded = Chainloader.PluginInfos.ContainsKey("com.ThinkInvisible.ClassicItems"); EmoteAPILoaded = Chainloader.PluginInfos.ContainsKey("com.weliveinasociety.CustomEmotesAPI"); ArenaPluginLoaded = Chainloader.PluginInfos.ContainsKey("com.Kingpinush.KingKombatArena"); RiskOfOptionsLoaded = Chainloader.PluginInfos.ContainsKey("com.rune580.riskofoptions"); InfernoPluginLoaded = Chainloader.PluginInfos.ContainsKey("HIFU.Inferno"); } [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] private static void SetArena(Stage obj) { ArenaModeActive = KingKombatArenaMainPlugin.s_GAME_MODE_ACTIVE; } [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] private void EmoteAPICompat() { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Expected O, but got Unknown object obj = <>c.<>9__16_0; if (obj == null) { hook_Init val = delegate(orig_Init orig) { orig.Invoke(); foreach (SurvivorDef allSurvivorDef in SurvivorCatalog.allSurvivorDefs) { if (((Object)allSurvivorDef.bodyPrefab).name == "HANDOverclockedBody") { GameObject val2 = Assets.mainAssetBundle.LoadAsset("animHANDEmote.prefab"); CustomEmotesAPI.ImportArmature(allSurvivorDef.bodyPrefab, val2, 0, true); val2.GetComponentInChildren().scale = 1.5f; } } }; <>c.<>9__16_0 = val; obj = (object)val; } SurvivorCatalog.Init += (hook_Init)obj; } public static DifficultyDef GetInfernoDef() { if (InfernoPluginLoaded) { return GetInfernoDefInternal(); } return null; } [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] private static DifficultyDef GetInfernoDefInternal() { return Main.InfernoDiffDef; } } internal class LanguageTokens { public static SubFileSystem fileSystem; internal static string languageRoot => Path.Combine(assemblyDir, "language"); internal static string assemblyDir => Path.GetDirectoryName(Files.PluginInfo.Location); public LanguageTokens() { RegisterLanguageTokens(); } public static void RegisterLanguageTokens() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Expected O, but got Unknown Language.SetFolders += new hook_SetFolders(fixme); } private static void fixme(orig_SetFolders orig, Language self, IEnumerable newFolders) { if (Directory.Exists(languageRoot)) { IEnumerable second = Directory.EnumerateDirectories(Path.Combine(languageRoot), self.name); orig.Invoke(self, newFolders.Union(second)); } else { orig.Invoke(self, newFolders); } } } internal static class Log { internal static ManualLogSource _logSource; internal static void Init(ManualLogSource logSource) { _logSource = logSource; } internal static void Debug(object data) { _logSource.LogDebug(data); } internal static void Error(object data) { _logSource.LogError(data); } internal static void Fatal(object data) { _logSource.LogFatal(data); } internal static void Info(object data) { _logSource.LogInfo(data); } internal static void Message(object data) { _logSource.LogMessage(data); } internal static void Warning(object data) { _logSource.LogWarning(data); } } } namespace HANDMod.SkillStates.BaseStates { public class BaseMeleeAttack : BaseSkillState { public int swingIndex; protected string hitboxName = "Sword"; protected DamageTypeCombo damageType = DamageTypeCombo.op_Implicit((DamageType)0); protected float damageCoefficient = 3.5f; protected float procCoefficient = 1f; protected float pushForce = 300f; protected Vector3 bonusForce = Vector3.zero; protected float baseDuration = 1f; protected float attackStartTime = 0.2f; protected float attackEndTime = 0.4f; protected float baseEarlyExitTime = 0.4f; protected float hitStopDuration = 0.012f; protected float attackRecoil = 0.75f; protected float hitHopVelocity = 4f; protected bool cancelled = false; protected bool forceForwardVelocity = false; protected AnimationCurve forwardVelocityCurve; protected bool startedSkillStationary = false; protected string swingSoundString = ""; protected string hitSoundString = ""; protected string muzzleString = "SwingCenter"; protected GameObject swingEffectPrefab; protected GameObject hitEffectPrefab; protected NetworkSoundEventIndex impactSound; protected bool scaleHitHopWithAttackSpeed = false; protected float earlyExitTime; public float duration; protected bool hasFired; private float hitPauseTimer; protected OverlapAttack attack; protected bool inHitPause; private bool hasHopped; protected float stopwatch; protected Animator animator; private HitStopCachedState hitStopCachedState; private Vector3 storedVelocity; private float lastUpdateTime; public override void OnEnter() { //IL_0027: 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_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Expected O, but got Unknown //IL_00f3: 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_0126: Unknown result type (might be due to invalid IL or missing references) //IL_012b: Unknown result type (might be due to invalid IL or missing references) //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_0176: Unknown result type (might be due to invalid IL or missing references) //IL_01b0: Unknown result type (might be due to invalid IL or missing references) //IL_01b5: Unknown result type (might be due to invalid IL or missing references) lastUpdateTime = Time.time; ((BaseState)this).OnEnter(); startedSkillStationary = Object.op_Implicit((Object)(object)((EntityState)this).inputBank) && ((EntityState)this).inputBank.moveVector == Vector3.zero; duration = baseDuration / ((BaseState)this).attackSpeedStat; earlyExitTime = baseEarlyExitTime / ((BaseState)this).attackSpeedStat; hasFired = false; animator = ((EntityState)this).GetModelAnimator(); ((BaseState)this).StartAimMode(0.5f + duration, false); ((EntityState)this).characterBody.outOfCombatStopwatch = 0f; animator.SetBool("attacking", true); HitBoxGroup hitBoxGroup = null; Transform modelTransform = ((EntityState)this).GetModelTransform(); if (Object.op_Implicit((Object)(object)modelTransform)) { hitBoxGroup = Array.Find(((Component)modelTransform).GetComponents(), (HitBoxGroup element) => element.groupName == hitboxName); } PlayAttackAnimation(); attack = new OverlapAttack(); attack.damageType = damageType; attack.attacker = ((EntityState)this).gameObject; attack.inflictor = ((EntityState)this).gameObject; attack.teamIndex = ((BaseState)this).GetTeam(); attack.damage = damageCoefficient * ((BaseState)this).damageStat; attack.procCoefficient = procCoefficient; attack.hitEffectPrefab = hitEffectPrefab; attack.forceVector = bonusForce; attack.pushAwayForce = pushForce; attack.hitBoxGroup = hitBoxGroup; attack.isCrit = ((BaseState)this).RollCrit(); attack.impactSound = impactSound; } protected virtual void PlayAttackAnimation() { ((EntityState)this).PlayCrossfade("Gesture, Override", "Slash" + (1 + swingIndex), "Slash.playbackRate", duration, 0.05f); } public override void OnExit() { if (!hasFired && !cancelled) { FireAttack(); } ((EntityState)this).OnExit(); animator.SetBool("attacking", false); } protected virtual void PlaySwingEffect() { if (Object.op_Implicit((Object)(object)swingEffectPrefab)) { EffectManager.SimpleMuzzleFlash(swingEffectPrefab, ((EntityState)this).gameObject, muzzleString, true); } } protected virtual void OnHitEnemyAuthority() { //IL_00ae: 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_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) Util.PlaySound(hitSoundString, ((EntityState)this).gameObject); if (!hasHopped) { if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && !((EntityState)this).characterMotor.isGrounded && hitHopVelocity > 0f) { float num = hitHopVelocity; if (scaleHitHopWithAttackSpeed) { num /= Mathf.Sqrt(((BaseState)this).attackSpeedStat); } ((BaseState)this).SmallHop(((EntityState)this).characterMotor, num); } hasHopped = true; } if (!inHitPause && hitStopDuration > 0f) { storedVelocity = ((EntityState)this).characterMotor.velocity; hitStopCachedState = ((BaseState)this).CreateHitStopCachedState(((EntityState)this).characterMotor, animator, "Slash.playbackRate"); hitPauseTimer = hitStopDuration / ((BaseState)this).attackSpeedStat; inHitPause = true; } } private void FireAttack() { //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) //IL_0031: Unknown result type (might be due to invalid IL or missing references) if (!hasFired) { if (Object.op_Implicit((Object)(object)((EntityState)this).characterDirection)) { CharacterDirection characterDirection = ((EntityState)this).characterDirection; Ray aimRay = ((BaseState)this).GetAimRay(); characterDirection.forward = ((Ray)(ref aimRay)).direction; } hasFired = true; Util.PlayAttackSpeedSound(swingSoundString, ((EntityState)this).gameObject, ((BaseState)this).attackSpeedStat); OnFiredAttack(); if (((EntityState)this).isAuthority) { PlaySwingEffect(); ((BaseState)this).AddRecoil(-1f * attackRecoil, -2f * attackRecoil, -0.5f * attackRecoil, 0.5f * attackRecoil); } } if (((EntityState)this).isAuthority && attack.Fire((List)null)) { OnHitEnemyAuthority(); } } public virtual void OnFiredAttack() { } protected virtual void SetNextState() { int num = ((swingIndex == 0) ? 1 : 0); ((EntityState)this).outer.SetNextState((EntityState)(object)new BaseMeleeAttack { swingIndex = num }); } public override void FixedUpdate() { //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_015d: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_012a: 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) ((EntityState)this).FixedUpdate(); float num = Time.time - lastUpdateTime; lastUpdateTime = Time.time; hitPauseTimer -= num; if (!inHitPause) { stopwatch += num; } if (((EntityState)this).isAuthority) { if (hitPauseTimer <= 0f && inHitPause) { ((BaseState)this).ConsumeHitStopCachedState(hitStopCachedState, ((EntityState)this).characterMotor, animator); inHitPause = false; ((EntityState)this).characterMotor.velocity = storedVelocity; } if (!inHitPause) { if (forceForwardVelocity && Object.op_Implicit((Object)(object)((EntityState)this).characterMotor) && Object.op_Implicit((Object)(object)((EntityState)this).characterDirection) && !startedSkillStationary) { Vector3 val = ((EntityState)this).characterDirection.forward * forwardVelocityCurve.Evaluate(((EntityState)this).fixedAge / duration); ((EntityState)this).characterMotor.AddDisplacement(new Vector3(val.x, 0f, val.z)); } } else { if (Object.op_Implicit((Object)(object)((EntityState)this).characterMotor)) { ((EntityState)this).characterMotor.velocity = Vector3.zero; } if (Object.op_Implicit((Object)(object)animator)) { animator.SetFloat("Swing.playbackRate", 0f); } } } if (stopwatch >= duration * attackStartTime && stopwatch <= duration * attackEndTime) { FireAttack(); } if (stopwatch >= duration - earlyExitTime && ((EntityState)this).isAuthority && ((EntityState)this).inputBank.skill1.down) { if (!hasFired) { FireAttack(); } SetNextState(); } else if (((EntityState)this).isAuthority && stopwatch >= duration) { ((EntityState)this).outer.SetNextStateToMain(); } } public override InterruptPriority GetMinimumInterruptPriority() { //IL_0002: 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) return (InterruptPriority)1; } public override void OnSerialize(NetworkWriter writer) { ((BaseSkillState)this).OnSerialize(writer); writer.Write(swingIndex); } public override void OnDeserialize(NetworkReader reader) { ((BaseSkillState)this).OnDeserialize(reader); swingIndex = reader.ReadInt32(); } } } namespace HANDMod.Modules { internal static class Assets { internal static AssetBundle mainAssetBundle; private const string assetbundleName = "handoverclockedassetbundle"; private const string csProjName = "HAND_Overclocked"; internal static void Initialize() { LoadAssetBundle(); PopulateAssets(); } internal static void LoadAssetBundle() { try { if ((Object)(object)mainAssetBundle == (Object)null) { mainAssetBundle = AssetBundle.LoadFromFile(Files.GetPathToFile("AssetBundles", "handoverclockedassetbundle")); ShaderSwapper.UpgradeStubbedShaders(mainAssetBundle); } } catch (Exception ex) { Log.Error("Failed to load assetbundle. Make sure your assetbundle name is setup correctly\n" + ex); } } internal static void PopulateAssets() { if (!Object.op_Implicit((Object)(object)mainAssetBundle)) { Log.Error("There is no AssetBundle to load assets from."); } } 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; } internal static NetworkSoundEventDef CreateNetworkSoundEventDef(string eventName) { NetworkSoundEventDef val = ScriptableObject.CreateInstance(); val.eventName = eventName; Content.AddNetworkSoundEventDef(val); return val; } internal static void ConvertAllRenderersToHopooShader(GameObject objectToConvert) { if (!Object.op_Implicit((Object)(object)objectToConvert)) { return; } Renderer[] componentsInChildren = objectToConvert.GetComponentsInChildren(); foreach (Renderer val in componentsInChildren) { if (val != null) { val.material?.SetHopooMaterial(); } } } internal static RendererInfo[] SetupRendererInfos(GameObject obj) { //IL_001a: 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_0049: Unknown result type (might be due to invalid IL or missing references) //IL_004a: 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; } public static GameObject LoadSurvivorModel(string modelName) { GameObject val = mainAssetBundle.LoadAsset(modelName); if ((Object)(object)val == (Object)null) { Log.Error("Trying to load a null model- check to see if the BodyName in your code matches the prefab name of the object in Unity\nFor Example, if your prefab in unity is 'mdlHenry', then your BodyName must be 'Henry'"); return null; } return PrefabAPI.InstantiateClone(val, ((Object)val).name, false); } internal static Texture LoadCharacterIconGeneric(string characterName) { return mainAssetBundle.LoadAsset("tex" + characterName + "Icon"); } 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"); } 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_0053: 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) GameObject val = mainAssetBundle.LoadAsset(resourceName); if (!Object.op_Implicit((Object)(object)val)) { Log.Error("Failed to load effect: " + resourceName + " because it does not exist in the AssetBundle"); return null; } val.AddComponent().duration = 12f; val.AddComponent(); val.AddComponent().vfxPriority = (VFXPriority)2; EffectComponent val2 = val.AddComponent(); val2.applyScale = false; val2.effectIndex = (EffectIndex)(-1); val2.parentToReferencedTransform = parentToTransform; val2.positionAtReferencedTransform = true; val2.soundName = soundName; AddNewEffectDef(val, soundName); return val; } private static void AddNewEffectDef(GameObject effectPrefab) { AddNewEffectDef(effectPrefab, ""); } private static void AddNewEffectDef(GameObject effectPrefab, string soundName) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: 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; Content.AddEffectDef(val); } } public class Buffs { public static BuffDef CreateBuffDef(string name, bool canStack, bool isCooldown, bool isDebuff, Color color, Sprite iconSprite) { //IL_0025: 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) BuffDef val = ScriptableObject.CreateInstance(); ((Object)val).name = name; val.canStack = canStack; val.isCooldown = isCooldown; val.isDebuff = isDebuff; val.buffColor = color; val.iconSprite = iconSprite; ContentPacks.buffDefs.Add(val); ((Object)val).name = ((Object)val).name; return val; } } public static class Config { public static bool forceUnlock = false; public static bool allowPlayerRepair = false; public static float screenshakeScale = 0.2f; public static ConfigEntry KeybindEmoteCSS; public static ConfigEntry KeybindEmote1; public static ConfigEntry KeybindEmote2; public static float sortPosition = 4.5f; public static void ReadConfig() { //IL_00ec: 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_014a: Unknown result type (might be due to invalid IL or missing references) sortPosition = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("General", "Survivor Sort Position", 4.5f, "Controls where HAN-D is placed in the character select screen.").Value; forceUnlock = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("General", "Force Unlock", false, "Automatically unlock HAN-D and his skills by default.").Value; allowPlayerRepair = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("General", "Allow Player Repair", false, "HAN-D teammates can be revived as an NPC ally for $150.").Value; screenshakeScale = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("General", "Screenshake Scale", 0.2f, "Multiplies HURT and FORCED_REASSEMBLY screenshake by this amount.").Value; SwingHammer.useForwardLunge = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("Skills", "SMASH - Forward Lunge", true, "Lunge forward when attacking with this skill."); KeybindEmote1 = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("Keybinds", "Emote - Sit", new KeyboardShortcut((KeyCode)49, Array.Empty()), "Button to play this emote."); KeybindEmote2 = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("Keybinds", "Emote - Malfunction", new KeyboardShortcut((KeyCode)50, Array.Empty()), "Button to play this emote."); KeybindEmoteCSS = ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("Keybinds", "Emote - Hat Tip", new KeyboardShortcut((KeyCode)51, Array.Empty()), "Button to play this emote."); if (HandPlugin.RiskOfOptionsLoaded) { RiskOfOptionsCompat(); } } [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] public static void RiskOfOptionsCompat() { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Expected O, but got Unknown //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Expected O, but got Unknown //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Expected O, but got Unknown //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Expected O, but got Unknown ModSettingsManager.SetModIcon(Assets.mainAssetBundle.LoadAsset("modicon")); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(SwingHammer.useForwardLunge)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(KeybindEmote1)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(KeybindEmote2)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(KeybindEmoteCSS)); } public static ConfigEntry CharacterEnableConfig(string characterName, string description = "Set to false to disable this character", bool enabledDefault = true) { return ((BaseUnityPlugin)HandPlugin.instance).Config.Bind("General", "Enable " + characterName, enabledDefault, description); } public static bool GetKeyPressed(ConfigEntry entry) { //IL_0003: 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_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_0020: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: 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) KeyboardShortcut value = entry.Value; foreach (KeyCode modifier in ((KeyboardShortcut)(ref value)).Modifiers) { if (!Input.GetKey(modifier)) { return false; } } value = entry.Value; return Input.GetKeyDown(((KeyboardShortcut)(ref value)).MainKey); } } internal class ContentPacks : IContentPackProvider { [CompilerGenerated] private sealed class d__19 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public FinalizeAsyncArgs args; public ContentPacks <>4__this; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__19(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__18 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public GetContentPackAsyncArgs args; public ContentPacks <>4__this; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__18(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; ContentPack.Copy(<>4__this.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__17 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public LoadStaticContentAsyncArgs args; public ContentPacks <>4__this; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__17(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; <>4__this.contentPack.identifier = <>4__this.identifier; <>4__this.contentPack.bodyPrefabs.Add(bodyPrefabs.ToArray()); <>4__this.contentPack.masterPrefabs.Add(masterPrefabs.ToArray()); <>4__this.contentPack.projectilePrefabs.Add(projectilePrefabs.ToArray()); <>4__this.contentPack.survivorDefs.Add(survivorDefs.ToArray()); <>4__this.contentPack.unlockableDefs.Add(unlockableDefs.ToArray()); <>4__this.contentPack.skillDefs.Add(skillDefs.ToArray()); <>4__this.contentPack.skillFamilies.Add(skillFamilies.ToArray()); <>4__this.contentPack.entityStateTypes.Add(entityStates.ToArray()); <>4__this.contentPack.buffDefs.Add(buffDefs.ToArray()); <>4__this.contentPack.effectDefs.Add(effectDefs.ToArray()); <>4__this.contentPack.networkSoundEventDefs.Add(networkSoundEventDefs.ToArray()); <>4__this.contentPack.networkedObjectPrefabs.Add(networkedObjectPrefabs.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 static List bodyPrefabs = new List(); public static List masterPrefabs = new List(); public static List projectilePrefabs = new List(); public static List networkedObjectPrefabs = new List(); public static List survivorDefs = new List(); public static List unlockableDefs = new List(); public static List skillFamilies = new List(); public static List skillDefs = new List(); public static List entityStates = new List(); public static List buffDefs = new List(); public static List effectDefs = new List(); public static List networkSoundEventDefs = new List(); public string identifier => "com.EnforcerGang.HANDOverclocked"; public void Initialize() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Expected O, but got Unknown ContentManager.collectContentPackProviders += new CollectContentPackProvidersDelegate(ContentManager_collectContentPackProviders); } private void ContentManager_collectContentPackProviders(AddContentPackProviderDelegate addContentPackProvider) { addContentPackProvider.Invoke((IContentPackProvider)(object)this); } [IteratorStateMachine(typeof(d__17))] public IEnumerator LoadStaticContentAsync(LoadStaticContentAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__17(0) { <>4__this = this, args = args }; } [IteratorStateMachine(typeof(d__18))] public IEnumerator GenerateContentPackAsync(GetContentPackAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__18(0) { <>4__this = this, args = args }; } [IteratorStateMachine(typeof(d__19))] public IEnumerator FinalizeAsync(FinalizeAsyncArgs args) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__19(0) { <>4__this = this, args = args }; } } internal class Content { public static void AddCharacterBodyPrefab(GameObject bprefab) { ContentPacks.bodyPrefabs.Add(bprefab); } public static void AddMasterPrefab(GameObject prefab) { ContentPacks.masterPrefabs.Add(prefab); } public static void AddProjectilePrefab(GameObject prefab) { ContentPacks.projectilePrefabs.Add(prefab); } public static void AddSurvivorDef(SurvivorDef survivorDef) { ContentPacks.survivorDefs.Add(survivorDef); } public static void AddUnlockableDef(UnlockableDef unlockableDef) { ContentPacks.unlockableDefs.Add(unlockableDef); } public static void AddSkillDef(SkillDef skillDef) { ContentPacks.skillDefs.Add(skillDef); } public static void AddSkillFamily(SkillFamily skillFamily) { ContentPacks.skillFamilies.Add(skillFamily); } public static void AddEntityState(Type entityState) { ContentPacks.entityStates.Add(entityState); } public static void AddBuffDef(BuffDef buffDef) { ContentPacks.buffDefs.Add(buffDef); } public static void AddEffectDef(EffectDef effectDef) { ContentPacks.effectDefs.Add(effectDef); } public static void AddNetworkSoundEventDef(NetworkSoundEventDef networkSoundEventDef) { ContentPacks.networkSoundEventDefs.Add(networkSoundEventDef); } } internal static class Files { public static PluginInfo PluginInfo; internal static string assemblyDir => Path.GetDirectoryName(PluginInfo.Location); internal static void Init(PluginInfo info) { PluginInfo = info; } internal static string GetPathToFile(string folderName, string fileName) { return Path.Combine(assemblyDir, folderName, fileName); } } internal static class Helpers { 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 ItemDisplays { private static Dictionary itemDisplayPrefabs = new Dictionary(); internal static void PopulateDisplays() { PopulateFromBody("MageBody"); PopulateFromBody("LunarExploderBody"); PopulateCustomLightningArm(); CreateCustomShatteringJustice(); } private static void PopulateFromBody(string bodyName) { ItemDisplayRuleSet itemDisplayRuleSet = ((Component)LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyName).GetComponent().modelTransform).GetComponent().itemDisplayRuleSet; KeyAssetRuleGroup[] keyAssetRuleGroups = itemDisplayRuleSet.keyAssetRuleGroups; for (int i = 0; i < keyAssetRuleGroups.Length; i++) { ItemDisplayRule[] rules = keyAssetRuleGroups[i].displayRuleGroup.rules; 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; } private static void CreateCustomShatteringJustice() { //IL_0043: 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_006e: Unknown result type (might be due to invalid IL or missing references) Material defaultMaterial = LoadDisplay("DisplayWarhammer").GetComponent().rendererInfos[0].defaultMaterial; GameObject val = Assets.mainAssetBundle.LoadAsset("ShatDisplay"); ItemDisplay val2 = val.AddComponent(); val2.rendererInfos = (RendererInfo[])(object)new RendererInfo[1] { new RendererInfo { renderer = ((Component)val.transform.Find("mdlWarhammerMesh")).GetComponent(), defaultMaterial = defaultMaterial } }; val2.rendererInfos[0].renderer.material = defaultMaterial; itemDisplayPrefabs["customwarhammer"] = val; } public static GameObject LoadDisplay(string name) { if (itemDisplayPrefabs.ContainsKey(name.ToLowerInvariant()) && Object.op_Implicit((Object)(object)itemDisplayPrefabs[name.ToLowerInvariant()])) { return itemDisplayPrefabs[name.ToLowerInvariant()]; } Log.Error("item display " + name + " returned null"); return null; } } internal static class Materials { private static List cachedMaterials = new List(); internal static Shader hotpoo = LegacyResourcesAPI.Load("Shaders/Deferred/HGStandard"); public static Material CreateHopooMaterial(string materialName) { //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_007a: 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)) { Log.Error("Failed to load material: " + materialName + " - Check to see that the material in your Unity project matches this name"); return new Material(hotpoo); } return val.SetHopooMaterial(); } public static Material SetHopooMaterial(this Material tempMat) { //IL_00dc: 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_015a: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)tempMat.shader) || (!(((Object)tempMat.shader).name == "Standard") && !(((Object)tempMat.shader).name == "Autodesk Interactive"))) { return tempMat; } 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 = 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 SetMaterialShader(this Material tempMat, Shader shader) { //IL_006b: 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_00e9: Unknown result type (might be due to invalid IL or missing references) float? num = null; Color? val = null; if (tempMat.IsKeywordEnabled("_NORMALMAP")) { num = tempMat.GetFloat("_BumpScale"); } if (tempMat.IsKeywordEnabled("_EMISSION")) { val = tempMat.GetColor("_EmissionColor"); } tempMat.shader = shader; 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_0012: Unknown result type (might be due to invalid IL or missing references) //IL_0018: 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_0007: 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_0014: 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; } public static Material SetSpecular(this Material material, float strength) { material.SetFloat("_SpecularStrength", strength); return material; } public static Material SetSpecular(this Material material, float strength, float exponent) { material.SetFloat("_SpecularStrength", strength); material.SetFloat("SpecularExponent", exponent); return material; } } internal static class Prefabs { private static PhysicMaterial ragdollMaterial; public static GameObject CreateDisplayPrefab(string displayModelName, GameObject prefab, BodyInfo bodyInfo) { GameObject val = Assets.LoadSurvivorModel(displayModelName); CharacterModel val2 = val.GetComponent(); if (!Object.op_Implicit((Object)(object)val2)) { val2 = val.AddComponent(); } val2.baseRendererInfos = prefab.GetComponentInChildren().baseRendererInfos; Assets.ConvertAllRenderersToHopooShader(val); return val.gameObject; } public static GameObject CreateBodyPrefab(string bodyName, string modelName, BodyInfo bodyInfo) { //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Unknown result type (might be due to invalid IL or missing references) GameObject val = LegacyResourcesAPI.Load("Prefabs/CharacterBodies/" + bodyInfo.bodyNameToClone + "Body"); if (!Object.op_Implicit((Object)(object)val)) { Log.Error(bodyInfo.bodyNameToClone + "Body is not a valid body, character creation failed"); return null; } GameObject val2 = PrefabAPI.InstantiateClone(val, bodyName); Transform val3 = null; GameObject val4 = null; if (modelName != "mdl") { val4 = Assets.LoadSurvivorModel(modelName); if ((Object)(object)val4 == (Object)null) { val4 = ((Component)val2.GetComponentInChildren()).gameObject; } val3 = AddCharacterModelToSurvivorBody(val2, val4.transform, bodyInfo); } CharacterBody component = val2.GetComponent(); ((Object)component).name = bodyInfo.bodyName; component.baseNameToken = bodyInfo.bodyNameToken; component.subtitleNameToken = bodyInfo.subtitleNameToken; component.portraitIcon = bodyInfo.characterPortrait; component.bodyColor = bodyInfo.bodyColor; component._defaultCrosshairPrefab = bodyInfo.crosshair; component.hideCrosshair = false; component.preferredPodPrefab = bodyInfo.podPrefab; component.baseMaxHealth = bodyInfo.maxHealth; component.baseRegen = bodyInfo.healthRegen; component.levelArmor = bodyInfo.armorGrowth; component.baseMaxShield = bodyInfo.shield; component.baseDamage = bodyInfo.damage; component.baseAttackSpeed = bodyInfo.attackSpeed; component.baseCrit = bodyInfo.crit; component.baseMoveSpeed = bodyInfo.moveSpeed; component.baseJumpPower = bodyInfo.jumpPower; component.autoCalculateLevelStats = bodyInfo.autoCalculateLevelStats; component.levelDamage = bodyInfo.damageGrowth; component.levelAttackSpeed = bodyInfo.attackSpeedGrowth; component.levelCrit = bodyInfo.critGrowth; component.levelMaxHealth = bodyInfo.healthGrowth; component.levelRegen = bodyInfo.regenGrowth; component.baseArmor = bodyInfo.armor; component.levelMaxShield = bodyInfo.shieldGrowth; component.levelMoveSpeed = bodyInfo.moveSpeedGrowth; component.levelJumpPower = bodyInfo.jumpPowerGrowth; component.baseAcceleration = bodyInfo.acceleration; component.baseJumpCount = bodyInfo.jumpCount; component.sprintingSpeedMultiplier = 1.45f; component.bodyFlags = (BodyFlags)16; component.rootMotionInMainState = false; component.hullClassification = (HullClassification)0; component.isChampion = false; SetupCameraTargetParams(val2, bodyInfo); SetupModelLocator(val2, val3, val4.transform); SetupCapsuleCollider(val2); SetupMainHurtbox(val2, val4); SetupAimAnimator(val2, val4); if ((Object)(object)val3 != (Object)null) { SetupCharacterDirection(val2, val3, val4.transform); } SetupFootstepController(val4); SetupRagdoll(val4); Content.AddCharacterBodyPrefab(val2); return val2; } public 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; Content.AddMasterPrefab(val); } private static Transform AddCharacterModelToSurvivorBody(GameObject bodyPrefab, Transform modelTransform, BodyInfo bodyInfo) { //IL_0040: 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_0066: Unknown result type (might be due to invalid IL or missing references) //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_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Expected O, but got Unknown //IL_00ba: 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_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Expected O, but got Unknown //IL_00fa: 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) for (int num = bodyPrefab.transform.childCount - 1; num >= 0; num--) { Object.DestroyImmediate((Object)(object)((Component)bodyPrefab.transform.GetChild(num)).gameObject); } Transform transform = new GameObject("ModelBase").transform; transform.parent = bodyPrefab.transform; transform.localPosition = bodyInfo.modelBasePosition; transform.localRotation = Quaternion.identity; modelTransform.parent = ((Component)transform).transform; modelTransform.localPosition = Vector3.zero; modelTransform.localRotation = Quaternion.identity; GameObject val = new GameObject("CameraPivot"); val.transform.parent = bodyPrefab.transform; val.transform.localPosition = bodyInfo.cameraPivotPosition; val.transform.localRotation = Quaternion.identity; GameObject val2 = new GameObject("AimOrigin"); val2.transform.parent = bodyPrefab.transform; val2.transform.localPosition = bodyInfo.aimOriginPosition; val2.transform.localRotation = Quaternion.identity; bodyPrefab.GetComponent().aimOriginTransform = val2.transform; return ((Component)transform).transform; } public static CharacterModel SetupCharacterModel(GameObject prefab) { return SetupCharacterModel(prefab, null); } public static CharacterModel SetupCharacterModel(GameObject prefab, CustomRendererInfo[] customInfos) { CharacterModel val = ((Component)prefab.GetComponent().modelTransform).gameObject.GetComponent(); bool flag = (Object)(object)val != (Object)null; if (!flag) { val = ((Component)prefab.GetComponent().modelTransform).gameObject.AddComponent(); } val.body = prefab.GetComponent(); val.autoPopulateLightInfos = true; val.invisibilityCount = 0; val.temporaryOverlays = new List(); if (!flag) { SetupCustomRendererInfos(val, customInfos); } else { SetupPreAttachedRendererInfos(val); } return val; } public static void SetupPreAttachedRendererInfos(CharacterModel characterModel) { for (int i = 0; i < characterModel.baseRendererInfos.Length; i++) { if ((Object)(object)characterModel.baseRendererInfos[i].defaultMaterial == (Object)null) { characterModel.baseRendererInfos[i].defaultMaterial = characterModel.baseRendererInfos[i].renderer.sharedMaterial; } characterModel.baseRendererInfos[i].defaultMaterial.SetHopooMaterial(); } } public static void SetupCustomRendererInfos(CharacterModel characterModel, CustomRendererInfo[] customInfos) { //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_0108: Unknown result type (might be due to invalid IL or missing references) //IL_010d: Unknown result type (might be due to invalid IL or missing references) ChildLocator component = ((Component)characterModel).GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { Log.Error("Failed CharacterModel setup: ChildLocator component does not exist on the model"); return; } List list = new List(); for (int i = 0; i < customInfos.Length; i++) { if (!Object.op_Implicit((Object)(object)component.FindChild(customInfos[i].childName))) { Log.Error("Trying to add a RendererInfo for a renderer that does not exist: " + customInfos[i].childName); continue; } Renderer component2 = ((Component)component.FindChild(customInfos[i].childName)).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { Material val = customInfos[i].material; if ((Object)(object)val == (Object)null) { val = ((!customInfos[i].dontHotpoo) ? component2.material.SetHopooMaterial() : component2.material); } list.Add(new RendererInfo { renderer = component2, defaultMaterial = val, ignoreOverlays = customInfos[i].ignoreOverlays, defaultShadowCastingMode = (ShadowCastingMode)1 }); } } characterModel.baseRendererInfos = list.ToArray(); } private static void SetupCharacterDirection(GameObject prefab, Transform modelBaseTransform, Transform modelTransform) { if (Object.op_Implicit((Object)(object)prefab.GetComponent())) { 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, BodyInfo bodyInfo) { CameraTargetParams component = prefab.GetComponent(); component.cameraParams = bodyInfo.cameraParams; component.cameraPivotTransform = prefab.transform.Find("CameraPivot"); } private static void SetupModelLocator(GameObject prefab, Transform modelBaseTransform, Transform modelTransform) { ModelLocator component = prefab.GetComponent(); component.modelTransform = modelTransform; component.modelBaseTransform = modelBaseTransform; } private static void SetupCapsuleCollider(GameObject prefab) { //IL_0018: Unknown result type (might be due to invalid IL or missing references) CapsuleCollider component = prefab.GetComponent(); component.center = new Vector3(0f, 0f, 0f); component.radius = 0.5f; component.height = 1.82f; component.direction = 1; } private static void SetupMainHurtbox(GameObject prefab, GameObject model) { //IL_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0103: 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.LogWarning((object)"Could not set up main hurtbox: make sure you have a transform pair in your prefab's ChildLocator component called 'MainHurtbox'"); return; } HealthComponent component2 = prefab.GetComponent(); HurtBoxGroup val = model.AddComponent(); HurtBox val2 = component.FindChildGameObject("MainHurtbox").AddComponent(); ((Component)val2).gameObject.layer = LayerIndex.entityPrecise.intVal; val2.healthComponent = component2; val2.isBullseye = true; val2.damageModifier = (DamageModifier)0; val2.hurtBoxGroup = val; val2.isSniperTarget = true; val.hurtBoxes = (HurtBox[])(object)new HurtBox[1] { val2 }; val.mainHurtBox = val2; val.bullseyeCount = 1; if (Object.op_Implicit((Object)(object)component.FindChild("HeadHurtbox"))) { HurtBox val3 = ((Component)component.FindChild("HeadHurtbox")).gameObject.AddComponent(); ((Component)val3).gameObject.layer = LayerIndex.entityPrecise.intVal; val3.healthComponent = component2; val3.isBullseye = false; val3.damageModifier = (DamageModifier)0; val3.hurtBoxGroup = val; val3.isSniperTarget = true; val2.isSniperTarget = false; val.hurtBoxes = (HurtBox[])(object)new HurtBox[2] { val2, val3 }; val2.indexInGroup = 0; val3.indexInGroup = 1; } } public static void SetupHurtBoxes(GameObject bodyPrefab) { HealthComponent component = bodyPrefab.GetComponent(); HurtBoxGroup[] componentsInChildren = bodyPrefab.GetComponentsInChildren(); foreach (HurtBoxGroup val in componentsInChildren) { val.mainHurtBox.healthComponent = component; for (int j = 0; j < val.hurtBoxes.Length; j++) { val.hurtBoxes[j].healthComponent = component; } } } private static void SetupFootstepController(GameObject model) { FootstepHandler val = model.AddComponent(); val.baseFootstepString = "Play_player_footstep"; val.sprintFootstepOverrideString = ""; val.enableFootstepDust = true; val.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 val = model.AddComponent(); val.directionComponent = prefab.GetComponent(); val.pitchRangeMax = 60f; val.pitchRangeMin = -60f; val.yawRangeMin = -80f; val.yawRangeMax = 80f; val.pitchGiveupRange = 30f; val.yawGiveupRange = 10f; val.giveupDuration = 3f; val.inputBank = prefab.GetComponent(); } public 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; } public static void SetupHitbox(GameObject prefab, string hitboxName, params Transform[] hitboxTransforms) { HitBoxGroup val = prefab.AddComponent(); List list = new List(); foreach (Transform val2 in hitboxTransforms) { HitBox item = ((Component)val2).gameObject.AddComponent(); ((Component)val2).gameObject.layer = LayerIndex.projectile.intVal; list.Add(item); } val.hitBoxes = list.ToArray(); val.groupName = hitboxName; } } public class CustomRendererInfo { public string childName; public Material material = null; public bool dontHotpoo = false; public bool ignoreOverlays = false; } internal static class Skills { public static void CreateSkillFamilies(GameObject targetPrefab, bool destroyExisting = true) { if (destroyExisting) { GenericSkill[] componentsInChildren = targetPrefab.GetComponentsInChildren(); foreach (GenericSkill val in componentsInChildren) { Object.DestroyImmediate((Object)(object)val); } } SkillLocator component = targetPrefab.GetComponent(); component.primary = CreateGenericSkillWithSkillFamily(targetPrefab, "Primary"); component.secondary = CreateGenericSkillWithSkillFamily(targetPrefab, "Secondary"); component.utility = CreateGenericSkillWithSkillFamily(targetPrefab, "Utility"); component.special = CreateGenericSkillWithSkillFamily(targetPrefab, "Special"); } public static GenericSkill CreateGenericSkillWithSkillFamily(GameObject targetPrefab, string familyName, bool hidden = false) { GenericSkill val = targetPrefab.AddComponent(); val.skillName = familyName; val.hideInCharacterSelect = hidden; SkillFamily val2 = ScriptableObject.CreateInstance(); ((Object)val2).name = ((Object)targetPrefab).name + familyName + "Family"; val2.variants = (Variant[])(object)new Variant[0]; val._skillFamily = val2; Content.AddSkillFamily(val2); return val; } public static void AddSkillToFamily(SkillFamily skillFamily, SkillDef skillDef, UnlockableDef unlockableDef = null) { //IL_0029: 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_0053: Expected O, but got Unknown //IL_0054: 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) 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_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_0024: 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) 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_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_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) 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; Content.AddSkillDef((SkillDef)(object)val); return val; } public static void FixScriptableObjectName(SkillDef sk) { ((Object)sk).name = sk.skillName; } } 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 = false) { //IL_0062: 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_0073: 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" }; } } } internal static class Skins { internal struct SkinDefInfo { internal SkinDef[] BaseSkins; internal Sprite Icon; internal string NameToken; internal UnlockableDef UnlockableDef; internal GameObject RootObject; internal RendererInfo[] RendererInfos; internal MeshReplacement[] MeshReplacements; internal GameObjectActivation[] GameObjectActivations; internal ProjectileGhostReplacement[] ProjectileGhostReplacements; internal MinionSkinReplacement[] MinionSkinReplacements; internal string Name; } internal static SkinDef CreateSkinDef(string skinName, string nameToken, Sprite skinIcon, RendererInfo[] defaultRendererInfos, GameObject root, UnlockableDef unlockableDef = null) { //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Expected O, but got Unknown //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_0140: 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 = nameToken; skinDefInfo.ProjectileGhostReplacements = (ProjectileGhostReplacement[])(object)new ProjectileGhostReplacement[0]; skinDefInfo.RendererInfos = (RendererInfo[])(object)new RendererInfo[defaultRendererInfos.Length]; skinDefInfo.RootObject = root; skinDefInfo.UnlockableDef = unlockableDef; SkinDefInfo skinDefInfo2 = skinDefInfo; SkinDef.Awake += new hook_Awake(DoNothing); SkinDef val = ScriptableObject.CreateInstance(); val.baseSkins = skinDefInfo2.BaseSkins; val.icon = skinDefInfo2.Icon; val.unlockableDef = skinDefInfo2.UnlockableDef; val.rootObject = skinDefInfo2.RootObject; defaultRendererInfos.CopyTo(skinDefInfo2.RendererInfos, 0); val.rendererInfos = skinDefInfo2.RendererInfos; val.gameObjectActivations = skinDefInfo2.GameObjectActivations; val.meshReplacements = skinDefInfo2.MeshReplacements; val.projectileGhostReplacements = skinDefInfo2.ProjectileGhostReplacements; val.minionSkinReplacements = skinDefInfo2.MinionSkinReplacements; val.nameToken = skinDefInfo2.NameToken; ((Object)val).name = skinDefInfo2.Name; SkinDef.Awake -= new hook_Awake(DoNothing); return val; } private static void DoNothing(orig_Awake orig, SkinDef self) { } private static RendererInfo[] getRendererMaterials(RendererInfo[] defaultRenderers, params Material[] materials) { RendererInfo[] array = (RendererInfo[])(object)new RendererInfo[defaultRenderers.Length]; defaultRenderers.CopyTo(array, 0); for (int i = 0; i < array.Length; i++) { try { array[i].defaultMaterial = materials[i]; } catch { Log.Error("error adding skin rendererinfo material. make sure you're not passing in too many"); } } return array; } internal static MeshReplacement[] getMeshReplacements(RendererInfo[] defaultRendererInfos, params string[] meshes) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) List list = new List(); for (int i = 0; i < defaultRendererInfos.Length; i++) { if (!string.IsNullOrEmpty(meshes[i])) { list.Add(new MeshReplacement { renderer = defaultRendererInfos[i].renderer, mesh = Assets.mainAssetBundle.LoadAsset(meshes[i]) }); } } return list.ToArray(); } } internal static class SoundBanks { private static bool initialized; public static string SoundBankDirectory => Path.Combine(Files.assemblyDir, "SoundBanks"); public static void Init() { if (initialized) { return; } initialized = true; using Stream stream = new FileStream(SoundBankDirectory + "\\HAND_Overclocked_Soundbank.bnk", FileMode.Open); byte[] array = new byte[stream.Length]; stream.Read(array, 0, array.Length); SoundBanks.Add(array); } } public abstract class BaseMasteryUnlockable : GenericModdedUnlockable { public abstract string RequiredCharacterBody { get; } public abstract float RequiredDifficultyCoefficient { get; } public override void OnBodyRequirementMet() { ((ModdedUnlockable)this).OnBodyRequirementMet(); Run.onClientGameOverGlobal += OnClientGameOverGlobal; } public override void OnBodyRequirementBroken() { Run.onClientGameOverGlobal -= OnClientGameOverGlobal; ((ModdedUnlockable)this).OnBodyRequirementBroken(); } private void OnClientGameOverGlobal(Run run, RunReport runReport) { //IL_0027: 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_0033: 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_0056: Invalid comparison between Unknown and I4 //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Invalid comparison between Unknown and I4 if (Object.op_Implicit((Object)(object)runReport.gameEnding) && runReport.gameEnding.isWin) { DifficultyIndex val = runReport.ruleBook.FindDifficulty(); DifficultyDef difficultyDef = DifficultyCatalog.GetDifficultyDef(runReport.ruleBook.FindDifficulty()); if ((difficultyDef.countsAsHardMode && difficultyDef.scalingValue >= RequiredDifficultyCoefficient) || ((int)val >= 3 && (int)val <= 10) || difficultyDef.nameToken == "INFERNO_NAME") { ((BaseAchievement)this).Grant(); } } } public override BodyIndex LookUpRequiredBodyIndex() { //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_000f: Unknown result type (might be due to invalid IL or missing references) return BodyCatalog.FindBodyIndex(RequiredCharacterBody); } } public abstract class GenericModdedUnlockable : ModdedUnlockable { public abstract string AchievementTokenPrefix { get; } public abstract string AchievementSpriteName { get; } public override string AchievementIdentifier => AchievementTokenPrefix + "UNLOCKABLE_ACHIEVEMENT_ID"; public override string UnlockableIdentifier => AchievementTokenPrefix + "UNLOCKABLE_REWARD_ID"; public override string AchievementNameToken => AchievementTokenPrefix + "UNLOCKABLE_ACHIEVEMENT_NAME"; public override string AchievementDescToken => AchievementTokenPrefix + "UNLOCKABLE_ACHIEVEMENT_DESC"; public override string UnlockableNameToken => AchievementTokenPrefix + "UNLOCKABLE_UNLOCKABLE_NAME"; public override Sprite Sprite => Assets.mainAssetBundle.LoadAsset(AchievementSpriteName); public override Func GetHowToUnlock => () => Language.GetStringFormatted("UNLOCK_VIA_ACHIEVEMENT_FORMAT", new object[2] { Language.GetString(((ModdedUnlockable)this).AchievementNameToken), Language.GetString(((ModdedUnlockable)this).AchievementDescToken) }); public override Func GetUnlocked => () => Language.GetStringFormatted("UNLOCKED_FORMAT", new object[2] { Language.GetString(((ModdedUnlockable)this).AchievementNameToken), Language.GetString(((ModdedUnlockable)this).AchievementDescToken) }); } } namespace HANDMod.Modules.Survivors { internal abstract class SurvivorBase : CharacterBase { public SurvivorDef survivorDef; public abstract string survivorTokenPrefix { get; } public abstract string cachedName { get; } public abstract UnlockableDef characterUnlockableDef { get; } public virtual ConfigEntry characterEnabledConfig { get; } public virtual GameObject displayPrefab { get; set; } public override void InitializeCharacter() { if (characterEnabledConfig == null || characterEnabledConfig.Value) { InitializeUnlockables(); base.InitializeCharacter(); InitializeSurvivor(); } } protected override void InitializeCharacterBodyAndModel() { base.InitializeCharacterBodyAndModel(); InitializeDisplayPrefab(); } protected virtual void InitializeSurvivor() { //IL_000e: Unknown result type (might be due to invalid IL or missing references) survivorDef = RegisterNewSurvivor(bodyPrefab, displayPrefab, Color.grey, survivorTokenPrefix, characterUnlockableDef, bodyInfo.sortPosition, cachedName); } protected virtual void InitializeDisplayPrefab() { displayPrefab = Prefabs.CreateDisplayPrefab(bodyName + "Display", bodyPrefab, bodyInfo); } public virtual void InitializeUnlockables() { } public static SurvivorDef RegisterNewSurvivor(GameObject bodyPrefab, GameObject displayPrefab, Color charColor, string tokenPrefix, UnlockableDef unlockableDef, float sortPosition, string cachedName) { //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) SurvivorDef val = ScriptableObject.CreateInstance(); val.bodyPrefab = bodyPrefab; val.displayPrefab = displayPrefab; val.primaryColor = charColor; val.displayNameToken = tokenPrefix + "NAME"; val.descriptionToken = tokenPrefix + "DESCRIPTION"; val.outroFlavorToken = tokenPrefix + "OUTRO_FLAVOR"; val.mainEndingEscapeFailureFlavorToken = tokenPrefix + "OUTRO_FAILURE"; val.desiredSortPosition = sortPosition; val.unlockableDef = unlockableDef; val.cachedName = cachedName; Content.AddSurvivorDef(val); return val; } protected virtual void AddCssPreviewSkill(int indexFromEditor, SkillFamily skillFamily, SkillDef skillDef) { CharacterSelectSurvivorPreviewDisplayController component = displayPrefab.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { Log.Error("trying to add skillChangeResponse to null CharacterSelectSurvivorPreviewDisplayController.\nMake sure you created one on your Display prefab in editor"); return; } component.skillChangeResponses[indexFromEditor].triggerSkillFamily = skillFamily; component.skillChangeResponses[indexFromEditor].triggerSkill = skillDef; } protected virtual void AddCssPreviewSkin(int indexFromEditor, SkinDef skinDef) { CharacterSelectSurvivorPreviewDisplayController component = displayPrefab.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { Log.Error("trying to add skinChangeResponse to null CharacterSelectSurvivorPreviewDisplayController.\nMake sure you created one on your Display prefab in editor"); } else { component.skinChangeResponses[indexFromEditor].triggerSkin = skinDef; } } protected virtual void FinalizeCSSPreviewDisplayController() { //IL_0073: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)displayPrefab)) { return; } CharacterSelectSurvivorPreviewDisplayController component = displayPrefab.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { return; } component.bodyPrefab = bodyPrefab; List list = new List(); for (int i = 0; i < component.skillChangeResponses.Length; i++) { if ((Object)(object)component.skillChangeResponses[i].triggerSkillFamily != (Object)null) { list.Add(component.skillChangeResponses[i]); } } component.skillChangeResponses = list.ToArray(); } } } namespace HANDMod.Modules.Characters { internal abstract class CharacterBase { public static CharacterBase instance; public abstract string bodyName { get; } public abstract BodyInfo bodyInfo { get; set; } public abstract CustomRendererInfo[] customRendererInfos { get; set; } public abstract Type characterMainState { get; } public virtual Type characterSpawnState { get; } public virtual ItemDisplaysBase itemDisplays { get; } = null; public virtual GameObject bodyPrefab { get; set; } public virtual CharacterModel characterBodyModel { get; set; } public string fullBodyName => bodyName + "Body"; public virtual void Initialize() { instance = this; InitializeCharacter(); } public virtual void InitializeCharacter() { InitializeCharacterBodyAndModel(); InitializeCharacterMaster(); InitializeEntityStateMachine(); InitializeSkills(); InitializeHitboxes(); InitializeHurtboxes(); InitializeSkins(); InitializeItemDisplays(); InitializeDoppelganger("Merc"); } protected virtual void InitializeCharacterBodyAndModel() { bodyPrefab = Prefabs.CreateBodyPrefab(bodyName + "Body", "mdl" + bodyName, bodyInfo); InitializeCharacterModel(); } protected virtual void InitializeCharacterModel() { characterBodyModel = Prefabs.SetupCharacterModel(bodyPrefab, customRendererInfos); } protected virtual void InitializeCharacterMaster() { } protected virtual void InitializeEntityStateMachine() { //IL_0012: 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_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) bodyPrefab.GetComponent().mainStateType = new SerializableEntityStateType(characterMainState); Content.AddEntityState(characterMainState); if (characterSpawnState != null) { bodyPrefab.GetComponent().initialStateType = new SerializableEntityStateType(characterSpawnState); Content.AddEntityState(characterSpawnState); } } public abstract void InitializeSkills(); public virtual void InitializeHitboxes() { } public virtual void InitializeHurtboxes() { Prefabs.SetupHurtBoxes(bodyPrefab); } public virtual void InitializeSkins() { } public virtual void InitializeDoppelganger(string clone) { Prefabs.CreateGenericDoppelganger(instance.bodyPrefab, bodyName + "MonsterMaster", clone); } public virtual void InitializeItemDisplays() { ItemDisplayRuleSet val = ScriptableObject.CreateInstance(); ((Object)val).name = "idrs" + bodyName; characterBodyModel.itemDisplayRuleSet = val; if (itemDisplays != null) { ContentManager.onContentPacksAssigned += SetItemDisplays; } } public void SetItemDisplays(ReadOnlyArray obj) { itemDisplays.SetItemDisplays(characterBodyModel.itemDisplayRuleSet); } } internal class BodyInfo { public string bodyName = ""; public string bodyNameToken = ""; public string subtitleNameToken = ""; public string bodyNameToClone = "Commando"; public Color bodyColor = Color.white; public Texture characterPortrait = null; public float sortPosition = 100f; public GameObject crosshair = null; public GameObject podPrefab = null; public float maxHealth = 100f; public float healthRegen = 1f; public float armor = 0f; public float shield = 0f; public int jumpCount = 1; public float damage = 12f; public float attackSpeed = 1f; public float crit = 1f; public float moveSpeed = 7f; public float acceleration = 80f; public float jumpPower = 15f; public bool autoCalculateLevelStats = true; public float healthGrowth = 30f; public float regenGrowth = 0.2f; public float armorGrowth = 0f; public float shieldGrowth = 0f; public float damageGrowth = 2.4f; public float attackSpeedGrowth = 0f; public float critGrowth = 0f; public float moveSpeedGrowth = 0f; public float jumpPowerGrowth = 0f; public Vector3 aimOriginPosition = new Vector3(0f, 1.6f, 0f); public Vector3 modelBasePosition = new Vector3(0f, -0.92f, 0f); public Vector3 cameraPivotPosition = new Vector3(0f, 0.8f, 0f); public float cameraParamsVerticalOffset = 1.37f; public float cameraParamsDepth = -10f; private CharacterCameraParams _cameraParams; public CharacterCameraParams cameraParams { get { //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_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: 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_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_00a4: 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_00ae: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)_cameraParams == (Object)null) { _cameraParams = ScriptableObject.CreateInstance(); _cameraParams.data.minPitch = BlendableFloat.op_Implicit(-70f); _cameraParams.data.maxPitch = BlendableFloat.op_Implicit(70f); _cameraParams.data.wallCushion = BlendableFloat.op_Implicit(0.1f); _cameraParams.data.pivotVerticalOffset = BlendableFloat.op_Implicit(cameraParamsVerticalOffset); _cameraParams.data.idealLocalCameraPos = BlendableVector3.op_Implicit(new Vector3(0f, 0f, cameraParamsDepth)); } return _cameraParams; } set { _cameraParams = value; } } } public abstract class ItemDisplaysBase { public void SetItemDisplays(ItemDisplayRuleSet itemDisplayRuleSet) { List list = new List(); SetItemDisplayRules(list); itemDisplayRuleSet.keyAssetRuleGroups = list.ToArray(); } protected abstract void SetItemDisplayRules(List itemDisplayRules); } } namespace HANDMod.Modules.Achievements { public class BaseGrandMasteryAchievement : BaseAchievement { public override void OnBodyRequirementMet() { ((BaseAchievement)this).OnBodyRequirementMet(); Run.onClientGameOverGlobal += OnClientGameOverGlobal; } public override void OnBodyRequirementBroken() { Run.onClientGameOverGlobal -= OnClientGameOverGlobal; ((BaseAchievement)this).OnBodyRequirementBroken(); } private void OnClientGameOverGlobal(Run run, RunReport runReport) { //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0031: 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_0059: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Invalid comparison between Unknown and I4 //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0060: Invalid comparison between Unknown and I4 if (!Object.op_Implicit((Object)(object)runReport.gameEnding) || !runReport.gameEnding.isWin) { return; } DifficultyIndex val = runReport.ruleBook.FindDifficulty(); DifficultyDef difficultyDef = DifficultyCatalog.GetDifficultyDef(val); if (difficultyDef != null) { DifficultyDef infernoDef = HandPlugin.GetInfernoDef(); bool flag = infernoDef != null && difficultyDef == infernoDef; bool flag2 = (int)val >= 3 && (int)val <= 10; bool flag3 = difficultyDef.scalingValue >= 3.5f; if (flag3 || flag || flag2) { ((BaseAchievement)this).Grant(); } } } } } namespace HANDMod.Content { public static class DamageTypes { public static ModdedDamageType ResetVictimForce; public static ModdedDamageType HANDPrimaryPunch; public static ModdedDamageType HANDPrimaryHammer; public static ModdedDamageType HANDSecondary; public static ModdedDamageType HANDSecondaryScepter; public static ModdedDamageType SquashOnKill; private static bool initialized; public static void Initialize() { //IL_0012: 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_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_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_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //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_0055: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Expected O, but got Unknown if (!initialized) { initialized = true; ResetVictimForce = DamageAPI.ReserveDamageType(); HANDPrimaryPunch = DamageAPI.ReserveDamageType(); HANDPrimaryHammer = DamageAPI.ReserveDamageType(); HANDSecondary = DamageAPI.ReserveDamageType(); HANDSecondaryScepter = DamageAPI.ReserveDamageType(); SquashOnKill = DamageAPI.ReserveDamageType(); HealthComponent.TakeDamageProcess += new hook_TakeDamageProcess(HealthComponent_TakeDamage); } } private static void HealthComponent_TakeDamage(orig_TakeDamageProcess orig, HealthComponent self, DamageInfo damageInfo) { //IL_001e: 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_0030: 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_00d2: 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_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_033c: 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_0121: 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_014c: 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) //IL_04d1: Unknown result type (might be due to invalid IL or missing references) //IL_04dd: Unknown result type (might be due to invalid IL or missing references) //IL_0324: 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_0331: 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_0313: Unknown result type (might be due to invalid IL or missing references) //IL_0318: Unknown result type (might be due to invalid IL or missing references) //IL_047e: Unknown result type (might be due to invalid IL or missing references) //IL_0485: Unknown result type (might be due to invalid IL or missing references) //IL_048a: Unknown result type (might be due to invalid IL or missing references) //IL_042d: Unknown result type (might be due to invalid IL or missing references) //IL_0434: Unknown result type (might be due to invalid IL or missing references) //IL_043a: Unknown result type (might be due to invalid IL or missing references) //IL_049e: Unknown result type (might be due to invalid IL or missing references) //IL_04a8: Unknown result type (might be due to invalid IL or missing references) //IL_04ad: Unknown result type (might be due to invalid IL or missing references) //IL_04be: Unknown result type (might be due to invalid IL or missing references) //IL_04c3: Unknown result type (might be due to invalid IL or missing references) //IL_04c8: Unknown result type (might be due to invalid IL or missing references) //IL_05a4: Unknown result type (might be due to invalid IL or missing references) //IL_05ab: Unknown result type (might be due to invalid IL or missing references) //IL_05b1: 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_0593: Unknown result type (might be due to invalid IL or missing references) //IL_0598: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active) { CharacterBody body = self.body; bool flag = Object.op_Implicit((Object)(object)body) && (body.bodyIndex == BodyPrefabs.SolusWingBody.bodyIndex || body.bodyIndex == BodyPrefabs.SolusHeartBody.bodyIndex); if (Object.op_Implicit((Object)(object)damageInfo.attacker) && DamageAPI.HasModdedDamageType(damageInfo, SquashOnKill)) { HANDNetworkComponent component = damageInfo.attacker.GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)body.master)) { NetworkIdentity component2 = ((Component)body.master).GetComponent(); if (Object.op_Implicit((Object)(object)component2)) { NetworkInstanceId netId = component2.netId; component.SquashEnemy(((NetworkInstanceId)(ref netId)).Value); } } } if (DamageAPI.HasModdedDamageType(damageInfo, ResetVictimForce) && !flag) { if (Object.op_Implicit((Object)(object)body.rigidbody)) { body.rigidbody.velocity = new Vector3(0f, body.rigidbody.velocity.y, 0f); body.rigidbody.angularVelocity = new Vector3(0f, body.rigidbody.angularVelocity.y, 0f); } if ((Object)(object)body.characterMotor != (Object)null) { body.characterMotor.velocity.x = 0f; body.characterMotor.velocity.z = 0f; body.characterMotor.rootMotion.x = 0f; body.characterMotor.rootMotion.z = 0f; } } if (DamageAPI.HasModdedDamageType(damageInfo, HANDPrimaryPunch)) { if (body.isFlying) { damageInfo.force.x *= 0.4375f; damageInfo.force.z *= 0.4375f; } else if ((Object)(object)body.characterMotor != (Object)null) { if (!body.characterMotor.isGrounded) { damageInfo.force.x *= 1.575f; damageInfo.force.z *= 1.575f; if (body.isChampion) { damageInfo.force.x *= 0.7f; damageInfo.force.z *= 0.7f; } } else if (body.isChampion) { damageInfo.force.x *= 0.4375f; damageInfo.force.z *= 0.4375f; } } if (Object.op_Implicit((Object)(object)body.rigidbody) && !flag) { damageInfo.force *= Mathf.Max(body.rigidbody.mass / 100f, 1f); } EffectManager.SimpleEffect(SwingPunch.hitEffect, damageInfo.position, default(Quaternion), true); } if (DamageAPI.HasModdedDamageType(damageInfo, HANDPrimaryHammer)) { if (body.isFlying) { damageInfo.force.x *= 0.4375f; damageInfo.force.z *= 0.4375f; } else if ((Object)(object)body.characterMotor != (Object)null) { if (!body.characterMotor.isGrounded) { if (body.isChampion) { damageInfo.force.x *= 0.7f; damageInfo.force.z *= 0.7f; } } else if (body.isChampion) { damageInfo.force.x *= 0.5f; damageInfo.force.z *= 0.5f; } EffectManager.SimpleEffect(SwingHammer.hitEffect, damageInfo.position, default(Quaternion), true); } if (Object.op_Implicit((Object)(object)body.rigidbody) && !flag) { float num = Mathf.Max(body.rigidbody.mass / 100f, 1f); damageInfo.force *= num; if (body.isFlying) { damageInfo.force += 1500f * Vector3.down * Mathf.Min(7.5f, num); } } } bool flag2 = DamageAPI.HasModdedDamageType(damageInfo, HANDSecondary); bool flag3 = DamageAPI.HasModdedDamageType(damageInfo, HANDSecondaryScepter); if (flag2 || flag3) { bool flag4 = false; if (Object.op_Implicit((Object)(object)body.characterMotor) && body.characterMotor.isGrounded) { flag4 = true; damageInfo.force.y = 2000f; } if (Object.op_Implicit((Object)(object)body.rigidbody) && !flag) { float num2 = Mathf.Max(body.rigidbody.mass / 100f, 1f); if (!flag4 && !flag3) { num2 = Mathf.Min(7.5f, num2); } damageInfo.force *= num2; } EffectManager.SimpleEffect(FireSlam.hitEffect, damageInfo.position, default(Quaternion), true); } } orig.Invoke(self, damageInfo); } } } namespace HANDMod.Content.Shared { public class Buffs { public static BuffDef NemesisFocus; public static BuffDef Overclock; public static BuffDef AttackSpeed; public static void Init() { //IL_002a: 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_007a: 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_0089: 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_0102: Expected O, but got Unknown //IL_00ca: 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_00d9: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)Overclock)) { Overclock = HANDMod.Modules.Buffs.CreateBuffDef("HANDMod_Overclock", canStack: false, isCooldown: false, isDebuff: false, new Color(1f, 0.45f, 0f), Addressables.LoadAssetAsync((object)"RoR2/Base/ShockNearby/bdTeslaField.asset").WaitForCompletion().iconSprite); } if (!Object.op_Implicit((Object)(object)NemesisFocus)) { NemesisFocus = HANDMod.Modules.Buffs.CreateBuffDef("HANDMod_NemesisFocus", canStack: false, isCooldown: false, isDebuff: false, new Color(0.75686276f, 0.24313726f, 0.40392157f), Addressables.LoadAssetAsync((object)"RoR2/Base/ShockNearby/bdTeslaField.asset").WaitForCompletion().iconSprite); } if (!Object.op_Implicit((Object)(object)AttackSpeed)) { AttackSpeed = HANDMod.Modules.Buffs.CreateBuffDef("HANDMod_AttackSpeed", canStack: true, isCooldown: false, isDebuff: false, new Color(1f, 0.45f, 0f), Addressables.LoadAssetAsync((object)"RoR2/Base/Bandit2/bdCloakSpeed.asset").WaitForCompletion().iconSprite); } RecalculateStatsAPI.GetStatCoefficients += new StatHookEventHandler(HANDHook); } private static void HANDHook(CharacterBody sender, StatHookEventArgs args) { if (sender.HasBuff(Overclock)) { args.attackSpeedMultAdd += 0.4f; args.moveSpeedMultAdd += 0.4f; } if (sender.HasBuff(NemesisFocus)) { args.damageMultAdd += 0.5f; args.armorAdd += 50f; } args.attackSpeedMultAdd += 0.1f * (float)sender.GetBuffCount(AttackSpeed); } } internal class SharedContent { public SharedContent() { Buffs.Init(); InitializeSkills(); } private void InitializeSkills() { InitializeUtilitySkills(); } private void InitializeUtilitySkills() { //IL_0012: 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_005f: 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_00f8: 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_021c: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Unknown result type (might be due to invalid IL or missing references) SkillDef val = ScriptableObject.CreateInstance(); val.activationState = new SerializableEntityStateType(typeof(BeginOverclock)); val.skillNameToken = "MOFFEIN_HAND_BODY_UTILITY_NAME"; val.skillName = "BeginOverclock"; val.skillDescriptionToken = "MOFFEIN_HAND_BODY_UTILITY_DESC"; val.isCombatSkill = false; val.cancelSprintingOnActivation = false; val.canceledFromSprinting = false; val.baseRechargeInterval = 7f; val.interruptPriority = (InterruptPriority)0; val.mustKeyPress = true; val.beginSkillCooldownOnSkillEnd = false; val.baseMaxStock = 1; val.fullRestockOnAssign = true; val.rechargeStock = 1; val.requiredStock = 1; val.stockToConsume = 1; val.icon = Assets.mainAssetBundle.LoadAsset("texUtilityOverclock.png"); val.activationStateMachineName = "Slide"; val.keywordTokens = new string[1] { "KEYWORD_MOFFEINHANDOVERCLOCKED_BOOST" }; Skills.FixScriptableObjectName(val); ContentPacks.skillDefs.Add(val); SkillDefs.UtilityOverclock = val; SkillDef val2 = ScriptableObject.CreateInstance(); val2.activationState = new SerializableEntityStateType(typeof(CancelOverclock)); val2.activationStateMachineName = "Slide"; val2.baseMaxStock = 1; val2.baseRechargeInterval = 7f; val2.beginSkillCooldownOnSkillEnd = true; val2.canceledFromSprinting = false; val2.dontAllowPastMaxStocks = true; val2.forceSprintDuringState = false; val2.fullRestockOnAssign = true; val2.icon = Assets.mainAssetBundle.LoadAsset("texUtilityOverclockCancel.png"); val2.interruptPriority = (InterruptPriority)1; val2.isCombatSkill = false; val2.keywordTokens = new string[0]; val2.mustKeyPress = true; val2.cancelSprintingOnActivation = false; val2.rechargeStock = 1; val2.requiredStock = 0; val2.skillName = "CancelOverclock"; val2.skillNameToken = "MOFFEIN_HAND_BODY_UTILITY_CANCEL_NAME"; val2.skillDescriptionToken = "MOFFEIN_HAND_BODY_UTILITY_CANCEL_DESC"; val2.stockToConsume = 0; Skills.FixScriptableObjectName(val2); ContentPacks.skillDefs.Add(val2); SkillDefs.UtilityOverclockCancel = val2; BeginOverclock.overlayMaterial = Object.Instantiate(LegacyResourcesAPI.Load("Materials/matWolfhatOverlay")); BeginOverclock.texGauge = Assets.mainAssetBundle.LoadAsset("texGauge.png"); BeginOverclock.texGaugeArrow = Assets.mainAssetBundle.LoadAsset("texGaugeArrow.png"); OverclockController.ovcDef = val; SkillDef val3 = ScriptableObject.CreateInstance(); val3.activationState = new SerializableEntityStateType(typeof(BeginFocus)); val3.skillNameToken = "MOFFEIN_HAND_BODY_UTILITY_NEMESIS_NAME"; val3.skillName = "BeginFocus"; val3.skillDescriptionToken = "MOFFEIN_HAND_BODY_UTILITY_NEMESIS_DESC"; val3.isCombatSkill = false; val3.cancelSprintingOnActivation = false; val3.canceledFromSprinting = false; val3.baseRechargeInterval = 7f; val3.interruptPriority = (InterruptPriority)0; val3.mustKeyPress = true; val3.beginSkillCooldownOnSkillEnd = false; val3.baseMaxStock = 1; val3.fullRestockOnAssign = true; val3.rechargeStock = 1; val3.requiredStock = 1; val3.stockToConsume = 1; val3.icon = Assets.mainAssetBundle.LoadAsset("texUtilityNemesis.png"); val3.activationStateMachineName = "Slide"; val3.keywordTokens = new string[1] { "KEYWORD_MOFFEINHANDOVERCLOCKED_BOOST" }; Skills.FixScriptableObjectName(val3); ContentPacks.skillDefs.Add(val3); SkillDefs.UtilityFocus = val3; BeginFocus.overlayMaterial = Object.Instantiate(LegacyResourcesAPI.Load("Materials/matFullCrit")); BeginFocus.texGaugeNemesis = Assets.mainAssetBundle.LoadAsset("texGaugeNemesis.png"); BeginFocus.texGaugeArrowNemesis = Assets.mainAssetBundle.LoadAsset("texGaugeArrowNemesis.png"); } } public static class SkillDefs { public static SkillDef UtilityOverclock; public static SkillDef UtilityOverclockCancel; public static SkillDef UtilityFocus; } } namespace HANDMod.Content.Shared.Components.Body { public class OverclockController : MonoBehaviour { public float buffPercent = 0f; private bool buffActive = false; private float extensionTime = 0f; public static SkillDef ovcDef; private NetworkIdentity networkIdentity; public Texture2D texGauge; public Texture2D texGaugeArrow; private Rect rectGauge; private Rect rectGaugeArrow; public static float gaugeScale = 0.3f; private float gaugeLeftBound; private float gaugeRightBound; private float gaugeArroyYPos; public bool menuActive = false; public bool BuffActive() { return buffActive; } public void StartOverclock(Texture2D gauge, Texture2D arrow) { buffActive = true; texGauge = gauge; texGaugeArrow = arrow; ReiszeOverclockGauge(); } public void EndOverclock() { buffActive = false; texGauge = null; texGaugeArrow = null; extensionTime = 0f; } public void Awake() { //IL_0007: 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) rectGauge = default(Rect); rectGaugeArrow = default(Rect); networkIdentity = ((Component)this).GetComponent(); } public void ExtendOverclock(float time) { if (buffActive) { extensionTime += time; } } public float ConsumeExtensionTime() { float result = extensionTime; extensionTime = 0f; return result; } private void ReiszeOverclockGauge() { //IL_009d: 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) float num = Camera.current.pixelHeight; float num2 = Camera.current.pixelWidth; ((Rect)(ref rectGauge)).width = num * (float)((Texture)texGauge).width * gaugeScale / 1080f; ((Rect)(ref rectGauge)).height = num * (float)((Texture)texGauge).height * gaugeScale / 1080f; ((Rect)(ref rectGauge)).position = new Vector2(num2 / 2f - ((Rect)(ref rectGauge)).width / 2f, num / 2f + ((Rect)(ref rectGauge)).height * 2f); ((Rect)(ref rectGaugeArrow)).width = num * (float)((Texture)texGaugeArrow).width * gaugeScale / 1080f; ((Rect)(ref rectGaugeArrow)).height = num * (float)((Texture)texGaugeArrow).height * gaugeScale / 1080f; gaugeLeftBound = ((Rect)(ref rectGauge)).position.x - ((Rect)(ref rectGaugeArrow)).width / 2f; gaugeRightBound = gaugeLeftBound + ((Rect)(ref rectGauge)).width; gaugeArroyYPos = num / 2f + ((Rect)(ref rectGauge)).height * 2f; } private void OnGUI() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_006a: 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) if (networkIdentity.hasAuthority && buffActive && !menuActive && !PauseManager.isPaused) { GUI.DrawTexture(rectGauge, (Texture)(object)texGauge, (ScaleMode)0, true, 0f); ((Rect)(ref rectGaugeArrow)).position = new Vector2(Mathf.Lerp(gaugeLeftBound, gaugeRightBound, buffPercent), gaugeArroyYPos); GUI.DrawTexture(rectGaugeArrow, (Texture)(object)texGaugeArrow, (ScaleMode)0, true, 0f); } } } } namespace HANDMod.Content.RMORSurvivor { internal class RMORSurvivor : SurvivorBase { public static bool enabled; public const string RMOR_PREFIX = "MOFFEIN_RMOR_BODY_"; public override string survivorTokenPrefix => "MOFFEIN_RMOR_BODY_"; public override UnlockableDef characterUnlockableDef => null; public override string bodyName => "RMOR"; public override string cachedName => "RMOR"; public override BodyInfo bodyInfo { get; set; } = new BodyInfo { bodyName = "RMORBody", bodyNameToken = "MOFFEIN_RMOR_BODY_NAME", subtitleNameToken = "MOFFEIN_RMOR_BODY_SUBTITLE", characterPortrait = Assets.mainAssetBundle.LoadAsset("texPortrait.png"), bodyColor = new Color(0.5568628f, 58f / 85f, 0.6901961f), podPrefab = LegacyResourcesAPI.Load("prefabs/networkedobjects/robocratepod"), damage = 14f, maxHealth = 140f, healthRegen = 1f, armor = 0f, jumpCount = 1 }; public override CustomRendererInfo[] customRendererInfos { get; set; } = new CustomRendererInfo[2] { new CustomRendererInfo { childName = "HanDHammer" }, new CustomRendererInfo { childName = "HANDMesh" } }; public override Type characterMainState => typeof(GenericCharacterMain); public override void InitializeCharacter() { base.InitializeCharacter(); bodyPrefab.AddComponent(); RMORTargetingController.enemyIndicatorPrefab = CreateEnemyIndicator(); RMORTargetingController rMORTargetingController = bodyPrefab.AddComponent(); } public override void InitializeSkills() { Skills.CreateSkillFamilies(bodyPrefab); InitializeUtilitySkills(); } private void InitializeUtilitySkills() { Skills.AddUtilitySkills(bodyPrefab, HANDMod.Content.Shared.SkillDefs.UtilityOverclock, HANDMod.Content.Shared.SkillDefs.UtilityFocus); } private GameObject CreateEnemyIndicator() { //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_005e: Unknown result type (might be due to invalid IL or missing references) GameObject val = PrefabAPI.InstantiateClone(Addressables.LoadAssetAsync((object)"RoR2/Base/Engi/EngiMissileTrackingIndicator.prefab").WaitForCompletion(), "HANDMod_RMOR_EnemyIndicator", false); SpriteRenderer[] componentsInChildren = val.GetComponentsInChildren(); SpriteRenderer[] array = componentsInChildren; foreach (SpriteRenderer val2 in array) { if (((Object)val2).name == "Base Core") { val2.color = new Color(1f, 0.41960785f, 7f / 15f); break; } } return val; } private GameObject CreateRocketProjectile() { //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) GameObject val = PrefabAPI.InstantiateClone(Addressables.LoadAssetAsync((object)"RoR2/Base/Drones/PaladinRocket.prefab").WaitForCompletion(), "HANDMod_RMOR_Rocket", true); ContentPacks.projectilePrefabs.Add(val); return val; } } public static class Skilldefs { public static SkillDef PrimaryCannon; public static SkillDef PrimaryMissile; } } namespace HANDMod.Content.RMORSurvivor.Components.Body { public class RMORTargetingController : MonoBehaviour { public static GameObject enemyIndicatorPrefab; public float maxTrackingDistance = 60f; public float maxTrackingAngle = 60f; public float trackerUpdateFrequency = 10f; private HurtBox trackingTarget; private CharacterBody characterBody; private TeamComponent teamComponent; private InputBankTest inputBank; private float trackerUpdateStopwatch; private Indicator enemyIndicator; private readonly BullseyeSearch search = new BullseyeSearch(); public void Awake() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown enemyIndicator = new Indicator(((Component)this).gameObject, enemyIndicatorPrefab); characterBody = ((Component)this).GetComponent(); inputBank = ((Component)this).GetComponent(); teamComponent = ((Component)this).GetComponent(); } public void FixedUpdate() { if (HasMissilePrimary()) { TrackerFixedUpdate(); } else { enemyIndicator.active = false; } } private void TrackerFixedUpdate() { //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_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) trackerUpdateStopwatch += Time.fixedDeltaTime; if (trackerUpdateStopwatch >= 1f / trackerUpdateFrequency) { trackerUpdateStopwatch -= 1f / trackerUpdateFrequency; HurtBox val = trackingTarget; Ray aimRay = default(Ray); ((Ray)(ref aimRay))..ctor(inputBank.aimOrigin, inputBank.aimDirection); SearchForTarget(aimRay); Transform targetTransform = (Object.op_Implicit((Object)(object)trackingTarget) ? ((Component)trackingTarget).transform : null); enemyIndicator.targetTransform = targetTransform; } if (characterBody.skillLocator.special.stock <= 0) { enemyIndicator.active = false; return; } bool flag = true; if (Object.op_Implicit((Object)(object)teamComponent) && Object.op_Implicit((Object)(object)trackingTarget) && trackingTarget.teamIndex == teamComponent.teamIndex) { flag = false; } if (flag) { enemyIndicator.active = true; } else { enemyIndicator.active = false; } } private void SearchForTarget(Ray aimRay) { //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_0025: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_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_0048: Unknown result type (might be due to invalid IL or missing references) search.teamMaskFilter = TeamMask.all; search.filterByLoS = true; search.searchOrigin = ((Ray)(ref aimRay)).origin; search.searchDirection = ((Ray)(ref aimRay)).direction; search.sortMode = (SortMode)2; search.maxDistanceFilter = maxTrackingDistance; search.maxAngleFilter = maxTrackingAngle; search.RefreshCandidates(); search.FilterOutGameObject(((Component)this).gameObject); trackingTarget = search.GetResults().FirstOrDefault(); } public HurtBox GetTrackingTarget() { return trackingTarget; } public bool HasTarget() { return (Object)(object)trackingTarget != (Object)null; } public bool HasMissilePrimary() { return Object.op_Implicit((Object)(object)characterBody) && Object.op_Implicit((Object)(object)characterBody.skillLocator) && (Object)(object)characterBody.skillLocator.primary == (Object)(object)Skilldefs.PrimaryMissile; } } } namespace HANDMod.Content.HANDSurvivor { public class Buffs { private static NetworkSoundEventDef platingSound = LegacyResourcesAPI.Load("NetworkSoundEventDefs/nseArmorPlateBlock"); public static BuffDef DronePassive; public static void Init() { //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Expected O, but got Unknown if (!Object.op_Implicit((Object)(object)DronePassive)) { DronePassive = HANDMod.Modules.Buffs.CreateBuffDef("HANDMod_DronePassive", canStack: true, isCooldown: false, isDebuff: false, new Color(0.2901961f, 2f / 3f, 66f / 85f), Assets.mainAssetBundle.LoadAsset("texBuffSwarmArmor.png")); HealthComponent.TakeDamageProcess += new hook_TakeDamageProcess(DronePassiveHook); } } private static void DronePassiveHook(orig_TakeDamageProcess orig, HealthComponent self, DamageInfo damageInfo) { //IL_000f: 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_0092: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active && DamageTypeCombo.op_Implicit(damageInfo.damageType & DamageTypeCombo.op_Implicit((DamageType)2)) == 0L && Object.op_Implicit((Object)(object)self.body)) { int buffCount = self.body.GetBuffCount(DronePassive); if (buffCount > 0 && damageInfo.damage > 1f) { float num = (float)buffCount * 0.003f * self.fullCombinedHealth; damageInfo.damage = Mathf.Max(1f, damageInfo.damage - num); EntitySoundManager.EmitSoundServer(platingSound.index, ((Component)self).gameObject); } } orig.Invoke(self, damageInfo); } } public class DroneSetup { public static GameObject droneProjectileGhost; public static void Init() { if (!Object.op_Implicit((Object)(object)FireSeekingDrone.projectilePrefab)) { FireSeekingDrone.projectilePrefab = CreateDroneProjectile(); } if (!Object.op_Implicit((Object)(object)FireSpeedDrone.speedDroneProjectile)) { FireSpeedDrone.speedDroneProjectile = CreateDroneSpeedProjectile(); } if (!Object.op_Implicit((Object)(object)DroneFollowerController.dronePrefab)) { DroneFollowerController.dronePrefab = CreateDroneFollower(); } if (!Object.op_Implicit((Object)(object)HANDTargetingController.allyIndicatorPrefab)) { HANDTargetingController.allyIndicatorPrefab = CreateAllyIndicator(); } if (!Object.op_Implicit((Object)(object)HANDTargetingController.enemyIndicatorPrefab)) { HANDTargetingController.enemyIndicatorPrefab = CreateEnemyIndicator(); } } private static GameObject CreateAllyIndicator() { //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_0072: 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_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) GameObject val = PrefabAPI.InstantiateClone(Addressables.LoadAssetAsync((object)"RoR2/Base/PassiveHealing/WoodSpriteIndicator.prefab").WaitForCompletion(), "HANDMod_AllyIndicator", false); Object.Destroy((Object)(object)val.GetComponentInChildren()); Object.Destroy((Object)(object)val.GetComponentInChildren()); RotateAroundAxis componentInChildren = val.GetComponentInChildren(); Object.Destroy((Object)(object)componentInChildren); SpriteRenderer componentInChildren2 = val.GetComponentInChildren(); componentInChildren2.sprite = Assets.mainAssetBundle.LoadAsset("texIndicatorDroneHeal.png"); componentInChildren2.color = new Color(63f / 85f, 1f, 0.3019608f); ((Component)componentInChildren2).transform.localRotation = Quaternion.Euler(0f, 0f, 0f); ((Component)componentInChildren2).transform.localScale = 0.5f * Vector3.one; return val; } private static GameObject CreateEnemyIndicator() { //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_005e: Unknown result type (might be due to invalid IL or missing references) GameObject val = PrefabAPI.InstantiateClone(Addressables.LoadAssetAsync((object)"RoR2/Base/Engi/EngiMissileTrackingIndicator.prefab").WaitForCompletion(), "HANDMod_EnemyIndicator", false); SpriteRenderer[] componentsInChildren = val.GetComponentsInChildren(); SpriteRenderer[] array = componentsInChildren; foreach (SpriteRenderer val2 in array) { if (((Object)val2).name == "Base Core") { val2.color = new Color(0.5568628f, 58f / 85f, 0.6901961f); break; } } return val; } private static GameObject CreateDroneProjectile() { //IL_0128: Unknown result type (might be due to invalid IL or missing references) GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("prefabs/projectiles/EngiHarpoon"), "HANDMod_DroneProjectile", true); Shader shader = LegacyResourcesAPI.Load("Shaders/Deferred/hgstandard"); droneProjectileGhost = PrefabAPI.InstantiateClone(Assets.mainAssetBundle.LoadAsset("DronePrefab"), "HANDMod_DroneProjectileGhost", false); MeshRenderer[] componentsInChildren = droneProjectileGhost.GetComponentsInChildren(); MeshRenderer[] array = componentsInChildren; foreach (MeshRenderer val2 in array) { if (((Object)val2).name != "DronePropeller") { ((Renderer)val2).material.shader = shader; } } SkinnedMeshRenderer[] componentsInChildren2 = droneProjectileGhost.GetComponentsInChildren(); SkinnedMeshRenderer[] array2 = componentsInChildren2; foreach (SkinnedMeshRenderer val3 in array2) { if (((Object)val3).name != "DronePropeller") { ((Renderer)val3).material.shader = shader; } } droneProjectileGhost.AddComponent(); droneProjectileGhost.layer = LayerIndex.noCollision.intVal; val.GetComponent().ghostPrefab = droneProjectileGhost; Material material = Materials.CreateHopooMaterial("DroneBody"); material.SetEmission(3f, Color.white); ((Renderer)droneProjectileGhost.GetComponentInChildren()).material = material; Collider[] componentsInChildren3 = droneProjectileGhost.GetComponentsInChildren(); Collider[] array3 = componentsInChildren3; foreach (Collider val4 in array3) { Object.Destroy((Object)(object)val4); } ContentPacks.projectilePrefabs.Add(val); Object.Destroy((Object)(object)val.GetComponent()); Object.Destroy((Object)(object)val.GetComponent()); ProjectileSteerTowardTarget val5 = val.AddComponent(); val5.yAxisOnly = false; val5.rotationSpeed = 360f; ProjectileSimple val6 = val.AddComponent(); val6.desiredForwardSpeed = 40f; val6.lifetime = 30f; val6.updateAfterFiring = true; val6.enableVelocityOverLifetime = false; val6.oscillate = true; val6.oscillateMagnitude = 6f; val6.oscillateSpeed = 1.5f; ProjectileSphereTargetFinder val7 = val.AddComponent(); val7.lookRange = 90f; val7.targetSearchInterval = 0.3f; val7.onlySearchIfNoTarget = true; val7.allowTargetLoss = false; val7.testLoS = false; val7.ignoreAir = false; val7.flierAltitudeTolerance = float.PositiveInfinity; Object.Destroy((Object)(object)val.GetComponent()); Object.Destroy((Object)(object)val.GetComponent()); Object.Destroy((Object)(object)val.GetComponent()); ProjectileStickOnImpact val8 = val.AddComponent(); val8.ignoreWorld = true; val8.ignoreCharacters = false; val8.alignNormals = false; Collider[] componentsInChildren4 = val.GetComponentsInChildren(); Collider[] array4 = componentsInChildren4; foreach (Collider val9 in array4) { Object.Destroy((Object)(object)val9); } SphereCollider val10 = val.AddComponent(); val10.radius = 0.6f; ((Collider)val10).contactOffset = 0.01f; val.AddComponent(); val.AddComponent(); ProjectileController component = val.GetComponent(); component.allowPrediction = false; return val; } private static GameObject CreateDroneSpeedProjectile() { GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("prefabs/projectiles/EngiHarpoon"), "HANDMod_DroneSpeedProjectile", true); val.GetComponent().ghostPrefab = droneProjectileGhost; ContentPacks.projectilePrefabs.Add(val); Object.Destroy((Object)(object)val.GetComponent()); Object.Destroy((Object)(object)val.GetComponent()); ProjectileSteerTowardTarget val2 = val.AddComponent(); val2.yAxisOnly = false; val2.rotationSpeed = 360f; ProjectileSimple val3 = val.AddComponent(); val3.desiredForwardSpeed = 40f; val3.lifetime = 30f; val3.updateAfterFiring = true; val3.enableVelocityOverLifetime = false; val3.oscillate = true; val3.oscillateMagnitude = 6f; val3.oscillateSpeed = 1.5f; ProjectileSphereTargetFinder val4 = val.AddComponent(); val4.lookRange = 90f; val4.targetSearchInterval = 0.3f; val4.onlySearchIfNoTarget = true; val4.allowTargetLoss = false; val4.testLoS = false; val4.ignoreAir = false; val4.flierAltitudeTolerance = float.PositiveInfinity; Object.Destroy((Object)(object)val.GetComponent()); Object.Destroy((Object)(object)val.GetComponent()); Object.Destroy((Object)(object)val.GetComponent()); ProjectileStickOnImpact val5 = val.AddComponent(); val5.ignoreWorld = true; val5.ignoreCharacters = false; val5.alignNormals = false; Collider[] componentsInChildren = val.GetComponentsInChildren(); Collider[] array = componentsInChildren; foreach (Collider val6 in array) { Object.Destroy((Object)(object)val6); } SphereCollider val7 = val.AddComponent(); val7.radius = 0.6f; ((Collider)val7).contactOffset = 0.01f; DroneDamageController droneDamageController = val.AddComponent(); droneDamageController.damageHealFraction = 0f; droneDamageController.buffOnHitDuration = 10f; droneDamageController.buffOnHit = HANDMod.Content.Shared.Buffs.AttackSpeed; val.AddComponent(); ProjectileController component = val.GetComponent(); component.allowPrediction = false; return val; } private static GameObject CreateDroneFollower() { //IL_0097: Unknown result type (might be due to invalid IL or missing references) Shader shader = LegacyResourcesAPI.Load("Shaders/Deferred/hgstandard"); GameObject val = PrefabAPI.InstantiateClone(Assets.mainAssetBundle.LoadAsset("DroneFollowerPrefab"), "HANDMod_DroneFollower", false); MeshRenderer[] componentsInChildren = val.GetComponentsInChildren(); MeshRenderer[] array = componentsInChildren; foreach (MeshRenderer val2 in array) { if (((Object)val2).name != "DronePropeller") { ((Renderer)val2).material.shader = shader; } } val.layer = LayerIndex.noCollision.intVal; Material material = Materials.CreateHopooMaterial("DroneBody"); material.SetEmission(3f, Color.white); ((Renderer)val.GetComponentInChildren()).material = material; SkinnedMeshRenderer[] componentsInChildren2 = val.GetComponentsInChildren(); SkinnedMeshRenderer[] array2 = componentsInChildren2; foreach (SkinnedMeshRenderer val3 in array2) { if (((Object)val3).name != "DronePropeller") { ((Renderer)val3).material.shader = shader; } } return val; } } public class HANDItemDisplays : ItemDisplaysBase { protected override void SetItemDisplayRules(List itemDisplayRules) { //IL_0004: 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_002c: 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_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_0083: 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_009e: 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_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: 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_00ba: 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) //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_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_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_0139: Unknown result type (might be due to invalid IL or missing references) //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_013f: 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_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_0159: Unknown result type (might be due to invalid IL or missing references) //IL_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0181: 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_01bd: 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_01d8: Unknown result type (might be due to invalid IL or missing references) //IL_01dd: 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_01f8: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0205: Unknown result type (might be due to invalid IL or missing references) //IL_0206: Unknown result type (might be due to invalid IL or missing references) //IL_0210: Unknown result type (might be due to invalid IL or missing references) //IL_0211: Unknown result type (might be due to invalid IL or missing references) //IL_0216: Unknown result type (might be due to invalid IL or missing references) //IL_0220: Unknown result type (might be due to invalid IL or missing references) //IL_0236: 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_0251: Unknown result type (might be due to invalid IL or missing references) //IL_0284: 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_029f: Unknown result type (might be due to invalid IL or missing references) //IL_02a4: Unknown result type (might be due to invalid IL or missing references) //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //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_02cd: Unknown result type (might be due to invalid IL or missing references) //IL_02d7: 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_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02fd: Unknown result type (might be due to invalid IL or missing references) //IL_030f: Unknown result type (might be due to invalid IL or missing references) //IL_0318: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0350: Unknown result type (might be due to invalid IL or missing references) //IL_0366: Unknown result type (might be due to invalid IL or missing references) //IL_036b: Unknown result type (might be due to invalid IL or missing references) //IL_0381: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_038e: Unknown result type (might be due to invalid IL or missing references) //IL_0393: Unknown result type (might be due to invalid IL or missing references) //IL_0394: Unknown result type (might be due to invalid IL or missing references) //IL_039e: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a4: Unknown result type (might be due to invalid IL or missing references) //IL_03ae: Unknown result type (might be due to invalid IL or missing references) //IL_03c4: Unknown result type (might be due to invalid IL or missing references) //IL_03d6: Unknown result type (might be due to invalid IL or missing references) //IL_03df: Unknown result type (might be due to invalid IL or missing references) //IL_0412: Unknown result type (might be due to invalid IL or missing references) //IL_0417: Unknown result type (might be due to invalid IL or missing references) //IL_042d: 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_0448: Unknown result type (might be due to invalid IL or missing references) //IL_044d: Unknown result type (might be due to invalid IL or missing references) //IL_0455: Unknown result type (might be due to invalid IL or missing references) //IL_045a: Unknown result type (might be due to invalid IL or missing references) //IL_045b: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0466: Unknown result type (might be due to invalid IL or missing references) //IL_046b: Unknown result type (might be due to invalid IL or missing references) //IL_0475: Unknown result type (might be due to invalid IL or missing references) //IL_048b: Unknown result type (might be due to invalid IL or missing references) //IL_049d: Unknown result type (might be due to invalid IL or missing references) //IL_04a6: Unknown result type (might be due to invalid IL or missing references) //IL_04d9: Unknown result type (might be due to invalid IL or missing references) //IL_04de: Unknown result type (might be due to invalid IL or missing references) //IL_04f4: Unknown result type (might be due to invalid IL or missing references) //IL_04f9: Unknown result type (might be due to invalid IL or missing references) //IL_050f: Unknown result type (might be due to invalid IL or missing references) //IL_0514: Unknown result type (might be due to invalid IL or missing references) //IL_051c: Unknown result type (might be due to invalid IL or missing references) //IL_0521: Unknown result type (might be due to invalid IL or missing references) //IL_0522: Unknown result type (might be due to invalid IL or missing references) //IL_052c: Unknown result type (might be due to invalid IL or missing references) //IL_052d: Unknown result type (might be due to invalid IL or missing references) //IL_0532: Unknown result type (might be due to invalid IL or missing references) //IL_053c: Unknown result type (might be due to invalid IL or missing references) //IL_0552: Unknown result type (might be due to invalid IL or missing references) //IL_0564: Unknown result type (might be due to invalid IL or missing references) //IL_056d: 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_05a5: Unknown result type (might be due to invalid IL or missing references) //IL_05bb: Unknown result type (might be due to invalid IL or missing references) //IL_05c0: Unknown result type (might be due to invalid IL or missing references) //IL_05d6: Unknown result type (might be due to invalid IL or missing references) //IL_05db: Unknown result type (might be due to invalid IL or missing references) //IL_05e3: Unknown result type (might be due to invalid IL or missing references) //IL_05e8: Unknown result type (might be due to invalid IL or missing references) //IL_05e9: Unknown result type (might be due to invalid IL or missing references) //IL_05f3: Unknown result type (might be due to invalid IL or missing references) //IL_05f4: Unknown result type (might be due to invalid IL or missing references) //IL_05f9: Unknown result type (might be due to invalid IL or missing references) //IL_0603: Unknown result type (might be due to invalid IL or missing references) //IL_0619: Unknown result type (might be due to invalid IL or missing references) //IL_062b: Unknown result type (might be due to invalid IL or missing references) //IL_0634: Unknown result type (might be due to invalid IL or missing references) //IL_0667: Unknown result type (might be due to invalid IL or missing references) //IL_066c: Unknown result type (might be due to invalid IL or missing references) //IL_0682: Unknown result type (might be due to invalid IL or missing references) //IL_0687: Unknown result type (might be due to invalid IL or missing references) //IL_069d: Unknown result type (might be due to invalid IL or missing references) //IL_06a2: Unknown result type (might be due to invalid IL or missing references) //IL_06aa: Unknown result type (might be due to invalid IL or missing references) //IL_06af: Unknown result type (might be due to invalid IL or missing references) //IL_06b0: Unknown result type (might be due to invalid IL or missing references) //IL_06ba: Unknown result type (might be due to invalid IL or missing references) //IL_06bb: Unknown result type (might be due to invalid IL or missing references) //IL_06c0: Unknown result type (might be due to invalid IL or missing references) //IL_06ca: Unknown result type (might be due to invalid IL or missing references) //IL_06e0: Unknown result type (might be due to invalid IL or missing references) //IL_06f2: Unknown result type (might be due to invalid IL or missing references) //IL_06fb: Unknown result type (might be due to invalid IL or missing references) //IL_072e: Unknown result type (might be due to invalid IL or missing references) //IL_0733: Unknown result type (might be due to invalid IL or missing references) //IL_0749: Unknown result type (might be due to invalid IL or missing references) //IL_074e: Unknown result type (might be due to invalid IL or missing references) //IL_0764: Unknown result type (might be due to invalid IL or missing references) //IL_0769: Unknown result type (might be due to invalid IL or missing references) //IL_0771: Unknown result type (might be due to invalid IL or missing references) //IL_0776: Unknown result type (might be due to invalid IL or missing references) //IL_0777: Unknown result type (might be due to invalid IL or missing references) //IL_0781: Unknown result type (might be due to invalid IL or missing references) //IL_0782: Unknown result type (might be due to invalid IL or missing references) //IL_0787: Unknown result type (might be due to invalid IL or missing references) //IL_0791: Unknown result type (might be due to invalid IL or missing references) //IL_07a7: Unknown result type (might be due to invalid IL or missing references) //IL_07b9: Unknown result type (might be due to invalid IL or missing references) //IL_07c2: Unknown result type (might be due to invalid IL or missing references) //IL_07f5: Unknown result type (might be due to invalid IL or missing references) //IL_07fa: Unknown result type (might be due to invalid IL or missing references) //IL_0810: Unknown result type (might be due to invalid IL or missing references) //IL_0815: Unknown result type (might be due to invalid IL or missing references) //IL_082b: Unknown result type (might be due to invalid IL or missing references) //IL_0830: Unknown result type (might be due to invalid IL or missing references) //IL_0838: Unknown result type (might be due to invalid IL or missing references) //IL_083d: Unknown result type (might be due to invalid IL or missing references) //IL_083e: Unknown result type (might be due to invalid IL or missing references) //IL_0848: Unknown result type (might be due to invalid IL or missing references) //IL_0849: Unknown result type (might be due to invalid IL or missing references) //IL_084e: Unknown result type (might be due to invalid IL or missing references) //IL_0858: Unknown result type (might be due to invalid IL or missing references) //IL_086e: 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_0889: Unknown result type (might be due to invalid IL or missing references) //IL_08bc: Unknown result type (might be due to invalid IL or missing references) //IL_08c1: Unknown result type (might be due to invalid IL or missing references) //IL_08d7: Unknown result type (might be due to invalid IL or missing references) //IL_08dc: Unknown result type (might be due to invalid IL or missing references) //IL_08f2: Unknown result type (might be due to invalid IL or missing references) //IL_08f7: Unknown result type (might be due to invalid IL or missing references) //IL_08ff: Unknown result type (might be due to invalid IL or missing references) //IL_0904: Unknown result type (might be due to invalid IL or missing references) //IL_0905: Unknown result type (might be due to invalid IL or missing references) //IL_090f: Unknown result type (might be due to invalid IL or missing references) //IL_0910: Unknown result type (might be due to invalid IL or missing references) //IL_0915: Unknown result type (might be due to invalid IL or missing references) //IL_091f: 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_0947: 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_0983: Unknown result type (might be due to invalid IL or missing references) //IL_0988: Unknown result type (might be due to invalid IL or missing references) //IL_099e: Unknown result type (might be due to invalid IL or missing references) //IL_09a3: Unknown result type (might be due to invalid IL or missing references) //IL_09b9: Unknown result type (might be due to invalid IL or missing references) //IL_09be: Unknown result type (might be due to invalid IL or missing references) //IL_09c6: Unknown result type (might be due to invalid IL or missing references) //IL_09cb: Unknown result type (might be due to invalid IL or missing references) //IL_09cc: Unknown result type (might be due to invalid IL or missing references) //IL_09d6: Unknown result type (might be due to invalid IL or missing references) //IL_09d7: Unknown result type (might be due to invalid IL or missing references) //IL_09dc: Unknown result type (might be due to invalid IL or missing references) //IL_09e6: Unknown result type (might be due to invalid IL or missing references) //IL_09fc: Unknown result type (might be due to invalid IL or missing references) //IL_0a0e: Unknown result type (might be due to invalid IL or missing references) //IL_0a17: Unknown result type (might be due to invalid IL or missing references) //IL_0a4a: 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_0a65: Unknown result type (might be due to invalid IL or missing references) //IL_0a6a: Unknown result type (might be due to invalid IL or missing references) //IL_0a80: Unknown result type (might be due to invalid IL or missing references) //IL_0a85: Unknown result type (might be due to invalid IL or missing references) //IL_0a8d: Unknown result type (might be due to invalid IL or missing references) //IL_0a92: 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_0a9d: Unknown result type (might be due to invalid IL or missing references) //IL_0a9e: Unknown result type (might be due to invalid IL or missing references) //IL_0aa3: Unknown result type (might be due to invalid IL or missing references) //IL_0aad: Unknown result type (might be due to invalid IL or missing references) //IL_0ac3: Unknown result type (might be due to invalid IL or missing references) //IL_0ad5: Unknown result type (might be due to invalid IL or missing references) //IL_0ade: Unknown result type (might be due to invalid IL or missing references) //IL_0b11: Unknown result type (might be due to invalid IL or missing references) //IL_0b16: Unknown result type (might be due to invalid IL or missing references) //IL_0b2c: Unknown result type (might be due to invalid IL or missing references) //IL_0b31: Unknown result type (might be due to invalid IL or missing references) //IL_0b47: Unknown result type (might be due to invalid IL or missing references) //IL_0b4c: Unknown result type (might be due to invalid IL or missing references) //IL_0b54: Unknown result type (might be due to invalid IL or missing references) //IL_0b59: Unknown result type (might be due to invalid IL or missing references) //IL_0b5a: Unknown result type (might be due to invalid IL or missing references) //IL_0b64: Unknown result type (might be due to invalid IL or missing references) //IL_0b65: Unknown result type (might be due to invalid IL or missing references) //IL_0b6a: Unknown result type (might be due to invalid IL or missing references) //IL_0b74: Unknown result type (might be due to invalid IL or missing references) //IL_0b8a: Unknown result type (might be due to invalid IL or missing references) //IL_0b9c: Unknown result type (might be due to invalid IL or missing references) //IL_0ba5: Unknown result type (might be due to invalid IL or missing references) //IL_0bd8: Unknown result type (might be due to invalid IL or missing references) //IL_0bdd: Unknown result type (might be due to invalid IL or missing references) //IL_0bf3: Unknown result type (might be due to invalid IL or missing references) //IL_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_0c13: Unknown result type (might be due to invalid IL or missing references) //IL_0c1b: 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_0c21: Unknown result type (might be due to invalid IL or missing references) //IL_0c2a: Unknown result type (might be due to invalid IL or missing references) //IL_0c33: Unknown result type (might be due to invalid IL or missing references) //IL_0c66: Unknown result type (might be due to invalid IL or missing references) //IL_0c6b: Unknown result type (might be due to invalid IL or missing references) //IL_0c81: Unknown result type (might be due to invalid IL or missing references) //IL_0c86: Unknown result type (might be due to invalid IL or missing references) //IL_0c9c: Unknown result type (might be due to invalid IL or missing references) //IL_0ca1: Unknown result type (might be due to invalid IL or missing references) //IL_0ca9: Unknown result type (might be due to invalid IL or missing references) //IL_0cae: 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_0cb9: Unknown result type (might be due to invalid IL or missing references) //IL_0cba: Unknown result type (might be due to invalid IL or missing references) //IL_0cbf: Unknown result type (might be due to invalid IL or missing references) //IL_0cc9: Unknown result type (might be due to invalid IL or missing references) //IL_0cdf: Unknown result type (might be due to invalid IL or missing references) //IL_0cf1: Unknown result type (might be due to invalid IL or missing references) //IL_0cfa: Unknown result type (might be due to invalid IL or missing references) //IL_0d2d: Unknown result type (might be due to invalid IL or missing references) //IL_0d32: Unknown result type (might be due to invalid IL or missing references) //IL_0d48: Unknown result type (might be due to invalid IL or missing references) //IL_0d4d: Unknown result type (might be due to invalid IL or missing references) //IL_0d63: Unknown result type (might be due to invalid IL or missing references) //IL_0d68: 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_0d75: Unknown result type (might be due to invalid IL or missing references) //IL_0d76: 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_0d81: Unknown result type (might be due to invalid IL or missing references) //IL_0d86: Unknown result type (might be due to invalid IL or missing references) //IL_0d90: Unknown result type (might be due to invalid IL or missing references) //IL_0da6: Unknown result type (might be due to invalid IL or missing references) //IL_0db8: Unknown result type (might be due to invalid IL or missing references) //IL_0dc1: Unknown result type (might be due to invalid IL or missing references) //IL_0df4: Unknown result type (might be due to invalid IL or missing references) //IL_0df9: Unknown result type (might be due to invalid IL or missing references) //IL_0e0f: Unknown result type (might be due to invalid IL or missing references) //IL_0e14: Unknown result type (might be due to invalid IL or missing references) //IL_0e2a: Unknown result type (might be due to invalid IL or missing references) //IL_0e2f: Unknown result type (might be due to invalid IL or missing references) //IL_0e37: Unknown result type (might be due to invalid IL or missing references) //IL_0e3c: Unknown result type (might be due to invalid IL or missing references) //IL_0e3d: 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_0e4f: Unknown result type (might be due to invalid IL or missing references) //IL_0e82: Unknown result type (might be due to invalid IL or missing references) //IL_0e87: Unknown result type (might be due to invalid IL or missing references) //IL_0e9d: Unknown result type (might be due to invalid IL or missing references) //IL_0ea2: Unknown result type (might be due to invalid IL or missing references) //IL_0eb8: 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_0ec5: Unknown result type (might be due to invalid IL or missing references) //IL_0eca: Unknown result type (might be due to invalid IL or missing references) //IL_0ecb: Unknown result type (might be due to invalid IL or missing references) //IL_0ed5: Unknown result type (might be due to invalid IL or missing references) //IL_0ed6: Unknown result type (might be due to invalid IL or missing references) //IL_0edb: Unknown result type (might be due to invalid IL or missing references) //IL_0ee5: Unknown result type (might be due to invalid IL or missing references) //IL_0efb: Unknown result type (might be due to invalid IL or missing references) //IL_0f0d: 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_0f49: Unknown result type (might be due to invalid IL or missing references) //IL_0f4e: Unknown result type (might be due to invalid IL or missing references) //IL_0f64: Unknown result type (might be due to invalid IL or missing references) //IL_0f69: Unknown result type (might be due to invalid IL or missing references) //IL_0f7f: Unknown result type (might be due to invalid IL or missing references) //IL_0f84: Unknown result type (might be due to invalid IL or missing references) //IL_0f8c: Unknown result type (might be due to invalid IL or missing references) //IL_0f91: Unknown result type (might be due to invalid IL or missing references) //IL_0f92: Unknown result type (might be due to invalid IL or missing references) //IL_0f9c: Unknown result type (might be due to invalid IL or missing references) //IL_0f9d: Unknown result type (might be due to invalid IL or missing references) //IL_0fa2: Unknown result type (might be due to invalid IL or missing references) //IL_0fac: Unknown result type (might be due to invalid IL or missing references) //IL_0fc2: Unknown result type (might be due to invalid IL or missing references) //IL_0fd4: Unknown result type (might be due to invalid IL or missing references) //IL_0fdd: Unknown result type (might be due to invalid IL or missing references) //IL_1010: Unknown result type (might be due to invalid IL or missing references) //IL_1015: Unknown result type (might be due to invalid IL or missing references) //IL_102b: Unknown result type (might be due to invalid IL or missing references) //IL_1030: Unknown result type (might be due to invalid IL or missing references) //IL_1046: Unknown result type (might be due to invalid IL or missing references) //IL_104b: 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_1059: Unknown result type (might be due to invalid IL or missing references) //IL_1063: Unknown result type (might be due to invalid IL or missing references) //IL_1064: Unknown result type (might be due to invalid IL or missing references) //IL_1069: 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_109b: Unknown result type (might be due to invalid IL or missing references) //IL_10a4: Unknown result type (might be due to invalid IL or missing references) //IL_10d7: Unknown result type (might be due to invalid IL or missing references) //IL_10dc: Unknown result type (might be due to invalid IL or missing references) //IL_10f2: Unknown result type (might be due to invalid IL or missing references) //IL_10f7: Unknown result type (might be due to invalid IL or missing references) //IL_110d: Unknown result type (might be due to invalid IL or missing references) //IL_1112: Unknown result type (might be due to invalid IL or missing references) //IL_111a: Unknown result type (might be due to invalid IL or missing references) //IL_111f: Unknown result type (might be due to invalid IL or missing references) //IL_1120: Unknown result type (might be due to invalid IL or missing references) //IL_112a: Unknown result type (might be due to invalid IL or missing references) //IL_112b: Unknown result type (might be due to invalid IL or missing references) //IL_1130: Unknown result type (might be due to invalid IL or missing references) //IL_113a: Unknown result type (might be due to invalid IL or missing references) //IL_1150: Unknown result type (might be due to invalid IL or missing references) //IL_1162: Unknown result type (might be due to invalid IL or missing references) //IL_116b: Unknown result type (might be due to invalid IL or missing references) //IL_119e: Unknown result type (might be due to invalid IL or missing references) //IL_11a3: Unknown result type (might be due to invalid IL or missing references) //IL_11b9: Unknown result type (might be due to invalid IL or missing references) //IL_11be: Unknown result type (might be due to invalid IL or missing references) //IL_11d4: Unknown result type (might be due to invalid IL or missing references) //IL_11d9: Unknown result type (might be due to invalid IL or missing references) //IL_11e1: Unknown result type (might be due to invalid IL or missing references) //IL_11e6: Unknown result type (might be due to invalid IL or missing references) //IL_11e7: Unknown result type (might be due to invalid IL or missing references) //IL_11f1: Unknown result type (might be due to invalid IL or missing references) //IL_11f2: Unknown result type (might be due to invalid IL or missing references) //IL_11f7: Unknown result type (might be due to invalid IL or missing references) //IL_1201: Unknown result type (might be due to invalid IL or missing references) //IL_1217: Unknown result type (might be due to invalid IL or missing references) //IL_1229: 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_1265: Unknown result type (might be due to invalid IL or missing references) //IL_126a: Unknown result type (might be due to invalid IL or missing references) //IL_1280: Unknown result type (might be due to invalid IL or missing references) //IL_1285: Unknown result type (might be due to invalid IL or missing references) //IL_129b: Unknown result type (might be due to invalid IL or missing references) //IL_12a0: Unknown result type (might be due to invalid IL or missing references) //IL_12a8: Unknown result type (might be due to invalid IL or missing references) //IL_12ad: Unknown result type (might be due to invalid IL or missing references) //IL_12ae: Unknown result type (might be due to invalid IL or missing references) //IL_12b8: 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_12be: Unknown result type (might be due to invalid IL or missing references) //IL_12c8: Unknown result type (might be due to invalid IL or missing references) //IL_12de: Unknown result type (might be due to invalid IL or missing references) //IL_12f0: Unknown result type (might be due to invalid IL or missing references) //IL_12f9: Unknown result type (might be due to invalid IL or missing references) //IL_132c: 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_1347: 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_1362: Unknown result type (might be due to invalid IL or missing references) //IL_1367: Unknown result type (might be due to invalid IL or missing references) //IL_136f: Unknown result type (might be due to invalid IL or missing references) //IL_1374: Unknown result type (might be due to invalid IL or missing references) //IL_1375: 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_1380: Unknown result type (might be due to invalid IL or missing references) //IL_1385: Unknown result type (might be due to invalid IL or missing references) //IL_138f: Unknown result type (might be due to invalid IL or missing references) //IL_13a5: Unknown result type (might be due to invalid IL or missing references) //IL_13b7: Unknown result type (might be due to invalid IL or missing references) //IL_13c0: Unknown result type (might be due to invalid IL or missing references) //IL_13f3: Unknown result type (might be due to invalid IL or missing references) //IL_13f8: Unknown result type (might be due to invalid IL or missing references) //IL_140e: Unknown result type (might be due to invalid IL or missing references) //IL_1413: Unknown result type (might be due to invalid IL or missing references) //IL_1429: Unknown result type (might be due to invalid IL or missing references) //IL_142e: Unknown result type (might be due to invalid IL or missing references) //IL_1436: Unknown result type (might be due to invalid IL or missing references) //IL_143b: Unknown result type (might be due to invalid IL or missing references) //IL_143c: Unknown result type (might be due to invalid IL or missing references) //IL_1446: Unknown result type (might be due to invalid IL or missing references) //IL_1447: Unknown result type (might be due to invalid IL or missing references) //IL_144c: 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_146c: Unknown result type (might be due to invalid IL or missing references) //IL_147e: Unknown result type (might be due to invalid IL or missing references) //IL_1487: Unknown result type (might be due to invalid IL or missing references) //IL_14ba: Unknown result type (might be due to invalid IL or missing references) //IL_14bf: Unknown result type (might be due to invalid IL or missing references) //IL_14d5: Unknown result type (might be due to invalid IL or missing references) //IL_14da: Unknown result type (might be due to invalid IL or missing references) //IL_14f0: Unknown result type (might be due to invalid IL or missing references) //IL_14f5: Unknown result type (might be due to invalid IL or missing references) //IL_14fd: Unknown result type (might be due to invalid IL or missing references) //IL_1502: Unknown result type (might be due to invalid IL or missing references) //IL_1503: Unknown result type (might be due to invalid IL or missing references) //IL_150d: 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_151d: Unknown result type (might be due to invalid IL or missing references) //IL_1533: Unknown result type (might be due to invalid IL or missing references) //IL_1545: Unknown result type (might be due to invalid IL or missing references) //IL_154e: Unknown result type (might be due to invalid IL or missing references) //IL_1581: Unknown result type (might be due to invalid IL or missing references) //IL_1586: Unknown result type (might be due to invalid IL or missing references) //IL_159c: Unknown result type (might be due to invalid IL or missing references) //IL_15a1: Unknown result type (might be due to invalid IL or missing references) //IL_15b7: Unknown result type (might be due to invalid IL or missing references) //IL_15bc: Unknown result type (might be due to invalid IL or missing references) //IL_15c4: Unknown result type (might be due to invalid IL or missing references) //IL_15c9: Unknown result type (might be due to invalid IL or missing references) //IL_15ca: Unknown result type (might be due to invalid IL or missing references) //IL_15d4: Unknown result type (might be due to invalid IL or missing references) //IL_15d5: Unknown result type (might be due to invalid IL or missing references) //IL_15da: Unknown result type (might be due to invalid IL or missing references) //IL_15e4: Unknown result type (might be due to invalid IL or missing references) //IL_15fa: Unknown result type (might be due to invalid IL or missing references) //IL_160c: Unknown result type (might be due to invalid IL or missing references) //IL_1615: Unknown result type (might be due to invalid IL or missing references) //IL_1648: Unknown result type (might be due to invalid IL or missing references) //IL_164d: Unknown result type (might be due to invalid IL or missing references) //IL_1663: Unknown result type (might be due to invalid IL or missing references) //IL_1668: Unknown result type (might be due to invalid IL or missing references) //IL_167e: Unknown result type (might be due to invalid IL or missing references) //IL_1683: Unknown result type (might be due to invalid IL or missing references) //IL_168b: Unknown result type (might be due to invalid IL or missing references) //IL_1690: Unknown result type (might be due to invalid IL or missing references) //IL_1691: Unknown result type (might be due to invalid IL or missing references) //IL_169b: Unknown result type (might be due to invalid IL or missing references) //IL_169c: Unknown result type (might be due to invalid IL or missing references) //IL_16a1: Unknown result type (might be due to invalid IL or missing references) //IL_16ab: 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_16d3: Unknown result type (might be due to invalid IL or missing references) //IL_16dc: Unknown result type (might be due to invalid IL or missing references) //IL_170f: Unknown result type (might be due to invalid IL or missing references) //IL_1714: Unknown result type (might be due to invalid IL or missing references) //IL_172a: Unknown result type (might be due to invalid IL or missing references) //IL_172f: Unknown result type (might be due to invalid IL or missing references) //IL_1745: Unknown result type (might be due to invalid IL or missing references) //IL_174a: Unknown result type (might be due to invalid IL or missing references) //IL_1752: Unknown result type (might be due to invalid IL or missing references) //IL_1757: Unknown result type (might be due to invalid IL or missing references) //IL_1758: Unknown result type (might be due to invalid IL or missing references) //IL_1762: Unknown result type (might be due to invalid IL or missing references) //IL_1763: Unknown result type (might be due to invalid IL or missing references) //IL_1768: Unknown result type (might be due to invalid IL or missing references) //IL_1772: Unknown result type (might be due to invalid IL or missing references) //IL_1788: Unknown result type (might be due to invalid IL or missing references) //IL_179a: Unknown result type (might be due to invalid IL or missing references) //IL_17a3: Unknown result type (might be due to invalid IL or missing references) //IL_17d6: Unknown result type (might be due to invalid IL or missing references) //IL_17db: Unknown result type (might be due to invalid IL or missing references) //IL_17f1: Unknown result type (might be due to invalid IL or missing references) //IL_17f6: Unknown result type (might be due to invalid IL or missing references) //IL_180c: Unknown result type (might be due to invalid IL or missing references) //IL_1811: Unknown result type (might be due to invalid IL or missing references) //IL_1819: Unknown result type (might be due to invalid IL or missing references) //IL_181e: 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_1829: Unknown result type (might be due to invalid IL or missing references) //IL_182a: Unknown result type (might be due to invalid IL or missing references) //IL_182f: Unknown result type (might be due to invalid IL or missing references) //IL_1839: Unknown result type (might be due to invalid IL or missing references) //IL_184f: Unknown result type (might be due to invalid IL or missing references) //IL_1861: Unknown result type (might be due to invalid IL or missing references) //IL_186a: Unknown result type (might be due to invalid IL or missing references) //IL_189d: Unknown result type (might be due to invalid IL or missing references) //IL_18a2: Unknown result type (might be due to invalid IL or missing references) //IL_18b8: Unknown result type (might be due to invalid IL or missing references) //IL_18bd: Unknown result type (might be due to invalid IL or missing references) //IL_18d3: Unknown result type (might be due to invalid IL or missing references) //IL_18d8: Unknown result type (might be due to invalid IL or missing references) //IL_18e0: Unknown result type (might be due to invalid IL or missing references) //IL_18e5: Unknown result type (might be due to invalid IL or missing references) //IL_18e6: Unknown result type (might be due to invalid IL or missing references) //IL_18f0: Unknown result type (might be due to invalid IL or missing references) //IL_18f1: Unknown result type (might be due to invalid IL or missing references) //IL_18f6: Unknown result type (might be due to invalid IL or missing references) //IL_1900: Unknown result type (might be due to invalid IL or missing references) //IL_1916: 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_1931: Unknown result type (might be due to invalid IL or missing references) //IL_1964: Unknown result type (might be due to invalid IL or missing references) //IL_1969: Unknown result type (might be due to invalid IL or missing references) //IL_197f: Unknown result type (might be due to invalid IL or missing references) //IL_1984: 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_19a7: Unknown result type (might be due to invalid IL or missing references) //IL_19ac: Unknown result type (might be due to invalid IL or missing references) //IL_19ad: Unknown result type (might be due to invalid IL or missing references) //IL_19b7: Unknown result type (might be due to invalid IL or missing references) //IL_19b8: Unknown result type (might be due to invalid IL or missing references) //IL_19bd: Unknown result type (might be due to invalid IL or missing references) //IL_19c7: 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_19ef: Unknown result type (might be due to invalid IL or missing references) //IL_19f8: Unknown result type (might be due to invalid IL or missing references) //IL_1a2b: Unknown result type (might be due to invalid IL or missing references) //IL_1a30: Unknown result type (might be due to invalid IL or missing references) //IL_1a46: Unknown result type (might be due to invalid IL or missing references) //IL_1a4b: Unknown result type (might be due to invalid IL or missing references) //IL_1a61: Unknown result type (might be due to invalid IL or missing references) //IL_1a66: Unknown result type (might be due to invalid IL or missing references) //IL_1a6e: Unknown result type (might be due to invalid IL or missing references) //IL_1a73: Unknown result type (might be due to invalid IL or missing references) //IL_1a74: Unknown result type (might be due to invalid IL or missing references) //IL_1a7d: Unknown result type (might be due to invalid IL or missing references) //IL_1a86: Unknown result type (might be due to invalid IL or missing references) //IL_1ab9: Unknown result type (might be due to invalid IL or missing references) //IL_1abe: Unknown result type (might be due to invalid IL or missing references) //IL_1ad4: Unknown result type (might be due to invalid IL or missing references) //IL_1ad9: Unknown result type (might be due to invalid IL or missing references) //IL_1aef: Unknown result type (might be due to invalid IL or missing references) //IL_1af4: Unknown result type (might be due to invalid IL or missing references) //IL_1afc: Unknown result type (might be due to invalid IL or missing references) //IL_1b01: Unknown result type (might be due to invalid IL or missing references) //IL_1b02: Unknown result type (might be due to invalid IL or missing references) //IL_1b0c: Unknown result type (might be due to invalid IL or missing references) //IL_1b0d: Unknown result type (might be due to invalid IL or missing references) //IL_1b12: Unknown result type (might be due to invalid IL or missing references) //IL_1b1c: Unknown result type (might be due to invalid IL or missing references) //IL_1b32: Unknown result type (might be due to invalid IL or missing references) //IL_1b44: Unknown result type (might be due to invalid IL or missing references) //IL_1b4d: Unknown result type (might be due to invalid IL or missing references) //IL_1b80: Unknown result type (might be due to invalid IL or missing references) //IL_1b85: Unknown result type (might be due to invalid IL or missing references) //IL_1b9b: Unknown result type (might be due to invalid IL or missing references) //IL_1ba0: Unknown result type (might be due to invalid IL or missing references) //IL_1bb6: Unknown result type (might be due to invalid IL or missing references) //IL_1bbb: 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_1bc8: Unknown result type (might be due to invalid IL or missing references) //IL_1bc9: Unknown result type (might be due to invalid IL or missing references) //IL_1bd2: Unknown result type (might be due to invalid IL or missing references) //IL_1bdb: Unknown result type (might be due to invalid IL or missing references) //IL_1c0e: Unknown result type (might be due to invalid IL or missing references) //IL_1c13: Unknown result type (might be due to invalid IL or missing references) //IL_1c29: Unknown result type (might be due to invalid IL or missing references) //IL_1c2e: Unknown result type (might be due to invalid IL or missing references) //IL_1c44: Unknown result type (might be due to invalid IL or missing references) //IL_1c49: Unknown result type (might be due to invalid IL or missing references) //IL_1c51: 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_1c57: Unknown result type (might be due to invalid IL or missing references) //IL_1c61: Unknown result type (might be due to invalid IL or missing references) //IL_1c62: Unknown result type (might be due to invalid IL or missing references) //IL_1c67: Unknown result type (might be due to invalid IL or missing references) //IL_1c71: Unknown result type (might be due to invalid IL or missing references) //IL_1c87: Unknown result type (might be due to invalid IL or missing references) //IL_1c99: Unknown result type (might be due to invalid IL or missing references) //IL_1ca2: Unknown result type (might be due to invalid IL or missing references) //IL_1cd5: Unknown result type (might be due to invalid IL or missing references) //IL_1cda: 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_1cf5: Unknown result type (might be due to invalid IL or missing references) //IL_1d0b: Unknown result type (might be due to invalid IL or missing references) //IL_1d10: 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_1d1d: Unknown result type (might be due to invalid IL or missing references) //IL_1d1e: Unknown result type (might be due to invalid IL or missing references) //IL_1d28: Unknown result type (might be due to invalid IL or missing references) //IL_1d29: Unknown result type (might be due to invalid IL or missing references) //IL_1d2e: Unknown result type (might be due to invalid IL or missing references) //IL_1d38: Unknown result type (might be due to invalid IL or missing references) //IL_1d4e: Unknown result type (might be due to invalid IL or missing references) //IL_1d60: Unknown result type (might be due to invalid IL or missing references) //IL_1d69: 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_1da1: Unknown result type (might be due to invalid IL or missing references) //IL_1db7: Unknown result type (might be due to invalid IL or missing references) //IL_1dbc: Unknown result type (might be due to invalid IL or missing references) //IL_1dd2: Unknown result type (might be due to invalid IL or missing references) //IL_1dd7: Unknown result type (might be due to invalid IL or missing references) //IL_1ddf: Unknown result type (might be due to invalid IL or missing references) //IL_1de4: Unknown result type (might be due to invalid IL or missing references) //IL_1de5: Unknown result type (might be due to invalid IL or missing references) //IL_1def: Unknown result type (might be due to invalid IL or missing references) //IL_1df0: Unknown result type (might be due to invalid IL or missing references) //IL_1df5: Unknown result type (might be due to invalid IL or missing references) //IL_1dff: Unknown result type (might be due to invalid IL or missing references) //IL_1e15: Unknown result type (might be due to invalid IL or missing references) //IL_1e27: Unknown result type (might be due to invalid IL or missing references) //IL_1e30: Unknown result type (might be due to invalid IL or missing references) //IL_1e63: Unknown result type (might be due to invalid IL or missing references) //IL_1e68: Unknown result type (might be due to invalid IL or missing references) //IL_1e7e: Unknown result type (might be due to invalid IL or missing references) //IL_1e83: Unknown result type (might be due to invalid IL or missing references) //IL_1e99: Unknown result type (might be due to invalid IL or missing references) //IL_1e9e: Unknown result type (might be due to invalid IL or missing references) //IL_1ea6: Unknown result type (might be due to invalid IL or missing references) //IL_1eab: Unknown result type (might be due to invalid IL or missing references) //IL_1eac: Unknown result type (might be due to invalid IL or missing references) //IL_1eb6: Unknown result type (might be due to invalid IL or missing references) //IL_1eb7: Unknown result type (might be due to invalid IL or missing references) //IL_1ebc: Unknown result type (might be due to invalid IL or missing references) //IL_1ec6: Unknown result type (might be due to invalid IL or missing references) //IL_1edc: Unknown result type (might be due to invalid IL or missing references) //IL_1eee: Unknown result type (might be due to invalid IL or missing references) //IL_1ef7: 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_1f2f: 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_1f4a: Unknown result type (might be due to invalid IL or missing references) //IL_1f60: Unknown result type (might be due to invalid IL or missing references) //IL_1f65: Unknown result type (might be due to invalid IL or missing references) //IL_1f6d: Unknown result type (might be due to invalid IL or missing references) //IL_1f72: Unknown result type (might be due to invalid IL or missing references) //IL_1f73: Unknown result type (might be due to invalid IL or missing references) //IL_1f7c: Unknown result type (might be due to invalid IL or missing references) //IL_1f85: Unknown result type (might be due to invalid IL or missing references) //IL_1f8d: Unknown result type (might be due to invalid IL or missing references) //IL_1f92: 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_1f9d: Unknown result type (might be due to invalid IL or missing references) //IL_1f9e: Unknown result type (might be due to invalid IL or missing references) //IL_1fa3: Unknown result type (might be due to invalid IL or missing references) //IL_1fad: Unknown result type (might be due to invalid IL or missing references) //IL_1fc3: Unknown result type (might be due to invalid IL or missing references) //IL_1fd5: Unknown result type (might be due to invalid IL or missing references) //IL_1fde: Unknown result type (might be due to invalid IL or missing references) //IL_2011: Unknown result type (might be due to invalid IL or missing references) //IL_2016: Unknown result type (might be due to invalid IL or missing references) //IL_202c: Unknown result type (might be due to invalid IL or missing references) //IL_2031: Unknown result type (might be due to invalid IL or missing references) //IL_2047: Unknown result type (might be due to invalid IL or missing references) //IL_204c: Unknown result type (might be due to invalid IL or missing references) //IL_2054: Unknown result type (might be due to invalid IL or missing references) //IL_2059: Unknown result type (might be due to invalid IL or missing references) //IL_205a: Unknown result type (might be due to invalid IL or missing references) //IL_2064: Unknown result type (might be due to invalid IL or missing references) //IL_2065: Unknown result type (might be due to invalid IL or missing references) //IL_206a: Unknown result type (might be due to invalid IL or missing references) //IL_2074: Unknown result type (might be due to invalid IL or missing references) //IL_208a: 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_20a5: Unknown result type (might be due to invalid IL or missing references) //IL_20d8: Unknown result type (might be due to invalid IL or missing references) //IL_20dd: Unknown result type (might be due to invalid IL or missing references) //IL_20f3: Unknown result type (might be due to invalid IL or missing references) //IL_20f8: 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_211b: Unknown result type (might be due to invalid IL or missing references) //IL_2120: Unknown result type (might be due to invalid IL or missing references) //IL_2121: Unknown result type (might be due to invalid IL or missing references) //IL_212b: Unknown result type (might be due to invalid IL or missing references) //IL_212c: Unknown result type (might be due to invalid IL or missing references) //IL_2131: Unknown result type (might be due to invalid IL or missing references) //IL_213b: 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_2163: Unknown result type (might be due to invalid IL or missing references) //IL_216c: Unknown result type (might be due to invalid IL or missing references) //IL_219f: Unknown result type (might be due to invalid IL or missing references) //IL_21a4: Unknown result type (might be due to invalid IL or missing references) //IL_21ba: Unknown result type (might be due to invalid IL or missing references) //IL_21bf: Unknown result type (might be due to invalid IL or missing references) //IL_21d5: Unknown result type (might be due to invalid IL or missing references) //IL_21da: Unknown result type (might be due to invalid IL or missing references) //IL_21e2: Unknown result type (might be due to invalid IL or missing references) //IL_21e7: Unknown result type (might be due to invalid IL or missing references) //IL_21e8: Unknown result type (might be due to invalid IL or missing references) //IL_21f2: Unknown result type (might be due to invalid IL or missing references) //IL_21f3: Unknown result type (might be due to invalid IL or missing references) //IL_21f8: Unknown result type (might be due to invalid IL or missing references) //IL_2202: Unknown result type (might be due to invalid IL or missing references) //IL_2218: Unknown result type (might be due to invalid IL or missing references) //IL_222a: Unknown result type (might be due to invalid IL or missing references) //IL_2233: Unknown result type (might be due to invalid IL or missing references) //IL_2266: Unknown result type (might be due to invalid IL or missing references) //IL_226b: Unknown result type (might be due to invalid IL or missing references) //IL_2281: Unknown result type (might be due to invalid IL or missing references) //IL_2286: Unknown result type (might be due to invalid IL or missing references) //IL_229c: Unknown result type (might be due to invalid IL or missing references) //IL_22a1: Unknown result type (might be due to invalid IL or missing references) //IL_22a9: Unknown result type (might be due to invalid IL or missing references) //IL_22ae: Unknown result type (might be due to invalid IL or missing references) //IL_22af: Unknown result type (might be due to invalid IL or missing references) //IL_22b9: Unknown result type (might be due to invalid IL or missing references) //IL_22ba: 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_22c9: 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_22f1: Unknown result type (might be due to invalid IL or missing references) //IL_22fa: Unknown result type (might be due to invalid IL or missing references) //IL_232d: Unknown result type (might be due to invalid IL or missing references) //IL_2332: Unknown result type (might be due to invalid IL or missing references) //IL_2348: Unknown result type (might be due to invalid IL or missing references) //IL_234d: Unknown result type (might be due to invalid IL or missing references) //IL_2363: Unknown result type (might be due to invalid IL or missing references) //IL_2368: Unknown result type (might be due to invalid IL or missing references) //IL_2370: Unknown result type (might be due to invalid IL or missing references) //IL_2375: Unknown result type (might be due to invalid IL or missing references) //IL_2376: Unknown result type (might be due to invalid IL or missing references) //IL_2380: Unknown result type (might be due to invalid IL or missing references) //IL_2381: Unknown result type (might be due to invalid IL or missing references) //IL_2386: Unknown result type (might be due to invalid IL or missing references) //IL_2390: Unknown result type (might be due to invalid IL or missing references) //IL_23a6: 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_23c1: Unknown result type (might be due to invalid IL or missing references) //IL_23f4: Unknown result type (might be due to invalid IL or missing references) //IL_23f9: Unknown result type (might be due to invalid IL or missing references) //IL_240f: Unknown result type (might be due to invalid IL or missing references) //IL_2414: Unknown result type (might be due to invalid IL or missing references) //IL_242a: Unknown result type (might be due to invalid IL or missing references) //IL_242f: Unknown result type (might be due to invalid IL or missing references) //IL_2437: Unknown result type (might be due to invalid IL or missing references) //IL_243c: Unknown result type (might be due to invalid IL or missing references) //IL_243d: Unknown result type (might be due to invalid IL or missing references) //IL_2447: Unknown result type (might be due to invalid IL or missing references) //IL_2448: Unknown result type (might be due to invalid IL or missing references) //IL_244d: Unknown result type (might be due to invalid IL or missing references) //IL_2457: Unknown result type (might be due to invalid IL or missing references) //IL_246d: Unknown result type (might be due to invalid IL or missing references) //IL_247f: Unknown result type (might be due to invalid IL or missing references) //IL_2488: Unknown result type (might be due to invalid IL or missing references) //IL_24bb: Unknown result type (might be due to invalid IL or missing references) //IL_24c0: Unknown result type (might be due to invalid IL or missing references) //IL_24d6: Unknown result type (might be due to invalid IL or missing references) //IL_24db: Unknown result type (might be due to invalid IL or missing references) //IL_24f1: Unknown result type (might be due to invalid IL or missing references) //IL_24f6: Unknown result type (might be due to invalid IL or missing references) //IL_24fe: Unknown result type (might be due to invalid IL or missing references) //IL_2503: Unknown result type (might be due to invalid IL or missing references) //IL_2504: Unknown result type (might be due to invalid IL or missing references) //IL_250e: Unknown result type (might be due to invalid IL or missing references) //IL_250f: Unknown result type (might be due to invalid IL or missing references) //IL_2514: Unknown result type (might be due to invalid IL or missing references) //IL_251e: Unknown result type (might be due to invalid IL or missing references) //IL_2534: Unknown result type (might be due to invalid IL or missing references) //IL_2546: Unknown result type (might be due to invalid IL or missing references) //IL_254f: 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_2587: 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_25a2: Unknown result type (might be due to invalid IL or missing references) //IL_25b8: Unknown result type (might be due to invalid IL or missing references) //IL_25bd: Unknown result type (might be due to invalid IL or missing references) //IL_25c5: Unknown result type (might be due to invalid IL or missing references) //IL_25ca: Unknown result type (might be due to invalid IL or missing references) //IL_25cb: 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_25d6: Unknown result type (might be due to invalid IL or missing references) //IL_25db: Unknown result type (might be due to invalid IL or missing references) //IL_25e5: Unknown result type (might be due to invalid IL or missing references) //IL_25fb: Unknown result type (might be due to invalid IL or missing references) //IL_260d: Unknown result type (might be due to invalid IL or missing references) //IL_2616: Unknown result type (might be due to invalid IL or missing references) //IL_2649: Unknown result type (might be due to invalid IL or missing references) //IL_264e: Unknown result type (might be due to invalid IL or missing references) //IL_2664: Unknown result type (might be due to invalid IL or missing references) //IL_2669: Unknown result type (might be due to invalid IL or missing references) //IL_267f: Unknown result type (might be due to invalid IL or missing references) //IL_2684: Unknown result type (might be due to invalid IL or missing references) //IL_268c: Unknown result type (might be due to invalid IL or missing references) //IL_2691: Unknown result type (might be due to invalid IL or missing references) //IL_2692: Unknown result type (might be due to invalid IL or missing references) //IL_269c: Unknown result type (might be due to invalid IL or missing references) //IL_269d: Unknown result type (might be due to invalid IL or missing references) //IL_26a2: Unknown result type (might be due to invalid IL or missing references) //IL_26ac: Unknown result type (might be due to invalid IL or missing references) //IL_26c2: Unknown result type (might be due to invalid IL or missing references) //IL_26d4: Unknown result type (might be due to invalid IL or missing references) //IL_26dd: Unknown result type (might be due to invalid IL or missing references) //IL_2710: Unknown result type (might be due to invalid IL or missing references) //IL_2715: Unknown result type (might be due to invalid IL or missing references) //IL_272b: Unknown result type (might be due to invalid IL or missing references) //IL_2730: Unknown result type (might be due to invalid IL or missing references) //IL_2746: Unknown result type (might be due to invalid IL or missing references) //IL_274b: Unknown result type (might be due to invalid IL or missing references) //IL_2753: Unknown result type (might be due to invalid IL or missing references) //IL_2758: Unknown result type (might be due to invalid IL or missing references) //IL_2759: Unknown result type (might be due to invalid IL or missing references) //IL_2763: Unknown result type (might be due to invalid IL or missing references) //IL_2764: Unknown result type (might be due to invalid IL or missing references) //IL_2769: Unknown result type (might be due to invalid IL or missing references) //IL_2773: Unknown result type (might be due to invalid IL or missing references) //IL_2789: Unknown result type (might be due to invalid IL or missing references) //IL_279b: Unknown result type (might be due to invalid IL or missing references) //IL_27a4: Unknown result type (might be due to invalid IL or missing references) //IL_27d7: Unknown result type (might be due to invalid IL or missing references) //IL_27dc: Unknown result type (might be due to invalid IL or missing references) //IL_27f2: Unknown result type (might be due to invalid IL or missing references) //IL_27f7: Unknown result type (might be due to invalid IL or missing references) //IL_280d: Unknown result type (might be due to invalid IL or missing references) //IL_2812: Unknown result type (might be due to invalid IL or missing references) //IL_281a: Unknown result type (might be due to invalid IL or missing references) //IL_281f: Unknown result type (might be due to invalid IL or missing references) //IL_2820: Unknown result type (might be due to invalid IL or missing references) //IL_282a: Unknown result type (might be due to invalid IL or missing references) //IL_282b: Unknown result type (might be due to invalid IL or missing references) //IL_2830: Unknown result type (might be due to invalid IL or missing references) //IL_283a: Unknown result type (might be due to invalid IL or missing references) //IL_2850: Unknown result type (might be due to invalid IL or missing references) //IL_2862: Unknown result type (might be due to invalid IL or missing references) //IL_286b: Unknown result type (might be due to invalid IL or missing references) //IL_289e: Unknown result type (might be due to invalid IL or missing references) //IL_28a3: Unknown result type (might be due to invalid IL or missing references) //IL_28b9: Unknown result type (might be due to invalid IL or missing references) //IL_28be: Unknown result type (might be due to invalid IL or missing references) //IL_28d4: Unknown result type (might be due to invalid IL or missing references) //IL_28d9: Unknown result type (might be due to invalid IL or missing references) //IL_28e1: Unknown result type (might be due to invalid IL or missing references) //IL_28e6: Unknown result type (might be due to invalid IL or missing references) //IL_28e7: Unknown result type (might be due to invalid IL or missing references) //IL_28f1: Unknown result type (might be due to invalid IL or missing references) //IL_28f2: Unknown result type (might be due to invalid IL or missing references) //IL_28f7: 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_2929: 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_2965: Unknown result type (might be due to invalid IL or missing references) //IL_296a: Unknown result type (might be due to invalid IL or missing references) //IL_2980: Unknown result type (might be due to invalid IL or missing references) //IL_2985: Unknown result type (might be due to invalid IL or missing references) //IL_299b: Unknown result type (might be due to invalid IL or missing references) //IL_29a0: Unknown result type (might be due to invalid IL or missing references) //IL_29a8: Unknown result type (might be due to invalid IL or missing references) //IL_29ad: Unknown result type (might be due to invalid IL or missing references) //IL_29ae: Unknown result type (might be due to invalid IL or missing references) //IL_29b8: Unknown result type (might be due to invalid IL or missing references) //IL_29b9: Unknown result type (might be due to invalid IL or missing references) //IL_29be: Unknown result type (might be due to invalid IL or missing references) //IL_29c8: Unknown result type (might be due to invalid IL or missing references) //IL_29de: Unknown result type (might be due to invalid IL or missing references) //IL_29f0: Unknown result type (might be due to invalid IL or missing references) //IL_29f9: Unknown result type (might be due to invalid IL or missing references) //IL_2a2c: Unknown result type (might be due to invalid IL or missing references) //IL_2a31: Unknown result type (might be due to invalid IL or missing references) //IL_2a47: Unknown result type (might be due to invalid IL or missing references) //IL_2a4c: Unknown result type (might be due to invalid IL or missing references) //IL_2a62: Unknown result type (might be due to invalid IL or missing references) //IL_2a67: Unknown result type (might be due to invalid IL or missing references) //IL_2a6f: Unknown result type (might be due to invalid IL or missing references) //IL_2a74: Unknown result type (might be due to invalid IL or missing references) //IL_2a75: Unknown result type (might be due to invalid IL or missing references) //IL_2a7f: Unknown result type (might be due to invalid IL or missing references) //IL_2a80: Unknown result type (might be due to invalid IL or missing references) //IL_2a85: Unknown result type (might be due to invalid IL or missing references) //IL_2a8f: Unknown result type (might be due to invalid IL or missing references) //IL_2aa5: Unknown result type (might be due to invalid IL or missing references) //IL_2ab7: Unknown result type (might be due to invalid IL or missing references) //IL_2ac0: Unknown result type (might be due to invalid IL or missing references) //IL_2af3: Unknown result type (might be due to invalid IL or missing references) //IL_2af8: Unknown result type (might be due to invalid IL or missing references) //IL_2b0e: Unknown result type (might be due to invalid IL or missing references) //IL_2b13: Unknown result type (might be due to invalid IL or missing references) //IL_2b29: Unknown result type (might be due to invalid IL or missing references) //IL_2b2e: Unknown result type (might be due to invalid IL or missing references) //IL_2b36: Unknown result type (might be due to invalid IL or missing references) //IL_2b3b: Unknown result type (might be due to invalid IL or missing references) //IL_2b3c: Unknown result type (might be due to invalid IL or missing references) //IL_2b46: Unknown result type (might be due to invalid IL or missing references) //IL_2b47: Unknown result type (might be due to invalid IL or missing references) //IL_2b4c: Unknown result type (might be due to invalid IL or missing references) //IL_2b56: Unknown result type (might be due to invalid IL or missing references) //IL_2b6c: Unknown result type (might be due to invalid IL or missing references) //IL_2b7e: Unknown result type (might be due to invalid IL or missing references) //IL_2b87: Unknown result type (might be due to invalid IL or missing references) //IL_2bba: Unknown result type (might be due to invalid IL or missing references) //IL_2bbf: Unknown result type (might be due to invalid IL or missing references) //IL_2bd5: 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_2bf0: 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_2bfd: Unknown result type (might be due to invalid IL or missing references) //IL_2c02: Unknown result type (might be due to invalid IL or missing references) //IL_2c03: Unknown result type (might be due to invalid IL or missing references) //IL_2c0d: Unknown result type (might be due to invalid IL or missing references) //IL_2c0e: Unknown result type (might be due to invalid IL or missing references) //IL_2c13: Unknown result type (might be due to invalid IL or missing references) //IL_2c1d: Unknown result type (might be due to invalid IL or missing references) //IL_2c33: Unknown result type (might be due to invalid IL or missing references) //IL_2c45: Unknown result type (might be due to invalid IL or missing references) //IL_2c4e: 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_2c86: Unknown result type (might be due to invalid IL or missing references) //IL_2c9c: Unknown result type (might be due to invalid IL or missing references) //IL_2ca1: 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_2cbc: Unknown result type (might be due to invalid IL or missing references) //IL_2cc4: Unknown result type (might be due to invalid IL or missing references) //IL_2cc9: Unknown result type (might be due to invalid IL or missing references) //IL_2cca: Unknown result type (might be due to invalid IL or missing references) //IL_2cd4: Unknown result type (might be due to invalid IL or missing references) //IL_2cd5: Unknown result type (might be due to invalid IL or missing references) //IL_2cda: Unknown result type (might be due to invalid IL or missing references) //IL_2ce4: Unknown result type (might be due to invalid IL or missing references) //IL_2cfa: Unknown result type (might be due to invalid IL or missing references) //IL_2d0c: Unknown result type (might be due to invalid IL or missing references) //IL_2d15: Unknown result type (might be due to invalid IL or missing references) //IL_2d48: Unknown result type (might be due to invalid IL or missing references) //IL_2d4d: Unknown result type (might be due to invalid IL or missing references) //IL_2d63: Unknown result type (might be due to invalid IL or missing references) //IL_2d68: Unknown result type (might be due to invalid IL or missing references) //IL_2d7e: Unknown result type (might be due to invalid IL or missing references) //IL_2d83: 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_2d90: Unknown result type (might be due to invalid IL or missing references) //IL_2d91: Unknown result type (might be due to invalid IL or missing references) //IL_2d9b: Unknown result type (might be due to invalid IL or missing references) //IL_2d9c: Unknown result type (might be due to invalid IL or missing references) //IL_2da1: Unknown result type (might be due to invalid IL or missing references) //IL_2dab: Unknown result type (might be due to invalid IL or missing references) //IL_2dc1: Unknown result type (might be due to invalid IL or missing references) //IL_2dd3: Unknown result type (might be due to invalid IL or missing references) //IL_2ddc: Unknown result type (might be due to invalid IL or missing references) //IL_2e0f: Unknown result type (might be due to invalid IL or missing references) //IL_2e14: Unknown result type (might be due to invalid IL or missing references) //IL_2e2a: Unknown result type (might be due to invalid IL or missing references) //IL_2e2f: Unknown result type (might be due to invalid IL or missing references) //IL_2e45: Unknown result type (might be due to invalid IL or missing references) //IL_2e4a: Unknown result type (might be due to invalid IL or missing references) //IL_2e52: Unknown result type (might be due to invalid IL or missing references) //IL_2e57: Unknown result type (might be due to invalid IL or missing references) //IL_2e58: Unknown result type (might be due to invalid IL or missing references) //IL_2e62: Unknown result type (might be due to invalid IL or missing references) //IL_2e63: Unknown result type (might be due to invalid IL or missing references) //IL_2e68: Unknown result type (might be due to invalid IL or missing references) //IL_2e72: Unknown result type (might be due to invalid IL or missing references) //IL_2e88: Unknown result type (might be due to invalid IL or missing references) //IL_2e9a: Unknown result type (might be due to invalid IL or missing references) //IL_2ea3: Unknown result type (might be due to invalid IL or missing references) //IL_2ed6: 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_2ef1: Unknown result type (might be due to invalid IL or missing references) //IL_2ef6: Unknown result type (might be due to invalid IL or missing references) //IL_2f0c: Unknown result type (might be due to invalid IL or missing references) //IL_2f11: Unknown result type (might be due to invalid IL or missing references) //IL_2f19: Unknown result type (might be due to invalid IL or missing references) //IL_2f1e: Unknown result type (might be due to invalid IL or missing references) //IL_2f1f: Unknown result type (might be due to invalid IL or missing references) //IL_2f29: Unknown result type (might be due to invalid IL or missing references) //IL_2f2a: Unknown result type (might be due to invalid IL or missing references) //IL_2f2f: Unknown result type (might be due to invalid IL or missing references) //IL_2f39: Unknown result type (might be due to invalid IL or missing references) //IL_2f4f: Unknown result type (might be due to invalid IL or missing references) //IL_2f61: 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_2f9d: Unknown result type (might be due to invalid IL or missing references) //IL_2fa2: Unknown result type (might be due to invalid IL or missing references) //IL_2fb8: Unknown result type (might be due to invalid IL or missing references) //IL_2fbd: Unknown result type (might be due to invalid IL or missing references) //IL_2fd3: Unknown result type (might be due to invalid IL or missing references) //IL_2fd8: Unknown result type (might be due to invalid IL or missing references) //IL_2fe0: Unknown result type (might be due to invalid IL or missing references) //IL_2fe5: Unknown result type (might be due to invalid IL or missing references) //IL_2fe6: Unknown result type (might be due to invalid IL or missing references) //IL_2ff0: Unknown result type (might be due to invalid IL or missing references) //IL_2ff1: Unknown result type (might be due to invalid IL or missing references) //IL_2ff6: Unknown result type (might be due to invalid IL or missing references) //IL_3000: Unknown result type (might be due to invalid IL or missing references) //IL_3016: Unknown result type (might be due to invalid IL or missing references) //IL_3028: Unknown result type (might be due to invalid IL or missing references) //IL_3031: Unknown result type (might be due to invalid IL or missing references) //IL_3064: Unknown result type (might be due to invalid IL or missing references) //IL_3069: Unknown result type (might be due to invalid IL or missing references) //IL_307f: Unknown result type (might be due to invalid IL or missing references) //IL_3084: Unknown result type (might be due to invalid IL or missing references) //IL_309a: Unknown result type (might be due to invalid IL or missing references) //IL_309f: Unknown result type (might be due to invalid IL or missing references) //IL_30a7: Unknown result type (might be due to invalid IL or missing references) //IL_30ac: 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_30b7: Unknown result type (might be due to invalid IL or missing references) //IL_30b8: Unknown result type (might be due to invalid IL or missing references) //IL_30bd: Unknown result type (might be due to invalid IL or missing references) //IL_30c7: Unknown result type (might be due to invalid IL or missing references) //IL_30dd: Unknown result type (might be due to invalid IL or missing references) //IL_30ef: Unknown result type (might be due to invalid IL or missing references) //IL_30f8: Unknown result type (might be due to invalid IL or missing references) //IL_312b: Unknown result type (might be due to invalid IL or missing references) //IL_3130: Unknown result type (might be due to invalid IL or missing references) //IL_3146: Unknown result type (might be due to invalid IL or missing references) //IL_314b: Unknown result type (might be due to invalid IL or missing references) //IL_3161: Unknown result type (might be due to invalid IL or missing references) //IL_3166: Unknown result type (might be due to invalid IL or missing references) //IL_316e: Unknown result type (might be due to invalid IL or missing references) //IL_3173: Unknown result type (might be due to invalid IL or missing references) //IL_3174: Unknown result type (might be due to invalid IL or missing references) //IL_317e: Unknown result type (might be due to invalid IL or missing references) //IL_317f: Unknown result type (might be due to invalid IL or missing references) //IL_3184: Unknown result type (might be due to invalid IL or missing references) //IL_318e: Unknown result type (might be due to invalid IL or missing references) //IL_31a4: Unknown result type (might be due to invalid IL or missing references) //IL_31b6: Unknown result type (might be due to invalid IL or missing references) //IL_31bf: Unknown result type (might be due to invalid IL or missing references) //IL_31f2: Unknown result type (might be due to invalid IL or missing references) //IL_31f7: Unknown result type (might be due to invalid IL or missing references) //IL_320d: Unknown result type (might be due to invalid IL or missing references) //IL_3212: Unknown result type (might be due to invalid IL or missing references) //IL_3228: Unknown result type (might be due to invalid IL or missing references) //IL_322d: Unknown result type (might be due to invalid IL or missing references) //IL_3235: Unknown result type (might be due to invalid IL or missing references) //IL_323a: Unknown result type (might be due to invalid IL or missing references) //IL_323b: Unknown result type (might be due to invalid IL or missing references) //IL_3245: Unknown result type (might be due to invalid IL or missing references) //IL_3246: Unknown result type (might be due to invalid IL or missing references) //IL_324b: Unknown result type (might be due to invalid IL or missing references) //IL_3255: Unknown result type (might be due to invalid IL or missing references) //IL_326b: Unknown result type (might be due to invalid IL or missing references) //IL_327d: 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_32b9: Unknown result type (might be due to invalid IL or missing references) //IL_32be: Unknown result type (might be due to invalid IL or missing references) //IL_32d4: Unknown result type (might be due to invalid IL or missing references) //IL_32d9: Unknown result type (might be due to invalid IL or missing references) //IL_32ef: Unknown result type (might be due to invalid IL or missing references) //IL_32f4: Unknown result type (might be due to invalid IL or missing references) //IL_32fc: Unknown result type (might be due to invalid IL or missing references) //IL_3301: Unknown result type (might be due to invalid IL or missing references) //IL_3302: Unknown result type (might be due to invalid IL or missing references) //IL_330c: Unknown result type (might be due to invalid IL or missing references) //IL_330d: Unknown result type (might be due to invalid IL or missing references) //IL_3312: Unknown result type (might be due to invalid IL or missing references) //IL_331c: Unknown result type (might be due to invalid IL or missing references) //IL_3332: 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_334d: Unknown result type (might be due to invalid IL or missing references) //IL_3380: Unknown result type (might be due to invalid IL or missing references) //IL_3385: Unknown result type (might be due to invalid IL or missing references) //IL_339b: Unknown result type (might be due to invalid IL or missing references) //IL_33a0: Unknown result type (might be due to invalid IL or missing references) //IL_33b6: Unknown result type (might be due to invalid IL or missing references) //IL_33bb: Unknown result type (might be due to invalid IL or missing references) //IL_33c3: Unknown result type (might be due to invalid IL or missing references) //IL_33c8: Unknown result type (might be due to invalid IL or missing references) //IL_33c9: Unknown result type (might be due to invalid IL or missing references) //IL_33d3: Unknown result type (might be due to invalid IL or missing references) //IL_33d4: 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_33e3: 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_340b: 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_3447: Unknown result type (might be due to invalid IL or missing references) //IL_344c: Unknown result type (might be due to invalid IL or missing references) //IL_3462: Unknown result type (might be due to invalid IL or missing references) //IL_3467: Unknown result type (might be due to invalid IL or missing references) //IL_347d: Unknown result type (might be due to invalid IL or missing references) //IL_3482: Unknown result type (might be due to invalid IL or missing references) //IL_348a: Unknown result type (might be due to invalid IL or missing references) //IL_348f: Unknown result type (might be due to invalid IL or missing references) //IL_3490: Unknown result type (might be due to invalid IL or missing references) //IL_349a: Unknown result type (might be due to invalid IL or missing references) //IL_349b: Unknown result type (might be due to invalid IL or missing references) //IL_34a0: Unknown result type (might be due to invalid IL or missing references) //IL_34aa: Unknown result type (might be due to invalid IL or missing references) //IL_34c0: Unknown result type (might be due to invalid IL or missing references) //IL_34d2: Unknown result type (might be due to invalid IL or missing references) //IL_34db: Unknown result type (might be due to invalid IL or missing references) //IL_350e: Unknown result type (might be due to invalid IL or missing references) //IL_3513: Unknown result type (might be due to invalid IL or missing references) //IL_3529: Unknown result type (might be due to invalid IL or missing references) //IL_352e: Unknown result type (might be due to invalid IL or missing references) //IL_3544: Unknown result type (might be due to invalid IL or missing references) //IL_3549: Unknown result type (might be due to invalid IL or missing references) //IL_3551: Unknown result type (might be due to invalid IL or missing references) //IL_3556: Unknown result type (might be due to invalid IL or missing references) //IL_3557: Unknown result type (might be due to invalid IL or missing references) //IL_3561: Unknown result type (might be due to invalid IL or missing references) //IL_3562: Unknown result type (might be due to invalid IL or missing references) //IL_3567: Unknown result type (might be due to invalid IL or missing references) //IL_3571: Unknown result type (might be due to invalid IL or missing references) //IL_3587: Unknown result type (might be due to invalid IL or missing references) //IL_3599: Unknown result type (might be due to invalid IL or missing references) //IL_35a2: Unknown result type (might be due to invalid IL or missing references) //IL_35d5: Unknown result type (might be due to invalid IL or missing references) //IL_35da: Unknown result type (might be due to invalid IL or missing references) //IL_35f0: Unknown result type (might be due to invalid IL or missing references) //IL_35f5: Unknown result type (might be due to invalid IL or missing references) //IL_360b: Unknown result type (might be due to invalid IL or missing references) //IL_3610: Unknown result type (might be due to invalid IL or missing references) //IL_3618: Unknown result type (might be due to invalid IL or missing references) //IL_361d: Unknown result type (might be due to invalid IL or missing references) //IL_361e: Unknown result type (might be due to invalid IL or missing references) //IL_3628: Unknown result type (might be due to invalid IL or missing references) //IL_3629: Unknown result type (might be due to invalid IL or missing references) //IL_362e: Unknown result type (might be due to invalid IL or missing references) //IL_3638: Unknown result type (might be due to invalid IL or missing references) //IL_364e: Unknown result type (might be due to invalid IL or missing references) //IL_3660: Unknown result type (might be due to invalid IL or missing references) //IL_3669: Unknown result type (might be due to invalid IL or missing references) //IL_369c: 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_36bc: 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_36d7: Unknown result type (might be due to invalid IL or missing references) //IL_36df: Unknown result type (might be due to invalid IL or missing references) //IL_36e4: Unknown result type (might be due to invalid IL or missing references) //IL_36e5: Unknown result type (might be due to invalid IL or missing references) //IL_36ef: Unknown result type (might be due to invalid IL or missing references) //IL_36f0: Unknown result type (might be due to invalid IL or missing references) //IL_36f5: Unknown result type (might be due to invalid IL or missing references) //IL_36ff: Unknown result type (might be due to invalid IL or missing references) //IL_3715: Unknown result type (might be due to invalid IL or missing references) //IL_3727: Unknown result type (might be due to invalid IL or missing references) //IL_3730: Unknown result type (might be due to invalid IL or missing references) //IL_3763: Unknown result type (might be due to invalid IL or missing references) //IL_3768: Unknown result type (might be due to invalid IL or missing references) //IL_377e: Unknown result type (might be due to invalid IL or missing references) //IL_3783: Unknown result type (might be due to invalid IL or missing references) //IL_3799: Unknown result type (might be due to invalid IL or missing references) //IL_379e: Unknown result type (might be due to invalid IL or missing references) //IL_37a6: Unknown result type (might be due to invalid IL or missing references) //IL_37ab: Unknown result type (might be due to invalid IL or missing references) //IL_37ac: Unknown result type (might be due to invalid IL or missing references) //IL_37b6: Unknown result type (might be due to invalid IL or missing references) //IL_37b7: Unknown result type (might be due to invalid IL or missing references) //IL_37bc: Unknown result type (might be due to invalid IL or missing references) //IL_37c6: Unknown result type (might be due to invalid IL or missing references) //IL_37dc: Unknown result type (might be due to invalid IL or missing references) //IL_37ee: Unknown result type (might be due to invalid IL or missing references) //IL_37f7: Unknown result type (might be due to invalid IL or missing references) //IL_382a: Unknown result type (might be due to invalid IL or missing references) //IL_382f: Unknown result type (might be due to invalid IL or missing references) //IL_3845: Unknown result type (might be due to invalid IL or missing references) //IL_384a: Unknown result type (might be due to invalid IL or missing references) //IL_3860: Unknown result type (might be due to invalid IL or missing references) //IL_3865: Unknown result type (might be due to invalid IL or missing references) //IL_386d: Unknown result type (might be due to invalid IL or missing references) //IL_3872: Unknown result type (might be due to invalid IL or missing references) //IL_3873: Unknown result type (might be due to invalid IL or missing references) //IL_387d: Unknown result type (might be due to invalid IL or missing references) //IL_387e: Unknown result type (might be due to invalid IL or missing references) //IL_3883: Unknown result type (might be due to invalid IL or missing references) //IL_388d: Unknown result type (might be due to invalid IL or missing references) //IL_38a3: Unknown result type (might be due to invalid IL or missing references) //IL_38b5: Unknown result type (might be due to invalid IL or missing references) //IL_38be: Unknown result type (might be due to invalid IL or missing references) //IL_38f1: Unknown result type (might be due to invalid IL or missing references) //IL_38f6: Unknown result type (might be due to invalid IL or missing references) //IL_390c: Unknown result type (might be due to invalid IL or missing references) //IL_3911: Unknown result type (might be due to invalid IL or missing references) //IL_3927: Unknown result type (might be due to invalid IL or missing references) //IL_392c: Unknown result type (might be due to invalid IL or missing references) //IL_3934: Unknown result type (might be due to invalid IL or missing references) //IL_3939: Unknown result type (might be due to invalid IL or missing references) //IL_393a: Unknown result type (might be due to invalid IL or missing references) //IL_3944: Unknown result type (might be due to invalid IL or missing references) //IL_3945: Unknown result type (might be due to invalid IL or missing references) //IL_394a: Unknown result type (might be due to invalid IL or missing references) //IL_3954: Unknown result type (might be due to invalid IL or missing references) //IL_396a: Unknown result type (might be due to invalid IL or missing references) //IL_397c: Unknown result type (might be due to invalid IL or missing references) //IL_3985: Unknown result type (might be due to invalid IL or missing references) //IL_39b8: Unknown result type (might be due to invalid IL or missing references) //IL_39bd: Unknown result type (might be due to invalid IL or missing references) //IL_39d3: Unknown result type (might be due to invalid IL or missing references) //IL_39d8: Unknown result type (might be due to invalid IL or missing references) //IL_39ee: Unknown result type (might be due to invalid IL or missing references) //IL_39f3: Unknown result type (might be due to invalid IL or missing references) //IL_39fb: Unknown result type (might be due to invalid IL or missing references) //IL_3a00: Unknown result type (might be due to invalid IL or missing references) //IL_3a01: Unknown result type (might be due to invalid IL or missing references) //IL_3a0b: Unknown result type (might be due to invalid IL or missing references) //IL_3a0c: Unknown result type (might be due to invalid IL or missing references) //IL_3a11: Unknown result type (might be due to invalid IL or missing references) //IL_3a1b: 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_3a43: 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_3a7f: 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_3a9a: Unknown result type (might be due to invalid IL or missing references) //IL_3a9f: Unknown result type (might be due to invalid IL or missing references) //IL_3ab5: Unknown result type (might be due to invalid IL or missing references) //IL_3aba: Unknown result type (might be due to invalid IL or missing references) //IL_3ac2: Unknown result type (might be due to invalid IL or missing references) //IL_3ac7: Unknown result type (might be due to invalid IL or missing references) //IL_3ac8: Unknown result type (might be due to invalid IL or missing references) //IL_3ad2: Unknown result type (might be due to invalid IL or missing references) //IL_3ad3: Unknown result type (might be due to invalid IL or missing references) //IL_3ad8: Unknown result type (might be due to invalid IL or missing references) //IL_3ae2: Unknown result type (might be due to invalid IL or missing references) //IL_3af8: Unknown result type (might be due to invalid IL or missing references) //IL_3b0a: Unknown result type (might be due to invalid IL or missing references) //IL_3b13: Unknown result type (might be due to invalid IL or missing references) //IL_3b46: Unknown result type (might be due to invalid IL or missing references) //IL_3b4b: Unknown result type (might be due to invalid IL or missing references) //IL_3b61: Unknown result type (might be due to invalid IL or missing references) //IL_3b66: Unknown result type (might be due to invalid IL or missing references) //IL_3b7c: Unknown result type (might be due to invalid IL or missing references) //IL_3b81: Unknown result type (might be due to invalid IL or missing references) //IL_3b89: Unknown result type (might be due to invalid IL or missing references) //IL_3b8e: Unknown result type (might be due to invalid IL or missing references) //IL_3b8f: Unknown result type (might be due to invalid IL or missing references) //IL_3b99: Unknown result type (might be due to invalid IL or missing references) //IL_3b9a: Unknown result type (might be due to invalid IL or missing references) //IL_3b9f: Unknown result type (might be due to invalid IL or missing references) //IL_3ba9: Unknown result type (might be due to invalid IL or missing references) //IL_3bbf: Unknown result type (might be due to invalid IL or missing references) //IL_3bd1: Unknown result type (might be due to invalid IL or missing references) //IL_3bda: Unknown result type (might be due to invalid IL or missing references) //IL_3c0d: Unknown result type (might be due to invalid IL or missing references) //IL_3c12: Unknown result type (might be due to invalid IL or missing references) //IL_3c28: Unknown result type (might be due to invalid IL or missing references) //IL_3c2d: Unknown result type (might be due to invalid IL or missing references) //IL_3c43: Unknown result type (might be due to invalid IL or missing references) //IL_3c48: Unknown result type (might be due to invalid IL or missing references) //IL_3c50: Unknown result type (might be due to invalid IL or missing references) //IL_3c55: 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_3c60: Unknown result type (might be due to invalid IL or missing references) //IL_3c61: Unknown result type (might be due to invalid IL or missing references) //IL_3c66: Unknown result type (might be due to invalid IL or missing references) //IL_3c70: Unknown result type (might be due to invalid IL or missing references) //IL_3c86: Unknown result type (might be due to invalid IL or missing references) //IL_3c98: Unknown result type (might be due to invalid IL or missing references) //IL_3ca1: Unknown result type (might be due to invalid IL or missing references) //IL_3cd4: Unknown result type (might be due to invalid IL or missing references) //IL_3cd9: Unknown result type (might be due to invalid IL or missing references) //IL_3cef: Unknown result type (might be due to invalid IL or missing references) //IL_3cf4: Unknown result type (might be due to invalid IL or missing references) //IL_3d0a: 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_3d17: Unknown result type (might be due to invalid IL or missing references) //IL_3d1c: Unknown result type (might be due to invalid IL or missing references) //IL_3d1d: Unknown result type (might be due to invalid IL or missing references) //IL_3d27: Unknown result type (might be due to invalid IL or missing references) //IL_3d28: Unknown result type (might be due to invalid IL or missing references) //IL_3d2d: Unknown result type (might be due to invalid IL or missing references) //IL_3d37: Unknown result type (might be due to invalid IL or missing references) //IL_3d4d: Unknown result type (might be due to invalid IL or missing references) //IL_3d5f: Unknown result type (might be due to invalid IL or missing references) //IL_3d68: Unknown result type (might be due to invalid IL or missing references) //IL_3d9b: 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_3db6: Unknown result type (might be due to invalid IL or missing references) //IL_3dbb: Unknown result type (might be due to invalid IL or missing references) //IL_3dd1: Unknown result type (might be due to invalid IL or missing references) //IL_3dd6: Unknown result type (might be due to invalid IL or missing references) //IL_3dde: Unknown result type (might be due to invalid IL or missing references) //IL_3de3: Unknown result type (might be due to invalid IL or missing references) //IL_3de4: Unknown result type (might be due to invalid IL or missing references) //IL_3dee: Unknown result type (might be due to invalid IL or missing references) //IL_3def: Unknown result type (might be due to invalid IL or missing references) //IL_3df4: Unknown result type (might be due to invalid IL or missing references) //IL_3dfe: Unknown result type (might be due to invalid IL or missing references) //IL_3e14: Unknown result type (might be due to invalid IL or missing references) //IL_3e26: Unknown result type (might be due to invalid IL or missing references) //IL_3e2f: Unknown result type (might be due to invalid IL or missing references) //IL_3e62: Unknown result type (might be due to invalid IL or missing references) //IL_3e67: Unknown result type (might be due to invalid IL or missing references) //IL_3e7d: Unknown result type (might be due to invalid IL or missing references) //IL_3e82: Unknown result type (might be due to invalid IL or missing references) //IL_3e98: Unknown result type (might be due to invalid IL or missing references) //IL_3e9d: 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_3eaa: Unknown result type (might be due to invalid IL or missing references) //IL_3eab: Unknown result type (might be due to invalid IL or missing references) //IL_3eb5: Unknown result type (might be due to invalid IL or missing references) //IL_3eb6: Unknown result type (might be due to invalid IL or missing references) //IL_3ebb: Unknown result type (might be due to invalid IL or missing references) //IL_3ec5: Unknown result type (might be due to invalid IL or missing references) //IL_3edb: Unknown result type (might be due to invalid IL or missing references) //IL_3eed: Unknown result type (might be due to invalid IL or missing references) //IL_3ef6: 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_3f44: Unknown result type (might be due to invalid IL or missing references) //IL_3f49: Unknown result type (might be due to invalid IL or missing references) //IL_3f5f: Unknown result type (might be due to invalid IL or missing references) //IL_3f64: Unknown result type (might be due to invalid IL or missing references) //IL_3f6c: Unknown result type (might be due to invalid IL or missing references) //IL_3f71: Unknown result type (might be due to invalid IL or missing references) //IL_3f72: Unknown result type (might be due to invalid IL or missing references) //IL_3f7b: Unknown result type (might be due to invalid IL or missing references) //IL_3f84: 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_3fd2: Unknown result type (might be due to invalid IL or missing references) //IL_3fd7: Unknown result type (might be due to invalid IL or missing references) //IL_3fed: Unknown result type (might be due to invalid IL or missing references) //IL_3ff2: Unknown result type (might be due to invalid IL or missing references) //IL_3ffa: Unknown result type (might be due to invalid IL or missing references) //IL_3fff: Unknown result type (might be due to invalid IL or missing references) //IL_4000: Unknown result type (might be due to invalid IL or missing references) //IL_400a: Unknown result type (might be due to invalid IL or missing references) //IL_400b: 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_401a: Unknown result type (might be due to invalid IL or missing references) //IL_4030: Unknown result type (might be due to invalid IL or missing references) //IL_4042: Unknown result type (might be due to invalid IL or missing references) //IL_404b: Unknown result type (might be due to invalid IL or missing references) //IL_407e: Unknown result type (might be due to invalid IL or missing references) //IL_4083: Unknown result type (might be due to invalid IL or missing references) //IL_4099: Unknown result type (might be due to invalid IL or missing references) //IL_409e: Unknown result type (might be due to invalid IL or missing references) //IL_40b4: Unknown result type (might be due to invalid IL or missing references) //IL_40b9: Unknown result type (might be due to invalid IL or missing references) //IL_40c1: Unknown result type (might be due to invalid IL or missing references) //IL_40c6: Unknown result type (might be due to invalid IL or missing references) //IL_40c7: Unknown result type (might be due to invalid IL or missing references) //IL_40d1: Unknown result type (might be due to invalid IL or missing references) //IL_40d2: Unknown result type (might be due to invalid IL or missing references) //IL_40d7: Unknown result type (might be due to invalid IL or missing references) //IL_40e1: Unknown result type (might be due to invalid IL or missing references) //IL_40f7: Unknown result type (might be due to invalid IL or missing references) //IL_4109: Unknown result type (might be due to invalid IL or missing references) //IL_4112: Unknown result type (might be due to invalid IL or missing references) //IL_4145: Unknown result type (might be due to invalid IL or missing references) //IL_414a: 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_4165: Unknown result type (might be due to invalid IL or missing references) //IL_417b: Unknown result type (might be due to invalid IL or missing references) //IL_4180: Unknown result type (might be due to invalid IL or missing references) //IL_4188: Unknown result type (might be due to invalid IL or missing references) //IL_418d: Unknown result type (might be due to invalid IL or missing references) //IL_418e: Unknown result type (might be due to invalid IL or missing references) //IL_4198: Unknown result type (might be due to invalid IL or missing references) //IL_4199: Unknown result type (might be due to invalid IL or missing references) //IL_419e: Unknown result type (might be due to invalid IL or missing references) //IL_41a8: Unknown result type (might be due to invalid IL or missing references) //IL_41be: Unknown result type (might be due to invalid IL or missing references) //IL_41d0: Unknown result type (might be due to invalid IL or missing references) //IL_41d9: Unknown result type (might be due to invalid IL or missing references) //IL_420c: Unknown result type (might be due to invalid IL or missing references) //IL_4211: Unknown result type (might be due to invalid IL or missing references) //IL_4227: Unknown result type (might be due to invalid IL or missing references) //IL_422c: Unknown result type (might be due to invalid IL or missing references) //IL_4242: Unknown result type (might be due to invalid IL or missing references) //IL_4247: Unknown result type (might be due to invalid IL or missing references) //IL_424f: Unknown result type (might be due to invalid IL or missing references) //IL_4254: Unknown result type (might be due to invalid IL or missing references) //IL_4255: 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_4260: Unknown result type (might be due to invalid IL or missing references) //IL_4265: Unknown result type (might be due to invalid IL or missing references) //IL_426f: Unknown result type (might be due to invalid IL or missing references) //IL_4285: Unknown result type (might be due to invalid IL or missing references) //IL_4297: Unknown result type (might be due to invalid IL or missing references) //IL_42a0: Unknown result type (might be due to invalid IL or missing references) //IL_42d3: Unknown result type (might be due to invalid IL or missing references) //IL_42d8: Unknown result type (might be due to invalid IL or missing references) //IL_42ee: Unknown result type (might be due to invalid IL or missing references) //IL_42f3: Unknown result type (might be due to invalid IL or missing references) //IL_4309: Unknown result type (might be due to invalid IL or missing references) //IL_430e: Unknown result type (might be due to invalid IL or missing references) //IL_4316: Unknown result type (might be due to invalid IL or missing references) //IL_431b: Unknown result type (might be due to invalid IL or missing references) //IL_431c: Unknown result type (might be due to invalid IL or missing references) //IL_4326: Unknown result type (might be due to invalid IL or missing references) //IL_4327: Unknown result type (might be due to invalid IL or missing references) //IL_432c: Unknown result type (might be due to invalid IL or missing references) //IL_4336: Unknown result type (might be due to invalid IL or missing references) //IL_434c: Unknown result type (might be due to invalid IL or missing references) //IL_435e: Unknown result type (might be due to invalid IL or missing references) //IL_4367: Unknown result type (might be due to invalid IL or missing references) //IL_439a: Unknown result type (might be due to invalid IL or missing references) //IL_439f: Unknown result type (might be due to invalid IL or missing references) //IL_43b5: Unknown result type (might be due to invalid IL or missing references) //IL_43ba: Unknown result type (might be due to invalid IL or missing references) //IL_43d0: Unknown result type (might be due to invalid IL or missing references) //IL_43d5: Unknown result type (might be due to invalid IL or missing references) //IL_43dd: Unknown result type (might be due to invalid IL or missing references) //IL_43e2: Unknown result type (might be due to invalid IL or missing references) //IL_43e3: Unknown result type (might be due to invalid IL or missing references) //IL_43ed: Unknown result type (might be due to invalid IL or missing references) //IL_43ee: Unknown result type (might be due to invalid IL or missing references) //IL_43f3: Unknown result type (might be due to invalid IL or missing references) //IL_43fd: Unknown result type (might be due to invalid IL or missing references) //IL_4413: Unknown result type (might be due to invalid IL or missing references) //IL_4425: Unknown result type (might be due to invalid IL or missing references) //IL_442e: Unknown result type (might be due to invalid IL or missing references) //IL_4461: Unknown result type (might be due to invalid IL or missing references) //IL_4466: Unknown result type (might be due to invalid IL or missing references) //IL_447c: Unknown result type (might be due to invalid IL or missing references) //IL_4481: 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_44a4: Unknown result type (might be due to invalid IL or missing references) //IL_44a9: 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_44b3: Unknown result type (might be due to invalid IL or missing references) //IL_44bc: Unknown result type (might be due to invalid IL or missing references) //IL_44ef: Unknown result type (might be due to invalid IL or missing references) //IL_44f4: Unknown result type (might be due to invalid IL or missing references) //IL_450a: Unknown result type (might be due to invalid IL or missing references) //IL_450f: Unknown result type (might be due to invalid IL or missing references) //IL_4525: Unknown result type (might be due to invalid IL or missing references) //IL_452a: Unknown result type (might be due to invalid IL or missing references) //IL_4532: Unknown result type (might be due to invalid IL or missing references) //IL_4537: Unknown result type (might be due to invalid IL or missing references) //IL_4538: Unknown result type (might be due to invalid IL or missing references) //IL_4542: Unknown result type (might be due to invalid IL or missing references) //IL_4543: Unknown result type (might be due to invalid IL or missing references) //IL_4548: Unknown result type (might be due to invalid IL or missing references) //IL_4552: Unknown result type (might be due to invalid IL or missing references) //IL_4568: Unknown result type (might be due to invalid IL or missing references) //IL_457a: Unknown result type (might be due to invalid IL or missing references) //IL_4583: Unknown result type (might be due to invalid IL or missing references) //IL_45b6: Unknown result type (might be due to invalid IL or missing references) //IL_45bb: Unknown result type (might be due to invalid IL or missing references) //IL_45d1: Unknown result type (might be due to invalid IL or missing references) //IL_45d6: Unknown result type (might be due to invalid IL or missing references) //IL_45ec: Unknown result type (might be due to invalid IL or missing references) //IL_45f1: 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_45fe: Unknown result type (might be due to invalid IL or missing references) //IL_45ff: Unknown result type (might be due to invalid IL or missing references) //IL_4609: Unknown result type (might be due to invalid IL or missing references) //IL_460a: 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_4619: Unknown result type (might be due to invalid IL or missing references) //IL_462f: Unknown result type (might be due to invalid IL or missing references) //IL_4641: Unknown result type (might be due to invalid IL or missing references) //IL_464a: Unknown result type (might be due to invalid IL or missing references) //IL_467d: Unknown result type (might be due to invalid IL or missing references) //IL_4682: Unknown result type (might be due to invalid IL or missing references) //IL_4698: Unknown result type (might be due to invalid IL or missing references) //IL_469d: Unknown result type (might be due to invalid IL or missing references) //IL_46b3: Unknown result type (might be due to invalid IL or missing references) //IL_46b8: Unknown result type (might be due to invalid IL or missing references) //IL_46c0: Unknown result type (might be due to invalid IL or missing references) //IL_46c5: Unknown result type (might be due to invalid IL or missing references) //IL_46c6: Unknown result type (might be due to invalid IL or missing references) //IL_46cf: Unknown result type (might be due to invalid IL or missing references) //IL_46d8: 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_4710: Unknown result type (might be due to invalid IL or missing references) //IL_4726: Unknown result type (might be due to invalid IL or missing references) //IL_472b: Unknown result type (might be due to invalid IL or missing references) //IL_4741: Unknown result type (might be due to invalid IL or missing references) //IL_4746: Unknown result type (might be due to invalid IL or missing references) //IL_474e: Unknown result type (might be due to invalid IL or missing references) //IL_4753: Unknown result type (might be due to invalid IL or missing references) //IL_4754: Unknown result type (might be due to invalid IL or missing references) //IL_475e: Unknown result type (might be due to invalid IL or missing references) //IL_475f: Unknown result type (might be due to invalid IL or missing references) //IL_4764: Unknown result type (might be due to invalid IL or missing references) //IL_476e: Unknown result type (might be due to invalid IL or missing references) //IL_4784: Unknown result type (might be due to invalid IL or missing references) //IL_4796: Unknown result type (might be due to invalid IL or missing references) //IL_479f: Unknown result type (might be due to invalid IL or missing references) //IL_47d2: Unknown result type (might be due to invalid IL or missing references) //IL_47d7: Unknown result type (might be due to invalid IL or missing references) //IL_47ed: Unknown result type (might be due to invalid IL or missing references) //IL_47f2: Unknown result type (might be due to invalid IL or missing references) //IL_4808: Unknown result type (might be due to invalid IL or missing references) //IL_480d: Unknown result type (might be due to invalid IL or missing references) //IL_4815: Unknown result type (might be due to invalid IL or missing references) //IL_481a: Unknown result type (might be due to invalid IL or missing references) //IL_481b: Unknown result type (might be due to invalid IL or missing references) //IL_4824: Unknown result type (might be due to invalid IL or missing references) //IL_482d: Unknown result type (might be due to invalid IL or missing references) //IL_4860: Unknown result type (might be due to invalid IL or missing references) //IL_4865: Unknown result type (might be due to invalid IL or missing references) //IL_487b: Unknown result type (might be due to invalid IL or missing references) //IL_4880: Unknown result type (might be due to invalid IL or missing references) //IL_4896: Unknown result type (might be due to invalid IL or missing references) //IL_489b: Unknown result type (might be due to invalid IL or missing references) //IL_48a3: Unknown result type (might be due to invalid IL or missing references) //IL_48a8: Unknown result type (might be due to invalid IL or missing references) //IL_48a9: Unknown result type (might be due to invalid IL or missing references) //IL_48b3: Unknown result type (might be due to invalid IL or missing references) //IL_48b4: Unknown result type (might be due to invalid IL or missing references) //IL_48b9: Unknown result type (might be due to invalid IL or missing references) //IL_48c3: Unknown result type (might be due to invalid IL or missing references) //IL_48d9: Unknown result type (might be due to invalid IL or missing references) //IL_48eb: Unknown result type (might be due to invalid IL or missing references) //IL_48f4: Unknown result type (might be due to invalid IL or missing references) //IL_4927: Unknown result type (might be due to invalid IL or missing references) //IL_492c: Unknown result type (might be due to invalid IL or missing references) //IL_4942: Unknown result type (might be due to invalid IL or missing references) //IL_4947: Unknown result type (might be due to invalid IL or missing references) //IL_495d: Unknown result type (might be due to invalid IL or missing references) //IL_4962: Unknown result type (might be due to invalid IL or missing references) //IL_496a: Unknown result type (might be due to invalid IL or missing references) //IL_496f: Unknown result type (might be due to invalid IL or missing references) //IL_4970: Unknown result type (might be due to invalid IL or missing references) //IL_497a: Unknown result type (might be due to invalid IL or missing references) //IL_497b: Unknown result type (might be due to invalid IL or missing references) //IL_4980: Unknown result type (might be due to invalid IL or missing references) //IL_498a: Unknown result type (might be due to invalid IL or missing references) //IL_4997: Unknown result type (might be due to invalid IL or missing references) //IL_499c: Unknown result type (might be due to invalid IL or missing references) //IL_49ad: Unknown result type (might be due to invalid IL or missing references) //IL_49bf: Unknown result type (might be due to invalid IL or missing references) //IL_49c8: Unknown result type (might be due to invalid IL or missing references) //IL_49fb: Unknown result type (might be due to invalid IL or missing references) //IL_4a00: Unknown result type (might be due to invalid IL or missing references) //IL_4a16: Unknown result type (might be due to invalid IL or missing references) //IL_4a1b: Unknown result type (might be due to invalid IL or missing references) //IL_4a31: Unknown result type (might be due to invalid IL or missing references) //IL_4a36: Unknown result type (might be due to invalid IL or missing references) //IL_4a3e: Unknown result type (might be due to invalid IL or missing references) //IL_4a43: Unknown result type (might be due to invalid IL or missing references) //IL_4a44: Unknown result type (might be due to invalid IL or missing references) //IL_4a4e: Unknown result type (might be due to invalid IL or missing references) //IL_4a4f: Unknown result type (might be due to invalid IL or missing references) //IL_4a54: Unknown result type (might be due to invalid IL or missing references) //IL_4a5e: Unknown result type (might be due to invalid IL or missing references) //IL_4a74: Unknown result type (might be due to invalid IL or missing references) //IL_4a86: Unknown result type (might be due to invalid IL or missing references) //IL_4a8f: Unknown result type (might be due to invalid IL or missing references) //IL_4ac2: Unknown result type (might be due to invalid IL or missing references) //IL_4ac7: Unknown result type (might be due to invalid IL or missing references) //IL_4add: Unknown result type (might be due to invalid IL or missing references) //IL_4ae2: Unknown result type (might be due to invalid IL or missing references) //IL_4af8: Unknown result type (might be due to invalid IL or missing references) //IL_4afd: Unknown result type (might be due to invalid IL or missing references) //IL_4b05: Unknown result type (might be due to invalid IL or missing references) //IL_4b0a: Unknown result type (might be due to invalid IL or missing references) //IL_4b0b: Unknown result type (might be due to invalid IL or missing references) //IL_4b15: Unknown result type (might be due to invalid IL or missing references) //IL_4b16: Unknown result type (might be due to invalid IL or missing references) //IL_4b1b: Unknown result type (might be due to invalid IL or missing references) //IL_4b25: Unknown result type (might be due to invalid IL or missing references) //IL_4b3b: Unknown result type (might be due to invalid IL or missing references) //IL_4b4d: Unknown result type (might be due to invalid IL or missing references) //IL_4b56: Unknown result type (might be due to invalid IL or missing references) //IL_4b89: Unknown result type (might be due to invalid IL or missing references) //IL_4b8e: Unknown result type (might be due to invalid IL or missing references) //IL_4ba4: 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_4bbf: Unknown result type (might be due to invalid IL or missing references) //IL_4bc4: Unknown result type (might be due to invalid IL or missing references) //IL_4bcc: Unknown result type (might be due to invalid IL or missing references) //IL_4bd1: Unknown result type (might be due to invalid IL or missing references) //IL_4bd2: Unknown result type (might be due to invalid IL or missing references) //IL_4bdc: Unknown result type (might be due to invalid IL or missing references) //IL_4bdd: Unknown result type (might be due to invalid IL or missing references) //IL_4be2: Unknown result type (might be due to invalid IL or missing references) //IL_4bec: Unknown result type (might be due to invalid IL or missing references) //IL_4c02: Unknown result type (might be due to invalid IL or missing references) //IL_4c14: Unknown result type (might be due to invalid IL or missing references) //IL_4c1d: Unknown result type (might be due to invalid IL or missing references) //IL_4c50: Unknown result type (might be due to invalid IL or missing references) //IL_4c55: Unknown result type (might be due to invalid IL or missing references) //IL_4c6b: Unknown result type (might be due to invalid IL or missing references) //IL_4c70: Unknown result type (might be due to invalid IL or missing references) //IL_4c86: Unknown result type (might be due to invalid IL or missing references) //IL_4c8b: Unknown result type (might be due to invalid IL or missing references) //IL_4c93: 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_4c99: Unknown result type (might be due to invalid IL or missing references) //IL_4ca3: Unknown result type (might be due to invalid IL or missing references) //IL_4ca4: Unknown result type (might be due to invalid IL or missing references) //IL_4ca9: Unknown result type (might be due to invalid IL or missing references) //IL_4cb3: 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_4cdb: Unknown result type (might be due to invalid IL or missing references) //IL_4ce4: 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_4d4d: Unknown result type (might be due to invalid IL or missing references) //IL_4d52: Unknown result type (might be due to invalid IL or missing references) //IL_4d5a: Unknown result type (might be due to invalid IL or missing references) //IL_4d5f: Unknown result type (might be due to invalid IL or missing references) //IL_4d60: Unknown result type (might be due to invalid IL or missing references) //IL_4d6a: Unknown result type (might be due to invalid IL or missing references) //IL_4d6b: Unknown result type (might be due to invalid IL or missing references) //IL_4d70: Unknown result type (might be due to invalid IL or missing references) //IL_4d7a: Unknown result type (might be due to invalid IL or missing references) //IL_4d90: Unknown result type (might be due to invalid IL or missing references) //IL_4da2: Unknown result type (might be due to invalid IL or missing references) //IL_4dab: Unknown result type (might be due to invalid IL or missing references) //IL_4dde: Unknown result type (might be due to invalid IL or missing references) //IL_4de3: Unknown result type (might be due to invalid IL or missing references) //IL_4df9: Unknown result type (might be due to invalid IL or missing references) //IL_4dfe: Unknown result type (might be due to invalid IL or missing references) //IL_4e14: Unknown result type (might be due to invalid IL or missing references) //IL_4e19: Unknown result type (might be due to invalid IL or missing references) //IL_4e21: Unknown result type (might be due to invalid IL or missing references) //IL_4e26: Unknown result type (might be due to invalid IL or missing references) //IL_4e27: Unknown result type (might be due to invalid IL or missing references) //IL_4e31: Unknown result type (might be due to invalid IL or missing references) //IL_4e32: Unknown result type (might be due to invalid IL or missing references) //IL_4e37: Unknown result type (might be due to invalid IL or missing references) //IL_4e41: Unknown result type (might be due to invalid IL or missing references) //IL_4e57: Unknown result type (might be due to invalid IL or missing references) //IL_4e69: Unknown result type (might be due to invalid IL or missing references) //IL_4e72: Unknown result type (might be due to invalid IL or missing references) //IL_4ea5: Unknown result type (might be due to invalid IL or missing references) //IL_4eaa: Unknown result type (might be due to invalid IL or missing references) //IL_4ec0: Unknown result type (might be due to invalid IL or missing references) //IL_4ec5: 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_4ee0: Unknown result type (might be due to invalid IL or missing references) //IL_4ee8: Unknown result type (might be due to invalid IL or missing references) //IL_4eed: Unknown result type (might be due to invalid IL or missing references) //IL_4eee: Unknown result type (might be due to invalid IL or missing references) //IL_4ef8: 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_4efe: Unknown result type (might be due to invalid IL or missing references) //IL_4f08: Unknown result type (might be due to invalid IL or missing references) //IL_4f1e: Unknown result type (might be due to invalid IL or missing references) //IL_4f30: Unknown result type (might be due to invalid IL or missing references) //IL_4f39: Unknown result type (might be due to invalid IL or missing references) //IL_4f6c: Unknown result type (might be due to invalid IL or missing references) //IL_4f71: Unknown result type (might be due to invalid IL or missing references) //IL_4f87: Unknown result type (might be due to invalid IL or missing references) //IL_4f8c: Unknown result type (might be due to invalid IL or missing references) //IL_4fa2: Unknown result type (might be due to invalid IL or missing references) //IL_4fa7: 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_4fb4: Unknown result type (might be due to invalid IL or missing references) //IL_4fb5: Unknown result type (might be due to invalid IL or missing references) //IL_4fbe: Unknown result type (might be due to invalid IL or missing references) //IL_4fc7: Unknown result type (might be due to invalid IL or missing references) //IL_4ffa: Unknown result type (might be due to invalid IL or missing references) //IL_4fff: Unknown result type (might be due to invalid IL or missing references) //IL_5015: Unknown result type (might be due to invalid IL or missing references) //IL_501a: Unknown result type (might be due to invalid IL or missing references) //IL_5030: Unknown result type (might be due to invalid IL or missing references) //IL_5035: Unknown result type (might be due to invalid IL or missing references) //IL_503d: Unknown result type (might be due to invalid IL or missing references) //IL_5042: Unknown result type (might be due to invalid IL or missing references) //IL_5043: Unknown result type (might be due to invalid IL or missing references) //IL_504d: Unknown result type (might be due to invalid IL or missing references) //IL_504e: Unknown result type (might be due to invalid IL or missing references) //IL_5053: Unknown result type (might be due to invalid IL or missing references) //IL_505d: Unknown result type (might be due to invalid IL or missing references) //IL_5073: Unknown result type (might be due to invalid IL or missing references) //IL_5085: Unknown result type (might be due to invalid IL or missing references) //IL_508e: Unknown result type (might be due to invalid IL or missing references) //IL_50c1: Unknown result type (might be due to invalid IL or missing references) //IL_50c6: Unknown result type (might be due to invalid IL or missing references) //IL_50dc: Unknown result type (might be due to invalid IL or missing references) //IL_50e1: Unknown result type (might be due to invalid IL or missing references) //IL_50f7: Unknown result type (might be due to invalid IL or missing references) //IL_50fc: Unknown result type (might be due to invalid IL or missing references) //IL_5104: Unknown result type (might be due to invalid IL or missing references) //IL_5109: Unknown result type (might be due to invalid IL or missing references) //IL_510a: Unknown result type (might be due to invalid IL or missing references) //IL_5114: Unknown result type (might be due to invalid IL or missing references) //IL_5115: Unknown result type (might be due to invalid IL or missing references) //IL_511a: Unknown result type (might be due to invalid IL or missing references) //IL_5124: Unknown result type (might be due to invalid IL or missing references) //IL_513a: Unknown result type (might be due to invalid IL or missing references) //IL_514c: Unknown result type (might be due to invalid IL or missing references) //IL_5155: Unknown result type (might be due to invalid IL or missing references) //IL_5188: 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_51a3: Unknown result type (might be due to invalid IL or missing references) //IL_51a8: Unknown result type (might be due to invalid IL or missing references) //IL_51be: Unknown result type (might be due to invalid IL or missing references) //IL_51c3: Unknown result type (might be due to invalid IL or missing references) //IL_51cb: Unknown result type (might be due to invalid IL or missing references) //IL_51d0: Unknown result type (might be due to invalid IL or missing references) //IL_51d1: Unknown result type (might be due to invalid IL or missing references) //IL_51db: 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_51e1: Unknown result type (might be due to invalid IL or missing references) //IL_51eb: Unknown result type (might be due to invalid IL or missing references) //IL_5201: Unknown result type (might be due to invalid IL or missing references) //IL_5213: Unknown result type (might be due to invalid IL or missing references) //IL_521c: Unknown result type (might be due to invalid IL or missing references) //IL_524f: Unknown result type (might be due to invalid IL or missing references) //IL_5254: Unknown result type (might be due to invalid IL or missing references) //IL_526a: Unknown result type (might be due to invalid IL or missing references) //IL_526f: Unknown result type (might be due to invalid IL or missing references) //IL_5285: Unknown result type (might be due to invalid IL or missing references) //IL_528a: Unknown result type (might be due to invalid IL or missing references) //IL_5292: Unknown result type (might be due to invalid IL or missing references) //IL_5297: Unknown result type (might be due to invalid IL or missing references) //IL_5298: Unknown result type (might be due to invalid IL or missing references) //IL_52a2: Unknown result type (might be due to invalid IL or missing references) //IL_52a3: Unknown result type (might be due to invalid IL or missing references) //IL_52a8: Unknown result type (might be due to invalid IL or missing references) //IL_52b2: Unknown result type (might be due to invalid IL or missing references) //IL_52c8: 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_52e3: Unknown result type (might be due to invalid IL or missing references) //IL_5316: Unknown result type (might be due to invalid IL or missing references) //IL_531b: Unknown result type (might be due to invalid IL or missing references) //IL_5331: Unknown result type (might be due to invalid IL or missing references) //IL_5336: Unknown result type (might be due to invalid IL or missing references) //IL_534c: Unknown result type (might be due to invalid IL or missing references) //IL_5351: Unknown result type (might be due to invalid IL or missing references) //IL_5359: Unknown result type (might be due to invalid IL or missing references) //IL_535e: Unknown result type (might be due to invalid IL or missing references) //IL_535f: 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_536a: Unknown result type (might be due to invalid IL or missing references) //IL_536f: Unknown result type (might be due to invalid IL or missing references) //IL_5379: Unknown result type (might be due to invalid IL or missing references) //IL_538f: Unknown result type (might be due to invalid IL or missing references) //IL_53a1: 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_53dd: Unknown result type (might be due to invalid IL or missing references) //IL_53e2: 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_53fd: Unknown result type (might be due to invalid IL or missing references) //IL_5413: Unknown result type (might be due to invalid IL or missing references) //IL_5418: Unknown result type (might be due to invalid IL or missing references) //IL_5420: Unknown result type (might be due to invalid IL or missing references) //IL_5425: Unknown result type (might be due to invalid IL or missing references) //IL_5426: Unknown result type (might be due to invalid IL or missing references) //IL_5430: Unknown result type (might be due to invalid IL or missing references) //IL_5431: Unknown result type (might be due to invalid IL or missing references) //IL_5436: Unknown result type (might be due to invalid IL or missing references) //IL_5440: Unknown result type (might be due to invalid IL or missing references) //IL_5456: Unknown result type (might be due to invalid IL or missing references) //IL_5468: Unknown result type (might be due to invalid IL or missing references) //IL_5471: Unknown result type (might be due to invalid IL or missing references) //IL_54a4: Unknown result type (might be due to invalid IL or missing references) //IL_54a9: Unknown result type (might be due to invalid IL or missing references) //IL_54bf: 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_54da: Unknown result type (might be due to invalid IL or missing references) //IL_54df: Unknown result type (might be due to invalid IL or missing references) //IL_54e7: Unknown result type (might be due to invalid IL or missing references) //IL_54ec: 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_54f7: Unknown result type (might be due to invalid IL or missing references) //IL_54f8: Unknown result type (might be due to invalid IL or missing references) //IL_54fd: Unknown result type (might be due to invalid IL or missing references) //IL_5507: Unknown result type (might be due to invalid IL or missing references) //IL_551d: Unknown result type (might be due to invalid IL or missing references) //IL_552f: Unknown result type (might be due to invalid IL or missing references) //IL_5538: Unknown result type (might be due to invalid IL or missing references) //IL_556b: Unknown result type (might be due to invalid IL or missing references) //IL_5570: Unknown result type (might be due to invalid IL or missing references) //IL_5586: Unknown result type (might be due to invalid IL or missing references) //IL_558b: Unknown result type (might be due to invalid IL or missing references) //IL_55a1: Unknown result type (might be due to invalid IL or missing references) //IL_55a6: Unknown result type (might be due to invalid IL or missing references) //IL_55ae: Unknown result type (might be due to invalid IL or missing references) //IL_55b3: Unknown result type (might be due to invalid IL or missing references) //IL_55b4: Unknown result type (might be due to invalid IL or missing references) //IL_55be: Unknown result type (might be due to invalid IL or missing references) //IL_55bf: Unknown result type (might be due to invalid IL or missing references) //IL_55c4: Unknown result type (might be due to invalid IL or missing references) //IL_55ce: Unknown result type (might be due to invalid IL or missing references) //IL_55e4: Unknown result type (might be due to invalid IL or missing references) //IL_55f6: Unknown result type (might be due to invalid IL or missing references) //IL_55ff: Unknown result type (might be due to invalid IL or missing references) //IL_5632: Unknown result type (might be due to invalid IL or missing references) //IL_5637: Unknown result type (might be due to invalid IL or missing references) //IL_564d: Unknown result type (might be due to invalid IL or missing references) //IL_5652: Unknown result type (might be due to invalid IL or missing references) //IL_5668: 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_5675: Unknown result type (might be due to invalid IL or missing references) //IL_567a: Unknown result type (might be due to invalid IL or missing references) //IL_567b: Unknown result type (might be due to invalid IL or missing references) //IL_5685: Unknown result type (might be due to invalid IL or missing references) //IL_5686: Unknown result type (might be due to invalid IL or missing references) //IL_568b: 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_56ab: Unknown result type (might be due to invalid IL or missing references) //IL_56bd: Unknown result type (might be due to invalid IL or missing references) //IL_56c6: Unknown result type (might be due to invalid IL or missing references) //IL_56f9: Unknown result type (might be due to invalid IL or missing references) //IL_56fe: 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_572f: Unknown result type (might be due to invalid IL or missing references) //IL_5734: Unknown result type (might be due to invalid IL or missing references) //IL_573c: Unknown result type (might be due to invalid IL or missing references) //IL_5741: Unknown result type (might be due to invalid IL or missing references) //IL_5742: Unknown result type (might be due to invalid IL or missing references) //IL_574c: Unknown result type (might be due to invalid IL or missing references) //IL_574d: Unknown result type (might be due to invalid IL or missing references) //IL_5752: Unknown result type (might be due to invalid IL or missing references) //IL_575c: Unknown result type (might be due to invalid IL or missing references) //IL_5772: Unknown result type (might be due to invalid IL or missing references) //IL_5784: Unknown result type (might be due to invalid IL or missing references) //IL_578d: Unknown result type (might be due to invalid IL or missing references) //IL_57c0: Unknown result type (might be due to invalid IL or missing references) //IL_57c5: Unknown result type (might be due to invalid IL or missing references) //IL_57db: Unknown result type (might be due to invalid IL or missing references) //IL_57e0: Unknown result type (might be due to invalid IL or missing references) //IL_57f6: Unknown result type (might be due to invalid IL or missing references) //IL_57fb: 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_5808: Unknown result type (might be due to invalid IL or missing references) //IL_5809: Unknown result type (might be due to invalid IL or missing references) //IL_5813: Unknown result type (might be due to invalid IL or missing references) //IL_5814: 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_5823: Unknown result type (might be due to invalid IL or missing references) //IL_5839: Unknown result type (might be due to invalid IL or missing references) //IL_584b: Unknown result type (might be due to invalid IL or missing references) //IL_5854: 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_588c: 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_58a7: Unknown result type (might be due to invalid IL or missing references) //IL_58bd: Unknown result type (might be due to invalid IL or missing references) //IL_58c2: Unknown result type (might be due to invalid IL or missing references) //IL_58ca: Unknown result type (might be due to invalid IL or missing references) //IL_58cf: Unknown result type (might be due to invalid IL or missing references) //IL_58d0: Unknown result type (might be due to invalid IL or missing references) //IL_58da: Unknown result type (might be due to invalid IL or missing references) //IL_58db: Unknown result type (might be due to invalid IL or missing references) //IL_58e0: Unknown result type (might be due to invalid IL or missing references) //IL_58ea: Unknown result type (might be due to invalid IL or missing references) //IL_5900: Unknown result type (might be due to invalid IL or missing references) //IL_5912: Unknown result type (might be due to invalid IL or missing references) //IL_591b: Unknown result type (might be due to invalid IL or missing references) //IL_594e: Unknown result type (might be due to invalid IL or missing references) //IL_5953: Unknown result type (might be due to invalid IL or missing references) //IL_5969: Unknown result type (might be due to invalid IL or missing references) //IL_596e: Unknown result type (might be due to invalid IL or missing references) //IL_5984: Unknown result type (might be due to invalid IL or missing references) //IL_5989: Unknown result type (might be due to invalid IL or missing references) //IL_5991: Unknown result type (might be due to invalid IL or missing references) //IL_5996: Unknown result type (might be due to invalid IL or missing references) //IL_5997: Unknown result type (might be due to invalid IL or missing references) //IL_59a0: Unknown result type (might be due to invalid IL or missing references) //IL_59a9: Unknown result type (might be due to invalid IL or missing references) //IL_59dc: Unknown result type (might be due to invalid IL or missing references) //IL_59e1: Unknown result type (might be due to invalid IL or missing references) //IL_59f7: Unknown result type (might be due to invalid IL or missing references) //IL_59fc: Unknown result type (might be due to invalid IL or missing references) //IL_5a12: Unknown result type (might be due to invalid IL or missing references) //IL_5a17: Unknown result type (might be due to invalid IL or missing references) //IL_5a1f: Unknown result type (might be due to invalid IL or missing references) //IL_5a24: Unknown result type (might be due to invalid IL or missing references) //IL_5a25: Unknown result type (might be due to invalid IL or missing references) //IL_5a2f: Unknown result type (might be due to invalid IL or missing references) //IL_5a30: Unknown result type (might be due to invalid IL or missing references) //IL_5a35: Unknown result type (might be due to invalid IL or missing references) //IL_5a3f: Unknown result type (might be due to invalid IL or missing references) //IL_5a55: Unknown result type (might be due to invalid IL or missing references) //IL_5a67: Unknown result type (might be due to invalid IL or missing references) //IL_5a70: Unknown result type (might be due to invalid IL or missing references) //IL_5aa3: Unknown result type (might be due to invalid IL or missing references) //IL_5aa8: Unknown result type (might be due to invalid IL or missing references) //IL_5abe: Unknown result type (might be due to invalid IL or missing references) //IL_5ac3: Unknown result type (might be due to invalid IL or missing references) //IL_5ad9: Unknown result type (might be due to invalid IL or missing references) //IL_5ade: Unknown result type (might be due to invalid IL or missing references) //IL_5ae6: Unknown result type (might be due to invalid IL or missing references) //IL_5aeb: Unknown result type (might be due to invalid IL or missing references) //IL_5aec: Unknown result type (might be due to invalid IL or missing references) //IL_5af6: Unknown result type (might be due to invalid IL or missing references) //IL_5af7: Unknown result type (might be due to invalid IL or missing references) //IL_5afc: Unknown result type (might be due to invalid IL or missing references) //IL_5b06: 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_5b2e: Unknown result type (might be due to invalid IL or missing references) //IL_5b37: Unknown result type (might be due to invalid IL or missing references) //IL_5b6a: Unknown result type (might be due to invalid IL or missing references) //IL_5b6f: Unknown result type (might be due to invalid IL or missing references) //IL_5b85: Unknown result type (might be due to invalid IL or missing references) //IL_5b8a: Unknown result type (might be due to invalid IL or missing references) //IL_5ba0: Unknown result type (might be due to invalid IL or missing references) //IL_5ba5: Unknown result type (might be due to invalid IL or missing references) //IL_5bad: Unknown result type (might be due to invalid IL or missing references) //IL_5bb2: 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_5bbd: Unknown result type (might be due to invalid IL or missing references) //IL_5bbe: Unknown result type (might be due to invalid IL or missing references) //IL_5bc3: Unknown result type (might be due to invalid IL or missing references) //IL_5bcd: Unknown result type (might be due to invalid IL or missing references) //IL_5be3: Unknown result type (might be due to invalid IL or missing references) //IL_5bf5: Unknown result type (might be due to invalid IL or missing references) //IL_5bfe: Unknown result type (might be due to invalid IL or missing references) //IL_5c31: Unknown result type (might be due to invalid IL or missing references) //IL_5c36: Unknown result type (might be due to invalid IL or missing references) //IL_5c4c: Unknown result type (might be due to invalid IL or missing references) //IL_5c51: Unknown result type (might be due to invalid IL or missing references) //IL_5c67: Unknown result type (might be due to invalid IL or missing references) //IL_5c6c: Unknown result type (might be due to invalid IL or missing references) //IL_5c74: 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_5c7a: Unknown result type (might be due to invalid IL or missing references) //IL_5c83: Unknown result type (might be due to invalid IL or missing references) //IL_5c8c: Unknown result type (might be due to invalid IL or missing references) //IL_5cbf: Unknown result type (might be due to invalid IL or missing references) //IL_5cc4: Unknown result type (might be due to invalid IL or missing references) //IL_5cda: Unknown result type (might be due to invalid IL or missing references) //IL_5cdf: Unknown result type (might be due to invalid IL or missing references) //IL_5cf5: Unknown result type (might be due to invalid IL or missing references) //IL_5cfa: Unknown result type (might be due to invalid IL or missing references) //IL_5d02: Unknown result type (might be due to invalid IL or missing references) //IL_5d07: Unknown result type (might be due to invalid IL or missing references) //IL_5d08: Unknown result type (might be due to invalid IL or missing references) //IL_5d12: Unknown result type (might be due to invalid IL or missing references) //IL_5d13: Unknown result type (might be due to invalid IL or missing references) //IL_5d18: Unknown result type (might be due to invalid IL or missing references) //IL_5d22: Unknown result type (might be due to invalid IL or missing references) //IL_5d38: Unknown result type (might be due to invalid IL or missing references) //IL_5d4a: Unknown result type (might be due to invalid IL or missing references) //IL_5d53: Unknown result type (might be due to invalid IL or missing references) //IL_5d86: Unknown result type (might be due to invalid IL or missing references) //IL_5d8b: Unknown result type (might be due to invalid IL or missing references) //IL_5da1: 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_5dbc: 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_5dc9: Unknown result type (might be due to invalid IL or missing references) //IL_5dce: Unknown result type (might be due to invalid IL or missing references) //IL_5dcf: Unknown result type (might be due to invalid IL or missing references) //IL_5dd9: Unknown result type (might be due to invalid IL or missing references) //IL_5dda: Unknown result type (might be due to invalid IL or missing references) //IL_5ddf: Unknown result type (might be due to invalid IL or missing references) //IL_5de9: Unknown result type (might be due to invalid IL or missing references) //IL_5dff: Unknown result type (might be due to invalid IL or missing references) //IL_5e11: Unknown result type (might be due to invalid IL or missing references) //IL_5e1a: 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_5e52: Unknown result type (might be due to invalid IL or missing references) //IL_5e68: Unknown result type (might be due to invalid IL or missing references) //IL_5e6d: 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_5e88: Unknown result type (might be due to invalid IL or missing references) //IL_5e90: Unknown result type (might be due to invalid IL or missing references) //IL_5e95: Unknown result type (might be due to invalid IL or missing references) //IL_5e96: Unknown result type (might be due to invalid IL or missing references) //IL_5ea0: Unknown result type (might be due to invalid IL or missing references) //IL_5ea1: Unknown result type (might be due to invalid IL or missing references) //IL_5ea6: Unknown result type (might be due to invalid IL or missing references) //IL_5eb0: Unknown result type (might be due to invalid IL or missing references) //IL_5ec6: Unknown result type (might be due to invalid IL or missing references) //IL_5ed8: Unknown result type (might be due to invalid IL or missing references) //IL_5ee1: Unknown result type (might be due to invalid IL or missing references) //IL_5f14: Unknown result type (might be due to invalid IL or missing references) //IL_5f19: Unknown result type (might be due to invalid IL or missing references) //IL_5f2f: Unknown result type (might be due to invalid IL or missing references) //IL_5f34: Unknown result type (might be due to invalid IL or missing references) //IL_5f4a: Unknown result type (might be due to invalid IL or missing references) //IL_5f4f: 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_5f5c: Unknown result type (might be due to invalid IL or missing references) //IL_5f5d: Unknown result type (might be due to invalid IL or missing references) //IL_5f67: Unknown result type (might be due to invalid IL or missing references) //IL_5f68: Unknown result type (might be due to invalid IL or missing references) //IL_5f6d: Unknown result type (might be due to invalid IL or missing references) //IL_5f77: Unknown result type (might be due to invalid IL or missing references) //IL_5f8d: Unknown result type (might be due to invalid IL or missing references) //IL_5f9f: Unknown result type (might be due to invalid IL or missing references) //IL_5fa8: Unknown result type (might be due to invalid IL or missing references) //IL_5fdb: Unknown result type (might be due to invalid IL or missing references) //IL_5fe0: Unknown result type (might be due to invalid IL or missing references) //IL_5ff6: Unknown result type (might be due to invalid IL or missing references) //IL_5ffb: Unknown result type (might be due to invalid IL or missing references) //IL_6011: Unknown result type (might be due to invalid IL or missing references) //IL_6016: Unknown result type (might be due to invalid IL or missing references) //IL_601e: Unknown result type (might be due to invalid IL or missing references) //IL_6023: Unknown result type (might be due to invalid IL or missing references) //IL_6024: Unknown result type (might be due to invalid IL or missing references) //IL_602e: Unknown result type (might be due to invalid IL or missing references) //IL_602f: Unknown result type (might be due to invalid IL or missing references) //IL_6034: Unknown result type (might be due to invalid IL or missing references) //IL_603e: Unknown result type (might be due to invalid IL or missing references) //IL_6054: Unknown result type (might be due to invalid IL or missing references) //IL_6066: Unknown result type (might be due to invalid IL or missing references) //IL_606f: Unknown result type (might be due to invalid IL or missing references) //IL_60a2: Unknown result type (might be due to invalid IL or missing references) //IL_60a7: Unknown result type (might be due to invalid IL or missing references) //IL_60bd: Unknown result type (might be due to invalid IL or missing references) //IL_60c2: Unknown result type (might be due to invalid IL or missing references) //IL_60d8: Unknown result type (might be due to invalid IL or missing references) //IL_60dd: Unknown result type (might be due to invalid IL or missing references) //IL_60e5: Unknown result type (might be due to invalid IL or missing references) //IL_60ea: Unknown result type (might be due to invalid IL or missing references) //IL_60eb: Unknown result type (might be due to invalid IL or missing references) //IL_60f5: Unknown result type (might be due to invalid IL or missing references) //IL_60f6: Unknown result type (might be due to invalid IL or missing references) //IL_60fb: Unknown result type (might be due to invalid IL or missing references) //IL_6105: Unknown result type (might be due to invalid IL or missing references) //IL_611b: Unknown result type (might be due to invalid IL or missing references) //IL_612d: Unknown result type (might be due to invalid IL or missing references) //IL_6136: 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_616e: Unknown result type (might be due to invalid IL or missing references) //IL_6184: Unknown result type (might be due to invalid IL or missing references) //IL_6189: Unknown result type (might be due to invalid IL or missing references) //IL_619f: Unknown result type (might be due to invalid IL or missing references) //IL_61a4: Unknown result type (might be due to invalid IL or missing references) //IL_61ac: Unknown result type (might be due to invalid IL or missing references) //IL_61b1: Unknown result type (might be due to invalid IL or missing references) //IL_61b2: Unknown result type (might be due to invalid IL or missing references) //IL_61bc: Unknown result type (might be due to invalid IL or missing references) //IL_61bd: Unknown result type (might be due to invalid IL or missing references) //IL_61c2: Unknown result type (might be due to invalid IL or missing references) //IL_61cc: Unknown result type (might be due to invalid IL or missing references) //IL_61e2: Unknown result type (might be due to invalid IL or missing references) //IL_61f4: Unknown result type (might be due to invalid IL or missing references) //IL_61fd: Unknown result type (might be due to invalid IL or missing references) //IL_6230: Unknown result type (might be due to invalid IL or missing references) //IL_6235: Unknown result type (might be due to invalid IL or missing references) //IL_624b: Unknown result type (might be due to invalid IL or missing references) //IL_6250: Unknown result type (might be due to invalid IL or missing references) //IL_6266: Unknown result type (might be due to invalid IL or missing references) //IL_626b: Unknown result type (might be due to invalid IL or missing references) //IL_6273: Unknown result type (might be due to invalid IL or missing references) //IL_6278: Unknown result type (might be due to invalid IL or missing references) //IL_6279: 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_6284: Unknown result type (might be due to invalid IL or missing references) //IL_6289: Unknown result type (might be due to invalid IL or missing references) //IL_6293: Unknown result type (might be due to invalid IL or missing references) //IL_62a9: 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_62c4: Unknown result type (might be due to invalid IL or missing references) //IL_62f7: Unknown result type (might be due to invalid IL or missing references) //IL_62fc: Unknown result type (might be due to invalid IL or missing references) //IL_6312: Unknown result type (might be due to invalid IL or missing references) //IL_6317: Unknown result type (might be due to invalid IL or missing references) //IL_632d: Unknown result type (might be due to invalid IL or missing references) //IL_6332: Unknown result type (might be due to invalid IL or missing references) //IL_633a: Unknown result type (might be due to invalid IL or missing references) //IL_633f: Unknown result type (might be due to invalid IL or missing references) //IL_6340: Unknown result type (might be due to invalid IL or missing references) //IL_634a: Unknown result type (might be due to invalid IL or missing references) //IL_634b: Unknown result type (might be due to invalid IL or missing references) //IL_6350: Unknown result type (might be due to invalid IL or missing references) //IL_635a: Unknown result type (might be due to invalid IL or missing references) //IL_6370: Unknown result type (might be due to invalid IL or missing references) //IL_6382: Unknown result type (might be due to invalid IL or missing references) //IL_638b: Unknown result type (might be due to invalid IL or missing references) //IL_63be: Unknown result type (might be due to invalid IL or missing references) //IL_63c3: Unknown result type (might be due to invalid IL or missing references) //IL_63d9: Unknown result type (might be due to invalid IL or missing references) //IL_63de: Unknown result type (might be due to invalid IL or missing references) //IL_63f4: Unknown result type (might be due to invalid IL or missing references) //IL_63f9: Unknown result type (might be due to invalid IL or missing references) //IL_6401: Unknown result type (might be due to invalid IL or missing references) //IL_6406: Unknown result type (might be due to invalid IL or missing references) //IL_6407: Unknown result type (might be due to invalid IL or missing references) //IL_6411: Unknown result type (might be due to invalid IL or missing references) //IL_6412: Unknown result type (might be due to invalid IL or missing references) //IL_6417: Unknown result type (might be due to invalid IL or missing references) //IL_6421: Unknown result type (might be due to invalid IL or missing references) //IL_6437: Unknown result type (might be due to invalid IL or missing references) //IL_6449: Unknown result type (might be due to invalid IL or missing references) //IL_6452: Unknown result type (might be due to invalid IL or missing references) //IL_6485: Unknown result type (might be due to invalid IL or missing references) //IL_648a: Unknown result type (might be due to invalid IL or missing references) //IL_64a0: Unknown result type (might be due to invalid IL or missing references) //IL_64a5: Unknown result type (might be due to invalid IL or missing references) //IL_64bb: Unknown result type (might be due to invalid IL or missing references) //IL_64c0: Unknown result type (might be due to invalid IL or missing references) //IL_64c8: Unknown result type (might be due to invalid IL or missing references) //IL_64cd: Unknown result type (might be due to invalid IL or missing references) //IL_64ce: Unknown result type (might be due to invalid IL or missing references) //IL_64d8: Unknown result type (might be due to invalid IL or missing references) //IL_64d9: Unknown result type (might be due to invalid IL or missing references) //IL_64de: Unknown result type (might be due to invalid IL or missing references) //IL_64e8: Unknown result type (might be due to invalid IL or missing references) //IL_64fe: Unknown result type (might be due to invalid IL or missing references) //IL_6510: Unknown result type (might be due to invalid IL or missing references) //IL_6519: Unknown result type (might be due to invalid IL or missing references) //IL_654c: Unknown result type (might be due to invalid IL or missing references) //IL_6551: Unknown result type (might be due to invalid IL or missing references) //IL_6567: Unknown result type (might be due to invalid IL or missing references) //IL_656c: Unknown result type (might be due to invalid IL or missing references) //IL_6582: Unknown result type (might be due to invalid IL or missing references) //IL_6587: Unknown result type (might be due to invalid IL or missing references) //IL_658f: Unknown result type (might be due to invalid IL or missing references) //IL_6594: Unknown result type (might be due to invalid IL or missing references) //IL_6595: Unknown result type (might be due to invalid IL or missing references) //IL_659f: Unknown result type (might be due to invalid IL or missing references) //IL_65a0: Unknown result type (might be due to invalid IL or missing references) //IL_65a5: Unknown result type (might be due to invalid IL or missing references) //IL_65af: Unknown result type (might be due to invalid IL or missing references) //IL_65c5: Unknown result type (might be due to invalid IL or missing references) //IL_65d7: Unknown result type (might be due to invalid IL or missing references) //IL_65e0: Unknown result type (might be due to invalid IL or missing references) //IL_6613: Unknown result type (might be due to invalid IL or missing references) //IL_6618: Unknown result type (might be due to invalid IL or missing references) //IL_662e: Unknown result type (might be due to invalid IL or missing references) //IL_6633: Unknown result type (might be due to invalid IL or missing references) //IL_6649: Unknown result type (might be due to invalid IL or missing references) //IL_664e: Unknown result type (might be due to invalid IL or missing references) //IL_6656: Unknown result type (might be due to invalid IL or missing references) //IL_665b: Unknown result type (might be due to invalid IL or missing references) //IL_665c: Unknown result type (might be due to invalid IL or missing references) //IL_6666: Unknown result type (might be due to invalid IL or missing references) //IL_6667: Unknown result type (might be due to invalid IL or missing references) //IL_666c: Unknown result type (might be due to invalid IL or missing references) //IL_6676: Unknown result type (might be due to invalid IL or missing references) //IL_668c: Unknown result type (might be due to invalid IL or missing references) //IL_669e: Unknown result type (might be due to invalid IL or missing references) //IL_66a7: Unknown result type (might be due to invalid IL or missing references) //IL_66da: Unknown result type (might be due to invalid IL or missing references) //IL_66df: Unknown result type (might be due to invalid IL or missing references) //IL_66f5: Unknown result type (might be due to invalid IL or missing references) //IL_66fa: Unknown result type (might be due to invalid IL or missing references) //IL_6710: Unknown result type (might be due to invalid IL or missing references) //IL_6715: Unknown result type (might be due to invalid IL or missing references) //IL_671d: Unknown result type (might be due to invalid IL or missing references) //IL_6722: Unknown result type (might be due to invalid IL or missing references) //IL_6723: Unknown result type (might be due to invalid IL or missing references) //IL_672d: Unknown result type (might be due to invalid IL or missing references) //IL_672e: Unknown result type (might be due to invalid IL or missing references) //IL_6733: Unknown result type (might be due to invalid IL or missing references) //IL_673d: Unknown result type (might be due to invalid IL or missing references) //IL_6753: Unknown result type (might be due to invalid IL or missing references) //IL_6765: Unknown result type (might be due to invalid IL or missing references) //IL_676e: Unknown result type (might be due to invalid IL or missing references) //IL_67a1: Unknown result type (might be due to invalid IL or missing references) //IL_67a6: Unknown result type (might be due to invalid IL or missing references) //IL_67bc: Unknown result type (might be due to invalid IL or missing references) //IL_67c1: Unknown result type (might be due to invalid IL or missing references) //IL_67d7: Unknown result type (might be due to invalid IL or missing references) //IL_67dc: Unknown result type (might be due to invalid IL or missing references) //IL_67e4: Unknown result type (might be due to invalid IL or missing references) //IL_67e9: Unknown result type (might be due to invalid IL or missing references) //IL_67ea: Unknown result type (might be due to invalid IL or missing references) //IL_67f3: Unknown result type (might be due to invalid IL or missing references) //IL_67fc: Unknown result type (might be due to invalid IL or missing references) //IL_682f: Unknown result type (might be due to invalid IL or missing references) //IL_6834: Unknown result type (might be due to invalid IL or missing references) //IL_684a: Unknown result type (might be due to invalid IL or missing references) //IL_684f: Unknown result type (might be due to invalid IL or missing references) //IL_6865: Unknown result type (might be due to invalid IL or missing references) //IL_686a: Unknown result type (might be due to invalid IL or missing references) //IL_6872: Unknown result type (might be due to invalid IL or missing references) //IL_6877: Unknown result type (might be due to invalid IL or missing references) //IL_6878: Unknown result type (might be due to invalid IL or missing references) //IL_6881: Unknown result type (might be due to invalid IL or missing references) //IL_688a: Unknown result type (might be due to invalid IL or missing references) //IL_68bd: Unknown result type (might be due to invalid IL or missing references) //IL_68c2: Unknown result type (might be due to invalid IL or missing references) //IL_68d8: Unknown result type (might be due to invalid IL or missing references) //IL_68dd: Unknown result type (might be due to invalid IL or missing references) //IL_68f3: Unknown result type (might be due to invalid IL or missing references) //IL_68f8: Unknown result type (might be due to invalid IL or missing references) //IL_6900: Unknown result type (might be due to invalid IL or missing references) //IL_6905: Unknown result type (might be due to invalid IL or missing references) //IL_6906: Unknown result type (might be due to invalid IL or missing references) //IL_690f: Unknown result type (might be due to invalid IL or missing references) //IL_6918: Unknown result type (might be due to invalid IL or missing references) //IL_694b: Unknown result type (might be due to invalid IL or missing references) //IL_6950: Unknown result type (might be due to invalid IL or missing references) //IL_6966: Unknown result type (might be due to invalid IL or missing references) //IL_696b: Unknown result type (might be due to invalid IL or missing references) //IL_6981: Unknown result type (might be due to invalid IL or missing references) //IL_6986: Unknown result type (might be due to invalid IL or missing references) //IL_698e: Unknown result type (might be due to invalid IL or missing references) //IL_6993: Unknown result type (might be due to invalid IL or missing references) //IL_6994: Unknown result type (might be due to invalid IL or missing references) //IL_699d: Unknown result type (might be due to invalid IL or missing references) //IL_69a6: Unknown result type (might be due to invalid IL or missing references) //IL_69d9: Unknown result type (might be due to invalid IL or missing references) //IL_69de: Unknown result type (might be due to invalid IL or missing references) //IL_69f4: Unknown result type (might be due to invalid IL or missing references) //IL_69f9: Unknown result type (might be due to invalid IL or missing references) //IL_6a0f: Unknown result type (might be due to invalid IL or missing references) //IL_6a14: Unknown result type (might be due to invalid IL or missing references) //IL_6a1c: Unknown result type (might be due to invalid IL or missing references) //IL_6a21: Unknown result type (might be due to invalid IL or missing references) //IL_6a22: Unknown result type (might be due to invalid IL or missing references) //IL_6a2c: Unknown result type (might be due to invalid IL or missing references) //IL_6a2d: Unknown result type (might be due to invalid IL or missing references) //IL_6a32: Unknown result type (might be due to invalid IL or missing references) //IL_6a3c: Unknown result type (might be due to invalid IL or missing references) //IL_6a52: Unknown result type (might be due to invalid IL or missing references) //IL_6a64: Unknown result type (might be due to invalid IL or missing references) //IL_6a6d: Unknown result type (might be due to invalid IL or missing references) //IL_6aa0: Unknown result type (might be due to invalid IL or missing references) //IL_6aa5: Unknown result type (might be due to invalid IL or missing references) //IL_6abb: Unknown result type (might be due to invalid IL or missing references) //IL_6ac0: Unknown result type (might be due to invalid IL or missing references) //IL_6ad6: Unknown result type (might be due to invalid IL or missing references) //IL_6adb: Unknown result type (might be due to invalid IL or missing references) //IL_6ae3: Unknown result type (might be due to invalid IL or missing references) //IL_6ae8: Unknown result type (might be due to invalid IL or missing references) //IL_6ae9: Unknown result type (might be due to invalid IL or missing references) //IL_6af3: Unknown result type (might be due to invalid IL or missing references) //IL_6af4: Unknown result type (might be due to invalid IL or missing references) //IL_6af9: Unknown result type (might be due to invalid IL or missing references) //IL_6b03: Unknown result type (might be due to invalid IL or missing references) //IL_6b19: Unknown result type (might be due to invalid IL or missing references) //IL_6b2b: Unknown result type (might be due to invalid IL or missing references) //IL_6b34: Unknown result type (might be due to invalid IL or missing references) //IL_6b67: Unknown result type (might be due to invalid IL or missing references) //IL_6b6c: Unknown result type (might be due to invalid IL or missing references) //IL_6b82: Unknown result type (might be due to invalid IL or missing references) //IL_6b87: Unknown result type (might be due to invalid IL or missing references) //IL_6b9d: Unknown result type (might be due to invalid IL or missing references) //IL_6ba2: Unknown result type (might be due to invalid IL or missing references) //IL_6baa: Unknown result type (might be due to invalid IL or missing references) //IL_6baf: Unknown result type (might be due to invalid IL or missing references) //IL_6bb0: Unknown result type (might be due to invalid IL or missing references) //IL_6bba: Unknown result type (might be due to invalid IL or missing references) //IL_6bbb: Unknown result type (might be due to invalid IL or missing references) //IL_6bc0: Unknown result type (might be due to invalid IL or missing references) //IL_6bca: Unknown result type (might be due to invalid IL or missing references) //IL_6be0: Unknown result type (might be due to invalid IL or missing references) //IL_6bf2: Unknown result type (might be due to invalid IL or missing references) //IL_6bfb: Unknown result type (might be due to invalid IL or missing references) //IL_6c2e: Unknown result type (might be due to invalid IL or missing references) //IL_6c33: Unknown result type (might be due to invalid IL or missing references) //IL_6c49: Unknown result type (might be due to invalid IL or missing references) //IL_6c4e: Unknown result type (might be due to invalid IL or missing references) //IL_6c64: Unknown result type (might be due to invalid IL or missing references) //IL_6c69: Unknown result type (might be due to invalid IL or missing references) //IL_6c71: Unknown result type (might be due to invalid IL or missing references) //IL_6c76: Unknown result type (might be due to invalid IL or missing references) //IL_6c77: Unknown result type (might be due to invalid IL or missing references) //IL_6c81: Unknown result type (might be due to invalid IL or missing references) //IL_6c82: Unknown result type (might be due to invalid IL or missing references) //IL_6c87: Unknown result type (might be due to invalid IL or missing references) //IL_6c91: Unknown result type (might be due to invalid IL or missing references) //IL_6ca7: Unknown result type (might be due to invalid IL or missing references) //IL_6cb9: Unknown result type (might be due to invalid IL or missing references) //IL_6cc2: Unknown result type (might be due to invalid IL or missing references) //IL_6cf5: Unknown result type (might be due to invalid IL or missing references) //IL_6cfa: Unknown result type (might be due to invalid IL or missing references) //IL_6d10: Unknown result type (might be due to invalid IL or missing references) //IL_6d15: Unknown result type (might be due to invalid IL or missing references) //IL_6d2b: Unknown result type (might be due to invalid IL or missing references) //IL_6d30: Unknown result type (might be due to invalid IL or missing references) //IL_6d38: Unknown result type (might be due to invalid IL or missing references) //IL_6d3d: Unknown result type (might be due to invalid IL or missing references) //IL_6d3e: Unknown result type (might be due to invalid IL or missing references) //IL_6d48: Unknown result type (might be due to invalid IL or missing references) //IL_6d49: Unknown result type (might be due to invalid IL or missing references) //IL_6d4e: Unknown result type (might be due to invalid IL or missing references) //IL_6d58: Unknown result type (might be due to invalid IL or missing references) //IL_6d6e: Unknown result type (might be due to invalid IL or missing references) //IL_6d80: Unknown result type (might be due to invalid IL or missing references) //IL_6d89: Unknown result type (might be due to invalid IL or missing references) //IL_6dbc: Unknown result type (might be due to invalid IL or missing references) //IL_6dc1: Unknown result type (might be due to invalid IL or missing references) //IL_6dd7: Unknown result type (might be due to invalid IL or missing references) //IL_6ddc: Unknown result type (might be due to invalid IL or missing references) //IL_6df2: Unknown result type (might be due to invalid IL or missing references) //IL_6df7: Unknown result type (might be due to invalid IL or missing references) //IL_6dff: Unknown result type (might be due to invalid IL or missing references) //IL_6e04: Unknown result type (might be due to invalid IL or missing references) //IL_6e05: Unknown result type (might be due to invalid IL or missing references) //IL_6e0f: Unknown result type (might be due to invalid IL or missing references) //IL_6e10: Unknown result type (might be due to invalid IL or missing references) //IL_6e15: Unknown result type (might be due to invalid IL or missing references) //IL_6e1f: Unknown result type (might be due to invalid IL or missing references) //IL_6e35: Unknown result type (might be due to invalid IL or missing references) //IL_6e47: Unknown result type (might be due to invalid IL or missing references) //IL_6e50: Unknown result type (might be due to invalid IL or missing references) //IL_6e83: Unknown result type (might be due to invalid IL or missing references) //IL_6e88: Unknown result type (might be due to invalid IL or missing references) //IL_6e9e: Unknown result type (might be due to invalid IL or missing references) //IL_6ea3: Unknown result type (might be due to invalid IL or missing references) //IL_6eb9: Unknown result type (might be due to invalid IL or missing references) //IL_6ebe: Unknown result type (might be due to invalid IL or missing references) //IL_6ec6: Unknown result type (might be due to invalid IL or missing references) //IL_6ecb: Unknown result type (might be due to invalid IL or missing references) //IL_6ecc: Unknown result type (might be due to invalid IL or missing references) //IL_6ed6: Unknown result type (might be due to invalid IL or missing references) //IL_6ed7: Unknown result type (might be due to invalid IL or missing references) //IL_6edc: Unknown result type (might be due to invalid IL or missing references) //IL_6ee6: Unknown result type (might be due to invalid IL or missing references) //IL_6efc: Unknown result type (might be due to invalid IL or missing references) //IL_6f0e: Unknown result type (might be due to invalid IL or missing references) //IL_6f17: Unknown result type (might be due to invalid IL or missing references) //IL_6f4a: Unknown result type (might be due to invalid IL or missing references) //IL_6f4f: Unknown result type (might be due to invalid IL or missing references) //IL_6f65: Unknown result type (might be due to invalid IL or missing references) //IL_6f6a: Unknown result type (might be due to invalid IL or missing references) //IL_6f80: Unknown result type (might be due to invalid IL or missing references) //IL_6f85: Unknown result type (might be due to invalid IL or missing references) //IL_6f8d: Unknown result type (might be due to invalid IL or missing references) //IL_6f92: Unknown result type (might be due to invalid IL or missing references) //IL_6f93: Unknown result type (might be due to invalid IL or missing references) //IL_6f9d: Unknown result type (might be due to invalid IL or missing references) //IL_6f9e: Unknown result type (might be due to invalid IL or missing references) //IL_6fa3: Unknown result type (might be due to invalid IL or missing references) //IL_6fad: Unknown result type (might be due to invalid IL or missing references) //IL_6fc3: Unknown result type (might be due to invalid IL or missing references) //IL_6fd5: Unknown result type (might be due to invalid IL or missing references) //IL_6fde: Unknown result type (might be due to invalid IL or missing references) //IL_7011: Unknown result type (might be due to invalid IL or missing references) //IL_7016: Unknown result type (might be due to invalid IL or missing references) //IL_702c: Unknown result type (might be due to invalid IL or missing references) //IL_7031: Unknown result type (might be due to invalid IL or missing references) //IL_7047: Unknown result type (might be due to invalid IL or missing references) //IL_704c: Unknown result type (might be due to invalid IL or missing references) //IL_7054: Unknown result type (might be due to invalid IL or missing references) //IL_7059: Unknown result type (might be due to invalid IL or missing references) //IL_705a: Unknown result type (might be due to invalid IL or missing references) //IL_7064: Unknown result type (might be due to invalid IL or missing references) //IL_7065: Unknown result type (might be due to invalid IL or missing references) //IL_706a: Unknown result type (might be due to invalid IL or missing references) //IL_7074: Unknown result type (might be due to invalid IL or missing references) //IL_708a: Unknown result type (might be due to invalid IL or missing references) //IL_709c: Unknown result type (might be due to invalid IL or missing references) //IL_70a5: Unknown result type (might be due to invalid IL or missing references) //IL_70d8: Unknown result type (might be due to invalid IL or missing references) //IL_70dd: Unknown result type (might be due to invalid IL or missing references) //IL_70f3: Unknown result type (might be due to invalid IL or missing references) //IL_70f8: Unknown result type (might be due to invalid IL or missing references) //IL_710e: Unknown result type (might be due to invalid IL or missing references) //IL_7113: Unknown result type (might be due to invalid IL or missing references) //IL_711b: Unknown result type (might be due to invalid IL or missing references) //IL_7120: Unknown result type (might be due to invalid IL or missing references) //IL_7121: Unknown result type (might be due to invalid IL or missing references) //IL_712b: Unknown result type (might be due to invalid IL or missing references) //IL_712c: Unknown result type (might be due to invalid IL or missing references) //IL_7131: Unknown result type (might be due to invalid IL or missing references) //IL_713b: Unknown result type (might be due to invalid IL or missing references) //IL_7151: Unknown result type (might be due to invalid IL or missing references) //IL_7163: Unknown result type (might be due to invalid IL or missing references) //IL_716c: Unknown result type (might be due to invalid IL or missing references) //IL_719f: Unknown result type (might be due to invalid IL or missing references) //IL_71a4: Unknown result type (might be due to invalid IL or missing references) //IL_71ba: Unknown result type (might be due to invalid IL or missing references) //IL_71bf: Unknown result type (might be due to invalid IL or missing references) //IL_71d5: Unknown result type (might be due to invalid IL or missing references) //IL_71da: Unknown result type (might be due to invalid IL or missing references) //IL_71e2: Unknown result type (might be due to invalid IL or missing references) //IL_71e7: Unknown result type (might be due to invalid IL or missing references) //IL_71e8: Unknown result type (might be due to invalid IL or missing references) //IL_71f2: Unknown result type (might be due to invalid IL or missing references) //IL_71f3: Unknown result type (might be due to invalid IL or missing references) //IL_71f8: Unknown result type (might be due to invalid IL or missing references) //IL_7202: Unknown result type (might be due to invalid IL or missing references) //IL_7218: Unknown result type (might be due to invalid IL or missing references) //IL_722a: Unknown result type (might be due to invalid IL or missing references) //IL_7233: Unknown result type (might be due to invalid IL or missing references) //IL_7266: Unknown result type (might be due to invalid IL or missing references) //IL_726b: Unknown result type (might be due to invalid IL or missing references) //IL_7281: Unknown result type (might be due to invalid IL or missing references) //IL_7286: Unknown result type (might be due to invalid IL or missing references) //IL_729c: Unknown result type (might be due to invalid IL or missing references) //IL_72a1: Unknown result type (might be due to invalid IL or missing references) //IL_72a9: Unknown result type (might be due to invalid IL or missing references) //IL_72ae: Unknown result type (might be due to invalid IL or missing references) //IL_72af: Unknown result type (might be due to invalid IL or missing references) //IL_72b9: Unknown result type (might be due to invalid IL or missing references) //IL_72ba: Unknown result type (might be due to invalid IL or missing references) //IL_72bf: Unknown result type (might be due to invalid IL or missing references) //IL_72c9: Unknown result type (might be due to invalid IL or missing references) //IL_72df: Unknown result type (might be due to invalid IL or missing references) //IL_72f1: Unknown result type (might be due to invalid IL or missing references) //IL_72fa: Unknown result type (might be due to invalid IL or missing references) //IL_732d: Unknown result type (might be due to invalid IL or missing references) //IL_7332: Unknown result type (might be due to invalid IL or missing references) //IL_7348: Unknown result type (might be due to invalid IL or missing references) //IL_734d: Unknown result type (might be due to invalid IL or missing references) //IL_7363: Unknown result type (might be due to invalid IL or missing references) //IL_7368: Unknown result type (might be due to invalid IL or missing references) //IL_7370: Unknown result type (might be due to invalid IL or missing references) //IL_7375: Unknown result type (might be due to invalid IL or missing references) //IL_7376: Unknown result type (might be due to invalid IL or missing references) //IL_7380: Unknown result type (might be due to invalid IL or missing references) //IL_7381: Unknown result type (might be due to invalid IL or missing references) //IL_7386: Unknown result type (might be due to invalid IL or missing references) //IL_7390: Unknown result type (might be due to invalid IL or missing references) //IL_73a6: Unknown result type (might be due to invalid IL or missing references) //IL_73b8: Unknown result type (might be due to invalid IL or missing references) //IL_73c1: Unknown result type (might be due to invalid IL or missing references) //IL_73f4: Unknown result type (might be due to invalid IL or missing references) //IL_73f9: Unknown result type (might be due to invalid IL or missing references) //IL_740f: Unknown result type (might be due to invalid IL or missing references) //IL_7414: Unknown result type (might be due to invalid IL or missing references) //IL_742a: Unknown result type (might be due to invalid IL or missing references) //IL_742f: Unknown result type (might be due to invalid IL or missing references) //IL_7437: Unknown result type (might be due to invalid IL or missing references) //IL_743c: Unknown result type (might be due to invalid IL or missing references) //IL_743d: Unknown result type (might be due to invalid IL or missing references) //IL_7447: Unknown result type (might be due to invalid IL or missing references) //IL_7448: Unknown result type (might be due to invalid IL or missing references) //IL_744d: Unknown result type (might be due to invalid IL or missing references) //IL_7457: Unknown result type (might be due to invalid IL or missing references) //IL_746d: Unknown result type (might be due to invalid IL or missing references) //IL_747f: Unknown result type (might be due to invalid IL or missing references) //IL_7488: Unknown result type (might be due to invalid IL or missing references) //IL_74bb: Unknown result type (might be due to invalid IL or missing references) //IL_74c0: Unknown result type (might be due to invalid IL or missing references) //IL_74d6: Unknown result type (might be due to invalid IL or missing references) //IL_74db: Unknown result type (might be due to invalid IL or missing references) //IL_74f1: Unknown result type (might be due to invalid IL or missing references) //IL_74f6: Unknown result type (might be due to invalid IL or missing references) //IL_74fe: Unknown result type (might be due to invalid IL or missing references) //IL_7503: Unknown result type (might be due to invalid IL or missing references) //IL_7504: Unknown result type (might be due to invalid IL or missing references) //IL_750e: Unknown result type (might be due to invalid IL or missing references) //IL_750f: Unknown result type (might be due to invalid IL or missing references) //IL_7514: Unknown result type (might be due to invalid IL or missing references) //IL_751e: Unknown result type (might be due to invalid IL or missing references) //IL_7534: Unknown result type (might be due to invalid IL or missing references) //IL_7546: Unknown result type (might be due to invalid IL or missing references) //IL_754f: Unknown result type (might be due to invalid IL or missing references) //IL_7582: Unknown result type (might be due to invalid IL or missing references) //IL_7587: Unknown result type (might be due to invalid IL or missing references) //IL_759d: Unknown result type (might be due to invalid IL or missing references) //IL_75a2: Unknown result type (might be due to invalid IL or missing references) //IL_75b8: Unknown result type (might be due to invalid IL or missing references) //IL_75bd: Unknown result type (might be due to invalid IL or missing references) //IL_75c5: Unknown result type (might be due to invalid IL or missing references) //IL_75ca: Unknown result type (might be due to invalid IL or missing references) //IL_75cb: Unknown result type (might be due to invalid IL or missing references) //IL_75d5: Unknown result type (might be due to invalid IL or missing references) //IL_75d6: Unknown result type (might be due to invalid IL or missing references) //IL_75db: Unknown result type (might be due to invalid IL or missing references) //IL_75e5: Unknown result type (might be due to invalid IL or missing references) //IL_75fb: Unknown result type (might be due to invalid IL or missing references) //IL_760d: Unknown result type (might be due to invalid IL or missing references) //IL_7616: Unknown result type (might be due to invalid IL or missing references) //IL_7649: Unknown result type (might be due to invalid IL or missing references) //IL_764e: Unknown result type (might be due to invalid IL or missing references) //IL_7664: Unknown result type (might be due to invalid IL or missing references) //IL_7669: Unknown result type (might be due to invalid IL or missing references) //IL_767f: Unknown result type (might be due to invalid IL or missing references) //IL_7684: Unknown result type (might be due to invalid IL or missing references) //IL_768c: Unknown result type (might be due to invalid IL or missing references) //IL_7691: Unknown result type (might be due to invalid IL or missing references) //IL_7692: Unknown result type (might be due to invalid IL or missing references) //IL_769c: Unknown result type (might be due to invalid IL or missing references) //IL_769d: Unknown result type (might be due to invalid IL or missing references) //IL_76a2: Unknown result type (might be due to invalid IL or missing references) //IL_76ac: Unknown result type (might be due to invalid IL or missing references) //IL_76c2: Unknown result type (might be due to invalid IL or missing references) //IL_76d4: Unknown result type (might be due to invalid IL or missing references) //IL_76dd: Unknown result type (might be due to invalid IL or missing references) //IL_7710: Unknown result type (might be due to invalid IL or missing references) //IL_7715: Unknown result type (might be due to invalid IL or missing references) //IL_772b: Unknown result type (might be due to invalid IL or missing references) //IL_7730: Unknown result type (might be due to invalid IL or missing references) //IL_7746: Unknown result type (might be due to invalid IL or missing references) //IL_774b: Unknown result type (might be due to invalid IL or missing references) //IL_7753: Unknown result type (might be due to invalid IL or missing references) //IL_7758: Unknown result type (might be due to invalid IL or missing references) //IL_7759: Unknown result type (might be due to invalid IL or missing references) //IL_7763: Unknown result type (might be due to invalid IL or missing references) //IL_7764: Unknown result type (might be due to invalid IL or missing references) //IL_7769: Unknown result type (might be due to invalid IL or missing references) //IL_7773: Unknown result type (might be due to invalid IL or missing references) //IL_7789: Unknown result type (might be due to invalid IL or missing references) //IL_779b: Unknown result type (might be due to invalid IL or missing references) //IL_77a4: Unknown result type (might be due to invalid IL or missing references) //IL_77d7: Unknown result type (might be due to invalid IL or missing references) //IL_77dc: Unknown result type (might be due to invalid IL or missing references) //IL_77f2: Unknown result type (might be due to invalid IL or missing references) //IL_77f7: Unknown result type (might be due to invalid IL or missing references) //IL_780d: Unknown result type (might be due to invalid IL or missing references) //IL_7812: Unknown result type (might be due to invalid IL or missing references) //IL_781a: Unknown result type (might be due to invalid IL or missing references) //IL_781f: Unknown result type (might be due to invalid IL or missing references) //IL_7820: Unknown result type (might be due to invalid IL or missing references) //IL_782a: Unknown result type (might be due to invalid IL or missing references) //IL_782b: Unknown result type (might be due to invalid IL or missing references) //IL_7830: Unknown result type (might be due to invalid IL or missing references) //IL_783a: Unknown result type (might be due to invalid IL or missing references) //IL_7850: Unknown result type (might be due to invalid IL or missing references) //IL_7862: Unknown result type (might be due to invalid IL or missing references) //IL_786b: Unknown result type (might be due to invalid IL or missing references) //IL_789e: Unknown result type (might be due to invalid IL or missing references) //IL_78a3: Unknown result type (might be due to invalid IL or missing references) //IL_78b9: Unknown result type (might be due to invalid IL or missing references) //IL_78be: Unknown result type (might be due to invalid IL or missing references) //IL_78d4: Unknown result type (might be due to invalid IL or missing references) //IL_78d9: Unknown result type (might be due to invalid IL or missing references) //IL_78e1: Unknown result type (might be due to invalid IL or missing references) //IL_78e6: Unknown result type (might be due to invalid IL or missing references) //IL_78e7: Unknown result type (might be due to invalid IL or missing references) //IL_78f1: Unknown result type (might be due to invalid IL or missing references) //IL_78f2: Unknown result type (might be due to invalid IL or missing references) //IL_78f7: Unknown result type (might be due to invalid IL or missing references) //IL_7901: Unknown result type (might be due to invalid IL or missing references) //IL_7917: Unknown result type (might be due to invalid IL or missing references) //IL_7929: Unknown result type (might be due to invalid IL or missing references) //IL_7932: Unknown result type (might be due to invalid IL or missing references) //IL_7965: Unknown result type (might be due to invalid IL or missing references) //IL_796a: Unknown result type (might be due to invalid IL or missing references) //IL_7980: Unknown result type (might be due to invalid IL or missing references) //IL_7985: Unknown result type (might be due to invalid IL or missing references) //IL_799b: Unknown result type (might be due to invalid IL or missing references) //IL_79a0: Unknown result type (might be due to invalid IL or missing references) //IL_79a8: Unknown result type (might be due to invalid IL or missing references) //IL_79ad: Unknown result type (might be due to invalid IL or missing references) //IL_79ae: Unknown result type (might be due to invalid IL or missing references) //IL_79b8: Unknown result type (might be due to invalid IL or missing references) //IL_79b9: Unknown result type (might be due to invalid IL or missing references) //IL_79be: Unknown result type (might be due to invalid IL or missing references) //IL_79c8: Unknown result type (might be due to invalid IL or missing references) //IL_79de: Unknown result type (might be due to invalid IL or missing references) //IL_79f0: Unknown result type (might be due to invalid IL or missing references) //IL_79f9: Unknown result type (might be due to invalid IL or missing references) //IL_7a2c: Unknown result type (might be due to invalid IL or missing references) //IL_7a31: Unknown result type (might be due to invalid IL or missing references) //IL_7a47: Unknown result type (might be due to invalid IL or missing references) //IL_7a4c: Unknown result type (might be due to invalid IL or missing references) //IL_7a62: Unknown result type (might be due to invalid IL or missing references) //IL_7a67: Unknown result type (might be due to invalid IL or missing references) //IL_7a6f: Unknown result type (might be due to invalid IL or missing references) //IL_7a74: Unknown result type (might be due to invalid IL or missing references) //IL_7a75: Unknown result type (might be due to invalid IL or missing references) //IL_7a7f: Unknown result type (might be due to invalid IL or missing references) //IL_7a80: Unknown result type (might be due to invalid IL or missing references) //IL_7a85: Unknown result type (might be due to invalid IL or missing references) //IL_7a8f: Unknown result type (might be due to invalid IL or missing references) //IL_7aa5: Unknown result type (might be due to invalid IL or missing references) //IL_7ab7: Unknown result type (might be due to invalid IL or missing references) //IL_7ac0: Unknown result type (might be due to invalid IL or missing references) //IL_7af3: Unknown result type (might be due to invalid IL or missing references) //IL_7af8: Unknown result type (might be due to invalid IL or missing references) //IL_7b0e: Unknown result type (might be due to invalid IL or missing references) //IL_7b13: Unknown result type (might be due to invalid IL or missing references) //IL_7b29: Unknown result type (might be due to invalid IL or missing references) //IL_7b2e: Unknown result type (might be due to invalid IL or missing references) //IL_7b36: Unknown result type (might be due to invalid IL or missing references) //IL_7b3b: Unknown result type (might be due to invalid IL or missing references) //IL_7b3c: Unknown result type (might be due to invalid IL or missing references) //IL_7b46: Unknown result type (might be due to invalid IL or missing references) //IL_7b47: Unknown result type (might be due to invalid IL or missing references) //IL_7b4c: Unknown result type (might be due to invalid IL or missing references) //IL_7b56: Unknown result type (might be due to invalid IL or missing references) //IL_7b6c: Unknown result type (might be due to invalid IL or missing references) //IL_7b7e: Unknown result type (might be due to invalid IL or missing references) //IL_7b87: Unknown result type (might be due to invalid IL or missing references) //IL_7bba: Unknown result type (might be due to invalid IL or missing references) //IL_7bbf: Unknown result type (might be due to invalid IL or missing references) //IL_7bd5: Unknown result type (might be due to invalid IL or missing references) //IL_7bda: Unknown result type (might be due to invalid IL or missing references) //IL_7bf0: Unknown result type (might be due to invalid IL or missing references) //IL_7bf5: Unknown result type (might be due to invalid IL or missing references) //IL_7bfd: Unknown result type (might be due to invalid IL or missing references) //IL_7c02: Unknown result type (might be due to invalid IL or missing references) //IL_7c03: Unknown result type (might be due to invalid IL or missing references) //IL_7c0d: Unknown result type (might be due to invalid IL or missing references) //IL_7c0e: Unknown result type (might be due to invalid IL or missing references) //IL_7c13: Unknown result type (might be due to invalid IL or missing references) //IL_7c1d: Unknown result type (might be due to invalid IL or missing references) //IL_7c33: Unknown result type (might be due to invalid IL or missing references) //IL_7c45: Unknown result type (might be due to invalid IL or missing references) //IL_7c4e: Unknown result type (might be due to invalid IL or missing references) //IL_7c81: Unknown result type (might be due to invalid IL or missing references) //IL_7c86: Unknown result type (might be due to invalid IL or missing references) //IL_7c9c: Unknown result type (might be due to invalid IL or missing references) //IL_7ca1: Unknown result type (might be due to invalid IL or missing references) //IL_7cb7: Unknown result type (might be due to invalid IL or missing references) //IL_7cbc: Unknown result type (might be due to invalid IL or missing references) //IL_7cc4: Unknown result type (might be due to invalid IL or missing references) //IL_7cc9: Unknown result type (might be due to invalid IL or missing references) //IL_7cca: Unknown result type (might be due to invalid IL or missing references) //IL_7cd4: Unknown result type (might be due to invalid IL or missing references) //IL_7cd5: Unknown result type (might be due to invalid IL or missing references) //IL_7cda: Unknown result type (might be due to invalid IL or missing references) //IL_7ce4: Unknown result type (might be due to invalid IL or missing references) //IL_7cfa: Unknown result type (might be due to invalid IL or missing references) //IL_7d0c: Unknown result type (might be due to invalid IL or missing references) //IL_7d15: Unknown result type (might be due to invalid IL or missing references) //IL_7d48: Unknown result type (might be due to invalid IL or missing references) //IL_7d4d: Unknown result type (might be due to invalid IL or missing references) //IL_7d63: Unknown result type (might be due to invalid IL or missing references) //IL_7d68: Unknown result type (might be due to invalid IL or missing references) //IL_7d7e: Unknown result type (might be due to invalid IL or missing references) //IL_7d83: Unknown result type (might be due to invalid IL or missing references) //IL_7d8b: Unknown result type (might be due to invalid IL or missing references) //IL_7d90: Unknown result type (might be due to invalid IL or missing references) //IL_7d91: Unknown result type (might be due to invalid IL or missing references) //IL_7d9b: Unknown result type (might be due to invalid IL or missing references) //IL_7d9c: Unknown result type (might be due to invalid IL or missing references) //IL_7da1: Unknown result type (might be due to invalid IL or missing references) //IL_7dab: Unknown result type (might be due to invalid IL or missing references) //IL_7dc1: Unknown result type (might be due to invalid IL or missing references) //IL_7dd3: Unknown result type (might be due to invalid IL or missing references) //IL_7ddc: Unknown result type (might be due to invalid IL or missing references) //IL_7e0f: Unknown result type (might be due to invalid IL or missing references) //IL_7e14: Unknown result type (might be due to invalid IL or missing references) //IL_7e2a: Unknown result type (might be due to invalid IL or missing references) //IL_7e2f: Unknown result type (might be due to invalid IL or missing references) //IL_7e45: Unknown result type (might be due to invalid IL or missing references) //IL_7e4a: Unknown result type (might be due to invalid IL or missing references) //IL_7e52: Unknown result type (might be due to invalid IL or missing references) //IL_7e57: Unknown result type (might be due to invalid IL or missing references) //IL_7e58: Unknown result type (might be due to invalid IL or missing references) //IL_7e62: Unknown result type (might be due to invalid IL or missing references) //IL_7e63: Unknown result type (might be due to invalid IL or missing references) //IL_7e68: Unknown result type (might be due to invalid IL or missing references) //IL_7e72: Unknown result type (might be due to invalid IL or missing references) //IL_7e88: Unknown result type (might be due to invalid IL or missing references) //IL_7e9a: Unknown result type (might be due to invalid IL or missing references) //IL_7ea3: Unknown result type (might be due to invalid IL or missing references) //IL_7ed6: Unknown result type (might be due to invalid IL or missing references) //IL_7edb: Unknown result type (might be due to invalid IL or missing references) //IL_7ef1: Unknown result type (might be due to invalid IL or missing references) //IL_7ef6: Unknown result type (might be due to invalid IL or missing references) //IL_7f0c: Unknown result type (might be due to invalid IL or missing references) //IL_7f11: Unknown result type (might be due to invalid IL or missing references) //IL_7f19: Unknown result type (might be due to invalid IL or missing references) //IL_7f1e: Unknown result type (might be due to invalid IL or missing references) //IL_7f1f: Unknown result type (might be due to invalid IL or missing references) //IL_7f29: Unknown result type (might be due to invalid IL or missing references) //IL_7f2a: Unknown result type (might be due to invalid IL or missing references) //IL_7f2f: Unknown result type (might be due to invalid IL or missing references) //IL_7f39: Unknown result type (might be due to invalid IL or missing references) //IL_7f4f: Unknown result type (might be due to invalid IL or missing references) //IL_7f61: Unknown result type (might be due to invalid IL or missing references) //IL_7f6a: Unknown result type (might be due to invalid IL or missing references) //IL_7f9d: Unknown result type (might be due to invalid IL or missing references) //IL_7fa2: Unknown result type (might be due to invalid IL or missing references) //IL_7fb8: Unknown result type (might be due to invalid IL or missing references) //IL_7fbd: Unknown result type (might be due to invalid IL or missing references) //IL_7fd3: Unknown result type (might be due to invalid IL or missing references) //IL_7fd8: Unknown result type (might be due to invalid IL or missing references) //IL_7fe0: Unknown result type (might be due to invalid IL or missing references) //IL_7fe5: Unknown result type (might be due to invalid IL or missing references) //IL_7fe6: Unknown result type (might be due to invalid IL or missing references) //IL_7ff0: Unknown result type (might be due to invalid IL or missing references) //IL_7ff1: Unknown result type (might be due to invalid IL or missing references) //IL_7ff6: Unknown result type (might be due to invalid IL or missing references) //IL_8000: Unknown result type (might be due to invalid IL or missing references) //IL_8016: Unknown result type (might be due to invalid IL or missing references) //IL_8028: Unknown result type (might be due to invalid IL or missing references) //IL_8031: Unknown result type (might be due to invalid IL or missing references) //IL_8064: Unknown result type (might be due to invalid IL or missing references) //IL_8069: Unknown result type (might be due to invalid IL or missing references) //IL_807f: Unknown result type (might be due to invalid IL or missing references) //IL_8084: Unknown result type (might be due to invalid IL or missing references) //IL_809a: Unknown result type (might be due to invalid IL or missing references) //IL_809f: Unknown result type (might be due to invalid IL or missing references) //IL_80a7: Unknown result type (might be due to invalid IL or missing references) //IL_80ac: Unknown result type (might be due to invalid IL or missing references) //IL_80ad: Unknown result type (might be due to invalid IL or missing references) //IL_80b7: Unknown result type (might be due to invalid IL or missing references) //IL_80b8: Unknown result type (might be due to invalid IL or missing references) //IL_80bd: Unknown result type (might be due to invalid IL or missing references) //IL_80c7: Unknown result type (might be due to invalid IL or missing references) //IL_80dd: Unknown result type (might be due to invalid IL or missing references) //IL_80ef: Unknown result type (might be due to invalid IL or missing references) //IL_80f8: Unknown result type (might be due to invalid IL or missing references) //IL_812b: Unknown result type (might be due to invalid IL or missing references) //IL_8130: Unknown result type (might be due to invalid IL or missing references) //IL_8146: Unknown result type (might be due to invalid IL or missing references) //IL_814b: Unknown result type (might be due to invalid IL or missing references) //IL_8161: Unknown result type (might be due to invalid IL or missing references) //IL_8166: Unknown result type (might be due to invalid IL or missing references) //IL_816e: Unknown result type (might be due to invalid IL or missing references) //IL_8173: Unknown result type (might be due to invalid IL or missing references) //IL_8174: Unknown result type (might be due to invalid IL or missing references) //IL_817e: Unknown result type (might be due to invalid IL or missing references) //IL_817f: Unknown result type (might be due to invalid IL or missing references) //IL_8184: Unknown result type (might be due to invalid IL or missing references) //IL_818e: Unknown result type (might be due to invalid IL or missing references) //IL_81a4: Unknown result type (might be due to invalid IL or missing references) //IL_81b6: Unknown result type (might be due to invalid IL or missing references) //IL_81bf: Unknown result type (might be due to invalid IL or missing references) //IL_81f2: Unknown result type (might be due to invalid IL or missing references) //IL_81f7: Unknown result type (might be due to invalid IL or missing references) //IL_820d: Unknown result type (might be due to invalid IL or missing references) //IL_8212: Unknown result type (might be due to invalid IL or missing references) //IL_8228: Unknown result type (might be due to invalid IL or missing references) //IL_822d: Unknown result type (might be due to invalid IL or missing references) //IL_8235: Unknown result type (might be due to invalid IL or missing references) //IL_823a: Unknown result type (might be due to invalid IL or missing references) //IL_823b: Unknown result type (might be due to invalid IL or missing references) //IL_8245: Unknown result type (might be due to invalid IL or missing references) //IL_8246: Unknown result type (might be due to invalid IL or missing references) //IL_824b: Unknown result type (might be due to invalid IL or missing references) //IL_8255: Unknown result type (might be due to invalid IL or missing references) //IL_826b: Unknown result type (might be due to invalid IL or missing references) //IL_827d: Unknown result type (might be due to invalid IL or missing references) //IL_8286: Unknown result type (might be due to invalid IL or missing references) //IL_82b9: Unknown result type (might be due to invalid IL or missing references) //IL_82be: Unknown result type (might be due to invalid IL or missing references) //IL_82d4: Unknown result type (might be due to invalid IL or missing references) //IL_82d9: Unknown result type (might be due to invalid IL or missing references) //IL_82ef: Unknown result type (might be due to invalid IL or missing references) //IL_82f4: Unknown result type (might be due to invalid IL or missing references) //IL_82fc: Unknown result type (might be due to invalid IL or missing references) //IL_8301: Unknown result type (might be due to invalid IL or missing references) //IL_8302: Unknown result type (might be due to invalid IL or missing references) //IL_830c: Unknown result type (might be due to invalid IL or missing references) //IL_830d: Unknown result type (might be due to invalid IL or missing references) //IL_8312: Unknown result type (might be due to invalid IL or missing references) //IL_831c: Unknown result type (might be due to invalid IL or missing references) //IL_8332: Unknown result type (might be due to invalid IL or missing references) //IL_8344: Unknown result type (might be due to invalid IL or missing references) //IL_834d: Unknown result type (might be due to invalid IL or missing references) //IL_8380: Unknown result type (might be due to invalid IL or missing references) //IL_8385: Unknown result type (might be due to invalid IL or missing references) //IL_839b: Unknown result type (might be due to invalid IL or missing references) //IL_83a0: Unknown result type (might be due to invalid IL or missing references) //IL_83b6: Unknown result type (might be due to invalid IL or missing references) //IL_83bb: Unknown result type (might be due to invalid IL or missing references) //IL_83c3: Unknown result type (might be due to invalid IL or missing references) //IL_83c8: Unknown result type (might be due to invalid IL or missing references) //IL_83c9: Unknown result type (might be due to invalid IL or missing references) //IL_83d3: Unknown result type (might be due to invalid IL or missing references) //IL_83d4: Unknown result type (might be due to invalid IL or missing references) //IL_83d9: Unknown result type (might be due to invalid IL or missing references) //IL_83e3: Unknown result type (might be due to invalid IL or missing references) //IL_83f9: Unknown result type (might be due to invalid IL or missing references) //IL_840b: Unknown result type (might be due to invalid IL or missing references) //IL_8414: Unknown result type (might be due to invalid IL or missing references) //IL_8447: Unknown result type (might be due to invalid IL or missing references) //IL_844c: Unknown result type (might be due to invalid IL or missing references) //IL_8462: Unknown result type (might be due to invalid IL or missing references) //IL_8467: Unknown result type (might be due to invalid IL or missing references) //IL_847d: Unknown result type (might be due to invalid IL or missing references) //IL_8482: Unknown result type (might be due to invalid IL or missing references) //IL_848a: Unknown result type (might be due to invalid IL or missing references) //IL_848f: Unknown result type (might be due to invalid IL or missing references) //IL_8490: Unknown result type (might be due to invalid IL or missing references) //IL_849a: Unknown result type (might be due to invalid IL or missing references) //IL_849b: Unknown result type (might be due to invalid IL or missing references) //IL_84a0: Unknown result type (might be due to invalid IL or missing references) //IL_84aa: Unknown result type (might be due to invalid IL or missing references) //IL_84c0: Unknown result type (might be due to invalid IL or missing references) //IL_84d2: Unknown result type (might be due to invalid IL or missing references) //IL_84db: Unknown result type (might be due to invalid IL or missing references) //IL_850e: Unknown result type (might be due to invalid IL or missing references) //IL_8513: Unknown result type (might be due to invalid IL or missing references) //IL_8529: Unknown result type (might be due to invalid IL or missing references) //IL_852e: Unknown result type (might be due to invalid IL or missing references) //IL_8544: Unknown result type (might be due to invalid IL or missing references) //IL_8549: Unknown result type (might be due to invalid IL or missing references) //IL_8551: Unknown result type (might be due to invalid IL or missing references) //IL_8556: Unknown result type (might be due to invalid IL or missing references) //IL_8557: Unknown result type (might be due to invalid IL or missing references) //IL_8561: Unknown result type (might be due to invalid IL or missing references) //IL_8562: Unknown result type (might be due to invalid IL or missing references) //IL_8567: Unknown result type (might be due to invalid IL or missing references) //IL_8571: Unknown result type (might be due to invalid IL or missing references) //IL_8587: Unknown result type (might be due to invalid IL or missing references) //IL_8599: Unknown result type (might be due to invalid IL or missing references) //IL_85a2: Unknown result type (might be due to invalid IL or missing references) //IL_85d5: Unknown result type (might be due to invalid IL or missing references) //IL_85da: Unknown result type (might be due to invalid IL or missing references) //IL_85f0: Unknown result type (might be due to invalid IL or missing references) //IL_85f5: Unknown result type (might be due to invalid IL or missing references) //IL_860b: Unknown result type (might be due to invalid IL or missing references) //IL_8610: Unknown result type (might be due to invalid IL or missing references) //IL_8618: Unknown result type (might be due to invalid IL or missing references) //IL_861d: Unknown result type (might be due to invalid IL or missing references) //IL_861e: Unknown result type (might be due to invalid IL or missing references) //IL_8628: Unknown result type (might be due to invalid IL or missing references) //IL_8629: Unknown result type (might be due to invalid IL or missing references) //IL_862e: Unknown result type (might be due to invalid IL or missing references) //IL_8638: Unknown result type (might be due to invalid IL or missing references) //IL_864e: Unknown result type (might be due to invalid IL or missing references) //IL_8660: Unknown result type (might be due to invalid IL or missing references) //IL_8669: Unknown result type (might be due to invalid IL or missing references) //IL_869c: Unknown result type (might be due to invalid IL or missing references) //IL_86a1: Unknown result type (might be due to invalid IL or missing references) //IL_86b7: Unknown result type (might be due to invalid IL or missing references) //IL_86bc: Unknown result type (might be due to invalid IL or missing references) //IL_86d2: Unknown result type (might be due to invalid IL or missing references) //IL_86d7: Unknown result type (might be due to invalid IL or missing references) //IL_86df: Unknown result type (might be due to invalid IL or missing references) //IL_86e4: Unknown result type (might be due to invalid IL or missing references) //IL_86e5: Unknown result type (might be due to invalid IL or missing references) //IL_86ef: Unknown result type (might be due to invalid IL or missing references) //IL_86f0: Unknown result type (might be due to invalid IL or missing references) //IL_86f5: Unknown result type (might be due to invalid IL or missing references) //IL_86ff: Unknown result type (might be due to invalid IL or missing references) //IL_8715: Unknown result type (might be due to invalid IL or missing references) //IL_8727: Unknown result type (might be due to invalid IL or missing references) //IL_8730: Unknown result type (might be due to invalid IL or missing references) //IL_8763: Unknown result type (might be due to invalid IL or missing references) //IL_8768: Unknown result type (might be due to invalid IL or missing references) //IL_877e: Unknown result type (might be due to invalid IL or missing references) //IL_8783: Unknown result type (might be due to invalid IL or missing references) //IL_8799: Unknown result type (might be due to invalid IL or missing references) //IL_879e: Unknown result type (might be due to invalid IL or missing references) //IL_87a6: Unknown result type (might be due to invalid IL or missing references) //IL_87ab: Unknown result type (might be due to invalid IL or missing references) //IL_87ac: Unknown result type (might be due to invalid IL or missing references) //IL_87b6: Unknown result type (might be due to invalid IL or missing references) //IL_87b7: Unknown result type (might be due to invalid IL or missing references) //IL_87bc: Unknown result type (might be due to invalid IL or missing references) //IL_87c6: Unknown result type (might be due to invalid IL or missing references) //IL_87dc: Unknown result type (might be due to invalid IL or missing references) //IL_87ee: Unknown result type (might be due to invalid IL or missing references) //IL_87f7: Unknown result type (might be due to invalid IL or missing references) //IL_882a: Unknown result type (might be due to invalid IL or missing references) //IL_882f: Unknown result type (might be due to invalid IL or missing references) //IL_8845: Unknown result type (might be due to invalid IL or missing references) //IL_884a: Unknown result type (might be due to invalid IL or missing references) //IL_8860: Unknown result type (might be due to invalid IL or missing references) //IL_8865: Unknown result type (might be due to invalid IL or missing references) //IL_886d: Unknown result type (might be due to invalid IL or missing references) //IL_8872: Unknown result type (might be due to invalid IL or missing references) //IL_8873: Unknown result type (might be due to invalid IL or missing references) //IL_887d: Unknown result type (might be due to invalid IL or missing references) //IL_887e: Unknown result type (might be due to invalid IL or missing references) //IL_8883: Unknown result type (might be due to invalid IL or missing references) //IL_888d: Unknown result type (might be due to invalid IL or missing references) //IL_88a3: Unknown result type (might be due to invalid IL or missing references) //IL_88b5: Unknown result type (might be due to invalid IL or missing references) //IL_88be: Unknown result type (might be due to invalid IL or missing references) //IL_88f1: Unknown result type (might be due to invalid IL or missing references) //IL_88f6: Unknown result type (might be due to invalid IL or missing references) //IL_890c: Unknown result type (might be due to invalid IL or missing references) //IL_8911: Unknown result type (might be due to invalid IL or missing references) //IL_8927: Unknown result type (might be due to invalid IL or missing references) //IL_892c: Unknown result type (might be due to invalid IL or missing references) //IL_8934: Unknown result type (might be due to invalid IL or missing references) //IL_8939: Unknown result type (might be due to invalid IL or missing references) //IL_893a: Unknown result type (might be due to invalid IL or missing references) //IL_8944: Unknown result type (might be due to invalid IL or missing references) //IL_8945: Unknown result type (might be due to invalid IL or missing references) //IL_894a: Unknown result type (might be due to invalid IL or missing references) 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 = "Jetpack.L", localPos = new Vector3(0.8f, 0.45f, 0f), localAngles = new Vector3(0f, 0f, 270f), localScale = new Vector3(4f, 4f, 4f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAfterburnerShoulderRing"), childName = "Jetpack.R", localPos = new Vector3(-0.8f, 0.45f, 0f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(4f, 4f, 4f), 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 = "Chest", localPos = new Vector3(0.00117f, 1.1492f, 1.10514f), localAngles = new Vector3(350f, 0f, 0f), localScale = new Vector3(1.8f, 1.3f, 1f), 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 = "Chest", localPos = new Vector3(-0.49409f, 0.53226f, 1.71343f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(3f, 3f, 3f), 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 = "Pelvis", localPos = new Vector3(-0.67035f, 0.36531f, 0.8628f), localAngles = new Vector3(0f, 340f, 0f), localScale = new Vector3(0.4f, 0.4f, 0.4f), 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.0381f, 0.51783f, -1.5441f), localAngles = new Vector3(0f, 180f, 45f), localScale = new Vector3(2f, 2f, 2f), 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(1.90966f, 1.72965f, 0.02362f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FreeChest, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShippingRequestForm"), childName = "Head", localPos = new Vector3(-0.5366f, 0.22825f, -1.1064f), localAngles = new Vector3(87.00272f, 65.25777f, 244.977f), localScale = new Vector3(2f, 2f, 2f), 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.60038f, 1.12111f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(2.1f, 2.1f, 2.1f), 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.06198f, 0.77824f, -1.45844f), localAngles = new Vector3(313.678f, 264.9834f, 92.05762f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MissileVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMissileLauncherVoid"), childName = "Chest", localPos = new Vector3(1.90966f, 1.72965f, 0.02362f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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 = "ShoulderL", localPos = new Vector3(-0.00343f, 1.39271f, -0.00379f), localAngles = new Vector3(335.2361f, 359.5875f, 11.45406f), localScale = new Vector3(3f, 3f, 3f), 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(3.6f, 3.6f, 3.6f), 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 = "Hat", localPos = new Vector3(-0.06115f, 0.61931f, 0.07598f), localAngles = new Vector3(0f, 324f, 0f), localScale = new Vector3(1.6f, 1.6f, 1.6f), 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(-0.00049f, 0.50231f, 1.23207f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(1.6f, 1.6f, 1.6f), 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(-1.27693f, 0.88377f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(1.4f, 1.4f, -1.4f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAntler"), childName = "Head", localPos = new Vector3(1.27693f, 0.88377f, 0f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(1.4f, 1.4f, 1.4f), 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(0.45889f, 0.76346f, -0.45378f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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.97387f, 0.15372f, 0.73159f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDevilHorns"), childName = "Head", localPos = new Vector3(-0.97387f, 0.15372f, 0.73159f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CritGlassesVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGlassesVoid"), childName = "Chest", localPos = new Vector3(0.00117f, 1.1492f, 1.10514f), localAngles = new Vector3(350f, 0f, 0f), localScale = new Vector3(1.8f, 1.3f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ChainLightningVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayUkuleleVoid"), childName = "Chest", localPos = new Vector3(0.0381f, 0.51783f, -1.5441f), localAngles = new Vector3(0f, 180f, 45f), localScale = new Vector3(2f, 2f, 2f), 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(-0.27599f, 0.82905f, 0.29295f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(4.3f, 4f, 4f), 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 = "Chest", localPos = new Vector3(-0.53163f, 0.54281f, 1.80412f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(1.4f, 1.4f, 1.4f), 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(1.19505f, 1.09496f, -1.05765f), localAngles = new Vector3(300f, 135f, 0f), localScale = new Vector3(0.7f, 0.7f, 0.7f), 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(-1.09314f, 1.12391f, -0.96432f), localAngles = new Vector3(299.2325f, 214.607f, 359.5162f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BearVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBearVoid"), childName = "Chest", localPos = new Vector3(1.19505f, 1.09496f, -1.05765f), localAngles = new Vector3(300f, 135f, 0f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExtraLifeVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHippoVoid"), childName = "Chest", localPos = new Vector3(-1.09314f, 1.12391f, -0.96432f), localAngles = new Vector3(299.2325f, 214.607f, 359.5162f), localScale = new Vector3(0.7f, 0.7f, 0.7f), 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 = "CalfL", localPos = new Vector3(0.00184f, 0.54564f, -0.51508f), localAngles = new Vector3(5.1886f, 184.2728f, 1.12512f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LightningStrikeOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayChargedPerforator"), childName = "CalfR", localPos = new Vector3(-0.0512f, 0.51225f, -0.34084f), localAngles = new Vector3(274.27f, 356.7444f, 188.4236f), localScale = new Vector3(3.4f, 3.4f, 3.4f), 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 = "Head", localPos = new Vector3(1.27222f, 0.81641f, 0.92007f), localAngles = new Vector3(61.65746f, 32.00563f, 318.2274f), localScale = new Vector3(2.4f, 2.4f, 2.4f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ImmuneToDebuff, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRainCoatBelt"), childName = "Pelvis", localPos = new Vector3(0f, -0.15464f, -0.39029f), localAngles = new Vector3(-1E-05f, 0f, 180f), localScale = new Vector3(3f, 3f, 3f), 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 = "LowerArmR", localPos = new Vector3(0.04706f, -0.05544f, -0.03281f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(3f, 3f, 3f), 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 = "LowerArmL", localPos = new Vector3(0.00143f, -0.06617f, -0.02875f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ElementalRingVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVoidRing"), childName = "LowerArmR", localPos = new Vector3(0.04706f, -0.05544f, -0.03281f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVoidRing"), childName = "LowerArmL", localPos = new Vector3(0.00143f, -0.06617f, -0.02875f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(3f, 3f, 3f), 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.02269f, 0.5767f, 0.11436f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGravBoots"), childName = "CalfR", localPos = new Vector3(-0.02269f, 0.5767f, 0.11436f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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(0.01969f, 1.12364f, -1.5036f), localAngles = new Vector3(60f, 180f, 0f), localScale = new Vector3(2f, 2f, 2f), 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 = "Pelvis", localPos = new Vector3(0f, 0.44293f, 1.08265f), localAngles = new Vector3(-1E-05f, 90f, 180f), localScale = new Vector3(0.34f, 0.34f, 0.34f), 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(-0.00277f, 0.6f, -1.8278f), localAngles = new Vector3(-1E-05f, 1E-05f, 180f), localScale = new Vector3(1.5f, 1.5f, 1.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Hoof, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHoof"), childName = "CalfR", localPos = new Vector3(0.02358f, 1.03058f, -0.0098f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)1, limbMask = (LimbFlags)8 } } } }); 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 = "PipesL", localPos = new Vector3(0.008f, 0.34211f, -0.01367f), localAngles = new Vector3(275.6745f, 200.5645f, 251.6839f), localScale = new Vector3(1.1f, 1.1f, 1.1f), 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 = "CalfR", localPos = new Vector3(-0.10042f, 0.58704f, -0.13391f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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 = "HandL", localPos = new Vector3(-0.29584f, 0.411f, 0.00169f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(0.25f, 0.25f, 0.25f), 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 = "HandR", localPos = new Vector3(0.24536f, 0.41648f, 0.06635f), localAngles = new Vector3(270f, 90f, 0f), localScale = new Vector3(0.12f, 0.12f, 0.12f), 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(0f, 0.54329f, 0.93286f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(1.3f, 1.3f, 1.3f), 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, 0.5221f, 1.23498f), localAngles = new Vector3(0f, 0f, 180f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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 = "Chest", localPos = new Vector3(0.37466f, 0.50156f, -1.50662f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(1.1f, 1.1f, 1.1f), 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.57203f, 1.2946f), localAngles = new Vector3(0f, 0f, 180f), localScale = new Vector3(0.5f, 0.5f, 0.5f), 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(-3E-05f, 0.52758f, 2.14767f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); 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(0f, 0.2765f, -1.1505f), localAngles = new Vector3(330f, 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 = "Chest", localPos = new Vector3(-2.22625f, 0.59025f, 0.00979f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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(-1.85379f, 0.49299f, 0.0422f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(2f, 2f, 2f), 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(-1.13876f, 0.557f, 1.35612f), localAngles = new Vector3(90f, 130f, 0f), localScale = new Vector3(0.8f, 0.8f, 0.8f), 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 = "Pelvis", localPos = new Vector3(0f, 2.01706f, -0.07716f), localAngles = new Vector3(0f, 270f, 0f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.AttackSpeedAndMoveSpeed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCoffee"), childName = "PipesR", localPos = new Vector3(-0.0117f, 0.33519f, -0.05378f), localAngles = new Vector3(354.3912f, 155.4135f, 357.7732f), localScale = new Vector3(0.7f, 0.7f, 0.7f), 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.04249f, 0.73979f, 1.95164f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.5f, 0.5f, 0.5f), 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 = "Head", localPos = new Vector3(-0.75299f, 1.25173f, 0.05481f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(2f, 2f, 2f), 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 = "ShoulderR", localPos = new Vector3(-0.00664f, 1.35992f, -0.06253f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(1.5f, 1.5f, 1.5f), 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.06679f, 11f / 160f, -1.08445f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(1f, 1f, 1f), 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 = "ShoulderR", localPos = new Vector3(0.05644f, 1.24216f, 0.02307f), localAngles = new Vector3(10.26635f, 9.64574f, 168.3789f), 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(2.46906f, 8.9101f, 1.75943f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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(0f, 0.69845f, 0.95915f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(1.5f, 1.5f, 1.5f), 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.46711f, -0.18246f, -0.5095f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(1f, 1f, 1f), 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 = "Head", localPos = new Vector3(0.59913f, 1.41596f, -0.00379f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(3f, 3f, 3f), 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.24706f, -1.38775f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.6f, 0.6f, 0.6f), 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 = "Head", localPos = new Vector3(0.5646f, 0.88416f, -1.21746f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(2f, 2f, 2f), 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(-4f, 4f, 4f), 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 = "ThighR", localPos = new Vector3(-0.00513f, -0.66323f, -0.99841f), localAngles = new Vector3(44.46998f, 354.5271f, 272.6279f), localScale = new Vector3(2f, 2f, 2f), 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(0.04706f, -0.05544f, -0.03281f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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(0.04706f, -0.05544f, -0.03281f), localAngles = new Vector3(274.3965f, 90f, 270f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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(-3.39581f, 7.99995f, 0f), 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("DisplaySawmerangFollower"), childName = "Base", localPos = new Vector3(-4.12416f, 7.98507f, -0.81386f), localAngles = new Vector3(75.0001f, 176f, 180f), localScale = new Vector3(0.5f, 0.5f, 0.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CloverVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayCloverVoid"), childName = "Head", localPos = new Vector3(1.27222f, 0.81641f, 0.92007f), localAngles = new Vector3(61.65746f, 32.00563f, 318.2274f), localScale = new Vector3(2.4f, 2.4f, 2.4f), 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(-3.69212f, 7.95687f, 0f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.BleedOnHitVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTriTipVoid"), childName = "Head", localPos = new Vector3(-1.37354f, 1.59668f, -0.88525f), localAngles = new Vector3(56.87689f, 35.16671f, 334.2393f), localScale = new Vector3(1.5f, 1.5f, 1.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.CritDamage, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLaserSight"), childName = "Head", localPos = new Vector3(-1.46901f, 0.43275f, -0.00668f), localAngles = new Vector3(270f, 90f, 0f), localScale = new Vector3(0.5f, 0.5f, 0.5f), 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 = "ShoulderR", localPos = new Vector3(-0.26594f, 0.65644f, -0.07889f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(3.6f, 3.6f, 3.6f), 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 = "LowerArmR", localPos = new Vector3(0.65617f, 2.2126f, 0.25271f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(2f, 2f, 2f), 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(-3.74728f, 8.4005f, 1.65466f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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(-2.01845f, 0.3102f, 0.05113f), localAngles = new Vector3(0f, 270f, 150f), localScale = new Vector3(1.3f, 1.3f, 1.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.Molotov, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMolotov"), childName = "Head", localPos = new Vector3(-1.67488f, 0.312456f, 0.05488f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMolotov"), childName = "Head", localPos = new Vector3(1.67488f, 0.312456f, 0.05488f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-1f, 1f, 1f), 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 = "Chest", localPos = new Vector3(0.01541f, 0.6458f, -1.8299f), localAngles = new Vector3(-1E-05f, 90f, 270f), localScale = new Vector3(1.2f, 1.2f, 1.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.GummyClone, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGummyClone"), childName = "Head", localPos = new Vector3(0.49778f, 1.34068f, -1.17572f), 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.MultiShopCard, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayExecutiveCard"), childName = "Chest", localPos = new Vector3(-0.60869f, 0.54873f, -1.5384f), localAngles = new Vector3(90f, 270f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.VendingMachine, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayVendingMachine"), childName = "Head", localPos = new Vector3(0.47835f, 0.98633f, -1.11264f), localAngles = new Vector3(0f, 180f, 0f), localScale = new Vector3(0.8f, 0.8f, 0.8f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.EliteVoidEquipment, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayAffixVoid"), childName = "Head", localPos = new Vector3(0f, 0.40845f, 1.20601f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(0.8f, 0.8f, 0.8f), 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(1.22185f, 0.88893f, 0.0065f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.5f, 0.5f, 0.5f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteHorn"), childName = "Head", localPos = new Vector3(-1.22185f, 0.88893f, 0.0065f), 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.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, 1.60141f, 0f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(0.2f, 0.2f, 0.2f), 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(0.0385f, 0.81658f, 0.82963f), localAngles = new Vector3(315f, 0f, 0f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteRhinoHorn"), childName = "Head", localPos = new Vector3(0.03906f, 0.72268f, 0.96535f), localAngles = new Vector3(340f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BossHunter, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTricornGhost"), childName = "Hat", localPos = new Vector3(0.03438f, 0.89773f, -0.24518f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBlunderbuss"), childName = "Base", localPos = new Vector3(3.36127f, 8.67569f, 1.26548f), localAngles = new Vector3(90f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Equipment.BossHunterConsumed, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayTricornUsed"), childName = "Hat", localPos = new Vector3(0.03438f, 0.89773f, -0.24518f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Addressables.LoadAssetAsync((object)"RoR2/DLC1/EliteEarth/EliteEarthEquipment.asset").WaitForCompletion(), displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayEliteMendingAntlers"), childName = "Head", localPos = new Vector3(-0.00626f, 0.95351f, -0.39432f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(4f, 4f, 4f), 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(-0.0298f, 0.96761f, -0.0052f), localAngles = new Vector3(270f, 90f, 0f), localScale = new Vector3(0.34f, 0.34f, 0.34f), 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(0.01668f, 1.80998f, -0.23431f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(0.4f, 0.4f, 0.4f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.OutOfCombatArmor, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayOddlyShapedOpal"), childName = "Chest", localPos = new Vector3(-1.16109f, 1.08549f, 0.48321f), localAngles = new Vector3(90f, 135f, 0f), localScale = new Vector3(1f, 1f, 1f), 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.01372f, 0.19008f, 0.26174f), localAngles = new Vector3(292.5154f, 283.236f, 260.2971f), localScale = new Vector3(4f, 5.2f, 4f), 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 = "LowerArmL", localPos = new Vector3(-0.99617f, 1.60066f, 0.18735f), localAngles = new Vector3(358.5634f, 269.7381f, 357.2693f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.FragileDamageBonus, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDelicateWatch"), childName = "HandL", localPos = new Vector3(-0.12222f, 0.34454f, 0.0291f), localAngles = new Vector3(283.6929f, 128.8764f, 336.2239f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarSun, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySunHead"), childName = "Head", localPos = new Vector3(-0.00086f, 0.51444f, 1.16411f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(2.1f, 2.1f, 2.1f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySunHeadNeck"), childName = "Chest", localPos = new Vector3(-0.02926f, 1.2165f, 0.04f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(6f, 4f, 6f), 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.00362f, 0.95067f, -1.09796f), localAngles = new Vector3(300f, 0f, 0f), localScale = new Vector3(2f, 2f, 2f), 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("CustomWarhammer"), childName = "HammerHandle1", localPos = new Vector3(0.95841f, 0.44103f, -6.83693f), localAngles = new Vector3(0.71671f, 169.9688f, 331.0027f), localScale = new Vector3(3f, 3f, 3f), 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.55291f, 0.27591f, 0.22005f), localAngles = new Vector3(24.13992f, 76.18073f, 355.0659f), localScale = new Vector3(1f, 1f, 1f), 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 = "UpperArmL", localPos = new Vector3(-0.07067f, 1.58443f, 0.02026f), localAngles = new Vector3(322.8272f, 200.6293f, 261.7263f), localScale = new Vector3(0.1f, 0.1f, 0.1f), 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 = "Chest", localPos = new Vector3(1.09596f, 1.03824f, 1.06886f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.15f, 0.15f, 0.15f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MushroomVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMushroomVoid"), childName = "Chest", localPos = new Vector3(1.09596f, 1.03824f, 1.06886f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.15f, 0.15f, 0.15f), 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.52559f, 0.12993f, -1.46474f), localAngles = new Vector3(270f, 0f, 0f), localScale = new Vector3(3f, 3f, 3f), 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 = "Pelvis", localPos = new Vector3(-0.10871f, 0.73194f, 0.79936f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(1.2f, 1.2f, 1.2f), 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 = "Pelvis", localPos = new Vector3(-0.21407f, 1.17682f, 0.1752f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.EquipmentMagazineVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayFuelCellVoid"), childName = "Pelvis", localPos = new Vector3(0.17693f, 1.17685f, 0.1752f), localAngles = new Vector3(0f, 0f, 90f), localScale = new Vector3(1f, 1f, 1f), 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.02544f, 1.06572f, -1.36462f), localAngles = new Vector3(315f, 0f, 0f), localScale = new Vector3(2f, 2f, 2f), 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.8f, 0.5f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShieldBug"), childName = "Head", localPos = new Vector3(-0.8f, 0.5f, 0f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(-1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MoreMissile, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayICBM"), childName = "LowerArmR", localPos = new Vector3(1.0526f, 0.92267f, 0.33512f), localAngles = new Vector3(358.4739f, 196.2306f, 1.74141f), localScale = new Vector3(0.8f, 0.8f, 0.8f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HalfSpeedDoubleHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLunarShoulderStone"), childName = "ShoulderL", localPos = new Vector3(-0.02389f, 1.55666f, 0.04708f), localAngles = new Vector3(2.76242f, 276.0806f, 302.8358f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.PrimarySkillShuriken, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShuriken"), childName = "Chest", localPos = new Vector3(1.89677f, 0.6126f, 0.02436f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayShuriken"), childName = "Chest", localPos = new Vector3(-1.89677f, 0.6126f, 0.02436f), localAngles = new Vector3(0f, 90f, 0f), localScale = new Vector3(3f, 3f, 3f), 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 = "Pelvis", localPos = new Vector3(0.01188f, 0.60949f, -0.00688f), localAngles = new Vector3(0f, 180f, 180f), localScale = new Vector3(3.3f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RegeneratingScrap, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRegeneratingScrap"), childName = "ThighL", localPos = new Vector3(0.06018f, 0.99113f, 0.6685f), localAngles = new Vector3(0f, 180f, 180f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.StrengthenBurn, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGasTank"), childName = "Chest", localPos = new Vector3(-0.03283f, -0.31868f, -1.24492f), localAngles = new Vector3(32.01325f, 180.3033f, 270.0353f), localScale = new Vector3(1f, 1f, 1f), 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(-1.19403f, 1.21241f, -0.11543f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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(0.97737f, -1.5143f, 0.0345f), localAngles = new Vector3(0f, 350f, 0f), localScale = new Vector3(4f, 4f, 4f), 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 = "Chest", localPos = new Vector3(0.50334f, 0.81582f, 1.76645f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(2f, 2f, 2f), 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 = "Head", localPos = new Vector3(0.02259f, 0.54096f, 1.25526f), 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)Items.Syringe, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySyringeCluster"), childName = "Pelvis", localPos = new Vector3(1.78492f, -0.0063f, 0.08677f), localAngles = new Vector3(59.70058f, 187.0446f, 98.52901f), localScale = new Vector3(0.7f, 0.7f, 0.7f), 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 = "LowerArmL", localPos = new Vector3(-0.65809f, 2.0874f, 0.43508f), localAngles = new Vector3(88.13177f, 341.1274f, 46.61266f), localScale = new Vector3(1.3f, 1.3f, 1.3f), 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 = "Pelvis", localPos = new Vector3(1.97824f, 0.8335f, 0.04976f), localAngles = new Vector3(90f, 270f, 0f), localScale = new Vector3(3f, 3f, 3f), 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 = "ThighR", localPos = new Vector3(-3.11582f, -1.36913f, 1.33288f), localAngles = new Vector3(39.20604f, 345.9948f, 287.024f), localScale = new Vector3(0.2f, 0.2f, 0.2f), 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 = "Chest", localPos = new Vector3(1.27849f, 0.52871f, 1.46618f), localAngles = new Vector3(270f, 140f, 0f), localScale = new Vector3(3f, 3f, 3f), 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 = "Chest", localPos = new Vector3(0.90107f, -0.02878f, 1.3107f), localAngles = new Vector3(45.26494f, 242.1814f, 200.7004f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Tooth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[5] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Chest", localPos = new Vector3(0f, 1.0895f, 1.38636f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(8f, 8f, 8f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Chest", localPos = new Vector3(-0.2477389f, 1.09445f, 1.35364f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(6f, 6f, 6f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Chest", localPos = new Vector3(0.2477389f, 1.09445f, 1.35364f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(6f, 6f, 6f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Chest", localPos = new Vector3(-0.47564f, 1.10054f, 1.264277f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(5f, 5f, 5f), limbMask = (LimbFlags)0 }, new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayToothMeshLarge"), childName = "Chest", localPos = new Vector3(0.47564f, 1.10054f, 1.264277f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(5f, 5f, 5f), 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.1348f, 0.30163f, 2.11047f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(1f, 1f, 1f), 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(-2.10812f, 1.8948f, 1.11686f), localAngles = new Vector3(0.47835f, 102.6075f, 182.4889f), localScale = new Vector3(1.5f, 1.5f, 1.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.SlowOnHitVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBaubleVoid"), childName = "Pelvis", localPos = new Vector3(-2.10812f, 1.8948f, 1.11686f), localAngles = new Vector3(0.47835f, 102.6075f, 182.4889f), localScale = new Vector3(1.5f, 1.5f, 1.5f), 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 = "Head", localPos = new Vector3(1.46065f, 0.59488f, -0.8081f), localAngles = new Vector3(274.7068f, 69.15612f, 52.48836f), localScale = new Vector3(1.5f, 1.5f, 1.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.GoldOnHurt, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayRollOfPennies"), childName = "Head", localPos = new Vector3(0.53561f, 0.17481f, -1.16899f), localAngles = new Vector3(90f, 270f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HalfAttackSpeedHalfCooldowns, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayLunarShoulderNature"), childName = "ShoulderR", localPos = new Vector3(0.07999f, 1.29681f, 0.05322f), localAngles = new Vector3(357.2791f, 282.0003f, 325.975f), localScale = new Vector3(3f, 3f, 3f), 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.50001f, -0.24228f, 1.68414f), localAngles = new Vector3(7.94111f, 192.919f, 270.1511f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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 = "Chest", localPos = new Vector3(1.10091f, -0.42219f, -0.9034f), localAngles = new Vector3(13.78956f, 344.0582f, 88.98917f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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 = "Head", localPos = new Vector3(-0.10648f, 1.03051f, -0.20891f), localAngles = new Vector3(0f, 330f, 0f), localScale = new Vector3(1.5f, 1.5f, 1.5f), 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(-2.38152f, 0.37895f, 0.0485f), localAngles = new Vector3(0f, 270f, 150f), localScale = new Vector3(0.2f, 0.2f, 0.2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.HealingPotion, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayHealingPotion"), childName = "Pelvis", localPos = new Vector3(1.62825f, 0.05218f, 0.9549f), localAngles = new Vector3(322.0498f, 175.1867f, 187.1756f), localScale = new Vector3(0.2f, 0.2f, 0.2f), 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(-1.57522f, 0.27268f, 0.91862f), localAngles = new Vector3(2.35106f, 94.1549f, 267.8134f), localScale = new Vector3(1.5f, 1.5f, 1.5f), 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 = "ThighL", localPos = new Vector3(0.07841f, -0.65349f, -1.1863f), localAngles = new Vector3(356.158f, 263.7853f, 214.3699f), localScale = new Vector3(0.25f, 0.25f, 0.25f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ExplodeOnDeathVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayWillowWispVoid"), childName = "ThighL", localPos = new Vector3(0.07841f, -0.65349f, -1.1863f), localAngles = new Vector3(356.158f, 263.7853f, 214.3699f), localScale = new Vector3(0.25f, 0.25f, 0.25f), 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 = "ThighR", localPos = new Vector3(-0.09277f, -0.25221f, -1.23408f), localAngles = new Vector3(5.83502f, 336.0272f, 188.4757f), localScale = new Vector3(1f, 1f, 1f), 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 = "ThighL", localPos = new Vector3(-0.31077f, 0.35379f, -0.89277f), localAngles = new Vector3(45.26951f, 355.9093f, 358.4541f), localScale = new Vector3(0.25f, 0.25f, 0.25f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RandomEquipmentTrigger, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBottledChaos"), childName = "Pelvis", localPos = new Vector3(0.8891f, 0.8036f, 0.7103f), localAngles = new Vector3(358.0485f, 28.57144f, 180.2457f), localScale = new Vector3(0.7f, 0.7f, 0.7f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.Squid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplaySquidTurret"), childName = "Chest", localPos = new Vector3(-0.99237f, -0.12482f, 1.37679f), localAngles = new Vector3(10.40466f, 212.2179f, 225.3876f), localScale = new Vector3(0.2f, 0.2f, 0.2f), 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 = "Chest", localPos = new Vector3(-0.34089f, 0.62035f, -1.64f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(4f, 4f, 4f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.TreasureCacheVoid, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayKeyVoid"), childName = "Chest", localPos = new Vector3(-0.34089f, 0.62035f, -1.64f), localAngles = new Vector3(90f, 90f, 0f), localScale = new Vector3(4f, 4f, 4f), 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 = "Head", localPos = new Vector3(-1.2569f, 0.84597f, 0.86491f), localAngles = new Vector3(332.5085f, 317.2161f, 294.9464f), localScale = new Vector3(2f, 2f, 2f), 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 = "Head", localPos = new Vector3(-1.32706f, 0.47782f, -0.81946f), localAngles = new Vector3(359.8251f, 234.1189f, 3.33783f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MoveSpeedOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayGrappleHook"), childName = "Head", localPos = new Vector3(-0.29667f, 1.8204f, -1.03377f), localAngles = new Vector3(356.0622f, 232.2437f, 23.71056f), localScale = new Vector3(0.5f, 0.5f, 0.5f), 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 = "ThighL", localPos = new Vector3(0.01926f, 1.13796f, -0.64938f), localAngles = new Vector3(82.68488f, 359.6896f, 3.00337f), localScale = new Vector3(4f, 4f, 4f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.PermanentDebuffOnHit, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayScorpion"), childName = "Pelvis", localPos = new Vector3(0.16563f, 0.42393f, 0.9751f), localAngles = new Vector3(0f, 180f, 180f), localScale = new Vector3(4f, 4f, 4f), 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 = "Pelvis", localPos = new Vector3(-1.08701f, 0.48789f, -0.00209f), localAngles = new Vector3(66.71906f, 180f, 180f), localScale = new Vector3(2.5f, 2.5f, 2.5f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.ParentEgg, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayParentEgg"), childName = "Chest", localPos = new Vector3(0.02529f, 0.33657f, 2.25553f), 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)Items.NovaOnLowHealth, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayJellyGuts"), childName = "Hat", localPos = new Vector3(-0.05386f, 0.21865f, -0.36482f), 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)Items.LunarTrinket, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBeads"), childName = "HandR", localPos = new Vector3(-0.02785f, 0.48068f, -0.11959f), localAngles = new Vector3(77.51471f, 54.62633f, 162.8953f), localScale = new Vector3(4f, 4f, 4f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.VoidMegaCrabItem, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayMegaCrabItem"), childName = "Pelvis", localPos = new Vector3(0f, 0.41284f, -1.08212f), localAngles = new Vector3(0f, 180f, 180f), localScale = new Vector3(0.85f, 0.85f, 0.85f), 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 = "UpperArmL", localPos = new Vector3(-0.87482f, 3.86063f, -1.42822f), localAngles = new Vector3(12.79649f, 111.1767f, 232.5848f), localScale = new Vector3(0.2f, 0.2f, 0.2f), 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(0.00188f, 1.33041f, -0.84227f), localAngles = new Vector3(0f, 270f, 315f), localScale = new Vector3(2f, 2f, 2f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarSecondaryReplacement, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBirdClaw"), childName = "Chest", localPos = new Vector3(-0.51164f, 0.81468f, -1.29832f), localAngles = new Vector3(0f, 300f, 0f), localScale = new Vector3(3f, 3f, 3f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.RandomlyLunar, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDomino"), childName = "Base", localPos = new Vector3(5.08242f, 7.48427f, -0.22529f), localAngles = new Vector3(90f, 180f, 0f), localScale = new Vector3(1f, 1f, 1f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.LunarSpecialReplacement, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayBirdHeart"), childName = "Base", localPos = new Vector3(-4.16802f, 7.15453f, 2.78622f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.34f, 0.34f, 0.34f), limbMask = (LimbFlags)0 } } } }); itemDisplayRules.Add(new KeyAssetRuleGroup { keyAsset = (Object)(object)Items.MinorConstructOnKill, displayRuleGroup = new DisplayRuleGroup { rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1] { new ItemDisplayRule { ruleType = (ItemDisplayRuleType)0, followerPrefab = ItemDisplays.LoadDisplay("DisplayDefenseNucleus"), childName = "Base", localPos = new Vector3(3.15815f, 8.63111f, -0.87207f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.4f, 0.4f, 0.4f), 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(2.29955f, 9.73381f, -0.04461f), localAngles = new Vector3(0f, 0f, 0f), localScale = new Vector3(0.11f, 0.11f, 0.11f), 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(0.04262f, 1.43212f, -0.76796f), localAngles = new Vector3(8.44587f, 143.2776f, 354.3725f), localScale = new Vector3(0.25f, 0.25f, 0.25f), 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 = "ThighL", localPos = new Vector3(0.0296f, 0.37825f, -1.4119f), localAngles = new Vector3(343.3012f, 165.6642f, 176.9258f), localScale = new Vector3(0.3f, 0.3f, 0.3f), 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.03246f, 1.71885f, 0.16059f), localAngles = new Vector3(327.9469f, 288.4993f, 5.56038f), localScale = new Vector3(0.3f, 0.3f, 0.3f), limbMask = (LimbFlags)0 } } } }); } } internal class HANDSurvivor : SurvivorBase { public const string HAND_PREFIX = "MOFFEIN_HAND_BODY_"; private static UnlockableDef survivorUnlock; public override string survivorTokenPrefix => "MOFFEIN_HAND_BODY_"; public override ItemDisplaysBase itemDisplays => new HANDItemDisplays(); public override UnlockableDef characterUnlockableDef => CreateUnlockableDef(); public override string bodyName => "HANDOverclocked"; public override string cachedName => bodyName; public override BodyInfo bodyInfo { get; set; } = new BodyInfo { bodyName = "HANDOverclockedBody", bodyNameToken = "MOFFEIN_HAND_BODY_NAME", subtitleNameToken = "MOFFEIN_HAND_BODY_SUBTITLE", characterPortrait = Assets.mainAssetBundle.LoadAsset("texHANDPortrait.png"), bodyColor = new Color(0.5568628f, 58f / 85f, 0.6901961f), crosshair = LegacyResourcesAPI.Load("prefabs/crosshair/simpledotcrosshair"), podPrefab = LegacyResourcesAPI.Load("prefabs/networkedobjects/robocratepod"), damage = 14f, damageGrowth = 2.8f, maxHealth = 160f, healthGrowth = 48f, healthRegen = 2.5f, regenGrowth = 0.5f, armor = 0f, jumpCount = 1, sortPosition = Config.sortPosition }; public override CustomRendererInfo[] customRendererInfos { get; set; } = new CustomRendererInfo[4] { new CustomRendererInfo { childName = "HANDMesh", material = Materials.CreateHopooMaterial("matHANDDefault") }, new CustomRendererInfo { childName = "HanDHammer", material = Materials.CreateHopooMaterial("matHANDWeaponDefault") }, new CustomRendererInfo { childName = "Drone", material = Materials.CreateHopooMaterial("matDroneBody") }, new CustomRendererInfo { childName = "Saw" } }; public override Type characterMainState => typeof(HANDMainState); private static UnlockableDef CreateUnlockableDef() { if (!Object.op_Implicit((Object)(object)survivorUnlock)) { survivorUnlock = ScriptableObject.CreateInstance(); survivorUnlock.cachedName = "Characters.HANDOverclocked"; survivorUnlock.nameToken = "ACHIEVEMENT_MOFFEINHANDOVERCLOCKEDSURVIVORUNLOCK_NAME"; survivorUnlock.achievementIcon = Assets.mainAssetBundle.LoadAsset("texHANDUnlock.png"); ContentPacks.unlockableDefs.Add(survivorUnlock); } if (Config.forceUnlock) { return null; } return survivorUnlock; } protected override void InitializeDisplayPrefab() { base.InitializeDisplayPrefab(); displayPrefab.AddComponent(); } protected override void InitializeCharacterBodyAndModel() { base.InitializeCharacterBodyAndModel(); } public override void InitializeCharacter() { //IL_003a: 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_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_023e: 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_0269: Unknown result type (might be due to invalid IL or missing references) //IL_027f: Unknown result type (might be due to invalid IL or missing references) //IL_0284: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_029f: 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) base.InitializeCharacter(); CharacterMotor component = bodyPrefab.GetComponent(); component.mass = 300f; DroneFollowerController.Initialize(); HammerVisibilityController.Initialize(); CharacterBody component2 = bodyPrefab.GetComponent(); component2.bodyFlags = (BodyFlags)18; SfxLocator component3 = bodyPrefab.GetComponent(); component3.landingSound = "play_char_land"; component3.fallDamageSound = "Play_MULT_shift_hit"; CameraTargetParams component4 = bodyPrefab.GetComponent(); component4.cameraParams.data.idealLocalCameraPos = BlendableVector3.op_Implicit(new Vector3(0f, 1f, -11f)); ChildLocator componentInChildren = bodyPrefab.GetComponentInChildren(); Transform val = componentInChildren.FindChild("HanDHammer"); ((Component)val).gameObject.SetActive(false); GameObject gameObject = ((Component)componentInChildren).gameObject; Transform val2 = componentInChildren.FindChild("FistHitbox"); Prefabs.SetupHitbox(gameObject, "FistHitbox", val2); AimAnimator component5 = gameObject.GetComponent(); component5.yawRangeMin = -180f; component5.yawRangeMax = 180f; component5.fullYaw = true; Transform val3 = componentInChildren.FindChild("ChargeHammerHitbox"); Prefabs.SetupHitbox(gameObject, "ChargeHammerHitbox", val3); Transform val4 = componentInChildren.FindChild("HammerHitbox"); Prefabs.SetupHitbox(gameObject, "HammerHitbox", val4); LoopSoundWhileCharacterMoving val5 = bodyPrefab.AddComponent(); val5.startSoundName = "Play_MULT_move_loop"; val5.stopSoundName = "Stop_MULT_move_loop"; val5.applyScale = true; val5.disableWhileSprinting = false; val5.minSpeed = 3f; val5.requireGrounded = false; RegisterStates(); bodyPrefab.AddComponent(); bodyPrefab.AddComponent(); bodyPrefab.AddComponent(); bodyPrefab.AddComponent(); bodyPrefab.AddComponent(); bodyPrefab.AddComponent(); Buffs.Init(); CreateHitEffects(); BeginOverclock.jetEffectPrefab = BuildOverclockJets(); FireSlam.earthquakeEffectPrefab = CreateSlamEffect(); Material material = Addressables.LoadAssetAsync((object)"RoR2/Base/Lemurian/matLizardBiteTrail.mat").WaitForCompletion(); SwingHammer.swingEffect = CreateSwingVFX("HANDMod_SwingHammerEffect", 1.5f * Vector3.one, material); SwingPunch.swingEffect = CreateSwingVFX("HANDMod_SwingPunchEffect", new Vector3(0.25f, 2f, 0.7f), material); Material material2 = Addressables.LoadAssetAsync((object)"RoR2/Base/Imp/matImpSwipe.mat").WaitForCompletion(); SwingHammer.swingEffectFocus = CreateSwingVFX("HANDMod_SwingHammerFocusEffect", 1.5f * Vector3.one, material2); SwingPunch.swingEffectFocus = CreateSwingVFX("HANDMod_SwingPunchFocusEffect", new Vector3(0.25f, 2f, 0.7f), material2); BrokenJanitorInteractable.Initialize(); if (Config.allowPlayerRepair) { bodyPrefab.AddComponent(); } } public override void InitializeDoppelganger(string clone) { MasterAI.Init(bodyPrefab); } public override void InitializeSkills() { Skills.CreateSkillFamilies(bodyPrefab); SkillLocator component = bodyPrefab.GetComponent(); component.passiveSkill.enabled = true; component.passiveSkill.skillNameToken = "MOFFEIN_HAND_BODY_PASSIVE_NAME"; component.passiveSkill.skillDescriptionToken = "MOFFEIN_HAND_BODY_PASSIVE_DESC"; component.passiveSkill.icon = Assets.mainAssetBundle.LoadAsset("texPassive.png"); InitializePrimarySkills(); InitializeSecondarySkills(); InitializeUtilitySkills(); InitializeSpecialSkills(); } private void InitializePrimarySkills() { //IL_0012: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_016a: Unknown result type (might be due to invalid IL or missing references) SkillDef val = ScriptableObject.CreateInstance(); val.activationState = new SerializableEntityStateType(typeof(SwingPunch)); val.skillNameToken = "MOFFEIN_HAND_BODY_PRIMARY_NAME"; val.skillName = "SwingPunch"; val.skillDescriptionToken = "MOFFEIN_HAND_BODY_PRIMARY_DESC"; val.cancelSprintingOnActivation = false; val.canceledFromSprinting = false; val.baseRechargeInterval = 0f; val.baseMaxStock = 1; val.rechargeStock = 1; val.beginSkillCooldownOnSkillEnd = false; val.activationStateMachineName = "Weapon"; val.interruptPriority = (InterruptPriority)0; val.isCombatSkill = true; val.mustKeyPress = false; val.icon = Assets.mainAssetBundle.LoadAsset("texPrimaryPunch.png"); val.requiredStock = 1; val.stockToConsume = 1; val.keywordTokens = new string[1] { "KEYWORD_STUNNING" }; Skills.FixScriptableObjectName(val); ContentPacks.skillDefs.Add(val); SkillDefs.PrimaryPunch = val; SwingPunch.swingCurve.preWrapMode = (WrapMode)8; SwingPunch.swingCurve.postWrapMode = (WrapMode)8; SkillDef val2 = ScriptableObject.CreateInstance(); val2.activationState = new SerializableEntityStateType(typeof(SwingHammer)); val2.skillNameToken = "MOFFEIN_HAND_BODY_PRIMARY_HAMMER_NAME"; val2.skillName = "SwingHammer"; val2.skillDescriptionToken = "MOFFEIN_HAND_BODY_PRIMARY_HAMMER_DESC"; val2.cancelSprintingOnActivation = false; val2.canceledFromSprinting = false; val2.baseRechargeInterval = 0f; val2.baseMaxStock = 1; val2.rechargeStock = 1; val2.beginSkillCooldownOnSkillEnd = false; val2.activationStateMachineName = "Weapon"; val2.interruptPriority = (InterruptPriority)0; val2.isCombatSkill = true; val2.mustKeyPress = false; val2.icon = Assets.mainAssetBundle.LoadAsset("texPrimaryHammer.png"); val2.requiredStock = 1; val2.stockToConsume = 1; val2.keywordTokens = new string[1] { "KEYWORD_STUNNING" }; Skills.FixScriptableObjectName(val2); ContentPacks.skillDefs.Add(val2); SkillDefs.PrimaryHammer = val2; UnlockableDef val3 = ScriptableObject.CreateInstance(); val3.cachedName = "Skills.HANDOverclocked.HammerPrimary"; val3.nameToken = "ACHIEVEMENT_MOFFEINHANDOVERCLOCKEDHAMMERPRIMARYUNLOCK_NAME"; val3.achievementIcon = val2.icon; ContentPacks.unlockableDefs.Add(val3); SkillFamily skillFamily = bodyPrefab.GetComponent().primary.skillFamily; Skills.AddSkillToFamily(skillFamily, val); Skills.AddSkillToFamily(skillFamily, val2, Config.forceUnlock ? null : val3); } private void InitializeSecondarySkills() { //IL_0012: 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_007f: Unknown result type (might be due to invalid IL or missing references) SkillDef val = ScriptableObject.CreateInstance(); val.activationState = new SerializableEntityStateType(typeof(ChargeSlam)); val.skillNameToken = "MOFFEIN_HAND_BODY_SECONDARY_NAME"; val.skillName = "ChargeSlam"; val.skillDescriptionToken = "MOFFEIN_HAND_BODY_SECONDARY_DESC"; val.cancelSprintingOnActivation = false; val.canceledFromSprinting = false; val.baseRechargeInterval = 5f; val.baseMaxStock = 1; val.rechargeStock = 1; val.requiredStock = 1; val.stockToConsume = 1; val.activationStateMachineName = "Weapon"; val.interruptPriority = (InterruptPriority)1; val.isCombatSkill = true; val.mustKeyPress = false; val.icon = Assets.mainAssetBundle.LoadAsset("texSecondary.png"); val.beginSkillCooldownOnSkillEnd = true; val.keywordTokens = new string[1] { "KEYWORD_STUNNING" }; Skills.FixScriptableObjectName(val); ContentPacks.skillDefs.Add(val); Skills.AddSecondarySkills(bodyPrefab, val); SkillDefs.SecondaryChargeHammer = val; InitializeScepterSkills(); } private void InitializeUtilitySkills() { UnlockableDef val = ScriptableObject.CreateInstance(); val.cachedName = "Skills.HANDOverclocked.NemesisFocus"; val.nameToken = "ACHIEVEMENT_MOFFEINHANDOVERCLOCKEDNEMESISFOCUSUNLOCK_NAME"; val.achievementIcon = HANDMod.Content.Shared.SkillDefs.UtilityFocus.icon; ContentPacks.unlockableDefs.Add(val); SkillFamily skillFamily = bodyPrefab.GetComponent().utility.skillFamily; Skills.AddSkillToFamily(skillFamily, HANDMod.Content.Shared.SkillDefs.UtilityOverclock); Skills.AddSkillToFamily(skillFamily, HANDMod.Content.Shared.SkillDefs.UtilityFocus, Config.forceUnlock ? null : val); } private void InitializeSpecialSkills() { //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_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_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_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_017b: 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_01c8: Unknown result type (might be due to invalid IL or missing references) DroneSetup.Init(); DroneDamageController.startSound = Assets.CreateNetworkSoundEventDef("Play_HOC_Drill"); DroneDamageController.hitSound = Assets.CreateNetworkSoundEventDef("Play_treeBot_m1_impact"); EntityStateMachine val = bodyPrefab.AddComponent(); val.customName = "DroneLauncher"; val.initialStateType = new SerializableEntityStateType(typeof(BaseState)); val.mainStateType = new SerializableEntityStateType(typeof(BaseState)); NetworkStateMachine component = bodyPrefab.GetComponent(); component.stateMachines = component.stateMachines.Append(val).ToArray(); DroneSkillDef droneSkillDef = ScriptableObject.CreateInstance(); ((SkillDef)droneSkillDef).activationState = new SerializableEntityStateType(typeof(FireSeekingDrone)); ((SkillDef)droneSkillDef).skillNameToken = "MOFFEIN_HAND_BODY_SPECIAL_NAME"; ((SkillDef)droneSkillDef).skillName = "Drones"; ((SkillDef)droneSkillDef).skillDescriptionToken = "MOFFEIN_HAND_BODY_SPECIAL_DESC"; ((SkillDef)droneSkillDef).isCombatSkill = true; ((SkillDef)droneSkillDef).cancelSprintingOnActivation = false; ((SkillDef)droneSkillDef).canceledFromSprinting = false; ((SkillDef)droneSkillDef).baseRechargeInterval = 20f; ((SkillDef)droneSkillDef).interruptPriority = (InterruptPriority)0; ((SkillDef)droneSkillDef).mustKeyPress = false; ((SkillDef)droneSkillDef).beginSkillCooldownOnSkillEnd = true; ((SkillDef)droneSkillDef).baseMaxStock = 10; ((SkillDef)droneSkillDef).fullRestockOnAssign = false; ((SkillDef)droneSkillDef).rechargeStock = 1; ((SkillDef)droneSkillDef).requiredStock = 1; ((SkillDef)droneSkillDef).stockToConsume = 1; ((SkillDef)droneSkillDef).icon = Assets.mainAssetBundle.LoadAsset("texSpecial.png"); ((SkillDef)droneSkillDef).activationStateMachineName = "DroneLauncher"; ((SkillDef)droneSkillDef).keywordTokens = new string[0]; droneSkillDef.targetingMode = DroneSkillDef.TargetingMode.EnemiesAndAllies; Skills.FixScriptableObjectName((SkillDef)(object)droneSkillDef); ContentPacks.skillDefs.Add((SkillDef)(object)droneSkillDef); SkillDefs.SpecialDrone = (SkillDef)(object)droneSkillDef; DroneSkillDef droneSkillDef2 = ScriptableObject.CreateInstance(); ((SkillDef)droneSkillDef2).activationState = new SerializableEntityStateType(typeof(FireSpeedDrone)); ((SkillDef)droneSkillDef2).skillNameToken = "MOFFEIN_HAND_BODY_SPECIAL_SPEED_NAME"; ((SkillDef)droneSkillDef2).skillName = "Drones"; ((SkillDef)droneSkillDef2).skillDescriptionToken = "MOFFEIN_HAND_BODY_SPECIAL_SPEED_DESC"; ((SkillDef)droneSkillDef2).isCombatSkill = true; ((SkillDef)droneSkillDef2).cancelSprintingOnActivation = false; ((SkillDef)droneSkillDef2).canceledFromSprinting = false; ((SkillDef)droneSkillDef2).baseRechargeInterval = 40f; ((SkillDef)droneSkillDef2).interruptPriority = (InterruptPriority)0; ((SkillDef)droneSkillDef2).mustKeyPress = false; ((SkillDef)droneSkillDef2).beginSkillCooldownOnSkillEnd = true; ((SkillDef)droneSkillDef2).baseMaxStock = 10; ((SkillDef)droneSkillDef2).fullRestockOnAssign = false; ((SkillDef)droneSkillDef2).rechargeStock = 1; ((SkillDef)droneSkillDef2).requiredStock = 1; ((SkillDef)droneSkillDef2).stockToConsume = 1; ((SkillDef)droneSkillDef2).icon = Assets.mainAssetBundle.LoadAsset("texSpecialSpeed.png"); ((SkillDef)droneSkillDef2).activationStateMachineName = "DroneLauncher"; ((SkillDef)droneSkillDef2).keywordTokens = new string[0]; droneSkillDef2.targetingMode = DroneSkillDef.TargetingMode.EnemiesOnly; Skills.FixScriptableObjectName((SkillDef)(object)droneSkillDef2); ContentPacks.skillDefs.Add((SkillDef)(object)droneSkillDef2); SkillDefs.SpecialDroneSpeed = (SkillDef)(object)droneSkillDef2; Skills.AddSpecialSkills(bodyPrefab, droneSkillDef, droneSkillDef2); } private void InitializeScepterSkills() { //IL_0012: 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_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) SkillDef val = ScriptableObject.CreateInstance(); val.activationState = new SerializableEntityStateType(typeof(ChargeSlamScepter)); val.skillNameToken = "MOFFEIN_HAND_BODY_SECONDARY_SCEPTER_NAME"; val.skillName = "ChargeSlamScepter"; val.skillDescriptionToken = "MOFFEIN_HAND_BODY_SECONDARY_SCEPTER_DESC"; val.cancelSprintingOnActivation = SkillDefs.SecondaryChargeHammer.cancelSprintingOnActivation; val.canceledFromSprinting = SkillDefs.SecondaryChargeHammer.canceledFromSprinting; val.baseRechargeInterval = (SkillDefs.SecondaryChargeHammer.baseRechargeInterval = 5f); val.baseMaxStock = SkillDefs.SecondaryChargeHammer.baseMaxStock; val.rechargeStock = SkillDefs.SecondaryChargeHammer.rechargeStock; val.requiredStock = SkillDefs.SecondaryChargeHammer.requiredStock; val.stockToConsume = SkillDefs.SecondaryChargeHammer.stockToConsume; val.activationStateMachineName = SkillDefs.SecondaryChargeHammer.activationStateMachineName; val.interruptPriority = SkillDefs.SecondaryChargeHammer.interruptPriority; val.isCombatSkill = SkillDefs.SecondaryChargeHammer.isCombatSkill; val.mustKeyPress = SkillDefs.SecondaryChargeHammer.mustKeyPress; val.icon = Assets.mainAssetBundle.LoadAsset("texSecondaryScepter.png"); val.beginSkillCooldownOnSkillEnd = SkillDefs.SecondaryChargeHammer.beginSkillCooldownOnSkillEnd; val.keywordTokens = SkillDefs.SecondaryChargeHammer.keywordTokens; Skills.FixScriptableObjectName(val); ContentPacks.skillDefs.Add(val); SkillDefs.SecondaryChargeHammerScepter = val; if (HandPlugin.ScepterClassicLoaded) { ClassicScepterCompat(); } if (HandPlugin.ScepterStandaloneLoaded) { StandaloneScepterCompat(); } } [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] private void ClassicScepterCompat() { Item.instance.RegisterScepterSkill(SkillDefs.SecondaryChargeHammerScepter, "HANDOverclockedBody", (SkillSlot)1, SkillDefs.SecondaryChargeHammer); } [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] private void StandaloneScepterCompat() { ItemBase.instance.RegisterScepterSkill(SkillDefs.SecondaryChargeHammerScepter, "HANDOverclockedBody", (SkillSlot)1, 0); } public override void InitializeSkins() { //IL_0361: Unknown result type (might be due to invalid IL or missing references) //IL_0366: Unknown result type (might be due to invalid IL or missing references) //IL_0412: Unknown result type (might be due to invalid IL or missing references) //IL_041c: Expected O, but got Unknown //IL_03c5: Unknown result type (might be due to invalid IL or missing references) //IL_03ca: 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(); ChildLocator component2 = gameObject.GetComponent(); RendererInfo[] baseRendererInfos = component.baseRendererInfos; List list = new List(); SkinDef val2 = Skins.CreateSkinDef("skinHANDOverclocked_Default", "DEFAULT_SKIN", Assets.mainAssetBundle.LoadAsset("texHANDSkinIconDefault"), baseRendererInfos, gameObject); val2.meshReplacements = Skins.getMeshReplacements(baseRendererInfos, "meshHanDDefault_Body", "meshHanDDefault_Hammer", "meshDroneDefault_Body", "meshDroneDefault_Saw"); list.Add(val2); Sprite val3 = Assets.mainAssetBundle.LoadAsset("texHANDSkinIconMastery"); SkinDef val4 = Skins.CreateSkinDef("skinHANDOverclocked_Mastery", "MOFFEIN_HAND_BODY_MASTERY_SKIN_NAME", val3, baseRendererInfos, gameObject); val4.meshReplacements = Skins.getMeshReplacements(baseRendererInfos, "meshHanDMastery_Body", "meshHanDMastery_Hammer", "meshDroneMastery_Body", "meshDroneMastery_Saw"); val4.rendererInfos[0].defaultMaterial = Materials.CreateHopooMaterial("matHANDMastery").SetSpecular(0.15f, 2f); val4.rendererInfos[1].defaultMaterial = Materials.CreateHopooMaterial("matHANDWeaponMastery").SetSpecular(0.15f, 2f); val4.rendererInfos[2].defaultMaterial = Materials.CreateHopooMaterial("matDroneMastery").SetSpecular(0.15f, 2f); val4.rendererInfos[3].defaultMaterial = Materials.CreateHopooMaterial("matDroneMastery"); UnlockableDef val5 = ScriptableObject.CreateInstance(); val5.cachedName = "Skins.HANDOverclocked.Mastery"; val5.nameToken = "ACHIEVEMENT_MOFFEINHANDOVERCLOCKEDHAMMERPRIMARYUNLOCK_NAME"; val5.achievementIcon = val3; ContentPacks.unlockableDefs.Add(val5); val4.unlockableDef = val5; list.Add(val4); Sprite val6 = Assets.mainAssetBundle.LoadAsset("texHANDSkinIconRorr"); UnlockableDef val7 = ScriptableObject.CreateInstance(); val7.cachedName = "Skins.HANDOverclocked.GrandMastery"; val7.nameToken = "ACHIEVEMENT_MOFFEINHANDOVERCLOCKEDCLEARGAMETYPHOON_NAME"; val7.achievementIcon = val6; ContentPacks.unlockableDefs.Add(val7); SkinDef val8 = Skins.CreateSkinDef("skinHANDOverclocked_GrandMastery", "MOFFEIN_HAND_BODY_GRANDMASTERY_SKIN_NAME", val6, baseRendererInfos, gameObject, val7); val8.meshReplacements = Skins.getMeshReplacements(baseRendererInfos, "meshHanDRorr_Body", "meshHanDRorr_Hammer", "meshDroneRorr_Body", null); val8.rendererInfos[0].defaultMaterial = Materials.CreateHopooMaterial("matHANDRorr"); val8.rendererInfos[1].defaultMaterial = Materials.CreateHopooMaterial("matHANDRorr"); val8.rendererInfos[2].defaultMaterial = Materials.CreateHopooMaterial("matHANDRorr"); list.Add(val8); SkinDef val9 = Skins.CreateSkinDef("skinHANDOverclocked_Hopoo", "MOFFEIN_HAND_BODY_HOPOO_SKIN_NAME", Assets.mainAssetBundle.LoadAsset("texHANDSkinIconHopoo"), baseRendererInfos, gameObject); val9.meshReplacements = Skins.getMeshReplacements(baseRendererInfos, "meshHanDHopoo_Body", "meshHanDHopoo_Hammer", null, null); val9.rendererInfos[0].defaultMaterial = Assets.mainAssetBundle.LoadAsset("matHopooBody"); if ((Object)(object)val9.rendererInfos[0].defaultMaterial == (Object)null) { val9.rendererInfos[0].defaultMaterial = Addressables.LoadAssetAsync((object)"RoR2/Junk/HAND/matHAND.mat").WaitForCompletion(); } val9.rendererInfos[1].defaultMaterial = Assets.mainAssetBundle.LoadAsset("matHopooHammer"); if ((Object)(object)val9.rendererInfos[1].defaultMaterial == (Object)null) { val9.rendererInfos[1].defaultMaterial = Addressables.LoadAssetAsync((object)"RoR2/Junk/HAND/matHANDHammer.mat").WaitForCompletion(); } val9.rendererInfos[2].defaultMaterial = Materials.CreateHopooMaterial("matDroneHopoo"); list.Add(val9); val.skins = list.ToArray(); SkinCatalog.Init += new hook_Init(SkinCatalog_Init); } private IEnumerator SkinCatalog_Init(orig_Init orig) { try { MakeSkinnedProjectileGhosts(); } catch (Exception ex) { Debug.LogError((object)ex.ToString()); } return orig.Invoke(); } private void MakeSkinnedProjectileGhosts() { //IL_0043: 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_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) ModelSkinController componentInChildren = bodyPrefab.GetComponentInChildren(); for (int i = 1; i < componentInChildren.skins.Length; i++) { SkinDef val = componentInChildren.skins[i]; SkinCatalog.ValidateParams(val); if (DoesSkinHaveDroneReplacement(val.skinDefParams)) { ref ProjectileGhostReplacement[] projectileGhostReplacements = ref val.skinDefParams.projectileGhostReplacements; ProjectileGhostReplacement val2 = ProjectileGhostReplacement.op_Implicit(new ProjectileGhostReplacement { projectilePrefab = FireSeekingDrone.projectilePrefab, projectileGhostReplacementPrefab = CreateProjectileGhostReplacementPrefab(val, val.skinDefParams) }); ArrayUtils.ArrayAppend(ref projectileGhostReplacements, ref val2); } } } public static bool DoesSkinHaveDroneReplacement(SkinDefParams skin) { SkinDef val = CharacterBase.instance.bodyPrefab.GetComponentInChildren().skins[0]; for (int i = 0; i < skin.meshReplacements.Length; i++) { if ((Object)(object)skin.meshReplacements[i].renderer == (Object)(object)val.rendererInfos[2].renderer || (Object)(object)skin.meshReplacements[i].renderer == (Object)(object)val.rendererInfos[3].renderer) { return true; } } for (int j = 0; j < skin.rendererInfos.Length; j++) { if ((Object)(object)skin.rendererInfos[j].renderer == (Object)(object)val.rendererInfos[2].renderer || (Object)(object)skin.rendererInfos[j].renderer == (Object)(object)val.rendererInfos[3].renderer) { return true; } } return false; } public static GameObject CreateProjectileGhostReplacementPrefab(SkinDef skinDef, SkinDefParams skin) { //IL_005d: 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_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_008d: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: 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_016f: Unknown result type (might be due to invalid IL or missing references) GameObject val = PrefabAPI.InstantiateClone(DroneSetup.droneProjectileGhost, ((Object)skinDef).name + "DroneGhostReplacement", false); SkinnedMeshRenderer val2 = val.GetComponent().FindChildComponent("Drone"); MeshRenderer val3 = val.GetComponent().FindChildComponent("Saw"); SkinDef val4 = CharacterBase.instance.bodyPrefab.GetComponentInChildren().skins[0]; RendererInfo val5 = val4.rendererInfos[2]; RendererInfo val6 = val4.rendererInfos[3]; for (int i = 0; i < skin.rendererInfos.Length; i++) { if ((Object)(object)skin.rendererInfos[i].renderer == (Object)(object)val5.renderer) { ((Renderer)val2).material = skin.rendererInfos[i].defaultMaterial; } if ((Object)(object)skin.rendererInfos[i].renderer == (Object)(object)val6.renderer) { ((Renderer)val3).material = skin.rendererInfos[i].defaultMaterial; } } for (int j = 0; j < skin.meshReplacements.Length; j++) { if ((Object)(object)skin.meshReplacements[j].renderer == (Object)(object)val5.renderer) { val2.sharedMesh = skin.meshReplacements[j].mesh; } if ((Object)(object)skin.meshReplacements[j].renderer == (Object)(object)val6.renderer) { ((Component)val3).GetComponent().mesh = skin.meshReplacements[j].mesh; } } return val; } private void RegisterStates() { ContentPacks.entityStates.Add(typeof(HANDMainState)); ContentPacks.entityStates.Add(typeof(Sit)); ContentPacks.entityStates.Add(typeof(Spin)); ContentPacks.entityStates.Add(typeof(MenuPose)); ContentPacks.entityStates.Add(typeof(SwingPunch)); ContentPacks.entityStates.Add(typeof(SwingHammer)); ContentPacks.entityStates.Add(typeof(ChargeSlam)); ContentPacks.entityStates.Add(typeof(FireSlam)); ContentPacks.entityStates.Add(typeof(ChargeSlamScepter)); ContentPacks.entityStates.Add(typeof(FireSlamScepter)); ContentPacks.entityStates.Add(typeof(BeginOverclock)); ContentPacks.entityStates.Add(typeof(CancelOverclock)); ContentPacks.entityStates.Add(typeof(BeginFocus)); ContentPacks.entityStates.Add(typeof(FireSeekingDrone)); ContentPacks.entityStates.Add(typeof(FireSpeedDrone)); } private GameObject CreateSlamEffect() { //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Expected O, but got Unknown GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("prefabs/effects/impacteffects/ParentSlamEffect"), "HANDMod_SlamImpactEffect", false); Transform val2 = val.transform.Find("Particles"); Transform val3 = val2.Find("Debris, 3D"); Transform val4 = val2.Find("Debris"); Transform val5 = val2.Find("Nova Sphere"); ((Component)val3).gameObject.SetActive(false); ((Component)val4).gameObject.SetActive(false); ((Component)val5).gameObject.SetActive(false); val.GetComponent().soundName = ""; ContentPacks.effectDefs.Add(new EffectDef(val)); return val; } private void CreateHitEffects() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Expected O, but got Unknown GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("prefabs/effects/impacteffects/ImpactToolbotDash"), "HANDMod_HitEffect", false); EffectComponent component = val.GetComponent(); component.soundName = "Play_MULT_shift_hit"; ContentPacks.effectDefs.Add(new EffectDef(val)); SwingPunch.hitEffect = val; SwingHammer.hitEffect = val; FireSlam.hitEffect = val; } private GameObject BuildOverclockJets() { //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) GameObject val = PrefabAPI.InstantiateClone(Addressables.LoadAssetAsync((object)"RoR2/Base/Commando/CommandoDashJets.prefab").WaitForCompletion(), "HANDMod_OverclockJetObject", false); ParticleSystemRenderer[] componentsInChildren = val.GetComponentsInChildren(); ParticleSystemRenderer[] array = componentsInChildren; foreach (ParticleSystemRenderer val2 in array) { string name = ((Object)val2).name; if (name != "Jet") { Object.Destroy((Object)(object)val2); } } VFXAttributes component = val.GetComponent(); if (Object.op_Implicit((Object)(object)component)) { for (int j = 0; j < component.optionalLights.Length; j++) { ((Behaviour)component.optionalLights[j]).enabled = false; } } DestroyOnTimer component2 = val.GetComponent(); component2.duration = 0.2f; Light[] componentsInChildren2 = val.GetComponentsInChildren(); Light[] array2 = componentsInChildren2; foreach (Light val3 in array2) { ((Behaviour)val3).enabled = false; } return val; } private GameObject CreateSwingVFX(string name, Vector3 scale, Material material) { //IL_0031: 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 GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("prefabs/effects/handslamtrail"), name, false); Object.Destroy((Object)(object)val.GetComponent()); Transform val2 = val.transform.Find("SlamTrail"); val2.localScale = scale; ParticleSystemRenderer component = ((Component)val2).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { ((Renderer)component).material = material; } ContentPacks.effectDefs.Add(new EffectDef(val)); return val; } public static void DumpEntityStateConfig(EntityStateConfiguration esc) { for (int i = 0; i < esc.serializedFieldsCollection.serializedFields.Length; i++) { if (Object.op_Implicit(esc.serializedFieldsCollection.serializedFields[i].fieldValue.objectValue)) { Debug.Log((object)(esc.serializedFieldsCollection.serializedFields[i].fieldName + " - " + (object)esc.serializedFieldsCollection.serializedFields[i].fieldValue.objectValue)); } else { Debug.Log((object)(esc.serializedFieldsCollection.serializedFields[i].fieldName + " - " + esc.serializedFieldsCollection.serializedFields[i].fieldValue.stringValue)); } } } public static void DumpEntityStateConfig(string entityStateName) { EntityStateConfiguration esc = LegacyResourcesAPI.Load("entitystateconfigurations/" + entityStateName); DumpEntityStateConfig(esc); } } public class MasterAI { private static bool initialized; public static GameObject HANDMaster; public static void Init(GameObject bodyPrefab) { //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Expected O, but got Unknown //IL_0088: 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_00cf: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_011f: 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_016f: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_01ab: 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_01d3: 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_0213: Unknown result type (might be due to invalid IL or missing references) //IL_0247: Unknown result type (might be due to invalid IL or missing references) //IL_0257: Unknown result type (might be due to invalid IL or missing references) //IL_027b: Unknown result type (might be due to invalid IL or missing references) //IL_02b3: Unknown result type (might be due to invalid IL or missing references) //IL_02bb: Unknown result type (might be due to invalid IL or missing references) //IL_02ef: Unknown result type (might be due to invalid IL or missing references) //IL_02ff: Unknown result type (might be due to invalid IL or missing references) //IL_0323: Unknown result type (might be due to invalid IL or missing references) //IL_035b: Unknown result type (might be due to invalid IL or missing references) //IL_0363: Unknown result type (might be due to invalid IL or missing references) //IL_0397: Unknown result type (might be due to invalid IL or missing references) //IL_03a7: Unknown result type (might be due to invalid IL or missing references) //IL_03bf: 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_03ff: 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_0453: Unknown result type (might be due to invalid IL or missing references) //IL_048b: Unknown result type (might be due to invalid IL or missing references) //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_04cf: Unknown result type (might be due to invalid IL or missing references) //IL_04e7: Unknown result type (might be due to invalid IL or missing references) //IL_051f: Unknown result type (might be due to invalid IL or missing references) //IL_0527: Unknown result type (might be due to invalid IL or missing references) if (!initialized) { initialized = true; GameObject val = PrefabAPI.InstantiateClone(LegacyResourcesAPI.Load("prefabs/charactermasters/commandomonstermaster"), "HANDOverclockedMonsterMaster", true); ContentPacks.masterPrefabs.Add(val); CharacterMaster component = val.GetComponent(); component.bodyPrefab = bodyPrefab; Component[] components = (Component[])(object)val.GetComponents(); Component[] array = components; Component[] array2 = array; for (int i = 0; i < array2.Length; i++) { AISkillDriver val2 = (AISkillDriver)array2[i]; Object.Destroy((Object)(object)val2); } AISkillDriver val3 = val.AddComponent(); val3.skillSlot = (SkillSlot)3; val3.requireSkillReady = true; val3.requireEquipmentReady = false; val3.moveTargetType = (TargetType)0; val3.minDistance = 0f; val3.maxDistance = float.PositiveInfinity; val3.selectionRequiresTargetLoS = false; val3.activationRequiresTargetLoS = false; val3.activationRequiresAimConfirmation = false; val3.movementType = (MovementType)1; val3.aimType = (AimType)2; val3.ignoreNodeGraph = false; val3.driverUpdateTimerOverride = -1f; val3.noRepeat = false; val3.shouldSprint = true; val3.shouldFireEquipment = false; val3.buttonPressType = (ButtonPressType)2; val3.maxUserHealthFraction = 0.7f; AISkillDriver val4 = val.AddComponent(); val4.skillSlot = (SkillSlot)1; val4.requireSkillReady = true; val4.requireEquipmentReady = false; val4.moveTargetType = (TargetType)0; val4.minDistance = 0f; val4.maxDistance = 10f; val4.selectionRequiresTargetLoS = false; val4.activationRequiresTargetLoS = false; val4.activationRequiresAimConfirmation = false; val4.movementType = (MovementType)1; val4.aimType = (AimType)1; val4.ignoreNodeGraph = false; val4.driverUpdateTimerOverride = 2f; val4.noRepeat = true; val4.shouldSprint = true; val4.shouldFireEquipment = false; val4.buttonPressType = (ButtonPressType)0; AISkillDriver val5 = val.AddComponent(); val5.skillSlot = (SkillSlot)0; val5.requireSkillReady = false; val5.requireEquipmentReady = false; val5.moveTargetType = (TargetType)0; val5.minDistance = 0f; val5.maxDistance = 10f; val5.selectionRequiresTargetLoS = false; val5.activationRequiresTargetLoS = false; val5.activationRequiresAimConfirmation = false; val5.movementType = (MovementType)1; val5.aimType = (AimType)1; val5.ignoreNodeGraph = false; val5.driverUpdateTimerOverride = -1f; val5.noRepeat = false; val5.shouldSprint = true; val5.shouldFireEquipment = false; val5.buttonPressType = (ButtonPressType)0; AISkillDriver val6 = val.AddComponent(); val6.skillSlot = (SkillSlot)2; val6.requiredSkill = HANDMod.Content.Shared.SkillDefs.UtilityOverclock; val6.requireSkillReady = true; val6.requireEquipmentReady = false; val6.moveTargetType = (TargetType)0; val6.minDistance = 0f; val6.maxDistance = 20f; val6.selectionRequiresTargetLoS = false; val6.activationRequiresTargetLoS = false; val6.activationRequiresAimConfirmation = false; val6.movementType = (MovementType)1; val6.aimType = (AimType)1; val6.ignoreNodeGraph = false; val6.driverUpdateTimerOverride = -1f; val6.noRepeat = true; val6.shouldSprint = true; val6.shouldFireEquipment = false; val6.buttonPressType = (ButtonPressType)1; AISkillDriver val7 = val.AddComponent(); val7.skillSlot = (SkillSlot)2; val7.requiredSkill = HANDMod.Content.Shared.SkillDefs.UtilityFocus; val7.requireSkillReady = true; val7.requireEquipmentReady = false; val7.moveTargetType = (TargetType)0; val7.minDistance = 0f; val7.maxDistance = 20f; val7.selectionRequiresTargetLoS = false; val7.activationRequiresTargetLoS = false; val7.activationRequiresAimConfirmation = false; val7.movementType = (MovementType)1; val7.aimType = (AimType)1; val7.ignoreNodeGraph = false; val7.driverUpdateTimerOverride = -1f; val7.noRepeat = true; val7.shouldSprint = true; val7.shouldFireEquipment = false; val7.buttonPressType = (ButtonPressType)1; AISkillDriver val8 = val.AddComponent(); val8.skillSlot = (SkillSlot)(-1); val8.requireSkillReady = false; val8.requireEquipmentReady = false; val8.moveTargetType = (TargetType)0; val8.minDistance = 0f; val8.maxDistance = float.PositiveInfinity; val8.selectionRequiresTargetLoS = false; val8.activationRequiresTargetLoS = false; val8.activationRequiresAimConfirmation = false; val8.movementType = (MovementType)1; val8.aimType = (AimType)1; val8.ignoreNodeGraph = false; val8.driverUpdateTimerOverride = -1f; val8.noRepeat = false; val8.shouldSprint = true; val8.shouldFireEquipment = false; AISkillDriver val9 = val.AddComponent(); val9.skillSlot = (SkillSlot)(-1); val9.requireSkillReady = false; val9.requireEquipmentReady = false; val9.moveTargetType = (TargetType)2; val9.minDistance = 10f; val9.maxDistance = float.PositiveInfinity; val9.selectionRequiresTargetLoS = false; val9.activationRequiresTargetLoS = false; val9.activationRequiresAimConfirmation = false; val9.movementType = (MovementType)1; val9.aimType = (AimType)3; val9.ignoreNodeGraph = false; val9.driverUpdateTimerOverride = -1f; val9.noRepeat = false; val9.shouldSprint = true; val9.shouldFireEquipment = false; AISkillDriver val10 = val.AddComponent(); val10.skillSlot = (SkillSlot)(-1); val10.requireSkillReady = false; val10.requireEquipmentReady = false; val10.moveTargetType = (TargetType)1; val10.minDistance = 10f; val10.maxDistance = float.PositiveInfinity; val10.selectionRequiresTargetLoS = false; val10.activationRequiresTargetLoS = false; val10.activationRequiresAimConfirmation = false; val10.movementType = (MovementType)1; val10.aimType = (AimType)4; val10.ignoreNodeGraph = false; val10.driverUpdateTimerOverride = -1f; val10.noRepeat = false; val10.shouldSprint = true; val10.shouldFireEquipment = false; HANDMaster = val; } } } public class MenuSoundComponent : MonoBehaviour { private void OnEnable() { Util.PlaySound("Play_HOC_StartHammer", ((Component)this).gameObject); } } public static class SkillDefs { public static SkillDef PrimaryPunch; public static SkillDef PrimaryHammer; public static SkillDef SecondaryChargeHammer; public static SkillDef SecondaryChargeHammerScepter; public static SkillDef SpecialDrone; public static SkillDef SpecialDroneSpeed; } } namespace HANDMod.Content.HANDSurvivor.Components { public class SquashedComponent : MonoBehaviour { [CompilerGenerated] private sealed class d__17 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public SquashedComponent <>4__this; private float 5__1; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__17(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>1__state = -2; } private bool MoveNext() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: 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) switch (<>1__state) { default: return false; case 0: <>1__state = -1; <>2__current = (object)new WaitForSeconds(squashDuration); <>1__state = 1; return true; case 1: <>1__state = -1; 5__1 = 0f; goto IL_00e1; case 2: <>1__state = -1; goto IL_00e1; case 3: { <>1__state = -1; return false; } IL_00e1: if (5__1 < 1f) { 5__1 += <>4__this.speed * Time.deltaTime; <>4__this.model.transform.localScale = Vector3.Lerp(<>4__this.model.transform.localScale, <>4__this.originalScale, 5__1); <>2__current = 0; <>1__state = 2; return true; } ((Component)<>4__this).transform.localScale = <>4__this.originalScale; Object.Destroy((Object)(object)<>4__this); <>2__current = null; <>1__state = 3; return true; } } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } public GameObject triggerer; public float speed = 5f; private Vector3 originalScale; public static float squashDuration = 20f; private HealthComponent health = null; private float graceTimer; public static float baseGraceTimer = 0.5f; private bool triggeredSquash = false; private GameObject model; public static event Action onSquashedGlobal; public BodyIndex GetBodyIndex() { //IL_0039: 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_003c: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)health) && Object.op_Implicit((Object)(object)health.body)) { return health.body.bodyIndex; } return (BodyIndex)(-1); } public void ResetGraceTimer() { if (!triggeredSquash) { graceTimer = baseGraceTimer; } } public void Awake() { graceTimer = baseGraceTimer; health = ((Component)this).GetComponent(); if (!Object.op_Implicit((Object)(object)health)) { Object.Destroy((Object)(object)this); } CharacterBody component = ((Component)this).GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.modelLocator) && Object.op_Implicit((Object)(object)component.modelLocator.modelTransform) && Object.op_Implicit((Object)(object)((Component)component.modelLocator.modelTransform).gameObject)) { model = ((Component)component.modelLocator.modelTransform).gameObject; } } public void FixedUpdate() { if (!triggeredSquash) { if (health.alive && graceTimer > 0f) { graceTimer -= Time.fixedDeltaTime; return; } if (health.alive) { Object.Destroy((Object)(object)this); return; } triggeredSquash = true; StartSquash(); } } private void StartSquash() { //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)model) || !Object.op_Implicit((Object)(object)model.transform)) { Object.Destroy((Object)(object)this); return; } if (SquashedComponent.onSquashedGlobal != null) { SquashedComponent.onSquashedGlobal(this); } originalScale = model.transform.localScale; model.transform.localScale = new Vector3(1.25f * originalScale.x, 0.05f * originalScale.y, 1.25f * originalScale.z); ((MonoBehaviour)this).StartCoroutine("EndSquash"); } [IteratorStateMachine(typeof(d__17))] private IEnumerator EndSquash() { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__17(0) { <>4__this = this }; } } } namespace HANDMod.Content.HANDSurvivor.Components.Master { public class DroneStockPersist : NetworkBehaviour { public int droneCount = 0; private void UNetVersion() { } public override bool OnSerialize(NetworkWriter writer, bool forceAll) { bool result = default(bool); return result; } public override void OnDeserialize(NetworkReader reader, bool initialState) { } } } namespace HANDMod.Content.HANDSurvivor.Components.DroneProjectile { public class DroneCollisionController : MonoBehaviour { private ProjectileTargetComponent ptc; private int passThroughWallsFrames = 0; public static float destroyIfNoTargetTime = 5f; private float projectileNoTargetStopwatch; private ProjectileStickOnImpact stick; private ProjectileController projectileController; private void Awake() { stick = ((Component)this).GetComponent(); ptc = ((Component)this).GetComponent(); projectileNoTargetStopwatch = 0f; projectileController = ((Component)this).GetComponent(); } private void FixedUpdate() { if (Object.op_Implicit((Object)(object)stick) && !Object.op_Implicit((Object)(object)stick.syncVictim)) { if (passThroughWallsFrames > 0) { passThroughWallsFrames--; if (passThroughWallsFrames <= 0) { ((Component)this).gameObject.layer = LayerIndex.projectile.intVal; } } if (NetworkServer.active && Object.op_Implicit((Object)(object)ptc)) { if ((Object)(object)ptc.target != (Object)null) { projectileNoTargetStopwatch = 0f; } projectileNoTargetStopwatch += Time.fixedDeltaTime; if (projectileNoTargetStopwatch >= destroyIfNoTargetTime) { Object.Destroy((Object)(object)((Component)this).gameObject); } } } else { if (NetworkServer.active) { ProjectileSimple component = ((Component)this).GetComponent(); component.SetLifetime(30f); } passThroughWallsFrames = 0; ((Component)this).gameObject.layer = LayerIndex.projectile.intVal; Object.Destroy((Object)(object)((Component)this).GetComponent()); Object.Destroy((Object)(object)((Component)this).GetComponent()); Object.Destroy((Object)(object)ptc); Object.Destroy((Object)(object)this); } } private void OnCollisionEnter(Collision collision) { if (collision.gameObject.layer == LayerIndex.world.intVal) { ((Component)this).gameObject.layer = LayerIndex.collideWithCharacterHullOnly.intVal; passThroughWallsFrames = 15; } else { ((Component)this).gameObject.layer = LayerIndex.projectile.intVal; } } } public class DroneDamageController : MonoBehaviour { public static NetworkSoundEventDef startSound; public static NetworkSoundEventDef hitSound; public float procCoefficient = 0.5f; public float baseDurationBetweenTicks = 0.5f; public int baseTickCount = 8; public float damageHealFraction = 0.4f; public GameObject hitEffectPrefab = Addressables.LoadAssetAsync((object)"RoR2/Base/Treebot/OmniImpactVFXSlashSyringe.prefab").WaitForCompletion(); public BuffDef buffOnHit; public float buffOnHitDuration = 0f; private float durationBetweenTicks; private float stopwatch; private ProjectileStickOnImpact stick; private int damageTicks; private int tickCount; private bool firstHit; private int dronePartsCount = 0; private int coolantCount = 0; private CharacterMaster master; private GameObject owner; private TeamIndex teamIndex; private ProjectileController projectileController; private ProjectileDamage projectileDamage; private HealthComponent ownerHealthComponent; private CharacterBody ownerBody; private HealthComponent victimHealthComponent; public void Awake() { if (NetworkServer.active) { stick = ((Component)this).gameObject.GetComponent(); stopwatch = 0f; damageTicks = 0; firstHit = true; projectileDamage = ((Component)this).gameObject.GetComponent(); projectileController = ((Component)this).gameObject.GetComponent(); durationBetweenTicks = baseDurationBetweenTicks; tickCount = baseTickCount; } } public void Start() { //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_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) //IL_0101: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Invalid comparison between Unknown and I4 //IL_011c: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)projectileController)) { return; } owner = projectileController.owner; if (!Object.op_Implicit((Object)(object)owner)) { return; } ownerHealthComponent = projectileController.owner.GetComponent(); TeamComponent component = owner.GetComponent(); teamIndex = component.teamIndex; ownerBody = owner.GetComponent(); if (!Object.op_Implicit((Object)(object)ownerBody) || !Object.op_Implicit((Object)(object)ownerBody.inventory)) { return; } master = ownerBody.master; float num = 1f; dronePartsCount = ownerBody.inventory.GetItemCount(Items.DroneWeapons); if (dronePartsCount > 0) { num += 0.5f * (float)dronePartsCount; } ItemIndex val = ItemCatalog.FindItemIndex("ITEM_DRONE_COOLANT_BOOST"); if ((int)val != -1) { coolantCount = ownerBody.inventory.GetItemCount(val); if (coolantCount > 0) { num += 0.1f * (float)coolantCount; } } tickCount = Mathf.FloorToInt((float)tickCount * num); durationBetweenTicks /= num; } private void OnFirstHit() { //IL_007d: 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_003d: 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) if (Object.op_Implicit((Object)(object)victimHealthComponent.body) && Object.op_Implicit((Object)(object)victimHealthComponent.body.teamComponent) && victimHealthComponent.body.teamComponent.teamIndex == teamIndex) { victimHealthComponent.body.AddTimedBuff(Buffs.SmallArmorBoost, (float)tickCount * durationBetweenTicks); } EffectManager.SimpleSoundEffect(startSound.index, ((Component)this).transform.position, true); if (Object.op_Implicit((Object)(object)buffOnHit) && buffOnHitDuration > 0f && Object.op_Implicit((Object)(object)ownerBody)) { int buffCount = ownerBody.GetBuffCount(buffOnHit); ownerBody.ClearTimedBuffs(buffOnHit); for (int i = 0; i < buffCount + 1; i++) { ownerBody.AddTimedBuff(buffOnHit, buffOnHitDuration); } } } private bool CheckValidVictim() { bool result = true; if (!Object.op_Implicit((Object)(object)victimHealthComponent)) { victimHealthComponent = stick.victim.GetComponent(); if (!Object.op_Implicit((Object)(object)victimHealthComponent)) { result = false; } } else if (Object.op_Implicit((Object)(object)victimHealthComponent) && !victimHealthComponent.alive) { result = false; } return result; } private void VictimFixedUpdate() { //IL_04c3: Unknown result type (might be due to invalid IL or missing references) //IL_04ca: Unknown result type (might be due to invalid IL or missing references) //IL_04d0: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_010a: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Expected O, but got Unknown //IL_0119: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_01bd: Unknown result type (might be due to invalid IL or missing references) //IL_01c3: 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_028f: Unknown result type (might be due to invalid IL or missing references) //IL_029b: 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_02ae: Unknown result type (might be due to invalid IL or missing references) //IL_02b0: Unknown result type (might be due to invalid IL or missing references) //IL_02b5: Unknown result type (might be due to invalid IL or missing references) //IL_02b7: Unknown result type (might be due to invalid IL or missing references) //IL_02bc: 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_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d4: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e5: Unknown result type (might be due to invalid IL or missing references) //IL_02ea: Unknown result type (might be due to invalid IL or missing references) //IL_02ef: Unknown result type (might be due to invalid IL or missing references) //IL_02f4: Unknown result type (might be due to invalid IL or missing references) //IL_02fb: Unknown result type (might be due to invalid IL or missing references) //IL_0300: Unknown result type (might be due to invalid IL or missing references) //IL_0305: Unknown result type (might be due to invalid IL or missing references) //IL_030b: Unknown result type (might be due to invalid IL or missing references) //IL_0311: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Expected O, but got Unknown //IL_0327: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_0210: Expected O, but got Unknown //IL_0218: 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_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036a: Unknown result type (might be due to invalid IL or missing references) //IL_036f: Unknown result type (might be due to invalid IL or missing references) //IL_0374: Unknown result type (might be due to invalid IL or missing references) //IL_040f: Unknown result type (might be due to invalid IL or missing references) //IL_0416: Expected O, but got Unknown //IL_041e: Unknown result type (might be due to invalid IL or missing references) //IL_0423: Unknown result type (might be due to invalid IL or missing references) //IL_044b: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0469: Unknown result type (might be due to invalid IL or missing references) //IL_047e: Unknown result type (might be due to invalid IL or missing references) stopwatch += Time.fixedDeltaTime; if (!(stopwatch > durationBetweenTicks)) { return; } damageTicks++; if (damageTicks > tickCount) { Object.Destroy((Object)(object)((Component)this).gameObject); } if (Object.op_Implicit((Object)(object)victimHealthComponent) && Object.op_Implicit((Object)(object)projectileDamage)) { if (firstHit) { firstHit = false; OnFirstHit(); } else { EffectManager.SimpleSoundEffect(hitSound.index, ((Component)this).transform.position, true); } float num = projectileDamage.damage / (float)baseTickCount; float num2 = 2f; if (Object.op_Implicit((Object)(object)ownerHealthComponent) && damageHealFraction > 0f) { num2 = ownerHealthComponent.body.critMultiplier; HealOrb val = new HealOrb(); ((Orb)val).origin = ((Component)this).transform.position; ((Orb)val).target = ownerHealthComponent.body.mainHurtBox; val.healValue = damageHealFraction * num; if (projectileDamage.crit) { val.healValue *= num2; } val.overrideDuration = 0.3f; OrbManager.instance.AddOrb((Orb)(object)val); } if (Object.op_Implicit((Object)(object)victimHealthComponent.body) && Object.op_Implicit((Object)(object)victimHealthComponent.body.teamComponent) && victimHealthComponent.body.teamComponent.teamIndex == teamIndex) { if (damageHealFraction > 0f) { float num3 = victimHealthComponent.fullHealth * 0.1f / (float)baseTickCount; HealOrb val2 = new HealOrb(); ((Orb)val2).origin = ((Component)this).transform.position; ((Orb)val2).target = victimHealthComponent.body.mainHurtBox; val2.healValue = Mathf.Max(num3, num); if (projectileDamage.crit) { val2.healValue *= num2; } val2.overrideDuration = 0.3f; OrbManager.instance.AddOrb((Orb)(object)val2); } } else { DamageInfo val3 = new DamageInfo { attacker = owner, inflictor = owner, damage = num, damageColorIndex = (DamageColorIndex)0, damageType = DamageTypeCombo.op_Implicit((DamageType)0), crit = projectileDamage.crit, dotIndex = (DotIndex)(-1), force = projectileDamage.force * Vector3.down, position = ((Component)this).transform.position, procChainMask = default(ProcChainMask), procCoefficient = procCoefficient }; val3.damageType.damageSource = (DamageSource)8; if (coolantCount > 0 && Util.CheckRoll(10f + 10f * (float)coolantCount, master)) { val3.damageType |= DamageTypeCombo.op_Implicit((DamageType)128); } victimHealthComponent.TakeDamage(val3); GlobalEventManager.instance.OnHitEnemy(val3, ((Component)victimHealthComponent).gameObject); GlobalEventManager.instance.OnHitAll(val3, ((Component)victimHealthComponent).gameObject); if (dronePartsCount > 0 && Object.op_Implicit((Object)(object)victimHealthComponent.body) && Object.op_Implicit((Object)(object)victimHealthComponent.body.mainHurtBox) && Util.CheckRoll(10f, master)) { MicroMissileOrb val4 = new MicroMissileOrb(); ((Orb)val4).origin = ((Component)this).transform.position; ((GenericDamageOrb)val4).damageValue = num * 3f; ((GenericDamageOrb)val4).isCrit = projectileDamage.crit; ((GenericDamageOrb)val4).teamIndex = teamIndex; ((GenericDamageOrb)val4).attacker = owner; ((GenericDamageOrb)val4).procChainMask = default(ProcChainMask); ((GenericDamageOrb)val4).procCoefficient = 0.25f; ((GenericDamageOrb)val4).damageColorIndex = (DamageColorIndex)3; ((Orb)val4).target = victimHealthComponent.body.mainHurtBox; ((GenericDamageOrb)val4).speed = 55f; OrbManager.instance.AddOrb((Orb)(object)val4); } } } EffectManager.SimpleEffect(hitEffectPrefab, ((Component)this).transform.position, default(Quaternion), true); stopwatch -= durationBetweenTicks; } public void FixedUpdate() { if (!NetworkServer.active || !stick.stuck) { return; } if (Object.op_Implicit((Object)(object)stick.victim)) { if (!CheckValidVictim()) { Object.Destroy((Object)(object)((Component)this).gameObject); } else { VictimFixedUpdate(); } } else { Object.Destroy((Object)(object)((Component)this).gameObject); } } } } namespace HANDMod.Content.HANDSurvivor.Components.Body { public class DroneFollowerController : NetworkBehaviour { public struct DroneFollower { public GameObject gameObject; public Transform transform; public bool active; } private float sleepTimer = 1.5f; private static bool initialized; public static GameObject activateEffect; public static GameObject deactivateEffect; public static GameObject dronePrefab; private CharacterBody characterBody; private int droneCount; public static float droneScale; public static int maxFollowingDrones; private Vector3 velocity = Vector3.zero; private float stopwatch; public static float orbitDuration; private DroneFollower[] droneFollowers; [SyncVar] private int _droneCountServer; private static int kCmdCmdUpdateDroneCount; public int Network_droneCountServer { get { return _droneCountServer; } [param: In] set { ((NetworkBehaviour)this).SetSyncVar(value, ref _droneCountServer, 1u); } } public static void Initialize() { if (!initialized) { initialized = true; } } private void ApplyDroneSkins() { CharacterModel val = null; if (Object.op_Implicit((Object)(object)characterBody) && Object.op_Implicit((Object)(object)characterBody.modelLocator) && Object.op_Implicit((Object)(object)characterBody.modelLocator.modelTransform)) { val = ((Component)characterBody.modelLocator.modelTransform).GetComponent(); } for (int i = 0; i < droneFollowers.Length; i++) { ChildLocator component = droneFollowers[i].gameObject.GetComponent(); SkinnedMeshRenderer val2 = component.FindChildComponent("Drone"); ((Renderer)val2).sharedMaterial = val.baseRendererInfos[2].defaultMaterial; ? val3 = val2; Renderer renderer = val.baseRendererInfos[2].renderer; ((SkinnedMeshRenderer)val3).sharedMesh = ((SkinnedMeshRenderer)((renderer is SkinnedMeshRenderer) ? renderer : null)).sharedMesh; GameObject val4 = component.FindChildGameObject("Saw"); ((Renderer)val4.GetComponent()).material = val.baseRendererInfos[3].defaultMaterial; val4.GetComponent().mesh = ((Component)val.baseRendererInfos[3].renderer).GetComponent().mesh; } } private void ApplyDroneSkinsFunny() { Transform val = null; SkinnedMeshRenderer[] array = null; MeshRenderer[] array2 = null; MeshFilter[] array3 = null; if (Object.op_Implicit((Object)(object)characterBody) && Object.op_Implicit((Object)(object)characterBody.modelLocator) && Object.op_Implicit((Object)(object)characterBody.modelLocator.modelTransform)) { GameObject gameObject = ((Component)characterBody.modelLocator.modelTransform).gameObject; if (Object.op_Implicit((Object)(object)gameObject)) { ChildLocator component = gameObject.GetComponent(); if (Object.op_Implicit((Object)(object)component)) { val = component.FindChild("DroneFollower"); if (Object.op_Implicit((Object)(object)val)) { array = ((Component)val).GetComponentsInChildren(true); array2 = ((Component)val).GetComponentsInChildren(true); array3 = ((Component)val).GetComponentsInChildren(true); } } } } for (int i = 0; i < droneFollowers.Length; i++) { if (array2 == null || array3 == null) { continue; } SkinnedMeshRenderer[] componentsInChildren = droneFollowers[i].gameObject.GetComponentsInChildren(true); MeshRenderer[] componentsInChildren2 = droneFollowers[i].gameObject.GetComponentsInChildren(true); MeshFilter[] componentsInChildren3 = droneFollowers[i].gameObject.GetComponentsInChildren(true); if (componentsInChildren.Length != 0) { for (int j = 0; j < array.Length && j < componentsInChildren.Length; j++) { ((Renderer)componentsInChildren[j]).material = ((Renderer)array[j]).material; componentsInChildren[j].sharedMesh = array[j].sharedMesh; Log.Warning(((Object)((Renderer)array[j]).material).name); } } if (componentsInChildren2.Length != 0) { for (int k = 0; k < array2.Length && k < componentsInChildren2.Length; k++) { ((Renderer)componentsInChildren2[k]).material = ((Renderer)array2[k]).material; } } if (componentsInChildren3.Length != 0) { for (int l = 0; l < array3.Length && l < componentsInChildren3.Length; l++) { componentsInChildren3[l].mesh = array3[l].mesh; } } } } public void Awake() { characterBody = ((Component)this).GetComponent(); if (NetworkServer.active) { Network_droneCountServer = 0; } InitDroneFollowers(); ApplyDroneSkins(); if (Object.op_Implicit((Object)(object)characterBody.modelLocator) && Object.op_Implicit((Object)(object)characterBody.modelLocator.modelTransform)) { ((Component)characterBody.modelLocator.modelTransform).GetComponent().onSkinApplied += DroneFollowerController_onSkinApplied; } } private void DroneFollowerController_onSkinApplied(int obj) { ApplyDroneSkins(); } private void InitDroneFollowers() { //IL_0069: Unknown result type (might be due to invalid IL or missing references) droneFollowers = new DroneFollower[maxFollowingDrones]; for (int i = 0; i < droneFollowers.Length; i++) { droneFollowers[i].gameObject = Object.Instantiate(dronePrefab); droneFollowers[i].transform = droneFollowers[i].gameObject.transform; droneFollowers[i].transform.localScale = Vector3.zero; droneFollowers[i].active = false; } } public void FixedUpdate() { if (((NetworkBehaviour)this).hasAuthority && characterBody.skillLocator.special.stock != _droneCountServer) { CallCmdUpdateDroneCount(characterBody.skillLocator.special.stock); } if (sleepTimer > 0f) { sleepTimer -= Time.fixedDeltaTime; } } public void OnDestroy() { for (int i = 0; i < droneFollowers.Length; i++) { if (Object.op_Implicit((Object)(object)droneFollowers[i].gameObject)) { Object.Destroy((Object)(object)droneFollowers[i].gameObject); } } if (Object.op_Implicit((Object)(object)characterBody.modelLocator) && Object.op_Implicit((Object)(object)characterBody.modelLocator.modelTransform)) { ((Component)characterBody.modelLocator.modelTransform).GetComponent().onSkinApplied -= DroneFollowerController_onSkinApplied; } } private void Update() { if (sleepTimer <= 0f) { UpdateMotion(); } stopwatch += Time.deltaTime * (characterBody.HasBuff(HANDMod.Content.Shared.Buffs.Overclock) ? 2f : 1f); if (stopwatch > orbitDuration) { stopwatch -= orbitDuration; } } private void UpdateMotion() { //IL_01aa: Unknown result type (might be due to invalid IL or missing references) //IL_0164: Unknown result type (might be due to invalid IL or missing references) //IL_017a: 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_0076: 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_01d8: Unknown result type (might be due to invalid IL or missing references) //IL_01dd: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_01f1: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_0209: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_020f: 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_0237: Unknown result type (might be due to invalid IL or missing references) //IL_023c: 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_0123: Unknown result type (might be due to invalid IL or missing references) droneCount = (((NetworkBehaviour)this).hasAuthority ? characterBody.skillLocator.special.stock : _droneCountServer); for (int i = 0; i < maxFollowingDrones; i++) { if (i < droneCount) { if (!droneFollowers[i].active) { EffectManager.SimpleEffect(activateEffect, droneFollowers[i].transform.position, droneFollowers[i].transform.rotation, false); } droneFollowers[i].active = true; droneFollowers[i].transform.localScale = droneScale * Vector3.one; if (Object.op_Implicit((Object)(object)characterBody.modelLocator) && Object.op_Implicit((Object)(object)characterBody.modelLocator.modelTransform)) { droneFollowers[i].transform.rotation = characterBody.modelLocator.modelTransform.rotation; } } else { if (droneFollowers[i].active) { EffectManager.SimpleEffect(deactivateEffect, droneFollowers[i].transform.position, droneFollowers[i].transform.rotation, false); } droneFollowers[i].active = false; droneFollowers[i].transform.localScale = Vector3.zero; } Vector3 val = Quaternion.AngleAxis(360f / (float)maxFollowingDrones * (float)i + stopwatch / orbitDuration * 360f, Vector3.up) * Vector3.right * 2.4f; val.y = 1.2f; Vector3 val2 = characterBody.corePosition + val; droneFollowers[i].transform.position = Vector3.SmoothDamp(droneFollowers[i].transform.position, val2, ref velocity, 0.1f); } } [Command] private void CmdUpdateDroneCount(int newCount) { Network_droneCountServer = newCount; } static DroneFollowerController() { //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Expected O, but got Unknown initialized = false; activateEffect = LegacyResourcesAPI.Load("prefabs/effects/omnieffect/OmniImpactVFXLoader"); deactivateEffect = LegacyResourcesAPI.Load("prefabs/effects/omnieffect/OmniImpactVFXLoader"); droneScale = 1f; maxFollowingDrones = 10; orbitDuration = 6f; kCmdCmdUpdateDroneCount = 1567775058; NetworkBehaviour.RegisterCommandDelegate(typeof(DroneFollowerController), kCmdCmdUpdateDroneCount, new CmdDelegate(InvokeCmdCmdUpdateDroneCount)); NetworkCRC.RegisterBehaviour("DroneFollowerController", 0); } private void UNetVersion() { } protected static void InvokeCmdCmdUpdateDroneCount(NetworkBehaviour obj, NetworkReader reader) { if (!NetworkServer.active) { Debug.LogError((object)"Command CmdUpdateDroneCount called on client."); } else { ((DroneFollowerController)(object)obj).CmdUpdateDroneCount((int)reader.ReadPackedUInt32()); } } public void CallCmdUpdateDroneCount(int newCount) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Expected O, but got Unknown //IL_0058: Unknown result type (might be due to invalid IL or missing references) if (!NetworkClient.active) { Debug.LogError((object)"Command function CmdUpdateDroneCount called on server."); return; } if (((NetworkBehaviour)this).isServer) { CmdUpdateDroneCount(newCount); return; } NetworkWriter val = new NetworkWriter(); val.Write((short)0); val.Write((short)5); val.WritePackedUInt32((uint)kCmdCmdUpdateDroneCount); val.Write(((Component)this).GetComponent().netId); val.WritePackedUInt32((uint)newCount); ((NetworkBehaviour)this).SendCommandInternal(val, 0, "CmdUpdateDroneCount"); } public override bool OnSerialize(NetworkWriter writer, bool forceAll) { if (forceAll) { writer.WritePackedUInt32((uint)_droneCountServer); return true; } bool flag = false; if ((((NetworkBehaviour)this).syncVarDirtyBits & (true ? 1u : 0u)) != 0) { if (!flag) { writer.WritePackedUInt32(((NetworkBehaviour)this).syncVarDirtyBits); flag = true; } writer.WritePackedUInt32((uint)_droneCountServer); } if (!flag) { writer.WritePackedUInt32(((NetworkBehaviour)this).syncVarDirtyBits); } return flag; } public override void OnDeserialize(NetworkReader reader, bool initialState) { if (initialState) { _droneCountServer = (int)reader.ReadPackedUInt32(); return; } int num = (int)reader.ReadPackedUInt32(); if (((uint)num & (true ? 1u : 0u)) != 0) { _droneCountServer = (int)reader.ReadPackedUInt32(); } } } public class DroneStockController : NetworkBehaviour, IOnKilledOtherServerReceiver { private int oldDroneCount = 0; private CharacterBody characterBody; private DroneStockPersist dronePersist; internal static ItemIndex droneMeldStackItem; internal static ItemIndex minionMeldStackItem; public static List mechanicalBodies; private static int kRpcRpcAddSpecialStock; private static int kCmdCmdUpdateDronePassive; public void Start() { characterBody.skillLocator.special.RemoveAllStocks(); if (Object.op_Implicit((Object)(object)characterBody.master)) { dronePersist = ((Component)characterBody.master).gameObject.GetComponent(); if (!Object.op_Implicit((Object)(object)dronePersist)) { dronePersist = ((Component)characterBody.master).gameObject.AddComponent(); } else { characterBody.skillLocator.special.stock = Mathf.Max(dronePersist.droneCount, characterBody.skillLocator.special.maxStock); } } } public void Awake() { characterBody = ((Component)this).GetComponent(); } public void FixedUpdate() { //IL_0100: 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_0107: Unknown result type (might be due to invalid IL or missing references) //IL_0108: Unknown result type (might be due to invalid IL or missing references) //IL_010a: 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_0112: Invalid comparison between Unknown and I4 //IL_0126: 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_012e: Invalid comparison between Unknown and I4 //IL_0132: 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_013e: Invalid comparison between Unknown and I4 //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_016d: Unknown result type (might be due to invalid IL or missing references) //IL_0173: Invalid comparison between Unknown and I4 //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_0198: Invalid comparison between Unknown and I4 //IL_0186: Unknown result type (might be due to invalid IL or missing references) //IL_01ab: Unknown result type (might be due to invalid IL or missing references) if (!((NetworkBehaviour)this).hasAuthority) { return; } if (Object.op_Implicit((Object)(object)dronePersist)) { if (characterBody.skillLocator.special.stock > dronePersist.droneCount) { Util.PlaySound("Play_HOC_DroneGain", ((Component)this).gameObject); } dronePersist.droneCount = characterBody.skillLocator.special.stock; } int num = characterBody.skillLocator.special.stock; foreach (CharacterMaster readOnlyInstances in CharacterMaster.readOnlyInstancesList) { if (!Object.op_Implicit((Object)(object)readOnlyInstances.minionOwnership) || !((Object)(object)readOnlyInstances.minionOwnership.ownerMaster == (Object)(object)characterBody.master)) { continue; } CharacterBody body = readOnlyInstances.GetBody(); if (!Object.op_Implicit((Object)(object)body) || body.isPlayerControlled) { continue; } if ((int)(body.bodyFlags = (BodyFlags)(body.bodyFlags & 2)) != 2) { continue; } int num2 = 1; if ((body.bodyFlags & 2) <= 0 && (body.bodyFlags & 0x400000) <= 0 && !CheckMechanicalBody(body.bodyIndex)) { continue; } num++; if (Object.op_Implicit((Object)(object)body.inventory)) { if ((int)droneMeldStackItem != -1) { num += body.inventory.GetItemCountEffective(droneMeldStackItem); } if ((int)minionMeldStackItem != -1) { num += body.inventory.GetItemCountEffective(minionMeldStackItem); } num += body.inventory.GetItemCountEffective(Items.DroneUpgradeHidden); } } if (num != oldDroneCount) { CallCmdUpdateDronePassive(num); } oldDroneCount = num; } public static bool CheckMechanicalBody(BodyIndex bodyIndex) { //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) //IL_0018: 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) foreach (BodyIndex mechanicalBody in mechanicalBodies) { if (mechanicalBody == bodyIndex) { return true; } } return false; } public void OnKilledOtherServer(DamageReport damageReport) { if (NetworkServer.active && (Object)(object)damageReport.attacker == (Object)(object)((Component)this).gameObject) { CallRpcAddSpecialStock(); } } [ClientRpc] public void RpcAddSpecialStock() { if (((NetworkBehaviour)this).hasAuthority && characterBody.skillLocator.special.stock < characterBody.skillLocator.special.maxStock) { GenericSkill special = characterBody.skillLocator.special; int stock = special.stock; special.stock = stock + 1; if (characterBody.skillLocator.special.stock == characterBody.skillLocator.special.maxStock) { characterBody.skillLocator.special.rechargeStopwatch = 0f; } } } [Command] public void CmdUpdateDronePassive(int newCount) { if (!NetworkServer.active) { return; } int buffCount = characterBody.GetBuffCount(Buffs.DronePassive); if (buffCount < newCount) { int num = newCount - buffCount; for (int i = 0; i < num; i++) { characterBody.AddBuff(Buffs.DronePassive); } } else if (buffCount > newCount) { for (int j = 0; j < buffCount; j++) { characterBody.RemoveBuff(Buffs.DronePassive); } for (int k = 0; k < newCount; k++) { characterBody.AddBuff(Buffs.DronePassive); } } } public void MeleeHit() { if (characterBody.skillLocator.special.stock < characterBody.skillLocator.special.maxStock) { GenericSkill special = characterBody.skillLocator.special; special.rechargeStopwatch += 2f; } } static DroneStockController() { //IL_0001: 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_0036: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Expected O, but got Unknown //IL_0060: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Expected O, but got Unknown droneMeldStackItem = (ItemIndex)(-1); minionMeldStackItem = (ItemIndex)(-1); mechanicalBodies = new List(); kCmdCmdUpdateDronePassive = -1002027406; NetworkBehaviour.RegisterCommandDelegate(typeof(DroneStockController), kCmdCmdUpdateDronePassive, new CmdDelegate(InvokeCmdCmdUpdateDronePassive)); kRpcRpcAddSpecialStock = -2014970194; NetworkBehaviour.RegisterRpcDelegate(typeof(DroneStockController), kRpcRpcAddSpecialStock, new CmdDelegate(InvokeRpcRpcAddSpecialStock)); NetworkCRC.RegisterBehaviour("DroneStockController", 0); } private void UNetVersion() { } protected static void InvokeCmdCmdUpdateDronePassive(NetworkBehaviour obj, NetworkReader reader) { if (!NetworkServer.active) { Debug.LogError((object)"Command CmdUpdateDronePassive called on client."); } else { ((DroneStockController)(object)obj).CmdUpdateDronePassive((int)reader.ReadPackedUInt32()); } } public void CallCmdUpdateDronePassive(int newCount) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Expected O, but got Unknown //IL_0058: Unknown result type (might be due to invalid IL or missing references) if (!NetworkClient.active) { Debug.LogError((object)"Command function CmdUpdateDronePassive called on server."); return; } if (((NetworkBehaviour)this).isServer) { CmdUpdateDronePassive(newCount); return; } NetworkWriter val = new NetworkWriter(); val.Write((short)0); val.Write((short)5); val.WritePackedUInt32((uint)kCmdCmdUpdateDronePassive); val.Write(((Component)this).GetComponent().netId); val.WritePackedUInt32((uint)newCount); ((NetworkBehaviour)this).SendCommandInternal(val, 0, "CmdUpdateDronePassive"); } protected static void InvokeRpcRpcAddSpecialStock(NetworkBehaviour obj, NetworkReader reader) { if (!NetworkClient.active) { Debug.LogError((object)"RPC RpcAddSpecialStock called on server."); } else { ((DroneStockController)(object)obj).RpcAddSpecialStock(); } } public void CallRpcAddSpecialStock() { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown //IL_0041: Unknown result type (might be due to invalid IL or missing references) if (!NetworkServer.active) { Debug.LogError((object)"RPC Function RpcAddSpecialStock called on client."); return; } NetworkWriter val = new NetworkWriter(); val.Write((short)0); val.Write((short)2); val.WritePackedUInt32((uint)kRpcRpcAddSpecialStock); val.Write(((Component)this).GetComponent().netId); ((NetworkBehaviour)this).SendRPCInternal(val, 0, "RpcAddSpecialStock"); } public override bool OnSerialize(NetworkWriter writer, bool forceAll) { bool result = default(bool); return result; } public override void OnDeserialize(NetworkReader reader, bool initialState) { } } public class HammerVisibilityController : MonoBehaviour { private Animator animator; private ChildLocator childLocator; private SkillLocator skillLocator; private CharacterBody characterBody; private Inventory inventory; private GameObject hammer; private CharacterModel characterModel; private bool usingHammer = false; private bool inEmote = false; private static bool initialized; public static void Initialize() { //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Expected O, but got Unknown if (!initialized) { initialized = true; CharacterModel.UpdateItemDisplay += new hook_UpdateItemDisplay(CharacterModel_UpdateItemDisplay); } } private static void CharacterModel_UpdateItemDisplay(orig_UpdateItemDisplay orig, CharacterModel self, Inventory inventory) { orig.Invoke(self, inventory); if (Object.op_Implicit((Object)(object)self.body)) { HammerVisibilityController component = ((Component)self.body).GetComponent(); if (Object.op_Implicit((Object)(object)component)) { component.UpdateHammer(); } } } private void DisableShatteringJustice() { //IL_002c: Unknown result type (might be due to invalid IL or missing references) if (HasShatteringJustice(inventory) && Object.op_Implicit((Object)(object)characterModel)) { characterModel.DisableItemDisplay(Items.ArmorReductionOnHit.itemIndex); } } private void EnableShatteringJustice() { //IL_002c: Unknown result type (might be due to invalid IL or missing references) if (HasShatteringJustice(inventory) && Object.op_Implicit((Object)(object)characterModel)) { characterModel.EnableItemDisplay(Items.ArmorReductionOnHit.itemIndex); } } private void Awake() { childLocator = ((Component)this).GetComponentInChildren(); if (!Object.op_Implicit((Object)(object)childLocator)) { Object.Destroy((Object)(object)this); return; } characterBody = ((Component)this).GetComponent(); skillLocator = ((Component)this).GetComponent(); hammer = childLocator.FindChildGameObject("HanDHammer"); ModelLocator component = ((Component)this).GetComponent(); if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.modelTransform)) { animator = ((Component)component.modelTransform).GetComponent(); } } private void Start() { if (Object.op_Implicit((Object)(object)characterBody)) { inventory = characterBody.inventory; if (Object.op_Implicit((Object)(object)characterBody.modelLocator) && Object.op_Implicit((Object)(object)characterBody.modelLocator.modelTransform) && Object.op_Implicit((Object)(object)((Component)characterBody.modelLocator.modelTransform).gameObject)) { characterModel = ((Component)characterBody.modelLocator.modelTransform).gameObject.GetComponent(); } } if (HasHammerPrimary(skillLocator)) { SetHammerEnabled(enabled: true); if (Object.op_Implicit((Object)(object)animator)) { animator.SetFloat("hammerIdle", 1f); animator.SetLayerWeight(1, 1f); } } else { SetHammerEnabled(enabled: false); } } private void ShowHammer() { usingHammer = true; if (!HasShatteringJustice(inventory)) { hammer.SetActive(true); return; } hammer.SetActive(false); EnableShatteringJustice(); } private void HideHammer() { if (inEmote || !HasHammerPrimary(skillLocator)) { usingHammer = false; hammer.SetActive(false); DisableShatteringJustice(); } else { ShowHammer(); } } public static bool HasHammerPrimary(SkillLocator sk) { return Object.op_Implicit((Object)(object)sk) && Object.op_Implicit((Object)(object)sk.primary) && (Object)(object)sk.primary.skillDef == (Object)(object)SkillDefs.PrimaryHammer; } public static bool HasShatteringJustice(Inventory inv) { return Object.op_Implicit((Object)(object)inv) && inv.GetItemCount(Items.ArmorReductionOnHit) > 0; } public void SetHammerEnabled(bool enabled) { if (enabled) { ShowHammer(); } else { HideHammer(); } } public void SetEmote(bool inEmote) { this.inEmote = inEmote; UpdateHammer(); } public void UpdateHammer() { if (usingHammer) { ShowHammer(); } else { HideHammer(); } } } public class HANDNetworkComponent : NetworkBehaviour { private CharacterBody characterBody; private static int kRpcRpcResetSpecialStock; private static int kRpcRpcAddSquash; public void Awake() { characterBody = ((Component)this).GetComponent(); } [Server] public void ResetSpecialStock() { if (!NetworkServer.active) { Debug.LogWarning((object)"[Server] function 'System.Void HANDMod.Content.HANDSurvivor.Components.Body.HANDNetworkComponent::ResetSpecialStock()' called on client"); } else if (NetworkServer.active) { CallRpcResetSpecialStock(); } } [ClientRpc] private void RpcResetSpecialStock() { characterBody.skillLocator.special.stock = 0; } [Server] public void SquashEnemy(uint networkID) { if (!NetworkServer.active) { Debug.LogWarning((object)"[Server] function 'System.Void HANDMod.Content.HANDSurvivor.Components.Body.HANDNetworkComponent::SquashEnemy(System.UInt32)' called on client"); } else if (NetworkServer.active) { CallRpcAddSquash(networkID); } } [ClientRpc] private void RpcAddSquash(uint networkID) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) GameObject val = ClientScene.FindLocalObject(new NetworkInstanceId(networkID)); if (!Object.op_Implicit((Object)(object)val)) { return; } CharacterMaster component = val.GetComponent(); if (!Object.op_Implicit((Object)(object)component)) { return; } GameObject bodyObject = component.GetBodyObject(); if (Object.op_Implicit((Object)(object)bodyObject)) { SquashedComponent squashedComponent = bodyObject.GetComponent(); if (Object.op_Implicit((Object)(object)squashedComponent)) { squashedComponent.ResetGraceTimer(); } else { squashedComponent = bodyObject.AddComponent(); } squashedComponent.triggerer = ((Component)this).gameObject; } } private void OnDestroy() { Util.PlaySound("Play_MULT_shift_end", ((Component)this).gameObject); } private void UNetVersion() { } protected static void InvokeRpcRpcResetSpecialStock(NetworkBehaviour obj, NetworkReader reader) { if (!NetworkClient.active) { Debug.LogError((object)"RPC RpcResetSpecialStock called on server."); } else { ((HANDNetworkComponent)(object)obj).RpcResetSpecialStock(); } } protected static void InvokeRpcRpcAddSquash(NetworkBehaviour obj, NetworkReader reader) { if (!NetworkClient.active) { Debug.LogError((object)"RPC RpcAddSquash called on server."); } else { ((HANDNetworkComponent)(object)obj).RpcAddSquash(reader.ReadPackedUInt32()); } } public void CallRpcResetSpecialStock() { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown //IL_0041: Unknown result type (might be due to invalid IL or missing references) if (!NetworkServer.active) { Debug.LogError((object)"RPC Function RpcResetSpecialStock called on client."); return; } NetworkWriter val = new NetworkWriter(); val.Write((short)0); val.Write((short)2); val.WritePackedUInt32((uint)kRpcRpcResetSpecialStock); val.Write(((Component)this).GetComponent().netId); ((NetworkBehaviour)this).SendRPCInternal(val, 0, "RpcResetSpecialStock"); } public void CallRpcAddSquash(uint networkID) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown //IL_0041: Unknown result type (might be due to invalid IL or missing references) if (!NetworkServer.active) { Debug.LogError((object)"RPC Function RpcAddSquash called on client."); return; } NetworkWriter val = new NetworkWriter(); val.Write((short)0); val.Write((short)2); val.WritePackedUInt32((uint)kRpcRpcAddSquash); val.Write(((Component)this).GetComponent().netId); val.WritePackedUInt32(networkID); ((NetworkBehaviour)this).SendRPCInternal(val, 0, "RpcAddSquash"); } static HANDNetworkComponent() { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Expected O, but got Unknown //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Expected O, but got Unknown kRpcRpcResetSpecialStock = 632665880; NetworkBehaviour.RegisterRpcDelegate(typeof(HANDNetworkComponent), kRpcRpcResetSpecialStock, new CmdDelegate(InvokeRpcRpcResetSpecialStock)); kRpcRpcAddSquash = 2067955596; NetworkBehaviour.RegisterRpcDelegate(typeof(HANDNetworkComponent), kRpcRpcAddSquash, new CmdDelegate(InvokeRpcRpcAddSquash)); NetworkCRC.RegisterBehaviour("HANDNetworkComponent", 0); } public override bool OnSerialize(NetworkWriter writer, bool forceAll) { bool result = default(bool); return result; } public override void OnDeserialize(NetworkReader reader, bool initialState) { } } public class HANDTargetingController : MonoBehaviour { public static GameObject enemyIndicatorPrefab; public static GameObject allyIndicatorPrefab; public float maxTrackingDistance = 160f; public float maxTrackingAngle = 60f; public float trackerUpdateFrequency = 10f; private HurtBox trackingTarget; private CharacterBody characterBody; private TeamComponent teamComponent; private InputBankTest inputBank; private float trackerUpdateStopwatch; private Indicator enemyIndicator; private Indicator allyIndicator; private readonly BullseyeSearch search = new BullseyeSearch(); private SkillLocator skillLocator; public void Awake() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Expected O, but got Unknown //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Expected O, but got Unknown enemyIndicator = new Indicator(((Component)this).gameObject, enemyIndicatorPrefab); allyIndicator = new Indicator(((Component)this).gameObject, allyIndicatorPrefab); characterBody = ((Component)this).GetComponent(); inputBank = ((Component)this).GetComponent(); teamComponent = ((Component)this).GetComponent(); skillLocator = ((Component)this).GetComponent(); } public void FixedUpdate() { //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_010f: 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) trackerUpdateStopwatch += Time.fixedDeltaTime; if (trackerUpdateStopwatch >= 1f / trackerUpdateFrequency) { trackerUpdateStopwatch -= 1f / trackerUpdateFrequency; HurtBox val = trackingTarget; Ray aimRay = default(Ray); ((Ray)(ref aimRay))..ctor(inputBank.aimOrigin, inputBank.aimDirection); SearchForTarget(aimRay); Transform targetTransform = (Object.op_Implicit((Object)(object)trackingTarget) ? ((Component)trackingTarget).transform : null); enemyIndicator.targetTransform = targetTransform; allyIndicator.targetTransform = targetTransform; } if (characterBody.skillLocator.special.stock <= 0) { enemyIndicator.active = false; allyIndicator.active = false; return; } bool flag = true; if (Object.op_Implicit((Object)(object)teamComponent) && Object.op_Implicit((Object)(object)trackingTarget) && trackingTarget.teamIndex == teamComponent.teamIndex) { flag = false; } if (flag) { enemyIndicator.active = true; allyIndicator.active = false; } else { enemyIndicator.active = false; allyIndicator.active = true; } } private void SearchForTarget(Ray aimRay) { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_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_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_0049: Unknown result type (might be due to invalid IL or missing references) search.teamMaskFilter = GetTargetTeams(); search.filterByLoS = true; search.searchOrigin = ((Ray)(ref aimRay)).origin; search.searchDirection = ((Ray)(ref aimRay)).direction; search.sortMode = (SortMode)2; search.maxDistanceFilter = maxTrackingDistance; search.maxAngleFilter = maxTrackingAngle; search.RefreshCandidates(); search.FilterOutGameObject(((Component)this).gameObject); trackingTarget = search.GetResults().FirstOrDefault(); } private TeamMask GetTargetTeams() { //IL_0028: 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_007e: 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_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_006e: 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) if (!Object.op_Implicit((Object)(object)skillLocator) || !Object.op_Implicit((Object)(object)skillLocator.special)) { return TeamMask.all; } DroneSkillDef.TargetingMode targetingMode = (skillLocator.special.baseSkill as DroneSkillDef).targetingMode; DroneSkillDef.TargetingMode targetingMode2 = targetingMode; if (targetingMode2 == DroneSkillDef.TargetingMode.EnemiesOnly) { return TeamMask.GetEnemyTeams((TeamIndex)((!Object.op_Implicit((Object)(object)teamComponent)) ? (-1) : ((int)teamComponent.teamIndex))); } return TeamMask.all; } public HurtBox GetTrackingTarget() { return trackingTarget; } public bool HasTarget() { return (Object)(object)trackingTarget != (Object)null; } } } namespace HANDMod.Content.HANDSurvivor.CharacterUnlock { public class BrokenJanitorInteractable { public static GameObject interactablePrefab; public static GameObject repairPrefab; private static SceneDef rallypointSceneDef = Addressables.LoadAssetAsync((object)"RoR2/Base/frozenwall/frozenwall.asset").WaitForCompletion(); public static bool initialized = false; public static void Initialize() { if (!initialized) { initialized = true; ContentPacks.entityStates.Add(typeof(BrokenJanitorMain)); ContentPacks.entityStates.Add(typeof(BrokenJanitorActivate)); interactablePrefab = BuildPrefab(); repairPrefab = BuildRepairPrefab(); Stage.onServerStageBegin += Stage_onServerStageBegin; } } private static void Stage_onServerStageBegin(Stage obj) { //IL_004d: 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) SceneDef sceneDefForCurrentScene = SceneCatalog.GetSceneDefForCurrentScene(); if (Object.op_Implicit((Object)(object)sceneDefForCurrentScene) && (Object)(object)sceneDefForCurrentScene == (Object)(object)rallypointSceneDef) { GameObject val = Object.Instantiate(interactablePrefab); if (Object.op_Implicit((Object)(object)val)) { val.transform.position = new Vector3(1.495881f, 10.6f, 13.58449f); val.transform.rotation = Quaternion.Euler(0f, -90f, 0f); NetworkServer.Spawn(val); } } } private static GameObject BuildPrefab() { //IL_00c3: 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_015a: Unknown result type (might be due to invalid IL or missing references) //IL_015f: 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_016d: Unknown result type (might be due to invalid IL or missing references) GameObject val = PrefabAPI.InstantiateClone(Assets.mainAssetBundle.LoadAsset("mdlHANDOverclocked"), "BrokenJanitorInteractable", false); Assets.ConvertAllRenderersToHopooShader(val); Collider[] componentsInChildren = val.GetComponentsInChildren(); Collider[] array = componentsInChildren; foreach (Collider val2 in array) { val2.isTrigger = true; } val.layer = ((LayerMask)(ref CommonMasks.interactable)).value; SphereCollider val3 = val.AddComponent(); ((Collider)val3).isTrigger = true; val3.radius = 3f; NetworkIdentity val4 = val.AddComponent(); PrefabAPI.RegisterNetworkPrefab(val); ContentPacks.networkedObjectPrefabs.Add(val); Highlight val5 = val.AddComponent(); SkinnedMeshRenderer[] componentsInChildren2 = val.GetComponentsInChildren(); val5.targetRenderer = (Renderer)(object)componentsInChildren2[1]; val5.strength = 1f; val5.highlightColor = (HighlightColor)0; val5.isOn = false; PurchaseInteraction val6 = val.AddComponent(); val6.displayNameToken = "LOCKEDTREEBOT_NAME"; val6.contextToken = "LOCKEDTREEBOT_CONTEXT"; val6.costType = (CostTypeIndex)8; val6.available = true; val6.cost = 1; val6.automaticallyScaleCostWithDifficulty = false; val6.ignoreSpherecastForInteractability = false; val6.setUnavailableOnTeleporterActivated = false; val6.isShrine = false; val6.isGoldShrine = false; ModelLocator val7 = val.AddComponent(); val7.modelTransform = val.transform; EntityStateMachine val8 = val.AddComponent(); val8.mainStateType = new SerializableEntityStateType(typeof(BrokenJanitorMain)); val8.initialStateType = val8.mainStateType; NetworkStateMachine val9 = val.AddComponent(); val9.stateMachines = (EntityStateMachine[])(object)new EntityStateMachine[1] { val8 }; EntityLocator val10 = val.AddComponent(); val10.entity = val; val.AddComponent().pingIconOverride = LegacyResourcesAPI.Load("textures/miscicons/texMysteryIcon"); return val; } private static GameObject BuildRepairPrefab() { //IL_00c3: 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_0195: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_01a3: 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) GameObject val = PrefabAPI.InstantiateClone(Assets.mainAssetBundle.LoadAsset("mdlHANDOverclocked"), "BrokenJanitorRepair", false); Assets.ConvertAllRenderersToHopooShader(val); Collider[] componentsInChildren = val.GetComponentsInChildren(); Collider[] array = componentsInChildren; foreach (Collider val2 in array) { val2.isTrigger = true; } val.layer = ((LayerMask)(ref CommonMasks.interactable)).value; SphereCollider val3 = val.AddComponent(); ((Collider)val3).isTrigger = true; val3.radius = 3f; NetworkIdentity val4 = val.AddComponent(); PrefabAPI.RegisterNetworkPrefab(val); ContentPacks.networkedObjectPrefabs.Add(val); Highlight val5 = val.AddComponent(); SkinnedMeshRenderer[] componentsInChildren2 = val.GetComponentsInChildren(); val5.targetRenderer = (Renderer)(object)componentsInChildren2[1]; val5.strength = 1f; val5.highlightColor = (HighlightColor)0; val5.isOn = false; PurchaseInteraction val6 = val.AddComponent(); val6.displayNameToken = "LOCKEDTREEBOT_NAME"; val6.contextToken = "LOCKEDTREEBOT_CONTEXT"; val6.costType = (CostTypeIndex)1; val6.available = true; val6.cost = 150; val6.automaticallyScaleCostWithDifficulty = true; val6.ignoreSpherecastForInteractability = false; val6.setUnavailableOnTeleporterActivated = false; val6.isShrine = false; val6.isGoldShrine = false; ModelLocator val7 = val.AddComponent(); val7.modelTransform = val.transform; ChildLocator component = val.GetComponent(); HologramProjector val8 = val.AddComponent(); val8.displayDistance = 15f; val8.disableHologramRotation = false; val8.hologramPivot = component.FindChild("HologramPivot"); EntityStateMachine val9 = val.AddComponent(); val9.mainStateType = new SerializableEntityStateType(typeof(BrokenJanitorMain)); val9.initialStateType = val9.mainStateType; NetworkStateMachine val10 = val.AddComponent(); val10.stateMachines = (EntityStateMachine[])(object)new EntityStateMachine[1] { val9 }; EntityLocator val11 = val.AddComponent(); val11.entity = val; return val; } } public class CreateRepairOnDeath : MonoBehaviour { private HealthComponent healthComponent; private bool spawnedRepair = false; public void Awake() { healthComponent = ((Component)this).GetComponent(); } public void Start() { if (Object.op_Implicit((Object)(object)healthComponent) && Object.op_Implicit((Object)(object)healthComponent.body) && Object.op_Implicit((Object)(object)healthComponent.body.inventory)) { Inventory inventory = healthComponent.body.inventory; int num = 0; num += inventory.GetItemCount(Items.GummyCloneIdentifier); num += inventory.GetItemCount(Items.Ghost); if (Object.op_Implicit((Object)(object)healthComponent.body.master) && Object.op_Implicit((Object)(object)((Component)healthComponent.body.master).GetComponent())) { num++; } if (Object.op_Implicit((Object)(object)((Component)healthComponent.body).GetComponent())) { num++; } if (num > 0) { Object.Destroy((Object)(object)this); } } } public void FixedUpdate() { //IL_007f: 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_0093: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) if (NetworkServer.active && !spawnedRepair && (!Object.op_Implicit((Object)(object)healthComponent) || !healthComponent.alive)) { spawnedRepair = true; GameObject val = Object.Instantiate(BrokenJanitorInteractable.repairPrefab); if (Object.op_Implicit((Object)(object)val) && Object.op_Implicit((Object)(object)((Component)this).gameObject) && Object.op_Implicit((Object)(object)((Component)this).transform)) { val.transform.position = ((Component)this).transform.position + 1f * Vector3.down; val.transform.rotation = ((Component)this).transform.rotation; NetworkServer.Spawn(val); } } } public static Vector3 FindSafeTeleportPosition(GameObject gameObject, Vector3 targetPosition) { //IL_0002: 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_0015: Unknown result type (might be due to invalid IL or missing references) return FindSafeTeleportPosition(gameObject, targetPosition, float.NegativeInfinity, float.NegativeInfinity); } public static Vector3 FindSafeTeleportPosition(GameObject gameObject, Vector3 targetPosition, float idealMinDistance, float idealMaxDistance) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0002: Unknown result type (might be due to invalid IL or missing references) //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_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) //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_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_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) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0077: Expected O, but got Unknown //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Unknown result type (might be due to invalid IL or missing references) //IL_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_009c: 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: Expected O, but got Unknown //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Expected O, but got Unknown //IL_00e9: 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_00c5: 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_00ee: Unknown result type (might be due to invalid IL or missing references) SpawnCard val = ScriptableObject.CreateInstance(); val.hullSize = (HullClassification)0; val.nodeGraphType = (GraphType)0; val.prefab = LegacyResourcesAPI.Load("SpawnCards/HelperPrefab"); Vector3 result = targetPosition; GameObject val2 = null; if (idealMaxDistance > 0f && idealMinDistance < idealMaxDistance) { val2 = DirectorCore.instance.TrySpawnObject(new DirectorSpawnRequest(val, new DirectorPlacementRule { placementMode = (PlacementMode)1, minDistance = idealMinDistance, maxDistance = idealMaxDistance, position = targetPosition }, RoR2Application.rng)); } if (!Object.op_Implicit((Object)(object)val2)) { val2 = DirectorCore.instance.TrySpawnObject(new DirectorSpawnRequest(val, new DirectorPlacementRule { placementMode = (PlacementMode)3, position = targetPosition }, RoR2Application.rng)); if (Object.op_Implicit((Object)(object)val2)) { result = val2.transform.position; } } if (Object.op_Implicit((Object)(object)val2)) { Object.Destroy((Object)(object)val2); } Object.Destroy((Object)(object)val); return result; } } } namespace HANDMod.Content.HANDSurvivor.Achievements { [RegisterAchievement("MoffeinHANDOverclockedClearGameTyphoon", "Skins.HANDOverclocked.GrandMastery", null, 15u, null)] public class HandGrandMasteryAchievement : BaseGrandMasteryAchievement { public override BodyIndex LookUpRequiredBodyIndex() { //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_000e: Unknown result type (might be due to invalid IL or missing references) return BodyCatalog.FindBodyIndex("HANDOverclockedBody"); } } [RegisterAchievement("MoffeinHANDOverclockedClearGameMonsoon", "Skins.HANDOverclocked.Mastery", null, 10u, null)] public class HandMasteryAchievement : BasePerSurvivorClearGameMonsoonAchievement { public override BodyIndex LookUpRequiredBodyIndex() { //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_000e: Unknown result type (might be due to invalid IL or missing references) return BodyCatalog.FindBodyIndex("HANDOverclockedBody"); } } [RegisterAchievement("MoffeinHANDOverclockedSurvivorUnlock", "Characters.HANDOverclocked", null, 3u, typeof(HANDOverclockedSurvivorUnlockServerAchievement))] public class HANDOverclockedSurvivorUnlockAchievement : BaseAchievement { private class HANDOverclockedSurvivorUnlockServerAchievement : BaseServerAchievement { public override void OnInstall() { ((BaseServerAchievement)this).OnInstall(); BrokenJanitorMain.onBrokenJanitorPurchaseGlobal += onPurchasedJanitor; } private void onPurchasedJanitor(BrokenJanitorMain state) { CharacterBody currentBody = base.serverAchievementTracker.networkUser.GetCurrentBody(); if (Object.op_Implicit((Object)(object)currentBody) && (Object)(object)((Component)currentBody).GetComponent() == (Object)(object)state.activator) { ((BaseServerAchievement)this).Grant(); } } public override void OnUninstall() { BrokenJanitorMain.onBrokenJanitorPurchaseGlobal -= onPurchasedJanitor; ((BaseServerAchievement)this).OnUninstall(); } } public override void OnInstall() { ((BaseAchievement)this).OnInstall(); ((BaseAchievement)this).SetServerTracked(true); } public override void OnUninstall() { ((BaseAchievement)this).OnUninstall(); } } [RegisterAchievement("MoffeinHANDOverclockedNemesisFocusUnlock", "Skills.HANDOverclocked.NemesisFocus", null, 3u, null)] public class HANDOverclockedNemesisFocusUnlockAchievement : BaseAchievement { public override void OnInstall() { ((BaseAchievement)this).OnInstall(); BeginOverclock.onAuthorityFixedUpdateGlobal += CheckOverclockTime; } public override void OnUninstall() { BeginOverclock.onAuthorityFixedUpdateGlobal -= CheckOverclockTime; ((BaseAchievement)this).OnUninstall(); } private void CheckOverclockTime(BeginOverclock state) { if (Object.op_Implicit((Object)(object)((EntityState)state).outer.commonComponents.characterBody) && (Object)(object)((EntityState)state).outer.commonComponents.characterBody == (Object)(object)((BaseAchievement)this).localUser.cachedBody && ((EntityState)state).fixedAge >= 45f) { ((BaseAchievement)this).Grant(); } } } [RegisterAchievement("MoffeinHANDOverclockedHammerPrimaryUnlock", "Skills.HANDOverclocked.HammerPrimary", null, 3u, null)] public class HANDOverclockedHammerPrimaryUnlockAchievement : BaseAchievement { private BodyIndex mithrixBody; private BodyIndex voidlingBody; public override BodyIndex LookUpRequiredBodyIndex() { //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_000e: Unknown result type (might be due to invalid IL or missing references) return BodyCatalog.FindBodyIndex("HANDOverclockedBody"); } public override void OnBodyRequirementMet() { //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_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) ((BaseAchievement)this).OnBodyRequirementMet(); mithrixBody = BodyCatalog.FindBodyIndex("BrotherHurtBody"); voidlingBody = BodyCatalog.FindBodyIndex("VoidRaidCrabBody"); SquashedComponent.onSquashedGlobal += SquashedComponent_onSquashedGlobal; } public override void OnBodyRequirementBroken() { SquashedComponent.onSquashedGlobal -= SquashedComponent_onSquashedGlobal; ((BaseAchievement)this).OnBodyRequirementBroken(); } private void SquashedComponent_onSquashedGlobal(SquashedComponent sq) { //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) if (!Object.op_Implicit((Object)(object)sq.triggerer)) { return; } CharacterBody component = sq.triggerer.GetComponent(); if ((Object)(object)component == (Object)(object)((BaseAchievement)this).localUser.cachedBody) { BodyIndex bodyIndex = sq.GetBodyIndex(); if (bodyIndex == mithrixBody || bodyIndex == voidlingBody) { ((BaseAchievement)this).Grant(); } } } } }