1036 lines
28 KiB
C#
1036 lines
28 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools
|
|
{
|
|
// Token: 0x02000F4C RID: 3916
|
|
public class MoveableProp : MonoBehaviour
|
|
{
|
|
// Token: 0x06020938 RID: 133432 RVA: 0x008D9A58 File Offset: 0x008D7C58
|
|
private void GPGKFFGPEPJ(Tool COMHEONOMBA)
|
|
{
|
|
this.GMPAJACJCLE(true);
|
|
}
|
|
|
|
// Token: 0x06020939 RID: 133433 RVA: 0x008D9A64 File Offset: 0x008D7C64
|
|
private void DOMHFCPJPPH()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.FNIILDPLBHN;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.CEHHANEJHEA;
|
|
this.OIONPOPDCFA();
|
|
}
|
|
|
|
// Token: 0x0602093A RID: 133434 RVA: 0x008D9A9C File Offset: 0x008D7C9C
|
|
private void OLEBPMMFNIF()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = false;
|
|
this.tool.KinematicOnSleep = false;
|
|
this.tool.IgnorePickupDirection = false;
|
|
}
|
|
|
|
// Token: 0x0602093B RID: 133435 RVA: 0x008D9AC4 File Offset: 0x008D7CC4
|
|
private void BPPPOFBEPKI(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 1; i < array3.Length; i += 0)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 0; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602093C RID: 133436 RVA: 0x008D9B60 File Offset: 0x008D7D60
|
|
private void BKHPHJMIDFO()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = false;
|
|
}
|
|
|
|
// Token: 0x0602093D RID: 133437 RVA: 0x008D9B88 File Offset: 0x008D7D88
|
|
private void GBPKBEAHENL()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.GMPAJACJCLE(isKinematic && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602093E RID: 133438 RVA: 0x008D9BE4 File Offset: 0x008D7DE4
|
|
private void IFLAEDILIBJ()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.IIMLFDBJNCE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.GBPKBEAHENL;
|
|
this.IJNLLCELPDG();
|
|
}
|
|
|
|
// Token: 0x0602093F RID: 133439 RVA: 0x008D9C1C File Offset: 0x008D7E1C
|
|
private void CCJEOHPPDIJ()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.GMPAJACJCLE(!flag || this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020940 RID: 133440 RVA: 0x008D9C78 File Offset: 0x008D7E78
|
|
private void JGEPNJDKKKI()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.JDJBGDPECPJ;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.OIONPOPDCFA;
|
|
this.ECDLICKAEMG();
|
|
}
|
|
|
|
// Token: 0x06020941 RID: 133441 RVA: 0x008D9CB0 File Offset: 0x008D7EB0
|
|
private void OIONPOPDCFA()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.BHEBPFALFDD(flag && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020942 RID: 133442 RVA: 0x008D9D0C File Offset: 0x008D7F0C
|
|
private void GJGEACMGLKP()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = false;
|
|
}
|
|
|
|
// Token: 0x06020943 RID: 133443 RVA: 0x008D9D34 File Offset: 0x008D7F34
|
|
private void IJNLLCELPDG()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.FDPGGEEPMNM(!isKinematic || !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020944 RID: 133444 RVA: 0x008D9D90 File Offset: 0x008D7F90
|
|
private void Awake()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = true;
|
|
}
|
|
|
|
// Token: 0x06020945 RID: 133445 RVA: 0x008D9DB8 File Offset: 0x008D7FB8
|
|
private void MBKDODKBGEC(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = false;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020946 RID: 133446 RVA: 0x008D9E54 File Offset: 0x008D8054
|
|
private void HHDAOHKANMK()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.ECDLICKAEMG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020947 RID: 133447 RVA: 0x008D9E80 File Offset: 0x008D8080
|
|
private void OKLEKNHJAHB()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.JFMCLCIIECP(flag && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020948 RID: 133448 RVA: 0x008D9EDC File Offset: 0x008D80DC
|
|
private void MNFBAILEAOI(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 1; i < array3.Length; i += 0)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
foreach (Collider collider2 in array2)
|
|
{
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020949 RID: 133449 RVA: 0x008D9F78 File Offset: 0x008D8178
|
|
private void Start()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.JDJBGDPECPJ;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.KJHMGJEFLOA;
|
|
this.KJHMGJEFLOA();
|
|
}
|
|
|
|
// Token: 0x0602094A RID: 133450 RVA: 0x008D9FB0 File Offset: 0x008D81B0
|
|
private void GMPAJACJCLE(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 1; i < array3.Length; i++)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602094B RID: 133451 RVA: 0x008DA04C File Offset: 0x008D824C
|
|
private void EONMIHOPPOJ()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.LEIPDNCHHBE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.EGCBLMLDDED;
|
|
this.MDECBDGAPID();
|
|
}
|
|
|
|
// Token: 0x0602094C RID: 133452 RVA: 0x008DA084 File Offset: 0x008D8284
|
|
private void JJEHDEOKOBB()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.LEIPDNCHHBE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.MDECBDGAPID;
|
|
this.CEHHANEJHEA();
|
|
}
|
|
|
|
// Token: 0x0602094D RID: 133453 RVA: 0x008DA0BC File Offset: 0x008D82BC
|
|
private void GEMPJFEKJKA()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.IFHMECKBBFE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.MJGFCABJCHH;
|
|
this.IOLGHLKELLP();
|
|
}
|
|
|
|
// Token: 0x0602094E RID: 133454 RVA: 0x008DA0F4 File Offset: 0x008D82F4
|
|
private void EGCBLMLDDED()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.EHLOLDBLFPD(flag && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602094F RID: 133455 RVA: 0x008DA150 File Offset: 0x008D8350
|
|
private void ECDLICKAEMG()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.BFOCLBPMAAJ(isKinematic && !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020950 RID: 133456 RVA: 0x008DA1AC File Offset: 0x008D83AC
|
|
private void DOPPODCKLFN(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = true;
|
|
}
|
|
foreach (Collider collider2 in array2)
|
|
{
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020951 RID: 133457 RVA: 0x008DA248 File Offset: 0x008D8448
|
|
private void OHAFLEBDMLL(Tool COMHEONOMBA)
|
|
{
|
|
this.MNFBAILEAOI(true);
|
|
}
|
|
|
|
// Token: 0x06020952 RID: 133458 RVA: 0x008DA254 File Offset: 0x008D8454
|
|
private void EHLOLDBLFPD(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = false;
|
|
}
|
|
foreach (Collider collider2 in array2)
|
|
{
|
|
collider2.enabled = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020953 RID: 133459 RVA: 0x008DA2F0 File Offset: 0x008D84F0
|
|
private void MJGFCABJCHH()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.DOPPODCKLFN(!isKinematic || !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020954 RID: 133460 RVA: 0x008DA34C File Offset: 0x008D854C
|
|
private void FHNCHPMIBJP()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.CCJEOHPPDIJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020955 RID: 133461 RVA: 0x008DA378 File Offset: 0x008D8578
|
|
private void FGPEMEKINCD()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.NFFKEEECLCA;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.CEHHANEJHEA;
|
|
this.CEHHANEJHEA();
|
|
}
|
|
|
|
// Token: 0x06020956 RID: 133462 RVA: 0x008DA3B0 File Offset: 0x008D85B0
|
|
private void MPFILNDGMBF()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.GBPKBEAHENL;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020957 RID: 133463 RVA: 0x008DA3DC File Offset: 0x008D85DC
|
|
private void DBKJHKHIOFI(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j++)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020958 RID: 133464 RVA: 0x008DA478 File Offset: 0x008D8678
|
|
private void JHNGPHJGFCF()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = false;
|
|
this.tool.KinematicOnSleep = false;
|
|
this.tool.IgnorePickupDirection = true;
|
|
}
|
|
|
|
// Token: 0x06020959 RID: 133465 RVA: 0x008DA4A0 File Offset: 0x008D86A0
|
|
private void PMLEDKFHAEJ()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.KJHMGJEFLOA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602095A RID: 133466 RVA: 0x008DA4CC File Offset: 0x008D86CC
|
|
private void MKMAMKDILHL()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.GBPKBEAHENL;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602095B RID: 133467 RVA: 0x008DA4F8 File Offset: 0x008D86F8
|
|
private void FDPGGEEPMNM(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j++)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602095C RID: 133468 RVA: 0x008DA594 File Offset: 0x008D8794
|
|
private void NFFKEEECLCA(Tool COMHEONOMBA)
|
|
{
|
|
this.DBKJHKHIOFI(true);
|
|
}
|
|
|
|
// Token: 0x0602095D RID: 133469 RVA: 0x008DA5A0 File Offset: 0x008D87A0
|
|
private void HALNAHDCABC()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.JPDDGJDFDLE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.IOLGHLKELLP;
|
|
this.LMDPLJIDEBB();
|
|
}
|
|
|
|
// Token: 0x0602095E RID: 133470 RVA: 0x008DA5D8 File Offset: 0x008D87D8
|
|
private void KFDEGLKIJEP(Tool COMHEONOMBA)
|
|
{
|
|
this.BPPPOFBEPKI(false);
|
|
}
|
|
|
|
// Token: 0x0602095F RID: 133471 RVA: 0x008DA5E4 File Offset: 0x008D87E4
|
|
private void PEMILJJNOEP()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = false;
|
|
}
|
|
|
|
// Token: 0x06020960 RID: 133472 RVA: 0x008DA60C File Offset: 0x008D880C
|
|
private void HNCONCKOBKA(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 0; i < array3.Length; i += 0)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 0; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020961 RID: 133473 RVA: 0x008DA6A8 File Offset: 0x008D88A8
|
|
private void CEHHANEJHEA()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.PIDEDAKOOJA(isKinematic && !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020962 RID: 133474 RVA: 0x008DA704 File Offset: 0x008D8904
|
|
private void NBOKPDLLKLO()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = false;
|
|
}
|
|
|
|
// Token: 0x06020963 RID: 133475 RVA: 0x008DA72C File Offset: 0x008D892C
|
|
private void KGNJHHHCLHM()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.BPPPOFBEPKI(!isKinematic || !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020964 RID: 133476 RVA: 0x008DA788 File Offset: 0x008D8988
|
|
private void BHMGAFPHCOC()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.HNCONCKOBKA(!isKinematic || !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020965 RID: 133477 RVA: 0x008DA7E4 File Offset: 0x008D89E4
|
|
private void FNNCEMJECLP()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = false;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = true;
|
|
}
|
|
|
|
// Token: 0x06020966 RID: 133478 RVA: 0x008DA80C File Offset: 0x008D8A0C
|
|
private void JDJBGDPECPJ(Tool COMHEONOMBA)
|
|
{
|
|
this.EHLOLDBLFPD(false);
|
|
}
|
|
|
|
// Token: 0x06020967 RID: 133479 RVA: 0x008DA818 File Offset: 0x008D8A18
|
|
private void OnDestroy()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.KJHMGJEFLOA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020968 RID: 133480 RVA: 0x008DA844 File Offset: 0x008D8A44
|
|
private void JFMCLCIIECP(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 1; i < array3.Length; i++)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j++)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020969 RID: 133481 RVA: 0x008DA8E0 File Offset: 0x008D8AE0
|
|
private void CJAHNDDKCPC()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.KGNJHHHCLHM;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602096A RID: 133482 RVA: 0x008DA90C File Offset: 0x008D8B0C
|
|
private void BHPNCPHANOA(Tool COMHEONOMBA)
|
|
{
|
|
this.PIDEDAKOOJA(true);
|
|
}
|
|
|
|
// Token: 0x0602096B RID: 133483 RVA: 0x008DA918 File Offset: 0x008D8B18
|
|
private void NJCGLHJMAEC()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.JPDDGJDFDLE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.IOLGHLKELLP;
|
|
this.MDECBDGAPID();
|
|
}
|
|
|
|
// Token: 0x0602096C RID: 133484 RVA: 0x008DA950 File Offset: 0x008D8B50
|
|
private void BNDPPMMIPMM()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.PNGAODMPMNB(!flag || !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602096D RID: 133485 RVA: 0x008DA9AC File Offset: 0x008D8BAC
|
|
private void PIIDHBHPLDJ()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.BHEBPFALFDD(isKinematic && !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602096E RID: 133486 RVA: 0x008DAA08 File Offset: 0x008D8C08
|
|
private void PIDEDAKOOJA(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = false;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 0; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602096F RID: 133487 RVA: 0x008DAAA4 File Offset: 0x008D8CA4
|
|
private void FKIJGJJNLOK()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.BHPNCPHANOA;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.PADEPOCAHNJ;
|
|
this.PADEPOCAHNJ();
|
|
}
|
|
|
|
// Token: 0x06020970 RID: 133488 RVA: 0x008DAADC File Offset: 0x008D8CDC
|
|
private void ECAIIOFEADG()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.OHAFLEBDMLL;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.PADEPOCAHNJ;
|
|
this.KJHMGJEFLOA();
|
|
}
|
|
|
|
// Token: 0x06020971 RID: 133489 RVA: 0x008DAB14 File Offset: 0x008D8D14
|
|
private void IDMBDGBOOPL()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.IIMLFDBJNCE;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.IJNLLCELPDG;
|
|
this.CCJEOHPPDIJ();
|
|
}
|
|
|
|
// Token: 0x06020972 RID: 133490 RVA: 0x008DAB4C File Offset: 0x008D8D4C
|
|
private void MDECBDGAPID()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.MNFBAILEAOI(flag && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020973 RID: 133491 RVA: 0x008DABA8 File Offset: 0x008D8DA8
|
|
private void PADEPOCAHNJ()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.CNLIKHJBPHD(flag && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x06020974 RID: 133492 RVA: 0x008DAC04 File Offset: 0x008D8E04
|
|
private void PNGAODMPMNB(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 1; i < array3.Length; i++)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j++)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020975 RID: 133493 RVA: 0x008DACA0 File Offset: 0x008D8EA0
|
|
private void GMFOPJDKOHJ()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.IJNLLCELPDG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020976 RID: 133494 RVA: 0x008DACCC File Offset: 0x008D8ECC
|
|
private void PLHKCNHIOMA()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.CEHHANEJHEA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020977 RID: 133495 RVA: 0x008DACF8 File Offset: 0x008D8EF8
|
|
private void CNLIKHJBPHD(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 1; i < array3.Length; i++)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 1; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020978 RID: 133496 RVA: 0x008DAD94 File Offset: 0x008D8F94
|
|
private void DCHCOKIMPDJ()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.ECDLICKAEMG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602097A RID: 133498 RVA: 0x008DADC8 File Offset: 0x008D8FC8
|
|
private void KJHMGJEFLOA()
|
|
{
|
|
bool isKinematic = this.rigidbodyEx.KEOJKEJMDFM;
|
|
if (isKinematic)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.EHLOLDBLFPD(isKinematic && !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602097B RID: 133499 RVA: 0x008DAE24 File Offset: 0x008D9024
|
|
private void IOLGHLKELLP()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
}
|
|
this.CNLIKHJBPHD(flag && this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602097C RID: 133500 RVA: 0x008DAE80 File Offset: 0x008D9080
|
|
private void MPHOGOELMCO(Tool COMHEONOMBA)
|
|
{
|
|
this.BHEBPFALFDD(true);
|
|
}
|
|
|
|
// Token: 0x0602097D RID: 133501 RVA: 0x008DAE8C File Offset: 0x008D908C
|
|
private void IFHMECKBBFE(Tool COMHEONOMBA)
|
|
{
|
|
this.BPPPOFBEPKI(true);
|
|
}
|
|
|
|
// Token: 0x0602097E RID: 133502 RVA: 0x008DAE98 File Offset: 0x008D9098
|
|
private void MCNEKPDJDFO()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.OHAFLEBDMLL;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.CCJEOHPPDIJ;
|
|
this.KJHMGJEFLOA();
|
|
}
|
|
|
|
// Token: 0x0602097F RID: 133503 RVA: 0x008DAED0 File Offset: 0x008D90D0
|
|
private void OJAIDLPNIEI()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = false;
|
|
this.tool.IgnorePickupDirection = false;
|
|
}
|
|
|
|
// Token: 0x06020980 RID: 133504 RVA: 0x008DAEF8 File Offset: 0x008D90F8
|
|
private void ACNKPEFNLFO()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.GPGKFFGPEPJ;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.BNDPPMMIPMM;
|
|
this.EGCBLMLDDED();
|
|
}
|
|
|
|
// Token: 0x06020981 RID: 133505 RVA: 0x008DAF30 File Offset: 0x008D9130
|
|
private void MELFNMPLBAK()
|
|
{
|
|
this.tool.AlwaysPhysicalPickupOffCenter = true;
|
|
this.tool.KinematicOnSleep = true;
|
|
this.tool.IgnorePickupDirection = true;
|
|
}
|
|
|
|
// Token: 0x06020982 RID: 133506 RVA: 0x008DAF58 File Offset: 0x008D9158
|
|
private void FNIILDPLBHN(Tool COMHEONOMBA)
|
|
{
|
|
this.MBKDODKBGEC(true);
|
|
}
|
|
|
|
// Token: 0x06020983 RID: 133507 RVA: 0x008DAF64 File Offset: 0x008D9164
|
|
private void CHEDOHFELGH()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.CEHHANEJHEA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020984 RID: 133508 RVA: 0x008DAF90 File Offset: 0x008D9190
|
|
private void BHEBPFALFDD(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
Collider[] array3 = array;
|
|
for (int i = 0; i < array3.Length; i += 0)
|
|
{
|
|
Collider collider = array3[i];
|
|
collider.enabled = true;
|
|
}
|
|
Collider[] array4 = array2;
|
|
for (int j = 0; j < array4.Length; j += 0)
|
|
{
|
|
Collider collider2 = array4[j];
|
|
collider2.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020985 RID: 133509 RVA: 0x008DB02C File Offset: 0x008D922C
|
|
private void IIMLFDBJNCE(Tool COMHEONOMBA)
|
|
{
|
|
this.FDPGGEEPMNM(false);
|
|
}
|
|
|
|
// Token: 0x06020986 RID: 133510 RVA: 0x008DB038 File Offset: 0x008D9238
|
|
private void FHNHLAFFFIE()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.PADEPOCAHNJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020987 RID: 133511 RVA: 0x008DB064 File Offset: 0x008D9264
|
|
private void FCCIFKBNJAP(Tool COMHEONOMBA)
|
|
{
|
|
this.BFOCLBPMAAJ(true);
|
|
}
|
|
|
|
// Token: 0x06020988 RID: 133512 RVA: 0x008DB070 File Offset: 0x008D9270
|
|
private void JNCCLNFEHBJ(Tool COMHEONOMBA)
|
|
{
|
|
this.GMPAJACJCLE(false);
|
|
}
|
|
|
|
// Token: 0x06020989 RID: 133513 RVA: 0x008DB07C File Offset: 0x008D927C
|
|
private void BJGJHPBABDB()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.MJGFCABJCHH;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602098A RID: 133514 RVA: 0x008DB0A8 File Offset: 0x008D92A8
|
|
private void BDDGPPFNMGP()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.GPGKFFGPEPJ;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.ECDLICKAEMG;
|
|
this.OKLEKNHJAHB();
|
|
}
|
|
|
|
// Token: 0x0602098B RID: 133515 RVA: 0x008DB0E0 File Offset: 0x008D92E0
|
|
private void JPDDGJDFDLE(Tool COMHEONOMBA)
|
|
{
|
|
this.PIDEDAKOOJA(false);
|
|
}
|
|
|
|
// Token: 0x0602098C RID: 133516 RVA: 0x008DB0EC File Offset: 0x008D92EC
|
|
private void BFOCLBPMAAJ(bool GJCFPEPFIKD)
|
|
{
|
|
if (this.hasDetailedColliders)
|
|
{
|
|
Collider[] array = ((!GJCFPEPFIKD) ? this.detailedColliders : this.defaultColliders);
|
|
Collider[] array2 = ((!GJCFPEPFIKD) ? this.defaultColliders : this.detailedColliders);
|
|
foreach (Collider collider in array)
|
|
{
|
|
collider.enabled = false;
|
|
}
|
|
foreach (Collider collider2 in array2)
|
|
{
|
|
collider2.enabled = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602098D RID: 133517 RVA: 0x008DB188 File Offset: 0x008D9388
|
|
private void LMDPLJIDEBB()
|
|
{
|
|
bool flag = this.rigidbodyEx.NKKCGPDGOOF();
|
|
if (flag)
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
else
|
|
{
|
|
this.tool.GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
}
|
|
this.JFMCLCIIECP(!flag || !this.tool.OHGPCMJMFGC);
|
|
}
|
|
|
|
// Token: 0x0602098E RID: 133518 RVA: 0x008DB1E4 File Offset: 0x008D93E4
|
|
private void LJAJLFPAGBM()
|
|
{
|
|
if (this.rigidbodyEx != null)
|
|
{
|
|
this.rigidbodyEx.ILLDGLCNOBN -= this.MJGFCABJCHH;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602098F RID: 133519 RVA: 0x008DB210 File Offset: 0x008D9410
|
|
private void LEIPDNCHHBE(Tool COMHEONOMBA)
|
|
{
|
|
this.EHLOLDBLFPD(false);
|
|
}
|
|
|
|
// Token: 0x06020990 RID: 133520 RVA: 0x008DB21C File Offset: 0x008D941C
|
|
private void CAMGAFPKAMM()
|
|
{
|
|
this.tool.GFBCCFIMFEC += this.KFDEGLKIJEP;
|
|
this.rigidbodyEx.ILLDGLCNOBN += this.CEHHANEJHEA;
|
|
this.BHMGAFPHCOC();
|
|
}
|
|
|
|
// Token: 0x040054F3 RID: 21747
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
[SerializeField]
|
|
private Tool tool;
|
|
|
|
// Token: 0x040054F4 RID: 21748
|
|
[SerializeField]
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
private RigidbodyEx rigidbodyEx;
|
|
|
|
// Token: 0x040054F5 RID: 21749
|
|
[SerializeField]
|
|
private bool hasDetailedColliders;
|
|
|
|
// Token: 0x040054F6 RID: 21750
|
|
[SerializeField]
|
|
private Collider[] detailedColliders;
|
|
|
|
// Token: 0x040054F7 RID: 21751
|
|
[SerializeField]
|
|
private Collider[] defaultColliders;
|
|
}
|
|
}
|