Decompiled source of Spearman v1.0.7

Spearman.dll

Decompiled 2 weeks ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Configuration;
using EntityStates;
using EntityStates.BeetleGuardMonster;
using EntityStates.BrotherMonster;
using EntityStates.Commando;
using EntityStates.Huntress;
using EntityStates.ImpBossMonster;
using EntityStates.Merc;
using HG;
using JetBrains.Annotations;
using KinematicCharacterController;
using On.RoR2;
using R2API;
using R2API.Utils;
using RoR2;
using RoR2.Achievements;
using RoR2.Audio;
using RoR2.ContentManagement;
using RoR2.Orbs;
using RoR2.Projectile;
using RoR2.Skills;
using RoR2.UI;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Networking;
using UnityEngine.Rendering;
using UnityEngine.UI;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("Dragonyck")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+03e3a59cc62d2beb46a5eb264ba62ba6a6e0ba9d")]
[assembly: AssemblyProduct("Spearman")]
[assembly: AssemblyTitle("Spearman")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Spearman;

public static class Achievements
{
	[RegisterAchievement("SPEARMAN_SURVIVORUNLOCKABLE", "ACHIEVEMENT_SPEARMAN_SURVIVORUNLOCKABLE_UNLOCKABLE_ID", null, 5u, typeof(SurvivorChallengeServerAchievement))]
	internal class SurvivorChallenge : BaseAchievement
	{
		private class SurvivorChallengeServerAchievement : BaseServerAchievement
		{
			public override void OnInstall()
			{
				//IL_000f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0019: Expected O, but got Unknown
				((BaseServerAchievement)this).OnInstall();
				BarrelInteraction.OnInteractionBegin += new hook_OnInteractionBegin(BarrelInteraction_OnInteractionBegin);
			}

			private void BarrelInteraction_OnInteractionBegin(orig_OnInteractionBegin orig, BarrelInteraction self, Interactor activator)
			{
				orig.Invoke(self, activator);
				if (self.displayNameToken == "SPEARMAN_INTERACTABLE_NAME")
				{
					((BaseServerAchievement)this).Grant();
				}
			}

			public override void OnUninstall()
			{
				//IL_000f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0019: Expected O, but got Unknown
				((BaseServerAchievement)this).OnUninstall();
				BarrelInteraction.OnInteractionBegin -= new hook_OnInteractionBegin(BarrelInteraction_OnInteractionBegin);
			}
		}

		public override void OnInstall()
		{
			((BaseAchievement)this).OnInstall();
			((BaseAchievement)this).SetServerTracked(true);
		}

		public override void OnUninstall()
		{
			((BaseAchievement)this).OnUninstall();
		}
	}

	[RegisterAchievement("SPEARMAN_MASTERYUNLOCKABLE", "ACHIEVEMENT_SPEARMAN_MASTERYUNLOCKABLE_UNLOCKABLE_ID", null, 5u, null)]
	public class MasteryUnlockable : 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("SpearmanBody");
		}
	}

	[RegisterAchievement("SPEARMAN_SECONDARYALTUNLOCKABLE", "ACHIEVEMENT_SPEARMAN_SECONDARYALTUNLOCKABLE_UNLOCKABLE_ID", null, 5u, null, serverTrackerType = typeof(SecondaryAltChallengeServerAchievement))]
	internal class SecondaryAltChallenge : BaseAchievement
	{
		private class SecondaryAltChallengeServerAchievement : BaseServerAchievement
		{
			public override void OnInstall()
			{
				((BaseServerAchievement)this).OnInstall();
				ProjectileKillTracker.onKill += ProjectileKillTracker_onKill;
			}

			private void ProjectileKillTracker_onKill(int killCount, CharacterMaster master)
			{
				if (killCount >= 10 && (Object)(object)master == (Object)(object)((BaseServerAchievement)this).networkUser.master)
				{
					((BaseServerAchievement)this).Grant();
				}
			}

			public override void OnUninstall()
			{
				((BaseServerAchievement)this).OnUninstall();
				ProjectileKillTracker.onKill -= ProjectileKillTracker_onKill;
			}
		}

		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("SpearmanBody");
		}

		public override void OnBodyRequirementMet()
		{
			((BaseAchievement)this).OnBodyRequirementMet();
			((BaseAchievement)this).SetServerTracked(true);
		}

		public override void OnBodyRequirementBroken()
		{
			((BaseAchievement)this).SetServerTracked(false);
			((BaseAchievement)this).OnBodyRequirementBroken();
		}
	}

	internal static UnlockableDef survivorUnlock;

	internal static UnlockableDef masteryUnlock;

	internal static UnlockableDef secondaryAltUnlock;

	public static void RegisterUnlockables()
	{
		survivorUnlock = NewUnlockable<SurvivorChallenge>("SURVIVORUNLOCKABLE", Assets.MainAssetBundle.LoadAsset<Sprite>("portrait"), "A Planet of Agony", "Retrieve the weapon embedded in the skull.");
		masteryUnlock = NewUnlockable<MasteryUnlockable>("MASTERYUNLOCKABLE", Assets.masterySkinIcon, "Spearman: Mastery", "As Spearman, beat the game or obliterate on Monsoon.");
		secondaryAltUnlock = NewUnlockable<SecondaryAltChallenge>("SECONDARYALTUNLOCKABLE", Assets.MainAssetBundle.LoadAsset<Sprite>("M2 ability icon"), "Spearman: To Know Strength", "As Spearman, kill 10 enemies in one cast of Warriors Spear.");
	}

	private static UnlockableDef NewUnlockable<T>(string AchievementIdentifier, Sprite Icon, string Title, string Description) where T : BaseAchievement
	{
		string text = "ACHIEVEMENT_SPEARMAN_";
		UnlockableDef val = ScriptableObject.CreateInstance<UnlockableDef>();
		string langName = text + AchievementIdentifier + "_NAME";
		string langDesc = text + AchievementIdentifier + "_DESCRIPTION";
		LanguageAPI.Add(langName, Title);
		LanguageAPI.Add(langDesc, Description);
		Func<string> func = () => Language.GetStringFormatted("UNLOCKED_FORMAT", new object[2]
		{
			Language.GetString(langName),
			Language.GetString(langDesc)
		});
		Type typeFromHandle = typeof(T);
		val.cachedName = text + AchievementIdentifier + "_UNLOCKABLE_ID";
		val.getHowToUnlockString = func;
		val.getUnlockedString = func;
		val.achievementIcon = Icon;
		val.sortScore = 200;
		val.hidden = false;
		ContentAddition.AddUnlockableDef(val);
		return val;
	}
}
internal class Assets
{
	public static AssetBundle MainAssetBundle;

	public static Sprite masterySkinIcon;

	public static void PopulateAssets()
	{
		//IL_004b: Unknown result type (might be due to invalid IL or missing references)
		//IL_005f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0064: Unknown result type (might be due to invalid IL or missing references)
		//IL_0078: Unknown result type (might be due to invalid IL or missing references)
		if ((Object)(object)MainAssetBundle == (Object)null)
		{
			using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Spearman.spearmanassets");
			MainAssetBundle = AssetBundle.LoadFromStream(stream);
		}
		masterySkinIcon = LoadoutAPI.CreateSkinIcon(new Color(0.52549f, 0.01569f, 0.01569f), new Color(0.4549f, 0.4549f, 0.43137f), Color.white, new Color(0.21569f, 0.21569f, 0.21569f));
		using Stream stream2 = Assembly.GetExecutingAssembly().GetManifestResourceStream("Spearman.Spearman.bnk");
		byte[] array = new byte[stream2.Length];
		stream2.Read(array, 0, array.Length);
		SoundBanks.Add(array);
	}
}
internal class ProjectileKillTracker : MonoBehaviour
{
	private int killCount;

	internal static event Action<int, CharacterMaster> onKill;

	private void OnEnable()
	{
		GlobalEventManager.onCharacterDeathGlobal += GlobalEventManager_onCharacterDeathGlobal;
	}

	private void OnDisable()
	{
		GlobalEventManager.onCharacterDeathGlobal -= GlobalEventManager_onCharacterDeathGlobal;
	}

	private void GlobalEventManager_onCharacterDeathGlobal(DamageReport damageReport)
	{
		if (Object.op_Implicit((Object)(object)damageReport.damageInfo.inflictor) && (Object)(object)damageReport.damageInfo.inflictor == (Object)(object)((Component)this).gameObject && Object.op_Implicit((Object)(object)damageReport.attackerMaster))
		{
			killCount++;
			ProjectileKillTracker.onKill?.Invoke(killCount, damageReport.attackerMaster);
		}
	}
}
internal class SpearmanTracker : HuntressTracker
{
	private SphereSearch sphereSearch = new SphereSearch();

	internal NetworkedBodyAttachment attachment;

	private GameObject indicatorObj;

	private TeamMask mask;

	private float stopwatch;

	private bool nearbyEntity;

	internal bool canExecute = true;

