Decompiled source of Tyrant v1.0.0

Tyrant.dll

Decompiled 2 months ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using EntityStates;
using EntityStates.BrotherMonster;
using EntityStates.Commando;
using EntityStates.Commando.CommandoWeapon;
using EntityStates.Merc;
using HG;
using JetBrains.Annotations;
using KinematicCharacterController;
using R2API;
using R2API.Utils;
using Rewired.ComponentControls.Effects;
using RoR2;
using RoR2.ContentManagement;
using RoR2.Navigation;
using RoR2.Projectile;
using RoR2.Skills;
using RoR2.UI;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Networking;
using UnityEngine.Rendering;

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

internal class Assets
{
	public static AssetBundle MainAssetBundle;

	public static T Load<T>(string name) where T : Object
	{
		return MainAssetBundle.LoadAsset<T>(name);
	}

	public static void PopulateAssets()
	{
		Assembly executingAssembly = Assembly.GetExecutingAssembly();
		if ((Object)(object)MainAssetBundle == (Object)null)
		{
			using Stream stream = executingAssembly.GetManifestResourceStream("Tyrant.AssetBundle." + "Tyrant".ToLower() + "assets");
			MainAssetBundle = AssetBundle.LoadFromStream(stream);
		}
		using Stream stream2 = executingAssembly.GetManifestResourceStream("Tyrant.Tyrant.bnk");
		byte[] array = new byte[stream2.Length];
		stream2.Read(array, 0, array.Length);
		SoundBanks.Add(array);
	}
}
internal class Behaviour : NetworkBehaviour
{
	public float primaryFireTime = 0.18f;

	public float secondaryStopTime = 0.2f;

	public float secondaryReturnTime = 0.6f;

	public float secondaryForce = -5500f;

	public float punchMinTime = 0.25f;

	public float secondarySpeed = 310f;

	public bool canRecharge;

	public bool switched;

	public bool buffed;

	public bool debuffed;

	private float stopwatch;

	public bool punched;

	private float punchStopwatch;

	public GenericSkill primarySkill;

	public GenericSkill punchSkill;

	private CharacterBody body;

	private Animator animator;

	public bool dashing;

	public Material specialOverlay = null;

	[SyncVar]
	public int addJump;

	private static int kRpcRpcDeleteCorpse;

	private static int kCmdCmdPlayAnimation;

	public int NetworkaddJump
	{
		get
		{
			return addJump;
		}
		[param: In]
		set
		{
			((NetworkBehaviour)this).SetSyncVar<int>(value, ref addJump, 1u);
		}
	}

	[ClientRpc]
	public void RpcDeleteCorpse(GameObject body)
	{
		CharacterBody component = body.GetComponent<CharacterBody>();
		if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.modelLocator.modelTransform))
		{
			Object.Destroy((Object)(object)((Component)component.modelLocator.modelTransform).gameObject);
		}
	}

	[Command]
	public void CmdPlayAnimation(string anim, string mult, float duration)
	{
		dashing = true;
		if (Utility.IsNullOrWhiteSpace(mult))
		{
			EntityState.PlayAnimationOnAnimator(animator, "Gesture, Override", anim);
		}
		else
		{
			EntityState.PlayAnimationOnAnimator(animator, "Gesture, Override", anim, mult, duration, 0f);
		}
	}

	public void Switch()
	{
		if (switched)
		{
			NetworkaddJump = 0;
			switched = false;
			body.skillLocator.primary = primarySkill;
		}
		else
		{
			switched = true;
			body.skillLocator.primary = punchSkill;
		}
	}

	private void Awake()
	{
		body = ((Component)this).GetComponent<CharacterBody>();
	}

	private void Start()
	{
		animator = ((Component)body.modelLocator.modelTransform).GetComponent<Animator>();
		AkBankManager.LoadBankAsync("char_Croco", (BankCallback)null);
		AkBankManager.LoadBankAsync("char_railgunner", (BankCallback)null);
		AkBankManager.LoadBankAsync("char_captain", (BankCallback)null);
	}

	private void FixedUpdate()
	{
		if (!canRecharge)
		{
			primarySkill.rechargeStopwatch = 0f;
		}
		if (punched)
		{
			punchStopwatch += Time.fixedDeltaTime;
			if (punchStopwatch >= 3f)
			{
				punchStopwatch = 0f;
				punched = false;
			}
		}
		if (debuffed)
		{
			primarySkill.cooldownOverride = 15f;
			stopwatch += Time.fixedDeltaTime;
			if (stopwatch >= 15f)
			{
				debuffed = false;
				stopwatch = 0f;
				if (NetworkServer.active)
				{
					body.RemoveBuff(Prefabs.primaryCD);
				}
			}
		}
		else if (primarySkill.cooldownOverride == 15f)
		{
			primarySkill.cooldownOverride = 10f;
		}
	}

	private void UNetVersion()
	{
	}

	protected static void InvokeCmdCmdPlayAnimation(NetworkBehaviour obj, NetworkReader reader)
	{
		if (!NetworkServer.active)
		{
			Debug.LogError((object)"Command CmdPlayAnimation called on client.");
		}
		else
		{
			((Behaviour)(object)obj).CmdPlayAnimation(reader.ReadString(), reader.ReadString(), reader.ReadSingle());
		}
	}

	public void CallCmdPlayAnimation(string anim, string mult, float duration)
	{
		//IL_0035: Unknown result type (might be due to invalid IL or missing references)
		//IL_003b: Expected O, but got Unknown
		//IL_0060: Unknown result type (might be due to invalid IL or missing references)
		if (!NetworkClient.active)
		{
			Debug.LogError((object)"Command function CmdPlayAnimation called on server.");
			return;
		}
		if (((NetworkBehaviour)this).isServer)
		{
			CmdPlayAnimation(anim, mult, duration);
			return;
		}
		NetworkWriter val = new NetworkWriter();
		val.Write((short)0);
		val.Write((short)5);
		val.WritePackedUInt32((uint)kCmdCmdPlayAnimation);
		val.Write(((Component)this).GetComponent<NetworkIdentity>().netId);
		val.Write(anim);
		val.Write(mult);
		val.Write(duration);
		((NetworkBehaviour)this).SendCommandInternal(val, 0, "CmdPlayAnimation");
	}

	protected static void InvokeRpcRpcDeleteCorpse(NetworkBehaviour obj, NetworkReader reader)
	{
		if (!NetworkClient.active)
		{
			Debug.LogError((object)"RPC RpcDeleteCorpse called on server.");
		}
		else
		{
			((Behaviour)(object)obj).RpcDeleteCorpse(reader.ReadGameObject());
		}
	}

	public void CallRpcDeleteCorpse(GameObject body)
	{
		//IL_0016: Unknown result type (might be due to invalid IL or missing references)
		//IL_001c: Expected O, but got Unknown
		//IL_0041: Unknown result type (might be due to invalid IL or missing references)
		if (!NetworkServer.active)
		{
			Debug.LogError((object)"RPC Function RpcDeleteCorpse called on client.");
			return;
		}
		NetworkWriter val = new NetworkWriter();
		val.Write((short)0);
		val.Write((short)2);
		val.WritePackedUInt32((uint)kRpcRpcDeleteCorpse);
		val.Write(((Component)this).GetComponent<NetworkIdentity>().netId);
		val.Write(body);
		((NetworkBehaviour)this).SendRPCInternal(val, 0, "RpcDeleteCorpse");
	}

	static Behaviour()
	{
		//IL_0020: Unknown result type (might be due to invalid IL or missing references)
		//IL_002a: Expected O, but got Unknown
		//IL_004a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0054: Expected O, but got Unknown
		kCmdCmdPlayAnimation = 825163987;
		NetworkBehaviour.RegisterCommandDelegate(typeof(Behaviour), kCmdCmdPlayAnimation, new CmdDelegate(InvokeCmdCmdPlayAnimation));
		kRpcRpcDeleteCorpse = 1907363162;
		NetworkBehaviour.RegisterRpcDelegate(typeof(Behaviour), kRpcRpcDeleteCorpse, new CmdDelegate(InvokeRpcRpcDeleteCorpse));
		NetworkCRC.RegisterBehaviour("Behaviour", 0);
	}

	public override bool OnSerialize(NetworkWriter writer, bool forceAll)
	{
		if (forceAll)
		{
			writer.WritePackedUInt32((uint)addJump);
			return true;
		}
		bool flag = false;
		if ((((NetworkBehaviour)this).syncVarDirtyBits & (true ? 1u : 0u)) != 0)
		{
			if (!flag)
			{
				writer.WritePackedUInt32(((NetworkBehaviour)this).syncVarDirtyBits);
				flag = true;
			}
			writer.WritePackedUInt32((uint)addJump);
		}
		if (!flag)
		{
			writer.WritePackedUInt32(((NetworkBehaviour)this).syncVarDirtyBits);
		}
		return flag;
	}

	public override void OnDeserialize(NetworkReader reader, bool initialState)
	{
		if (initialState)
		{
			addJump = (int)reader.ReadPackedUInt32();
			return;
		}
		int num = (int)reader.ReadPackedUInt32();
		if (((uint)num & (true ? 1u : 0u)) != 0)
		{
			addJump = (int)reader.ReadPackedUInt32();
		}
	}
}
internal class ModelBehaviour : MonoBehaviour
{
	private void OnEnable()
	{
		AkBankManager.LoadBankAsync("char_Croco", (BankCallback)null);
	}

