Decompiled source of Shawesomes Divine Armaments v5.0.2
Shawesomes_Divine_Armaments.dll
Decompiled 5 days ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Configuration; using BepInEx.Logging; using CustomEffects; using HarmonyLib; using Jotunn; using Jotunn.Configs; using Jotunn.Entities; using Jotunn.Managers; using Jotunn.Utils; using Shawesomes_Divine_Armaments; using UnityEngine; using UnityEngine.SceneManagement; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("CapeofShawesome")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CapeofShawesome")] [assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("e0e26f8d-a8f0-41a7-a502-951624fa6f31")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] public static class Utils2 { private const BindingFlags bindingFlags = BindingFlags.Public; public static T GetCopyOf<T>(this Component comp, T other) where T : Component { Type type = ((object)comp).GetType(); if (type != ((object)other).GetType()) { return default(T); } List<Type> list = new List<Type>(); Type baseType = type.BaseType; while (baseType != null && !(baseType == typeof(MonoBehaviour))) { list.Add(baseType); baseType = baseType.BaseType; } IEnumerable<PropertyInfo> enumerable = type.GetProperties(BindingFlags.Public); foreach (Type item in list) { enumerable = enumerable.Concat(item.GetProperties(BindingFlags.Public)); } enumerable = from property in enumerable where !(type == typeof(Rigidbody)) || !(property.Name == "inertiaTensor") where !property.CustomAttributes.Any((CustomAttributeData attribute) => attribute.AttributeType == typeof(ObsoleteAttribute)) select property; foreach (PropertyInfo pinfo in enumerable) { if (pinfo.CanWrite && !enumerable.Any((PropertyInfo e) => e.Name == $"shared{char.ToUpper(pinfo.Name[0])}{pinfo.Name.Substring(1)}")) { try { pinfo.SetValue(comp, pinfo.GetValue(other, null), null); } catch { } } } IEnumerable<FieldInfo> enumerable2 = type.GetFields(BindingFlags.Public); foreach (FieldInfo finfo in enumerable2) { foreach (Type item2 in list) { if (!enumerable2.Any((FieldInfo e) => e.Name == $"shared{char.ToUpper(finfo.Name[0])}{finfo.Name.Substring(1)}")) { enumerable2 = enumerable2.Concat(item2.GetFields(BindingFlags.Public)); } } } foreach (FieldInfo item3 in enumerable2) { item3.SetValue(comp, item3.GetValue(other)); } enumerable2 = enumerable2.Where((FieldInfo field) => field.CustomAttributes.Any((CustomAttributeData attribute) => attribute.AttributeType == typeof(ObsoleteAttribute))); foreach (FieldInfo item4 in enumerable2) { item4.SetValue(comp, item4.GetValue(other)); } return (T)(object)((comp is T) ? comp : null); } public static T AddComponent<T>(this GameObject go, T toAdd) where T : Component { return go.AddComponent(((object)toAdd).GetType()).GetCopyOf(toAdd); } public static void updateSKMesh(Transform parent, SkinnedMeshRenderer skmesh) { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) List<ParticleSystem> list = ((Component)parent).GetComponentsInChildren<ParticleSystem>().ToList(); foreach (ParticleSystem item in list) { ShapeModule shape = item.shape; if (!Object.op_Implicit((Object)(object)((ShapeModule)(ref shape)).skinnedMeshRenderer)) { ShapeModule shape2 = item.shape; ((ShapeModule)(ref shape2)).skinnedMeshRenderer = skmesh; } } } public static SkinnedMeshRenderer createSkMeshRen(Transform objectTrans, Transform attach_skin) { SkinnedMeshRenderer val = default(SkinnedMeshRenderer); if (!((Component)objectTrans).gameObject.TryGetComponent<SkinnedMeshRenderer>(ref val)) { val = ((Component)objectTrans).gameObject.AddComponent<SkinnedMeshRenderer>(); } val.rootBone = attach_skin.Find("Armature").Find("Hips"); return val; } public static Mesh createBonedMesh(Mesh newmesh, Mesh copymesh, Vector3 pos, Vector3 rot, Vector3 scale, bool stretch = true) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_0004: Unknown result type (might be due to invalid IL or missing references) Mesh newmesh2 = AlignedSkinMesh(newmesh, pos, rot, scale); return copyBoneWeights(newmesh2, copymesh, stretch); } public static Mesh AlignedSkinMesh(Mesh meshtomodify, Vector3 pos, Vector3 rot, Vector3 scale) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_002d: 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_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_007d: 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_008a: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) Mesh val = Object.Instantiate<Mesh>(meshtomodify); List<Vector3> list = new List<Vector3>(); for (int i = 0; i < meshtomodify.vertices.Count(); i++) { Vector3 val2 = Quaternion.Euler(rot) * new Vector3(meshtomodify.vertices[i].x * scale.x, meshtomodify.vertices[i].y * scale.y, meshtomodify.vertices[i].z * scale.z); list.Add(new Vector3(val2.x + pos.x, val2.y + pos.y, val2.z + pos.z)); } val.SetVertices(list); ((Object)val).name = "copymesh"; return val; } public static Mesh copyBoneWeights(Mesh newmesh, Mesh copymesh, bool stretch = true) { //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_0078: 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_008c: Unknown result type (might be due to invalid IL or missing references) //IL_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: 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_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_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) BoneWeight[] array = (BoneWeight[])(object)new BoneWeight[newmesh.vertexCount]; newmesh.bindposes = copymesh.bindposes; if (stretch) { for (int i = 0; i < newmesh.vertexCount; i++) { int closestVert = getClosestVert(newmesh.vertices[i], copymesh.vertices); array[i] = copymesh.boneWeights[closestVert]; } } else { Vector3 val = Vector3.zero; for (int j = 0; j < newmesh.vertexCount; j++) { val += newmesh.vertices[j]; } int closestVert2 = getClosestVert(val / (float)newmesh.vertexCount, copymesh.vertices); for (int k = 0; k < newmesh.vertexCount; k++) { array[k] = copymesh.boneWeights[closestVert2]; } } newmesh.boneWeights = array; return newmesh; } public static int getClosestVert(Vector3 vert, Vector3[] basemesh) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) float num = 99999f; int result = -1; for (int i = 0; i < basemesh.Length; i++) { float num2 = Vector3.Distance(vert, basemesh[i]); if (num2 < num) { num = num2; result = i; } } return result; } public static void alignMeshAllChidren(Transform objectTrans, Transform basetransform) { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_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_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0077: 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_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) MeshFilter[] componentsInChildren = ((Component)objectTrans).GetComponentsInChildren<MeshFilter>(); for (int i = 0; i < componentsInChildren.Length; i++) { Transform val = ((Component)componentsInChildren[i]).transform; Vector3 val2 = val.localPosition; Vector3 val3 = ((Component)val).transform.localEulerAngles; Vector3 val4 = ((Component)val).transform.localScale; for (int j = 0; j < 20; j++) { if (!((Object)(object)val.parent != (Object)(object)objectTrans)) { break; } val = val.parent; val4 = Vector3.Scale(val4, val.localScale); val2 = Vector3.Scale(val4, val2) + val.localPosition; val3 += val.localEulerAngles; } SkinnedMeshRenderer val5 = createSkMeshRen(((Component)componentsInChildren[i]).transform, basetransform); val5.sharedMesh = AlignedSkinMesh(val5.sharedMesh, val2, val3, val4); } } public static void boneMeshAllChidren(Transform objectTrans, Transform basetransform, Mesh baseMesh, bool stretch = true) { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_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_0077: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: 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_00bc: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00dd: Unknown result type (might be due to invalid IL or missing references) //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) Transform val = basetransform.Find("Armature").Find("Hips"); MeshFilter[] componentsInChildren = ((Component)objectTrans).GetComponentsInChildren<MeshFilter>(); for (int i = 0; i < componentsInChildren.Length; i++) { Transform val2 = ((Component)componentsInChildren[i]).transform; Vector3 val3 = val2.localPosition; Vector3 val4 = ((Component)val2).transform.localEulerAngles; Vector3 val5 = ((Component)val2).transform.localScale; for (int j = 0; j < 20; j++) { if (!((Object)(object)val2.parent != (Object)(object)objectTrans)) { break; } val2 = val2.parent; val5 = Vector3.Scale(val5, val2.localScale); val3 = Vector3.Scale(val5, val3) + val2.localPosition; val4 += val2.localEulerAngles; } val3 += new Vector3(0f, 0f - val.localPosition.y, 0f - val.localPosition.z); SkinnedMeshRenderer val6 = createSkMeshRen(((Component)componentsInChildren[i]).transform, basetransform); val6.sharedMesh = createBonedMesh(val6.sharedMesh, baseMesh, val3, val4, val5, stretch); } } public static void setStyleTex(Material mat, Texture2D styles) { mat.EnableKeyword("_USESTYLES_ON"); mat.SetFloat("_Style", 0f); mat.SetFloat("_UseStyles", 1f); mat.SetTexture("_StyleTex", (Texture)(object)styles); } public static Mesh createScaledCape(Mesh originalMesh, Vector3 scaleTop, Vector3 scaleBot, Vector3 offset = default(Vector3)) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005e: 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_0077: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00ea: 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_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0112: Unknown result type (might be due to invalid IL or missing references) //IL_011e: Unknown result type (might be due to invalid IL or missing references) //IL_0125: 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_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_013f: 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_014d: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_016c: Unknown result type (might be due to invalid IL or missing references) //IL_0173: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_0181: Unknown result type (might be due to invalid IL or missing references) //IL_0188: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0196: Unknown result type (might be due to invalid IL or missing references) Vector3 zero = Vector3.zero; Vector3 one = Vector3.one; Mesh val = Object.Instantiate<Mesh>(originalMesh); List<Vector3> list = new List<Vector3>(); for (int i = 0; i < originalMesh.vertices.Count(); i++) { Vector3 val2 = originalMesh.vertices[i]; ((Vector3)(ref zero))..ctor(Mathf.Max(zero.x, val2.x), Mathf.Max(zero.y, val2.y), Mathf.Max(zero.z, val2.z)); ((Vector3)(ref one))..ctor(Mathf.Min(one.x, val2.x), Mathf.Min(one.y, val2.y), Mathf.Min(one.z, val2.z)); } Vector3 val4 = default(Vector3); for (int j = 0; j < originalMesh.vertices.Count(); j++) { Vector3 val3 = originalMesh.vertices[j]; float num = val3.x * (scaleBot.x + (scaleTop.x - scaleBot.x) * (val3.z - one.z) / (zero.z - one.z)); float num2 = val3.y * (scaleBot.y + (scaleTop.y - scaleBot.y) * (val3.z - one.z) / (zero.z - one.z)); ((Vector3)(ref val4))..ctor(num, num2, val3.z); list.Add(new Vector3(val4.x + offset.x, val4.y + offset.y, val4.z + offset.z)); } val.SetVertices(list); ((Object)val).name = "scaled_" + ((Object)val).name; return val; } public static void resolveMocksinChildren(Transform parentTrans) { //IL_0062: 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_007c: Unknown result type (might be due to invalid IL or missing references) for (int num = parentTrans.childCount - 1; num >= 0; num--) { Transform child = parentTrans.GetChild(num); if (((Object)child).name.StartsWith("ATmock_")) { GameObject val = getmockGo(((Object)child).name, parentTrans); if (Object.op_Implicit((Object)(object)val)) { Transform val2 = global::Shawesomes_Divine_Armaments.Shawesomes_Divine_Armaments.CopyIntoParent<Transform>(val.transform, parentTrans); val2.localPosition = child.localPosition; val2.localEulerAngles = child.localEulerAngles; val2.localScale = child.localScale; ((Object)val2).name = ((Object)child).name.Split(new char[1] { '.' })[0]; child.parent = null; } } } } public static GameObject getmockGo(string mockname, Transform newParent) { string[] array = mockname.Split(new char[1] { '.' }); if (!array[0].StartsWith("ATmock_")) { return null; } Transform transform; try { transform = PrefabManager.Instance.GetPrefab(array[0].Replace("ATmock_", "")).transform; } catch { return null; } for (int i = 1; i < array.Length; i++) { try { transform = ((Component)transform.Find(array[i])).transform; } catch { } } return ((Component)transform).gameObject; } } public class CraftingConditions : MonoBehaviour { public GameObject Root; public static List<ItemData> ConditionItems = new List<ItemData>(); public static string[] thunderstorm_prefNname = new string[2] { "Thunderstorm_Item", "Active Thunderstorm" }; public static string[] tamednearby_prefNname = new string[2] { "HasTamed_Item", "Tamed Creatures Nearby" }; public static string[] refinernearby_prefNname = new string[2] { "HasRefiner_Item", "Refineries Nearby" }; public static string[] onfire_prefNname = new string[2] { "OnFire_Item", "Is on Fire... in Ashlands" }; public static string[] freezing_prefNname = new string[2] { "Freezing_Item", "Is Freezing in Deep North" }; [HarmonyPostfix] [HarmonyPatch(typeof(Inventory), "CountItems")] private static void PostfixCountItems(Inventory __instance, ref int __result, string name, int quality, bool matchWorldLevel) { if (ConditionItems.Exists((ItemData item) => item.m_shared.m_name == name)) { __result += hasCondition(name, __instance); } } private static int hasCondition(string name, Inventory inv) { //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_00f6: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) switch (name) { case "Active Thunderstorm": { int num = ((EnvMan.instance.GetCurrentEnvironment().m_name == Weather.ThunderStorm) ? 33 : 0); num += ((EnvMan.instance.GetCurrentEnvironment().m_name == Weather.ClearThunderStorm) ? 33 : 0); num += ((EnvMan.instance.GetCurrentEnvironment().m_name == Weather.EikthyrsThunderstorm) ? 33 : 0); return num + ((EnvMan.instance.GetCurrentEnvironment().m_name == "Mistlands_thunder") ? 33 : 0); } case "Tamed Creatures Nearby": { Vector3 position2 = ((Component)Player.m_localPlayer).transform.position; return getTamedCloseto(position2, 10f); } case "Refineries Nearby": { Vector3 position = ((Component)Player.m_localPlayer).transform.position; return getSmelters(position, 20f); } default: if (name == onfire_prefNname[1]) { return getOnFire(Player.m_localPlayer); } if (name == freezing_prefNname[1]) { return getFreezing(Player.m_localPlayer); } return 0; } } public static int getTamedCloseto(Vector3 center, float maxdist) { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) List<Character> allCharacters = Character.GetAllCharacters(); int num = 0; foreach (Character item in allCharacters) { if (Vector3.Distance(((Component)item).transform.position, center) < maxdist && item.m_tamed && ((Component)item).GetComponent<ZNetView>().IsValid()) { num++; } } return num; } public static int getSmelters(Vector3 center, float maxdist) { //IL_0017: Unknown result type (might be due to invalid IL or missing references) int num = 0; int mask = LayerMask.GetMask(new string[1] { "piece_nonsolid" }); Collider[] array = Physics.OverlapSphere(center, maxdist, mask, (QueryTriggerInteraction)2); List<GameObject> list = new List<GameObject>(); Collider[] array2 = array; foreach (Collider val in array2) { if (!Object.op_Implicit((Object)(object)((Component)val).transform.parent)) { continue; } GameObject gameObject = ((Component)((Component)val).transform.parent).gameObject; if (((Object)gameObject).name.StartsWith("eitrrefinery") && Object.op_Implicit((Object)(object)gameObject.GetComponent<Smelter>()) && !list.Contains(gameObject)) { list.Add(gameObject); if (((Component)gameObject.transform.Find("_enabled")).gameObject.activeSelf) { num++; } } } return num; } public static int getOnFire(Player plr) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Invalid comparison between Unknown and I4 //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Invalid comparison between Unknown and I4 //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Invalid comparison between Unknown and I4 //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_00fd: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Invalid comparison between Unknown and I4 //IL_0117: 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_011f: Invalid comparison between Unknown and I4 List<StatusEffect> statusEffects = ((Character)plr).m_seman.m_statusEffects; float num = 0f; float num2 = 1f; if ((int)EnvMan.instance.m_currentBiome != 32) { return 0; } foreach (StatusEffect item in statusEffects) { Type type = ((object)item).GetType(); if (type == typeof(SE_Burning)) { SE_Burning val = (SE_Burning)(object)((item is SE_Burning) ? item : null); num += val.m_fireDamagePerHit; } else { if (!(type == typeof(SE_Stats))) { continue; } SE_Stats val2 = (SE_Stats)(object)((item is SE_Stats) ? item : null); foreach (DamageModPair mod in val2.m_mods) { if ((int)mod.m_type == 32) { if ((int)mod.m_modifier == 1) { num2 *= 1.8f; } else if ((int)mod.m_modifier == 5) { num2 *= 3.6f; } else if ((int)mod.m_modifier == 3) { num += 10f; } } } } } return (int)(num * num2); } public static int getFreezing(Player plr) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0025: Invalid comparison between Unknown and I4 //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Invalid comparison between Unknown and I4 //IL_00e2: 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_00ea: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Invalid comparison between Unknown and I4 //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_0109: Invalid comparison between Unknown and I4 //IL_011d: 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_0125: Invalid comparison between Unknown and I4 List<StatusEffect> statusEffects = ((Character)plr).m_seman.m_statusEffects; float num = 0f; float num2 = 1f; if ((int)EnvMan.instance.m_currentBiome != 64) { return 0; } foreach (StatusEffect item in statusEffects) { Type type = ((object)item).GetType(); if (type == typeof(SE_Frost)) { SE_Frost val = (SE_Frost)(object)((item is SE_Frost) ? item : null); num += val.m_freezeTimePlayer / 3f; } else { if (!(type == typeof(SE_Stats))) { continue; } SE_Stats val2 = (SE_Stats)(object)((item is SE_Stats) ? item : null); if ((int)val2.m_hitType == 6) { num -= val2.m_healthPerTick; } foreach (DamageModPair mod in val2.m_mods) { if ((int)mod.m_type == 64) { if ((int)mod.m_modifier == 1) { num2 *= 1.8f; } else if ((int)mod.m_modifier == 5) { num2 *= 3.6f; } } } } } return (int)(num * num2); } [HarmonyPrefix] [HarmonyPatch(typeof(Player), "HaveRequirements", new Type[] { typeof(Recipe), typeof(bool), typeof(int), typeof(int) })] private static void PostfixHaveRequirementItems(Player __instance, Recipe recipe, bool discover, int qualityLevel) { bool flag = false; if (EnvMan.instance.GetCurrentEnvironment().m_name == Weather.ThunderStorm && !__instance.m_knownMaterial.Contains(thunderstorm_prefNname[1])) { __instance.m_knownMaterial.Add(thunderstorm_prefNname[1]); flag = true; } if (!__instance.m_knownMaterial.Contains(tamednearby_prefNname[1])) { __instance.m_knownMaterial.Add(tamednearby_prefNname[1]); flag = true; } if (!__instance.m_knownMaterial.Contains(refinernearby_prefNname[1])) { __instance.m_knownMaterial.Add(refinernearby_prefNname[1]); flag = true; } if (!__instance.m_knownMaterial.Contains(onfire_prefNname[1])) { __instance.m_knownMaterial.Add(onfire_prefNname[1]); flag = true; } if (!__instance.m_knownMaterial.Contains(freezing_prefNname[1])) { __instance.m_knownMaterial.Add(freezing_prefNname[1]); flag = true; } if (flag) { __instance.UpdateKnownRecipesList(); } } private void Awake() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Expected O, but got Unknown Root = new GameObject("CraftingConditions"); Root.transform.SetParent(global::Shawesomes_Divine_Armaments.Shawesomes_Divine_Armaments.Root.transform); Root.SetActive(false); Object.DontDestroyOnLoad((Object)(object)Root); global::Shawesomes_Divine_Armaments.Shawesomes_Divine_Armaments.logger.LogWarning((object)"in crafting condish awake"); } public static void setConditionItems() { addThunderstormCondition(); addHasTamedCondition(); addHasSmeltersCondition(); addOnFireCondition(); addFreezingCondition(); } private static void addThunderstormCondition() { //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Expected O, but got Unknown CustomItem item = ItemManager.Instance.GetItem(thunderstorm_prefNname[0]); if (item == null) { item = new CustomItem(thunderstorm_prefNname[0], "Thunderstone"); ItemManager.Instance.AddItem(item); ItemData itemData = item.ItemDrop.m_itemData; itemData.m_shared.m_name = thunderstorm_prefNname[1]; itemData.m_shared.m_description = "A thunderstorm is occurring"; itemData.m_shared.m_icons[0] = global::Shawesomes_Divine_Armaments.Shawesomes_Divine_Armaments.ActiveTStormIcon; ConditionItems.Add(itemData); } } private static void addHasTamedCondition() { //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Expected O, but got Unknown CustomItem item = ItemManager.Instance.GetItem(tamednearby_prefNname[0]); if (item == null) { item = new CustomItem(tamednearby_prefNname[0], "TrophyBoar"); ItemManager.Instance.AddItem(item); ItemData itemData = item.ItemDrop.m_itemData; itemData.m_shared.m_name = tamednearby_prefNname[1]; itemData.m_shared.m_description = "You have tamed creatures nearby"; ConditionItems.Add(itemData); } } private static void addHasSmeltersCondition() { //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Expected O, but got Unknown CustomItem item = ItemManager.Instance.GetItem(refinernearby_prefNname[0]); if (item == null) { item = new CustomItem(refinernearby_prefNname[0], "Eitr"); ItemManager.Instance.AddItem(item); ItemData itemData = item.ItemDrop.m_itemData; itemData.m_shared.m_name = refinernearby_prefNname[1]; itemData.m_shared.m_description = "You have refineries nearby"; GameObject prefab = PrefabManager.Instance.GetPrefab("eitrrefinery"); itemData.m_shared.m_icons[0] = prefab.GetComponent<Piece>().m_icon; ConditionItems.Add(itemData); } } private static void addOnFireCondition() { //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Expected O, but got Unknown CustomItem item = ItemManager.Instance.GetItem(onfire_prefNname[0]); if (item == null) { item = new CustomItem(onfire_prefNname[0], "TrophySurtling"); ItemManager.Instance.AddItem(item); ItemData itemData = item.ItemDrop.m_itemData; itemData.m_shared.m_name = onfire_prefNname[1]; itemData.m_shared.m_description = "You are on fire while in Ahslands"; GameObject prefab = PrefabManager.Instance.GetPrefab("bonfire"); itemData.m_shared.m_icons[0] = prefab.GetComponent<Piece>().m_icon; ConditionItems.Add(itemData); } } private static void addFreezingCondition() { //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Expected O, but got Unknown CustomItem item = ItemManager.Instance.GetItem(freezing_prefNname[0]); if (item == null) { item = new CustomItem(freezing_prefNname[0], "FreezeGland"); ItemManager.Instance.AddItem(item); ItemData itemData = item.ItemDrop.m_itemData; itemData.m_shared.m_name = freezing_prefNname[1]; itemData.m_shared.m_description = "You are Freezing while in the Deep North"; itemData.m_shared.m_icons[0] = global::Shawesomes_Divine_Armaments.Shawesomes_Divine_Armaments.FreezingIcon; ConditionItems.Add(itemData); } } } public class ActiveClothMesh : MonoBehaviour { public Mesh clothmesh = new Mesh(); public Cloth clothref; public float roughness = 0.001f; private float lastTime = 0f; public List<ParticleSystem> partsys; private void Start() { //IL_0099: 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_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) if (!Object.op_Implicit((Object)(object)clothref)) { clothref = ((Component)((Component)this).transform.parent).GetComponentInChildren<Cloth>(); } ((Object)clothmesh).name = "ClothMesh"; clothmesh.vertices = clothref.vertices; clothmesh.normals = clothref.normals; partsys = ((Component)this).gameObject.GetComponentsInChildren<ParticleSystem>().ToList(); foreach (ParticleSystem partsy in partsys) { ShapeModule shape = partsy.shape; if (!Object.op_Implicit((Object)(object)((ShapeModule)(ref shape)).skinnedMeshRenderer)) { ShapeModule shape2 = partsy.shape; ((ShapeModule)(ref shape2)).skinnedMeshRenderer = ((Component)this).gameObject.GetComponent<SkinnedMeshRenderer>(); } } } private void Update() { if (Time.time - lastTime > roughness) { if (Object.op_Implicit((Object)(object)clothref)) { clothmesh.vertices = clothref.vertices; clothmesh.normals = clothref.normals; } else { clothref = ((Component)((Component)this).transform.parent).GetComponentInChildren<Cloth>(); } lastTime = Time.time; } } } namespace CustomEffects { internal class InvisCloak { private static string invisCloakName = "ninebytecloak"; public static bool overwriteParticles = false; [HarmonyPostfix] [HarmonyPatch(typeof(Player), "SetCrouch")] private static void playerCrouch(Player __instance, bool crouch) { bool flag = false; if (((Humanoid)__instance).m_shoulderItem != null && (Object)(object)((Humanoid)__instance).m_shoulderItem.m_dropPrefab != (Object)null && ((Object)((Humanoid)__instance).m_shoulderItem.m_dropPrefab).name == invisCloakName) { flag = true; } DA_CustomEffects dA_CustomEffects = default(DA_CustomEffects); if (!((Component)__instance).gameObject.TryGetComponent<DA_CustomEffects>(ref dA_CustomEffects)) { dA_CustomEffects = ((Component)__instance).gameObject.AddComponent<DA_CustomEffects>(); } dA_CustomEffects.UpdateVis(); updateEffect((Character)(object)__instance, crouch && flag, dA_CustomEffects); } [HarmonyPostfix] [HarmonyPatch(typeof(VisEquipment), "UpdateVisuals")] private static void visEquipUpdate(VisEquipment __instance) { DA_CustomEffects dA_CustomEffects = default(DA_CustomEffects); Player val = default(Player); if (((Component)__instance).gameObject.TryGetComponent<DA_CustomEffects>(ref dA_CustomEffects) && dA_CustomEffects.UpdateVis() && ((Component)__instance).TryGetComponent<Player>(ref val)) { if (((Humanoid)val).m_shoulderItem != null && (Object)(object)((Humanoid)val).m_shoulderItem.m_dropPrefab != (Object)null && ((Object)((Humanoid)val).m_shoulderItem.m_dropPrefab).name == invisCloakName) { updateEffect((Character)(object)val, ((Character)val).IsCrouching(), dA_CustomEffects); } else { updateEffect((Character)(object)val, isInvis: false, dA_CustomEffects); } } } public static void updateEffect(Character character, bool isInvis, DA_CustomEffects da) { da.SetVis(isInvis); } } public class DA_CustomEffects : MonoBehaviour { private Dictionary<Renderer, Material> originalMats = new Dictionary<Renderer, Material>(); private Material baseMat; private Material particleMat; private void Awake() { Renderer[] componentsInChildren = ((Component)this).gameObject.GetComponentsInChildren<Renderer>(); Transform child = ZNetScene.instance.GetPrefab("DragonTear").transform.GetChild(0); baseMat = global::Shawesomes_Divine_Armaments.Shawesomes_Divine_Armaments.invisMat; particleMat = ((Component)((Component)child).transform.GetChild(1)).GetComponent<Renderer>().material; Renderer[] array = componentsInChildren; foreach (Renderer val in array) { if (!originalMats.ContainsKey(val)) { originalMats.Add(val, val.material); } } } public bool UpdateVis() { bool result = false; Character val = default(Character); if (!((Component)this).gameObject.TryGetComponent<Character>(ref val)) { return result; } Renderer[] componentsInChildren = ((Component)this).gameObject.GetComponentsInChildren<Renderer>(); List<Renderer> list = new List<Renderer>(); foreach (KeyValuePair<Renderer, Material> originalMat in originalMats) { if (!componentsInChildren.Contains(originalMat.Key)) { result = true; list.Add(originalMat.Key); } } foreach (Renderer item in list) { originalMats.Remove(item); } Renderer[] array = componentsInChildren; foreach (Renderer val2 in array) { if (!originalMats.ContainsKey(val2)) { originalMats.Add(val2, val2.material); result = true; } } return result; } public void SetVis(bool isInvis) { foreach (KeyValuePair<Renderer, Material> originalMat in originalMats) { if (isInvis) { if (((object)originalMat.Key).GetType() == typeof(ParticleSystemRenderer)) { if (InvisCloak.overwriteParticles) { originalMat.Key.material = particleMat; } } else { originalMat.Key.material = baseMat; } } else { originalMat.Key.material = originalMat.Value; } } } } } namespace Shawesomes_Divine_Armaments { [BepInPlugin("Shawesome.Shawesomes_Divine_Armaments", "Shawesomes_Divine_Armaments", "5.0.2")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class Shawesomes_Divine_Armaments : BaseUnityPlugin { [HarmonyPatch(typeof(ObjectDB), "Awake")] private static class AddItems_Patch { private static void Postfix(ObjectDB __instance) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) Scene activeScene = SceneManager.GetActiveScene(); if (((Scene)(ref activeScene)).name == "main") { if (ZNet.instance.IsServer()) { harmonyLog.LogMessage((object)"Updating Recipes as Server2"); AddItemRecipes(); } AddEffectsToZNet(); } } } [HarmonyPatch(typeof(Terminal), "Awake")] private static class RegisterShawCommands { [Serializable] [CompilerGenerated] private sealed class <>c { public static readonly <>c <>9 = new <>c(); public static ConsoleEvent <>9__0_0; internal void <Postfix>b__0_0(ConsoleEventArgs args) { if (!Object.op_Implicit((Object)(object)Player.m_localPlayer)) { return; } foreach (StatusEffect statusEffect in ((Character)Player.m_localPlayer).GetSEMan().GetStatusEffects()) { Debug.Log((object)("name: " + ((Object)statusEffect).name + " hash: " + statusEffect.m_nameHash + " display: " + statusEffect.m_name)); } } } private static void Postfix() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Expected O, but got Unknown //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Expected O, but got Unknown object obj = <>c.<>9__0_0; if (obj == null) { ConsoleEvent val = delegate { if (!Object.op_Implicit((Object)(object)Player.m_localPlayer)) { return; } foreach (StatusEffect statusEffect in ((Character)Player.m_localPlayer).GetSEMan().GetStatusEffects()) { Debug.Log((object)("name: " + ((Object)statusEffect).name + " hash: " + statusEffect.m_nameHash + " display: " + statusEffect.m_name)); } }; <>c.<>9__0_0 = val; obj = (object)val; } ConsoleCommand val2 = new ConsoleCommand("list_status", "list out the names of status effects", (ConsoleEvent)obj, false, false, false, false, false, (ConsoleOptionsFetcher)null, false, false, false); } } [HarmonyPatch(typeof(Player), "SetMaxEitr")] private static class Player_SetMaxEitr_Patch { private static void Prefix(Player __instance, ref float eitr) { if (!((Object)(object)__instance != (Object)(object)Player.m_localPlayer)) { if (((Character)__instance).GetSEMan().HaveStatusEffect(StringExtensionMethods.GetStableHashCode("Potion_DivineElixir_Large"))) { eitr += 250f; } if (((Character)__instance).GetSEMan().HaveStatusEffect(StringExtensionMethods.GetStableHashCode("Caliburn_Blessing_SE"))) { eitr += 110f; } } } } [HarmonyPatch(typeof(Player), "SetMaxStamina")] private static class Player_SetMaxStamina_Patch { private static void Prefix(Player __instance, ref float stamina) { if (!((Object)(object)__instance != (Object)(object)Player.m_localPlayer)) { if (((Character)__instance).GetSEMan().HaveStatusEffect(StringExtensionMethods.GetStableHashCode("Potion_DivineElixir_Large"))) { stamina += 250f; } if (((Character)__instance).GetSEMan().HaveStatusEffect(StringExtensionMethods.GetStableHashCode("Caliburn_Blessing_SE"))) { stamina += 110f; } } } } [HarmonyPatch(typeof(Player), "SetMaxHealth")] private static class Player_SetMaxHealth_Patch { private static void Prefix(Player __instance, ref float health) { if (!((Object)(object)__instance != (Object)(object)Player.m_localPlayer)) { if (((Character)__instance).GetSEMan().HaveStatusEffect(StringExtensionMethods.GetStableHashCode("Potion_DivineElixir_Large"))) { health += 250f; } if (((Character)__instance).GetSEMan().HaveStatusEffect(StringExtensionMethods.GetStableHashCode("Caliburn_Blessing_SE"))) { health += 110f; } } } } [HarmonyPatch(typeof(ItemStyle), "Setup")] private static class ItemStyle_Setup_Patch { private static void Postfix(ItemStyle __instance, int style) { //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0172: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_01a1: Unknown result type (might be due to invalid IL or missing references) //IL_01a6: Unknown result type (might be due to invalid IL or missing references) //IL_01bf: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Unknown result type (might be due to invalid IL or missing references) //IL_0199: Unknown result type (might be due to invalid IL or missing references) IEquipmentVisual[] componentsInChildren = ((Component)((Component)__instance).transform.parent).GetComponentsInChildren<IEquipmentVisual>(); for (int i = 0; i < componentsInChildren.Length; i++) { if (((object)componentsInChildren[i]).GetType() != typeof(ItemStyle)) { continue; } IEquipmentVisual obj = componentsInChildren[i]; MonoBehaviour val = (MonoBehaviour)(object)((obj is MonoBehaviour) ? obj : null); if (!Object.op_Implicit((Object)(object)val)) { continue; } Material material = ((Component)val).GetComponent<Renderer>().material; material.SetFloat("_Style", (float)style); Color[] colorArray = material.GetColorArray("_StyleColors"); Color[] colorArray2 = material.GetColorArray("_StyleTints"); if (colorArray != null) { material.SetColor("_Color", colorArray[Math.Min(colorArray.Length - 1, style)]); } if (colorArray2 != null) { material.SetColor("_TintColor", colorArray2[Math.Min(colorArray2.Length - 1, style)]); } Color[] colorArray3 = material.GetColorArray("_StyleGradient0"); Color[] colorArray4 = material.GetColorArray("_StyleGradient1"); if (colorArray3 == null && colorArray4 == null) { continue; } ParticleSystem component = ((Component)val).GetComponent<ParticleSystem>(); if (Object.op_Implicit((Object)(object)component)) { ColorOverLifetimeModule colorOverLifetime = component.colorOverLifetime; MinMaxGradient color = ((ColorOverLifetimeModule)(ref colorOverLifetime)).color; GradientColorKey[] array = (GradientColorKey[])((MinMaxGradient)(ref color)).gradient.colorKeys.Clone(); if (colorArray3 != null) { array[0].color = colorArray3[style]; } if (colorArray4 != null) { array[1].color = colorArray4[style]; } color = ((ColorOverLifetimeModule)(ref colorOverLifetime)).color; Gradient gradient = ((MinMaxGradient)(ref color)).gradient; gradient.colorKeys = array; ((ColorOverLifetimeModule)(ref colorOverLifetime)).color = new MinMaxGradient(gradient); } } } } [HarmonyPatch(typeof(Game), "Awake")] private static class GameAwakePatch { private static void Prefix(Game __instance) { foreach (GameObject portal in portals) { __instance.m_portalPrefabs.Add(portal); } } } public Harmony harmony; public static GameObject Root; public static CraftingConditions craftcond; public string version = "1.0.0"; public static ManualLogSource logger; public static ManualLogSource harmonyLog; public static AssetBundle Shawcassets; public static Sprite FreezingIcon; public static Sprite ActiveTStormIcon; public static Material invisMat; public static readonly List<GameObject> portals = new List<GameObject>(); public static GameObject arcanium_go; public static GameObject shaw_helm_go; public static GameObject shawhelm2_go; public static GameObject shawbody_go; public static GameObject shawlegs_go; public static GameObject shawshield_go; public static GameObject caliburn1_go; public static GameObject BBOS_go; public static GameObject MBOS_go; public static GameObject Buildnir_go; public static GameObject tbolt_go; public static GameObject Gungnir_go; public static GameObject feastprep_go; public static GameObject Meldlegs_go; public static GameObject Meldchest_go; public static GameObject Meldhelm_go; public static GameObject nbChest_go; public static GameObject nbl_go; public static GameObject nbb_go; public static GameObject firechest_go; public static GameObject fireeyes_go; public static GameObject firelegs_go; public static GameObject fchest_go; public static GameObject feyes_go; public static GameObject flegs_go; public static GameObject dkhelm_go; public static GameObject dkchest_go; public static GameObject dklegs_go; public static GameObject sdraghelm_go; public static GameObject sdragchest_go; public static GameObject sdraglegs_go; public static GameObject draghelm_go; public static GameObject dragchest_go; public static GameObject draglegs_go; public static GameObject ohelm_go; public static GameObject ochest_go; public static GameObject olegs_go; public static GameObject Rclaw_go; public static GameObject Lclaw_go; public static GameObject rsword_go; public static GameObject fpshield_go; public static GameObject sbshield_go; public static GameObject dkaxe_go; public static GameObject dkshield_go; public static GameObject deprep_go; public static GameObject ntgun_go; public static GameObject ntservo_go; public static GameObject ntbow_go; public static GameObject ntstaff_go; public static GameObject dberg_go; public static GameObject dlance_go; public static GameObject draxe_go; public static GameObject dbow_go; public static GameObject dcres_go; public static GameObject csword_go; public static GameObject slhelm_go; public static GameObject dwsword_go; public static GameObject aslg_go; public static GameObject nbcape_go; public static GameObject vd_go; public static List<GameObject> EffectList = new List<GameObject>(); public static ConfigEntry<string> recipe_arcanium; public static ConfigEntry<string> station_arcanium; public static ConfigEntry<string> recipe_Shaw_helm; public static ConfigEntry<string> station_Shaw_helm; public static ConfigEntry<string> recipe_Shaw_helm2; public static ConfigEntry<string> station_Shaw_helm2; public static ConfigEntry<string> recipe_shawbody; public static ConfigEntry<string> station_shawbody; public static ConfigEntry<string> recipe_shawlegs; public static ConfigEntry<string> station_shawlegs; public static ConfigEntry<string> recipe_shawshield; public static ConfigEntry<string> station_shawshield; public static ConfigEntry<string> recipe_caliburn1; public static ConfigEntry<string> station_caliburn1; public static ConfigEntry<string> recipe_BBOS; public static ConfigEntry<string> station_BBOS; public static ConfigEntry<string> recipe_MBOS; public static ConfigEntry<string> station_MBOS; public static ConfigEntry<string> recipe_Buildnir; public static ConfigEntry<string> station_Buildnir; public static ConfigEntry<string> recipe_tbolt; public static ConfigEntry<string> station_tbolt; public static ConfigEntry<string> recipe_Gungnir; public static ConfigEntry<string> station_Gungnir; public static ConfigEntry<string> recipe_feastprep; public static ConfigEntry<string> station_feastprep; public static ConfigEntry<string> recipe_Meldlegs; public static ConfigEntry<string> station_Meldlegs; public static ConfigEntry<string> recipe_Meldchest; public static ConfigEntry<string> station_Meldchest; public static ConfigEntry<string> recipe_Meldhelm; public static ConfigEntry<string> station_Meldhelm; public static ConfigEntry<string> recipe_Meldcape; public static ConfigEntry<string> station_Meldcape; public static ConfigEntry<string> recipe_Shawcape; public static ConfigEntry<string> station_Shawcape; public static ConfigEntry<string> recipe_Pyrocape; public static ConfigEntry<string> station_Pyrocape; public static ConfigEntry<string> recipe_nbChest; public static ConfigEntry<string> station_nbChest; public static ConfigEntry<string> recipe_nbl; public static ConfigEntry<string> station_nbl; public static ConfigEntry<string> recipe_nbb; public static ConfigEntry<string> station_nbb; public static ConfigEntry<string> recipe_firechest; public static ConfigEntry<string> station_firechest; public static ConfigEntry<string> recipe_fireeyes; public static ConfigEntry<string> station_fireeyes; public static ConfigEntry<string> recipe_firelegs; public static ConfigEntry<string> station_firelegs; public static ConfigEntry<string> recipe_fchest; public static ConfigEntry<string> station_fchest; public static ConfigEntry<string> recipe_feyes; public static ConfigEntry<string> station_feyes; public static ConfigEntry<string> recipe_flegs; public static ConfigEntry<string> station_flegs; public static ConfigEntry<string> recipe_dkhelm; public static ConfigEntry<string> station_dkhelm; public static ConfigEntry<string> recipe_dkchest; public static ConfigEntry<string> station_dkchest; public static ConfigEntry<string> recipe_dklegs; public static ConfigEntry<string> station_dklegs; public static ConfigEntry<string> recipe_sdraghelm; public static ConfigEntry<string> station_sdraghelm; public static ConfigEntry<string> recipe_sdragchest; public static ConfigEntry<string> station_sdragchest; public static ConfigEntry<string> recipe_sdraglegs; public static ConfigEntry<string> station_sdraglegs; public static ConfigEntry<string> recipe_draghelm; public static ConfigEntry<string> station_draghelm; public static ConfigEntry<string> recipe_dragchest; public static ConfigEntry<string> station_dragchest; public static ConfigEntry<string> recipe_draglegs; public static ConfigEntry<string> station_draglegs; public static ConfigEntry<string> recipe_ohelm; public static ConfigEntry<string> station_ohelm; public static ConfigEntry<string> recipe_ochest; public static ConfigEntry<string> station_ochest; public static ConfigEntry<string> recipe_olegs; public static ConfigEntry<string> station_olegs; public static ConfigEntry<string> recipe_Rclaw; public static ConfigEntry<string> station_Rclaw; public static ConfigEntry<string> recipe_Lclaw; public static ConfigEntry<string> station_Lclaw; public static ConfigEntry<string> recipe_rsword; public static ConfigEntry<string> station_rsword; public static ConfigEntry<string> recipe_fpshield; public static ConfigEntry<string> station_fpshield; public static ConfigEntry<string> recipe_sbshield; public static ConfigEntry<string> station_sbshield; public static ConfigEntry<string> recipe_dkaxe; public static ConfigEntry<string> station_dkaxe; public static ConfigEntry<string> recipe_dkshield; public static ConfigEntry<string> station_dkshield; public static ConfigEntry<string> recipe_deprep; public static ConfigEntry<string> station_deprep; public static ConfigEntry<string> recipe_ntgun; public static ConfigEntry<string> station_ntgun; public static ConfigEntry<string> recipe_ntservo; public static ConfigEntry<string> station_ntservo; public static ConfigEntry<string> recipe_ntbow; public static ConfigEntry<string> station_ntbow; public static ConfigEntry<string> recipe_ntstaff; public static ConfigEntry<string> station_ntstaff; public static ConfigEntry<string> recipe_dberg; public static ConfigEntry<string> station_dberg; public static ConfigEntry<string> recipe_dlance; public static ConfigEntry<string> station_dlance; public static ConfigEntry<string> recipe_draxe; public static ConfigEntry<string> station_draxe; public static ConfigEntry<string> recipe_dbow; public static ConfigEntry<string> station_dbow; public static ConfigEntry<string> recipe_dcres; public static ConfigEntry<string> station_dcres; public static ConfigEntry<string> recipe_csword; public static ConfigEntry<string> station_csword; public static ConfigEntry<string> recipe_slhelm; public static ConfigEntry<string> station_slhelm; public static ConfigEntry<string> recipe_dwsword; public static ConfigEntry<string> station_dwsword; public static ConfigEntry<string> recipe_aslg; public static ConfigEntry<string> station_aslg; public static ConfigEntry<string> recipe_9bcape; public static ConfigEntry<string> station_9bcape; public static ConfigEntry<string> recipe_vd; public static ConfigEntry<string> station_vd; public static ConfigEntry<string> recipe_Frostcape; public static ConfigEntry<string> station_Frostcape; public static ConfigEntry<string> recipe_Dhakcape; public static ConfigEntry<string> station_Dhakcape; public static ConfigEntry<string> recipe_JMCcape; public static ConfigEntry<string> station_JMCcape; public void Awake() { //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Expected O, but got Unknown //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Expected O, but got Unknown //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c5: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Expected O, but got Unknown //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Expected O, but got Unknown //IL_0100: Unknown result type (might be due to invalid IL or missing references) //IL_0105: Unknown result type (might be due to invalid IL or missing references) //IL_010e: Expected O, but got Unknown //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_0118: Expected O, but got Unknown //IL_0140: 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_014e: Expected O, but got Unknown //IL_014e: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Expected O, but got Unknown //IL_0180: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_018e: Expected O, but got Unknown //IL_018e: Unknown result type (might be due to invalid IL or missing references) //IL_0198: Expected O, but got Unknown //IL_01c0: Unknown result type (might be due to invalid IL or missing references) //IL_01c5: Unknown result type (might be due to invalid IL or missing references) //IL_01ce: Expected O, but got Unknown //IL_01ce: Unknown result type (might be due to invalid IL or missing references) //IL_01d8: Expected O, but got Unknown //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0205: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Expected O, but got Unknown //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_0218: Expected O, but got Unknown //IL_0240: Unknown result type (might be due to invalid IL or missing references) //IL_0245: Unknown result type (might be due to invalid IL or missing references) //IL_024e: Expected O, but got Unknown //IL_024e: Unknown result type (might be due to invalid IL or missing references) //IL_0258: Expected O, but got Unknown //IL_0280: Unknown result type (might be due to invalid IL or missing references) //IL_0285: Unknown result type (might be due to invalid IL or missing references) //IL_028e: Expected O, but got Unknown //IL_028e: Unknown result type (might be due to invalid IL or missing references) //IL_0298: Expected O, but got Unknown //IL_02c0: Unknown result type (might be due to invalid IL or missing references) //IL_02c5: Unknown result type (might be due to invalid IL or missing references) //IL_02ce: Expected O, but got Unknown //IL_02ce: Unknown result type (might be due to invalid IL or missing references) //IL_02d8: Expected O, but got Unknown //IL_0300: Unknown result type (might be due to invalid IL or missing references) //IL_0305: Unknown result type (might be due to invalid IL or missing references) //IL_030e: Expected O, but got Unknown //IL_030e: Unknown result type (might be due to invalid IL or missing references) //IL_0318: Expected O, but got Unknown //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_0345: Unknown result type (might be due to invalid IL or missing references) //IL_034e: Expected O, but got Unknown //IL_034e: Unknown result type (might be due to invalid IL or missing references) //IL_0358: Expected O, but got Unknown //IL_0380: Unknown result type (might be due to invalid IL or missing references) //IL_0385: Unknown result type (might be due to invalid IL or missing references) //IL_038e: Expected O, but got Unknown //IL_038e: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Expected O, but got Unknown //IL_03c0: Unknown result type (might be due to invalid IL or missing references) //IL_03c5: Unknown result type (might be due to invalid IL or missing references) //IL_03ce: Expected O, but got Unknown //IL_03ce: Unknown result type (might be due to invalid IL or missing references) //IL_03d8: Expected O, but got Unknown //IL_0400: Unknown result type (might be due to invalid IL or missing references) //IL_0405: Unknown result type (might be due to invalid IL or missing references) //IL_040e: Expected O, but got Unknown //IL_040e: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Expected O, but got Unknown //IL_0440: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_044e: Expected O, but got Unknown //IL_044e: Unknown result type (might be due to invalid IL or missing references) //IL_0458: Expected O, but got Unknown //IL_0480: Unknown result type (might be due to invalid IL or missing references) //IL_0485: Unknown result type (might be due to invalid IL or missing references) //IL_048e: Expected O, but got Unknown //IL_048e: Unknown result type (might be due to invalid IL or missing references) //IL_0498: Expected O, but got Unknown //IL_04c0: Unknown result type (might be due to invalid IL or missing references) //IL_04c5: Unknown result type (might be due to invalid IL or missing references) //IL_04ce: Expected O, but got Unknown //IL_04ce: Unknown result type (might be due to invalid IL or missing references) //IL_04d8: Expected O, but got Unknown //IL_0500: Unknown result type (might be due to invalid IL or missing references) //IL_0505: Unknown result type (might be due to invalid IL or missing references) //IL_050e: Expected O, but got Unknown //IL_050e: Unknown result type (might be due to invalid IL or missing references) //IL_0518: Expected O, but got Unknown //IL_0540: Unknown result type (might be due to invalid IL or missing references) //IL_0545: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Expected O, but got Unknown //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_0558: Expected O, but got Unknown //IL_0580: Unknown result type (might be due to invalid IL or missing references) //IL_0585: Unknown result type (might be due to invalid IL or missing references) //IL_058e: Expected O, but got Unknown //IL_058e: Unknown result type (might be due to invalid IL or missing references) //IL_0598: Expected O, but got Unknown //IL_05c0: Unknown result type (might be due to invalid IL or missing references) //IL_05c5: Unknown result type (might be due to invalid IL or missing references) //IL_05ce: Expected O, but got Unknown //IL_05ce: Unknown result type (might be due to invalid IL or missing references) //IL_05d8: Expected O, but got Unknown //IL_0600: Unknown result type (might be due to invalid IL or missing references) //IL_0605: Unknown result type (might be due to invalid IL or missing references) //IL_060e: Expected O, but got Unknown //IL_060e: Unknown result type (might be due to invalid IL or missing references) //IL_0618: Expected O, but got Unknown //IL_0640: Unknown result type (might be due to invalid IL or missing references) //IL_0645: Unknown result type (might be due to invalid IL or missing references) //IL_064e: Expected O, but got Unknown //IL_064e: Unknown result type (might be due to invalid IL or missing references) //IL_0658: Expected O, but got Unknown //IL_0680: Unknown result type (might be due to invalid IL or missing references) //IL_0685: Unknown result type (might be due to invalid IL or missing references) //IL_068e: Expected O, but got Unknown //IL_068e: Unknown result type (might be due to invalid IL or missing references) //IL_0698: Expected O, but got Unknown //IL_06c0: Unknown result type (might be due to invalid IL or missing references) //IL_06c5: Unknown result type (might be due to invalid IL or missing references) //IL_06ce: Expected O, but got Unknown //IL_06ce: Unknown result type (might be due to invalid IL or missing references) //IL_06d8: Expected O, but got Unknown //IL_0700: Unknown result type (might be due to invalid IL or missing references) //IL_0705: Unknown result type (might be due to invalid IL or missing references) //IL_070e: Expected O, but got Unknown //IL_070e: Unknown result type (might be due to invalid IL or missing references) //IL_0718: Expected O, but got Unknown //IL_0740: Unknown result type (might be due to invalid IL or missing references) //IL_0745: Unknown result type (might be due to invalid IL or missing references) //IL_074e: Expected O, but got Unknown //IL_074e: Unknown result type (might be due to invalid IL or missing references) //IL_0758: Expected O, but got Unknown //IL_0780: Unknown result type (might be due to invalid IL or missing references) //IL_0785: Unknown result type (might be due to invalid IL or missing references) //IL_078e: Expected O, but got Unknown //IL_078e: Unknown result type (might be due to invalid IL or missing references) //IL_0798: Expected O, but got Unknown //IL_07c0: Unknown result type (might be due to invalid IL or missing references) //IL_07c5: Unknown result type (might be due to invalid IL or missing references) //IL_07ce: Expected O, but got Unknown //IL_07ce: Unknown result type (might be due to invalid IL or missing references) //IL_07d8: Expected O, but got Unknown //IL_0800: Unknown result type (might be due to invalid IL or missing references) //IL_0805: Unknown result type (might be due to invalid IL or missing references) //IL_080e: Expected O, but got Unknown //IL_080e: Unknown result type (might be due to invalid IL or missing references) //IL_0818: Expected O, but got Unknown //IL_0840: Unknown result type (might be due to invalid IL or missing references) //IL_0845: Unknown result type (might be due to invalid IL or missing references) //IL_084e: Expected O, but got Unknown //IL_084e: Unknown result type (might be due to invalid IL or missing references) //IL_0858: Expected O, but got Unknown //IL_0880: Unknown result type (might be due to invalid IL or missing references) //IL_0885: Unknown result type (might be due to invalid IL or missing references) //IL_088e: Expected O, but got Unknown //IL_088e: Unknown result type (might be due to invalid IL or missing references) //IL_0898: Expected O, but got Unknown //IL_08c0: Unknown result type (might be due to invalid IL or missing references) //IL_08c5: Unknown result type (might be due to invalid IL or missing references) //IL_08ce: Expected O, but got Unknown //IL_08ce: Unknown result type (might be due to invalid IL or missing references) //IL_08d8: Expected O, but got Unknown //IL_0900: 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_090e: Expected O, but got Unknown //IL_090e: Unknown result type (might be due to invalid IL or missing references) //IL_0918: Expected O, but got Unknown //IL_0940: Unknown result type (might be due to invalid IL or missing references) //IL_0945: Unknown result type (might be due to invalid IL or missing references) //IL_094e: Expected O, but got Unknown //IL_094e: Unknown result type (might be due to invalid IL or missing references) //IL_0958: Expected O, but got Unknown //IL_0980: Unknown result type (might be due to invalid IL or missing references) //IL_0985: Unknown result type (might be due to invalid IL or missing references) //IL_098e: Expected O, but got Unknown //IL_098e: Unknown result type (might be due to invalid IL or missing references) //IL_0998: Expected O, but got Unknown //IL_09c0: Unknown result type (might be due to invalid IL or missing references) //IL_09c5: Unknown result type (might be due to invalid IL or missing references) //IL_09ce: Expected O, but got Unknown //IL_09ce: Unknown result type (might be due to invalid IL or missing references) //IL_09d8: Expected O, but got Unknown //IL_0a00: Unknown result type (might be due to invalid IL or missing references) //IL_0a05: Unknown result type (might be due to invalid IL or missing references) //IL_0a0e: Expected O, but got Unknown //IL_0a0e: Unknown result type (might be due to invalid IL or missing references) //IL_0a18: Expected O, but got Unknown //IL_0a40: Unknown result type (might be due to invalid IL or missing references) //IL_0a45: Unknown result type (might be due to invalid IL or missing references) //IL_0a4e: Expected O, but got Unknown //IL_0a4e: Unknown result type (might be due to invalid IL or missing references) //IL_0a58: Expected O, but got Unknown //IL_0a80: Unknown result type (might be due to invalid IL or missing references) //IL_0a85: Unknown result type (might be due to invalid IL or missing references) //IL_0a8e: Expected O, but got Unknown //IL_0a8e: Unknown result type (might be due to invalid IL or missing references) //IL_0a98: Expected O, but got Unknown //IL_0ac0: Unknown result type (might be due to invalid IL or missing references) //IL_0ac5: Unknown result type (might be due to invalid IL or missing references) //IL_0ace: Expected O, but got Unknown //IL_0ace: Unknown result type (might be due to invalid IL or missing references) //IL_0ad8: Expected O, but got Unknown //IL_0b00: Unknown result type (might be due to invalid IL or missing references) //IL_0b05: Unknown result type (might be due to invalid IL or missing references) //IL_0b0e: Expected O, but got Unknown //IL_0b0e: Unknown result type (might be due to invalid IL or missing references) //IL_0b18: Expected O, but got Unknown //IL_0b40: 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_0b4e: Expected O, but got Unknown //IL_0b4e: Unknown result type (might be due to invalid IL or missing references) //IL_0b58: Expected O, but got Unknown //IL_0b80: Unknown result type (might be due to invalid IL or missing references) //IL_0b85: Unknown result type (might be due to invalid IL or missing references) //IL_0b8e: Expected O, but got Unknown //IL_0b8e: Unknown result type (might be due to invalid IL or missing references) //IL_0b98: Expected O, but got Unknown //IL_0bc0: Unknown result type (might be due to invalid IL or missing references) //IL_0bc5: Unknown result type (might be due to invalid IL or missing references) //IL_0bce: Expected O, but got Unknown //IL_0bce: Unknown result type (might be due to invalid IL or missing references) //IL_0bd8: Expected O, but got Unknown //IL_0c00: Unknown result type (might be due to invalid IL or missing references) //IL_0c05: Unknown result type (might be due to invalid IL or missing references) //IL_0c0e: Expected O, but got Unknown //IL_0c0e: Unknown result type (might be due to invalid IL or missing references) //IL_0c18: Expected O, but got Unknown //IL_0c40: Unknown result type (might be due to invalid IL or missing references) //IL_0c45: Unknown result type (might be due to invalid IL or missing references) //IL_0c4e: Expected O, but got Unknown //IL_0c4e: Unknown result type (might be due to invalid IL or missing references) //IL_0c58: Expected O, but got Unknown //IL_0c80: Unknown result type (might be due to invalid IL or missing references) //IL_0c85: Unknown result type (might be due to invalid IL or missing references) //IL_0c8e: Expected O, but got Unknown //IL_0c8e: Unknown result type (might be due to invalid IL or missing references) //IL_0c98: Expected O, but got Unknown //IL_0cc0: Unknown result type (might be due to invalid IL or missing references) //IL_0cc5: Unknown result type (might be due to invalid IL or missing references) //IL_0cce: Expected O, but got Unknown //IL_0cce: Unknown result type (might be due to invalid IL or missing references) //IL_0cd8: Expected O, but got Unknown //IL_0d00: Unknown result type (might be due to invalid IL or missing references) //IL_0d05: Unknown result type (might be due to invalid IL or missing references) //IL_0d0e: Expected O, but got Unknown //IL_0d0e: Unknown result type (might be due to invalid IL or missing references) //IL_0d18: Expected O, but got Unknown //IL_0d40: Unknown result type (might be due to invalid IL or missing references) //IL_0d45: Unknown result type (might be due to invalid IL or missing references) //IL_0d4e: Expected O, but got Unknown //IL_0d4e: Unknown result type (might be due to invalid IL or missing references) //IL_0d58: Expected O, but got Unknown //IL_0d80: Unknown result type (might be due to invalid IL or missing references) //IL_0d85: Unknown result type (might be due to invalid IL or missing references) //IL_0d8e: Expected O, but got Unknown //IL_0d8e: Unknown result type (might be due to invalid IL or missing references) //IL_0d98: Expected O, but got Unknown //IL_0dc0: Unknown result type (might be due to invalid IL or missing references) //IL_0dc5: Unknown result type (might be due to invalid IL or missing references) //IL_0dce: Expected O, but got Unknown //IL_0dce: Unknown result type (might be due to invalid IL or missing references) //IL_0dd8: Expected O, but got Unknown //IL_0e00: Unknown result type (might be due to invalid IL or missing references) //IL_0e05: Unknown result type (might be due to invalid IL or missing references) //IL_0e0e: Expected O, but got Unknown //IL_0e0e: Unknown result type (might be due to invalid IL or missing references) //IL_0e18: Expected O, but got Unknown //IL_0e40: Unknown result type (might be due to invalid IL or missing references) //IL_0e45: Unknown result type (might be due to invalid IL or missing references) //IL_0e4e: Expected O, but got Unknown //IL_0e4e: Unknown result type (might be due to invalid IL or missing references) //IL_0e58: Expected O, but got Unknown //IL_0e80: Unknown result type (might be due to invalid IL or missing references) //IL_0e85: Unknown result type (might be due to invalid IL or missing references) //IL_0e8e: Expected O, but got Unknown //IL_0e8e: Unknown result type (might be due to invalid IL or missing references) //IL_0e98: Expected O, but got Unknown //IL_0ec0: Unknown result type (might be due to invalid IL or missing references) //IL_0ec5: Unknown result type (might be due to invalid IL or missing references) //IL_0ece: Expected O, but got Unknown //IL_0ece: Unknown result type (might be due to invalid IL or missing references) //IL_0ed8: Expected O, but got Unknown //IL_0f00: Unknown result type (might be due to invalid IL or missing references) //IL_0f05: Unknown result type (might be due to invalid IL or missing references) //IL_0f0e: Expected O, but got Unknown //IL_0f0e: Unknown result type (might be due to invalid IL or missing references) //IL_0f18: Expected O, but got Unknown //IL_0f40: Unknown result type (might be due to invalid IL or missing references) //IL_0f45: Unknown result type (might be due to invalid IL or missing references) //IL_0f4e: Expected O, but got Unknown //IL_0f4e: Unknown result type (might be due to invalid IL or missing references) //IL_0f58: Expected O, but got Unknown //IL_0f80: Unknown result type (might be due to invalid IL or missing references) //IL_0f85: Unknown result type (might be due to invalid IL or missing references) //IL_0f8e: Expected O, but got Unknown //IL_0f8e: Unknown result type (might be due to invalid IL or missing references) //IL_0f98: Expected O, but got Unknown //IL_0fc0: Unknown result type (might be due to invalid IL or missing references) //IL_0fc5: Unknown result type (might be due to invalid IL or missing references) //IL_0fce: Expected O, but got Unknown //IL_0fce: Unknown result type (might be due to invalid IL or missing references) //IL_0fd8: Expected O, but got Unknown //IL_1000: Unknown result type (might be due to invalid IL or missing references) //IL_1005: Unknown result type (might be due to invalid IL or missing references) //IL_100e: Expected O, but got Unknown //IL_100e: Unknown result type (might be due to invalid IL or missing references) //IL_1018: Expected O, but got Unknown //IL_1040: Unknown result type (might be due to invalid IL or missing references) //IL_1045: Unknown result type (might be due to invalid IL or missing references) //IL_104e: Expected O, but got Unknown //IL_104e: Unknown result type (might be due to invalid IL or missing references) //IL_1058: Expected O, but got Unknown //IL_1080: Unknown result type (might be due to invalid IL or missing references) //IL_1085: Unknown result type (might be due to invalid IL or missing references) //IL_108e: Expected O, but got Unknown //IL_108e: Unknown result type (might be due to invalid IL or missing references) //IL_1098: Expected O, but got Unknown //IL_10c0: Unknown result type (might be due to invalid IL or missing references) //IL_10c5: Unknown result type (might be due to invalid IL or missing references) //IL_10ce: Expected O, but got Unknown //IL_10ce: Unknown result type (might be due to invalid IL or missing references) //IL_10d8: Expected O, but got Unknown //IL_1100: Unknown result type (might be due to invalid IL or missing references) //IL_1105: Unknown result type (might be due to invalid IL or missing references) //IL_110e: Expected O, but got Unknown //IL_110e: Unknown result type (might be due to invalid IL or missing references) //IL_1118: Expected O, but got Unknown //IL_1140: Unknown result type (might be due to invalid IL or missing references) //IL_1145: Unknown result type (might be due to invalid IL or missing references) //IL_114e: Expected O, but got Unknown //IL_114e: Unknown result type (might be due to invalid IL or missing references) //IL_1158: Expected O, but got Unknown //IL_1180: Unknown result type (might be due to invalid IL or missing references) //IL_1185: Unknown result type (might be due to invalid IL or missing references) //IL_118e: Expected O, but got Unknown //IL_118e: Unknown result type (might be due to invalid IL or missing references) //IL_1198: Expected O, but got Unknown //IL_11c0: Unknown result type (might be due to invalid IL or missing references) //IL_11c5: Unknown result type (might be due to invalid IL or missing references) //IL_11ce: Expected O, but got Unknown //IL_11ce: Unknown result type (might be due to invalid IL or missing references) //IL_11d8: Expected O, but got Unknown //IL_1200: Unknown result type (might be due to invalid IL or missing references) //IL_1205: Unknown result type (might be due to invalid IL or missing references) //IL_120e: Expected O, but got Unknown //IL_120e: Unknown result type (might be due to invalid IL or missing references) //IL_1218: Expected O, but got Unknown //IL_1240: Unknown result type (might be due to invalid IL or missing references) //IL_1245: Unknown result type (might be due to invalid IL or missing references) //IL_124e: Expected O, but got Unknown //IL_124e: Unknown result type (might be due to invalid IL or missing references) //IL_1258: Expected O, but got Unknown //IL_1280: Unknown result type (might be due to invalid IL or missing references) //IL_1285: Unknown result type (might be due to invalid IL or missing references) //IL_128e: Expected O, but got Unknown //IL_128e: Unknown result type (might be due to invalid IL or missing references) //IL_1298: Expected O, but got Unknown //IL_12c0: Unknown result type (might be due to invalid IL or missing references) //IL_12c5: Unknown result type (might be due to invalid IL or missing references) //IL_12ce: Expected O, but got Unknown //IL_12ce: Unknown result type (might be due to invalid IL or missing references) //IL_12d8: Expected O, but got Unknown //IL_1300: Unknown result type (might be due to invalid IL or missing references) //IL_1305: Unknown result type (might be due to invalid IL or missing references) //IL_130e: Expected O, but got Unknown //IL_130e: Unknown result type (might be due to invalid IL or missing references) //IL_1318: Expected O, but got Unknown //IL_1340: Unknown result type (might be due to invalid IL or missing references) //IL_1345: Unknown result type (might be due to invalid IL or missing references) //IL_134e: Expected O, but got Unknown //IL_134e: Unknown result type (might be due to invalid IL or missing references) //IL_1358: Expected O, but got Unknown //IL_1380: Unknown result type (might be due to invalid IL or missing references) //IL_1385: Unknown result type (might be due to invalid IL or missing references) //IL_138e: Expected O, but got Unknown //IL_138e: Unknown result type (might be due to invalid IL or missing references) //IL_1398: Expected O, but got Unknown //IL_13c0: Unknown result type (might be due to invalid IL or missing references) //IL_13c5: Unknown result type (might be due to invalid IL or missing references) //IL_13ce: Expected O, but got Unknown //IL_13ce: Unknown result type (might be due to invalid IL or missing references) //IL_13d8: Expected O, but got Unknown //IL_1400: Unknown result type (might be due to invalid IL or missing references) //IL_1405: Unknown result type (might be due to invalid IL or missing references) //IL_140e: Expected O, but got Unknown //IL_140e: Unknown result type (might be due to invalid IL or missing references) //IL_1418: Expected O, but got Unknown //IL_1440: Unknown result type (might be due to invalid IL or missing references) //IL_1445: Unknown result type (might be due to invalid IL or missing references) //IL_144e: Expected O, but got Unknown //IL_144e: Unknown result type (might be due to invalid IL or missing references) //IL_1458: Expected O, but got Unknown //IL_1480: Unknown result type (might be due to invalid IL or missing references) //IL_1485: Unknown result type (might be due to invalid IL or missing references) //IL_148e: Expected O, but got Unknown //IL_148e: Unknown result type (might be due to invalid IL or missing references) //IL_1498: Expected O, but got Unknown //IL_14c0: Unknown result type (might be due to invalid IL or missing references) //IL_14c5: Unknown result type (might be due to invalid IL or missing references) //IL_14ce: Expected O, but got Unknown //IL_14ce: Unknown result type (might be due to invalid IL or missing references) //IL_14d8: Expected O, but got Unknown //IL_1500: Unknown result type (might be due to invalid IL or missing references) //IL_1505: Unknown result type (might be due to invalid IL or missing references) //IL_150e: Expected O, but got Unknown //IL_150e: Unknown result type (might be due to invalid IL or missing references) //IL_1518: Expected O, but got Unknown //IL_1540: Unknown result type (might be due to invalid IL or missing references) //IL_1545: Unknown result type (might be due to invalid IL or missing references) //IL_154e: Expected O, but got Unknown //IL_154e: Unknown result type (might be due to invalid IL or missing references) //IL_1558: Expected O, but got Unknown //IL_1580: Unknown result type (might be due to invalid IL or missing references) //IL_1585: Unknown result type (might be due to invalid IL or missing references) //IL_158e: Expected O, but got Unknown //IL_158e: Unknown result type (might be due to invalid IL or missing references) //IL_1598: Expected O, but got Unknown //IL_15c0: Unknown result type (might be due to invalid IL or missing references) //IL_15c5: Unknown result type (might be due to invalid IL or missing references) //IL_15ce: Expected O, but got Unknown //IL_15ce: Unknown result type (might be due to invalid IL or missing references) //IL_15d8: Expected O, but got Unknown //IL_1600: Unknown result type (might be due to invalid IL or missing references) //IL_1605: Unknown result type (might be due to invalid IL or missing references) //IL_160e: Expected O, but got Unknown //IL_160e: Unknown result type (might be due to invalid IL or missing references) //IL_1618: Expected O, but got Unknown //IL_1640: Unknown result type (might be due to invalid IL or missing references) //IL_1645: Unknown result type (might be due to invalid IL or missing references) //IL_164e: Expected O, but got Unknown //IL_164e: Unknown result type (might be due to invalid IL or missing references) //IL_1658: Expected O, but got Unknown //IL_1680: Unknown result type (might be due to invalid IL or missing references) //IL_1685: Unknown result type (might be due to invalid IL or missing references) //IL_168e: Expected O, but got Unknown //IL_168e: Unknown result type (might be due to invalid IL or missing references) //IL_1698: Expected O, but got Unknown //IL_16c0: Unknown result type (might be due to invalid IL or missing references) //IL_16c5: Unknown result type (might be due to invalid IL or missing references) //IL_16ce: Expected O, but got Unknown //IL_16ce: Unknown result type (might be due to invalid IL or missing references) //IL_16d8: Expected O, but got Unknown //IL_1700: Unknown result type (might be due to invalid IL or missing references) //IL_1705: Unknown result type (might be due to invalid IL or missing references) //IL_170e: Expected O, but got Unknown //IL_170e: Unknown result type (might be due to invalid IL or missing references) //IL_1718: Expected O, but got Unknown //IL_1740: Unknown result type (might be due to invalid IL or missing references) //IL_1745: Unknown result type (might be due to invalid IL or missing references) //IL_174e: Expected O, but got Unknown //IL_174e: Unknown result type (might be due to invalid IL or missing references) //IL_1758: Expected O, but got Unknown //IL_1780: Unknown result type (might be due to invalid IL or missing references) //IL_1785: Unknown result type (might be due to invalid IL or missing references) //IL_178e: Expected O, but got Unknown //IL_178e: Unknown result type (might be due to invalid IL or missing references) //IL_1798: Expected O, but got Unknown //IL_17c0: Unknown result type (might be due to invalid IL or missing references) //IL_17c5: Unknown result type (might be due to invalid IL or missing references) //IL_17ce: Expected O, but got Unknown //IL_17ce: Unknown result type (might be due to invalid IL or missing references) //IL_17d8: Expected O, but got Unknown //IL_1800: Unknown result type (might be due to invalid IL or missing references) //IL_1805: Unknown result type (might be due to invalid IL or missing references) //IL_180e: Expected O, but got Unknown //IL_180e: Unknown result type (might be due to invalid IL or missing references) //IL_1818: Expected O, but got Unknown //IL_1840: Unknown result type (might be due to invalid IL or missing references) //IL_1845: Unknown result type (might be due to invalid IL or missing references) //IL_184e: Expected O, but got Unknown //IL_184e: Unknown result type (might be due to invalid IL or missing references) //IL_1858: Expected O, but got Unknown //IL_1880: Unknown result type (might be due to invalid IL or missing references) //IL_1885: Unknown result type (might be due to invalid IL or missing references) //IL_188e: Expected O, but got Unknown //IL_188e: Unknown result type (might be due to invalid IL or missing references) //IL_1898: Expected O, but got Unknown //IL_18c0: Unknown result type (might be due to invalid IL or missing references) //IL_18c5: Unknown result type (might be due to invalid IL or missing references) //IL_18ce: Expected O, but got Unknown //IL_18ce: Unknown result type (might be due to invalid IL or missing references) //IL_18d8: Expected O, but got Unknown //IL_1900: Unknown result type (might be due to invalid IL or missing references) //IL_1905: Unknown result type (might be due to invalid IL or missing references) //IL_190e: Expected O, but got Unknown //IL_190e: Unknown result type (might be due to invalid IL or missing references) //IL_1918: Expected O, but got Unknown //IL_1940: Unknown result type (might be due to invalid IL or missing references) //IL_1945: Unknown result type (might be due to invalid IL or missing references) //IL_194e: Expected O, but got Unknown //IL_194e: Unknown result type (might be due to invalid IL or missing references) //IL_1958: Expected O, but got Unknown //IL_1980: Unknown result type (might be due to invalid IL or missing references) //IL_1985: Unknown result type (might be due to invalid IL or missing references) //IL_198e: Expected O, but got Unknown //IL_198e: Unknown result type (might be due to invalid IL or missing references) //IL_1998: Expected O, but got Unknown //IL_19c0: Unknown result type (might be due to invalid IL or missing references) //IL_19c5: Unknown result type (might be due to invalid IL or missing references) //IL_19ce: Expected O, but got Unknown //IL_19ce: Unknown result type (might be due to invalid IL or missing references) //IL_19d8: Expected O, but got Unknown //IL_1a00: Unknown result type (might be due to invalid IL or missing references) //IL_1a05: Unknown result type (might be due to invalid IL or missing references) //IL_1a0e: Expected O, but got Unknown //IL_1a0e: Unknown result type (might be due to invalid IL or missing references) //IL_1a18: Expected O, but got Unknown //IL_1a40: Unknown result type (might be due to invalid IL or missing references) //IL_1a45: Unknown result type (might be due to invalid IL or missing references) //IL_1a4e: Expected O, but got Unknown //IL_1a4e: Unknown result type (might be due to invalid IL or missing references) //IL_1a58: Expected O, but got Unknown //IL_1a80: Unknown result type (might be due to invalid IL or missing references) //IL_1a85: Unknown result type (might be due to invalid IL or missing references) //IL_1a8e: Expected O, but got Unknown //IL_1a8e: Unknown result type (might be due to invalid IL or missing references) //IL_1a98: Expected O, but got Unknown //IL_1ac0: 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_1ace: Expected O, but got Unknown //IL_1ace: Unknown result type (might be due to invalid IL or missing references) //IL_1ad8: Expected O, but got Unknown //IL_1b00: Unknown result type (might be due to invalid IL or missing references) //IL_1b05: Unknown result type (might be due to invalid IL or missing references) //IL_1b0e: Expected O, but got Unknown //IL_1b0e: Unknown result type (might be due to invalid IL or missing references) //IL_1b18: Expected O, but got Unknown //IL_1b40: Unknown result type (might be due to invalid IL or missing references) //IL_1b45: Unknown result type (might be due to invalid IL or missing references) //IL_1b4e: Expected O, but got Unknown //IL_1b4e: Unknown result type (might be due to invalid IL or missing references) //IL_1b58: Expected O, but got Unknown //IL_1b80: Unknown result type (might be due to invalid IL or missing references) //IL_1b85: Unknown result type (might be due to invalid IL or missing references) //IL_1b8e: Expected O, but got Unknown //IL_1b8e: Unknown result type (might be due to invalid IL or missing references) //IL_1b98: Expected O, but got Unknown //IL_1bc0: Unknown result type (might be due to invalid IL or missing references) //IL_1bc5: Unknown result type (might be due to invalid IL or missing references) //IL_1bce: Expected O, but got Unknown //IL_1bce: Unknown result type (might be due to invalid IL or missing references) //IL_1bd8: Expected O, but got Unknown //IL_1c00: Unknown result type (might be due to invalid IL or missing references) //IL_1c05: Unknown result type (might be due to invalid IL or missing references) //IL_1c0e: Expected O, but got Unknown //IL_1c0e: Unknown result type (might be due to invalid IL or missing references) //IL_1c18: Expected O, but got Unknown //IL_1c40: Unknown result type (might be due to invalid IL or missing references) //IL_1c45: Unknown result type (might be due to invalid IL or missing references) //IL_1c4e: Expected O, but got Unknown //IL_1c4e: Unknown result type (might be due to invalid IL or missing references) //IL_1c58: Expected O, but got Unknown //IL_1c80: Unknown result type (might be due to invalid IL or missing references) //IL_1c85: Unknown result type (might be due to invalid IL or missing references) //IL_1c8e: Expected O, but got Unknown //IL_1c8e: Unknown result type (might be due to invalid IL or missing references) //IL_1c98: Expected O, but got Unknown //IL_1cc0: Unknown result type (might be due to invalid IL or missing references) //IL_1cc5: Unknown result type (might be due to invalid IL or missing references) //IL_1cce: Expected O, but got Unknown //IL_1cce: Unknown result type (might be due to invalid IL or missing references) //IL_1cd8: Expected O, but got Unknown //IL_1d00: Unknown result type (might be due to invalid IL or missing references) //IL_1d05: Unknown result type (might be due to invalid IL or missing references) //IL_1d0e: Expected O, but got Unknown //IL_1d0e: Unknown result type (might be due to invalid IL or missing references) //IL_1d18: Expected O, but got Unknown //IL_1d40: Unknown result type (might be due to invalid IL or missing references) //IL_1d45: Unknown result type (might be due to invalid IL or missing references) //IL_1d4e: Expected O, but got Unknown //IL_1d4e: Unknown result type (might be due to invalid IL or missing references) //IL_1d58: Expected O, but got Unknown //IL_1d80: Unknown result type (might be due to invalid IL or missing references) //IL_1d85: Unknown result type (might be due to invalid IL or missing references) //IL_1d8e: Expected O, but got Unknown //IL_1d8e: Unknown result type (might be due to invalid IL or missing references) //IL_1d98: Expected O, but got Unknown //IL_1dc0: Unknown result type (might be due to invalid IL or missing references) //IL_1dc5: Unknown result type (might be due to invalid IL or missing references) //IL_1dce: Expected O, but got Unknown //IL_1dce: Unknown result type (might be due to invalid IL or missing references) //IL_1dd8: Expected O, but got Unknown //IL_1e00: Unknown result type (might be due to invalid IL or missing references) //IL_1e05: Unknown result type (might be due to invalid IL or missing references) //IL_1e0e: Expected O, but got Unknown //IL_1e0e: Unknown result type (might be due to invalid IL or missing references) //IL_1e18: Expected O, but got Unknown //IL_1e40: Unknown result type (might be due to invalid IL or missing references) //IL_1e45: Unknown result type (might be due to invalid IL or missing references) //IL_1e4e: Expected O, but got Unknown //IL_1e4e: Unknown result type (might be due to invalid IL or missing references) //IL_1e58: Expected O, but got Unknown //IL_1e80: Unknown result type (might be due to invalid IL or missing references) //IL_1e85: Unknown result type (might be due to invalid IL or missing references) //IL_1e8e: Expected O, but got Unknown //IL_1e8e: Unknown result type (might be due to invalid IL or missing references) //IL_1e98: Expected O, but got Unknown //IL_1ec0: Unknown result type (might be due to invalid IL or missing references) //IL_1ec5: Unknown result type (might be due to invalid IL or missing references) //IL_1ece: Expected O, but got Unknown //IL_1ece: Unknown result type (might be due to invalid IL or missing references) //IL_1ed8: Expected O, but got Unknown //IL_1f00: Unknown result type (might be due to invalid IL or missing references) //IL_1f05: Unknown result type (might be due to invalid IL or missing references) //IL_1f0e: Expected O, but got Unknown //IL_1f0e: Unknown result type (might be due to invalid IL or missing references) //IL_1f18: Expected O, but got Unknown //IL_1f40: Unknown re