	private void Awake()
	{
		//IL_000d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0017: Expected O, but got Unknown
		//IL_006a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0074: Expected O, but got Unknown
		//IL_0080: Unknown result type (might be due to invalid IL or missing references)
		//IL_0085: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a5: 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)
		base.indicator = new Indicator(((Component)this).gameObject, Prefabs.spearmanIndicator);
		base.search.minDistanceFilter = 8f;
		base.search.maxDistanceFilter = 25f;
		base.search.maxAngleFilter = 35f;
		base.maxTrackingDistance = 60f;
		base.maxTrackingAngle = 15f;
		base.trackerUpdateFrequency = 10f;
		sphereSearch = new SphereSearch();
		sphereSearch.origin = ((Component)this).transform.position;
		sphereSearch.radius = 7f;
		sphereSearch.mask = ((LayerIndex)(ref LayerIndex.entityPrecise)).mask;
	}

	internal bool NearbyEntity()
	{
		return nearbyEntity;
	}

	private void FixedUpdate()
	{
		//IL_000d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0012: Unknown result type (might be due to invalid IL or missing references)
		//IL_0094: Unknown result type (might be due to invalid IL or missing references)
		//IL_0099: Unknown result type (might be due to invalid IL or missing references)
		//IL_0119: Unknown result type (might be due to invalid IL or missing references)
		sphereSearch.origin = ((Component)this).transform.position;
		stopwatch += Time.fixedDeltaTime;
		if (!Object.op_Implicit((Object)(object)base.characterBody) || !Object.op_Implicit((Object)(object)indicatorObj))
		{
		}
		if (stopwatch >= 0.1f)
		{
			stopwatch = 0f;
			if (Object.op_Implicit((Object)(object)base.teamComponent))
			{
				if (sphereSearch.RefreshCandidates().FilterCandidatesByHurtBoxTeam(TeamMask.GetEnemyTeams(base.teamComponent.teamIndex)).OrderCandidatesByDistance()
					.FilterCandidatesByDistinctHurtBoxEntities()
					.GetHurtBoxes()
					.Length != 0)
				{
					if (!Object.op_Implicit((Object)(object)indicatorObj))
					{
						indicatorObj = Object.Instantiate<GameObject>(Prefabs.meleeIndicator);
						base.characterBody.AddBuff(Prefabs.stiffAndOrSturdy);
						indicatorObj.transform.SetParent(((Component)this).gameObject.transform, false);
						indicatorObj.transform.localPosition = Vector3.zero;
					}
					nearbyEntity = true;
				}
				else
				{
					if (Object.op_Implicit((Object)(object)indicatorObj))
					{
						Object.Destroy((Object)(object)indicatorObj);
					}
					nearbyEntity = false;
				}
			}
		}
		if (Object.op_Implicit((Object)(object)base.trackingTarget) && Object.op_Implicit((Object)(object)base.trackingTarget.healthComponent) && !base.trackingTarget.healthComponent.alive)
		{
			base.trackingTarget = null;
		}
		((HuntressTracker)this).FixedUpdate();
	}
}
internal class SpearmanCrosshairController : MonoBehaviour
{
	internal static int State;

	private Color Disabled = Color32.op_Implicit(ColorCatalog.GetColor((ColorIndex)10));

	private Color Frozen = new Color(0.58431f, 0.80392f, 0.89804f);

	private Color Fire = Color32.op_Implicit(ColorCatalog.GetColor((ColorIndex)9));

	private Color Electric = Color32.op_Implicit(ColorCatalog.GetColor((ColorIndex)13));

	private Color Bleed = DamageColor.FindColor((DamageColorIndex)2);

	private Color Poison = DamageColor.FindColor((DamageColorIndex)4);

	internal static Image crosshairStack1;

	internal static Image crosshairStack2;

	internal static Image crosshairStack3;

	internal static Image crosshairStack4;

	internal static Image crosshairStack5;

	private SpearmanBehaviour behaviour;

	private bool isDisabled = false;

	public HudElement hudElement { get; private set; }

	private void Awake()
	{
		hudElement = ((Component)this).GetComponent<HudElement>();
		crosshairStack1 = ((Component)((Component)this).gameObject.transform.Find("CrosshairStack1")).GetComponent<Image>();
		crosshairStack2 = ((Component)((Component)this).gameObject.transform.Find("CrosshairStack2")).GetComponent<Image>();
		crosshairStack3 = ((Component)((Component)this).gameObject.transform.Find("CrosshairStack3")).GetComponent<Image>();
		crosshairStack4 = ((Component)((Component)this).gameObject.transform.Find("CrosshairStack4")).GetComponent<Image>();
		crosshairStack5 = ((Component)((Component)this).gameObject.transform.Find("CrosshairStack5")).GetComponent<Image>();
	}

	private void RectOffset(int index)
	{
		//IL_00b0: 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_00d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f4: 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_011b: 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_013d: 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_0164: 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_0186: 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_01a8: Unknown result type (might be due to invalid IL or missing references)
		//IL_01be: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e0: 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_0202: Unknown result type (might be due to invalid IL or missing references)
		//IL_0215: Unknown result type (might be due to invalid IL or missing references)
		//IL_0226: 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_0248: Unknown result type (might be due to invalid IL or missing references)
		//IL_0259: Unknown result type (might be due to invalid IL or missing references)
		Vector2 anchorMax = default(Vector2);
		((Vector2)(ref anchorMax))..ctor(0.5f, 0.5f);
		Vector2 anchorMax2 = default(Vector2);
		((Vector2)(ref anchorMax2))..ctor(0.5f, 0.6f);
		if (Object.op_Implicit((Object)(object)((Graphic)crosshairStack1).rectTransform) && Object.op_Implicit((Object)(object)((Graphic)crosshairStack2).rectTransform) && Object.op_Implicit((Object)(object)((Graphic)crosshairStack3).rectTransform) && Object.op_Implicit((Object)(object)((Graphic)crosshairStack4).rectTransform) && Object.op_Implicit((Object)(object)((Graphic)crosshairStack5).rectTransform))
		{
			switch (index)
			{
			case 0:
				((Graphic)crosshairStack1).rectTransform.anchorMax = anchorMax2;
				((Graphic)crosshairStack2).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack3).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack4).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack5).rectTransform.anchorMax = anchorMax;
				break;
			case 1:
				((Graphic)crosshairStack1).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack2).rectTransform.anchorMax = anchorMax2;
				((Graphic)crosshairStack3).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack4).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack5).rectTransform.anchorMax = anchorMax;
				break;
			case 2:
				((Graphic)crosshairStack1).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack2).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack3).rectTransform.anchorMax = anchorMax2;
				((Graphic)crosshairStack4).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack5).rectTransform.anchorMax = anchorMax;
				break;
			case 3:
				((Graphic)crosshairStack1).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack2).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack3).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack4).rectTransform.anchorMax = anchorMax2;
				((Graphic)crosshairStack5).rectTransform.anchorMax = anchorMax;
				break;
			case 4:
				((Graphic)crosshairStack1).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack2).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack3).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack4).rectTransform.anchorMax = anchorMax;
				((Graphic)crosshairStack5).rectTransform.anchorMax = anchorMax2;
				break;
			}
		}
	}

	private void UpdateDots()
	{
		//IL_007f: 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_00a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c3: 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_00ea: 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_010c: Unknown result type (might be due to invalid IL or missing references)
		//IL_011d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0133: Unknown result type (might be due to invalid IL or missing references)
		//IL_0144: Unknown result type (might be due to invalid IL or missing references)
		//IL_0155: Unknown result type (might be due to invalid IL or missing references)
		//IL_0166: 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_018d: Unknown result type (might be due to invalid IL or missing references)
		//IL_019e: Unknown result type (might be due to invalid IL or missing references)
		//IL_01af: Unknown result type (might be due to invalid IL or missing references)
		//IL_01c0: 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_01e4: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f5: 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_0217: 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)
		if (Object.op_Implicit((Object)(object)crosshairStack1) && Object.op_Implicit((Object)(object)crosshairStack2) && Object.op_Implicit((Object)(object)crosshairStack3) && Object.op_Implicit((Object)(object)crosshairStack4) && Object.op_Implicit((Object)(object)crosshairStack5))
		{
			RectOffset(State);
			switch (State)
			{
			case 0:
				((Graphic)crosshairStack1).color = Frozen;
				((Graphic)crosshairStack2).color = Fire;
				((Graphic)crosshairStack3).color = Electric;
				((Graphic)crosshairStack4).color = Bleed;
				((Graphic)crosshairStack5).color = Poison;
				break;
			case 1:
				((Graphic)crosshairStack1).color = Disabled;
				((Graphic)crosshairStack2).color = Fire;
				((Graphic)crosshairStack3).color = Electric;
				((Graphic)crosshairStack4).color = Bleed;
				((Graphic)crosshairStack5).color = Poison;
				break;
			case 2:
				((Graphic)crosshairStack1).color = Disabled;
				((Graphic)crosshairStack2).color = Disabled;
				((Graphic)crosshairStack3).color = Electric;
				((Graphic)crosshairStack4).color = Bleed;
				((Graphic)crosshairStack5).color = Poison;
				break;
			case 3:
				((Graphic)crosshairStack1).color = Disabled;
				((Graphic)crosshairStack2).color = Disabled;
				((Graphic)crosshairStack3).color = Disabled;
				((Graphic)crosshairStack4).color = Bleed;
				((Graphic)crosshairStack5).color = Poison;
				break;
			case 4:
				((Graphic)crosshairStack1).color = Disabled;
				((Graphic)crosshairStack2).color = Disabled;
				((Graphic)crosshairStack3).color = Disabled;
				((Graphic)crosshairStack4).color = Disabled;
				((Graphic)crosshairStack5).color = Poison;
				break;
			}
		}
	}

	private void Update()
	{
		if (Object.op_Implicit((Object)(object)((Component)crosshairStack1).gameObject) && Object.op_Implicit((Object)(object)((Component)crosshairStack2).gameObject) && Object.op_Implicit((Object)(object)((Component)crosshairStack3).gameObject) && Object.op_Implicit((Object)(object)((Component)crosshairStack4).gameObject) && Object.op_Implicit((Object)(object)((Component)crosshairStack5).gameObject) && Object.op_Implicit((Object)(object)hudElement) && Object.op_Implicit((Object)(object)hudElement.targetCharacterBody) && Object.op_Implicit((Object)(object)hudElement.targetCharacterBody.skillLocator) && Object.op_Implicit((Object)(object)hudElement.targetCharacterBody.skillLocator.secondary) && Object.op_Implicit((Object)(object)hudElement.targetCharacterBody.skillLocator.secondary.skillDef))
		{
			if (hudElement.targetCharacterBody.skillLocator.secondary.skillDef.skillName == "SPEARMAN_ALTM2")
			{
				((Component)crosshairStack1).gameObject.SetActive(false);
				((Component)crosshairStack2).gameObject.SetActive(false);
				((Component)crosshairStack3).gameObject.SetActive(false);
				((Component)crosshairStack4).gameObject.SetActive(false);
				((Component)crosshairStack5).gameObject.SetActive(false);
			}
			else
			{
				((Component)crosshairStack1).gameObject.SetActive(true);
				((Component)crosshairStack2).gameObject.SetActive(true);
				((Component)crosshairStack3).gameObject.SetActive(true);
				((Component)crosshairStack4).gameObject.SetActive(true);
				((Component)crosshairStack5).gameObject.SetActive(true);
			}
		}
		if (Object.op_Implicit((Object)(object)hudElement) && Object.op_Implicit((Object)(object)hudElement.targetBodyObject) && !Object.op_Implicit((Object)(object)behaviour))
		{
			behaviour = ((Component)hudElement.targetCharacterBody).GetComponent<SpearmanBehaviour>();
			UpdateDots();
		}
		if (Object.op_Implicit((Object)(object)behaviour))
		{
			State = behaviour.currentDebuff;
			UpdateDots();
		}
	}
}
internal class SpearmanBehaviour : MonoBehaviour
{
	private enum DebuffState
	{
		Frozen,
		Fire,
		Electric,
		Bleed,
		Poison
	}

