1052 lines
43 KiB
C#
1052 lines
43 KiB
C#
using System;
|
|
using Photon;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000042 RID: 66
|
|
public class DiscGolfGizmoMotion : global::Photon.MonoBehaviour
|
|
{
|
|
// Token: 0x06000DD4 RID: 3540 RVA: 0x0004C074 File Offset: 0x0004A274
|
|
private void ELJEMOGNBOP()
|
|
{
|
|
this.IMGLEINFCFL();
|
|
}
|
|
|
|
// Token: 0x06000DD5 RID: 3541 RVA: 0x0004C07C File Offset: 0x0004A27C
|
|
private Vector3 LCDCNIEOCPF()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DD6 RID: 3542 RVA: 0x0004C084 File Offset: 0x0004A284
|
|
private Vector3 BCOEAOONLEO()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DD7 RID: 3543 RVA: 0x0004C08C File Offset: 0x0004A28C
|
|
private void GIBIDIAHENH(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DD8 RID: 3544 RVA: 0x0004C098 File Offset: 0x0004A298
|
|
private void DFCDBHCAIPH()
|
|
{
|
|
this.DFNMMLDHGJG();
|
|
}
|
|
|
|
// Token: 0x06000DD9 RID: 3545 RVA: 0x0004C0A0 File Offset: 0x0004A2A0
|
|
private Vector3 AECOFIFOAFB()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DDA RID: 3546 RVA: 0x0004C0A8 File Offset: 0x0004A2A8
|
|
private void FEJIECMBFCA()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1429.0);
|
|
float num2 = 1605f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 460f && this.translationFrequency.x > 6f) || (this.translationDisplacement.y > 1419f && this.translationFrequency.y > 289f) || (this.translationDisplacement.z > 217f && this.translationFrequency.z > 1264f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 1061f && this.localTranslationFrequency.x > 890f) || (this.localTranslationDisplacement.y > 1306f && this.localTranslationFrequency.y > 669f) || (this.localTranslationDisplacement.z > 542f && this.localTranslationFrequency.z > 446f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 207f || this.rotationFrequency.y > 1846f || this.rotationFrequency.z > 1181f)
|
|
{
|
|
float num6 = this.JPNCKJOMLDO().x + 408f * this.rotationFrequency.x * num % 833f;
|
|
float num7 = this.HKNJCEKNPEJ().y + 559f * this.rotationFrequency.y * num % 1123f;
|
|
float num8 = this.NBIDKMBPJDB().z + 953f * this.rotationFrequency.z * num % 1447f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.EJMKGHMOBNM() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000DDB RID: 3547 RVA: 0x0004C3F0 File Offset: 0x0004A5F0
|
|
private void CLEMBOJCJND(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DDC RID: 3548 RVA: 0x0004C3FC File Offset: 0x0004A5FC
|
|
private void OAOALILNJFF()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1007.0);
|
|
float num2 = 1141f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 1875f && this.translationFrequency.x > 1346f) || (this.translationDisplacement.y > 1345f && this.translationFrequency.y > 548f) || (this.translationDisplacement.z > 529f && this.translationFrequency.z > 515f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 708f && this.localTranslationFrequency.x > 1944f) || (this.localTranslationDisplacement.y > 539f && this.localTranslationFrequency.y > 1322f) || (this.localTranslationDisplacement.z > 986f && this.localTranslationFrequency.z > 510f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 2f || this.rotationFrequency.y > 1546f || this.rotationFrequency.z > 1800f)
|
|
{
|
|
float num6 = this.NBIDKMBPJDB().x + 215f * this.rotationFrequency.x * num % 1994f;
|
|
float num7 = this.HKNJCEKNPEJ().y + 1564f * this.rotationFrequency.y * num % 82f;
|
|
float num8 = this.NBIDKMBPJDB().z + 1884f * this.rotationFrequency.z * num % 295f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.KPLCELEAOCL() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000DDD RID: 3549 RVA: 0x0004C744 File Offset: 0x0004A944
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.FELIIJMDMDC = base.transform.position;
|
|
this.NBOEIHHCPHN = base.transform.rotation.eulerAngles;
|
|
}
|
|
|
|
// Token: 0x06000DDE RID: 3550 RVA: 0x0004C784 File Offset: 0x0004A984
|
|
protected virtual void CHOLLIANPAL()
|
|
{
|
|
base.Awake();
|
|
this.BBNINGDKBKG(base.transform.position);
|
|
this.AOEKIHBDCHP(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000DDF RID: 3551 RVA: 0x0004C7C4 File Offset: 0x0004A9C4
|
|
protected virtual void LKONBDPFMJE()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
this.JJOCIEHELNG(base.transform.position);
|
|
this.PHDJLANPDPL(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000DE0 RID: 3552 RVA: 0x0004C804 File Offset: 0x0004AA04
|
|
private Vector3 EMPJOMJEGAJ()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DE1 RID: 3553 RVA: 0x0004C80C File Offset: 0x0004AA0C
|
|
private void OBFADPEEBLG()
|
|
{
|
|
this.EAMBICLDHFC();
|
|
}
|
|
|
|
// Token: 0x06000DE2 RID: 3554 RVA: 0x0004C814 File Offset: 0x0004AA14
|
|
private void INHAABPGNCL(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DE3 RID: 3555 RVA: 0x0004C820 File Offset: 0x0004AA20
|
|
private void AOEKIHBDCHP(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DE4 RID: 3556 RVA: 0x0004C82C File Offset: 0x0004AA2C
|
|
private void JJHGPNEHNOM()
|
|
{
|
|
this.NIJFLCMALHA();
|
|
}
|
|
|
|
// Token: 0x06000DE5 RID: 3557 RVA: 0x0004C834 File Offset: 0x0004AA34
|
|
private Vector3 HMMMFKOACKA()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DE6 RID: 3558 RVA: 0x0004C83C File Offset: 0x0004AA3C
|
|
private Vector3 JPNCKJOMLDO()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DE7 RID: 3559 RVA: 0x0004C844 File Offset: 0x0004AA44
|
|
private void DFNMMLDHGJG()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1887.0);
|
|
float num2 = 1861f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 896f && this.translationFrequency.x > 1289f) || (this.translationDisplacement.y > 790f && this.translationFrequency.y > 238f) || (this.translationDisplacement.z > 1619f && this.translationFrequency.z > 600f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 958f && this.localTranslationFrequency.x > 1104f) || (this.localTranslationDisplacement.y > 1162f && this.localTranslationFrequency.y > 1320f) || (this.localTranslationDisplacement.z > 274f && this.localTranslationFrequency.z > 509f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 1701f || this.rotationFrequency.y > 242f || this.rotationFrequency.z > 173f)
|
|
{
|
|
float num6 = this.FLDDFCGMBFD().x + 1163f * this.rotationFrequency.x * num % 1356f;
|
|
float num7 = this.HKNJCEKNPEJ().y + 1743f * this.rotationFrequency.y * num % 410f;
|
|
float num8 = this.AECOFIFOAFB().z + 1438f * this.rotationFrequency.z * num % 1271f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.EMPJOMJEGAJ() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000DE8 RID: 3560 RVA: 0x0004CB8C File Offset: 0x0004AD8C
|
|
private void Update()
|
|
{
|
|
this.COAGDILBBCH();
|
|
}
|
|
|
|
// Token: 0x06000DE9 RID: 3561 RVA: 0x0004CB94 File Offset: 0x0004AD94
|
|
private Vector3 EFLGNFJCJBB()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DEA RID: 3562 RVA: 0x0004CB9C File Offset: 0x0004AD9C
|
|
private Vector3 FNHIAAFOCKD()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DEB RID: 3563 RVA: 0x0004CBA4 File Offset: 0x0004ADA4
|
|
private void PONDPPDHJOM()
|
|
{
|
|
this.FEJIECMBFCA();
|
|
}
|
|
|
|
// Token: 0x06000DEC RID: 3564 RVA: 0x0004CBAC File Offset: 0x0004ADAC
|
|
private void MGNCHOENOLB(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DED RID: 3565 RVA: 0x0004CBB8 File Offset: 0x0004ADB8
|
|
private void PHDJLANPDPL(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DEE RID: 3566 RVA: 0x0004CBC4 File Offset: 0x0004ADC4
|
|
private void DPHGLNBBMMJ(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DEF RID: 3567 RVA: 0x0004CBD0 File Offset: 0x0004ADD0
|
|
private void PAAODBOICGK(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DF0 RID: 3568 RVA: 0x0004CBDC File Offset: 0x0004ADDC
|
|
private Vector3 DPHDDFINKFF()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DF1 RID: 3569 RVA: 0x0004CBE4 File Offset: 0x0004ADE4
|
|
private void FPDEKKNGFGO()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1406.0);
|
|
float num2 = 135f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 1066f && this.translationFrequency.x > 1887f) || (this.translationDisplacement.y > 524f && this.translationFrequency.y > 1869f) || (this.translationDisplacement.z > 1585f && this.translationFrequency.z > 280f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 1710f && this.localTranslationFrequency.x > 508f) || (this.localTranslationDisplacement.y > 110f && this.localTranslationFrequency.y > 1089f) || (this.localTranslationDisplacement.z > 1074f && this.localTranslationFrequency.z > 283f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 909f || this.rotationFrequency.y > 1847f || this.rotationFrequency.z > 424f)
|
|
{
|
|
float num6 = this.OMKFFDIAGGA().x + 1042f * this.rotationFrequency.x * num % 971f;
|
|
float num7 = this.OMKFFDIAGGA().y + 621f * this.rotationFrequency.y * num % 1651f;
|
|
float num8 = this.OMKFFDIAGGA().z + 531f * this.rotationFrequency.z * num % 1736f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.EFLGNFJCJBB() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000DF2 RID: 3570 RVA: 0x0004CF2C File Offset: 0x0004B12C
|
|
private void AJLMLNBDMCH()
|
|
{
|
|
this.EAMBICLDHFC();
|
|
}
|
|
|
|
// Token: 0x06000DF3 RID: 3571 RVA: 0x0004CF34 File Offset: 0x0004B134
|
|
private void IMGLEINFCFL()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 954.0);
|
|
float num2 = 1588f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 584f && this.translationFrequency.x > 1816f) || (this.translationDisplacement.y > 161f && this.translationFrequency.y > 1843f) || (this.translationDisplacement.z > 129f && this.translationFrequency.z > 1816f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 303f && this.localTranslationFrequency.x > 123f) || (this.localTranslationDisplacement.y > 1816f && this.localTranslationFrequency.y > 1035f) || (this.localTranslationDisplacement.z > 1383f && this.localTranslationFrequency.z > 220f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 710f || this.rotationFrequency.y > 1237f || this.rotationFrequency.z > 1512f)
|
|
{
|
|
float num6 = this.NAKEOBGONBP().x + 1566f * this.rotationFrequency.x * num % 364f;
|
|
float num7 = this.DMADFGOEGFL().y + 1203f * this.rotationFrequency.y * num % 953f;
|
|
float num8 = this.ODBNKGDFHMN().z + 850f * this.rotationFrequency.z * num % 709f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.FELIIJMDMDC + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000DF4 RID: 3572 RVA: 0x0004D27C File Offset: 0x0004B47C
|
|
protected virtual void PBCGMHKELND()
|
|
{
|
|
base.LGCNFLACIIH();
|
|
this.BBNINGDKBKG(base.transform.position);
|
|
this.PHDJLANPDPL(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000DF5 RID: 3573 RVA: 0x0004D2BC File Offset: 0x0004B4BC
|
|
protected virtual void KMCJNIPIKBA()
|
|
{
|
|
base.Awake();
|
|
this.JJOCIEHELNG(base.transform.position);
|
|
this.PHDJLANPDPL(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000DF6 RID: 3574 RVA: 0x0004D2FC File Offset: 0x0004B4FC
|
|
private void NDJNKNBKHIA(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000DF8 RID: 3576 RVA: 0x0004D348 File Offset: 0x0004B548
|
|
private Vector3 PEHGAHIANJM()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DF9 RID: 3577 RVA: 0x0004D350 File Offset: 0x0004B550
|
|
private Vector3 HKNJCEKNPEJ()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DFA RID: 3578 RVA: 0x0004D358 File Offset: 0x0004B558
|
|
private Vector3 EMJBNAAABFH()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DFB RID: 3579 RVA: 0x0004D360 File Offset: 0x0004B560
|
|
private void CEFBFDNICOB()
|
|
{
|
|
this.FPDEKKNGFGO();
|
|
}
|
|
|
|
// Token: 0x06000DFC RID: 3580 RVA: 0x0004D368 File Offset: 0x0004B568
|
|
protected virtual void JJEKHMENJFE()
|
|
{
|
|
base.Awake();
|
|
this.DHKBKBBELJJ(base.transform.position);
|
|
this.DPHGLNBBMMJ(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000DFD RID: 3581 RVA: 0x0004D3A8 File Offset: 0x0004B5A8
|
|
protected virtual void GLBKBCBIOFJ()
|
|
{
|
|
base.MPIHCILBGLM();
|
|
this.BBNINGDKBKG(base.transform.position);
|
|
this.CHJDOHPNILM(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000DFE RID: 3582 RVA: 0x0004D3E8 File Offset: 0x0004B5E8
|
|
private Vector3 DOEAHDNBJBI()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000DFF RID: 3583 RVA: 0x0004D3F0 File Offset: 0x0004B5F0
|
|
private void KCBKCCEFBDK(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E00 RID: 3584 RVA: 0x0004D3FC File Offset: 0x0004B5FC
|
|
private void HMBANMALONL()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1539.0);
|
|
float num2 = 844f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 184f && this.translationFrequency.x > 1078f) || (this.translationDisplacement.y > 1617f && this.translationFrequency.y > 43f) || (this.translationDisplacement.z > 1732f && this.translationFrequency.z > 1080f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 985f && this.localTranslationFrequency.x > 667f) || (this.localTranslationDisplacement.y > 421f && this.localTranslationFrequency.y > 583f) || (this.localTranslationDisplacement.z > 1216f && this.localTranslationFrequency.z > 738f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 394f || this.rotationFrequency.y > 1925f || this.rotationFrequency.z > 1808f)
|
|
{
|
|
float num6 = this.FNHIAAFOCKD().x + 708f * this.rotationFrequency.x * num % 144f;
|
|
float num7 = this.NBIDKMBPJDB().y + 497f * this.rotationFrequency.y * num % 1289f;
|
|
float num8 = this.NAKEOBGONBP().z + 1322f * this.rotationFrequency.z * num % 454f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.LKOGCDKEAGH() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E01 RID: 3585 RVA: 0x0004D744 File Offset: 0x0004B944
|
|
private void JPPIOEIIIPB(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E02 RID: 3586 RVA: 0x0004D750 File Offset: 0x0004B950
|
|
private Vector3 DMADFGOEGFL()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E03 RID: 3587 RVA: 0x0004D758 File Offset: 0x0004B958
|
|
private Vector3 ODBNKGDFHMN()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E04 RID: 3588 RVA: 0x0004D760 File Offset: 0x0004B960
|
|
private Vector3 IFCKJFHPJBL()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E05 RID: 3589 RVA: 0x0004D768 File Offset: 0x0004B968
|
|
private Vector3 KOKEIACLGKE()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E06 RID: 3590 RVA: 0x0004D770 File Offset: 0x0004B970
|
|
private void BCPEPEEEENP(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x1700003A RID: 58
|
|
// (get) Token: 0x06000E0C RID: 3596 RVA: 0x0004DB20 File Offset: 0x0004BD20
|
|
// (set) Token: 0x06000E07 RID: 3591 RVA: 0x0004D77C File Offset: 0x0004B97C
|
|
private Vector3 NBOEIHHCPHN { get; set; }
|
|
|
|
// Token: 0x06000E08 RID: 3592 RVA: 0x0004D788 File Offset: 0x0004B988
|
|
private Vector3 EJMKGHMOBNM()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E09 RID: 3593 RVA: 0x0004D790 File Offset: 0x0004B990
|
|
protected virtual void BOOMNFIGOAN()
|
|
{
|
|
base.DLCHNOFPONJ();
|
|
this.CLEMBOJCJND(base.transform.position);
|
|
this.DPHGLNBBMMJ(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000E0A RID: 3594 RVA: 0x0004D7D0 File Offset: 0x0004B9D0
|
|
private void GGHNBMLMNOP()
|
|
{
|
|
this.EAMBICLDHFC();
|
|
}
|
|
|
|
// Token: 0x06000E0B RID: 3595 RVA: 0x0004D7D8 File Offset: 0x0004B9D8
|
|
private void COAGDILBBCH()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 100000.0);
|
|
float num2 = 6.2831855f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 0.001f && this.translationFrequency.x > 0.001f) || (this.translationDisplacement.y > 0.001f && this.translationFrequency.y > 0.001f) || (this.translationDisplacement.z > 0.001f && this.translationFrequency.z > 0.001f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 0.001f && this.localTranslationFrequency.x > 0.001f) || (this.localTranslationDisplacement.y > 0.001f && this.localTranslationFrequency.y > 0.001f) || (this.localTranslationDisplacement.z > 0.001f && this.localTranslationFrequency.z > 0.001f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 0.001f || this.rotationFrequency.y > 0.001f || this.rotationFrequency.z > 0.001f)
|
|
{
|
|
float num6 = this.NBOEIHHCPHN.x + 360f * this.rotationFrequency.x * num % 360f;
|
|
float num7 = this.NBOEIHHCPHN.y + 360f * this.rotationFrequency.y * num % 360f;
|
|
float num8 = this.NBOEIHHCPHN.z + 360f * this.rotationFrequency.z * num % 360f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.FELIIJMDMDC + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E0D RID: 3597 RVA: 0x0004DB28 File Offset: 0x0004BD28
|
|
private Vector3 NBIDKMBPJDB()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E0E RID: 3598 RVA: 0x0004DB30 File Offset: 0x0004BD30
|
|
private void LHHNBLCNFHF(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E0F RID: 3599 RVA: 0x0004DB3C File Offset: 0x0004BD3C
|
|
protected virtual void CLGGCAGCLKP()
|
|
{
|
|
base.LGCNFLACIIH();
|
|
this.FELIIJMDMDC = base.transform.position;
|
|
this.INHAABPGNCL(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000E10 RID: 3600 RVA: 0x0004DB7C File Offset: 0x0004BD7C
|
|
protected virtual void OLEBPMMFNIF()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
this.BBNINGDKBKG(base.transform.position);
|
|
this.KCBKCCEFBDK(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000E11 RID: 3601 RVA: 0x0004DBBC File Offset: 0x0004BDBC
|
|
private void NBKDDDPBHPF()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 602.0);
|
|
float num2 = 1917f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 1395f && this.translationFrequency.x > 1577f) || (this.translationDisplacement.y > 626f && this.translationFrequency.y > 1390f) || (this.translationDisplacement.z > 1421f && this.translationFrequency.z > 377f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 314f && this.localTranslationFrequency.x > 1108f) || (this.localTranslationDisplacement.y > 890f && this.localTranslationFrequency.y > 885f) || (this.localTranslationDisplacement.z > 930f && this.localTranslationFrequency.z > 1387f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 783f || this.rotationFrequency.y > 1932f || this.rotationFrequency.z > 1361f)
|
|
{
|
|
float num6 = this.BCOEAOONLEO().x + 798f * this.rotationFrequency.x * num % 1949f;
|
|
float num7 = this.NAKEOBGONBP().y + 759f * this.rotationFrequency.y * num % 807f;
|
|
float num8 = this.ACKBDOFGOIF().z + 1746f * this.rotationFrequency.z * num % 1634f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.KOKEIACLGKE() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E12 RID: 3602 RVA: 0x0004DF04 File Offset: 0x0004C104
|
|
private void EAMBICLDHFC()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1546.0);
|
|
float num2 = 1617f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 850f && this.translationFrequency.x > 391f) || (this.translationDisplacement.y > 1949f && this.translationFrequency.y > 610f) || (this.translationDisplacement.z > 1387f && this.translationFrequency.z > 344f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 1309f && this.localTranslationFrequency.x > 144f) || (this.localTranslationDisplacement.y > 949f && this.localTranslationFrequency.y > 1560f) || (this.localTranslationDisplacement.z > 331f && this.localTranslationFrequency.z > 949f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 1817f || this.rotationFrequency.y > 754f || this.rotationFrequency.z > 234f)
|
|
{
|
|
float num6 = this.OMKFFDIAGGA().x + 329f * this.rotationFrequency.x * num % 1164f;
|
|
float num7 = this.JMGOMKIPDOG().y + 1684f * this.rotationFrequency.y * num % 1421f;
|
|
float num8 = this.NBOEIHHCPHN.z + 1988f * this.rotationFrequency.z * num % 1564f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.EJMKGHMOBNM() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E13 RID: 3603 RVA: 0x0004E24C File Offset: 0x0004C44C
|
|
protected virtual void KKABOKBLDGJ()
|
|
{
|
|
base.Awake();
|
|
this.JJOCIEHELNG(base.transform.position);
|
|
this.LHHNBLCNFHF(base.transform.rotation.eulerAngles);
|
|
}
|
|
|
|
// Token: 0x06000E14 RID: 3604 RVA: 0x0004E28C File Offset: 0x0004C48C
|
|
private void HIJOFIKNJEE()
|
|
{
|
|
this.NBKDDDPBHPF();
|
|
}
|
|
|
|
// Token: 0x06000E15 RID: 3605 RVA: 0x0004E294 File Offset: 0x0004C494
|
|
private Vector3 JNNEELOCLEL()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E16 RID: 3606 RVA: 0x0004E29C File Offset: 0x0004C49C
|
|
private Vector3 KPLCELEAOCL()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E17 RID: 3607 RVA: 0x0004E2A4 File Offset: 0x0004C4A4
|
|
private Vector3 LKOGCDKEAGH()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E18 RID: 3608 RVA: 0x0004E2AC File Offset: 0x0004C4AC
|
|
private Vector3 FMFDIGKIHKG()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E19 RID: 3609 RVA: 0x0004E2B4 File Offset: 0x0004C4B4
|
|
private void NOMPHCINOLA()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 877.0);
|
|
float num2 = 1375f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 54f && this.translationFrequency.x > 1781f) || (this.translationDisplacement.y > 443f && this.translationFrequency.y > 1087f) || (this.translationDisplacement.z > 921f && this.translationFrequency.z > 1465f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 1444f && this.localTranslationFrequency.x > 91f) || (this.localTranslationDisplacement.y > 1544f && this.localTranslationFrequency.y > 1084f) || (this.localTranslationDisplacement.z > 462f && this.localTranslationFrequency.z > 883f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 401f || this.rotationFrequency.y > 868f || this.rotationFrequency.z > 1309f)
|
|
{
|
|
float num6 = this.DMADFGOEGFL().x + 774f * this.rotationFrequency.x * num % 642f;
|
|
float num7 = this.EMJBNAAABFH().y + 224f * this.rotationFrequency.y * num % 510f;
|
|
float num8 = this.OMKFFDIAGGA().z + 1716f * this.rotationFrequency.z * num % 1651f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.FMFDIGKIHKG() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E1A RID: 3610 RVA: 0x0004E5FC File Offset: 0x0004C7FC
|
|
private Vector3 PNNMCIBGKJC()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E1B RID: 3611 RVA: 0x0004E604 File Offset: 0x0004C804
|
|
private void HNGBEOEJBFO()
|
|
{
|
|
this.NLKLLBBIMBF();
|
|
}
|
|
|
|
// Token: 0x06000E1C RID: 3612 RVA: 0x0004E60C File Offset: 0x0004C80C
|
|
private Vector3 FLDDFCGMBFD()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E1D RID: 3613 RVA: 0x0004E614 File Offset: 0x0004C814
|
|
private void NLKLLBBIMBF()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 73.0);
|
|
float num2 = 13f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 942f && this.translationFrequency.x > 1754f) || (this.translationDisplacement.y > 1333f && this.translationFrequency.y > 505f) || (this.translationDisplacement.z > 459f && this.translationFrequency.z > 1458f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 727f && this.localTranslationFrequency.x > 1785f) || (this.localTranslationDisplacement.y > 1868f && this.localTranslationFrequency.y > 5f) || (this.localTranslationDisplacement.z > 1992f && this.localTranslationFrequency.z > 1113f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 352f || this.rotationFrequency.y > 1555f || this.rotationFrequency.z > 845f)
|
|
{
|
|
float num6 = this.PNNMCIBGKJC().x + 66f * this.rotationFrequency.x * num % 1131f;
|
|
float num7 = this.EMJBNAAABFH().y + 900f * this.rotationFrequency.y * num % 1194f;
|
|
float num8 = this.BJJGOADICJB().z + 859f * this.rotationFrequency.z * num % 633f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.FEDNHAFKNDE() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E1E RID: 3614 RVA: 0x0004E95C File Offset: 0x0004CB5C
|
|
private void IGDMCDLELON()
|
|
{
|
|
this.IMGLEINFCFL();
|
|
}
|
|
|
|
// Token: 0x17000039 RID: 57
|
|
// (get) Token: 0x06000E1F RID: 3615 RVA: 0x0004E964 File Offset: 0x0004CB64
|
|
// (set) Token: 0x06000E30 RID: 3632 RVA: 0x0004F07C File Offset: 0x0004D27C
|
|
private Vector3 FELIIJMDMDC { get; set; }
|
|
|
|
// Token: 0x06000E20 RID: 3616 RVA: 0x0004E96C File Offset: 0x0004CB6C
|
|
private Vector3 AIAMHDFOOKD()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E21 RID: 3617 RVA: 0x0004E974 File Offset: 0x0004CB74
|
|
private void JINABDGLFOB()
|
|
{
|
|
this.NIJFLCMALHA();
|
|
}
|
|
|
|
// Token: 0x06000E22 RID: 3618 RVA: 0x0004E97C File Offset: 0x0004CB7C
|
|
private void LPIOCCOBGIP()
|
|
{
|
|
this.NOMPHCINOLA();
|
|
}
|
|
|
|
// Token: 0x06000E23 RID: 3619 RVA: 0x0004E984 File Offset: 0x0004CB84
|
|
private Vector3 BJJGOADICJB()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E24 RID: 3620 RVA: 0x0004E98C File Offset: 0x0004CB8C
|
|
private void DHKBKBBELJJ(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E25 RID: 3621 RVA: 0x0004E998 File Offset: 0x0004CB98
|
|
private void OEKOPBDDGCK()
|
|
{
|
|
this.COAGDILBBCH();
|
|
}
|
|
|
|
// Token: 0x06000E26 RID: 3622 RVA: 0x0004E9A0 File Offset: 0x0004CBA0
|
|
private void JKMNBLDOIMB()
|
|
{
|
|
this.EAMBICLDHFC();
|
|
}
|
|
|
|
// Token: 0x06000E27 RID: 3623 RVA: 0x0004E9A8 File Offset: 0x0004CBA8
|
|
private void CHJDOHPNILM(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<LDMHOIKECOP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E28 RID: 3624 RVA: 0x0004E9B4 File Offset: 0x0004CBB4
|
|
private Vector3 JMGOMKIPDOG()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E29 RID: 3625 RVA: 0x0004E9BC File Offset: 0x0004CBBC
|
|
private void BBNINGDKBKG(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E2A RID: 3626 RVA: 0x0004E9C8 File Offset: 0x0004CBC8
|
|
private void GNNDODNMELC()
|
|
{
|
|
this.IMGLEINFCFL();
|
|
}
|
|
|
|
// Token: 0x06000E2B RID: 3627 RVA: 0x0004E9D0 File Offset: 0x0004CBD0
|
|
private Vector3 ACKBDOFGOIF()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E2C RID: 3628 RVA: 0x0004E9D8 File Offset: 0x0004CBD8
|
|
private void JJOCIEHELNG(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<BMIMHCAFNPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06000E2D RID: 3629 RVA: 0x0004E9E4 File Offset: 0x0004CBE4
|
|
private void LMHAJJJBDIK()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1545.0);
|
|
float num2 = 337f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 400f && this.translationFrequency.x > 872f) || (this.translationDisplacement.y > 75f && this.translationFrequency.y > 1988f) || (this.translationDisplacement.z > 822f && this.translationFrequency.z > 1476f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 962f && this.localTranslationFrequency.x > 249f) || (this.localTranslationDisplacement.y > 804f && this.localTranslationFrequency.y > 199f) || (this.localTranslationDisplacement.z > 1834f && this.localTranslationFrequency.z > 1450f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 248f || this.rotationFrequency.y > 703f || this.rotationFrequency.z > 1600f)
|
|
{
|
|
float num6 = this.HKNJCEKNPEJ().x + 155f * this.rotationFrequency.x * num % 1121f;
|
|
float num7 = this.LCDCNIEOCPF().y + 758f * this.rotationFrequency.y * num % 1244f;
|
|
float num8 = this.NBIDKMBPJDB().z + 1372f * this.rotationFrequency.z * num % 1913f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.EMPJOMJEGAJ() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E2E RID: 3630 RVA: 0x0004ED2C File Offset: 0x0004CF2C
|
|
private void NIJFLCMALHA()
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.GKICDGMMPBH % 1733.0);
|
|
float num2 = 401f * num;
|
|
Quaternion quaternion = Quaternion.identity;
|
|
Vector3 zero;
|
|
Vector3 vector = (zero = Vector3.zero);
|
|
if ((this.translationDisplacement.x > 679f && this.translationFrequency.x > 1340f) || (this.translationDisplacement.y > 957f && this.translationFrequency.y > 1775f) || (this.translationDisplacement.z > 791f && this.translationFrequency.z > 479f))
|
|
{
|
|
float num3 = this.translationDisplacement.x * Mathf.Sin(this.translationFrequency.x * num2);
|
|
float num4 = this.translationDisplacement.y * Mathf.Sin(this.translationFrequency.y * num2);
|
|
float num5 = this.translationDisplacement.z * Mathf.Sin(this.translationFrequency.z * num2);
|
|
zero = new Vector3(num3, num4, num5);
|
|
}
|
|
if ((this.localTranslationDisplacement.x > 1626f && this.localTranslationFrequency.x > 1052f) || (this.localTranslationDisplacement.y > 1069f && this.localTranslationFrequency.y > 418f) || (this.localTranslationDisplacement.z > 818f && this.localTranslationFrequency.z > 581f))
|
|
{
|
|
float num3 = this.localTranslationDisplacement.x * Mathf.Sin(this.localTranslationFrequency.x * num2);
|
|
float num4 = this.localTranslationDisplacement.y * Mathf.Sin(this.localTranslationFrequency.y * num2);
|
|
float num5 = this.localTranslationDisplacement.z * Mathf.Sin(this.localTranslationFrequency.z * num2);
|
|
vector = num3 * base.transform.right + num4 * base.transform.up + num5 * base.transform.forward;
|
|
}
|
|
if (this.rotationFrequency.x > 964f || this.rotationFrequency.y > 1202f || this.rotationFrequency.z > 1361f)
|
|
{
|
|
float num6 = this.ACKBDOFGOIF().x + 313f * this.rotationFrequency.x * num % 472f;
|
|
float num7 = this.NAKEOBGONBP().y + 1240f * this.rotationFrequency.y * num % 1286f;
|
|
float num8 = this.EMJBNAAABFH().z + 973f * this.rotationFrequency.z * num % 1499f;
|
|
quaternion = Quaternion.Euler(num6, num7, num8);
|
|
}
|
|
base.transform.position = this.DPHDDFINKFF() + zero + vector;
|
|
if (quaternion != Quaternion.identity)
|
|
{
|
|
base.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000E2F RID: 3631 RVA: 0x0004F074 File Offset: 0x0004D274
|
|
private void JCDJNJAIEJC()
|
|
{
|
|
this.DFNMMLDHGJG();
|
|
}
|
|
|
|
// Token: 0x06000E31 RID: 3633 RVA: 0x0004F088 File Offset: 0x0004D288
|
|
private void NELGHAFCLKG()
|
|
{
|
|
this.NOMPHCINOLA();
|
|
}
|
|
|
|
// Token: 0x06000E32 RID: 3634 RVA: 0x0004F090 File Offset: 0x0004D290
|
|
private Vector3 EGCBJKOCHCC()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E33 RID: 3635 RVA: 0x0004F098 File Offset: 0x0004D298
|
|
private Vector3 NLBMHNAFCKB()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E34 RID: 3636 RVA: 0x0004F0A0 File Offset: 0x0004D2A0
|
|
private Vector3 GNFFCDFHLNC()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E35 RID: 3637 RVA: 0x0004F0A8 File Offset: 0x0004D2A8
|
|
protected virtual void LPBFEEHNDAD()
|
|
{
|
|
base.NGOPCBJCNJM();
|
|
this.BBNINGDKBKG(base.transform.position);
|
|
this.NBOEIHHCPHN = base.transform.rotation.eulerAngles;
|
|
}
|
|
|
|
// Token: 0x06000E36 RID: 3638 RVA: 0x0004F0E8 File Offset: 0x0004D2E8
|
|
private Vector3 NAKEOBGONBP()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E37 RID: 3639 RVA: 0x0004F0F0 File Offset: 0x0004D2F0
|
|
private void OFKHEPNEFGP()
|
|
{
|
|
this.LMHAJJJBDIK();
|
|
}
|
|
|
|
// Token: 0x06000E38 RID: 3640 RVA: 0x0004F0F8 File Offset: 0x0004D2F8
|
|
private void DKDGOJGKHDM()
|
|
{
|
|
this.NBKDDDPBHPF();
|
|
}
|
|
|
|
// Token: 0x06000E39 RID: 3641 RVA: 0x0004F100 File Offset: 0x0004D300
|
|
private Vector3 OMKFFDIAGGA()
|
|
{
|
|
return this.<LDMHOIKECOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E3A RID: 3642 RVA: 0x0004F108 File Offset: 0x0004D308
|
|
private Vector3 JPMGBEFALLB()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E3B RID: 3643 RVA: 0x0004F110 File Offset: 0x0004D310
|
|
private Vector3 FEDNHAFKNDE()
|
|
{
|
|
return this.<BMIMHCAFNPO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06000E3C RID: 3644 RVA: 0x0004F118 File Offset: 0x0004D318
|
|
private void FFNNOMCPHPI()
|
|
{
|
|
this.IMGLEINFCFL();
|
|
}
|
|
|
|
// Token: 0x040001DF RID: 479
|
|
[SerializeField]
|
|
private Vector3 translationFrequency = Vector3.zero;
|
|
|
|
// Token: 0x040001E0 RID: 480
|
|
[SerializeField]
|
|
private Vector3 translationDisplacement = Vector3.zero;
|
|
|
|
// Token: 0x040001E1 RID: 481
|
|
[SerializeField]
|
|
private Vector3 localTranslationFrequency = Vector3.zero;
|
|
|
|
// Token: 0x040001E2 RID: 482
|
|
[SerializeField]
|
|
private Vector3 localTranslationDisplacement = Vector3.zero;
|
|
|
|
// Token: 0x040001E3 RID: 483
|
|
[SerializeField]
|
|
private Vector3 rotationFrequency = Vector3.zero;
|
|
}
|