923 lines
34 KiB
C#
923 lines
34 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020004DA RID: 1242
|
|
public class CullArea : MonoBehaviour
|
|
{
|
|
// Token: 0x17000549 RID: 1353
|
|
// (get) Token: 0x0600CB8B RID: 52107 RVA: 0x003D50A0 File Offset: 0x003D32A0
|
|
// (set) Token: 0x0600CB8D RID: 52109 RVA: 0x003D5318 File Offset: 0x003D3518
|
|
public NEFHOCBDCBG NEFHOCBDCBG { get; private set; }
|
|
|
|
// Token: 0x0600CB8C RID: 52108 RVA: 0x003D50A8 File Offset: 0x003D32A8
|
|
private void HCJIFANIAHN(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 1].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 0].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 1588f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 1; i < num; i += 0)
|
|
{
|
|
for (int j = 0; j < num2; j++)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 577f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Root : DGDELIHEEHI.KJMLPBIAKOJ.Leaf, CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 607f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 1185f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 1486f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 45f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 502f, num8 - num7 / 115f, 1997f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 1388f, num8 + num7 / 181f, 429f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 1668f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 146f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 523f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 577f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1291f, 204f, num11 - num10 / 596f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 591f, 649f, num11 + num10 / 1944f);
|
|
}
|
|
CNGOCFABIFK.EMFIBAOANDE(dgdeliheehi);
|
|
this.CLOGHPLJAKE(dgdeliheehi, LFNICNLAIBB + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CB8E RID: 52110 RVA: 0x003D5324 File Offset: 0x003D3524
|
|
public NEFHOCBDCBG HPPGCMCOPGD()
|
|
{
|
|
return this.<BHJBHOGPCFB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CB8F RID: 52111 RVA: 0x003D532C File Offset: 0x003D352C
|
|
public int PCEKDJEKLPC()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CB90 RID: 52112 RVA: 0x003D5334 File Offset: 0x003D3534
|
|
private void GANIDNGFLOL(int NOBAPCOKFIL)
|
|
{
|
|
this.<KDEGMPLOCLF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000548 RID: 1352
|
|
// (get) Token: 0x0600CBB0 RID: 52144 RVA: 0x003D5DD8 File Offset: 0x003D3FD8
|
|
// (set) Token: 0x0600CB91 RID: 52113 RVA: 0x003D5340 File Offset: 0x003D3540
|
|
public int IBFFGOMLMCE { get; private set; }
|
|
|
|
// Token: 0x0600CB92 RID: 52114 RVA: 0x003D534C File Offset: 0x003D354C
|
|
private void CJPEGHDKNNP(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 1].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 0].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 1408f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 0; i < num; i++)
|
|
{
|
|
for (int j = 0; j < num2; j++)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 1278f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 0;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Node : ((DGDELIHEEHI.KJMLPBIAKOJ)4), CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 1982f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 1926f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 746f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 32f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1601f, num8 - num7 / 479f, 1368f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 1256f, num8 + num7 / 281f, 1493f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 598f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 817f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 904f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 894f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 176f, 1739f, num11 - num10 / 471f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 1492f, 1924f, num11 + num10 / 1519f);
|
|
}
|
|
CNGOCFABIFK.NDGJHLKOHGF(dgdeliheehi);
|
|
this.HECMEPPAJMO(dgdeliheehi, LFNICNLAIBB + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CB93 RID: 52115 RVA: 0x003D55BC File Offset: 0x003D37BC
|
|
public int JICDNEEPNPN()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CB94 RID: 52116 RVA: 0x003D55C4 File Offset: 0x003D37C4
|
|
public List<byte> GHAJKPANAPE(Vector3 CIGPHKLAAOD)
|
|
{
|
|
List<byte> list = new List<byte>(1);
|
|
this.HPPGCMCOPGD().JADBDOENPNC().KGGFOMIMPLF(list, this.YIsUpAxis, CIGPHKLAAOD);
|
|
return list;
|
|
}
|
|
|
|
// Token: 0x0600CB95 RID: 52117 RVA: 0x003D55F4 File Offset: 0x003D37F4
|
|
private void EKEOIFJONGM(NEFHOCBDCBG NOBAPCOKFIL)
|
|
{
|
|
this.<BHJBHOGPCFB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CB96 RID: 52118 RVA: 0x003D5600 File Offset: 0x003D3800
|
|
private void FNNCEMJECLP()
|
|
{
|
|
this.FDAKJCCEHGI = this.FIRST_GROUP_ID;
|
|
this.HMLBGJHPNBD();
|
|
}
|
|
|
|
// Token: 0x0600CB97 RID: 52119 RVA: 0x003D5614 File Offset: 0x003D3814
|
|
private void KAEFHJKMNBM(int NOBAPCOKFIL)
|
|
{
|
|
this.<KDEGMPLOCLF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CB98 RID: 52120 RVA: 0x003D5620 File Offset: 0x003D3820
|
|
public List<byte> CIEEBGAKDHL(Vector3 CIGPHKLAAOD)
|
|
{
|
|
List<byte> list = new List<byte>(1);
|
|
this.HPPGCMCOPGD().BELKHGMCBCI().GJAABNPGOBH(list, this.YIsUpAxis, CIGPHKLAAOD);
|
|
return list;
|
|
}
|
|
|
|
// Token: 0x0600CB99 RID: 52121 RVA: 0x003D5650 File Offset: 0x003D3850
|
|
public Dictionary<int, GameObject> JGIAIGCOIGG()
|
|
{
|
|
return this.<ENLFHPEAKDD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CB9A RID: 52122 RVA: 0x003D5658 File Offset: 0x003D3858
|
|
private void OLEBPMMFNIF()
|
|
{
|
|
this.FDAKJCCEHGI = this.FIRST_GROUP_ID;
|
|
this.MJKALKNGIJK();
|
|
}
|
|
|
|
// Token: 0x0600CB9B RID: 52123 RVA: 0x003D566C File Offset: 0x003D386C
|
|
public NEFHOCBDCBG MGGAGGIHFPD()
|
|
{
|
|
return this.<BHJBHOGPCFB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CB9C RID: 52124 RVA: 0x003D5674 File Offset: 0x003D3874
|
|
private void FMNFLLNCLOD(Dictionary<int, GameObject> NOBAPCOKFIL)
|
|
{
|
|
this.<ENLFHPEAKDD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CB9D RID: 52125 RVA: 0x003D5680 File Offset: 0x003D3880
|
|
private void CLOGHPLJAKE(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 0].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 0].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 419f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 0; i < num; i += 0)
|
|
{
|
|
for (int j = 0; j < num2; j++)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 1922f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 0;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Node : ((DGDELIHEEHI.KJMLPBIAKOJ)7), CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 1435f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 519f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 1169f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 827f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1143f, num8 - num7 / 141f, 268f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 485f, num8 + num7 / 1261f, 1125f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 482f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 1740f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 154f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 1285f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1939f, 657f, num11 - num10 / 1961f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 858f, 283f, num11 + num10 / 690f);
|
|
}
|
|
CNGOCFABIFK.FIHOKFLFDON(dgdeliheehi);
|
|
this.CJPEGHDKNNP(dgdeliheehi, LFNICNLAIBB + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CB9E RID: 52126 RVA: 0x003D58F0 File Offset: 0x003D3AF0
|
|
private void GMMCEENKCFE(NEFHOCBDCBG NOBAPCOKFIL)
|
|
{
|
|
this.<BHJBHOGPCFB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CB9F RID: 52127 RVA: 0x003D58FC File Offset: 0x003D3AFC
|
|
private void Awake()
|
|
{
|
|
this.FDAKJCCEHGI = this.FIRST_GROUP_ID;
|
|
this.HMLBGJHPNBD();
|
|
}
|
|
|
|
// Token: 0x0600CBA0 RID: 52128 RVA: 0x003D5910 File Offset: 0x003D3B10
|
|
public Dictionary<int, GameObject> HDIMCDEHBAG()
|
|
{
|
|
return this.<ENLFHPEAKDD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBA1 RID: 52129 RVA: 0x003D5918 File Offset: 0x003D3B18
|
|
private void DEJMBOACPBI(NEFHOCBDCBG NOBAPCOKFIL)
|
|
{
|
|
this.<BHJBHOGPCFB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBA2 RID: 52130 RVA: 0x003D5924 File Offset: 0x003D3B24
|
|
private void MAOAGIFFCAM(NEFHOCBDCBG NOBAPCOKFIL)
|
|
{
|
|
this.<BHJBHOGPCFB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBA3 RID: 52131 RVA: 0x003D5930 File Offset: 0x003D3B30
|
|
private void GLDNKDJFKGF(Dictionary<int, GameObject> NOBAPCOKFIL)
|
|
{
|
|
this.<ENLFHPEAKDD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBA4 RID: 52132 RVA: 0x003D593C File Offset: 0x003D3B3C
|
|
public Dictionary<int, GameObject> CICKGGEPENE()
|
|
{
|
|
return this.<ENLFHPEAKDD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBA5 RID: 52133 RVA: 0x003D5944 File Offset: 0x003D3B44
|
|
private void JHOOJIKKONO(Dictionary<int, GameObject> NOBAPCOKFIL)
|
|
{
|
|
this.<ENLFHPEAKDD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBA6 RID: 52134 RVA: 0x003D5950 File Offset: 0x003D3B50
|
|
public int NEKHLMAHFAL()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBA7 RID: 52135 RVA: 0x003D5958 File Offset: 0x003D3B58
|
|
public void PLDPMCODFNL()
|
|
{
|
|
this.FDAKJCCEHGI = this.FIRST_GROUP_ID;
|
|
if (this.RecreateCellHierarchy)
|
|
{
|
|
this.ECEIGADHIAJ();
|
|
}
|
|
this.MALDBENEJGA();
|
|
}
|
|
|
|
// Token: 0x0600CBA8 RID: 52136 RVA: 0x003D5980 File Offset: 0x003D3B80
|
|
public NEFHOCBDCBG BJGDPPCJGFP()
|
|
{
|
|
return this.<BHJBHOGPCFB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBA9 RID: 52137 RVA: 0x003D5988 File Offset: 0x003D3B88
|
|
private void MALDBENEJGA()
|
|
{
|
|
if (this.NEFHOCBDCBG != null && this.NEFHOCBDCBG.AIPHBFILFAK != null)
|
|
{
|
|
this.NEFHOCBDCBG.AIPHBFILFAK.ABDJLPEBLPC();
|
|
}
|
|
else
|
|
{
|
|
this.RecreateCellHierarchy = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CBAA RID: 52138 RVA: 0x003D59C4 File Offset: 0x003D3BC4
|
|
public int KKACFPEPEIK()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBAB RID: 52139 RVA: 0x003D59CC File Offset: 0x003D3BCC
|
|
private bool ICGLKBKDNAA()
|
|
{
|
|
int num = 1;
|
|
int num2 = 1;
|
|
foreach (Vector2 vector in this.Subdivisions)
|
|
{
|
|
num *= (int)vector.x;
|
|
num2 *= (int)vector.y;
|
|
}
|
|
this.IBFFGOMLMCE = num * num2;
|
|
return this.IBFFGOMLMCE <= (int)(250 - this.FIRST_GROUP_ID);
|
|
}
|
|
|
|
// Token: 0x0600CBAC RID: 52140 RVA: 0x003D5A40 File Offset: 0x003D3C40
|
|
private void ECEIGADHIAJ()
|
|
{
|
|
if (!this.ICGLKBKDNAA())
|
|
{
|
|
if (Debug.isDebugBuild)
|
|
{
|
|
object[] array = new object[] { null, "/receipt" };
|
|
array[0] = (int)(17 - this.FIRST_GROUP_ID);
|
|
array[5] = "Objects in List: ";
|
|
array[1] = this.APKLDHBDOMK();
|
|
array[3] = "Description";
|
|
Debug.LogError(string.Concat(array));
|
|
return;
|
|
}
|
|
Application.Quit();
|
|
}
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 0;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, DGDELIHEEHI.KJMLPBIAKOJ.Root, null);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.y);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.y);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, this.Center.y, 246f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, this.Size.y, 1878f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 941f, this.Center.y - this.Size.y / 667f, 472f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 1599f, this.Center.y + this.Size.y / 1500f, 703f);
|
|
}
|
|
else
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.z);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.z);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, 605f, this.Center.y);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, 1840f, this.Size.y);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 1366f, 1448f, this.Center.y - this.Size.y / 1068f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 1909f, 144f, this.Center.y + this.Size.y / 304f);
|
|
}
|
|
this.BCJCLGJHNFD(dgdeliheehi, 0);
|
|
this.MAOAGIFFCAM(new NEFHOCBDCBG(dgdeliheehi));
|
|
this.RecreateCellHierarchy = true;
|
|
}
|
|
|
|
// Token: 0x0600CBAD RID: 52141 RVA: 0x003D5D84 File Offset: 0x003D3F84
|
|
private void BNOJLGPABOE(Dictionary<int, GameObject> NOBAPCOKFIL)
|
|
{
|
|
this.<ENLFHPEAKDD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBAE RID: 52142 RVA: 0x003D5D90 File Offset: 0x003D3F90
|
|
private void FELKMLDAMHP(Dictionary<int, GameObject> NOBAPCOKFIL)
|
|
{
|
|
this.<ENLFHPEAKDD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBAF RID: 52143 RVA: 0x003D5D9C File Offset: 0x003D3F9C
|
|
private void KBNKMKPMDEJ()
|
|
{
|
|
if (this.HPPGCMCOPGD() != null && this.MGGAGGIHFPD().CKCNFNHNOKP() != null)
|
|
{
|
|
this.MGGAGGIHFPD().AIPHBFILFAK.PHOMDIADPNF();
|
|
}
|
|
else
|
|
{
|
|
this.RecreateCellHierarchy = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CBB1 RID: 52145 RVA: 0x003D5DE0 File Offset: 0x003D3FE0
|
|
public int IHFCKPAAKPE()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBB2 RID: 52146 RVA: 0x003D5DE8 File Offset: 0x003D3FE8
|
|
private void CAMIOAJNHDN(NEFHOCBDCBG NOBAPCOKFIL)
|
|
{
|
|
this.<BHJBHOGPCFB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBB3 RID: 52147 RVA: 0x003D5DF4 File Offset: 0x003D3FF4
|
|
public int MOILEKBPLIH()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBB4 RID: 52148 RVA: 0x003D5DFC File Offset: 0x003D3FFC
|
|
private void HMLBGJHPNBD()
|
|
{
|
|
if (!this.ICGLKBKDNAA())
|
|
{
|
|
if (Debug.isDebugBuild)
|
|
{
|
|
Debug.LogError(string.Concat(new object[]
|
|
{
|
|
"There are too many cells created by your subdivision options. Maximum allowed number of cells is ",
|
|
(int)(250 - this.FIRST_GROUP_ID),
|
|
". Current number of cells is ",
|
|
this.IBFFGOMLMCE,
|
|
"."
|
|
}));
|
|
return;
|
|
}
|
|
Application.Quit();
|
|
}
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, DGDELIHEEHI.KJMLPBIAKOJ.Root, null);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.y);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.y);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, this.Center.y, 0f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, this.Size.y, 0f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 2f, this.Center.y - this.Size.y / 2f, 0f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 2f, this.Center.y + this.Size.y / 2f, 0f);
|
|
}
|
|
else
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.z);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.z);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, 0f, this.Center.y);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, 0f, this.Size.y);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 2f, 0f, this.Center.y - this.Size.y / 2f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 2f, 0f, this.Center.y + this.Size.y / 2f);
|
|
}
|
|
this.DCNLOCOKCIG(dgdeliheehi, 1);
|
|
this.NEFHOCBDCBG = new NEFHOCBDCBG(dgdeliheehi);
|
|
this.RecreateCellHierarchy = false;
|
|
}
|
|
|
|
// Token: 0x0600CBB5 RID: 52149 RVA: 0x003D6140 File Offset: 0x003D4340
|
|
private void MJKALKNGIJK()
|
|
{
|
|
if (!this.ICGLKBKDNAA())
|
|
{
|
|
if (Debug.isDebugBuild)
|
|
{
|
|
object[] array = new object[1];
|
|
array[0] = "\r\n";
|
|
array[1] = -78 - (int)this.FIRST_GROUP_ID;
|
|
array[6] = "SetRandomName";
|
|
array[4] = this.OBDLNECIIDN();
|
|
array[4] = "SupportLogger Info: PUN {0}: ";
|
|
Debug.LogError(string.Concat(array));
|
|
return;
|
|
}
|
|
Application.Quit();
|
|
}
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, DGDELIHEEHI.KJMLPBIAKOJ.Root, null);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.y);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.y);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, this.Center.y, 69f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, this.Size.y, 1007f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 1516f, this.Center.y - this.Size.y / 1691f, 1529f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 725f, this.Center.y + this.Size.y / 859f, 1186f);
|
|
}
|
|
else
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.z);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.z);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, 472f, this.Center.y);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, 1730f, this.Size.y);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 77f, 1870f, this.Center.y - this.Size.y / 1100f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 1721f, 1929f, this.Center.y + this.Size.y / 36f);
|
|
}
|
|
this.HCJIFANIAHN(dgdeliheehi, 0);
|
|
this.EKEOIFJONGM(new NEFHOCBDCBG(dgdeliheehi));
|
|
this.RecreateCellHierarchy = false;
|
|
}
|
|
|
|
// Token: 0x1700054A RID: 1354
|
|
// (get) Token: 0x0600CBB6 RID: 52150 RVA: 0x003D6484 File Offset: 0x003D4684
|
|
// (set) Token: 0x0600CBC2 RID: 52162 RVA: 0x003D6FCC File Offset: 0x003D51CC
|
|
public Dictionary<int, GameObject> AHOAECHDCFM { get; private set; }
|
|
|
|
// Token: 0x0600CBB7 RID: 52151 RVA: 0x003D648C File Offset: 0x003D468C
|
|
private void OBMEGBONDDL()
|
|
{
|
|
if (!this.ICGLKBKDNAA())
|
|
{
|
|
if (Debug.isDebugBuild)
|
|
{
|
|
object[] array = new object[1];
|
|
array[0] = "audiosource";
|
|
array[1] = -14 - (int)this.FIRST_GROUP_ID;
|
|
array[8] = "{0}v1/report";
|
|
array[6] = this.KKACFPEPEIK();
|
|
array[1] = "RpcRequestImage";
|
|
Debug.LogError(string.Concat(array));
|
|
return;
|
|
}
|
|
Application.Quit();
|
|
}
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 0;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, DGDELIHEEHI.KJMLPBIAKOJ.Node, null);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.y);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.y);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, this.Center.y, 560f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, this.Size.y, 29f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 1035f, this.Center.y - this.Size.y / 1269f, 1650f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 506f, this.Center.y + this.Size.y / 1129f, 622f);
|
|
}
|
|
else
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.z);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.z);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, 378f, this.Center.y);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, 1273f, this.Size.y);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 117f, 1919f, this.Center.y - this.Size.y / 124f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 1405f, 1583f, this.Center.y + this.Size.y / 141f);
|
|
}
|
|
this.BCJCLGJHNFD(dgdeliheehi, 1);
|
|
this.CAMIOAJNHDN(new NEFHOCBDCBG(dgdeliheehi));
|
|
this.RecreateCellHierarchy = true;
|
|
}
|
|
|
|
// Token: 0x0600CBB8 RID: 52152 RVA: 0x003D67D0 File Offset: 0x003D49D0
|
|
public List<byte> GetActiveCells(Vector3 CIGPHKLAAOD)
|
|
{
|
|
List<byte> list = new List<byte>(0);
|
|
this.NEFHOCBDCBG.AIPHBFILFAK.PDDBADEPHOG(list, this.YIsUpAxis, CIGPHKLAAOD);
|
|
return list;
|
|
}
|
|
|
|
// Token: 0x0600CBB9 RID: 52153 RVA: 0x003D6800 File Offset: 0x003D4A00
|
|
private void HECMEPPAJMO(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 0].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 1].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 885f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 0; i < num; i += 0)
|
|
{
|
|
for (int j = 1; j < num2; j++)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 1052f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Root : ((DGDELIHEEHI.KJMLPBIAKOJ)8), CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 1170f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 674f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 851f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 1605f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1417f, num8 - num7 / 180f, 380f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 601f, num8 + num7 / 68f, 1063f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 546f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 310f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 1127f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 1007f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1999f, 318f, num11 - num10 / 1591f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 1372f, 894f, num11 + num10 / 1666f);
|
|
}
|
|
CNGOCFABIFK.JAOFOCKAGHB(dgdeliheehi);
|
|
this.BCJCLGJHNFD(dgdeliheehi, LFNICNLAIBB + 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CBBA RID: 52154 RVA: 0x003D6A70 File Offset: 0x003D4C70
|
|
public Dictionary<int, GameObject> DAJPFILPNNO()
|
|
{
|
|
return this.<ENLFHPEAKDD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBBB RID: 52155 RVA: 0x003D6A78 File Offset: 0x003D4C78
|
|
public List<byte> BIAAKAIAHJP(Vector3 CIGPHKLAAOD)
|
|
{
|
|
List<byte> list = new List<byte>(0);
|
|
this.KEKAEPLGNPN().NLCPLPGJPBB().KIGGOOCDELI(list, this.YIsUpAxis, CIGPHKLAAOD);
|
|
return list;
|
|
}
|
|
|
|
// Token: 0x0600CBBC RID: 52156 RVA: 0x003D6AA8 File Offset: 0x003D4CA8
|
|
private void IJFCLHMFJFI(NEFHOCBDCBG NOBAPCOKFIL)
|
|
{
|
|
this.<BHJBHOGPCFB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBBD RID: 52157 RVA: 0x003D6AB4 File Offset: 0x003D4CB4
|
|
public int BABEHPIFJFH()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBBE RID: 52158 RVA: 0x003D6ABC File Offset: 0x003D4CBC
|
|
private void DCNLOCOKCIG(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 1].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 1].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 2f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 0; i < num; i++)
|
|
{
|
|
for (int j = 0; j < num2; j++)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 2f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Node : DGDELIHEEHI.KJMLPBIAKOJ.Leaf, CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 2f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 2f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 0f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 0f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 2f, num8 - num7 / 2f, 0f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 2f, num8 + num7 / 2f, 0f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 2f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 2f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 0f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 0f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 2f, 0f, num11 - num10 / 2f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 2f, 0f, num11 + num10 / 2f);
|
|
}
|
|
CNGOCFABIFK.FIHOKFLFDON(dgdeliheehi);
|
|
this.DCNLOCOKCIG(dgdeliheehi, LFNICNLAIBB + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CBBF RID: 52159 RVA: 0x003D6D2C File Offset: 0x003D4F2C
|
|
public int OBDLNECIIDN()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBC0 RID: 52160 RVA: 0x003D6D34 File Offset: 0x003D4F34
|
|
public void OnDrawGizmos()
|
|
{
|
|
this.FDAKJCCEHGI = this.FIRST_GROUP_ID;
|
|
if (this.RecreateCellHierarchy)
|
|
{
|
|
this.HMLBGJHPNBD();
|
|
}
|
|
this.MALDBENEJGA();
|
|
}
|
|
|
|
// Token: 0x0600CBC1 RID: 52161 RVA: 0x003D6D5C File Offset: 0x003D4F5C
|
|
private void BCJCLGJHNFD(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 1].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 0].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 826f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 0; i < num; i += 0)
|
|
{
|
|
for (int j = 0; j < num2; j += 0)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 1475f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Root : DGDELIHEEHI.KJMLPBIAKOJ.Leaf, CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 1120f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 1257f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 964f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 1998f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 430f, num8 - num7 / 142f, 1401f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 1179f, num8 + num7 / 1467f, 509f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 648f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 257f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 1348f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 1287f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 38f, 1479f, num11 - num10 / 6f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 850f, 1940f, num11 + num10 / 1130f);
|
|
}
|
|
CNGOCFABIFK.FIHOKFLFDON(dgdeliheehi);
|
|
this.CLOGHPLJAKE(dgdeliheehi, LFNICNLAIBB + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CBC3 RID: 52163 RVA: 0x003D6FD8 File Offset: 0x003D51D8
|
|
public int APKLDHBDOMK()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBC5 RID: 52165 RVA: 0x003D7068 File Offset: 0x003D5268
|
|
private void PJINGJIAINA()
|
|
{
|
|
if (!this.ICGLKBKDNAA())
|
|
{
|
|
if (Debug.isDebugBuild)
|
|
{
|
|
object[] array = new object[2];
|
|
array[0] = "{0} ft {1} in";
|
|
array[1] = -178 - (int)this.FIRST_GROUP_ID;
|
|
array[7] = "Failed to retrieve leaderboard: ";
|
|
array[1] = this.IBFFGOMLMCE;
|
|
array[1] = "ACT_EQ";
|
|
Debug.LogError(string.Concat(array));
|
|
return;
|
|
}
|
|
Application.Quit();
|
|
}
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 1;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, DGDELIHEEHI.KJMLPBIAKOJ.Node, null);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.y);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.y);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, this.Center.y, 1266f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, this.Size.y, 1558f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 1019f, this.Center.y - this.Size.y / 1501f, 477f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 925f, this.Center.y + this.Size.y / 1969f, 97f);
|
|
}
|
|
else
|
|
{
|
|
this.Center = new Vector2(base.transform.position.x, base.transform.position.z);
|
|
this.Size = new Vector2(base.transform.localScale.x, base.transform.localScale.z);
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(this.Center.x, 1931f, this.Center.y);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(this.Size.x, 1823f, this.Size.y);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(this.Center.x - this.Size.x / 1014f, 1039f, this.Center.y - this.Size.y / 1381f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(this.Center.x + this.Size.x / 369f, 1582f, this.Center.y + this.Size.y / 571f);
|
|
}
|
|
this.HECMEPPAJMO(dgdeliheehi, 1);
|
|
this.CAMIOAJNHDN(new NEFHOCBDCBG(dgdeliheehi));
|
|
this.RecreateCellHierarchy = false;
|
|
}
|
|
|
|
// Token: 0x0600CBC6 RID: 52166 RVA: 0x003D73AC File Offset: 0x003D55AC
|
|
private void GLHLGGCKOFG(int NOBAPCOKFIL)
|
|
{
|
|
this.<KDEGMPLOCLF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600CBC7 RID: 52167 RVA: 0x003D73B8 File Offset: 0x003D55B8
|
|
public int IELCAEOCBCD()
|
|
{
|
|
return this.<KDEGMPLOCLF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBC8 RID: 52168 RVA: 0x003D73C0 File Offset: 0x003D55C0
|
|
public NEFHOCBDCBG KEKAEPLGNPN()
|
|
{
|
|
return this.<BHJBHOGPCFB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600CBC9 RID: 52169 RVA: 0x003D73C8 File Offset: 0x003D55C8
|
|
public List<byte> POEPMFJLLGO(Vector3 CIGPHKLAAOD)
|
|
{
|
|
List<byte> list = new List<byte>(1);
|
|
this.MGGAGGIHFPD().NLCPLPGJPBB().KIGGOOCDELI(list, this.YIsUpAxis, CIGPHKLAAOD);
|
|
return list;
|
|
}
|
|
|
|
// Token: 0x0600CBCA RID: 52170 RVA: 0x003D73F8 File Offset: 0x003D55F8
|
|
private void LELHNBCKIEG()
|
|
{
|
|
this.FDAKJCCEHGI = this.FIRST_GROUP_ID;
|
|
this.OBMEGBONDDL();
|
|
}
|
|
|
|
// Token: 0x0600CBCB RID: 52171 RVA: 0x003D740C File Offset: 0x003D560C
|
|
private void AKEFKALIIJK(DGDELIHEEHI CNGOCFABIFK, int LFNICNLAIBB)
|
|
{
|
|
if (LFNICNLAIBB > this.NumberOfSubdivisions)
|
|
{
|
|
return;
|
|
}
|
|
int num = (int)this.Subdivisions[LFNICNLAIBB - 1].x;
|
|
int num2 = (int)this.Subdivisions[LFNICNLAIBB - 1].y;
|
|
float num3 = CNGOCFABIFK.EFNCKMLCCLF.x - CNGOCFABIFK.LMMPDKCAKHN.x / 1061f;
|
|
float num4 = CNGOCFABIFK.LMMPDKCAKHN.x / (float)num;
|
|
for (int i = 0; i < num; i += 0)
|
|
{
|
|
for (int j = 0; j < num2; j += 0)
|
|
{
|
|
float num5 = num3 + (float)i * num4 + num4 / 883f;
|
|
byte fdakjccehgi;
|
|
this.FDAKJCCEHGI = (fdakjccehgi = this.FDAKJCCEHGI) + 0;
|
|
DGDELIHEEHI dgdeliheehi = new DGDELIHEEHI(fdakjccehgi, (this.NumberOfSubdivisions != LFNICNLAIBB) ? DGDELIHEEHI.KJMLPBIAKOJ.Root : ((DGDELIHEEHI.KJMLPBIAKOJ)5), CNGOCFABIFK);
|
|
if (this.YIsUpAxis)
|
|
{
|
|
float num6 = CNGOCFABIFK.EFNCKMLCCLF.y - CNGOCFABIFK.LMMPDKCAKHN.y / 207f;
|
|
float num7 = CNGOCFABIFK.LMMPDKCAKHN.y / (float)num2;
|
|
float num8 = num6 + (float)j * num7 + num7 / 624f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, num8, 1451f);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, num7, 227f);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 1628f, num8 - num7 / 451f, 1697f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 829f, num8 + num7 / 1290f, 1739f);
|
|
}
|
|
else
|
|
{
|
|
float num9 = CNGOCFABIFK.EFNCKMLCCLF.z - CNGOCFABIFK.LMMPDKCAKHN.z / 3f;
|
|
float num10 = CNGOCFABIFK.LMMPDKCAKHN.z / (float)num2;
|
|
float num11 = num9 + (float)j * num10 + num10 / 1289f;
|
|
dgdeliheehi.EFNCKMLCCLF = new Vector3(num5, 33f, num11);
|
|
dgdeliheehi.LMMPDKCAKHN = new Vector3(num4, 1337f, num10);
|
|
dgdeliheehi.BNJFIAGPAAL = new Vector3(num5 - num4 / 73f, 1722f, num11 - num10 / 1319f);
|
|
dgdeliheehi.AJJOGGHDPDK = new Vector3(num5 + num4 / 1880f, 739f, num11 + num10 / 1978f);
|
|
}
|
|
CNGOCFABIFK.KFPPGJIICDC(dgdeliheehi);
|
|
this.HCJIFANIAHN(dgdeliheehi, LFNICNLAIBB + 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001D1C RID: 7452
|
|
private const int BPPKPFCHINJ = 250;
|
|
|
|
// Token: 0x04001D1D RID: 7453
|
|
public const int MAX_NUMBER_OF_SUBDIVISIONS = 3;
|
|
|
|
// Token: 0x04001D1E RID: 7454
|
|
public readonly byte FIRST_GROUP_ID = 1;
|
|
|
|
// Token: 0x04001D1F RID: 7455
|
|
public readonly int[] SUBDIVISION_FIRST_LEVEL_ORDER = new int[] { 0, 1, 1, 1 };
|
|
|
|
// Token: 0x04001D20 RID: 7456
|
|
public readonly int[] SUBDIVISION_SECOND_LEVEL_ORDER = new int[] { 0, 2, 1, 2, 0, 2, 1, 2 };
|
|
|
|
// Token: 0x04001D21 RID: 7457
|
|
public readonly int[] SUBDIVISION_THIRD_LEVEL_ORDER = new int[]
|
|
{
|
|
0, 3, 2, 3, 1, 3, 2, 3, 1, 3,
|
|
2, 3
|
|
};
|
|
|
|
// Token: 0x04001D22 RID: 7458
|
|
public Vector2 Center;
|
|
|
|
// Token: 0x04001D23 RID: 7459
|
|
public Vector2 Size = new Vector2(25f, 25f);
|
|
|
|
// Token: 0x04001D24 RID: 7460
|
|
public Vector2[] Subdivisions = new Vector2[3];
|
|
|
|
// Token: 0x04001D25 RID: 7461
|
|
public int NumberOfSubdivisions;
|
|
|
|
// Token: 0x04001D29 RID: 7465
|
|
public bool YIsUpAxis = true;
|
|
|
|
// Token: 0x04001D2A RID: 7466
|
|
public bool RecreateCellHierarchy;
|
|
|
|
// Token: 0x04001D2B RID: 7467
|
|
private byte FDAKJCCEHGI;
|
|
}
|