	public float charge = 0f;

	private static DebuffState state;

	internal int currentDebuff => (int)state;

	internal DamageType GetDebuff()
	{
		//IL_0002: 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_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_0042: 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_004d: 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_0051: Unknown result type (might be due to invalid IL or missing references)
		DamageType result = (DamageType)0;
		switch (currentDebuff)
		{
		case 0:
			result = (DamageType)288;
			break;
		case 1:
			result = (DamageType)160;
			break;
		case 2:
			result = (DamageType)64;
			break;
		case 3:
			result = (DamageType)1056;
			break;
		case 4:
			result = (DamageType)4128;
			break;
		}
		return result;
	}

	internal void SetNextState()
	{
		if (state != DebuffState.Poison)
		{
			state++;
		}
		else
		{
			state = DebuffState.Frozen;
		}
	}

	private void Awake()
	{
	}
}
internal class Hook
{
	internal static void Hooks()
	{
		//IL_001a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0024: Expected O, but got Unknown
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0036: Expected O, but got Unknown
		ContentManager.onContentPacksAssigned += LateSetup;
		RecalculateStatsAPI.GetStatCoefficients += new StatHookEventHandler(RecalculateStatsAPI_GetStatCoefficients);
		HealthComponent.TakeDamage += new hook_TakeDamage(HealthComponent_TakeDamage);
		Stage.onStageStartGlobal += Stage_onStageStartGlobal;
	}

	private static void Stage_onStageStartGlobal(Stage stage)
	{
		//IL_0054: 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_0070: Unknown result type (might be due to invalid IL or missing references)
		SceneDef sceneDef = stage.sceneDef;
		if (Object.op_Implicit((Object)(object)sceneDef) && sceneDef.baseSceneName == "goolake" && NetworkServer.active)
		{
			GameObject val = Object.Instantiate<GameObject>(Prefabs.spearmanInteractable);
			val.transform.localPosition = new Vector3(-31.6055f, -12.8f, 59f);
			val.transform.localScale = Vector3.one * 2f;
			NetworkServer.Spawn(val);
		}
	}

	private static void HealthComponent_TakeDamage(orig_TakeDamage orig, HealthComponent self, DamageInfo damageInfo)
	{
		//IL_01a6: 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_0058: Unknown result type (might be due to invalid IL or missing references)
		//IL_005f: Invalid comparison between Unknown and I4
		//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_0102: Unknown result type (might be due to invalid IL or missing references)
		//IL_0107: Unknown result type (might be due to invalid IL or missing references)
		//IL_0111: Invalid comparison between Unknown and I4
		//IL_0217: 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_0223: Invalid comparison between Unknown and I4
		//IL_00a6: 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_01ef: 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_0282: Expected O, but got Unknown
		//IL_0285: 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_02b5: 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_02e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_02e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_030a: 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_032e: 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_0194: Unknown result type (might be due to invalid IL or missing references)
		//IL_016e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0178: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_039b: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e3: Unknown result type (might be due to invalid IL or missing references)
		orig.Invoke(self, damageInfo);
		if (!Object.op_Implicit((Object)(object)damageInfo.attacker))
		{
			return;
		}
		CharacterBody component = damageInfo.attacker.GetComponent<CharacterBody>();
		if (((Object)damageInfo.attacker).name.Contains("Spearman") && NetworkServer.active)
		{
			if ((int)DamageTypeCombo.op_Implicit(damageInfo.damageType) == 64)
			{
				if (Object.op_Implicit((Object)(object)self.body))
				{
					int buffCount = self.body.GetBuffCount(Prefabs.scarsDebuff);
					if (buffCount < 4)
					{
						self.body.AddTimedBuffAuthority(Prefabs.scarsDebuff.buffIndex, 12f);
					}
				}
				if (Object.op_Implicit((Object)(object)component) && NetworkServer.active)
				{
					int buffCount2 = component.GetBuffCount(Prefabs.scars);
					if (buffCount2 < 4)
					{
						component.AddTimedBuffAuthority(Prefabs.scars.buffIndex, 12f);
					}
				}
			}
			if ((int)DamageTypeCombo.op_Implicit(damageInfo.damageType) == 262144 && Object.op_Implicit((Object)(object)self) && Object.op_Implicit((Object)(object)self.body) && Object.op_Implicit((Object)(object)self.body.characterMotor))
			{
				if (self.body.characterMotor.mass >= 300f)
				{
					self.TakeDamageForce(Vector3.up * 6000f, true, false);
				}
				else
				{
					self.TakeDamageForce(Vector3.up * 2000f, true, false);
				}
			}
		}
		if (DamageAPI.HasModdedDamageType(damageInfo, Prefabs.altSpearHit) && self.health <= self.fullHealth * 0.2f && NetworkServer.active)
		{
			self.Suicide(damageInfo.attacker, damageInfo.attacker, default(DamageTypeCombo));
		}
		if (!DamageAPI.HasModdedDamageType(damageInfo, Prefabs.spearHit))
		{
			return;
		}
		if (Object.op_Implicit((Object)(object)component) && (int)DamageTypeCombo.op_Implicit(damageInfo.damageType) == 64)
		{
			SetStateOnHurt component2 = ((Component)self).GetComponent<SetStateOnHurt>();
			if (Object.op_Implicit((Object)(object)component2))
			{
				SetStateOnHurt.SetStunOnObject(((Component)self.body).gameObject, 1f);
			}
			float num = 0.8f;
			float damageValue = Util.OnHitProcDamage(damageInfo.damage, component.damage, num);
			LightningOrb val = new LightningOrb();
			((Orb)val).origin = damageInfo.position;
			val.damageValue = damageValue;
			val.isCrit = damageInfo.crit;
			val.bouncesRemaining = 3;
			val.teamIndex = component.teamComponent.teamIndex;
			val.attacker = damageInfo.attacker;
			val.bouncedObjects = new List<HealthComponent> { self };
			val.procChainMask = damageInfo.procChainMask;
			((ProcChainMask)(ref val.procChainMask)).AddProc((ProcType)3);
			val.procCoefficient = 0.2f;
			val.lightningType = (LightningType)8;
			val.damageColorIndex = (DamageColorIndex)10;
			val.range += 5f;
			HurtBox val2 = val.PickNextTarget(damageInfo.position);
			if (Object.op_Implicit((Object)(object)val2))
			{
				((Orb)val).target = val2;
				OrbManager.instance.AddOrb((Orb)(object)val);
			}
		}
		if (Object.op_Implicit((Object)(object)self.body))
		{
			int buffCount3 = self.body.GetBuffCount(Prefabs.scarsDebuff);
			if (buffCount3 < 4)
			{
				self.body.AddTimedBuffAuthority(Prefabs.scarsDebuff.buffIndex, 12f);
			}
		}
		if (Object.op_Implicit((Object)(object)component) && NetworkServer.active)
		{
			int buffCount4 = component.GetBuffCount(Prefabs.scars);
			if (buffCount4 < 4)
			{
				component.AddTimedBuffAuthority(Prefabs.scars.buffIndex, 12f);
			}
		}
	}