	private void Start()
	{
		//IL_0022: Unknown result type (might be due to invalid IL or missing references)
		AkSoundEngine.PostEvent("Play_acrid_shift_jump", ((Component)this).gameObject);
		AkSoundEngine.SetSwitch("material", "metal", ((Component)this).gameObject);
	}
}
internal class Hook
{
	internal static void Hooks()
	{
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0036: Expected O, but got Unknown
		ContentManager.onContentPacksAssigned += LateSetup;
		GlobalEventManager.onServerDamageDealt += GlobalEventManager_onServerDamageDealt;
		RecalculateStatsAPI.GetStatCoefficients += new StatHookEventHandler(RecalculateStatsAPI_GetStatCoefficients);
		GlobalEventManager.onCharacterDeathGlobal += GlobalEventManager_onCharacterDeathGlobal;
	}

	private static void GlobalEventManager_onCharacterDeathGlobal(DamageReport damageReport)
	{
		//IL_0063: Unknown result type (might be due to invalid IL or missing references)
		//IL_0068: Unknown result type (might be due to invalid IL or missing references)
		//IL_0079: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0080: Unknown result type (might be due to invalid IL or missing references)
		//IL_0082: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Unknown result type (might be due to invalid IL or missing references)
		//IL_009e: Unknown result type (might be due to invalid IL or missing references)
		//IL_00af: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00de: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_0106: Unknown result type (might be due to invalid IL or missing references)
		//IL_010b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0110: Unknown result type (might be due to invalid IL or missing references)
		//IL_0120: Unknown result type (might be due to invalid IL or missing references)
		//IL_0125: Unknown result type (might be due to invalid IL or missing references)
		//IL_012c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0137: Unknown result type (might be due to invalid IL or missing references)
		//IL_0148: Expected O, but got Unknown
		if (!Object.op_Implicit((Object)(object)damageReport.victimBody) || !Object.op_Implicit((Object)(object)damageReport.attackerBody))
		{
			return;
		}
		Behaviour component = ((Component)damageReport.attackerBody).GetComponent<Behaviour>();
		if (Object.op_Implicit((Object)(object)component))
		{
			if (component.switched)
			{
				component.NetworkaddJump = Math.Min(5, component.addJump + 1);
			}
			new BlastAttack
			{
				attacker = ((Component)damageReport.attackerBody).gameObject,
				attackerFiltering = (AttackerFiltering)2,
				falloffModel = (FalloffModel)0,
				baseDamage = damageReport.attackerBody.damage * 1.2f,
				crit = damageReport.attackerBody.RollCrit(),
				damageType = DamageTypeCombo.Generic,
				damageColorIndex = (DamageColorIndex)10,
				inflictor = ((Component)damageReport.attackerBody).gameObject,
				procCoefficient = 0f,
				radius = 3f,
				teamIndex = damageReport.attackerBody.teamComponent.teamIndex,
				position = damageReport.victimBody.corePosition
			}.Fire();
			EffectManager.SpawnEffect(Prefabs.Load<GameObject>("RoR2/Base/ImpBoss/ImpVoidspikeExplosion.prefab"), new EffectData
			{
				origin = damageReport.victimBody.corePosition,
				scale = 3f
			}, true);
			((Component)damageReport.attackerBody).GetComponent<Behaviour>().CallRpcDeleteCorpse(((Component)damageReport.victimBody).gameObject);
		}
	}

	private static void RecalculateStatsAPI_GetStatCoefficients(CharacterBody sender, StatHookEventArgs args)
	{
		Behaviour component = ((Component)sender).GetComponent<Behaviour>();
		if (Object.op_Implicit((Object)(object)component))
		{
			if (sender.HasBuff(Prefabs.dmgReduction))
			{
				args.armorAdd += 30f;
			}
			int num = 0;
			if (sender.HasBuff(Prefabs.utilityBuff))
			{
				args.moveSpeedMultAdd += 0.2f;
				num = 1 + component.addJump;
			}
			if (sender.baseNameToken == "TYRANT_NAME")
			{
				sender.baseJumpCount = 1 + num;
			}
		}
	}

	private static void GlobalEventManager_onServerDamageDealt(DamageReport damageReport)
	{
		//IL_003e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0087: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_0079: Unknown result type (might be due to invalid IL or missing references)
		//IL_009f: Unknown result type (might be due to invalid IL or missing references)
		//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_00af: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
		if (Object.op_Implicit((Object)(object)damageReport.victim) && Object.op_Implicit((Object)(object)damageReport.attacker) && Object.op_Implicit((Object)(object)damageReport.attackerBody))
		{
			HealthComponent victim = damageReport.victim;
			if (DamageAPI.HasModdedDamageType(damageReport.damageInfo, Prefabs.execute) && victim.combinedHealth <= victim.fullCombinedHealth * 0.05f)
			{
				victim.Suicide(damageReport.attacker, (GameObject)null, default(DamageTypeCombo));
			}
			if (DamageAPI.HasModdedDamageType(damageReport.damageInfo, Prefabs.force))
			{
				Vector3 val = victim.body.footPosition - damageReport.attackerBody.footPosition;
				victim.TakeDamageForce(((Vector3)(ref val)).normalized * 5500f + Vector3.up * 2000f, false, false);
			}
		}
	}

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

	internal static List<KeyAssetRuleGroup> itemDisplayRules;

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

	private static Dictionary<Object, AssetReferenceGameObject> itemDisplayAssetRefs = new Dictionary<Object, AssetReferenceGameObject>();

	private static void PopulateFromBody(string path)
	{
		//IL_0002: Unknown result type (might be due to invalid IL or missing references)
		//IL_0007: Unknown result type (might be due to invalid IL or missing references)
		//IL_003f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0044: Unknown result type (might be due to invalid IL or missing references)
		//IL_006c: 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_0113: Unknown result type (might be due to invalid IL or missing references)
		ItemDisplayRuleSet val = Addressables.LoadAssetAsync<ItemDisplayRuleSet>((object)path).WaitForCompletion();
		KeyAssetRuleGroup[] keyAssetRuleGroups = val.keyAssetRuleGroups;
		for (int i = 0; i < keyAssetRuleGroups.Length; i++)
		{
			ItemDisplayRule[] rules = keyAssetRuleGroups[i].displayRuleGroup.rules;
			foreach (ItemDisplayRule val2 in rules)
			{
				Object keyAsset = keyAssetRuleGroups[i].keyAsset;
				ItemDef val3 = (ItemDef)(object)((keyAsset is ItemDef) ? keyAsset : null);
				Object keyAsset2 = keyAssetRuleGroups[i].keyAsset;
				EquipmentDef val4 = (EquipmentDef)(object)((keyAsset2 is EquipmentDef) ? keyAsset2 : null);
				GameObject followerPrefab = val2.followerPrefab;
				if ((Object)(object)val3 != (Object)null)
				{
					if (!itemDisplayAssetRefs.ContainsKey((Object)(object)val3))
					{
						itemDisplayAssetRefs.Add((Object)(object)val3, val2.followerPrefabAddress);
					}
					if (Object.op_Implicit((Object)(object)followerPrefab) && !itemDisplayPrefabs.ContainsKey((Object)(object)val3))
					{
						itemDisplayPrefabs.Add((Object)(object)val3, followerPrefab);
					}
				}
				else if ((Object)(object)val4 != (Object)null)
				{
					if (!itemDisplayAssetRefs.ContainsKey((Object)(object)val4))
					{
						itemDisplayAssetRefs.Add((Object)(object)val4, val2.followerPrefabAddress);
					}
					if (Object.op_Implicit((Object)(object)followerPrefab) && !itemDisplayPrefabs.ContainsKey((Object)(object)val4))
					{
						itemDisplayPrefabs.Add((Object)(object)val4, followerPrefab);
					}
				}
			}
		}
	}

