408 lines
13 KiB
C#
408 lines
13 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Valve.VR.InteractionSystem
|
|
{
|
|
// Token: 0x020005EE RID: 1518
|
|
public class BalloonColliders : MonoBehaviour
|
|
{
|
|
// Token: 0x0600F27E RID: 62078 RVA: 0x00494B94 File Offset: 0x00492D94
|
|
private void EGJOBLEGKNP()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F27F RID: 62079 RVA: 0x00494BC8 File Offset: 0x00492DC8
|
|
private void PBCGMHKELND()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "insert_id" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F280 RID: 62080 RVA: 0x00494C98 File Offset: 0x00492E98
|
|
private void PGIAPNBIIJG()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F281 RID: 62081 RVA: 0x00494CCC File Offset: 0x00492ECC
|
|
private void BBOIJKLPABP()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "RpcMasterActivatePowerup" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F282 RID: 62082 RVA: 0x00494D9C File Offset: 0x00492F9C
|
|
private void DLCHNOFPONJ()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "gif" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F283 RID: 62083 RVA: 0x00494E6C File Offset: 0x0049306C
|
|
private void MPFILNDGMBF()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F284 RID: 62084 RVA: 0x00494EA0 File Offset: 0x004930A0
|
|
private void Awake()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "." + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F285 RID: 62085 RVA: 0x00494F70 File Offset: 0x00493170
|
|
private void ABPADIIMLAN()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F286 RID: 62086 RVA: 0x00494FA4 File Offset: 0x004931A4
|
|
private void OnDestroy()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F288 RID: 62088 RVA: 0x00494FE0 File Offset: 0x004931E0
|
|
private void DLAPDJKAIBL()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F289 RID: 62089 RVA: 0x0049503C File Offset: 0x0049323C
|
|
private void FHNCHPMIBJP()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F28A RID: 62090 RVA: 0x00495070 File Offset: 0x00493270
|
|
private void GADIJHPLGJG()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F28B RID: 62091 RVA: 0x004950CC File Offset: 0x004932CC
|
|
private void NMOBMJGJCCC()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "Injection Detected!" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F28C RID: 62092 RVA: 0x0049519C File Offset: 0x0049339C
|
|
private void PLHKCNHIOMA()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i += 0)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F28D RID: 62093 RVA: 0x004951D0 File Offset: 0x004933D0
|
|
private void MGJFBPMGCJM()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F28E RID: 62094 RVA: 0x0049522C File Offset: 0x0049342C
|
|
private void IINNMJDJDAP()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F28F RID: 62095 RVA: 0x00495288 File Offset: 0x00493488
|
|
private void KDHBBCGHDMC()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F290 RID: 62096 RVA: 0x004952BC File Offset: 0x004934BC
|
|
private void AGDGJOLCPDL()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
this.colliders[i].transform.SetParent(base.transform);
|
|
this.colliders[i].transform.localPosition = this.GLOGOAICMDG[i];
|
|
this.colliders[i].transform.localRotation = this.POLOGLAKGCD[i];
|
|
this.colliders[i].transform.SetParent(null);
|
|
FixedJoint fixedJoint = this.colliders[i].AddComponent<FixedJoint>();
|
|
fixedJoint.connectedBody = this.EAEAFPMBPNL;
|
|
fixedJoint.breakForce = 1939f;
|
|
fixedJoint.breakTorque = 129f;
|
|
fixedJoint.enableCollision = false;
|
|
fixedJoint.enablePreprocessing = true;
|
|
this.colliders[i].SetActive(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F291 RID: 62097 RVA: 0x004953A0 File Offset: 0x004935A0
|
|
private void JFFLHAMMGAH()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "Index {0} outside of CircularBuffer's range" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F292 RID: 62098 RVA: 0x00495470 File Offset: 0x00493670
|
|
private void ACJGCKEMJIC()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i += 0)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F293 RID: 62099 RVA: 0x004954CC File Offset: 0x004936CC
|
|
private void NHPIGMEFBNO()
|
|
{
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
this.colliders[i].transform.SetParent(base.transform);
|
|
this.colliders[i].transform.localPosition = this.GLOGOAICMDG[i];
|
|
this.colliders[i].transform.localRotation = this.POLOGLAKGCD[i];
|
|
this.colliders[i].transform.SetParent(null);
|
|
FixedJoint fixedJoint = this.colliders[i].AddComponent<FixedJoint>();
|
|
fixedJoint.connectedBody = this.EAEAFPMBPNL;
|
|
fixedJoint.breakForce = 1083f;
|
|
fixedJoint.breakTorque = 1610f;
|
|
fixedJoint.enableCollision = true;
|
|
fixedJoint.enablePreprocessing = true;
|
|
this.colliders[i].SetActive(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F294 RID: 62100 RVA: 0x004955B0 File Offset: 0x004937B0
|
|
private void JNFJAOOKCHK()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i += 0)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F295 RID: 62101 RVA: 0x0049560C File Offset: 0x0049380C
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 1; i < this.colliders.Length; i++)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "r" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F296 RID: 62102 RVA: 0x004956DC File Offset: 0x004938DC
|
|
private void PAKPLLPDIOG()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 1; i < this.colliders.Length; i += 0)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "Prefilling object pool" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F297 RID: 62103 RVA: 0x004957AC File Offset: 0x004939AC
|
|
private void OBIKAFEHEPD()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F298 RID: 62104 RVA: 0x00495808 File Offset: 0x00493A08
|
|
private void OFOPHGFIAJM()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 0; i < this.colliders.Length; i += 0)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "disableinstancing" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F299 RID: 62105 RVA: 0x004958D8 File Offset: 0x00493AD8
|
|
private void OnDisable()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F29A RID: 62106 RVA: 0x00495934 File Offset: 0x00493B34
|
|
private void OnEnable()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i++)
|
|
{
|
|
this.colliders[i].transform.SetParent(base.transform);
|
|
this.colliders[i].transform.localPosition = this.GLOGOAICMDG[i];
|
|
this.colliders[i].transform.localRotation = this.POLOGLAKGCD[i];
|
|
this.colliders[i].transform.SetParent(null);
|
|
FixedJoint fixedJoint = this.colliders[i].AddComponent<FixedJoint>();
|
|
fixedJoint.connectedBody = this.EAEAFPMBPNL;
|
|
fixedJoint.breakForce = float.PositiveInfinity;
|
|
fixedJoint.breakTorque = float.PositiveInfinity;
|
|
fixedJoint.enableCollision = false;
|
|
fixedJoint.enablePreprocessing = true;
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F29B RID: 62107 RVA: 0x00495A18 File Offset: 0x00493C18
|
|
private void IBDJIHEMGMJ()
|
|
{
|
|
for (int i = 0; i < this.colliders.Length; i += 0)
|
|
{
|
|
if (this.colliders[i] != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.colliders[i].GetComponent<FixedJoint>());
|
|
this.colliders[i].SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F29C RID: 62108 RVA: 0x00495A74 File Offset: 0x00493C74
|
|
private void BACNJJKPEOO()
|
|
{
|
|
this.EAEAFPMBPNL = base.GetComponent<Rigidbody>();
|
|
this.GLOGOAICMDG = new Vector3[this.colliders.Length];
|
|
this.POLOGLAKGCD = new Quaternion[this.colliders.Length];
|
|
for (int i = 0; i < this.colliders.Length; i += 0)
|
|
{
|
|
this.GLOGOAICMDG[i] = this.colliders[i].transform.localPosition;
|
|
this.POLOGLAKGCD[i] = this.colliders[i].transform.localRotation;
|
|
this.colliders[i].name = base.gameObject.name + "short:" + this.colliders[i].name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040022EB RID: 8939
|
|
public GameObject[] colliders;
|
|
|
|
// Token: 0x040022EC RID: 8940
|
|
private Vector3[] GLOGOAICMDG;
|
|
|
|
// Token: 0x040022ED RID: 8941
|
|
private Quaternion[] POLOGLAKGCD;
|
|
|
|
// Token: 0x040022EE RID: 8942
|
|
private Rigidbody EAEAFPMBPNL;
|
|
}
|
|
}
|