	internal static void LateSetup(ReadOnlyArray<ReadOnlyContentPack> obj)
	{
		ItemDisplays.SetIDRS();
	}

	internal static void RecalculateStatsAPI_GetStatCoefficients(CharacterBody sender, StatHookEventArgs args)
	{
		if (sender.HasBuff(Prefabs.stiffAndOrSturdy))
		{
			args.armorAdd += 30f;
		}
		if (sender.HasBuff(Prefabs.scarsDebuff))
		{
			int buffCount = sender.GetBuffCount(Prefabs.scarsDebuff);
			args.moveSpeedReductionMultAdd += 0.2f * (float)buffCount;
		}
		if (sender.HasBuff(Prefabs.scars))
		{
			int buffCount2 = sender.GetBuffCount(Prefabs.scars);
			args.damageMultAdd += 0.1f * (float)buffCount2;
		}
	}
}
internal class ItemDisplays
{
	internal static ItemDisplayRuleSet itemDisplayRuleSet;

	internal static List<KeyAssetRuleGroup> itemDisplayRules;

	private static Dictionary<Object, GameObject> itemDisplayPrefabs = new Dictionary<Object, GameObject>();

	internal static void PopulateDisplays()
	{
		PopulateFromBody("Commando");
		PopulateFromBody("Croco");
		PopulateFromBody("Mage");
	}

