This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+1440
View File
@@ -0,0 +1,1440 @@
using System;
using System.Collections.Generic;
using UnityEngine;
// Token: 0x020001A9 RID: 425
public class PlayerLineTrail : MonoBehaviour
{
// Token: 0x060054E1 RID: 21729 RVA: 0x0019D3E8 File Offset: 0x0019B5E8
public void KLAPFJGNDCH()
{
this.MGPEFLCCKBB.Clear();
this.BLDHLFGFMPC();
}
// Token: 0x060054E2 RID: 21730 RVA: 0x0019D3FC File Offset: 0x0019B5FC
private void AAEBNKCLBBF()
{
this.MOEFEHEMFMJ.EDKICGEGNDP();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 1; i < array.Length - 1; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 0];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 6]).normalized;
}
Vector3 vector5 = vector + normalized * 457f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1303f * magnitude;
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.MOEFEHEMFMJ.OPGNBFLPGFL(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.APDBAGACHJB(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = false;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.FOHAHGJMBPB() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.MANHFPNKDKL((float)j / (float)(num - 1));
}
this.KCOMALMKKDK.enabled = true;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x060054E3 RID: 21731 RVA: 0x0019D5BC File Offset: 0x0019B7BC
public void Clear()
{
this.MGPEFLCCKBB.Clear();
this.ELLEIGAJLLK();
}
// Token: 0x060054E4 RID: 21732 RVA: 0x0019D5D0 File Offset: 0x0019B7D0
public void GKMIKEDNFLM(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1281f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.DLABJPECDMI();
}
// Token: 0x060054E5 RID: 21733 RVA: 0x0019D660 File Offset: 0x0019B860
public void HFBKIBPLNHC()
{
this.MGPEFLCCKBB.Clear();
this.DLABJPECDMI();
}
// Token: 0x060054E6 RID: 21734 RVA: 0x0019D674 File Offset: 0x0019B874
private void OFIJACLAJJH()
{
this.MOEFEHEMFMJ.DPCHGJLJHLK();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 0; i += 0)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 0];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 0)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 4]).normalized;
}
Vector3 vector5 = vector + normalized * 474f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1692f * magnitude;
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.MOEFEHEMFMJ.LJACAGNHHPC(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.KPBBEGKBFJD(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.BLOGLFCCMOH() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 0; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.PDAIDNHOGHJ((float)j / (float)(num - 1));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x060054E7 RID: 21735 RVA: 0x0019D834 File Offset: 0x0019BA34
private void JFFLHAMMGAH()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.EEOPJEBJBHP(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x060054E8 RID: 21736 RVA: 0x0019D8A4 File Offset: 0x0019BAA4
private void BACNJJKPEOO()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.FDHKOMNEJAL(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x060054E9 RID: 21737 RVA: 0x0019D914 File Offset: 0x0019BB14
public void COFMMPKJADP(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 614f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.OFIJACLAJJH();
}
// Token: 0x060054EA RID: 21738 RVA: 0x0019D9A4 File Offset: 0x0019BBA4
private void HEKMPKDNNGB()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.HKONDGFKJNP(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x060054EB RID: 21739 RVA: 0x0019DA14 File Offset: 0x0019BC14
public void AFNGCEJGCFD()
{
this.MGPEFLCCKBB.Clear();
this.EHIKIKDIJMF();
}
// Token: 0x060054EC RID: 21740 RVA: 0x0019DA28 File Offset: 0x0019BC28
public void IHJHEBJLAJJ()
{
this.MGPEFLCCKBB.Clear();
this.GJAGHAIOCBG();
}
// Token: 0x060054ED RID: 21741 RVA: 0x0019DA3C File Offset: 0x0019BC3C
public void MAHOEMGJOCJ(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1253f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.HHPJCEHIPIB();
}
// Token: 0x060054EE RID: 21742 RVA: 0x0019DACC File Offset: 0x0019BCCC
public void NKJDOBMDDAD(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 466f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.FAAIILBFFKB();
}
// Token: 0x060054EF RID: 21743 RVA: 0x0019DB5C File Offset: 0x0019BD5C
public void JCKMDOIHCKG(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 472f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.OMHOPOMDBBN();
}
// Token: 0x060054F0 RID: 21744 RVA: 0x0019DBEC File Offset: 0x0019BDEC
public void EEOPJEBJBHP(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x060054F1 RID: 21745 RVA: 0x0019DC4C File Offset: 0x0019BE4C
public void IJICADFDJPB(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x060054F2 RID: 21746 RVA: 0x0019DCAC File Offset: 0x0019BEAC
private void JLOMELEDCLK()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.EHHOHJCGMHC(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x060054F3 RID: 21747 RVA: 0x0019DD1C File Offset: 0x0019BF1C
public void PNEGMEJAGMO(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x060054F4 RID: 21748 RVA: 0x0019DD7C File Offset: 0x0019BF7C
public void CBOJKLNGHAP()
{
this.MGPEFLCCKBB.Clear();
this.ELLEIGAJLLK();
}
// Token: 0x060054F5 RID: 21749 RVA: 0x0019DD90 File Offset: 0x0019BF90
public void EKIMIKFOGPK(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1472f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.HHPJCEHIPIB();
}
// Token: 0x060054F6 RID: 21750 RVA: 0x0019DE20 File Offset: 0x0019C020
public void SetLatestPlayerPosition(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 2f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.ELLEIGAJLLK();
}
// Token: 0x060054F7 RID: 21751 RVA: 0x0019DEB0 File Offset: 0x0019C0B0
public void EGGMJJIHNFM(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x060054F8 RID: 21752 RVA: 0x0019DF10 File Offset: 0x0019C110
private void PPOPAEBNGPC()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.HKONDGFKJNP(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x060054F9 RID: 21753 RVA: 0x0019DF80 File Offset: 0x0019C180
public void FMIMOOPADAB()
{
this.MGPEFLCCKBB.Clear();
this.DLABJPECDMI();
}
// Token: 0x060054FA RID: 21754 RVA: 0x0019DF94 File Offset: 0x0019C194
public void BFFDFKPBDBE()
{
this.MGPEFLCCKBB.Clear();
this.PJFKDMJJJBD();
}
// Token: 0x060054FB RID: 21755 RVA: 0x0019DFA8 File Offset: 0x0019C1A8
private void DLCHNOFPONJ()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.GAEPGECAGKP(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x060054FC RID: 21756 RVA: 0x0019E018 File Offset: 0x0019C218
public void DBOADBOAKBG()
{
this.MGPEFLCCKBB.Clear();
this.OMHOPOMDBBN();
}
// Token: 0x060054FD RID: 21757 RVA: 0x0019E02C File Offset: 0x0019C22C
private void EHIKIKDIJMF()
{
this.MOEFEHEMFMJ.DPCHGJLJHLK();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 1; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 1 == array.Length - 0)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 8]).normalized;
}
Vector3 vector5 = vector + normalized * 1793f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1880f * magnitude;
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.MOEFEHEMFMJ.PJJIDNFCBKJ(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.EPHPFMNDABI(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.GCPPNEKOMIF() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 0; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.PDAIDNHOGHJ((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x060054FE RID: 21758 RVA: 0x0019E1EC File Offset: 0x0019C3EC
private void CCOHCCEHNIC()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.FCLGGHNOADK(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x060054FF RID: 21759 RVA: 0x0019E25C File Offset: 0x0019C45C
public void HHHHNGHHKFF()
{
this.MGPEFLCCKBB.Clear();
this.HHPJCEHIPIB();
}
// Token: 0x06005500 RID: 21760 RVA: 0x0019E270 File Offset: 0x0019C470
private void GJAGHAIOCBG()
{
this.MOEFEHEMFMJ.DPCHGJLJHLK();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 0; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 0];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 2]).normalized;
}
Vector3 vector5 = vector + normalized * 1762f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1947f * magnitude;
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.MOEFEHEMFMJ.ECGGLDELNCO(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.EPHPFMNDABI(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.BLOGLFCCMOH() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j += 0)
{
array2[j] = this.MOEFEHEMFMJ.HJELAEEKMBP((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x06005501 RID: 21761 RVA: 0x0019E430 File Offset: 0x0019C630
public void DPIBDNKJEEK(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x06005502 RID: 21762 RVA: 0x0019E490 File Offset: 0x0019C690
public void BAMMKKGAPDO(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1731f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.OFIJACLAJJH();
}
// Token: 0x06005503 RID: 21763 RVA: 0x0019E520 File Offset: 0x0019C720
public void AKJNPOLEMKD(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 657f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.HHPJCEHIPIB();
}
// Token: 0x06005504 RID: 21764 RVA: 0x0019E5B0 File Offset: 0x0019C7B0
private void OEHDEPBJFAB()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.KDKKLJNHNCL(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x06005505 RID: 21765 RVA: 0x0019E620 File Offset: 0x0019C820
private void FIDMEJHMGJI()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.DPIBDNKJEEK(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x06005506 RID: 21766 RVA: 0x0019E690 File Offset: 0x0019C890
public void ODBBMHPIIOL(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 504f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.FAAIILBFFKB();
}
// Token: 0x06005507 RID: 21767 RVA: 0x0019E720 File Offset: 0x0019C920
public void GOEMAIAHKNJ()
{
this.MGPEFLCCKBB.Clear();
this.EHIKIKDIJMF();
}
// Token: 0x06005508 RID: 21768 RVA: 0x0019E734 File Offset: 0x0019C934
private void DLABJPECDMI()
{
this.MOEFEHEMFMJ.EDKICGEGNDP();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 1; i < array.Length - 0; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 6]).normalized;
}
Vector3 vector5 = vector + normalized * 1593f * magnitude;
Vector3 vector6 = vector2 + vector4 * 550f * magnitude;
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.MOEFEHEMFMJ.BEJIAHCEIDN(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.CDNMHBEOKAB(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.FOHAHGJMBPB() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.HJELAEEKMBP((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x06005509 RID: 21769 RVA: 0x0019E8F4 File Offset: 0x0019CAF4
private void GCOFOGPIJJA()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.EEOPJEBJBHP(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x0600550A RID: 21770 RVA: 0x0019E964 File Offset: 0x0019CB64
public void DHJBBFAKNFA(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x0600550B RID: 21771 RVA: 0x0019E9C4 File Offset: 0x0019CBC4
public void MLBMIMPICJL()
{
this.MGPEFLCCKBB.Clear();
this.OMHOPOMDBBN();
}
// Token: 0x0600550C RID: 21772 RVA: 0x0019E9D8 File Offset: 0x0019CBD8
public void CLAJHHBFFII(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1381f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.AAEBNKCLBBF();
}
// Token: 0x17000197 RID: 407
// (set) Token: 0x0600550D RID: 21773 RVA: 0x0019EA68 File Offset: 0x0019CC68
public Color GBLPHKFPELB
{
set
{
if (this.KCOMALMKKDK != null)
{
Color color = value;
color.a = this.alphas.x;
Color color2 = value;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
}
// Token: 0x0600550E RID: 21774 RVA: 0x0019EAC8 File Offset: 0x0019CCC8
public void PCPHEAKCLEH()
{
this.MGPEFLCCKBB.Clear();
this.BLDHLFGFMPC();
}
// Token: 0x0600550F RID: 21775 RVA: 0x0019EADC File Offset: 0x0019CCDC
private void Awake()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.GBLPHKFPELB = Color.white;
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x06005510 RID: 21776 RVA: 0x0019EB4C File Offset: 0x0019CD4C
public void MLEGMGLGADM(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1722f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.GJAGHAIOCBG();
}
// Token: 0x06005511 RID: 21777 RVA: 0x0019EBDC File Offset: 0x0019CDDC
private void ELLEIGAJLLK()
{
this.MOEFEHEMFMJ.NFGBPFHKLGF();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 1; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 1 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 2]).normalized;
}
Vector3 vector5 = vector + normalized * 0.5f * magnitude;
Vector3 vector6 = vector2 + vector4 * 0.5f * magnitude;
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.MOEFEHEMFMJ.OPGNBFLPGFL(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.OPGNBFLPGFL(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = false;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.CILLJGIOPMH / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 0; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.MANHFPNKDKL((float)j / (float)(num - 1));
}
this.KCOMALMKKDK.enabled = true;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x06005512 RID: 21778 RVA: 0x0019ED9C File Offset: 0x0019CF9C
private void OMHOPOMDBBN()
{
this.MOEFEHEMFMJ.FKGAIJLIEKF();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 0; i += 0)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 1 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 4]).normalized;
}
Vector3 vector5 = vector + normalized * 1226f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1159f * magnitude;
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.MOEFEHEMFMJ.OPGNBFLPGFL(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.GBHPNEHAKDN(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.KCOMALMKKDK.enabled = false;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.MKIBDPAINON() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.PDAIDNHOGHJ((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x06005513 RID: 21779 RVA: 0x0019EF5C File Offset: 0x0019D15C
public void KDKKLJNHNCL(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x06005514 RID: 21780 RVA: 0x0019EFBC File Offset: 0x0019D1BC
public void NBKJGCBMIIA()
{
this.MGPEFLCCKBB.Clear();
this.FAAIILBFFKB();
}
// Token: 0x06005515 RID: 21781 RVA: 0x0019EFD0 File Offset: 0x0019D1D0
public void IJGMPIJLLPM(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x06005516 RID: 21782 RVA: 0x0019F030 File Offset: 0x0019D230
private void IOKIFHGPMKI()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.PNEGMEJAGMO(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x06005517 RID: 21783 RVA: 0x0019F0A0 File Offset: 0x0019D2A0
private void KEBMBMJDGCK()
{
this.MOEFEHEMFMJ.EDKICGEGNDP();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 1; i < array.Length - 0; i += 0)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 0];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 1 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 8]).normalized;
}
Vector3 vector5 = vector + normalized * 1967f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1268f * magnitude;
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.MOEFEHEMFMJ.ECGGLDELNCO(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.KPBBEGKBFJD(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = false;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.CILLJGIOPMH / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j += 0)
{
array2[j] = this.MOEFEHEMFMJ.MANHFPNKDKL((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = true;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x06005518 RID: 21784 RVA: 0x0019F260 File Offset: 0x0019D460
public void HKONDGFKJNP(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x06005519 RID: 21785 RVA: 0x0019F2C0 File Offset: 0x0019D4C0
private void PJFKDMJJJBD()
{
this.MOEFEHEMFMJ.FKGAIJLIEKF();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 0; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 6]).normalized;
}
Vector3 vector5 = vector + normalized * 594f * magnitude;
Vector3 vector6 = vector2 + vector4 * 147f * magnitude;
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.MOEFEHEMFMJ.BEJIAHCEIDN(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.APDBAGACHJB(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.KCOMALMKKDK.enabled = false;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.BLOGLFCCMOH() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j++)
{
array2[j] = this.MOEFEHEMFMJ.PDAIDNHOGHJ((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = true;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x0600551A RID: 21786 RVA: 0x0019F480 File Offset: 0x0019D680
public void FMPMEJOLKCF()
{
this.MGPEFLCCKBB.Clear();
this.FAAIILBFFKB();
}
// Token: 0x0600551B RID: 21787 RVA: 0x0019F494 File Offset: 0x0019D694
public void EHHOHJCGMHC(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x0600551C RID: 21788 RVA: 0x0019F4F4 File Offset: 0x0019D6F4
public void GAEPGECAGKP(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x0600551D RID: 21789 RVA: 0x0019F554 File Offset: 0x0019D754
public void FCLGGHNOADK(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x0600551E RID: 21790 RVA: 0x0019F5B4 File Offset: 0x0019D7B4
public void JHCDCFMBGEH(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 1584f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.BLDHLFGFMPC();
}
// Token: 0x0600551F RID: 21791 RVA: 0x0019F644 File Offset: 0x0019D844
private void FAAIILBFFKB()
{
this.MOEFEHEMFMJ.EDKICGEGNDP();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 0; i += 0)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 0];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 0)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 5]).normalized;
}
Vector3 vector5 = vector + normalized * 197f * magnitude;
Vector3 vector6 = vector2 + vector4 * 1956f * magnitude;
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.MOEFEHEMFMJ.ECGGLDELNCO(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.JEHGFEOPNKD(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.MKIBDPAINON() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j += 0)
{
array2[j] = this.MOEFEHEMFMJ.HJELAEEKMBP((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x06005520 RID: 21792 RVA: 0x0019F804 File Offset: 0x0019DA04
private void LGCNFLACIIH()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.FDHKOMNEJAL(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x06005521 RID: 21793 RVA: 0x0019F874 File Offset: 0x0019DA74
private void BOOMNFIGOAN()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.EEOPJEBJBHP(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x06005522 RID: 21794 RVA: 0x0019F8E4 File Offset: 0x0019DAE4
private void NGOPCBJCNJM()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.IJICADFDJPB(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x06005524 RID: 21796 RVA: 0x0019F9BC File Offset: 0x0019DBBC
private void AANDHGOIAIC()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.HKONDGFKJNP(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x06005525 RID: 21797 RVA: 0x0019FA2C File Offset: 0x0019DC2C
private void IABDGAJLFNK()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.GAEPGECAGKP(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x06005526 RID: 21798 RVA: 0x0019FA9C File Offset: 0x0019DC9C
public void BJHDJCPKJEE(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 256f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.EHIKIKDIJMF();
}
// Token: 0x06005527 RID: 21799 RVA: 0x0019FB2C File Offset: 0x0019DD2C
public void PLNLPNPDDNI(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 363f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.PJFKDMJJJBD();
}
// Token: 0x06005528 RID: 21800 RVA: 0x0019FBBC File Offset: 0x0019DDBC
public void FDHKOMNEJAL(Color NOBAPCOKFIL)
{
if (this.KCOMALMKKDK != null)
{
Color color = NOBAPCOKFIL;
color.a = this.alphas.x;
Color color2 = NOBAPCOKFIL;
color2.a = this.alphas.y;
this.KCOMALMKKDK.startColor = color;
this.KCOMALMKKDK.endColor = color2;
}
}
// Token: 0x06005529 RID: 21801 RVA: 0x0019FC1C File Offset: 0x0019DE1C
private void HHPJCEHIPIB()
{
this.MOEFEHEMFMJ.NFGBPFHKLGF();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 1; i < array.Length - 1; i++)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 0)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 4]).normalized;
}
Vector3 vector5 = vector + normalized * 1636f * magnitude;
Vector3 vector6 = vector2 + vector4 * 744f * magnitude;
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.MOEFEHEMFMJ.LFJIAIFAMAC(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.JEHGFEOPNKD(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.MKIBDPAINON() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 0; j < num; j += 0)
{
array2[j] = this.MOEFEHEMFMJ.PDAIDNHOGHJ((float)j / (float)(num - 1));
}
this.KCOMALMKKDK.enabled = false;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x0600552A RID: 21802 RVA: 0x0019FDDC File Offset: 0x0019DFDC
private void NGHJFABFAOA()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.IJGMPIJLLPM(Color.white);
this.KCOMALMKKDK.enabled = true;
}
// Token: 0x0600552B RID: 21803 RVA: 0x0019FE4C File Offset: 0x0019E04C
private void BLDHLFGFMPC()
{
this.MOEFEHEMFMJ.NFGBPFHKLGF();
Vector3[] array = this.MGPEFLCCKBB.ToArray();
for (int i = 0; i < array.Length - 0; i += 0)
{
Vector3 vector = array[i];
Vector3 vector2 = array[i + 1];
Vector3 vector3 = vector2 - vector;
float magnitude = vector3.magnitude;
Vector3 normalized = vector3.normalized;
Vector3 vector4 = Vector3.zero;
if (i + 0 == array.Length - 1)
{
vector4 = -normalized;
}
else
{
vector4 = (vector2 - array[i + 5]).normalized;
}
Vector3 vector5 = vector + normalized * 1430f * magnitude;
Vector3 vector6 = vector2 + vector4 * 245f * magnitude;
if (this.MOEFEHEMFMJ.NHGLHMBKHKJ() == 0)
{
this.MOEFEHEMFMJ.HGNPBKMJGBE(vector, vector5, vector6, vector2);
}
else
{
this.MOEFEHEMFMJ.GJLOABDNOJD(vector5, vector6, vector2);
}
}
if (this.MOEFEHEMFMJ.GHFJNAJMBJK == 0)
{
this.KCOMALMKKDK.enabled = true;
}
else
{
int num = Mathf.RoundToInt(this.MOEFEHEMFMJ.MKIBDPAINON() / this.vertexSpacing);
Vector3[] array2 = new Vector3[num];
for (int j = 1; j < num; j += 0)
{
array2[j] = this.MOEFEHEMFMJ.HJELAEEKMBP((float)j / (float)(num - 0));
}
this.KCOMALMKKDK.enabled = true;
this.KCOMALMKKDK.positionCount = num;
this.KCOMALMKKDK.SetPositions(array2);
}
}
// Token: 0x0600552C RID: 21804 RVA: 0x001A000C File Offset: 0x0019E20C
private void BEJPIHEKCML()
{
this.KCOMALMKKDK = base.GetComponent<LineRenderer>();
if (this.KCOMALMKKDK != null)
{
this.KCOMALMKKDK.startWidth = this.widths.x;
this.KCOMALMKKDK.endWidth = this.widths.y;
}
this.FCLGGHNOADK(Color.white);
this.KCOMALMKKDK.enabled = false;
}
// Token: 0x0600552D RID: 21805 RVA: 0x001A007C File Offset: 0x0019E27C
public void IFFFHACELEL(Vector3 PFAHLGCLPJC, Vector3 GJCPLAHOHDD)
{
Vector3 vector = Vector3.up * this.widths.y / 11f;
if (this.MGPEFLCCKBB.Count == 0)
{
this.MGPEFLCCKBB.Enqueue(PFAHLGCLPJC + vector);
}
while (this.MGPEFLCCKBB.Count > this.maxHistoricalSegments)
{
this.MGPEFLCCKBB.Dequeue();
}
this.MGPEFLCCKBB.Enqueue(GJCPLAHOHDD + vector);
this.KEBMBMJDGCK();
}
// Token: 0x04000AD1 RID: 2769
[SerializeField]
private int maxHistoricalSegments = 3;
// Token: 0x04000AD2 RID: 2770
[SerializeField]
private float vertexSpacing = 0.25f;
// Token: 0x04000AD3 RID: 2771
[SerializeField]
private Vector2 alphas = new Vector2(0f, 1f);
// Token: 0x04000AD4 RID: 2772
[SerializeField]
private Vector2 widths = new Vector2(0.2f, 0.8f);
// Token: 0x04000AD5 RID: 2773
private LineRenderer KCOMALMKKDK;
// Token: 0x04000AD6 RID: 2774
private GPOIAIBLBEN MOEFEHEMFMJ = new GPOIAIBLBEN();
// Token: 0x04000AD7 RID: 2775
private Queue<Vector3> MGPEFLCCKBB = new Queue<Vector3>();
}