	public static void RegisterDisplays()
	{
		itemDisplayRuleSet = ScriptableObject.CreateInstance<ItemDisplayRuleSet>();
		((Object)itemDisplayRuleSet).name = "TyrantIDRS";
		GameObject characterPrefab = MainPlugin.characterPrefab;
		GameObject gameObject = ((Component)characterPrefab.GetComponentInChildren<ModelLocator>().modelTransform).gameObject;
		CharacterModel component = gameObject.GetComponent<CharacterModel>();
		component.itemDisplayRuleSet = itemDisplayRuleSet;
		PopulateFromBody("RoR2/Base/Commando/idrsCommando.asset");
		PopulateFromBody("RoR2/Base/Croco/idrsCroco.asset");
		PopulateFromBody("RoR2/Base/Mage/idrsMage.asset");
	}

	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_0890: Unknown result type (might be due to invalid IL or missing references)
		//IL_08a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_08b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_08dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0905: Unknown result type (might be due to invalid IL or missing references)
		//IL_092a: Unknown result type (might be due to invalid IL or missing references)
		//IL_093e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0952: Unknown result type (might be due to invalid IL or missing references)
		//IL_0977: Unknown result type (might be due to invalid IL or missing references)
		//IL_098b: Unknown result type (might be due to invalid IL or missing references)
		//IL_099f: Unknown result type (might be due to invalid IL or missing references)
		//IL_09c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_09d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_09ec: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a11: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a25: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a39: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a5e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a72: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a86: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aab: Unknown result type (might be due to invalid IL or missing references)
		//IL_0abf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ad3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0af8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b0c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b20: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b45: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b59: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b6d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b92: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ba6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bba: 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_0d54: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d68: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d7c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0da1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0db5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dc9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dee: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e02: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e16: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e3b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e4f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e63: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e88: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e9c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0eb0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ed5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ee9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0efd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f22: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f36: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f4a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f6f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f83: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f97: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fbc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fd0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0fe4: Unknown result type (might be due to invalid IL or missing references)
		//IL_1009: Unknown result type (might be due to invalid IL or missing references)
		//IL_101d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1031: Unknown result type (might be due to invalid IL or missing references)
		//IL_1056: Unknown result type (might be due to invalid IL or missing references)
		//IL_106a: Unknown result type (might be due to invalid IL or missing references)
		//IL_107e: Unknown result type (might be due to invalid IL or missing references)
		//IL_10a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_10b7: Unknown result type (might be due to invalid IL or missing references)
		//IL_10cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_10f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1104: Unknown result type (might be due to invalid IL or missing references)
		//IL_1118: Unknown result type (might be due to invalid IL or missing references)
		//IL_113d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1151: Unknown result type (might be due to invalid IL or missing references)
		//IL_1165: Unknown result type (might be due to invalid IL or missing references)
		//IL_118a: Unknown result type (might be due to invalid IL or missing references)
		//IL_119e: Unknown result type (might be due to invalid IL or missing references)
		//IL_11b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_11d7: Unknown result type (might be due to invalid IL or missing references)
		//IL_11eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_11ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_1224: Unknown result type (might be due to invalid IL or missing references)
		//IL_1238: Unknown result type (might be due to invalid IL or missing references)
		//IL_124c: 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_12ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_1313: Unknown result type (might be due to invalid IL or missing references)
		//IL_1327: Unknown result type (might be due to invalid IL or missing references)
		//IL_134c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1360: Unknown result type (might be due to invalid IL or missing references)
		//IL_1374: Unknown result type (might be due to invalid IL or missing references)
		//IL_1399: Unknown result type (might be due to invalid IL or missing references)
		//IL_13ad: Unknown result type (might be due to invalid IL or missing references)
		//IL_13c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_13e6: Unknown result type (might be due to invalid IL or missing references)
		//IL_13fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_140e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1433: Unknown result type (might be due to invalid IL or missing references)
		//IL_1447: Unknown result type (might be due to invalid IL or missing references)
		//IL_145b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1480: Unknown result type (might be due to invalid IL or missing references)
		//IL_1494: Unknown result type (might be due to invalid IL or missing references)
		//IL_14a8: Unknown result type (might be due to invalid IL or missing references)
		//IL_14cd: Unknown result type (might be due to invalid IL or missing references)
		//IL_14e1: Unknown result type (might be due to invalid IL or missing references)
		//IL_14f5: Unknown result type (might be due to invalid IL or missing references)
		//IL_151a: Unknown result type (might be due to invalid IL or missing references)
		//IL_152e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1542: Unknown result type (might be due to invalid IL or missing references)
		//IL_1567: Unknown result type (might be due to invalid IL or missing references)
		//IL_157b: Unknown result type (might be due to invalid IL or missing references)
		//IL_158f: Unknown result type (might be due to invalid IL or missing references)
		//IL_15b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_15c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_15dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_1601: Unknown result type (might be due to invalid IL or missing references)
		//IL_1615: Unknown result type (might be due to invalid IL or missing references)
		//IL_1629: Unknown result type (might be due to invalid IL or missing references)
		//IL_164e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1662: Unknown result type (might be due to invalid IL or missing references)
		//IL_1676: Unknown result type (might be due to invalid IL or missing references)
		//IL_169b: Unknown result type (might be due to invalid IL or missing references)
		//IL_16af: Unknown result type (might be due to invalid IL or missing references)
		//IL_16c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_16e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_16fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_1710: Unknown result type (might be due to invalid IL or missing references)
		//IL_1735: Unknown result type (might be due to invalid IL or missing references)
		//IL_1749: Unknown result type (might be due to invalid IL or missing references)
		//IL_175d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1782: Unknown result type (might be due to invalid IL or missing references)
		//IL_1796: Unknown result type (might be due to invalid IL or missing references)
		//IL_17aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_17cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_17e3: Unknown result type (might be due to invalid IL or missing references)
		//IL_17f7: Unknown result type (might be due to invalid IL or missing references)
		//IL_181c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1830: Unknown result type (might be due to invalid IL or missing references)
		//IL_1844: Unknown result type (might be due to invalid IL or missing references)
		//IL_1869: Unknown result type (might be due to invalid IL or missing references)
		//IL_187d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1891: Unknown result type (might be due to invalid IL or missing references)
		//IL_18b6: Unknown result type (might be due to invalid IL or missing references)
		//IL_18ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_18de: Unknown result type (might be due to invalid IL or missing references)
		//IL_18f7: Unknown result type (might be due to invalid IL or missing references)
		//IL_190b: Unknown result type (might be due to invalid IL or missing references)
		//IL_191f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1944: Unknown result type (might be due to invalid IL or missing references)
		//IL_1958: Unknown result type (might be due to invalid IL or missing references)
		//IL_196c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1991: Unknown result type (might be due to invalid IL or missing references)
		//IL_19a5: Unknown result type (might be due to invalid IL or missing references)
		//IL_19b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_19de: Unknown result type (might be due to invalid IL or missing references)
		//IL_19f2: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a06: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a2b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a3f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a53: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a78: Unknown result type (might be due to invalid IL or missing references)
		//IL_1a8c: Unknown result type (might be due to invalid IL or missing references)
		//IL_1aa0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ac5: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ad9: Unknown result type (might be due to invalid IL or missing references)
		//IL_1aed: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b12: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b26: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b3a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b5f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b73: Unknown result type (might be due to invalid IL or missing references)
		//IL_1b87: Unknown result type (might be due to invalid IL or missing references)
		//IL_1bac: Unknown result type (might be due to invalid IL or missing references)
		//IL_1bc0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1bd4: Unknown result type (might be due to invalid IL or missing references)
		//IL_1bf9: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c0d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c21: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c46: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c5a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c6e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1c93: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ca7: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cbb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ce0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1cf4: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d08: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d2d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d41: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d55: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d7a: Unknown result type (might be due to invalid IL or missing references)
		//IL_1d8e: Unknown result type (might be due to invalid IL or missing references)
		//IL_1da2: Unknown result type (might be due to invalid IL or missing references)
		//IL_1dc7: Unknown result type (might be due to invalid IL or missing references)
		//IL_1ddb: Unknown result type (might be due to invalid IL or missing references)
		//IL_1def: Unknown result type (might be due to invalid IL or missing references)
		//IL_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_244d: Unknown result type (might be due to invalid IL or missing references)
		//IL_2461: Unknown result type (might be due to invalid IL or missing references)
		//IL_2475: Unknown result type (might be due to invalid IL or missing references)
		//IL_249a: Unknown result type (might be due to invalid IL or missing references)
		//IL_24ae: Unknown result type (might be due to invalid IL or missing references)
		//IL_24c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_24e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_24fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_250f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2534: Unknown result type (might be due to invalid IL or missing references)
		//IL_2548: Unknown result type (might be due to invalid IL or missing references)
		//IL_255c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2581: Unknown result type (might be due to invalid IL or missing references)
		//IL_2595: Unknown result type (might be due to invalid IL or missing references)
		//IL_25a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_25ce: Unknown result type (might be due to invalid IL or missing references)
		//IL_25e2: Unknown result type (might be due to invalid IL or missing references)
		//IL_25f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_261b: Unknown result type (might be due to invalid IL or missing references)
		//IL_262f: Unknown result type (might be due to invalid IL or missing references)
		//IL_2643: Unknown result type (might be due to invalid IL or missing references)
		//IL_2668: Unknown result type (might be due to invalid IL or missing references)
		//IL_267c: Unknown result type (might be due to invalid IL or missing references)
		//IL_2690: Unknown result type (might be due to invalid IL or missing references)
		//IL_26b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_26c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_26dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_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_2836: Unknown result type (might be due to invalid IL or missing references)
		//IL_284a: Unknown result type (might be due to invalid IL or missing references)
		//IL_285e: Unknown result type (might be due to invalid IL or missing references)
		//IL_2883: 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_28d0: 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_291d: 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_296a: 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_29b7: 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_2a04: 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_2a51: 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_2a9e: 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_2aeb: 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_2b38: 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_2b85: 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_2bd2: 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_2c1f: 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_2c6c: 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_2cb9: 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_2d06: 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_2d53: 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)
		itemDisplayRules = new List<KeyAssetRuleGroup>();
		NewIDRS((Object)(object)Items.AlienHead, "pelvis", new Vector3(-0.00315f, -0.00088f, 0.00033f), new Vector3(58.6637f, 317.4178f, 223.7135f), new Vector3(0.013f, 0.013f, 0.013f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ArmorPlate, "calf.r", new Vector3(0.00034f, 0.0052f, 2E-05f), new Vector3(81.00851f, 86.05824f, 167.4276f), new Vector3(0.00441f, 0.00441f, 0.00441f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ArmorReductionOnHit, "chest", new Vector3(-0.00034f, 0.00412f, -0.00261f), new Vector3(276.7639f, 334.3007f, 24.8891f), new Vector3(0.00273f, 0.00273f, 0.00273f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AttackSpeedAndMoveSpeed, "thigh.l", new Vector3(0.00185f, 0.00337f, 0.00108f), new Vector3(312.5772f, 13.40721f, 145.5851f), new Vector3(0.00373f, 0.00373f, 0.00373f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AttackSpeedOnCrit, "head", new Vector3(0f, 0.00085f, 0.00163f), new Vector3(0f, 0f, 0f), new Vector3(0.00816f, 0.00816f, 0.00816f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.AutoCastEquipment, "thigh.l", new Vector3(-0.00029f, 0.00062f, 0.00174f), new Vector3(87.95359f, 88.62038f, -5E-05f), new Vector3(0.01055f, 0.01055f, 0.01055f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Bandolier, "chest", new Vector3(0f, 0f, 1E-05f), new Vector3(327.2717f, 266.601f, 70.82963f), new Vector3(0.01206f, 0.01264f, 0.01206f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BarrierOnKill, "chest", new Vector3(-0.00162f, -4E-05f, 0.00296f), new Vector3(66.476f, 21.93165f, 28.03988f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BarrierOnOverHeal, "lower_arm.l", new Vector3(-9E-05f, 0.00281f, 0.00105f), new Vector3(84.33026f, 18.84187f, 198.7562f), new Vector3(0.00352f, 0.00352f, 0.00352f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Bear, "chest", new Vector3(0.00047f, 0.00303f, -0.00292f), new Vector3(350.0362f, 169.0645f, 1.88076f), new Vector3(0.00298f, 0.00298f, 0.00298f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BearVoid, "chest", new Vector3(0.00047f, 0.00303f, -0.00292f), new Vector3(350.0362f, 169.0645f, 1.88076f), new Vector3(0.00298f, 0.00298f, 0.00298f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BeetleGland, "stomach", new Vector3(0.00305f, 0.00279f, 0.00114f), new Vector3(2.43236f, 83.00354f, 52.6446f), new Vector3(0.00125f, 0.00125f, 0.00125f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Behemoth, "chest", new Vector3(0.00093f, 0.0033f, -0.0032f), new Vector3(333.0686f, 77.88096f, 6.75761f), new Vector3(0.00118f, 0.00118f, 0.00118f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHit, "chest", new Vector3(-0.00284f, 0.00523f, -0.00122f), new Vector3(35f, 57f, 311f), new Vector3(0.004f, 0.004f, 0.004f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHitAndExplode, "thigh.r", new Vector3(-0.00147f, 0.00156f, 0.00138f), new Vector3(6.44766f, 263.7361f, 176.9951f), new Vector3(0.00075f, 0.00075f, 0.00075f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BleedOnHitVoid, "chest", new Vector3(-0.00284f, 0.00523f, -0.00122f), new Vector3(35f, 57f, 311f), new Vector3(0.004f, 0.004f, 0.004f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BonusGoldPackOnKill, "chest", new Vector3(-6E-05f, 0.00247f, -0.00304f), new Vector3(342.2598f, 177.1589f, 0f), new Vector3(0.00168f, 0.00168f, 0.00168f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BossDamageBonus, "thigh.r", new Vector3(0.00092f, 0.00403f, 0.00193f), new Vector3(85.12095f, 327.55f, 324.2533f), new Vector3(0.00919f, 0.00919f, 0.00919f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.BounceNearby, "chest", new Vector3(-6E-05f, -0.00107f, -0.00335f), new Vector3(349.875f, 0f, 6.7382f), new Vector3(0.00811f, 0.00811f, 0.00811f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ChainLightning, "chest", new Vector3(0f, 0.00087f, -0.00365f), new Vector3(10.76651f, 170.9132f, 0f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ChainLightningVoid, "chest", new Vector3(0f, 0.00087f, -0.00365f), new Vector3(10.76651f, 170.9132f, 0f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Clover, "chest", new Vector3(0.00048f, 0.00653f, 0.0012f), new Vector3(351.7524f, 42.68227f, 288.0371f), new Vector3(0.00848f, 0.00848f, 0.00848f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CloverVoid, "head", new Vector3(0.00144f, 0.00227f, -0.00012f), new Vector3(4.39752f, 6.55759f, 289.3f), new Vector3(0.00848f, 0.00848f, 0.00848f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritDamage, "weapon", new Vector3(-0.00252f, -0.00556f, 0.02149f), new Vector3(1.10534f, 90.73726f, 89.99203f), new Vector3(0.00105f, 0.00105f, 0.00105f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritGlasses, "head", new Vector3(0f, 0.00078f, 0.00211f), new Vector3(0f, 0f, 0f), new Vector3(0.00347f, 0.00347f, 0.00347f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.CritGlassesVoid, "head", new Vector3(0f, 0.00078f, 0.00211f), new Vector3(0f, 0f, 0f), new Vector3(0.00347f, 0.00347f, 0.00347f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Crowbar, "chest", new Vector3(-0.00013f, 0.00037f, -0.00294f), new Vector3(340.5912f, 0f, 0f), new Vector3(0.00521f, 0.00521f, 0.00521f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Dagger, "chest", new Vector3(0.00099f, 0.00382f, -0.00128f), new Vector3(295.9672f, 302.0901f, 68.25329f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.DeathMark, "hand.r", new Vector3(-0.00092f, 0.00213f, 0.00022f), new Vector3(305.378f, 271.8663f, 5.99723f), new Vector3(0.00028f, 0.00028f, 0.00028f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ElementalRingVoid, "hand.r", new Vector3(-0.00034f, 0.0025f, -0.00086f), new Vector3(297.0916f, 117.1478f, 332.399f), new Vector3(0.00229f, 0.00229f, 0.00229f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EnergizedOnEquipmentUse, "stomach", new Vector3(0.00365f, 0.00128f, 0.00116f), new Vector3(14.20947f, 245.3063f, 109.9302f), new Vector3(0.00518f, 0.00518f, 0.00518f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EquipmentMagazine, "chest", new Vector3(-0.00134f, -0.00107f, -0.00292f), new Vector3(9.02037f, 79.80357f, 358.4474f), new Vector3(0.00629f, 0.00629f, 0.00601f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.EquipmentMagazineVoid, "chest", new Vector3(-0.00134f, -0.00107f, -0.00292f), new Vector3(9.02037f, 79.80357f, 358.4474f), new Vector3(0.00629f, 0.00629f, 0.00601f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExecuteLowHealthElite, "chest", new Vector3(3E-05f, 0.00315f, -0.00291f), new Vector3(294.2375f, 2.51062f, 350.9687f), new Vector3(0.00319f, 0.00319f, 0.00319f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExplodeOnDeath, "pelvis", new Vector3(-0.00384f, -0.00085f, -0.00168f), new Vector3(20.7023f, 178.1155f, 175.2903f), new Vector3(0.00105f, 0.00105f, 0.00105f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExplodeOnDeathVoid, "pelvis", new Vector3(-0.00384f, -0.00085f, -0.00168f), new Vector3(20.7023f, 178.1155f, 175.2903f), new Vector3(0.00105f, 0.00105f, 0.00105f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExtraLife, "chest", new Vector3(0.00035f, 0.00408f, -0.00219f), new Vector3(341.7165f, 167.5816f, 1.0944f), new Vector3(0.00715f, 0.00715f, 0.00715f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ExtraLifeVoid, "chest", new Vector3(0.00035f, 0.00408f, -0.00219f), new Vector3(341.7165f, 167.5816f, 1.0944f), new Vector3(0.00715f, 0.00715f, 0.00715f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.FallBoots, "foot.r", new Vector3(0f, -0.00043f, 0.00052f), new Vector3(50.1823f, 190.8611f, 188.3833f), new Vector3(0.00474f, 0.00474f, 0.00474f), "foot.l", new Vector3(1E-05f, -0.00082f, 0.00084f), new Vector3(52.32584f, 180f, 184.093f), new Vector3(0.00474f, 0.00474f, 0.00474f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Feather, "upper_arm.l", new Vector3(-0.00016f, 0.00199f, 0.00176f), new Vector3(50.68279f, 138.33f, 95.89813f), new Vector3(0.00054f, 0.00054f, 0.00054f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FireRing, "hand.r", new Vector3(-0.00034f, 0.0025f, -0.00086f), new Vector3(297.0916f, 117.1478f, 332.399f), new Vector3(0.00229f, 0.00229f, 0.00229f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FireballsOnHit, "hand.r", new Vector3(-0.00091f, -0.00157f, 0.00021f), new Vector3(276.8903f, 313.7032f, 156.8153f), new Vector3(0.00073f, 0.00073f, 0.00073f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Firework, "chest", new Vector3(0.00034f, 0.00455f, -0.00257f), new Vector3(297.7237f, 64.65401f, 292.0557f), new Vector3(0.00858f, 0.00868f, 0.00858f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FlatHealth, "chest", new Vector3(0f, 0.00143f, 0.0032f), new Vector3(326.0915f, 0f, 0f), new Vector3(0.00196f, 0.0023f, 0.00196f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FragileDamageBonus, "hand.l", new Vector3(0.00019f, 0.0008f, -2E-05f), new Vector3(84.42423f, 281.9655f, 203.232f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.FreeChest, "thigh.l", new Vector3(0.0014f, 0.0017f, 0.00123f), new Vector3(301.5114f, 127.1619f, 103.4537f), new Vector3(0.00741f, 0.00741f, 0.00741f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GhostOnKill, "head", new Vector3(-4E-05f, 0.00104f, 0.00137f), new Vector3(0f, 0f, 0f), new Vector3(0.00708f, 0.00708f, 0.00708f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GoldOnHit, "head", new Vector3(0f, 0.00198f, 0f), new Vector3(0f, 0f, 0f), new Vector3(0.01266f, 0.01266f, 0.01266f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.GoldOnHurt, "upper_arm.l", new Vector3(0.00065f, 0.00261f, 0.00117f), new Vector3(9.7352f, 311.0788f, 358.9823f), new Vector3(0.00794f, 0.00794f, 0.00794f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HalfAttackSpeedHalfCooldowns, "upper_arm.r", new Vector3(-0.00027f, -0.00182f, 0.00164f), new Vector3(340.5508f, 250.4815f, 234.8909f), new Vector3(0.01236f, 0.01236f, 0.01236f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HalfSpeedDoubleHealth, "chest", new Vector3(-0.00406f, 0.00487f, -5E-05f), new Vector3(16.43177f, 349.5222f, 324.2664f), new Vector3(0.01256f, 0.01256f, 0.01256f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HeadHunter, "pelvis", new Vector3(4E-05f, 0.00046f, -0.00037f), new Vector3(8.57949f, 183.2703f, 182.3576f), new Vector3(0.0101f, 0.00328f, 0.00331f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealOnCrit, "chest", new Vector3(0.00016f, 0.00134f, -0.00301f), new Vector3(315.0831f, 251.6872f, 88.53307f), new Vector3(0.00791f, 0.00791f, 0.00791f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealWhileSafe, "chest", new Vector3(0.00137f, 0.00372f, -0.00057f), new Vector3(339.251f, 231.3642f, 43.07711f), new Vector3(0.00139f, 0.00139f, 0.00139f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.HealingPotion, "pelvis", new Vector3(-0.0045f, 0.00056f, -9E-05f), new Vector3(26.33408f, 140.7023f, 108.0322f), new Vector3(0.00122f, 0.00122f, 0.00122f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Hoof, "claf.r", new Vector3(0.00097f, 0.00639f, 0.00075f), new Vector3(79.89489f, 277.1843f, 17.64776f), new Vector3(0.00242f, 0.00251f, 0.00171f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.IceRing, "hand.r", new Vector3(-0.00036f, 0.00291f, 0.00038f), new Vector3(286.4162f, 103.0735f, 256.3911f), new Vector3(0.00251f, 0.00251f, 0.00251f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.IgniteOnKill, "thigh.l", new Vector3(0.00079f, 0.00239f, 0.00154f), new Vector3(70.40871f, 292.5396f, 181.5336f), new Vector3(0.00888f, 0.00888f, 0.00888f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ImmuneToDebuff, "pelvis", new Vector3(-0.00049f, -0.00183f, -0.0004f), new Vector3(357.4447f, 178.4955f, 186.4732f), new Vector3(0.01727f, 0.01342f, 0.01342f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.IncreaseHealing, "head", new Vector3(0.00076f, 0.00214f, 0.00039f), new Vector3(356.8922f, 278.5314f, 351.9047f), new Vector3(0.00581f, 0.00581f, -0.00581f), "head", new Vector3(-0.00091f, 0.00229f, 0.00015f), new Vector3(356.8922f, 278.5314f, 351.9047f), new Vector3(0.00581f, 0.00581f, 0.00581f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Infusion, "stomach", new Vector3(0.00252f, 0.00203f, -0.00118f), new Vector3(338.0344f, 315.2857f, 15.56759f), new Vector3(0.00745f, 0.00745f, 0.00745f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.JumpBoost, "head", new Vector3(0f, -0.00276f, -0.00106f), new Vector3(0f, 0f, 0f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.KillEliteFrenzy, "head", new Vector3(3E-05f, 0.00233f, 8E-05f), new Vector3(0f, 0f, 356.252f), new Vector3(0.00254f, 0.00254f, 0.00254f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Knurl, "upper_arm.r", new Vector3(-0.00045f, -0.00205f, 0.00108f), new Vector3(80.17535f, 308.7522f, 87.5153f), new Vector3(0.00273f, 0.00273f, 0.00273f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LaserTurbine, "upper_arm.r", new Vector3(0.00177f, 0.00067f, 0.00165f), new Vector3(353.6812f, 40.05377f, 82.29306f), new Vector3(0.00618f, 0.00618f, 0.00618f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarDagger, "chest", new Vector3(0.00332f, 0.00262f, -0.00217f), new Vector3(83.88718f, 94.60903f, 112.0947f), new Vector3(0.01202f, 0.01202f, 0.01202f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarPrimaryReplacement, "head", new Vector3(0f, 0.00216f, 0.00159f), new Vector3(285.8597f, 180f, 180.8565f), new Vector3(0.00388f, 0.00388f, 0.00388f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSecondaryReplacement, "chest", new Vector3(-0.00176f, 0.00197f, -0.00227f), new Vector3(2.57151f, 302.8929f, 346.6054f), new Vector3(0.0133f, 0.0133f, 0.0133f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarSpecialReplacement, "base", new Vector3(-0.00888f, 0.02847f, 0.00041f), new Vector3(0f, 0f, 0f), new Vector3(0.21864f, 0.21864f, 0.21864f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarTrinket, "hand.r", new Vector3(-0.00027f, 0.0022f, -2E-05f), new Vector3(30.48688f, 199.6046f, 297.4985f), new Vector3(0.01106f, 0.01106f, 0.01106f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.LunarUtilityReplacement, "head", new Vector3(-1E-05f, 0.00314f, -0.00045f), new Vector3(0.07463f, 271.1095f, 340.1587f), new Vector3(0.00555f, 0.00555f, 0.00555f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Medkit, "pelvis", new Vector3(0.00352f, 2E-05f, 0.00014f), new Vector3(63.92073f, 257.063f, 12.61268f), new Vector3(0.00928f, 0.00928f, 0.00928f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Missile, "chest", new Vector3(-0.00255f, 0.00701f, -0.0024f), new Vector3(349.3696f, 357.3083f, 12.82121f), new Vector3(0.00112f, 0.00112f, 0.00112f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MissileVoid, "chest", new Vector3(-0.00255f, 0.00701f, -0.0024f), new Vector3(349.3696f, 357.3083f, 12.82121f), new Vector3(0.00112f, 0.00112f, 0.00112f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MonstersOnShrineUse, "thigh.l", new Vector3(-0.00313f, 0.00129f, 0.00029f), new Vector3(38.89218f, 215.244f, 28.08174f), new Vector3(0.00127f, 0.00127f, 0.00127f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MoreMissile, "chest", new Vector3(-2E-05f, -2E-05f, -0.00394f), new Vector3(5.47988f, 355.476f, 320.357f), new Vector3(0.00272f, 0.00272f, 0.00272f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MoveSpeedOnKill, "pelvis", new Vector3(0.0015f, -0.00171f, 0.00158f), new Vector3(352.8448f, 241.6741f, 165.488f), new Vector3(0.00215f, 0.00215f, 0.00215f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Mushroom, "upper_arm.r", new Vector3(0.0009f, 0.00046f, 0.00015f), new Vector3(301.5679f, 109.0501f, 135.6154f), new Vector3(0.00269f, 0.00269f, 0.00269f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.MushroomVoid, "upper_arm.r", new Vector3(0.0009f, 0.00046f, 0.00015f), new Vector3(301.5679f, 109.0501f, 135.6154f), new Vector3(0.00269f, 0.00269f, 0.00269f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.NearbyDamageBonus, "hand.l", new Vector3(0.00131f, 0.00118f, 0.0001f), new Vector3(0.14259f, 1.57473f, 268.0895f), new Vector3(0.00158f, 0.00158f, 0.00158f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.NovaOnHeal, "head", new Vector3(-0.00065f, 0.00221f, 0.00021f), new Vector3(10.28128f, 342.1046f, 313.9387f), new Vector3(-0.00723f, 0.00723f, 0.00723f), "head", new Vector3(0.00062f, 0.00215f, 0.00023f), new Vector3(23.96076f, 19.86184f, 46.23749f), new Vector3(0.00723f, 0.00723f, 0.00723f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.NovaOnLowHealth, "head", new Vector3(-0.00035f, 0.00096f, -0.00072f), new Vector3(10.89706f, 353.3172f, 4.15468f), new Vector3(0.00203f, 0.00203f, 0.00203f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.OutOfCombatArmor, "chest", new Vector3(0.00025f, 0.00018f, 0.00304f), new Vector3(346.2531f, 9.28547f, 359.737f), new Vector3(0.00342f, 0.00342f, 0.00342f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ParentEgg, "chest", new Vector3(0.00049f, 0.00027f, 0.0044f), new Vector3(346.0218f, 355.2812f, 2.95282f), new Vector3(0.00134f, 0.00134f, 0.00134f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Pearl, "lower_arm.l", new Vector3(-3E-05f, 0.00337f, 0.00047f), new Vector3(283.3015f, 150.6615f, 226.4497f), new Vector3(0.001f, 0.001f, 0.001f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PermanentDebuffOnHit, "pelvis", new Vector3(0.00011f, -0.00037f, 0.00137f), new Vector3(16.87292f, 180f, 180f), new Vector3(0.0122f, 0.0122f, 0.0122f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PersonalShield, "chest", new Vector3(4E-05f, 0.0007f, 0.00248f), new Vector3(299.9193f, 196.3949f, 171.2508f), new Vector3(0.00355f, 0.00355f, 0.00355f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Phasing, "chest", new Vector3(0.00021f, -0.00058f, 0.00347f), new Vector3(275.6539f, 313.006f, 50.83198f), new Vector3(0.00601f, 0.00601f, 0.00601f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Plant, "thigh.r", new Vector3(0.00198f, 0.00144f, 0.00171f), new Vector3(61.23127f, 23.53263f, 5.3411f), new Vector3(0.00084f, 0.00084f, 0.0008f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.PrimarySkillShuriken, "hand.r", new Vector3(-0.00083f, 0.00182f, 0.00021f), new Vector3(345.7592f, 280.5008f, 7.14797f), new Vector3(0.00399f, 0.00399f, 0.00399f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RandomDamageZone, "lower_arm.r", new Vector3(-0.0009f, 0.00528f, -0.00069f), new Vector3(12.91575f, 95.4142f, 263.6312f), new Vector3(0.00054f, 0.00054f, 0.00054f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RandomEquipmentTrigger, "pelvis", new Vector3(-0.00407f, 0.00057f, -0.00129f), new Vector3(11.86517f, 260.0122f, 171.5556f), new Vector3(0.00273f, 0.00273f, 0.00273f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RegeneratingScrap, "pelvis", new Vector3(-0.00086f, -0.00091f, 0.0009f), new Vector3(8.96308f, 161.7792f, 166.7675f), new Vector3(0.00519f, 0.00519f, 0.00519f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.RepeatHeal, "chest", new Vector3(0.00016f, 0.00016f, 0.00312f), new Vector3(80.84848f, 359.6612f, 358.5384f), new Vector3(0.00557f, 0.00557f, 0.00557f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SecondarySkillMagazine, "weapon", new Vector3(-0.00259f, -0.005f, 0.0172f), new Vector3(24.06493f, 3.754f, 185.8269f), new Vector3(0.00094f, 0.00094f, 0.00094f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Seed, "thigh.l", new Vector3(-0.00068f, 0.00183f, 0.00152f), new Vector3(62.97758f, 110.5588f, 145.0532f), new Vector3(0.00109f, 0.00109f, 0.00109f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.ShieldOnly, "head", new Vector3(-0.00048f, 0.00195f, -2E-05f), new Vector3(10.73269f, 255.4793f, 6.81846f), new Vector3(0.0032f, 0.0032f, -0.0032f), "head", new Vector3(0.00055f, 0.00191f, 0f), new Vector3(3.69295f, 294.6708f, 359.3035f), new Vector3(0.0032f, 0.0032f, 0.0032f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ShinyPearl, "lower_arm.r", new Vector3(0f, 0.00347f, -0.0002f), new Vector3(72.70773f, 0f, 0f), new Vector3(0.001f, 0.001f, 0.001f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.ShockNearby, "chest", new Vector3(0f, 0.00331f, -0.00193f), new Vector3(303.0839f, 0f, 356.7117f), new Vector3(0.00712f, 0.00712f, 0.00712f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SiphonOnLowHealth, "pelvis", new Vector3(-0.00192f, 0.00031f, -0.00374f), new Vector3(8.63168f, 182.5693f, 162.4054f), new Vector3(0.00121f, 0.00121f, 0.00121f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SlowOnHit, "thigh.r", new Vector3(0.00029f, 0.01081f, 0.00294f), new Vector3(13.49935f, 88.3688f, 149.7265f), new Vector3(0.00564f, 0.00564f, 0.00564f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SlowOnHitVoid, "thigh.r", new Vector3(0.00029f, 0.01081f, 0.00294f), new Vector3(13.49935f, 88.3688f, 149.7265f), new Vector3(0.00564f, 0.00564f, 0.00564f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintArmor, "lower_arm.l", new Vector3(0.00051f, 0.00307f, 0.0009f), new Vector3(348.9368f, 12.65176f, 268.835f), new Vector3(0.00284f, 0.00284f, 0.00284f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintBonus, "chest", new Vector3(0.00506f, -0.00608f, 0.00041f), new Vector3(315.308f, 221.385f, 155.3137f), new Vector3(0.00556f, 0.00556f, 0.00556f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintOutOfCombat, "thigh.l", new Vector3(-0.00053f, 0.00193f, 0.00211f), new Vector3(23.81525f, 70.45019f, 182.2276f), new Vector3(0.00679f, 0.00679f, 0.00679f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.SprintWisp, "upper_arm.r", new Vector3(-0.00072f, 0.00064f, 0.00182f), new Vector3(348.2856f, 338.1014f, 169.4935f), new Vector3(0.00331f, 0.00331f, 0.00331f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Squid, "thigh.r", new Vector3(-0.00238f, 0.00509f, -0.00085f), new Vector3(84.73873f, 213.6522f, 321.5613f), new Vector3(0.00088f, 0.00088f, 0.00088f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StickyBomb, "thigh.l", new Vector3(0.00084f, 0.00489f, 0.00234f), new Vector3(11.83648f, 19.21596f, 356.7796f), new Vector3(0.00598f, 0.00598f, 0.00598f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StrengthenBurn, "stomach", new Vector3(-0.0009f, 0.00102f, 0.00351f), new Vector3(0.27218f, 352.4854f, 277.2728f), new Vector3(0.0029f, 0.0029f, 0.0029f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.StunChanceOnHit, "calf.l", new Vector3(-0.00029f, 0.00383f, 0.00261f), new Vector3(82.47327f, 164.9243f, 46.4674f), new Vector3(0.01505f, 0.01505f, 0.01505f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Syringe, "thigh.r", new Vector3(-6E-05f, 0.0047f, 0.00149f), new Vector3(81.61403f, 0f, 0f), new Vector3(0.00325f, 0.00325f, 0.00325f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TPHealingNova, "chest", new Vector3(0.00225f, 0f, 0.00244f), new Vector3(355.888f, 356.0324f, 5.98387f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.Thorns, "upper_arm.l", new Vector3(-0.00024f, -0.00286f, 0.00104f), new Vector3(283.4738f, 228.4554f, 132.3396f), new Vector3(0.00993f, 0.00993f, 0.00837f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TitanGoldDuringTP, "chest", new Vector3(-0.00202f, -6E-05f, 0.00356f), new Vector3(359.9579f, 345.1419f, 330.4677f), new Vector3(0.00358f, 0.00358f, 0.00358f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TreasureCache, "thigh.l", new Vector3(-0.00094f, 0.00032f, 0.00158f), new Vector3(356.2155f, 258.8832f, 258.4507f), new Vector3(0.01857f, 0.01699f, 0.01699f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.TreasureCacheVoid, "thigh.l", new Vector3(-0.00094f, 0.00032f, 0.00158f), new Vector3(356.2155f, 258.8832f, 258.4507f), new Vector3(0.01857f, 0.01699f, 0.01699f), (LimbFlags)0);
		NewDualIDRS((Object)(object)Items.UtilitySkillMagazine, "chest", new Vector3(0.00242f, 0.0029f, -0.00053f), new Vector3(30.7752f, 155.5744f, 196.8908f), new Vector3(0.01772f, 0.01772f, 0.01772f), "chest", new Vector3(-0.00179f, 0.00265f, -0.00123f), new Vector3(31.4709f, 185.2814f, 158.3508f), new Vector3(0.01772f, 0.01772f, 0.01772f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.VoidMegaCrabItem, "pelvis", new Vector3(-4E-05f, 0.00028f, -0.00305f), new Vector3(353.0132f, 177.3644f, 177.7677f), new Vector3(0.00172f, 0.00185f, 0.00172f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.WarCryOnMultiKill, "upper_arm.l", new Vector3(0.00066f, -0.00037f, 0.00269f), new Vector3(49.7815f, 358.5666f, 344.2666f), new Vector3(0.01409f, 0.01409f, 0.01514f), (LimbFlags)0);
		NewIDRS((Object)(object)Items.WardOnLevel, "stomach", new Vector3(0.00017f, 0.00054f, -0.00171f), new Vector3(279.5843f, 209.0423f, 38.33663f), new Vector3(0.00661f, 0.00661f, 0.00661f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.BFG, "chest", new Vector3(0.00103f, 0.00216f, -0.00126f), new Vector3(313.3179f, 5.47725f, 320.3096f), new Vector3(0.00661f, 0.00661f, 0.00661f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.BossHunter, "chest", new Vector3(-0.00061f, 0.00755f, 0.00171f), new Vector3(31.59025f, 38.42749f, 17.34754f), new Vector3(0.01306f, 0.01306f, 0.01306f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.BurnNearby, "thigh.l", new Vector3(0.00023f, 0.00156f, 0.0024f), new Vector3(348.0973f, 188.9246f, 131.7225f), new Vector3(0.00078f, 0.00078f, 0.00057f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Cleanse, "chest", new Vector3(0.00059f, -0.00402f, -0.00294f), new Vector3(345.9291f, 169.8041f, 0.90981f), new Vector3(0.00335f, 0.00335f, 0.00335f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.CommandMissile, "chest", new Vector3(0.00051f, 0.0041f, -0.00205f), new Vector3(49.05837f, 171.7448f, 0.29692f), new Vector3(0.00791f, 0.00791f, 0.00791f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.CrippleWard, "head", new Vector3(-3E-05f, 0.00057f, -0.00315f), new Vector3(326.4367f, 180.5047f, 0.35483f), new Vector3(0.01f, 0.01f, 0.01f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.CritOnUse, "head", new Vector3(0f, 0.0007f, 0.00362f), new Vector3(0f, 0f, 0f), new Vector3(0.0039f, 0.0039f, 0.0039f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.DeathProjectile, "stomach", new Vector3(0.00484f, 0.00134f, -0.00031f), new Vector3(357.0058f, 99.26257f, 2.61773f), new Vector3(0.00227f, 0.00227f, 0.00227f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.DroneBackup, "stomach", new Vector3(0.00407f, 0.00038f, 0.00121f), new Vector3(358.2629f, 108.2137f, 33.00032f), new Vector3(0.00756f, 0.00756f, 0.00756f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.FireBallDash, "pelvis", new Vector3(-0.00448f, -0.00016f, -0.00051f), new Vector3(72.89268f, 180f, 180f), new Vector3(0.00504f, 0.00504f, 0.00504f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Fruit, "chest", new Vector3(0.00044f, -0.00165f, -0.00307f), new Vector3(10.28831f, 31.87066f, 22.27776f), new Vector3(0.00375f, 0.00375f, 0.00375f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.GainArmor, "calf.l", new Vector3(0.00055f, 0.00577f, 0.00286f), new Vector3(75.64215f, 0f, 0f), new Vector3(0.00909f, 0.00909f, 0.00909f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Gateway, "chest", new Vector3(0.00068f, 0.00415f, -0.00341f), new Vector3(304.934f, 355.2252f, 9.48032f), new Vector3(0.00453f, 0.00453f, 0.00453f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.GoldGat, "chest", new Vector3(0.0055f, 0.0083f, -0.00293f), new Vector3(23.7864f, 88.63156f, 347.158f), new Vector3(0.00301f, 0.00302f, 0.00302f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Jetpack, "chest", new Vector3(0.00072f, 0f, -0.00138f), new Vector3(334.0354f, 0f, 0f), new Vector3(0.0031f, 0.0031f, 0.0031f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.LifestealOnHit, "head", new Vector3(0.00368f, 0.00246f, -0.00108f), new Vector3(6.91663f, 264.0113f, 60.99705f), new Vector3(0.00154f, 0.00154f, 0.00154f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Lightning, "upper_arm.r", new Vector3(0.00267f, 0.00175f, 0.00053f), new Vector3(313.0706f, 119.6369f, 74.6649f), new Vector3(0.00854f, 0.00854f, 0.00854f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.LunarPortalOnUse, "base", new Vector3(0.01015f, 0.03163f, 0.0018f), new Vector3(0f, 323.6461f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Meteor, "base", new Vector3(-0.00365f, 0.03092f, -0.00693f), new Vector3(0f, 0f, 0f), new Vector3(1f, 1f, 1f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Molotov, "pelvis", new Vector3(-0.00357f, 7E-05f, 0.0001f), new Vector3(11.14489f, 324.7947f, 171.9088f), new Vector3(0.00345f, 0.00345f, 0.00345f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.MultiShopCard, "pelvis", new Vector3(0.00342f, -0.00022f, -0.00111f), new Vector3(299.3113f, 114.3793f, 169.3375f), new Vector3(0.00875f, 0.00875f, 0.00875f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.QuestVolatileBattery, "chest", new Vector3(0.0007f, 0.0029f, -0.00438f), new Vector3(18.87952f, 354.2888f, 0f), new Vector3(0.00589f, 0.00589f, 0.00589f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Recycle, "stomach", new Vector3(0.00088f, 0.00101f, -0.0021f), new Vector3(359.0405f, 68.55731f, 329.7736f), new Vector3(0.00122f, 0.00122f, 0.00122f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Saw, "base", new Vector3(-0.00232f, 0.03003f, -0.01243f), new Vector3(90f, 0f, 0f), new Vector3(0.13406f, 0.13406f, 0.13406f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Scanner, "chest", new Vector3(-0.00395f, 0.00262f, -0.00108f), new Vector3(306.9449f, 193.1417f, 152.7124f), new Vector3(0.00443f, 0.00443f, 0.00443f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.TeamWarCry, "thigh.r", new Vector3(0.00231f, 0.00054f, 0.00174f), new Vector3(337.901f, 7.82693f, 202.6201f), new Vector3(0.00066f, 0.00066f, 0.00066f), (LimbFlags)0);
		NewIDRS((Object)(object)Equipment.Tonic, "thigh.l", new Vector3(-0.0004f, 0.00064f, 0.00192f), new Vector3(356.2459f, 9.14415f, 156.6698f), new Vector3(0.00437f, 0.00437f, 0.00437f), (LimbFlags)0);
		itemDisplayRuleSet.keyAssetRuleGroups = itemDisplayRules.ToArray();
		itemDisplayRuleSet.GenerateRuntimeValuesAsync();
	}

	private static void NewDualIDRS(Object obj, string childName, Vector3 localPos, Vector3 localAngles, Vector3 localScale, string childName2, Vector3 localPos2, Vector3 localAngles2, Vector3 localScale2, LimbFlags flags = 0)
	{
		//IL_0034: Unknown result type (might be due to invalid IL or missing references)
		//IL_0046: Unknown result type (might be due to invalid IL or missing references)
		//IL_0058: Unknown result type (might be due to invalid IL or missing references)
		//IL_0059: Unknown result type (might be due to invalid IL or missing references)
		//IL_005a: Unknown result type (might be due to invalid IL or missing references)
		//IL_005c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0060: Unknown result type (might be due to invalid IL or missing references)
		//IL_0065: Unknown result type (might be due to invalid IL or missing references)
		//IL_006f: 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_0073: Unknown result type (might be due to invalid IL or missing references)
		//IL_0075: Unknown result type (might be due to invalid IL or missing references)
		//IL_0079: Unknown result type (might be due to invalid IL or missing references)
		//IL_007e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0088: Unknown result type (might be due to invalid IL or missing references)
		//IL_008a: Unknown result type (might be due to invalid IL or missing references)
		//IL_008f: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e8: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ef: 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_00ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_0101: Unknown result type (might be due to invalid IL or missing references)
		//IL_0103: Unknown result type (might be due to invalid IL or missing references)
		//IL_0105: Unknown result type (might be due to invalid IL or missing references)
		//IL_0109: Unknown result type (might be due to invalid IL or missing references)
		//IL_010e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0118: Unknown result type (might be due to invalid IL or missing references)
		//IL_011a: Unknown result type (might be due to invalid IL or missing references)
		//IL_011f: Unknown result type (might be due to invalid IL or missing references)
		ItemDef val = (ItemDef)(object)((obj is ItemDef) ? obj : null);
		EquipmentDef val2 = (EquipmentDef)(object)((obj is EquipmentDef) ? obj : null);
		if ((Object)(object)val != (Object)null)
		{
			GameObject equipDef = LoadDisplay((Object)(object)val);
			AssetReferenceGameObject reference = LoadAssetReference((Object)(object)val);
			itemDisplayRules.Add(new KeyAssetRuleGroup
			{
				keyAsset = (Object)(object)val,
				displayRuleGroup = new DisplayRuleGroup
				{
					rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2]
					{
						newDisplayRule(childName, equipDef, localPos, localAngles, localScale, flags, reference),
						newDisplayRule(childName2, equipDef, localPos2, localAngles2, localScale2, flags, reference)
					}
				}
			});
		}
		else if ((Object)(object)val2 != (Object)null)
		{
			GameObject equipDef2 = LoadDisplay((Object)(object)val2);
			AssetReferenceGameObject reference2 = LoadAssetReference((Object)(object)val2);
			itemDisplayRules.Add(new KeyAssetRuleGroup
			{
				keyAsset = (Object)(object)val2,
				displayRuleGroup = new DisplayRuleGroup
				{
					rules = (ItemDisplayRule[])(object)new ItemDisplayRule[2]
					{
						newDisplayRule(childName, equipDef2, localPos, localAngles, localScale, flags, reference2),
						newDisplayRule(childName2, equipDef2, localPos2, localAngles2, localScale2, flags, reference2)
					}
				}
			});
		}
	}

	internal static ItemDisplayRule newDisplayRule(string childName, GameObject equipDef, Vector3 localPos, Vector3 localAngles, Vector3 localScale, LimbFlags flags, AssetReferenceGameObject reference)
	{
		//IL_0003: Unknown result type (might be due to invalid IL or missing references)
		//IL_000c: Unknown result type (might be due to invalid IL or missing references)
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_002d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0034: Unknown result type (might be due to invalid IL or missing references)
		//IL_0035: Unknown result type (might be due to invalid IL or missing references)
		//IL_003c: Unknown result type (might be due to invalid IL or missing references)
		//IL_003e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0045: Unknown result type (might be due to invalid IL or missing references)
		//IL_0047: Unknown result type (might be due to invalid IL or missing references)
		//IL_004c: Unknown result type (might be due to invalid IL or missing references)
		//IL_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_004f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0052: Unknown result type (might be due to invalid IL or missing references)
		ItemDisplayRule result = default(ItemDisplayRule);
		result.ruleType = (ItemDisplayRuleType)0;
		result.followerPrefab = equipDef;
		result.followerPrefabAddress = reference;
		result.childName = childName;
		result.localPos = localPos;
		result.localAngles = localAngles;
		result.localScale = localScale;
		result.limbMask = flags;
		return result;
	}

	private static void NewIDRS(Object obj, string childName, Vector3 localPos, Vector3 localAngles, Vector3 localScale, LimbFlags flags = 0)
	{
		//IL_00c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0119: Unknown result type (might be due to invalid IL or missing references)
		//IL_011a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0121: Unknown result type (might be due to invalid IL or missing references)
		//IL_0122: Unknown result type (might be due to invalid IL or missing references)
		//IL_0129: Unknown result type (might be due to invalid IL or missing references)
		//IL_012b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0132: Unknown result type (might be due to invalid IL or missing references)
		//IL_0134: Unknown result type (might be due to invalid IL or missing references)
		//IL_0139: Unknown result type (might be due to invalid IL or missing references)
		//IL_013b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0145: Unknown result type (might be due to invalid IL or missing references)
		//IL_0147: Unknown result type (might be due to invalid IL or missing references)
		//IL_014c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0025: Unknown result type (might be due to invalid IL or missing references)
		//IL_0037: Unknown result type (might be due to invalid IL or missing references)
		//IL_0049: Unknown result type (might be due to invalid IL or missing references)
		//IL_0052: Unknown result type (might be due to invalid IL or missing references)
		//IL_007b: Unknown result type (might be due to invalid IL or missing references)
		//IL_007c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0083: Unknown result type (might be due to invalid IL or missing references)
		//IL_0084: Unknown result type (might be due to invalid IL or missing references)
		//IL_008b: Unknown result type (might be due to invalid IL or missing references)
		//IL_008d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0094: Unknown result type (might be due to invalid IL or missing references)
		//IL_0096: Unknown result type (might be due to invalid IL or missing references)
		//IL_009b: Unknown result type (might be due to invalid IL or missing references)
		//IL_009d: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ae: Unknown result type (might be due to invalid IL or missing references)
		ItemDef val = (ItemDef)(object)((obj is ItemDef) ? obj : null);
		EquipmentDef val2 = (EquipmentDef)(object)((obj is EquipmentDef) ? obj : null);
		if ((Object)(object)val != (Object)null)
		{
			itemDisplayRules.Add(new KeyAssetRuleGroup
			{
				keyAsset = (Object)(object)val,
				displayRuleGroup = new DisplayRuleGroup
				{
					rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1]
					{
						new ItemDisplayRule
						{
							ruleType = (ItemDisplayRuleType)0,
							followerPrefab = LoadDisplay((Object)(object)val),
							followerPrefabAddress = LoadAssetReference((Object)(object)val),
							childName = childName,
							localPos = localPos,
							localAngles = localAngles,
							localScale = localScale,
							limbMask = flags
						}
					}
				}
			});
		}
		else
		{
			itemDisplayRules.Add(new KeyAssetRuleGroup
			{
				keyAsset = (Object)(object)val2,
				displayRuleGroup = new DisplayRuleGroup
				{
					rules = (ItemDisplayRule[])(object)new ItemDisplayRule[1]
					{
						new ItemDisplayRule
						{
							ruleType = (ItemDisplayRuleType)0,
							followerPrefab = LoadDisplay((Object)(object)val2),
							followerPrefabAddress = LoadAssetReference((Object)(object)val2),
							childName = childName,
							localPos = localPos,
							localAngles = localAngles,
							localScale = localScale,
							limbMask = flags
						}
					}
				}
			});
		}
	}

	internal static AssetReferenceGameObject LoadAssetReference(Object obj)
	{
		if (obj != (Object)null)
		{
			ItemDef val = (ItemDef)(object)((obj is ItemDef) ? obj : null);
			EquipmentDef val2 = (EquipmentDef)(object)((obj is EquipmentDef) ? obj : null);
			if ((Object)(object)val != (Object)null)
			{
				if (itemDisplayPrefabs.ContainsKey((Object)(object)val))
				{
					return itemDisplayAssetRefs[(Object)(object)val];
				}
			}
			else if ((Object)(object)val2 != (Object)null && itemDisplayPrefabs.ContainsKey((Object)(object)val2))
			{
				return itemDisplayAssetRefs[(Object)(object)val2];
			}
		}
		return null;
	}

	internal static GameObject LoadDisplay(Object obj)
	{
		if (obj != (Object)null)
		{
			ItemDef val = (ItemDef)(object)((obj is ItemDef) ? obj : null);
			EquipmentDef val2 = (EquipmentDef)(object)((obj is EquipmentDef) ? obj : null);
			if ((Object)(object)val != (Object)null)
			{
				if (itemDisplayPrefabs.ContainsKey((Object)(object)val) && Object.op_Implicit((Object)(object)itemDisplayPrefabs[(Object)(object)val]))
				{
					return itemDisplayPrefabs[(Object)(object)val];
				}
			}
			else if ((Object)(object)val2 != (Object)null && itemDisplayPrefabs.ContainsKey((Object)(object)val2) && Object.op_Implicit((Object)(object)itemDisplayPrefabs[(Object)(object)val2]))
			{
				return itemDisplayPrefabs[(Object)(object)val2];
			}
		}
		return null;
	}
}
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInPlugin("com.Dragonyck.Tyrant", "Tyrant", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[NetworkCompatibility(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class MainPlugin : BaseUnityPlugin
{
	public const string MODUID = "com.Dragonyck.Tyrant";

	public const string MODNAME = "Tyrant";

	public const string VERSION = "1.0.0";

	public const string SURVIVORNAME = "Tyrant";

	public const string SURVIVORNAMEKEY = "TYRANT";

	public static GameObject characterPrefab;

	public static readonly Color characterColor = Color32.op_Implicit(new Color32((byte)125, (byte)125, byte.MaxValue, byte.MaxValue));

	internal static SkillDef punch;

	internal static SkillDef empowered;

	private void Awake()
	{
		Assets.PopulateAssets();
		Prefabs.CreatePrefabs();
		CreatePrefab();
		RegisterStates();
		RegisterCharacter();
		Hook.Hooks();
		ItemDisplays.RegisterDisplays();
	}

	internal static void CreatePrefab()
	{
		//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_00c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c6: Expected O, but got Unknown
		//IL_00f1: 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_0113: Unknown result type (might be due to invalid IL or missing references)
		//IL_0123: Unknown result type (might be due to invalid IL or missing references)
		//IL_0129: Expected O, but got Unknown
		//IL_0150: Unknown result type (might be due to invalid IL or missing references)
		//IL_0161: Unknown result type (might be due to invalid IL or missing references)