	private static void PopulateFromBody(string bodyName)
	{
		ItemDisplayRuleSet val = ((Component)LegacyResourcesAPI.Load<GameObject>("Prefabs/CharacterBodies/" + bodyName + "Body").GetComponent<ModelLocator>().modelTransform).GetComponent<CharacterModel>().itemDisplayRuleSet;
		KeyAssetRuleGroup[] keyAssetRuleGroups = val.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))
				{
					Object keyAsset = keyAssetRuleGroups[i].keyAsset;
					ItemDef val2 = (ItemDef)(object)((keyAsset is ItemDef) ? keyAsset : null);
					Object keyAsset2 = keyAssetRuleGroups[i].keyAsset;
					EquipmentDef val3 = (EquipmentDef)(object)((keyAsset2 is EquipmentDef) ? keyAsset2 : null);
					if ((Object)(object)val2 != (Object)null && !itemDisplayPrefabs.ContainsKey((Object)(object)val2))
					{
						itemDisplayPrefabs.Add((Object)(object)val2, followerPrefab);
					}
					if ((Object)(object)val3 != (Object)null && !itemDisplayPrefabs.ContainsKey((Object)(object)val3))
					{
						itemDisplayPrefabs.Add((Object)(object)val3, followerPrefab);
					}
				}
			}
		}
	}

	public static void RegisterDisplays()
	{
		itemDisplayRuleSet = ScriptableObject.CreateInstance<ItemDisplayRuleSet>();
		((Object)itemDisplayRuleSet).name = "RahkshiIDRS";
		GameObject characterPrefab = MainPlugin.characterPrefab;
		GameObject gameObject = ((Component)characterPrefab.GetComponentInChildren<ModelLocator>().modelTransform).gameObject;
		CharacterModel component = gameObject.GetComponent<CharacterModel>();
		component.itemDisplayRuleSet = itemDisplayRuleSet;
	}

	public static void SetIDRS()
	{
		//IL_0024: 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_004c: 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_0085: Unknown result type (might be due to invalid IL or missing references)
		//IL_0099: Unknown result type (might be due to invalid IL or missing references)
		//IL_00be: 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_00e6: Unknown result type (might be due to invalid IL or missing references)
		//IL_010b: Unknown result type (might be due to invalid IL or missing references)
		//IL_011f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0133: Unknown result type (might be due to invalid IL or missing references)
		//IL_0158: Unknown result type (might be due to invalid IL or missing references)
		//IL_016c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0180: Unknown result type (might be due to invalid IL or missing references)
		//IL_01a5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cd: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f2: 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_021a: Unknown result type (might be due to invalid IL or missing references)
		//IL_023f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0253: Unknown result type (might be due to invalid IL or missing references)
		//IL_0267: Unknown result type (might be due to invalid IL or missing references)
		//IL_028c: Unknown result type (might be due to invalid IL or missing references)
		//IL_02a0: Unknown result type (might be due to invalid IL or missing references)
		//IL_02b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_02d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_0301: 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_033a: Unknown result type (might be due to invalid IL or missing references)
		//IL_034e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0373: Unknown result type (might be due to invalid IL or missing references)
		//IL_0387: Unknown result type (might be due to invalid IL or missing references)
		//IL_039b: Unknown result type (might be due to invalid IL or missing references)
		//IL_03c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_040d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0421: Unknown result type (might be due to invalid IL or missing references)
		//IL_0435: 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_046e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0482: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_04bb: 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_04f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0508: 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_0541: Unknown result type (might be due to invalid IL or missing references)
		//IL_0555: Unknown result type (might be due to invalid IL or missing references)
		//IL_0569: Unknown result type (might be due to invalid IL or missing references)
		//IL_058e: Unknown result type (might be due to invalid IL or missing references)
		//IL_05a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_05b6: Unknown result type (might be due to invalid IL or missing references)
		//IL_05db: Unknown result type (might be due to invalid IL or missing references)
		//IL_05ef: 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_0628: Unknown result type (might be due to invalid IL or missing references)
		//IL_063c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0650: Unknown result type (might be due to invalid IL or missing references)
		//IL_0675: Unknown result type (might be due to invalid IL or missing references)
		//IL_0689: 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_06c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_06d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_06ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_070f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0723: Unknown result type (might be due to invalid IL or missing references)
		//IL_0737: Unknown result type (might be due to invalid IL or missing references)
		//IL_075c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0770: Unknown result type (might be due to invalid IL or missing references)
		//IL_0784: Unknown result type (might be due to invalid IL or missing references)
		//IL_07a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_07bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_07d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_07f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_080a: Unknown result type (might be due to invalid IL or missing references)
		//IL_081e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0843: Unknown result type (might be due to invalid IL or missing references)
		//IL_0857: Unknown result type (might be due to invalid IL or missing references)
		//IL_086b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0884: Unknown result type (might be due to invalid IL or missing references)
		//IL_0898: Unknown result type (might be due to invalid IL or missing references)
		//IL_08ac: Unknown result type (might be due to invalid IL or missing references)
		//IL_08d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_08e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_091e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0932: Unknown result type (might be due to invalid IL or missing references)
		//IL_0946: Unknown result type (might be due to invalid IL or missing references)
		//IL_096b: Unknown result type (might be due to invalid IL or missing references)
		//IL_097f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0993: Unknown result type (might be due to invalid IL or missing references)
		//IL_09b8: 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_09e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a05: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a19: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a2d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a52: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a66: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a7a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a9f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ab3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ac7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aec: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b00: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b14: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b39: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b4d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b61: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b86: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b9a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bae: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bd3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0be7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bfb: 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_0c34: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c48: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c6d: 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_0c95: 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_0cce: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ce2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d07: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d1b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d2f: 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_0d5c: 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_0d95: Unknown result type (might be due to invalid IL or missing references)
		//IL_0da9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dbd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0de2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0df6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e0a: 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_0e43: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e57: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e7c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e90: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ea4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ec9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0edd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ef1: 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_0f2a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f3e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f63: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f77: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f8b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fb0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fc4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fd8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ffd: Unknown result type (might be due to invalid IL or missing references)
		//IL_1011: Unknown result type (might be due to invalid IL or missing references)
		//IL_1025: Unknown result type (might be due to invalid IL or missing references)
		//IL_104a: Unknown result type (might be due to invalid IL or missing references)
		//IL_105e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1072: Unknown result type (might be due to invalid IL or missing references)
		//IL_1097: Unknown result type (might be due to invalid IL or missing references)
		//IL_10ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_10bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_10e4: Unknown result type (might be due to invalid IL or missing references)
		//IL_10f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_110c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1131: Unknown result type (might be due to invalid IL or missing references)
		//IL_1145: Unknown result type (might be due to invalid IL or missing references)
		//IL_1159: Unknown result type (might be due to invalid IL or missing references)
		//IL_117e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1192: Unknown result type (might be due to invalid IL or missing references)
		//IL_11a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_11cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_11df: Unknown result type (might be due to invalid IL or missing references)
		//IL_11f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_1218: Unknown result type (might be due to invalid IL or missing references)
		//IL_122c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1240: 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_1279: Unknown result type (might be due to invalid IL or missing references)
		//IL_128d: Unknown result type (might be due to invalid IL or missing references)
		//IL_12b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_12c6: Unknown result type (might be due to invalid IL or missing references)
		//IL_12da: Unknown result type (might be due to invalid IL or missing references)
		//IL_12f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_1307: Unknown result type (might be due to invalid IL or missing references)
		//IL_131b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1340: Unknown result type (might be due to invalid IL or missing references)
		//IL_1354: Unknown result type (might be due to invalid IL or missing references)
		//IL_1368: Unknown result type (might be due to invalid IL or missing references)
		//IL_138d: Unknown result type (might be due to invalid IL or missing references)
		//IL_13a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_13b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_13da: Unknown result type (might be due to invalid IL or missing references)
		//IL_13ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_1402: Unknown result type (might be due to invalid IL or missing references)
		//IL_1427: 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_144f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1474: Unknown result type (might be due to invalid IL or missing references)
		//IL_1488: Unknown result type (might be due to invalid IL or missing references)
		//IL_149c: Unknown result type (might be due to invalid IL or missing references)
		//IL_14c1: 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_14e9: 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_1522: Unknown result type (might be due to invalid IL or missing references)
		//IL_1536: Unknown result type (might be due to invalid IL or missing references)
		//IL_155b: Unknown result type (might be due to invalid IL or missing references)
		//IL_156f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1583: Unknown result type (might be due to invalid IL or missing references)
		//IL_15a8: Unknown result type (might be due to invalid IL or missing references)
		//IL_15bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_15d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_15f5: Unknown result type (might be due to invalid IL or missing references)
		//IL_1609: Unknown result type (might be due to invalid IL or missing references)
		//IL_161d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1642: Unknown result type (might be due to invalid IL or missing references)
		//IL_1656: Unknown result type (might be due to invalid IL or missing references)
		//IL_166a: 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_1697: 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_16d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_16e4: Unknown result type (might be due to invalid IL or missing references)
		//IL_16f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_171d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1731: 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_176a: Unknown result type (might be due to invalid IL or missing references)
		//IL_177e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1792: Unknown result type (might be due to invalid IL or missing references)
		//IL_17b7: Unknown result type (might be due to invalid IL or missing references)
		//IL_17cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_17df: Unknown result type (might be due to invalid IL or missing references)
		//IL_1804: Unknown result type (might be due to invalid IL or missing references)
		//IL_1818: Unknown result type (might be due to invalid IL or missing references)
		//IL_182c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1851: Unknown result type (might be due to invalid IL or missing references)
		//IL_1865: Unknown result type (might be due to invalid IL or missing references)
		//IL_1879: Unknown result type (might be due to invalid IL or missing references)
		//IL_189e: Unknown result type (might be due to invalid IL or missing references)
		//IL_18b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_18c6: Unknown result type (might be due to invalid IL or missing references)
		//IL_18eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_18ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_1913: Unknown result type (might be due to invalid IL or missing references)
		//IL_1938: Unknown result type (might be due to invalid IL or missing references)
		//IL_194c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1960: Unknown result type (might be due to invalid IL or missing references)
		//IL_1985: Unknown result type (might be due to invalid IL or missing references)
		//IL_1999: 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_19d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_19e6: Unknown result type (might be due to invalid IL or missing references)
		//IL_19fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a1f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a33: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a47: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a6c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a80: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a94: 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_1acd: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ae1: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b06: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b1a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b2e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b53: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b67: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b7b: 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_1bb4: 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_1bed: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c01: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c15: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c3a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c4e: 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_1c87: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1caf: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cd4: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ce8: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cfc: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d21: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d35: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d49: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d6e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d82: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d96: Unknown result type (might be due to invalid IL or missing references)
		//IL_1dbb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1dcf: Unknown result type (might be due to invalid IL or missing references)
		//IL_1de3: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e08: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e1c: 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_1e55: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e69: Unknown result type (might be due to invalid IL or missing references)
		//IL_1e7d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ea2: 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_1eca: Unknown result type (might be due to invalid IL or missing references)
		//IL_1eef: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f03: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f17: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f3c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f50: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f64: Unknown result type (might be due to invalid IL or missing references)
		//IL_1f89: 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_1fb1: Unknown result type (might be due to invalid IL or missing references)
		//IL_1fd6: Unknown result type (might be due to invalid IL or missing references)
		//IL_1fea: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ffe: Unknown result type (might be due to invalid IL or missing references)
		//IL_2023: Unknown result type (might be due to invalid IL or missing references)
		//IL_2037: Unknown result type (might be due to invalid IL or missing references)
		//IL_204b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2070: Unknown result type (might be due to invalid IL or missing references)
		//IL_2084: Unknown result type (might be due to invalid IL or missing references)
		//IL_2098: Unknown result type (might be due to invalid IL or missing references)
		//IL_20bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_20d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_20e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_210a: Unknown result type (might be due to invalid IL or missing references)
		//IL_211e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2132: Unknown result type (might be due to invalid IL or missing references)
		//IL_2157: Unknown result type (might be due to invalid IL or missing references)
		//IL_216b: Unknown result type (might be due to invalid IL or missing references)
		//IL_217f: 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_21b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_21cc: Unknown result type (might be due to invalid IL or missing references)
		//IL_21f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_2205: Unknown result type (might be due to invalid IL or missing references)
		//IL_2219: Unknown result type (might be due to invalid IL or missing references)
		//IL_223e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2252: 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_228b: Unknown result type (might be due to invalid IL or missing references)
		//IL_229f: Unknown result type (might be due to invalid IL or missing references)
		//IL_22b3: Unknown result type (might be due to invalid IL or missing references)
		//IL_22d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_22ec: Unknown result type (might be due to invalid IL or missing references)
		//IL_2300: Unknown result type (might be due to invalid IL or missing references)
		//IL_2325: Unknown result type (might be due to invalid IL or missing references)
		//IL_2339: 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_2372: 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_239a: Unknown result type (might be due to invalid IL or missing references)
		//IL_23bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_23d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_23e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_240c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2420: Unknown result type (might be due to invalid IL or missing references)
		//IL_2434: Unknown result type (might be due to invalid IL or missing references)
		//IL_2459: 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_2481: Unknown result type (might be due to invalid IL or missing references)
		//IL_24a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_24ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_24ce: Unknown result type (might be due to invalid IL or missing references)
		//IL_24f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_2507: Unknown result type (might be due to invalid IL or missing references)
		//IL_251b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2540: Unknown result type (might be due to invalid IL or missing references)
		//IL_2554: Unknown result type (might be due to invalid IL or missing references)
		//IL_2568: Unknown result type (might be due to invalid IL or missing references)
		//IL_258d: Unknown result type (might be due to invalid IL or missing references)
		//IL_25a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_25b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_25da: Unknown result type (might be due to invalid IL or missing references)
		//IL_25ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_2602: Unknown result type (might be due to invalid IL or missing references)
		//IL_2627: Unknown result type (might be due to invalid IL or missing references)
		//IL_263b: Unknown result type (might be due to invalid IL or missing references)
		//IL_264f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2674: Unknown result type (might be due to invalid IL or missing references)
		//IL_2688: 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_26c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_26d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_26e9: Unknown result type (might be due to invalid IL or missing references)
		//IL_2702: Unknown result type (might be due to invalid IL or missing references)
		//IL_2716: Unknown result type (might be due to invalid IL or missing references)
		//IL_272a: Unknown result type (might be due to invalid IL or missing references)
		//IL_274f: 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_2777: Unknown result type (might be due to invalid IL or missing references)
		//IL_279c: Unknown result type (might be due to invalid IL or missing references)
		//IL_27b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_27c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_27e9: Unknown result type (might be due to invalid IL or missing references)
		//IL_27fd: Unknown result type (might be due to invalid IL or missing references)
		//IL_2811: 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_283e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2852: Unknown result type (might be due to invalid IL or missing references)
		//IL_2868: Unknown result type (might be due to invalid IL or missing references)
		//IL_286d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2872: Unknown result type (might be due to invalid IL or missing references)
		//IL_2897: Unknown result type (might be due to invalid IL or missing references)
		//IL_28ab: Unknown result type (might be due to invalid IL or missing references)
		//IL_28bf: Unknown result type (might be due to invalid IL or missing references)
		//IL_28e4: Unknown result type (might be due to invalid IL or missing references)
		//IL_28f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_290c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2931: Unknown result type (might be due to invalid IL or missing references)
		//IL_2945: Unknown result type (might be due to invalid IL or missing references)
		//IL_2959: Unknown result type (might be due to invalid IL or missing references)
		//IL_297e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2992: Unknown result type (might be due to invalid IL or missing references)
		//IL_29a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_29cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_29df: Unknown result type (might be due to invalid IL or missing references)
		//IL_29f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a18: 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_2a40: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a65: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a79: Unknown result type (might be due to invalid IL or missing references)
		//IL_2a8d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ab2: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ac6: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ada: Unknown result type (might be due to invalid IL or missing references)
		//IL_2aff: 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_2b27: 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_2b60: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b74: Unknown result type (might be due to invalid IL or missing references)
		//IL_2b99: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bad: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bc1: Unknown result type (might be due to invalid IL or missing references)
		//IL_2be6: Unknown result type (might be due to invalid IL or missing references)
		//IL_2bfa: 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_2c33: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c47: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c5b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c80: Unknown result type (might be due to invalid IL or missing references)
		//IL_2c94: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ca8: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ccd: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ce1: Unknown result type (might be due to invalid IL or missing references)
		//IL_2cf5: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d1a: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d2e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d42: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d67: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d7b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2d8f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2db4: Unknown result type (might be due to invalid IL or missing references)
		//IL_2dc8: 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_2e01: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e15: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e29: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e4e: 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_2e76: Unknown result type (might be due to invalid IL or missing references)
		//IL_2e9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_2eaf: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ec3: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ee8: Unknown result type (might be due to invalid IL or missing references)
		//IL_2efc: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f10: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f35: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f49: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f5d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f82: Unknown result type (might be due to invalid IL or missing references)
		//IL_2f96: Unknown result type (might be due to invalid IL or missing references)
		//IL_2faa: Unknown result type (might be due to invalid IL or missing references)
		//IL_2fcf: Unknown result type (might be due to invalid IL or missing references)
		//IL_2fe3: Unknown result type (might be due to invalid IL or missing references)
		//IL_2ff7: Unknown result type (might be due to invalid IL or missing references)
		//IL_301c: Unknown result type (might be due to invalid IL or missing references)
		//IL_3030: Unknown result type (might be due to invalid IL or missing references)
		//IL_3044: 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_307d: Unknown result type (might be due to invalid IL or missing references)
		//IL_3091: Unknown result type (might be due to invalid IL or missing references)
		//IL_30b6: Unknown result type (might be due to invalid IL or missing references)
		//IL_30ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_30de: Unknown result type (might be due to invalid IL or missing references)
		//IL_3103: Unknown result type (might be due to invalid IL or missing references)
		//IL_3117: 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_3150: Unknown result type (might be due to invalid IL or missing references)
		//IL_3164: Unknown result type (might be due to invalid IL or missing references)
		//IL_3178: Unknown result type (might be due to invalid IL or missing references)
		//IL_319d: Unknown result type (might be due to invalid IL or missing references)
		//IL_31b1: Unknown result type (might be due to invalid IL or missing references)
		//IL_31c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_31ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_31fe: 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_3237: 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_325f: Unknown result type (might be due to invalid IL or missing references)
		itemDisplayRules = new List<KeyAssetRuleGroup>();
		NewIDRS((Object)(object)Items.AlienHead, "head", new Vector3(-0.00038f, 0.02072f, -0.00414f), new Vector3(277.4999f, 344.3911f, 13.30272f), new Vector3(0.11938f, 0.10401f, 0.10189f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ArmorPlate, "calf.r", new Vector3(-0.00157f, 0.00808f, 0.00177f), new Vector3(76.507f, 345.2339f, 172.2499f), new Vector3(-0.01471f, 0.01471f, 0.01901f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ArmorReductionOnHit, "weapon", new Vector3(0.00308f, 0.05671f, 0.00043f), new Vector3(272.8627f, 74.98762f, 105.9527f), new Vector3(0.008f, 0.008f, 0.008f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AttackSpeedOnCrit, "head", new Vector3(0f, 0.00992f, 0.00479f), new Vector3(356.072f, 1.0022f, 0.91393f), new Vector3(0.04f, 0.04f, 0.04f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AutoCastEquipment, "thigh.l", new Vector3(0.00466f, -0.00153f, -0.00022f), new Vector3(75.56981f, 354.8156f, 171.4184f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Bandolier, "stomach", new Vector3(0.0025f, 0.01558f, -0.00106f), new Vector3(317.8422f, 272.1844f, 90.92211f), new Vector3(0.03351f, 0.03351f, 0.03351f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BarrierOnKill, "chest", new Vector3(-0.00681f, 0.00975f, 0.0111f), new Vector3(78.33911f, 150.0374f, 148.0561f), new Vector3(0.035f, 0.035f, 0.035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BarrierOnOverHeal, "shoulder.l", new Vector3(0.00529f, 0.00762f, 0.00218f), new Vector3(81.40728f, 164.7327f, 254.6992f), new Vector3(0.00906f, 0.00906f, 0.00721f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Bear, "weapon", new Vector3(0.00302f, 0.06839f, -0.00076f), new Vector3(281.7106f, 255.4765f, 129.1645f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BeetleGland, "pelvis", new Vector3(0.01039f, -0.00461f, 0.00096f), new Vector3(331.3594f, 80.04544f, 252.3253f), new Vector3(0.0045f, 0.0045f, 0.0045f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Behemoth, "chest", new Vector3(-0.00488f, 0.01045f, -0.01006f), new Vector3(321.5607f, 83.83925f, 4.09787f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHit, "weapon", new Vector3(0.00362f, 0.06439f, 0.00039f), new Vector3(272.4006f, 83.33585f, 174.4805f), new Vector3(0.03908f, 0.03908f, 0.05108f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHitAndExplode, "thigh.r", new Vector3(-0.00626f, 0.00159f, -0.00258f), new Vector3(22.27093f, 328.1845f, 163.4759f), new Vector3(0.002f, 0.002f, 0.002f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BonusGoldPackOnKill, "chest", new Vector3(0.00034f, 0.00826f, -0.01169f), new Vector3(355.3111f, 183.4619f, 358.2932f), new Vector3(0.006f, 0.006f, 0.006f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BossDamageBonus, "thigh.r", new Vector3(-0.00506f, 0.01275f, 0.00386f), new Vector3(82.34045f, 245.3969f, 330.6201f), new Vector3(0.04118f, 0.04118f, 0.04118f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BounceNearby, "weapon", new Vector3(-0.00022f, -0.04403f, 0.00029f), new Vector3(346.005f, 136.4158f, 182.3594f), new Vector3(0.0111f, 0.0111f, 0.0111f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ChainLightning, "chest", new Vector3(0f, 0.00581f, -0.01068f), new Vector3(7.26735f, 177.6525f, 0.52849f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Clover, "head", new Vector3(0.00417f, 0.01677f, -0.00623f), new Vector3(6.75829f, 198.733f, 55.80063f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritGlasses, "head", new Vector3(8E-05f, 0.00855f, 0.00961f), new Vector3(356.8205f, 359.5484f, 0.15748f), new Vector3(0.02006f, 0.02006f, 0.02006f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Crowbar, "chest", new Vector3(0f, 0.00457f, -0.00988f), new Vector3(346.7821f, 1.89681f, 0.18325f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Dagger, "weapon", new Vector3(0.00043f, 0.0478f, 0.00227f), new Vector3(356.7259f, 231.7681f, 139.817f), new Vector3(0.04069f, 0.03595f, 0.02705f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.DeathMark, "hand.r", new Vector3(-0.00036f, 0.00167f, 0.0019f), new Vector3(328.1018f, 1.84677f, 4.80289f), new Vector3(0.0007f, 0.0007f, 0.0007f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EnergizedOnEquipmentUse, "thigh.r", new Vector3(-0.00594f, -0.00682f, -0.00263f), new Vector3(0.65272f, 93.15314f, 276.5008f), new Vector3(0.01974f, 0.01974f, 0.01974f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EquipmentMagazine, "chest", new Vector3(-0.00552f, -0.0051f, -0.00804f), new Vector3(17.23041f, 94.35687f, 352.7838f), new Vector3(0.0171f, 0.0171f, 0.0171f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExecuteLowHealthElite, "chest", new Vector3(-0.00039f, 0.00806f, -0.01042f), new Vector3(275.8561f, 9.8469f, 351.186f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExplodeOnDeath, "pelvis", new Vector3(-0.01149f, -4E-05f, 0.00175f), new Vector3(352.7027f, 182.1202f, 165.7029f), new Vector3(0.00332f, 0.00332f, 0.00332f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExtraLife, "weapon", new Vector3(0.00485f, 0.07392f, -0.00188f), new Vector3(281.4386f, 131.3622f, 197.2534f), new Vector3(0.007f, 0.007f, 0.007f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.FallBoots, "foot.r", new Vector3(0.00346f, -0.00238f, 0.00048f), new Vector3(331.7195f, 94.55103f, 178.7282f), new Vector3(0.01558f, 0.01558f, 0.01558f), "foot.l", new Vector3(0.00017f, -0.00174f, 0.00754f), new Vector3(283.7893f, 358.292f, 178.9146f), new Vector3(0.007f, 0.007f, 0.007f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Feather, "shoulder.l", new Vector3(-0.0009f, -0.02662f, -0.00102f), new Vector3(321.9913f, 268.2165f, 183.467f), new Vector3(0.0015f, 0.0015f, 0.0015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FireballsOnHit, "arm.r", new Vector3(-0.00381f, 0.02478f, 0.00357f), new Vector3(286.2829f, 336.4347f, 118.9972f), new Vector3(0.002f, 0.002f, 0.002f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FireRing, "weapon", new Vector3(0.00259f, 0.04766f, 0.0001f), new Vector3(276.7454f, 85.41326f, 64.19144f), new Vector3(0.01791f, 0.01791f, 0.01429f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Firework, "chest", new Vector3(0f, 0.00521f, -0.01248f), new Vector3(285.5386f, 106.806f, 233.2648f), new Vector3(0.035f, 0.035f, 0.035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FlatHealth, "chest", new Vector3(0.00261f, 0.01054f, 0.01168f), new Vector3(331.2355f, 11.38004f, 0.43364f), new Vector3(0.007f, 0.007f, 0.007f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GhostOnKill, "head", new Vector3(7E-05f, 0.01044f, 0.00714f), new Vector3(6.5812f, 1.00648f, 1.09787f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GoldOnHit, "head", new Vector3(0.00021f, 0.01056f, -0.00129f), new Vector3(0.83914f, 1.67416f, 359.07f), new Vector3(0.07f, 0.07f, 0.07f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HeadHunter, "pelvis", new Vector3(0.00022f, -0.0035f, 0.00091f), new Vector3(357.4374f, 177.5663f, 179.0876f), new Vector3(0.028f, 0.009f, 0.009f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealOnCrit, "chest", new Vector3(-0.00286f, 0.00952f, -0.01139f), new Vector3(295.7674f, 269.2632f, 90.55843f), new Vector3(0.025f, 0.025f, 0.025f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealWhileSafe, "chest", new Vector3(0.00294f, 0.00966f, -0.004f), new Vector3(333.279f, 230.2808f, 65.06769f), new Vector3(0.0055f, 0.0055f, 0.0055f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Hoof, "weapon", new Vector3(0.00309f, 0.04108f, 0.00107f), new Vector3(85.87236f, 253.1834f, 63.50707f), new Vector3(0.00144f, 0.00203f, 0.00736f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.IceRing, "hand.r", new Vector3(-0.0008f, 0.00499f, 0.00018f), new Vector3(88.04155f, 30.69984f, 31.66765f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Icicle, "centerMuzzle", new Vector3(-0.85577f, 0.73691f, 0.13518f), new Vector3(90f, 0f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.IgniteOnKill, "thigh.l", new Vector3(0.00352f, 0.00177f, -0.0083f), new Vector3(75.10688f, 333.567f, 116.3525f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.IncreaseHealing, "head", new Vector3(-0.00545f, 0.01408f, -0.00028f), new Vector3(4.73802f, 273.951f, 355.875f), new Vector3(0.02f, 0.02f, 0.02f), "head", new Vector3(0.00549f, 0.01431f, -0.0005f), new Vector3(9.50058f, 87.58778f, 173.2317f), new Vector3(0.02f, -0.02f, 0.02f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Infusion, "pelvis", new Vector3(0.00573f, -0.00196f, 0.00901f), new Vector3(353.0818f, 194.7118f, 191.6878f), new Vector3(0.035f, 0.035f, 0.035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.JumpBoost, "head", new Vector3(0f, -0.01106f, -0.00549f), new Vector3(0.88027f, 0.79224f, 1.00054f), new Vector3(0.05f, 0.05f, 0.05f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.KillEliteFrenzy, "head", new Vector3(-0.00097f, 0.0109f, 7E-05f), new Vector3(0.47701f, 0.99987f, 0.99091f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Knurl, "clavicle.r", new Vector3(-0.00243f, 0.00906f, -0.00166f), new Vector3(338.9116f, 265.0623f, 80.40175f), new Vector3(0.008f, 0.008f, 0.008f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LaserTurbine, "shoulder.r", new Vector3(0.00145f, -0.02855f, -0.00552f), new Vector3(20.33482f, 111.6409f, 270.0428f), new Vector3(-0.0198f, -0.0198f, -0.0198f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LightningStrikeOnHit, "arm.l", new Vector3(0.0034f, 0.02275f, 0.00263f), new Vector3(17.01221f, 83.15295f, 195.3038f), new Vector3(0.04f, 0.04f, 0.04f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarDagger, "chest", new Vector3(0.01134f, 0.01224f, -0.01175f), new Vector3(82.94812f, 69.86959f, 66.18201f), new Vector3(0.05f, 0.05f, 0.05f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarPrimaryReplacement, "head", new Vector3(0f, 0.00917f, 0.00837f), new Vector3(271.1755f, 57.94729f, 302.7268f), new Vector3(0.02131f, 0.02131f, 0.02131f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSecondaryReplacement, "chest", new Vector3(-0.00607f, 0.01009f, -0.00719f), new Vector3(352.0394f, 317.385f, 350.3442f), new Vector3(0.035f, 0.035f, 0.035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSpecialReplacement, "head", new Vector3(0f, 0.01816f, -0.00201f), new Vector3(0.54709f, 262.5292f, 323.7991f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarTrinket, "hand.r", new Vector3(-0.00099f, 0.00288f, 4E-05f), new Vector3(12.55176f, 231.3053f, 281.8948f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarUtilityReplacement, "head", new Vector3(-0.00028f, 0.00915f, 0.00044f), new Vector3(1f, 1f, 1f), new Vector3(0.073f, 0.073f, 0.073f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Medkit, "pelvis", new Vector3(0.00911f, 0.00505f, -0.00043f), new Vector3(78.03755f, 273.2252f, 358.3963f), new Vector3(0.04f, 0.04f, 0.04f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Missile, "chest", new Vector3(-0.01022f, 0.02797f, -0.01574f), new Vector3(338.5844f, 348.5499f, 15.06857f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MonstersOnShrineUse, "thigh.l", new Vector3(-0.00098f, 0.00846f, 0.00734f), new Vector3(47.02039f, 300.9848f, 29.26483f), new Vector3(0.0035f, 0.0035f, 0.0035f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Mushroom, "clavicle.r", new Vector3(-0.00154f, 0.01283f, 5E-05f), new Vector3(353.3766f, 349.2445f, 80.79232f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.NearbyDamageBonus, "hand.l", new Vector3(-2E-05f, 0.00226f, 0.00261f), new Vector3(275.8623f, 205.9575f, 69.37687f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.NovaOnHeal, "head", new Vector3(0.00096f, 0.01244f, -0.00053f), new Vector3(26.54841f, 10.63069f, 19.55206f), new Vector3(0.05f, 0.05f, 0.05f), "head", new Vector3(-0.00122f, 0.01165f, -0.00245f), new Vector3(19.13741f, 344.386f, 341.1535f), new Vector3(-0.05f, 0.05f, 0.05f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.NovaOnLowHealth, "head", new Vector3(-0.00294f, 0.00692f, -0.00637f), new Vector3(0.91952f, 6.68465f, 0.99858f), new Vector3(0.011f, 0.011f, 0.011f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ParentEgg, "chest", new Vector3(0.00021f, 0.00225f, 0.01523f), new Vector3(1f, 1f, 1f), new Vector3(0.006f, 0.006f, 0.006f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Pearl, "arm.l", new Vector3(0f, 0.02391f, 0f), new Vector3(90f, 0f, 0f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PersonalShield, "chest", new Vector3(0f, 0.00735f, 0.00875f), new Vector3(272.3734f, 161.594f, 205.8844f), new Vector3(0.012f, 0.012f, 0.012f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Phasing, "chest", new Vector3(0.00035f, 0.00484f, 0.01451f), new Vector3(272.5576f, 336.5291f, 23.01861f), new Vector3(0.02f, 0.02f, 0.02f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Plant, "thigh.r", new Vector3(-0.00413f, 0.00975f, 0.00337f), new Vector3(69.62372f, 294.4613f, 338.5311f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RandomDamageZone, "hand.r", new Vector3(-0.00084f, 0.00035f, 0.00176f), new Vector3(347.5845f, 197.9293f, 268.7993f), new Vector3(0.001f, 0.001f, 0.001f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RepeatHeal, "weapon", new Vector3(0.00022f, -0.04874f, 0.00175f), new Vector3(85.39164f, 189.5849f, 130.474f), new Vector3(0.0081f, 0.00942f, 0.0081f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SecondarySkillMagazine, "weapon", new Vector3(0.00814f, 0.06681f, -0.00452f), new Vector3(320.461f, 307.525f, 356.0107f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Seed, "thigh.l", new Vector3(0.00507f, -0.00253f, 0.00097f), new Vector3(64.13003f, 47.88186f, 63.76628f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.ShieldOnly, "head", new Vector3(-0.00211f, 0.01602f, 0.00206f), new Vector3(40.10051f, 228.8713f, 330.0085f), new Vector3(0.014f, 0.014f, 0.014f), "head", new Vector3(0.00417f, 0.01775f, 0.00177f), new Vector3(344.0768f, 267.7098f, 341.7469f), new Vector3(0.014f, 0.014f, 0.014f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ShinyPearl, "arm.r", new Vector3(-0.00199f, 0.02066f, 0.0032f), new Vector3(90f, 0f, 0f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ShockNearby, "chest", new Vector3(0f, 0.00683f, -0.0088f), new Vector3(296.195f, 2.26539f, 358.9496f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SiphonOnLowHealth, "thigh.l", new Vector3(0.00157f, 0.00295f, 0.01038f), new Vector3(352.5497f, 29.19621f, 173.9157f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SlowOnHit, "thigh.r", new Vector3(-0.0047f, 0.02127f, -6E-05f), new Vector3(3.71648f, 8.66855f, 139.5791f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintArmor, "calf.l", new Vector3(-0.00034f, 0.00796f, 0.00334f), new Vector3(355.6577f, 356.8977f, 85.07675f), new Vector3(0.00764f, 0.00509f, 0.00678f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintBonus, "thigh.r", new Vector3(-0.00595f, -0.005f, 0.00118f), new Vector3(82.76353f, 354.7362f, 187.6148f), new Vector3(0.02f, 0.02f, 0.02f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintOutOfCombat, "thigh.l", new Vector3(0.00551f, 0.00193f, -0.00195f), new Vector3(17.75864f, 190.5007f, 192.1692f), new Vector3(0.025f, 0.025f, 0.025f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintWisp, "clavicle.r", new Vector3(-0.0035f, 0.01431f, 0.00108f), new Vector3(338.0271f, 267.6891f, 184.2276f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Squid, "thigh.r", new Vector3(-0.00024f, 0.01159f, -0.0052f), new Vector3(358.6414f, 274.1122f, 82.04865f), new Vector3(0.003f, 0.003f, 0.003f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StickyBomb, "thigh.l", new Vector3(0.00764f, 0.01058f, 8E-05f), new Vector3(359.7258f, 21.86834f, 332.8726f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StunChanceOnHit, "calf.l", new Vector3(0.00509f, 0.00642f, -0.00303f), new Vector3(60.9187f, 351.3777f, 101.5887f), new Vector3(0.04f, 0.04f, 0.04f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Syringe, "thigh.r", new Vector3(-0.00443f, 0.00194f, 0.00085f), new Vector3(83.0633f, 294.1988f, 28.65462f), new Vector3(0.008f, 0.008f, 0.008f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Thorns, "arm.l", new Vector3(0.00519f, -0.00019f, -0.00241f), new Vector3(284.6899f, 294.0303f, 3.21992f), new Vector3(0.04f, 0.04f, 0.04f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TitanGoldDuringTP, "chest", new Vector3(-0.00679f, 0.00397f, 0.01391f), new Vector3(4.65077f, 353.6634f, 320.0634f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TPHealingNova, "stomach", new Vector3(0.00966f, 0.02076f, 0.00554f), new Vector3(336.1642f, 46.71406f, 347.2395f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TreasureCache, "pelvis", new Vector3(-0.00853f, -0.00169f, -0.00222f), new Vector3(15.83248f, 342.7811f, 299.9793f), new Vector3(0.06f, 0.06f, 0.06f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.UtilitySkillMagazine, "weapon", new Vector3(-0.0007f, -0.05318f, 1E-05f), new Vector3(2.14913f, 86.62253f, 359.8941f), new Vector3(0.01648f, 0.03229f, 0.017f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.WarCryOnMultiKill, "clavicle.l", new Vector3(0.00505f, 0.01514f, 0f), new Vector3(30.29887f, 88.03382f, 358.895f), new Vector3(0.055f, 0.055f, 0.055f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.WardOnLevel, "chest", new Vector3(-0.0016f, -0.00679f, -0.00706f), new Vector3(285.5458f, 171.269f, 98.61694f), new Vector3(0.02f, 0.02f, 0.02f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AttackSpeedAndMoveSpeed, "thigh.l", new Vector3(0.00675f, 0.00543f, -0.00358f), new Vector3(352.7699f, 100.184f, 151.0006f), new Vector3(0.0125f, 0.0125f, 0.0125f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BearVoid, "weapon", new Vector3(0.00302f, 0.06839f, -0.00076f), new Vector3(281.7106f, 255.4765f, 129.1645f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHitVoid, "chest", new Vector3(-0.01488f, 0.01765f, -0.01104f), new Vector3(35.4173f, 55.19624f, 352.1775f), new Vector3(0.01745f, 0.01745f, 0.01745f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ChainLightningVoid, "chest", new Vector3(0f, 0.00581f, -0.01068f), new Vector3(7.26735f, 177.6525f, 0.52849f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CloverVoid, "head", new Vector3(0.00417f, 0.01677f, -0.00623f), new Vector3(6.75829f, 198.733f, 55.80063f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritDamage, "weapon", new Vector3(0.00325f, 0.06356f, 0.0001f), new Vector3(0.1796f, 8.04503f, 270.8752f), new Vector3(0.004f, 0.004f, 0.004f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritGlassesVoid, "head", new Vector3(8E-05f, 0.00855f, 0.00961f), new Vector3(356.8205f, 359.5484f, 0.15748f), new Vector3(0.02006f, 0.02006f, 0.02006f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ElementalRingVoid, "weapon", new Vector3(0.00125f, 0.00969f, 1E-05f), new Vector3(88.04166f, 30.69988f, 31.66769f), new Vector3(0.01419f, 0.01419f, 0.01419f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EquipmentMagazineVoid, "chest", new Vector3(-0.00552f, -0.0051f, -0.00804f), new Vector3(17.23041f, 94.35687f, 352.7838f), new Vector3(0.0171f, 0.0171f, 0.0171f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExplodeOnDeathVoid, "pelvis", new Vector3(-0.01149f, -4E-05f, 0.00175f), new Vector3(352.7027f, 182.1202f, 165.7029f), new Vector3(0.00332f, 0.00332f, 0.00332f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExtraLifeVoid, "weapon", new Vector3(0.00485f, 0.07392f, -0.00188f), new Vector3(281.4386f, 131.3622f, 197.2534f), new Vector3(0.007f, 0.007f, 0.007f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FragileDamageBonus, "hand.l", new Vector3(0.00054f, -0.0013f, 0.00085f), new Vector3(85.67247f, 8.97802f, 13.94257f), new Vector3(0.02f, 0.02f, 0.02f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FreeChest, "thigh.l", new Vector3(0.00425f, 0.00106f, -0.00633f), new Vector3(283.7225f, 169.2571f, 130.2992f), new Vector3(0.03f, 0.03f, 0.03f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GoldOnHurt, "shoulder.l", new Vector3(0.00429f, -0.03049f, -0.00937f), new Vector3(346.954f, 141.6904f, 181.395f), new Vector3(0.03024f, 0.03024f, 0.03024f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HalfAttackSpeedHalfCooldowns, "clavicle.r", new Vector3(-0.00236f, 0.01377f, -0.00103f), new Vector3(357.2978f, 140.0843f, 259.3743f), new Vector3(0.05f, 0.05f, 0.05f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HalfSpeedDoubleHealth, "clavicle.l", new Vector3(0.00272f, 0.01314f, -0.00039f), new Vector3(13.2011f, 0.65997f, 256.7133f), new Vector3(0.05f, 0.05f, 0.05f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealingPotion, "pelvis", new Vector3(-0.01002f, -0.00516f, 0.00338f), new Vector3(305.8045f, 178.2617f, 169.946f), new Vector3(0.004f, 0.004f, 0.004f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ImmuneToDebuff, "pelvis", new Vector3(0.00054f, -0.006f, -0.00081f), new Vector3(354.7128f, 179.9351f, 181.5748f), new Vector3(0.05f, 0.05f, 0.05f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSun, "centerMuzzle", new Vector3(-1.81119f, 0.85627f, 1.62253f), new Vector3(1f, 1f, 1f), new Vector3(1f, 1f, 1f), (LimbFlags)1);
		NewIDRS((Object)(object)Items.MinorConstructOnKill, "centerMuzzle", new Vector3(1.06629f, 1.56309f, -0.61343f), new Vector3(1f, 1f, 1f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MissileVoid, "chest", new Vector3(-0.01022f, 0.02797f, -0.01574f), new Vector3(338.5844f, 348.5499f, 15.06857f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MoreMissile, "chest", new Vector3(-0.0021f, 0.00388f, -0.01326f), new Vector3(350.7785f, 355.3837f, 305.3827f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MoveSpeedOnKill, "pelvis", new Vector3(0.00225f, -0.00711f, 0.00681f), new Vector3(20.35845f, 345.8745f, 156.5531f), new Vector3(0.008f, 0.008f, 0.008f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MushroomVoid, "clavicle.r", new Vector3(-0.00154f, 0.01283f, 5E-05f), new Vector3(353.3766f, 349.2445f, 80.79232f), new Vector3(0.005f, 0.005f, 0.005f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.OutOfCombatArmor, "chest", new Vector3(0f, 0.00665f, 0.01075f), new Vector3(1f, 1f, 1f), new Vector3(0.015f, 0.015f, 0.015f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PermanentDebuffOnHit, "chest", new Vector3(0f, -0.00754f, -0.0073f), new Vector3(10.42356f, 359.5367f, 359.7084f), new Vector3(0.05f, 0.05f,