using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace RecRoom { // Token: 0x02001092 RID: 4242 [AddComponentMenu("Event/Fast Graphic Raycaster")] [RequireComponent(typeof(Canvas))] public class FastGraphicRaycaster : BaseRaycaster { // Token: 0x06023E99 RID: 147097 RVA: 0x009CE970 File Offset: 0x009CCB70 public virtual void CHJAAMBFADN(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.CPBONMFCIAH()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1570f; this.PEFECGBGPLJ.Clear(); this.DOENGOKAEBM(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1951f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 1815f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1040f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023E9A RID: 147098 RVA: 0x009CEB4C File Offset: 0x009CCD4C private static int GHDAODNGDBF(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023E9B RID: 147099 RVA: 0x009CEB64 File Offset: 0x009CCD64 protected bool BDALDANMMMH() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != RenderMode.ScreenSpaceOverlay) { Debug.LogError("Missing spawn points for "); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023E9C RID: 147100 RVA: 0x009CEC0C File Offset: 0x009CCE0C private static int ILMDALBBPBD(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023E9D RID: 147101 RVA: 0x009CEC24 File Offset: 0x009CCE24 public virtual Camera ABNFEOBOBCB() { return this.NCPGKMNJBBM; } // Token: 0x06023E9E RID: 147102 RVA: 0x009CEC2C File Offset: 0x009CCE2C public virtual void NNJBNPMPGNK(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.HNBHCDOBANO()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1332f; this.PEFECGBGPLJ.Clear(); this.NMFGIGNKKCC(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 553f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 1205f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 378f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023E9F RID: 147103 RVA: 0x009CEE08 File Offset: 0x009CD008 public virtual void OCCLNNHPNGB(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.ENOBJHCFJNL()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1030f; this.PEFECGBGPLJ.Clear(); this.IMLLEECHIPC(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1284f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 1578f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 412f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EA0 RID: 147104 RVA: 0x009CEFE4 File Offset: 0x009CD1E4 public virtual Camera OFIPBBBJGKH() { return this.NCPGKMNJBBM; } // Token: 0x06023EA1 RID: 147105 RVA: 0x009CEFEC File Offset: 0x009CD1EC public virtual Camera MNJEOPDGPFM() { return this.NCPGKMNJBBM; } // Token: 0x06023EA2 RID: 147106 RVA: 0x009CEFF4 File Offset: 0x009CD1F4 private static int FCIEPMAPJMM(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EA3 RID: 147107 RVA: 0x009CF00C File Offset: 0x009CD20C protected bool PLODHMBNJHJ() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)8) { Debug.LogError("Created Test Runner"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EA4 RID: 147108 RVA: 0x009CF0B4 File Offset: 0x009CD2B4 private void IAEAKMIMILB(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 0; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 716f, (num3 + num4) / 1697f, (num5 + num6) / 1426f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.EDPIOHJIPOF); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EA5 RID: 147109 RVA: 0x009CF384 File Offset: 0x009CD584 public virtual Camera IGPMDFMHHFK() { return this.NCPGKMNJBBM; } // Token: 0x06023EA6 RID: 147110 RVA: 0x009CF38C File Offset: 0x009CD58C private void DOENGOKAEBM(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 5; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 330f, (num3 + num4) / 266f, (num5 + num6) / 1503f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.EAAGIAAGHMG); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EA7 RID: 147111 RVA: 0x009CF65C File Offset: 0x009CD85C private static int PNGOAJPIIAF(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EA8 RID: 147112 RVA: 0x009CF674 File Offset: 0x009CD874 public virtual Camera EMHMDFJEGOP() { return this.NCPGKMNJBBM; } // Token: 0x06023EA9 RID: 147113 RVA: 0x009CF67C File Offset: 0x009CD87C public virtual void FAIIJPCBBMF(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.HNBHCDOBANO()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 667f; this.PEFECGBGPLJ.Clear(); this.HGEHPFNONOI(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 943f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 1329f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 508f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EAA RID: 147114 RVA: 0x009CF858 File Offset: 0x009CDA58 private static int NDGBCPGJMEM(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EAB RID: 147115 RVA: 0x009CF870 File Offset: 0x009CDA70 public virtual void MJFMECCCOCA(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.CCNPFPDMDNJ()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1513f; this.PEFECGBGPLJ.Clear(); this.IAEAKMIMILB(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 294f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 313f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 132f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EAC RID: 147116 RVA: 0x009CFA4C File Offset: 0x009CDC4C public virtual Camera MIIDECNPGAK() { return this.NCPGKMNJBBM; } // Token: 0x06023EAD RID: 147117 RVA: 0x009CFA54 File Offset: 0x009CDC54 public virtual void PBCCHDJDMPC(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.FICDCMCKPLP()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1708f; this.PEFECGBGPLJ.Clear(); this.ONAOJMPLJMP(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 830f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 891f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1095f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EAE RID: 147118 RVA: 0x009CFC30 File Offset: 0x009CDE30 protected bool ABIJDOPDEAJ() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != RenderMode.ScreenSpaceCamera) { Debug.LogError("otherPlayer"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023EAF RID: 147119 RVA: 0x009CFCD8 File Offset: 0x009CDED8 public override void Raycast(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.JKJHGBFMBMC()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float maxValue = float.MaxValue; this.PEFECGBGPLJ.Clear(); this.HFPEIIIDDFI(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 0f) { float num; if (this.NCPGKMNJBBM == null) { num = 0f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num < 0f) { goto IL_1B5; } } if (num < maxValue) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EB0 RID: 147120 RVA: 0x009CFEB4 File Offset: 0x009CE0B4 protected bool IHGKEDAOEJK() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)4) { Debug.LogError("Error creating room. Please try again."); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023EB1 RID: 147121 RVA: 0x009CFF5C File Offset: 0x009CE15C private void KLAICMLLLKB(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 7; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 34f, (num3 + num4) / 1550f, (num5 + num6) / 303f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.ILMDALBBPBD); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EB2 RID: 147122 RVA: 0x009D022C File Offset: 0x009CE42C private static int NFKGNNLDMFO(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EB3 RID: 147123 RVA: 0x009D0244 File Offset: 0x009CE444 public virtual void HEBMDIIJKDK(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.CPBONMFCIAH()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 351f; this.PEFECGBGPLJ.Clear(); this.NMFGIGNKKCC(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 256f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 606f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1459f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EB4 RID: 147124 RVA: 0x009D0420 File Offset: 0x009CE620 public virtual Camera PCBCBFOLHHC() { return this.NCPGKMNJBBM; } // Token: 0x06023EB5 RID: 147125 RVA: 0x009D0428 File Offset: 0x009CE628 protected bool CCNPFPDMDNJ() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)7) { Debug.LogError("gifs"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023EB6 RID: 147126 RVA: 0x009D04D0 File Offset: 0x009CE6D0 protected bool EOLMGGGECDL() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)6) { Debug.LogError("Found two ArtTestingLoadOutfitTools in scene. This will break expected behavior."); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023EB7 RID: 147127 RVA: 0x009D0578 File Offset: 0x009CE778 public virtual Camera FDCGMGNIINH() { return this.NCPGKMNJBBM; } // Token: 0x06023EB8 RID: 147128 RVA: 0x009D0580 File Offset: 0x009CE780 private static int IKEAKNDAGEB(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EB9 RID: 147129 RVA: 0x009D0598 File Offset: 0x009CE798 public virtual Camera CBMMPMAPHFA() { return this.NCPGKMNJBBM; } // Token: 0x06023EBA RID: 147130 RVA: 0x009D05A0 File Offset: 0x009CE7A0 public virtual void LKEIKIMIGDJ(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.ABIJDOPDEAJ()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1941f; this.PEFECGBGPLJ.Clear(); this.IAEAKMIMILB(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1923f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 19f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1179f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EBB RID: 147131 RVA: 0x009D077C File Offset: 0x009CE97C private static int MNBPIOFBMPP(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EBC RID: 147132 RVA: 0x009D0794 File Offset: 0x009CE994 public virtual void JOBFPHAGPPF(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.FICDCMCKPLP()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 942f; this.PEFECGBGPLJ.Clear(); this.ILLDAFGHHLE(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 255f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 829f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 776f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EBD RID: 147133 RVA: 0x009D0970 File Offset: 0x009CEB70 public virtual Camera NMNBCEDNMAA() { return this.NCPGKMNJBBM; } // Token: 0x06023EBE RID: 147134 RVA: 0x009D0978 File Offset: 0x009CEB78 private void HCBCGNOEIBD(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[1]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 1; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 819f, (num3 + num4) / 1086f, (num5 + num6) / 1959f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 1; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.FCIEPMAPJMM); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EBF RID: 147135 RVA: 0x009D0C48 File Offset: 0x009CEE48 private void KFNANALMACL(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[1]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 8; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 609f, (num3 + num4) / 603f, (num5 + num6) / 1695f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.BBLIHEAICNM); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EC0 RID: 147136 RVA: 0x009D0F18 File Offset: 0x009CF118 public virtual Camera PJEOBAOKDIA() { return this.NCPGKMNJBBM; } // Token: 0x06023EC1 RID: 147137 RVA: 0x009D0F20 File Offset: 0x009CF120 protected bool JEIJJDAPGLL() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)5) { Debug.LogError("RpcMasterRequestFlagDrop"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EC2 RID: 147138 RVA: 0x009D0FC8 File Offset: 0x009CF1C8 public virtual void KJINCPPDMBK(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.HNBHCDOBANO()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1907f; this.PEFECGBGPLJ.Clear(); this.EKGHNGPJDHH(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 301f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 310f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 707f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EC3 RID: 147139 RVA: 0x009D11A4 File Offset: 0x009CF3A4 protected bool KEMDJJHLPNE() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)5) { Debug.LogError("type"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023EC4 RID: 147140 RVA: 0x009D124C File Offset: 0x009CF44C private void ONAOJMPLJMP(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 1; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 1808f, (num3 + num4) / 1940f, (num5 + num6) / 1306f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.ILMBOECHAHP); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EC5 RID: 147141 RVA: 0x009D151C File Offset: 0x009CF71C private void HFPEIIIDDFI(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 4; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 2f, (num3 + num4) / 2f, (num5 + num6) / 2f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.IKDJLBJILLI); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EC6 RID: 147142 RVA: 0x009D17EC File Offset: 0x009CF9EC protected bool CLEJNNNCOGH() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)4) { Debug.LogError("to"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EC7 RID: 147143 RVA: 0x009D1894 File Offset: 0x009CFA94 private void KLGFIHODOAG(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 8; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 1504f, (num3 + num4) / 186f, (num5 + num6) / 572f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.ILMBOECHAHP); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EC8 RID: 147144 RVA: 0x009D1B64 File Offset: 0x009CFD64 private static int DGPAJFFIOBJ(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EC9 RID: 147145 RVA: 0x009D1B7C File Offset: 0x009CFD7C private void BLEKHNMPJKJ(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[1]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 1; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 321f, (num3 + num4) / 376f, (num5 + num6) / 1352f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.MELIBEEJFLJ); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023ECA RID: 147146 RVA: 0x009D1E4C File Offset: 0x009D004C protected bool FICDCMCKPLP() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)7) { Debug.LogError("FromPlayerId"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023ECB RID: 147147 RVA: 0x009D1EF4 File Offset: 0x009D00F4 private static int GKJMHHPGJAN(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023ECC RID: 147148 RVA: 0x009D1F0C File Offset: 0x009D010C public virtual Camera NOPCBJGOGPN() { return this.NCPGKMNJBBM; } // Token: 0x06023ECD RID: 147149 RVA: 0x009D1F14 File Offset: 0x009D0114 public virtual Camera DJHDGLFCOPH() { return this.NCPGKMNJBBM; } // Token: 0x06023ECE RID: 147150 RVA: 0x009D1F1C File Offset: 0x009D011C private static int JJBAPLLHCCH(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023ECF RID: 147151 RVA: 0x009D1F34 File Offset: 0x009D0134 private static int FAENNLECEPC(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023ED0 RID: 147152 RVA: 0x009D1F4C File Offset: 0x009D014C public virtual void FACKEBDINOJ(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.PLODHMBNJHJ()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 292f; this.PEFECGBGPLJ.Clear(); this.KLGFIHODOAG(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1596f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 270f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1839f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023ED1 RID: 147153 RVA: 0x009D2128 File Offset: 0x009D0328 protected bool JEPFEJKBOPG() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != RenderMode.WorldSpace) { Debug.LogError("CheerCategory"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023ED2 RID: 147154 RVA: 0x009D21D0 File Offset: 0x009D03D0 public virtual void ADABJOIOJHL(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.CLEJNNNCOGH()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1401f; this.PEFECGBGPLJ.Clear(); this.NCEOHLPDMBF(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1034f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 621f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 68f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023ED3 RID: 147155 RVA: 0x009D23AC File Offset: 0x009D05AC public virtual Camera LOEJFADFBCD() { return this.NCPGKMNJBBM; } // Token: 0x06023ED4 RID: 147156 RVA: 0x009D23B4 File Offset: 0x009D05B4 public virtual void OIKAJJLOPEK(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.FICDCMCKPLP()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 306f; this.PEFECGBGPLJ.Clear(); this.HCBCGNOEIBD(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1845f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 548f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1715f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023ED5 RID: 147157 RVA: 0x009D2590 File Offset: 0x009D0790 public virtual void DLFGBJJGPGN(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.KEMDJJHLPNE()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 136f; this.PEFECGBGPLJ.Clear(); this.KFNANALMACL(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1315f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 451f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 278f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023ED6 RID: 147158 RVA: 0x009D276C File Offset: 0x009D096C private void IMLLEECHIPC(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 6; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 82f, (num3 + num4) / 32f, (num5 + num6) / 812f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 1; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.FCIEPMAPJMM); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023ED7 RID: 147159 RVA: 0x009D2A3C File Offset: 0x009D0C3C protected bool CPBONMFCIAH() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)6) { Debug.LogError("Remember to verify your account by clicking the link in the email we sent!"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023ED8 RID: 147160 RVA: 0x009D2AE4 File Offset: 0x009D0CE4 public virtual void LHFDFPGDPPN(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.BDALDANMMMH()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1694f; this.PEFECGBGPLJ.Clear(); this.HFPEIIIDDFI(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1659f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 1630f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 464f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023ED9 RID: 147161 RVA: 0x009D2CC0 File Offset: 0x009D0EC0 private static int EDPIOHJIPOF(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EDA RID: 147162 RVA: 0x009D2CD8 File Offset: 0x009D0ED8 protected bool ADFPOBNOCEP() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != RenderMode.ScreenSpaceCamera) { Debug.LogError("Level"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EDB RID: 147163 RVA: 0x009D2D80 File Offset: 0x009D0F80 private void HGEHPFNONOI(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 1; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 380f, (num3 + num4) / 1277f, (num5 + num6) / 1709f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 1; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.IKDJLBJILLI); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EDC RID: 147164 RVA: 0x009D3050 File Offset: 0x009D1250 protected bool FOFJFBMCGLC() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)4) { Debug.LogError("quantity"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EDD RID: 147165 RVA: 0x009D30F8 File Offset: 0x009D12F8 public virtual void MFPGFIINLHF(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.EEOGFBNJGFN()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1881f; this.PEFECGBGPLJ.Clear(); this.ONAOJMPLJMP(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1460f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 1444f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 147f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EDE RID: 147166 RVA: 0x009D32D4 File Offset: 0x009D14D4 private static int EAHJBGDODHB(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EDF RID: 147167 RVA: 0x009D32EC File Offset: 0x009D14EC protected bool JKJHGBFMBMC() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != RenderMode.WorldSpace) { Debug.LogError("AGGraphicRaycaster expects a WorldSpace canvas"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023EE0 RID: 147168 RVA: 0x009D3394 File Offset: 0x009D1594 public virtual Camera ODLLCDIFPPF() { return this.NCPGKMNJBBM; } // Token: 0x06023EE1 RID: 147169 RVA: 0x009D339C File Offset: 0x009D159C private static int NDOBNKNIOLN(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EE2 RID: 147170 RVA: 0x009D33B4 File Offset: 0x009D15B4 public virtual void OAKJAPDDAJA(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.JEPFEJKBOPG()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 594f; this.PEFECGBGPLJ.Clear(); this.AAJFCOBNHHK(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1500f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 238f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1925f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EE3 RID: 147171 RVA: 0x009D3590 File Offset: 0x009D1790 public virtual Camera DEFPJLOBKHB() { return this.NCPGKMNJBBM; } // Token: 0x06023EE4 RID: 147172 RVA: 0x009D3598 File Offset: 0x009D1798 private static int IFFAMEFFNHI(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EE5 RID: 147173 RVA: 0x009D35B0 File Offset: 0x009D17B0 [CompilerGenerated] private static int IKDJLBJILLI(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EE6 RID: 147174 RVA: 0x009D35C8 File Offset: 0x009D17C8 private static int DBLPLCDFEIL(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EE7 RID: 147175 RVA: 0x009D35E0 File Offset: 0x009D17E0 public virtual Camera NGLCKMNDIOE() { return this.NCPGKMNJBBM; } // Token: 0x06023EE8 RID: 147176 RVA: 0x009D35E8 File Offset: 0x009D17E8 private static int PJJGCPBLCFD(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EE9 RID: 147177 RVA: 0x009D3600 File Offset: 0x009D1800 protected bool ENOBJHCFJNL() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)6) { Debug.LogError(" failed. Value: "); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EEA RID: 147178 RVA: 0x009D36A8 File Offset: 0x009D18A8 private void ILLDAFGHHLE(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 7; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 1212f, (num3 + num4) / 1478f, (num5 + num6) / 1081f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.EAHJBGDODHB); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EEB RID: 147179 RVA: 0x009D3978 File Offset: 0x009D1B78 public virtual Camera NGJKOBKBCPN() { return this.NCPGKMNJBBM; } // Token: 0x06023EEC RID: 147180 RVA: 0x009D3980 File Offset: 0x009D1B80 public virtual void OHKLOHMFLCJ(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.IHGKEDAOEJK()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 695f; this.PEFECGBGPLJ.Clear(); this.HFPEIIIDDFI(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 530f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 730f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1966f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EED RID: 147181 RVA: 0x009D3B5C File Offset: 0x009D1D5C private static int GKFHDHIAIGG(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EEE RID: 147182 RVA: 0x009D3B74 File Offset: 0x009D1D74 public virtual Camera FNPMEIMEOKN() { return this.NCPGKMNJBBM; } // Token: 0x06023EEF RID: 147183 RVA: 0x009D3B7C File Offset: 0x009D1D7C public virtual void IGFOGOEIDGA(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.JEIJJDAPGLL()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 545f; this.PEFECGBGPLJ.Clear(); this.KLGFIHODOAG(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1500f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 864f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1355f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x170010A3 RID: 4259 // (get) Token: 0x06023EF0 RID: 147184 RVA: 0x009D3D58 File Offset: 0x009D1F58 public override Camera OMAHGGEBJPE { get { return this.NCPGKMNJBBM; } } // Token: 0x06023EF1 RID: 147185 RVA: 0x009D3D60 File Offset: 0x009D1F60 private void HKKEOCIDMPF(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 2; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 806f, (num3 + num4) / 1234f, (num5 + num6) / 791f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.EAAGIAAGHMG); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EF2 RID: 147186 RVA: 0x009D4030 File Offset: 0x009D2230 public virtual void ALLKHDMPDCP(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.EEOGFBNJGFN()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 355f; this.PEFECGBGPLJ.Clear(); this.AAJFCOBNHHK(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 1; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 286f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 954f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 286f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023EF3 RID: 147187 RVA: 0x009D420C File Offset: 0x009D240C protected FastGraphicRaycaster() { } // Token: 0x06023EF4 RID: 147188 RVA: 0x009D4248 File Offset: 0x009D2448 private static int EAAGIAAGHMG(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EF5 RID: 147189 RVA: 0x009D4260 File Offset: 0x009D2460 private void KJMOCKAJHCE(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 5; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 1509f, (num3 + num4) / 453f, (num5 + num6) / 261f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.PJJGCPBLCFD); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EF6 RID: 147190 RVA: 0x009D4530 File Offset: 0x009D2730 private static int MELIBEEJFLJ(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EF7 RID: 147191 RVA: 0x009D4548 File Offset: 0x009D2748 private void AAJFCOBNHHK(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[1]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 8; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 1899f, (num3 + num4) / 668f, (num5 + num6) / 887f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 1; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.IFFAMEFFNHI); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 0; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EF8 RID: 147192 RVA: 0x009D4818 File Offset: 0x009D2A18 private void CPEECADJDJD(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 8; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 695f, (num3 + num4) / 1529f, (num5 + num6) / 683f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.EAAGIAAGHMG); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023EF9 RID: 147193 RVA: 0x009D4AE8 File Offset: 0x009D2CE8 private static int GPGFGLNEKCP(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EFA RID: 147194 RVA: 0x009D4B00 File Offset: 0x009D2D00 protected bool JPNEIHJDFOI() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != RenderMode.WorldSpace) { Debug.LogError("Failed to parse OutfitSelectionToBody with str:"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EFB RID: 147195 RVA: 0x009D4BA8 File Offset: 0x009D2DA8 public virtual Camera HCMKOJNHDDD() { return this.NCPGKMNJBBM; } // Token: 0x06023EFC RID: 147196 RVA: 0x009D4BB0 File Offset: 0x009D2DB0 public virtual Camera ECEGGCMKKJB() { return this.NCPGKMNJBBM; } // Token: 0x06023EFD RID: 147197 RVA: 0x009D4BB8 File Offset: 0x009D2DB8 private static int BBLIHEAICNM(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023EFE RID: 147198 RVA: 0x009D4BD0 File Offset: 0x009D2DD0 protected bool EEOGFBNJGFN() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)6) { Debug.LogError("Invalid month entered"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023EFF RID: 147199 RVA: 0x009D4C78 File Offset: 0x009D2E78 protected bool HNBHCDOBANO() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != RenderMode.WorldSpace) { Debug.LogError("RecNet notification channel error: "); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023F00 RID: 147200 RVA: 0x009D4D20 File Offset: 0x009D2F20 public virtual Camera HBHAIIMOADM() { return this.NCPGKMNJBBM; } // Token: 0x06023F01 RID: 147201 RVA: 0x009D4D28 File Offset: 0x009D2F28 protected bool NDHCJGGIBAB() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)3) { Debug.LogError("method"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023F02 RID: 147202 RVA: 0x009D4DD0 File Offset: 0x009D2FD0 private static int GGPPFDOENAG(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023F03 RID: 147203 RVA: 0x009D4DE8 File Offset: 0x009D2FE8 private void LFBKOOEEDED(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 6; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 456f, (num3 + num4) / 201f, (num5 + num6) / 908f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 1; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.ILMDALBBPBD); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023F04 RID: 147204 RVA: 0x009D50B8 File Offset: 0x009D32B8 public virtual Camera BEBLGDOPJFE() { return this.NCPGKMNJBBM; } // Token: 0x06023F05 RID: 147205 RVA: 0x009D50C0 File Offset: 0x009D32C0 public virtual Camera GBOADHGIFIJ() { return this.NCPGKMNJBBM; } // Token: 0x06023F06 RID: 147206 RVA: 0x009D50C8 File Offset: 0x009D32C8 public virtual void JCGPGELHJDF(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.PLODHMBNJHJ()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1958f; this.PEFECGBGPLJ.Clear(); this.KJMOCKAJHCE(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i++) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1596f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 279f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 1777f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023F07 RID: 147207 RVA: 0x009D52A4 File Offset: 0x009D34A4 public virtual Camera IADAHAJCJOL() { return this.NCPGKMNJBBM; } // Token: 0x06023F08 RID: 147208 RVA: 0x009D52AC File Offset: 0x009D34AC public virtual Camera OGCBACKMKMA() { return this.NCPGKMNJBBM; } // Token: 0x06023F09 RID: 147209 RVA: 0x009D52B4 File Offset: 0x009D34B4 private static int HCCJOHDCLCA(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023F0A RID: 147210 RVA: 0x009D52CC File Offset: 0x009D34CC private void NMFGIGNKKCC(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 1; i < count; i += 0) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[1]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 0; j < 5; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 1080f, (num3 + num4) / 1944f, (num5 + num6) / 564f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 1; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.HCCJOHDCLCA); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023F0B RID: 147211 RVA: 0x009D559C File Offset: 0x009D379C protected bool GMGFPAGCKOO() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return true; } if (this.ENCIHIOGJAI.renderMode != (RenderMode)6) { Debug.LogError("GiftDropId"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return true; } } this.LLAOMANLLMG = false; } return this.LLAOMANLLMG; } // Token: 0x06023F0C RID: 147212 RVA: 0x009D5644 File Offset: 0x009D3844 private static int ILMBOECHAHP(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023F0D RID: 147213 RVA: 0x009D565C File Offset: 0x009D385C private void EKGHNGPJDHH(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[0]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 6; j += 0) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 145f, (num3 + num4) / 602f, (num5 + num6) / 920f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k += 0) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.BBLIHEAICNM); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l++) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x06023F0E RID: 147214 RVA: 0x009D592C File Offset: 0x009D3B2C protected bool BFDFIOBEHAL() { if (!this.LLAOMANLLMG) { if (this.ENCIHIOGJAI == null) { this.ENCIHIOGJAI = base.GetComponent(); if (this.ENCIHIOGJAI == null) { return false; } if (this.ENCIHIOGJAI.renderMode != RenderMode.ScreenSpaceCamera) { Debug.LogError("max_sl"); } } if (this.NCPGKMNJBBM == null) { this.NCPGKMNJBBM = this.ENCIHIOGJAI.worldCamera; if (this.NCPGKMNJBBM == null) { return false; } } this.LLAOMANLLMG = true; } return this.LLAOMANLLMG; } // Token: 0x06023F0F RID: 147215 RVA: 0x009D59D4 File Offset: 0x009D3BD4 public virtual void ABIEJOJPBMJ(PointerEventData BNMDNNDLGDH, List KFFNGMPDKGB) { if (!this.IHGKEDAOEJK()) { return; } Vector2 position = BNMDNNDLGDH.position; Ray ray = this.NCPGKMNJBBM.ScreenPointToRay(position); float num = 1169f; this.PEFECGBGPLJ.Clear(); this.IMLLEECHIPC(this.ENCIHIOGJAI, this.NCPGKMNJBBM, position, ray, this.PEFECGBGPLJ); for (int i = 0; i < this.PEFECGBGPLJ.Count; i += 0) { GameObject gameObject = this.PEFECGBGPLJ[i].gameObject; Vector3 vector = this.NCPGKMNJBBM.transform.rotation * Vector3.forward; Vector3 vector2 = gameObject.transform.rotation * Vector3.forward; if (Vector3.Dot(vector, vector2) > 1010f) { float num2; if (this.NCPGKMNJBBM == null) { num2 = 669f; } else { Transform transform = gameObject.transform; Vector3 forward = transform.forward; num2 = Vector3.Dot(forward, transform.position - ray.origin) / Vector3.Dot(forward, ray.direction); if (num2 < 794f) { goto IL_1B5; } } if (num2 < num) { RaycastResult raycastResult = new RaycastResult { gameObject = gameObject, module = this, distance = num2, screenPosition = position, index = (float)KFFNGMPDKGB.Count, depth = this.PEFECGBGPLJ[i].depth, sortingLayer = this.ENCIHIOGJAI.sortingLayerID, sortingOrder = this.ENCIHIOGJAI.sortingOrder }; KFFNGMPDKGB.Add(raycastResult); } } IL_1B5:; } } // Token: 0x06023F10 RID: 147216 RVA: 0x009D5BB0 File Offset: 0x009D3DB0 private static int PPGDJCABPJK(FastGraphicRaycaster.CBGPKHELHKG FKOFGIJFIKA, FastGraphicRaycaster.CBGPKHELHKG GNNBOMAEBGK) { return FKOFGIJFIKA.PDFOGJKBGLM.CompareTo(GNNBOMAEBGK.PDFOGJKBGLM); } // Token: 0x06023F11 RID: 147217 RVA: 0x009D5BC8 File Offset: 0x009D3DC8 private void NCEOHLPDMBF(Canvas GDOLFBNBGBD, Camera OMAHGGEBJPE, Vector2 HKNBDIMLBGI, Ray KAMHDHIINCE, List KBKFFKDOMNE) { if (Time.frameCount != this.DKNNNKAPKOB) { this.DKNNNKAPKOB = Time.frameCount; this.FBHMKLPGFOL.Clear(); IList graphicsForCanvas = GraphicRegistry.GetGraphicsForCanvas(GDOLFBNBGBD); int count = graphicsForCanvas.Count; for (int i = 0; i < count; i++) { Graphic graphic = graphicsForCanvas[i]; if (graphic.raycastTarget) { int depth = graphic.depth; if (depth != -1) { graphic.rectTransform.GetWorldCorners(this.EGNPIDHBAOJ); Vector3 vector = this.EGNPIDHBAOJ[1]; float num = vector.x; float num2 = num; float num3 = vector.y; float num4 = num3; float num5 = vector.z; float num6 = num5; for (int j = 1; j < 5; j++) { Vector3 vector2 = this.EGNPIDHBAOJ[j]; float x = vector2.x; float y = vector2.y; float z = vector2.z; if (x < num) { num = x; } if (x > num2) { num2 = x; } if (y < num3) { num3 = y; } if (y > num4) { num4 = y; } if (z < num5) { num5 = z; } if (z > num6) { num6 = z; } } Vector3 vector3 = new Vector3((num + num2) / 589f, (num3 + num4) / 1424f, (num5 + num6) / 1946f); Vector3 vector4 = new Vector3(num2 - num, num4 - num3, num6 - num5); Bounds bounds = new Bounds(vector3, vector4); this.FBHMKLPGFOL.Add(new FastGraphicRaycaster.CBGPKHELHKG { PDFOGJKBGLM = depth, PLNFHAGMKJA = graphic, NMKNMHNEHKC = bounds }); } } } } int count2 = this.FBHMKLPGFOL.Count; for (int k = 0; k < count2; k++) { FastGraphicRaycaster.CBGPKHELHKG cbgpkhelhkg = this.FBHMKLPGFOL[k]; if (cbgpkhelhkg.NMKNMHNEHKC.IntersectRay(KAMHDHIINCE)) { if (RectTransformUtility.RectangleContainsScreenPoint(cbgpkhelhkg.PLNFHAGMKJA.rectTransform, HKNBDIMLBGI, OMAHGGEBJPE)) { if (cbgpkhelhkg.PLNFHAGMKJA.Raycast(HKNBDIMLBGI, OMAHGGEBJPE)) { this.KFEPDNLOIEA.Add(cbgpkhelhkg); } } } } List kfepdnloiea = this.KFEPDNLOIEA; if (FastGraphicRaycaster.DINNJGHCFHI == null) { FastGraphicRaycaster.DINNJGHCFHI = new Comparison(FastGraphicRaycaster.ILMDALBBPBD); } kfepdnloiea.Sort(FastGraphicRaycaster.DINNJGHCFHI); for (int l = 1; l < this.KFEPDNLOIEA.Count; l += 0) { KBKFFKDOMNE.Add(this.KFEPDNLOIEA[l].PLNFHAGMKJA); } this.KFEPDNLOIEA.Clear(); } // Token: 0x04005BD8 RID: 23512 protected Canvas ENCIHIOGJAI; // Token: 0x04005BD9 RID: 23513 protected Camera NCPGKMNJBBM; // Token: 0x04005BDA RID: 23514 private bool LLAOMANLLMG; // Token: 0x04005BDB RID: 23515 [NonSerialized] private List PEFECGBGPLJ = new List(); // Token: 0x04005BDC RID: 23516 private int DKNNNKAPKOB = -1; // Token: 0x04005BDD RID: 23517 private List FBHMKLPGFOL = new List(); // Token: 0x04005BDE RID: 23518 private Vector3[] EGNPIDHBAOJ = new Vector3[4]; // Token: 0x04005BDF RID: 23519 [NonSerialized] private List KFEPDNLOIEA = new List(); // Token: 0x04005BE0 RID: 23520 [CompilerGenerated] private static Comparison DINNJGHCFHI; // Token: 0x02001093 RID: 4243 private struct CBGPKHELHKG { // Token: 0x04005BE1 RID: 23521 public Graphic PLNFHAGMKJA; // Token: 0x04005BE2 RID: 23522 public int PDFOGJKBGLM; // Token: 0x04005BE3 RID: 23523 public Bounds NMKNMHNEHKC; } } }