Decompiled source of Zero v1.0.0
Zero.dll
Decompiled 3 weeks ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using EntityStates; using EntityStates.Commando; using EntityStates.Commando.CommandoWeapon; using EntityStates.Croco; using EntityStates.Engi.EngiBubbleShield; using EntityStates.Loader; using EntityStates.LunarGolem; using EntityStates.LunarWisp; using EntityStates.Merc; using EntityStates.Merc.Weapon; using KinematicCharacterController; using On.RoR2; using R2API; using R2API.Utils; using Rewired.ComponentControls.Effects; using RoR2; using RoR2.Projectile; using RoR2.Skills; using RoR2.UI; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.Networking; using UnityEngine.Rendering; using UnityEngine.SceneManagement; [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = "")] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: CompilationRelaxations(8)] [assembly: AssemblyCompany("Zero")] [assembly: AssemblyProduct("Zero")] [assembly: AssemblyTitle("Zero")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] internal class TronTrailSection { public Vector3 point; public Vector3 upDir; public float time; public TronTrailSection() { } public TronTrailSection(Vector3 p, float t) { //IL_0009: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) point = p; time = t; } } [RequireComponent(typeof(MeshFilter))] public class LightsaberTrail : MonoBehaviour { public float height = 2f; public float time = 2f; public bool alwaysUp = false; public float minDistance = 0.1f; public float timeTransitionSpeed = 1f; public float desiredTime = 2f; public Color startColor = Color.white; public Color endColor = new Color(1f, 1f, 1f, 0f); public VolumetricLineStripBehavior behaviour; public LightsaberTrail trail; private Vector3 position; private float now = 0f; private TronTrailSection currentSection; private Matrix4x4 localSpaceTransform; private Mesh mesh; private Vector3[] vertices; private Color[] colors; private Vector2[] uv; private MeshRenderer meshRenderer; private Material trailMaterial; private List<TronTrailSection> sections = new List<TronTrailSection>(); private void Awake() { Component component = ((Component)this).GetComponent(typeof(MeshFilter)); MeshFilter val = (MeshFilter)(object)((component is MeshFilter) ? component : null); mesh = val.mesh; ref MeshRenderer reference = ref meshRenderer; Component component2 = ((Component)this).GetComponent(typeof(MeshRenderer)); reference = (MeshRenderer)(object)((component2 is MeshRenderer) ? component2 : null); trailMaterial = ((Renderer)meshRenderer).material; behaviour = ((Component)((Component)this).transform.parent).GetComponent<VolumetricLineStripBehavior>(); trail = ((Component)((Component)this).transform.parent).GetComponent<LightsaberTrail>(); } public void StartTrail(float timeToTweenTo, float fadeInTime) { desiredTime = timeToTweenTo; if (time != desiredTime) { timeTransitionSpeed = Mathf.Abs(desiredTime - time) / fadeInTime; } if (time <= 0f) { time = 0.01f; } } public void SetTime(float trailTime, float timeToTweenTo, float tweenSpeed) { time = trailTime; desiredTime = timeToTweenTo; timeTransitionSpeed = tweenSpeed; if (time <= 0f) { ClearTrail(); } } public void FadeOut(float fadeTime) { desiredTime = 0f; if (time > 0f) { timeTransitionSpeed = time / fadeTime; } } public void SetTrailColor(Color color) { //IL_000c: Unknown result type (might be due to invalid IL or missing references) trailMaterial.SetColor("_TintColor", color); } private void Update() { Iterate(Time.time); UpdateTrail(Time.time, 0f); } public void Iterate(float itterateTime) { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_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_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_007e: 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) position = ((Component)this).transform.position; now = itterateTime; if (sections.Count != 0) { Vector3 val = sections[0].point - position; if (!(((Vector3)(ref val)).sqrMagnitude > minDistance * minDistance)) { return; } } TronTrailSection tronTrailSection = new TronTrailSection(); tronTrailSection.point = position; if (alwaysUp) { tronTrailSection.upDir = Vector3.up; } else { tronTrailSection.upDir = ((Component)this).transform.TransformDirection(Vector3.up); } tronTrailSection.time = now; sections.Insert(0, tronTrailSection); } public void UpdateTrail(float currentTime, float deltaTime) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0144: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0242: Unknown result type (might be due to invalid IL or missing references) //IL_0296: Unknown result type (might be due to invalid IL or missing references) //IL_029b: Unknown result type (might be due to invalid IL or missing references) //IL_02b3: Unknown result type (might be due to invalid IL or missing references) //IL_02b8: Unknown result type (might be due to invalid IL or missing references) //IL_02bd: Unknown result type (might be due to invalid IL or missing references) //IL_02da: Unknown result type (might be due to invalid IL or missing references) //IL_02df: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02ec: Unknown result type (might be due to invalid IL or missing references) //IL_02f1: Unknown result type (might be due to invalid IL or missing references) //IL_02f6: Unknown result type (might be due to invalid IL or missing references) //IL_030c: Unknown result type (might be due to invalid IL or missing references) //IL_0311: Unknown result type (might be due to invalid IL or missing references) //IL_0329: Unknown result type (might be due to invalid IL or missing references) //IL_032e: Unknown result type (might be due to invalid IL or missing references) //IL_0334: Unknown result type (might be due to invalid IL or missing references) //IL_033a: Unknown result type (might be due to invalid IL or missing references) //IL_0341: Unknown result type (might be due to invalid IL or missing references) //IL_0346: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0354: Unknown result type (might be due to invalid IL or missing references) //IL_0365: Unknown result type (might be due to invalid IL or missing references) //IL_0367: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)behaviour) && endColor != behaviour.LineColor) { endColor = new Color(behaviour.LineColor.r, behaviour.LineColor.g, behaviour.LineColor.b, 0f); } if (!Object.op_Implicit((Object)(object)behaviour) && Object.op_Implicit((Object)(object)trail) && Object.op_Implicit((Object)(object)trail.behaviour) && startColor != trail.behaviour.LineColor) { startColor = new Color(trail.behaviour.LineColor.r, trail.behaviour.LineColor.g, trail.behaviour.LineColor.b, 0.7f); endColor = new Color(trail.behaviour.LineColor.r, trail.behaviour.LineColor.g, trail.behaviour.LineColor.b, 0f); } mesh.Clear(); while (sections.Count > 0 && currentTime > sections[sections.Count - 1].time + time) { sections.RemoveAt(sections.Count - 1); } if (sections.Count < 2) { return; } vertices = (Vector3[])(object)new Vector3[sections.Count * 2]; colors = (Color[])(object)new Color[sections.Count * 2]; uv = (Vector2[])(object)new Vector2[sections.Count * 2]; currentSection = sections[0]; localSpaceTransform = ((Component)this).transform.worldToLocalMatrix; for (int i = 0; i < sections.Count; i++) { currentSection = sections[i]; float num = 0f; if (i != 0) { num = Mathf.Clamp01((currentTime - currentSection.time) / time); } Vector3 upDir = currentSection.upDir; vertices[i * 2] = ((Matrix4x4)(ref localSpaceTransform)).MultiplyPoint(currentSection.point); vertices[i * 2 + 1] = ((Matrix4x4)(ref localSpaceTransform)).MultiplyPoint(currentSection.point + upDir * height); uv[i * 2] = new Vector2(num, 0f); uv[i * 2 + 1] = new Vector2(num, 1f); Color val = Color.Lerp(startColor, endColor, num); colors[i * 2] = val; colors[i * 2 + 1] = val; } int[] array = new int[(sections.Count - 1) * 2 * 3]; for (int j = 0; j < array.Length / 6; j++) { array[j * 6] = j * 2; array[j * 6 + 1] = j * 2 + 1; array[j * 6 + 2] = j * 2 + 2; array[j * 6 + 3] = j * 2 + 2; array[j * 6 + 4] = j * 2 + 1; array[j * 6 + 5] = j * 2 + 3; } mesh.vertices = vertices; mesh.colors = colors; mesh.uv = uv; mesh.triangles = array; if (time > desiredTime) { time -= deltaTime * timeTransitionSpeed; if (time <= desiredTime) { time = desiredTime; } } else if (time < desiredTime) { time += deltaTime * timeTransitionSpeed; if (time >= desiredTime) { time = desiredTime; } } } public void ClearTrail() { desiredTime = 0f; time = 0f; if ((Object)(object)mesh != (Object)null) { mesh.Clear(); sections.Clear(); } } } [RequireComponent(typeof(MeshRenderer))] [ExecuteInEditMode] [RequireComponent(typeof(MeshFilter))] public class VolumetricLineStripBehavior : MonoBehaviour { private static readonly Vector3 Average = new Vector3(1f / 3f, 1f / 3f, 1f / 3f); [SerializeField] public Material m_templateMaterial; [SerializeField] private bool m_doNotOverwriteTemplateMaterialProperties; [SerializeField] private Color m_lineColor; [SerializeField] private float m_lineWidth; [SerializeField] [Range(0f, 1f)] private float m_lightSaberFactor; private Material m_material; private MeshFilter m_meshFilter; private MeshRenderer m_meshRenderer; [SerializeField] private Vector3[] m_lineVertices = (Vector3[])(object)new Vector3[3] { Vector3.zero, Vector3.zero, Vector3.zero }; public Vector3 maxLengthVector = new Vector3(0f, 0.0108f, 0f); private Vector3 targetLength; private float targetTrailLength; public float speed = 5f; public float maxTrailLength = 1.1f; public bool start = false; public int form = 0; private bool play = true; public VolumetricLineStripBehavior behaviour; private float stopwatch; public LightsaberTrail[] lightsaberTrails; public float lengthDelay = 0.15f; public bool hasStartDelay = true; public Material TemplateMaterial { get { return m_templateMaterial; } set { m_templateMaterial = value; } } public bool DoNotOverwriteTemplateMaterialProperties { get { return m_doNotOverwriteTemplateMaterialProperties; } set { m_doNotOverwriteTemplateMaterialProperties = value; } } public Color LineColor { get { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) return m_lineColor; } set { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) CreateMaterial(); if ((Object)null != (Object)(object)m_material) { m_lineColor = value; m_material.color = m_lineColor; } } } public float LineWidth { get { return m_lineWidth; } set { CreateMaterial(); if ((Object)null != (Object)(object)m_material) { m_lineWidth = value; m_material.SetFloat("_LineWidth", m_lineWidth); } UpdateBounds(); } } public float LightSaberFactor { get { return m_lightSaberFactor; } set { CreateMaterial(); if ((Object)null != (Object)(object)m_material) { m_lightSaberFactor = value; m_material.SetFloat("_LightSaberFactor", m_lightSaberFactor); } } } public Vector3[] LineVertices => m_lineVertices; private void CreateMaterial() { if ((Object)null == (Object)(object)m_material || (Object)null == (Object)(object)((Renderer)((Component)this).GetComponent<MeshRenderer>()).sharedMaterial) { if ((Object)null != (Object)(object)m_templateMaterial) { m_material = Object.Instantiate<Material>(m_templateMaterial); ((Renderer)((Component)this).GetComponent<MeshRenderer>()).sharedMaterial = m_material; SetAllMaterialProperties(); } else { m_material = ((Renderer)((Component)this).GetComponent<MeshRenderer>()).sharedMaterial; } } } private void DestroyMaterial() { if ((Object)null != (Object)(object)m_material) { Object.DestroyImmediate((Object)(object)m_material); m_material = null; } } private float CalculateLineScale() { //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) return Vector3.Dot(((Component)this).transform.lossyScale, Average); } public void UpdateLineScale() { if ((Object)null != (Object)(object)m_material) { m_material.SetFloat("_LineScale", CalculateLineScale()); } } private void SetAllMaterialProperties() { //IL_0034: Unknown result type (might be due to invalid IL or missing references) UpdateLineVertices(m_lineVertices); if ((Object)null != (Object)(object)m_material) { if (!m_doNotOverwriteTemplateMaterialProperties) { m_material.color = m_lineColor; m_material.SetFloat("_LineWidth", m_lineWidth); m_material.SetFloat("_LightSaberFactor", m_lightSaberFactor); } UpdateLineScale(); } } private Bounds CalculateBounds() { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008d: 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_009a: 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_0078: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_01ad: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00c4: 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_0105: Unknown result type (might be due to invalid IL or missing references) //IL_0123: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0182: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_018b: Unknown result type (might be due to invalid IL or missing references) //IL_018c: 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) //IL_019b: Unknown result type (might be due to invalid IL or missing references) //IL_019c: Unknown result type (might be due to invalid IL or missing references) //IL_01a7: Unknown result type (might be due to invalid IL or missing references) //IL_01a9: Unknown result type (might be due to invalid IL or missing references) float num = Mathf.Max(new float[3] { ((Component)this).transform.lossyScale.x, ((Component)this).transform.lossyScale.y, ((Component)this).transform.lossyScale.z }); float num2 = num * LineWidth * 0.5f; Vector3 val = default(Vector3); ((Vector3)(ref val))..ctor(num2, num2, num2); Bounds result; if (m_lineVertices.Length == 0) { result = default(Bounds); return result; } Vector3 val2 = m_lineVertices[0]; Vector3 val3 = m_lineVertices[0]; for (int i = 1; i < m_lineVertices.Length; i++) { ((Vector3)(ref val2))..ctor(Mathf.Min(val2.x, m_lineVertices[i].x), Mathf.Min(val2.y, m_lineVertices[i].y), Mathf.Min(val2.z, m_lineVertices[i].z)); ((Vector3)(ref val3))..ctor(Mathf.Max(val3.x, m_lineVertices[i].x), Mathf.Max(val3.y, m_lineVertices[i].y), Mathf.Max(val3.z, m_lineVertices[i].z)); } result = default(Bounds); ((Bounds)(ref result)).min = val2 - val; ((Bounds)(ref result)).max = val3 + val; return result; } public void UpdateBounds() { //IL_002c: Unknown result type (might be due to invalid IL or missing references) if ((Object)null != (Object)(object)m_meshFilter) { Mesh sharedMesh = m_meshFilter.sharedMesh; if ((Object)null != (Object)(object)sharedMesh) { sharedMesh.bounds = CalculateBounds(); } } } public void UpdateLineVertices(Vector3[] newSetOfVertices) { //IL_006c: 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_0083: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) //IL_0131: Unknown result type (might be due to invalid IL or missing references) //IL_0136: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Unknown result type (might be due to invalid IL or missing references) //IL_0156: Unknown result type (might be due to invalid IL or missing references) //IL_01c4: Unknown result type (might be due to invalid IL or missing references) //IL_01c9: Unknown result type (might be due to invalid IL or missing references) //IL_01e1: Unknown result type (might be due to invalid IL or missing references) //IL_01e6: Unknown result type (might be due to invalid IL or missing references) //IL_01fe: Unknown result type (might be due to invalid IL or missing references) //IL_0203: Unknown result type (might be due to invalid IL or missing references) //IL_021b: Unknown result type (might be due to invalid IL or missing references) //IL_0220: Unknown result type (might be due to invalid IL or missing references) //IL_0238: Unknown result type (might be due to invalid IL or missing references) //IL_023d: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_025a: Unknown result type (might be due to invalid IL or missing references) //IL_0272: Unknown result type (might be due to invalid IL or missing references) //IL_0277: Unknown result type (might be due to invalid IL or missing references) //IL_028f: Unknown result type (might be due to invalid IL or missing references) //IL_0294: Unknown result type (might be due to invalid IL or missing references) //IL_0394: Unknown result type (might be due to invalid IL or missing references) //IL_0399: Unknown result type (might be due to invalid IL or missing references) //IL_03b1: Unknown result type (might be due to invalid IL or missing references) //IL_03b6: Unknown result type (might be due to invalid IL or missing references) //IL_03ce: Unknown result type (might be due to invalid IL or missing references) //IL_03d3: Unknown result type (might be due to invalid IL or missing references) //IL_03eb: Unknown result type (might be due to invalid IL or missing references) //IL_03f0: Unknown result type (might be due to invalid IL or missing references) //IL_0408: Unknown result type (might be due to invalid IL or missing references) //IL_040d: Unknown result type (might be due to invalid IL or missing references) //IL_0425: Unknown result type (might be due to invalid IL or missing references) //IL_042a: Unknown result type (might be due to invalid IL or missing references) //IL_0442: Unknown result type (might be due to invalid IL or missing references) //IL_0447: Unknown result type (might be due to invalid IL or missing references) //IL_045f: Unknown result type (might be due to invalid IL or missing references) //IL_0464: Unknown result type (might be due to invalid IL or missing references) //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_0498: Unknown result type (might be due to invalid IL or missing references) //IL_04ad: Unknown result type (might be due to invalid IL or missing references) //IL_04b2: Unknown result type (might be due to invalid IL or missing references) //IL_04c7: Unknown result type (might be due to invalid IL or missing references) //IL_04cc: Unknown result type (might be due to invalid IL or missing references) //IL_04e1: Unknown result type (might be due to invalid IL or missing references) //IL_04e6: Unknown result type (might be due to invalid IL or missing references) //IL_04fb: Unknown result type (might be due to invalid IL or missing references) //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_051a: Unknown result type (might be due to invalid IL or missing references) //IL_051f: Unknown result type (might be due to invalid IL or missing references) //IL_0524: Unknown result type (might be due to invalid IL or missing references) //IL_0539: Unknown result type (might be due to invalid IL or missing references) //IL_053e: Unknown result type (might be due to invalid IL or missing references) //IL_0543: Unknown result type (might be due to invalid IL or missing references) //IL_0558: Unknown result type (might be due to invalid IL or missing references) //IL_055d: Unknown result type (might be due to invalid IL or missing references) //IL_0562: Unknown result type (might be due to invalid IL or missing references) //IL_0301: Unknown result type (might be due to invalid IL or missing references) //IL_0306: Unknown result type (might be due to invalid IL or missing references) //IL_031e: Unknown result type (might be due to invalid IL or missing references) //IL_0323: Unknown result type (might be due to invalid IL or missing references) //IL_02c3: Unknown result type (might be due to invalid IL or missing references) //IL_02c8: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e5: Unknown result type (might be due to invalid IL or missing references) //IL_033c: Unknown result type (might be due to invalid IL or missing references) //IL_0341: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_035e: Unknown result type (might be due to invalid IL or missing references) //IL_0583: Unknown result type (might be due to invalid IL or missing references) //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_05a0: Unknown result type (might be due to invalid IL or missing references) //IL_05a5: Unknown result type (might be due to invalid IL or missing references) //IL_05bd: Unknown result type (might be due to invalid IL or missing references) //IL_05c2: Unknown result type (might be due to invalid IL or missing references) //IL_05c7: Unknown result type (might be due to invalid IL or missing references) //IL_05df: Unknown result type (might be due to invalid IL or missing references) //IL_05e4: Unknown result type (might be due to invalid IL or missing references) //IL_05e9: Unknown result type (might be due to invalid IL or missing references) //IL_0625: Unknown result type (might be due to invalid IL or missing references) //IL_062a: Unknown result type (might be due to invalid IL or missing references) //IL_0648: Unknown result type (might be due to invalid IL or missing references) //IL_064d: Unknown result type (might be due to invalid IL or missing references) //IL_066b: Unknown result type (might be due to invalid IL or missing references) //IL_0670: Unknown result type (might be due to invalid IL or missing references) //IL_068e: Unknown result type (might be due to invalid IL or missing references) //IL_0693: Unknown result type (might be due to invalid IL or missing references) //IL_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Unknown result type (might be due to invalid IL or missing references) //IL_06bb: Unknown result type (might be due to invalid IL or missing references) //IL_06d9: Unknown result type (might be due to invalid IL or missing references) //IL_06de: Unknown result type (might be due to invalid IL or missing references) //IL_06e3: Unknown result type (might be due to invalid IL or missing references) //IL_0701: Unknown result type (might be due to invalid IL or missing references) //IL_0706: Unknown result type (might be due to invalid IL or missing references) //IL_070b: Unknown result type (might be due to invalid IL or missing references) //IL_0729: Unknown result type (might be due to invalid IL or missing references) //IL_072e: Unknown result type (might be due to invalid IL or missing references) //IL_0733: Unknown result type (might be due to invalid IL or missing references) if (newSetOfVertices == null) { return; } if (newSetOfVertices.Length < 3) { Debug.LogError((object)"Add at least 3 vertices to the VolumetricLineStrip"); return; } m_lineVertices = newSetOfVertices; Vector3[] array = (Vector3[])(object)new Vector3[m_lineVertices.Length * 2 + 4]; int[] array2 = new int[(m_lineVertices.Length * 2 + 2) * 3]; int num = 0; int num2 = 0; array[num++] = m_lineVertices[0]; array[num++] = m_lineVertices[0]; for (int i = 0; i < m_lineVertices.Length; i++) { array[num++] = m_lineVertices[i]; array[num++] = m_lineVertices[i]; array2[num2++] = num - 2; array2[num2++] = num - 3; array2[num2++] = num - 4; array2[num2++] = num - 1; array2[num2++] = num - 2; array2[num2++] = num - 3; } array[num++] = m_lineVertices[m_lineVertices.Length - 1]; array[num++] = m_lineVertices[m_lineVertices.Length - 1]; array2[num2++] = num - 2; array2[num2++] = num - 3; array2[num2++] = num - 4; array2[num2++] = num - 1; array2[num2++] = num - 2; array2[num2++] = num - 3; Vector2[] array3 = (Vector2[])(object)new Vector2[array.Length]; Vector2[] array4 = (Vector2[])(object)new Vector2[array.Length]; int num3 = 0; int num4 = 0; array3[num3++] = new Vector2(1f, 0f); array3[num3++] = new Vector2(1f, 1f); array3[num3++] = new Vector2(0.5f, 0f); array3[num3++] = new Vector2(0.5f, 1f); array4[num4++] = new Vector2(1f, -1f); array4[num4++] = new Vector2(1f, 1f); array4[num4++] = new Vector2(0f, -1f); array4[num4++] = new Vector2(0f, 1f); for (int j = 1; j < m_lineVertices.Length - 1; j++) { if ((j & 1) == 1) { array3[num3++] = new Vector2(0.5f, 0f); array3[num3++] = new Vector2(0.5f, 1f); } else { array3[num3++] = new Vector2(0.5f, 0f); array3[num3++] = new Vector2(0.5f, 1f); } array4[num4++] = new Vector2(0f, 1f); array4[num4++] = new Vector2(0f, -1f); } array3[num3++] = new Vector2(0.5f, 0f); array3[num3++] = new Vector2(0.5f, 1f); array3[num3++] = new Vector2(0f, 0f); array3[num3++] = new Vector2(0f, 1f); array4[num4++] = new Vector2(0f, 1f); array4[num4++] = new Vector2(0f, -1f); array4[num4++] = new Vector2(1f, 1f); array4[num4++] = new Vector2(1f, -1f); Vector3[] array5 = (Vector3[])(object)new Vector3[array.Length]; Vector4[] array6 = (Vector4[])(object)new Vector4[array.Length]; int num5 = 0; int num6 = 0; array5[num5++] = m_lineVertices[1]; array5[num5++] = m_lineVertices[1]; array5[num5++] = m_lineVertices[1]; array5[num5++] = m_lineVertices[1]; array6[num6++] = Vector4.op_Implicit(m_lineVertices[1]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[1]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[1]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[1]); for (int k = 1; k < m_lineVertices.Length - 1; k++) { array5[num5++] = m_lineVertices[k - 1]; array5[num5++] = m_lineVertices[k - 1]; array6[num6++] = Vector4.op_Implicit(m_lineVertices[k + 1]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[k + 1]); } array5[num5++] = m_lineVertices[m_lineVertices.Length - 2]; array5[num5++] = m_lineVertices[m_lineVertices.Length - 2]; array5[num5++] = m_lineVertices[m_lineVertices.Length - 2]; array5[num5++] = m_lineVertices[m_lineVertices.Length - 2]; array6[num6++] = Vector4.op_Implicit(m_lineVertices[m_lineVertices.Length - 2]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[m_lineVertices.Length - 2]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[m_lineVertices.Length - 2]); array6[num6++] = Vector4.op_Implicit(m_lineVertices[m_lineVertices.Length - 2]); if ((Object)null != (Object)(object)m_meshFilter) { Mesh sharedMesh = m_meshFilter.sharedMesh; if ((Object)null != (Object)(object)sharedMesh) { sharedMesh.SetIndices((int[])null, (MeshTopology)0, 0); sharedMesh.vertices = array; sharedMesh.normals = array5; sharedMesh.tangents = array6; sharedMesh.uv = array3; sharedMesh.uv2 = array4; sharedMesh.SetIndices(array2, (MeshTopology)0, 0); UpdateBounds(); } } } private void Start() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0013: Expected O, but got Unknown //IL_0047: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) m_meshRenderer = ((Component)this).GetComponent<MeshRenderer>(); Mesh mesh = new Mesh(); m_meshFilter = ((Component)this).GetComponent<MeshFilter>(); m_meshFilter.mesh = mesh; UpdateLineVertices(m_lineVertices); CreateMaterial(); m_lineVertices[0] = Vector3.zero; lightsaberTrails = ((Component)this).GetComponentsInChildren<LightsaberTrail>(); } private void OnDestroy() { if ((Object)null != (Object)(object)m_meshFilter) { if (Application.isPlaying) { Object.Destroy((Object)(object)m_meshFilter.sharedMesh); } else { Object.DestroyImmediate((Object)(object)m_meshFilter.sharedMesh); } m_meshFilter.sharedMesh = null; } DestroyMaterial(); } private void Update() { //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0044: 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_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0079: 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_0082: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00f8: Unknown result type (might be due to invalid IL or missing references) targetLength = (start ? maxLengthVector : Vector3.zero); targetTrailLength = (start ? maxTrailLength : 0f); if (LineVertices[0] != targetLength) { Vector3 val = Vector3.Lerp(LineVertices[0], targetLength, speed * Time.deltaTime); LineVertices[0] = val; UpdateLineVertices(m_lineVertices); LightsaberTrail[] array = lightsaberTrails; foreach (LightsaberTrail lightsaberTrail in array) { lightsaberTrail.height = Mathf.Lerp(lightsaberTrail.height, targetTrailLength, speed * Time.deltaTime); } } if ((!start && stopwatch <= 0f) || LineVertices[0] == Vector3.zero) { ((Renderer)m_meshRenderer).enabled = false; } else { ((Renderer)m_meshRenderer).enabled = true; } if (Object.op_Implicit((Object)(object)behaviour)) { if (behaviour.start) { if (!hasStartDelay) { stopwatch = lengthDelay; } if (stopwatch < lengthDelay) { stopwatch += Time.deltaTime; } } else if (stopwatch > 0f) { stopwatch -= Time.deltaTime; } if (stopwatch >= lengthDelay) { if (play) { play = false; } start = true; } else if (stopwatch <= 0f) { if (!play) { play = true; } start = false; } } else if (start) { if (play) { play = false; } } else if (!play) { play = true; } if (((Component)this).transform.hasChanged) { UpdateLineScale(); UpdateBounds(); } } private void OnValidate() { //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_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) Scene scene = ((Component)this).gameObject.scene; if (!string.IsNullOrEmpty(((Scene)(ref scene)).name)) { scene = ((Component)this).gameObject.scene; if (!string.IsNullOrEmpty(((Scene)(ref scene)).path)) { CreateMaterial(); SetAllMaterialProperties(); UpdateBounds(); } } } private void OnDrawGizmos() { //IL_0001: 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_0051: 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) Gizmos.color = Color.green; if (m_lineVertices != null) { for (int i = 0; i < m_lineVertices.Length - 1; i++) { Gizmos.DrawLine(((Component)this).gameObject.transform.TransformPoint(m_lineVertices[i]), ((Component)this).gameObject.transform.TransformPoint(m_lineVertices[i + 1])); } } } } namespace Zero; internal class Assets { public static AssetBundle MainAssetBundle; public static T Load<T>(string name) where T : Object { return MainAssetBundle.LoadAsset<T>(name); } public static void PopulateAssets() { Assembly executingAssembly = Assembly.GetExecutingAssembly(); if ((Object)(object)MainAssetBundle == (Object)null) { using (Stream stream = executingAssembly.GetManifestResourceStream("Zero.AssetBundle." + "Zero".ToLower() + "assets")) { MainAssetBundle = AssetBundle.LoadFromStream(stream); } } } } internal class BoomerangRedirection : MonoBehaviour { private ProjectileController controller; private BoomerangProjectile boomer; private CharacterBody body; public float stopwatch; public float timer = 0.7f; public float turnSpeed = 0.4f; private void Awake() { controller = ((Component)this).GetComponent<ProjectileController>(); boomer = ((Component)this).GetComponent<BoomerangProjectile>(); } private void Start() { body = (Object.op_Implicit((Object)(object)controller.owner) ? controller.owner.GetComponent<CharacterBody>() : null); } private void FixedUpdate() { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Invalid comparison between Unknown and I4 //IL_0078: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)body) && Object.op_Implicit((Object)(object)boomer) && (int)boomer.boomerangState != 2) { stopwatch += Time.fixedDeltaTime; if (stopwatch >= timer) { stopwatch = 0f; } ((Component)this).transform.forward = body.inputBank.aimDirection; } } } internal class HookBehaviour : MonoBehaviour { private CharacterBody ownerBody; private BoomerangProjectile boomer; private ProjectileController controller; private Rigidbody rigidBody; private CharacterMotor targetMotor; private RigidbodyMotor targetRigidMotor; private Collider collider; private int targetLayer; public float maxMass = 200f; private bool big; public float minDistance = 6f; private void Awake() { boomer = ((Component)this).GetComponent<BoomerangProjectile>(); controller = ((Component)this).GetComponent<ProjectileController>(); collider = ((Component)this).GetComponent<Collider>(); rigidBody = ((Component)this).GetComponent<Rigidbody>(); } private void Start() { ownerBody = (Object.op_Implicit((Object)(object)controller.owner) ? controller.owner.GetComponent<CharacterBody>() : null); } private void OnDisable() { if (Object.op_Implicit((Object)(object)targetMotor)) { ((Component)targetMotor).gameObject.layer = targetLayer; ((BaseCharacterController)targetMotor).Motor.RebuildCollidableLayers(); targetMotor.disableAirControlUntilCollision = false; } } private void FixedUpdate() { //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_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Invalid comparison between Unknown and I4 if (!big) { if (Object.op_Implicit((Object)(object)targetMotor)) { targetMotor.disableAirControlUntilCollision = true; targetMotor.velocity = Vector3.zero; targetMotor.rootMotion = Vector3.zero; ((BaseCharacterController)targetMotor).Motor.SetPosition(((Component)this).transform.position, true); } else if (Object.op_Implicit((Object)(object)targetRigidMotor)) { targetRigidMotor.rigid.MovePosition(((Component)this).transform.position); } if (Object.op_Implicit((Object)(object)ownerBody) && (Object.op_Implicit((Object)(object)targetMotor) || Object.op_Implicit((Object)(object)targetRigidMotor) || (int)boomer.boomerangState == 2) && Vector3.Distance(((Component)this).transform.position, ownerBody.corePosition) <= minDistance) { Object.Destroy((Object)(object)((Component)this).gameObject); } } } public void OnCollisionEnter(Collision collision) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Invalid comparison between Unknown and I4 //IL_02b4: Unknown result type (might be due to invalid IL or missing references) //IL_02b9: Unknown result type (might be due to invalid IL or missing references) //IL_02e5: Unknown result type (might be due to invalid IL or missing references) //IL_033c: Unknown result type (might be due to invalid IL or missing references) //IL_0341: 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_034a: Unknown result type (might be due to invalid IL or missing references) //IL_026c: Unknown result type (might be due to invalid IL or missing references) //IL_0272: Invalid comparison between Unknown and I4 //IL_0191: Unknown result type (might be due to invalid IL or missing references) //IL_0291: 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_01e8: Unknown result type (might be due to invalid IL or missing references) //IL_01ed: Unknown result type (might be due to invalid IL or missing references) //IL_01f1: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) if ((int)boomer.boomerangState == 2) { return; } if (Object.op_Implicit((Object)(object)controller.owner) && Object.op_Implicit((Object)(object)collision.collider) && (Object)(object)((Component)collision.collider).gameObject != (Object)(object)controller.owner) { HurtBox component = ((Component)collision.collider).GetComponent<HurtBox>(); Bounds bounds; Vector3 size; if (Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.healthComponent) && Object.op_Implicit((Object)(object)component.healthComponent.body)) { float num = 0f; GameObject val = null; targetMotor = component.healthComponent.body.characterMotor; if (!Object.op_Implicit((Object)(object)targetMotor)) { targetRigidMotor = ((Component)component.healthComponent.body).GetComponent<RigidbodyMotor>(); if (Object.op_Implicit((Object)(object)targetRigidMotor)) { val = ((Component)targetRigidMotor).gameObject; num = targetRigidMotor.mass; } } else { val = ((Component)targetMotor).gameObject; num = targetMotor.mass; } if (num >= maxMass) { big = true; if (Object.op_Implicit((Object)(object)val)) { ((Component)this).transform.parent = val.transform; } if (Object.op_Implicit((Object)(object)controller.owner)) { rigidBody.velocity = Vector3.zero; ((Behaviour)boomer).enabled = false; if (Util.HasEffectiveAuthority(controller.owner)) { EntityStateMachine component2 = controller.owner.GetComponent<EntityStateMachine>(); HookDash obj = new HookDash { projectile = ((Component)this).gameObject }; bounds = collision.collider.bounds; size = ((Bounds)(ref bounds)).size; obj.radius = ((Vector3)(ref size)).magnitude; component2.SetNextState((EntityState)(object)obj); } } } else if (Object.op_Implicit((Object)(object)targetMotor)) { targetLayer = ((Component)targetMotor).gameObject.layer; ((Component)targetMotor).gameObject.layer = LayerIndex.fakeActor.intVal; ((BaseCharacterController)targetMotor).Motor.RebuildCollidableLayers(); } if ((int)boomer.boomerangState != 2) { boomer.boomerangState = (BoomerangState)2; } rigidBody.velocity = Vector3.zero; } else { EffectManager.SimpleEffect(boomer.impactSpark, ((Component)this).transform.position, Quaternion.identity, false); if (Object.op_Implicit((Object)(object)controller.owner)) { rigidBody.velocity = Vector3.zero; ((Behaviour)boomer).enabled = false; if (Util.HasEffectiveAuthority(controller.owner)) { EntityStateMachine component3 = controller.owner.GetComponent<EntityStateMachine>(); HookDash obj2 = new HookDash { projectile = ((Component)this).gameObject }; bounds = collision.collider.bounds; size = ((Bounds)(ref bounds)).size; obj2.radius = ((Vector3)(ref size)).magnitude; component3.SetNextState((EntityState)(object)obj2); } } } } collider.enabled = false; } } internal class HookLineBehaviour : MonoBehaviour { private ProjectileGhostController ghost; private LineRenderer line; private Transform muzzle; private Transform start; private void Awake() { ghost = ((Component)this).GetComponent<ProjectileGhostController>(); ChildLocator component = ((Component)this).GetComponent<ChildLocator>(); line = ((Component)component.FindChild("line")).GetComponent<LineRenderer>(); start = component.FindChild("startPos"); } private void Start() { Transform val = (Object.op_Implicit((Object)(object)ghost.authorityTransform) ? ghost.authorityTransform : ghost.predictionTransform); if (!Object.op_Implicit((Object)(object)val)) { return; } ProjectileController component = ((Component)val).GetComponent<ProjectileController>(); if (!Object.op_Implicit((Object)(object)component) || !Object.op_Implicit((Object)(object)component.owner)) { return; } CharacterBody component2 = component.owner.GetComponent<CharacterBody>(); if (Object.op_Implicit((Object)(object)component2) && Object.op_Implicit((Object)(object)component2.modelLocator) && Object.op_Implicit((Object)(object)component2.modelLocator.modelTransform)) { ChildLocator component3 = ((Component)component2.modelLocator.modelTransform).GetComponent<ChildLocator>(); if (Object.op_Implicit((Object)(object)component3)) { muzzle = component3.FindChild("hand.l"); } } } private void Update() { //IL_000e: 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_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) line.SetPosition(0, start.position); Vector3 position = ((Component)this).transform.position; if (Object.op_Implicit((Object)(object)muzzle)) { position = muzzle.position; } line.SetPosition(1, position); } } internal class ProjectileReturnBehaviour : MonoBehaviour { public int index = 0; private ProjectileController controller; private BoomerangProjectile boomerAang; private CharacterBody ownerBody; private ZeroBehaviour behaviour; public float minDistance = 4f; private void Awake() { controller = ((Component)this).GetComponent<ProjectileController>(); boomerAang = ((Component)this).GetComponent<BoomerangProjectile>(); } private void Start() { ownerBody = (Object.op_Implicit((Object)(object)controller.owner) ? controller.owner.GetComponent<CharacterBody>() : null); behaviour = (Object.op_Implicit((Object)(object)controller.owner) ? controller.owner.GetComponent<ZeroBehaviour>() : null); } private void FixedUpdate() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Invalid comparison between Unknown and I4 //IL_0022: 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) if ((int)boomerAang.boomerangState == 2 && Object.op_Implicit((Object)(object)ownerBody) && Vector3.Distance(((Component)this).transform.position, ownerBody.corePosition) <= minDistance) { Object.Destroy((Object)(object)((Component)this).gameObject); } } private void OnDestroy() { if (Object.op_Implicit((Object)(object)behaviour)) { behaviour.leans[index] = true; } } } internal class ZeroBehaviour : NetworkBehaviour { private CharacterBody body; public float dashSpeeed = 2.2f; public float hookDashDuration = 0.27f; public float batForce = 5600f; public float batSpeed = 156f; public float daggerForce = 3600f; public float daggerUpSpeed = 46f; public float daggerDownSpeed = 66f; public bool toggle; public Animator animator; public ChildLocator childLocator; public SkillLocator skillLocator; public GenericSkill skill1; public GenericSkill skill2; public int skill1Index; public int skill2Index; public bool[] leans = new bool[2]; public GameObject saber; public GameObject claymore; public GameObject dagger; public GameObject daggerL; public GameObject cannon; public GameObject pistol; public GameObject kunai; public GameObject shield; public GameObject smg; public GameObject bat; public HookBehaviour hookBehaviour; private bool updatedWeapons; public float selfForce = 9800f; private static int kCmdCmdRecoil; public bool greatswordReturned => leans[0]; public bool shieldReturned => leans[1]; [Command] public void CmdRecoil() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) body.healthComponent.TakeDamageForce(-body.inputBank.aimDirection * selfForce, true, false); } private void Awake() { body = ((Component)this).GetComponent<CharacterBody>(); } private void Start() { UpdateWeapons(); } public void HideWeapons() { saber.SetActive(false); dagger.SetActive(false); daggerL.SetActive(false); claymore.SetActive(false); pistol.SetActive(false); smg.SetActive(false); cannon.SetActive(false); shield.SetActive(false); bat.SetActive(false); kunai.SetActive(false); } public void UpdateWeapons() { //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_007e: Unknown result type (might be due to invalid IL or missing references) skill1Index = Array.IndexOf(skillLocator.primary.skillFamily.variants, Array.Find(skillLocator.primary.skillFamily.variants, (Variant x) => (Object)(object)x.skillDef == (Object)(object)skillLocator.primary.skillDef)); skill2Index = Array.IndexOf(skillLocator.secondary.skillFamily.variants, Array.Find(skillLocator.secondary.skillFamily.variants, (Variant x) => (Object)(object)x.skillDef == (Object)(object)skillLocator.secondary.skillDef)); saber.SetActive(skill1Index == 0); dagger.SetActive(skill1Index == 1); claymore.SetActive(skill1Index == 2); pistol.SetActive(skill1Index == 3); smg.SetActive(skill1Index == 4); cannon.SetActive(skill1Index == 5); shield.SetActive(skill2Index == 0); bat.SetActive(skill2Index == 1); kunai.SetActive(skill2Index == 4); daggerL.SetActive(skill2Index == 5); } private void FixedUpdate() { if (!updatedWeapons) { updatedWeapons = true; UpdateWeapons(); } } public void Switch() { Util.Swap<GenericSkill>(ref skillLocator.primary, ref skill1); Util.Swap<GenericSkill>(ref skillLocator.secondary, ref skill2); toggle = toggle; UpdateWeapons(); } private void UNetVersion() { } protected static void InvokeCmdCmdRecoil(NetworkBehaviour obj, NetworkReader reader) { if (!NetworkServer.active) { Debug.LogError((object)"Command CmdRecoil called on client."); } else { ((ZeroBehaviour)(object)obj).CmdRecoil(); } } public void CallCmdRecoil() { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Expected O, but got Unknown //IL_0054: Unknown result type (might be due to invalid IL or missing references) if (!NetworkClient.active) { Debug.LogError((object)"Command function CmdRecoil called on server."); return; } if (((NetworkBehaviour)this).isServer) { CmdRecoil(); return; } NetworkWriter val = new NetworkWriter(); val.Write((short)0); val.Write((short)5); val.WritePackedUInt32((uint)kCmdCmdRecoil); val.Write(((Component)this).GetComponent<NetworkIdentity>().netId); ((NetworkBehaviour)this).SendCommandInternal(val, 0, "CmdRecoil"); } static ZeroBehaviour() { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Expected O, but got Unknown kCmdCmdRecoil = 1080013495; NetworkBehaviour.RegisterCommandDelegate(typeof(ZeroBehaviour), kCmdCmdRecoil, new CmdDelegate(InvokeCmdCmdRecoil)); NetworkCRC.RegisterBehaviour("ZeroBehaviour", 0); } public override bool OnSerialize(NetworkWriter writer, bool forceAll) { bool result = default(bool); return result; } public override void OnDeserialize(NetworkReader reader, bool initialState) { } } internal class Hook { internal static void Hooks() { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Expected O, but got Unknown GlobalEventManager.onServerDamageDealt += GlobalEventManager_onServerDamageDealt; BulletAttack.ProcessHit += new hook_ProcessHit(BulletAttack_ProcessHit); } private static bool BulletAttack_ProcessHit(orig_ProcessHit orig, BulletAttack self, ref BulletHit hitInfo) { //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) if (Object.op_Implicit((Object)(object)hitInfo.hitHurtBox) && hitInfo.hitHurtBox.healthComponent.body.HasBuff(Prefabs.reflect)) { EffectManager.SimpleEffect(Prefabs.shieldProcEffect, hitInfo.point, Quaternion.identity, true); return false; } return orig.Invoke(self, ref hitInfo); } private static void HealthComponent_TakeDamage(orig_TakeDamage orig, HealthComponent self, DamageInfo damageInfo) { //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0057: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) ZeroBehaviour component = ((Component)self.body).GetComponent<ZeroBehaviour>(); if (damageInfo.procCoefficient > 0f && Object.op_Implicit((Object)(object)component) && self.body.HasBuff(Prefabs.reflect) && Object.op_Implicit((Object)(object)damageInfo.attacker)) { Vector3 val = damageInfo.attacker.transform.position - self.body.corePosition; if (Vector3.Dot(((Vector3)(ref val)).normalized, self.body.characterDirection.forward) > 0f) { damageInfo.rejected = true; } } orig.Invoke(self, damageInfo); } private static void GlobalEventManager_onServerDamageDealt(DamageReport damageReport) { //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_0016: Invalid comparison between Unknown and I4 //IL_00a4: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00cb: 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_00e3: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_0105: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Expected O, but got Unknown if ((int)DamageTypeCombo.op_Implicit(damageReport.damageInfo.damageType) == 262144 && Object.op_Implicit((Object)(object)damageReport.victimBody) && Object.op_Implicit((Object)(object)damageReport.attackerBody) && damageReport.victimBody.HasBuff(Buffs.MercExpose) && damageReport.attackerBody.baseNameToken == "ZERO_NAME") { damageReport.victimBody.RemoveBuff(Buffs.MercExpose); SkillLocator skillLocator = damageReport.attackerBody.skillLocator; if (Object.op_Implicit((Object)(object)skillLocator)) { skillLocator.DeductCooldownFromAllSkillsServer(1f); } EffectManager.SimpleImpactEffect(AssetReferences.mercExposeConsumeEffectPrefab, damageReport.damageInfo.position, Vector3.up, true); DamageInfo val = new DamageInfo { position = damageReport.damageInfo.position, attacker = ((Component)damageReport.attackerBody).gameObject, crit = false, damage = damageReport.attackerBody.damage * 3.5f, procCoefficient = 0f, inflictor = ((Component)damageReport.attackerBody).gameObject }; damageReport.victimBody.healthComponent.TakeDamage(val); } } } internal class ItemDisplays { internal static ItemDisplayRuleSet itemDisplayRuleSet; internal static List<KeyAssetRuleGroup> itemDisplayRules; private static Dictionary<Object, GameObject> itemDisplayPrefabs = new Dictionary<Object, GameObject>(); private static Vector3 vec = Vector3.one; internal static void PopulateDisplays() { PopulateFromBody("Commando"); PopulateFromBody("Croco"); PopulateFromBody("Mage"); } private static void PopulateFromBody(string bodyName) { ItemDisplayRuleSet val = ((Component)Prefabs.Load<GameObject>("Prefabs/CharacterBodies/" + bodyName + "Body").GetComponent<ModelLocator>().modelTransform).GetComponent<CharacterModel>().itemDisplayRuleSet; KeyAssetRuleGroup[] keyAssetRuleGroups = val.keyAssetRuleGroups; for (int i = 0; i < keyAssetRuleGroups.Length; i++) { ItemDisplayRule[] rules = keyAssetRuleGroups[i].displayRuleGroup.rules; for (int j = 0; j < rules.Length; j++) { GameObject followerPrefab = rules[j].followerPrefab; if (Object.op_Implicit((Object)(object)followerPrefab)) { Object keyAsset = keyAssetRuleGroups[i].keyAsset; ItemDef val2 = (ItemDef)(object)((keyAsset is ItemDef) ? keyAsset : null); Object keyAsset2 = keyAssetRuleGroups[i].keyAsset; EquipmentDef val3 = (EquipmentDef)(object)((keyAsset2 is EquipmentDef) ? keyAsset2 : null); if ((Object)(object)val2 != (Object)null && !itemDisplayPrefabs.ContainsKey((Object)(object)val2)) { itemDisplayPrefabs.Add((Object)(object)val2, followerPrefab); } if ((Object)(object)val3 != (Object)null && !itemDisplayPrefabs.ContainsKey((Object)(object)val3)) { itemDisplayPrefabs.Add((Object)(object)val3, followerPrefab); } } } } } public static void RegisterDisplays() { itemDisplayRuleSet = ScriptableObject.CreateInstance<ItemDisplayRuleSet>(); ((Object)itemDisplayRuleSet).name = "ZeroIDRS"; GameObject characterPrefab = MainPlugin.characterPrefab; GameObject gameObject = ((Component)characterPrefab.GetComponentInChildren<ModelLocator>().modelTransform).gameObject; CharacterModel component = gameObject.GetComponent<CharacterModel>(); component.itemDisplayRuleSet = itemDisplayRuleSet; } public static void SetIDRS() { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0055: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00d5: Unknown result type (might be due to invalid IL or missing references) //IL_00da: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00f5: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0115: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_011f: Unknown result type (might be due to invalid IL or missing references) //IL_0135: Unknown result type (might be due to invalid IL or missing references) //IL_013a: Unknown result type (might be due to invalid IL or missing references) //IL_013f: Unknown result type (might be due to invalid IL or missing references) //IL_0155: Unknown result type (might be due to invalid IL or missing references) //IL_015a: Unknown result type (might be due to invalid IL or missing references) //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Unknown result type (might be due to invalid IL or missing references) //IL_017a: Unknown result type (might be due to invalid IL or missing references) //IL_017f: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_019a: Unknown result type (might be due to invalid IL or missing references) //IL_019f: Unknown result type (might be due to invalid IL or missing references) //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: 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_01d5: Unknown result type (might be due to invalid IL or missing references) //IL_01da: Unknown result type (might be due to invalid IL or missing references) //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01f5: Unknown result type (might be due to invalid IL or missing references) //IL_01fa: Unknown result type (might be due to invalid IL or missing references) //IL_01ff: Unknown result type (might be due to invalid IL or missing references) //IL_0215: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_021f: Unknown result type (might be due to invalid IL or missing references) //IL_0235: Unknown result type (might be due to invalid IL or missing references) //IL_023a: Unknown result type (might be due to invalid IL or missing references) //IL_023f: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_025a: Unknown result type (might be due to invalid IL or missing references) //IL_025f: Unknown result type (might be due to invalid IL or missing references) //IL_0275: Unknown result type (might be due to invalid IL or missing references) //IL_027a: Unknown result type (might be due to invalid IL or missing references) //IL_027f: Unknown result type (might be due to invalid IL or missing references) //IL_0295: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_029f: Unknown result type (might be due to invalid IL or missing references) //IL_02b5: Unknown result type (might be due to invalid IL or missing references) //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02d5: Unknown result type (might be due to invalid IL or missing references) //IL_02da: Unknown result type (might be due to invalid IL or missing references) //IL_02df: Unknown result type (might be due to invalid IL or missing references) //IL_02f5: Unknown result type (might be due to invalid IL or missing references) //IL_02fa: Unknown result type (might be due to invalid IL or missing references) //IL_02ff: Unknown result type (might be due to invalid IL or missing references) //IL_0315: Unknown result type (might be due to invalid IL or missing references) //IL_031a: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Unknown result type (might be due to invalid IL or missing references) //IL_0335: Unknown result type (might be due to invalid IL or missing references) //IL_033a: Unknown result type (might be due to invalid IL or missing references) //IL_033f: Unknown result type (might be due to invalid IL or missing references) //IL_0355: Unknown result type (might be due to invalid IL or missing references) //IL_035a: Unknown result type (might be due to invalid IL or missing references) //IL_035f: Unknown result type (might be due to invalid IL or missing references) //IL_0375: Unknown result type (might be due to invalid IL or missing references) //IL_037a: Unknown result type (might be due to invalid IL or missing references) //IL_037f: Unknown result type (might be due to invalid IL or missing references) //IL_0395: Unknown result type (might be due to invalid IL or missing references) //IL_039a: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03b5: Unknown result type (might be due to invalid IL or missing references) //IL_03ba: Unknown result type (might be due to invalid IL or missing references) //IL_03bf: Unknown result type (might be due to invalid IL or missing references) //IL_03d5: Unknown result type (might be due to invalid IL or missing references) //IL_03da: Unknown result type (might be due to invalid IL or missing references) //IL_03df: Unknown result type (might be due to invalid IL or missing references) //IL_03f5: Unknown result type (might be due to invalid IL or missing references) //IL_03fa: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_0415: Unknown result type (might be due to invalid IL or missing references) //IL_041a: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_0435: Unknown result type (might be due to invalid IL or missing references) //IL_043a: Unknown result type (might be due to invalid IL or missing references) //IL_043f: Unknown result type (might be due to invalid IL or missing references) //IL_0455: Unknown result type (might be due to invalid IL or missing references) //IL_045a: Unknown result type (might be due to invalid IL or missing references) //IL_045f: Unknown result type (might be due to invalid IL or missing references) //IL_0475: Unknown result type (might be due to invalid IL or missing references) //IL_047a: Unknown result type (might be due to invalid IL or missing references) //IL_047f: Unknown result type (might be due to invalid IL or missing references) //IL_0495: Unknown result type (might be due to invalid IL or missing references) //IL_049a: Unknown result type (might be due to invalid IL or missing references) //IL_049f: Unknown result type (might be due to invalid IL or missing references) //IL_04b5: Unknown result type (might be due to invalid IL or missing references) //IL_04ba: Unknown result type (might be due to invalid IL or missing references) //IL_04bf: Unknown result type (might be due to invalid IL or missing references) //IL_04d5: Unknown result type (might be due to invalid IL or missing references) //IL_04da: Unknown result type (might be due to invalid IL or missing references) //IL_04df: Unknown result type (might be due to invalid IL or missing references) //IL_04e9: Unknown result type (might be due to invalid IL or missing references) //IL_04ee: Unknown result type (might be due to invalid IL or missing references) //IL_04f3: Unknown result type (might be due to invalid IL or missing references) //IL_0509: Unknown result type (might be due to invalid IL or missing references) //IL_050e: Unknown result type (might be due to invalid IL or missing references) //IL_0513: Unknown result type (might be due to invalid IL or missing references) //IL_0529: Unknown result type (might be due to invalid IL or missing references) //IL_052e: Unknown result type (might be due to invalid IL or missing references) //IL_0533: Unknown result type (might be due to invalid IL or missing references) //IL_0549: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_0553: Unknown result type (might be due to invalid IL or missing references) //IL_0569: Unknown result type (might be due to invalid IL or missing references) //IL_056e: Unknown result type (might be due to invalid IL or missing references) //IL_0573: Unknown result type (might be due to invalid IL or missing references) //IL_0589: Unknown result type (might be due to invalid IL or missing references) //IL_058e: Unknown result type (might be due to invalid IL or missing references) //IL_0593: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Unknown result type (might be due to invalid IL or missing references) //IL_05ae: Unknown result type (might be due to invalid IL or missing references) //IL_05b3: Unknown result type (might be due to invalid IL or missing references) //IL_05c9: Unknown result type (might be due to invalid IL or missing references) //IL_05ce: Unknown result type (might be due to invalid IL or missing references) //IL_05d3: Unknown result type (might be due to invalid IL or missing references) //IL_05e9: Unknown result type (might be due to invalid IL or missing references) //IL_05ee: Unknown result type (might be due to invalid IL or missing references) //IL_05f3: Unknown result type (might be due to invalid IL or missing references) //IL_0609: Unknown result type (might be due to invalid IL or missing references) //IL_060e: Unknown result type (might be due to invalid IL or missing references) //IL_0613: Unknown result type (might be due to invalid IL or missing references) //IL_0629: Unknown result type (might be due to invalid IL or missing references) //IL_062e: Unknown result type (might be due to invalid IL or missing references) //IL_0633: Unknown result type (might be due to invalid IL or missing references) //IL_0649: Unknown result type (might be due to invalid IL or missing references) //IL_064e: Unknown result type (might be due to invalid IL or missing references) //IL_0653: Unknown result type (might be due to invalid IL or missing references) //IL_0669: Unknown result type (might be due to invalid IL or missing references) //IL_066e: Unknown result type (might be due to invalid IL or missing references) //IL_0673: Unknown result type (might be due to invalid IL or missing references) //IL_0689: Unknown result type (might be due to invalid IL or missing references) //IL_068e: Unknown result type (might be due to invalid IL or missing references) //IL_0693: Unknown result type (might be due to invalid IL or missing references) //IL_06a9: Unknown result type (might be due to invalid IL or missing references) //IL_06ae: Unknown result type (might be due to invalid IL or missing references) //IL_06b3: Unknown result type (might be due to invalid IL or missing references) //IL_06c9: Unknown result type (might be due to invalid IL or missing references) //IL_06ce: Unknown result type (might be due to invalid IL or missing references) //IL_06d3: Unknown result type (might be due to invalid IL or missing references) //IL_06e9: Unknown result type (might be due to invalid IL or missing references) //IL_06ee: Unknown result type (might be due to invalid IL or missing references) //IL_06f3: Unknown result type (might be due to invalid IL or missing references) //IL_0709: Unknown result type (might be due to invalid IL or missing references) //IL_070e: Unknown result type (might be due to invalid IL or missing references) //IL_0713: Unknown result type (might be due to invalid IL or missing references) //IL_0729: Unknown result type (might be due to invalid IL or missing references) //IL_072e: Unknown result type (might be due to invalid IL or missing references) //IL_0733: Unknown result type (might be due to invalid IL or missing references) //IL_0749: Unknown result type (might be due to invalid IL or missing references) //IL_074e: Unknown result type (might be due to invalid IL or missing references) //IL_0753: Unknown result type (might be due to invalid IL or missing references) //IL_0769: Unknown result type (might be due to invalid IL or missing references) //IL_076e: Unknown result type (might be due to invalid IL or missing references) //IL_0773: Unknown result type (might be due to invalid IL or missing references) //IL_0789: Unknown result type (might be due to invalid IL or missing references) //IL_078e: Unknown result type (might be due to invalid IL or missing references) //IL_0793: Unknown result type (might be due to invalid IL or missing references) //IL_079d: Unknown result type (might be due to invalid IL or missing references) //IL_07a2: Unknown result type (might be due to invalid IL or missing references) //IL_07a7: Unknown result type (might be due to invalid IL or missing references) //IL_07bd: Unknown result type (might be due to invalid IL or missing references) //IL_07c2: Unknown result type (might be due to invalid IL or missing references) //IL_07c7: Unknown result type (might be due to invalid IL or missing references) //IL_07dd: Unknown result type (might be due to invalid IL or missing references) //IL_07e2: Unknown result type (might be due to invalid IL or missing references) //IL_07e7: Unknown result type (might be due to invalid IL or missing references) //IL_07fd: Unknown result type (might be due to invalid IL or missing references) //IL_0802: Unknown result type (might be due to invalid IL or missing references) //IL_0807: Unknown result type (might be due to invalid IL or missing references) //IL_081d: Unknown result type (might be due to invalid IL or missing references) //IL_0822: Unknown result type (might be due to invalid IL or missing references) //IL_0827: Unknown result type (might be due to invalid IL or missing references) //IL_083d: Unknown result type (might be due to invalid IL or missing references) //IL_0842: Unknown result type (might be due to invalid IL or missing references) //IL_0847: Unknown result type (might be due to invalid IL or missing references) //IL_085d: Unknown result type (might be due to invalid IL or missing references) //IL_0862: Unknown result type (might be due to invalid IL or missing references) //IL_0867: Unknown result type (might be due to invalid IL or missing references) //IL_087d: Unknown result type (might be due to invalid IL or missing references) //IL_0882: Unknown result type (might be due to invalid IL or missing references) //IL_0887: Unknown result type (might be due to invalid IL or missing references) //IL_089d: Unknown result type (might be due to invalid IL or missing references) //IL_08a2: Unknown result type (might be due to invalid IL or missing references) //IL_08a7: Unknown result type (might be due to invalid IL or missing references) //IL_08bd: Unknown result type (might be due to invalid IL or missing references) //IL_08c2: Unknown result type (might be due to invalid IL or missing references) //IL_08c7: Unknown result type (might be due to invalid IL or missing references) //IL_08dd: Unknown result type (might be due to invalid IL or missing references) //IL_08e2: Unknown result type (might be due to invalid IL or missing references) //IL_08e7: Unknown result type (might be due to invalid IL or missing references) //IL_08fd: Unknown result type (might be due to invalid IL or missing references) //IL_0902: Unknown result type (might be due to invalid IL or missing references) //IL_0907: Unknown result type (might be due to invalid IL or missing references) //IL_091d: Unknown result type (might be due to invalid IL or missing references) //IL_0922: Unknown result type (might be due to invalid IL or missing references) //IL_0927: Unknown result type (might be due to invalid IL or missing references) //IL_093d: Unknown result type (might be due to invalid IL or missing references) //IL_0942: Unknown result type (might be due to invalid IL or missing references) //IL_0947: Unknown result type (might be due to invalid IL or missing references) //IL_095d: Unknown result type (might be due to invalid IL or missing references) //IL_0962: Unknown result type (might be due to invalid IL or missing references) //IL_0967: Unknown result type (might be due to invalid IL or missing references) //IL_097d: Unknown result type (might be due to invalid IL or missing references) //IL_0982: Unknown result type (might be due to invalid IL or missing references) //IL_0987: Unknown result type (might be due to invalid IL or missing references) //IL_099d: Unknown result type (might be due to invalid IL or missing references) //IL_09a2: Unknown result type (might be due to invalid IL or missing references) //IL_09a7: Unknown result type (might be due to invalid IL or missing references) //IL_09bd: Unknown result type (might be due to invalid IL or missing references) //IL_09c2: Unknown result type (might be due to invalid IL or missing references) //IL_09c7: Unknown result type (might be due to invalid IL or missing references) //IL_09dd: Unknown result type (might be due to invalid IL or missing references) //IL_09e2: Unknown result type (might be due to invalid IL or missing references) //IL_09e7: Unknown result type (might be due to invalid IL or missing references) //IL_09fd: Unknown result type (might be due to invalid IL or missing references) //IL_0a02: Unknown result type (might be due to invalid IL or missing references) //IL_0a07: Unknown result type (might be due to invalid IL or missing references) //IL_0a1d: Unknown result type (might be due to invalid IL or missing references) //IL_0a22: Unknown result type (might be due to invalid IL or missing references) //IL_0a27: Unknown result type (might be due to invalid IL or missing references) //IL_0a3d: Unknown result type (might be due to invalid IL or missing references) //IL_0a42: Unknown result type (might be due to invalid IL or missing references) //IL_0a47: Unknown result type (might be due to invalid IL or missing references) //IL_0a5d: Unknown result type (might be due to invalid IL or missing references) //IL_0a62: Unknown result type (might be due to invalid IL or missing references) //IL_0a67: Unknown result type (might be due to invalid IL or missing references) //IL_0a71: Unknown result type (might be due to invalid IL or missing references) //IL_0a76: Unknown result type (might be due to invalid IL or missing references) //IL_0a7b: Unknown result type (might be due to invalid IL or missing references) //IL_0a91: Unknown result type (might be due to invalid IL or missing references) //IL_0a96: Unknown result type (might be due to invalid IL or missing references) //IL_0a9b: Unknown result type (might be due to invalid IL or missing references) //IL_0ab1: Unknown result type (might be due to invalid IL or missing references) //IL_0ab6: Unknown result type (might be due to invalid IL or missing references) //IL_0abb: Unknown result type (might be due to invalid IL or missing references) //IL_0ad1: Unknown result type (might be due to invalid IL or missing references) //IL_0ad6: Unknown result type (might be due to invalid IL or missing references) //IL_0adb: Unknown result type (might be due to invalid IL or missing references) //IL_0af1: Unknown result type (might be due to invalid IL or missing references) //IL_0af6: Unknown result type (might be due to invalid IL or missing references) //IL_0afb: Unknown result type (might be due to invalid IL or missing references) //IL_0b11: Unknown result type (might be due to invalid IL or missing references) //IL_0b16: Unknown result type (might be due to invalid IL or missing references) //IL_0b1b: Unknown result type (might be due to invalid IL or missing references) //IL_0b31: Unknown result type (might be due to invalid IL or missing references) //IL_0b36: Unknown result type (might be due to invalid IL or missing references) //IL_0b3b: Unknown result type (might be due to invalid IL or missing references) //IL_0b51: Unknown result type (might be due to invalid IL or missing references) //IL_0b56: Unknown result type (might be due to invalid IL or missing references) //IL_0b5b: Unknown result type (might be due to invalid IL or missing references) //IL_0b71: Unknown result type (might be due to invalid IL or missing references) //IL_0b76: Unknown result type (might be due to invalid IL or missing references) //IL_0b7b: Unknown result type (might be due to invalid IL or missing references) //IL_0b91: Unknown result type (might be due to invalid IL or missing references) //IL_0b96: Unknown result type (might be due to invalid IL or missing references) //IL_0b9b: Unknown result type (might be due to invalid IL or missing references) //IL_0bb1: Unknown result type (might be due to invalid IL or missing references) //IL_0bb6: Unknown result type (might be due to invalid IL or missing references) //IL_0bbb: Unknown result type (might be due to invalid IL or missing references) //IL_0bd1: Unknown result type (might be due to invalid IL or missing references) //IL_0bd6: Unknown result type (might be due to invalid IL or missing references) //IL_0bdb: Unknown result type (might be due to invalid IL or missing references) //IL_0bf1: Unknown result type (might be due to invalid IL or missing references) //IL_0bf6: Unknown result type (might be due to invalid IL or missing references) //IL_0bfb: Unknown result type (might be due to invalid IL or missing references) //IL_0c11: Unknown result type (might be due to invalid IL or missing references) //IL_0c16: Unknown result type (might be due to invalid IL or missing references) //IL_0c1b: Unknown result type (might be due to invalid IL or missing references) //IL_0c31: Unknown result type (might be due to invalid IL or missing references) //IL_0c36: Unknown result type (might be due to invalid IL or missing references) //IL_0c3b: Unknown result type (might be due to invalid IL or missing references) //IL_0c51: Unknown result type (might be due to invalid IL or missing references) //IL_0c56: Unknown result type (might be due to invalid IL or missing references) //IL_0c5b: Unknown result type (might be due to invalid IL or missing references) //IL_0c71: Unknown result type (might be due to invalid IL or missing references) //IL_0c76: Unknown result type (might be due to invalid IL or missing references) //IL_0c7b: Unknown result type (might be due to invalid IL or missing references) //IL_0c91: Unknown result type (might be due to invalid IL or missing references) //IL_0c96: Unknown result type (might be due to invalid IL or missing references) //IL_0c9b: Unknown result type (might be due to invalid IL or missing references) //IL_0cb1: Unknown result type (might be due to invalid IL or missing references) //IL_0cb6: Unknown result type (might be due to invalid IL or missing references) //IL_0cbb: Unknown result type (might be due to invalid IL or missing references) //IL_0cd1: Unknown result type (might be due to invalid IL or missing references) //IL_0cd6: Unknown result type (might be due to invalid IL or missing references) //IL_0cdb: Unknown result type (might be due to invalid IL or missing references) //IL_0cf1: Unknown result type (might be due to invalid IL or missing references) //IL_0cf6: Unknown result type (might be due to invalid IL or missing references) //IL_0cfb: Unknown result type (might be due to invalid IL or missing references) //IL_0d11: Unknown result type (might be due to invalid IL or missing references) //IL_0d16: Unknown result type (might be due to invalid IL or missing references) //IL_0d1b: Unknown result type (might be due to invalid IL or missing references) //IL_0d31: Unknown result type (might be due to invalid IL or missing references) //IL_0d36: Unknown result type (might be due to invalid IL or missing references) //IL_0d3b: Unknown result type (might be due to invalid IL or missing references) //IL_0d51: Unknown result type (might be due to invalid IL or missing references) //IL_0d56: Unknown result type (might be due to invalid IL or missing references) //IL_0d5b: Unknown result type (might be due to invalid IL or missing references) //IL_0d71: Unknown result type (might be due to invalid IL or missing references) //IL_0d76: Unknown result type (might be due to invalid IL or missing references) //IL_0d7b: Unknown result type (might be due to invalid IL or missing references) //IL_0d91: Unknown result type (might be due to invalid IL or missing references) //IL_0d96: Unknown result type (might be due to invalid IL or missing references) //IL_0d9b: Unknown result type (might be due to invalid IL or missing references) //IL_0db1: Unknown result type (might be due to invalid IL or missing references) //IL_0db6: Unknown result type (might be due to invalid IL or missing references) //IL_0dbb: Unknown result type (might be due to invalid IL or missing references) //IL_0dd1: Unknown result type (might be due to invalid IL or missing references) //IL_0dd6: Unknown result type (might be due to invalid IL or missing references) //IL_0ddb: Unknown result type (might be due to invalid IL or missing references) //IL_0df1: Unknown result type (might be due to invalid IL or missing references) //IL_0df6: Unknown result type (might be due to invalid IL or missing references) //IL_0dfb: Unknown result type (might be due to invalid IL or missing references) //IL_0e11: Unknown result type (might be due to invalid IL or missing references) //IL_0e16: Unknown result type (might be due to invalid IL or missing references) //IL_0e1b: Unknown result type (might be due to invalid IL or missing references) //IL_0e31: Unknown result type (might be due to invalid IL or missing references) //IL_0e36: Unknown result type (might be due to invalid IL or missing references) //IL_0e3b: Unknown result type (might be due to invalid IL or missing references) //IL_0e51: Unknown result type (might be due to invalid IL or missing references) //IL_0e56: Unknown result type (might be due to invalid IL or missing references) //IL_0e5b: Unknown result type (might be due to invalid IL or missing references) //IL_0e71: Unknown result type (might be due to invalid IL or missing references) //IL_0e76: Unknown result type (might be due to invalid IL or missing references) //IL_0e7b: Unknown result type (might be due to invalid IL or missing references) //IL_0e91: Unknown result type (might be due to invalid IL or missing references) //IL_0e96: Unknown result type (might be due to invalid IL or missing references) //IL_0e9b: Unknown result type (might be due to invalid IL or missing references) //IL_0eb1: Unknown result type (might be due to invalid IL or missing references) //IL_0eb6: Unknown result type (might be due to invalid IL or missing references) //IL_0ebb: Unknown result type (might be due to invalid IL or missing references) //IL_0ed1: Unknown result type (might be due to invalid IL or missing references) //IL_0ed6: Unknown result type (might be due to invalid IL or missing references) //IL_0edb: Unknown result type (might be due to invalid IL or missing references) //IL_0ef1: Unknown result type (might be due to invalid IL or missing references) //IL_0ef6: Unknown result type (might be due to invalid IL or missing references) //IL_0efb: Unknown result type (might be due to invalid IL or missing references) //IL_0f11: Unknown result type (might be due to invalid IL or missing references) //IL_0f16: Unknown result type (might be due to invalid IL or missing references) //IL_0f1b: Unknown result type (might be due to invalid IL or missing references) //IL_0f25: Unknown result type (might be due to invalid IL or missing references) //IL_0f2a: Unknown result type (might be due to invalid IL or missing references) //IL_0f2f: 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_0f4a: Unknown result type (might be due to invalid IL or missing references) //IL_0f4f: Unknown result type (might be due to invalid IL or missing references) //IL_0f65: Unknown result type (might be due to invalid IL or missing references) //IL_0f6a: Unknown result type (might be due to invalid IL or missing references) //IL_0f6f: Unknown result type (might be due to invalid IL or missing references) //IL_0f85: Unknown result type (might be due to invalid IL or missing references) //IL_0f8a: Unknown result type (might be due to invalid IL or missing references) //IL_0f8f: Unknown result type (might be due to invalid IL or missing references) //IL_0fa5: Unknown result type (might be due to invalid IL or missing references) //IL_0faa: Unknown result type (might be due to invalid IL or missing references) //IL_0faf: 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_0fca: Unknown result type (might be due to invalid IL or missing references) //IL_0fcf: Unknown result type (might be due to invalid IL or missing references) //IL_0fe5: Unknown result type (might be due to invalid IL or missing references) //IL_0fea: Unknown result type (might be due to invalid IL or missing references) //IL_0fef: Unknown result type (might be due to invalid IL or missing references) //IL_1005: Unknown result type (might be due to invalid IL or missing references) //IL_100a: Unknown result type (might be due to invalid IL or missing references) //IL_100f: Unknown result type (might be due to invalid IL or missing references) //IL_1025: Unknown result type (might be due to invalid IL or missing references) //IL_102a: Unknown result type (might be due to invalid IL or missing references) //IL_102f: 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_104a: Unknown result type (might be due to invalid IL or missing references) //IL_104f: Unknown result type (might be due to invalid IL or missing references) //IL_1065: Unknown result type (might be due to invalid IL or missing references) //IL_106a: Unknown result type (might be due to invalid IL or missing references) //IL_106f: 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_108a: Unknown result type (might be due to invalid IL or missing references) //IL_108f: Unknown result type (might be due to invalid IL or missing references) //IL_10a5: Unknown result type (might be due to invalid IL or missing references) //IL_10aa: Unknown result type (might be due to invalid IL or missing references) //IL_10af: 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_10ca: Unknown result type (might be due to invalid IL or missing references) //IL_10cf: Unknown result type (might be due to invalid IL or missing references) //IL_10e5: Unknown result type (might be due to invalid IL or missing references) //IL_10ea: Unknown result type (might be due to invalid IL or missing references) //IL_10ef: 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_110a: Unknown result type (might be due to invalid IL or missing references) //IL_110f: Unknown result type (might be due to invalid IL or missing references) //IL_1125: Unknown result type (might be due to invalid IL or missing references) //IL_112a: Unknown result type (might be due to invalid IL or missing references) //IL_112f: 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_114a: Unknown result type (might be due to invalid IL or missing references) //IL_114f: Unknown result type (might be due to invalid IL or missing references) //IL_1165: Unknown result type (might be due to invalid IL or missing references) //IL_116a: Unknown result type (might be due to invalid IL or missing references) //IL_116f: 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_118a: Unknown result type (might be due to invalid IL or missing references) //IL_118f: Unknown result type (might be due to invalid IL or missing references) //IL_11a5: Unknown result type (might be due to invalid IL or missing references) //IL_11aa: Unknown result type (might be due to invalid IL or missing references) //IL_11af: 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_11ca: Unknown result type (might be due to invalid IL or missing references) //IL_11cf: Unknown result type (might be due to invalid IL or missing references) //IL_11e5: Unknown result type (might be due to invalid IL or missing references) //IL_11ea: Unknown result type (might be due to invalid IL or missing references) //IL_11ef: 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_120a: Unknown result type (might be due to invalid IL or missing references) //IL_120f: Unknown result type (might be due to invalid IL or missing references) //IL_1225: Unknown result type (might be due to invalid IL or missing references) //IL_122a: Unknown result type (might be due to invalid IL or missing references) //IL_122f: 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_124a: Unknown result type (might be due to invalid IL or missing references) //IL_124f: Unknown result type (might be due to invalid IL or missing references) //IL_1265: Unknown result type (might be due to invalid IL or missing references) //IL_126a: Unknown result type (might be due to invalid IL or missing references) //IL_126f: 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_128a: Unknown result type (might be due to invalid IL or missing references) //IL_128f: Unknown result type (might be due to invalid IL or missing references) //IL_12a5: Unknown result type (might be due to invalid IL or missing references) //IL_12aa: Unknown result type (might be due to invalid IL or missing references) //IL_12af: 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_12ca: Unknown result type (might be due to invalid IL or missing references) //IL_12cf: Unknown result type (might be due to invalid IL or missing references) //IL_12e5: Unknown result type (might be due to invalid IL or missing references) //IL_12ea: Unknown result type (might be due to invalid IL or missing references) //IL_12ef: Unknown result type (might be due to invalid IL or missing references) //IL_1305: Unknown result type (might be due to invalid IL or missing references) //IL_130a: Unknown result type (might be due to invalid IL or missing references) //IL_130f: Unknown result type (might be due to invalid IL or missing references) //IL_1325: Unknown result type (might be due to invalid IL or missing references) //IL_132a: Unknown result type (might be due to invalid IL or missing references) //IL_132f: 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_134a: Unknown result type (might be due to invalid IL or missing refere