1022 lines
27 KiB
C#
1022 lines
27 KiB
C#
using System;
|
|
using RecRoom.Core.AI;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000125 RID: 293
|
|
public class QuestBoulderTrap : Trap
|
|
{
|
|
// Token: 0x06003D5D RID: 15709 RVA: 0x0013671C File Offset: 0x0013491C
|
|
protected override void DFINBKHMDBK()
|
|
{
|
|
base.DFINBKHMDBK();
|
|
if (base.NIINOABKAPJ)
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.MOFOLAMFOIF();
|
|
}
|
|
else
|
|
{
|
|
this.AGCCPODFPCC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D5E RID: 15710 RVA: 0x00136758 File Offset: 0x00134958
|
|
private void ACLANAMHNFA()
|
|
{
|
|
this.OHDIAEKGKAN();
|
|
this.HIBDCONEMHA = AudioManager.StartLooping3DSFX(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D5F RID: 15711 RVA: 0x00136778 File Offset: 0x00134978
|
|
protected virtual void JPCCNHKIJDN()
|
|
{
|
|
base.FMFOFJCCCMJ();
|
|
if (base.CCGPHDLBCFI())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.DIGNJNFPIDF();
|
|
}
|
|
else
|
|
{
|
|
this.OHDIAEKGKAN();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D60 RID: 15712 RVA: 0x001367B4 File Offset: 0x001349B4
|
|
private void MIOGJFJJIGH()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.IGOFELJMFOF;
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.PDJMHMHFKIA(this.HKIBHMCDPCC);
|
|
this.CIPFHNGEMEF = false;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D61 RID: 15713 RVA: 0x00136864 File Offset: 0x00134A64
|
|
private void DKDGOJGKHDM()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.PPACPENBHKF().magnitude;
|
|
this.HIBDCONEMHA.AMAFHCLALMM.volume = Mathf.Clamp01(Mathf.Lerp(940f, 1825f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D62 RID: 15714 RVA: 0x001368C4 File Offset: 0x00134AC4
|
|
private void FKPJMANBHBO()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.PPACPENBHKF().magnitude;
|
|
this.HIBDCONEMHA.CHIMFHPLEPJ().volume = Mathf.Clamp01(Mathf.Lerp(1599f, 396f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D63 RID: 15715 RVA: 0x00136924 File Offset: 0x00134B24
|
|
private void LKPNNLKDCOB()
|
|
{
|
|
this.EMKAFAMMKKB();
|
|
this.HIBDCONEMHA = AudioManager.PPJJBBJJIEK(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D64 RID: 15716 RVA: 0x00136944 File Offset: 0x00134B44
|
|
private void OnCollisionEnter(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.ANCHBLJANCO,
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[0].point,
|
|
ANLPOIMKHLH = 0f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[0].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.NHDDPGADJPJ && !base.BHCCHBHNHCG)
|
|
{
|
|
base.OMNGGJICBBI.TransferOwnership(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.KOKMABPGILD(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (player.NHDDPGADJPJ && !base.BHCCHBHNHCG)
|
|
{
|
|
base.OMNGGJICBBI.TransferOwnership(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
base.AAOGICJJNLG(enemy, mhebdodjgoa, FLDPCEKNKCA.MELEE, iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D65 RID: 15717 RVA: 0x00136ABC File Offset: 0x00134CBC
|
|
private void Update()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.IGOFELJMFOF.magnitude;
|
|
this.HIBDCONEMHA.AMAFHCLALMM.volume = Mathf.Clamp01(Mathf.Lerp(0f, 1f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D66 RID: 15718 RVA: 0x00136B1C File Offset: 0x00134D1C
|
|
private void NKKKHBAGEJH()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.IGOFELJMFOF.magnitude;
|
|
this.HIBDCONEMHA.HHHDKFMKGPB().volume = Mathf.Clamp01(Mathf.Lerp(1568f, 575f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D67 RID: 15719 RVA: 0x00136B7C File Offset: 0x00134D7C
|
|
private void MOFOLAMFOIF()
|
|
{
|
|
this.AGCCPODFPCC();
|
|
this.HIBDCONEMHA = AudioManager.StartLooping3DSFX(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D68 RID: 15720 RVA: 0x00136B9C File Offset: 0x00134D9C
|
|
protected virtual void PFAKNGKOPKP()
|
|
{
|
|
base.FMFOFJCCCMJ();
|
|
if (base.NIINOABKAPJ)
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.CPEBMPHNAEA();
|
|
}
|
|
else
|
|
{
|
|
this.OHDIAEKGKAN();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D69 RID: 15721 RVA: 0x00136BD8 File Offset: 0x00134DD8
|
|
private void PDJOLBEEGGG()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.IGOFELJMFOF;
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.BKADEFKCPMC(this.HKIBHMCDPCC);
|
|
this.CIPFHNGEMEF = false;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D6A RID: 15722 RVA: 0x00136C88 File Offset: 0x00134E88
|
|
private void MJHOIAFKDOO()
|
|
{
|
|
this.OHDIAEKGKAN();
|
|
this.HIBDCONEMHA = AudioManager.PPJJBBJJIEK(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D6B RID: 15723 RVA: 0x00136CA8 File Offset: 0x00134EA8
|
|
private void IDMPAHACHFP(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.BLAHONLJLFK(),
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[0].point,
|
|
ANLPOIMKHLH = 1732f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[0].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.HLLKMNAFJOP() && !base.JNOCCMDBMIO())
|
|
{
|
|
base.OMNGGJICBBI.GLMELMJKGKP(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.PIKJNIEMKNF(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (player.NMDPPKDGAJN() && !base.DFJFKOLLEMK())
|
|
{
|
|
base.JNFDHNMMHGN().NNOFBLMFKAH(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
base.AAOGICJJNLG(enemy, mhebdodjgoa, (FLDPCEKNKCA)194, iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D6C RID: 15724 RVA: 0x00136E20 File Offset: 0x00135020
|
|
private void AGCCPODFPCC()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
this.HIBDCONEMHA.Stop();
|
|
this.HIBDCONEMHA = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D6D RID: 15725 RVA: 0x00136E48 File Offset: 0x00135048
|
|
private void CPEBMPHNAEA()
|
|
{
|
|
this.NNFLDJGCBDC();
|
|
this.HIBDCONEMHA = AudioManager.PPJJBBJJIEK(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D6E RID: 15726 RVA: 0x00136E68 File Offset: 0x00135068
|
|
private void PALPHLDFBEK()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.PPACPENBHKF();
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.CCHAEPGJJLI = this.HKIBHMCDPCC;
|
|
this.CIPFHNGEMEF = false;
|
|
}
|
|
if (this.GGPILMKBGGN.PPACPENBHKF().sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D6F RID: 15727 RVA: 0x00136F18 File Offset: 0x00135118
|
|
private void CHFJPGNBKPI(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.BLAHONLJLFK(),
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[0].point,
|
|
ANLPOIMKHLH = 1399f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[0].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.NMDPPKDGAJN() && !base.DFJFKOLLEMK())
|
|
{
|
|
base.JNFDHNMMHGN().NNOFBLMFKAH(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.PIKJNIEMKNF(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (player.CFPNNAADNJF() && !base.BHCCHBHNHCG)
|
|
{
|
|
base.BIPEBCPEPKL().EJBOGPNBGHI(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
base.PAPHDLFDNMO(enemy, mhebdodjgoa, (FLDPCEKNKCA)36, iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D70 RID: 15728 RVA: 0x00137090 File Offset: 0x00135290
|
|
protected virtual void LFAMGPLHMPF()
|
|
{
|
|
base.DFINBKHMDBK();
|
|
if (base.CCGPHDLBCFI())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.CPEBMPHNAEA();
|
|
}
|
|
else
|
|
{
|
|
this.EMKAFAMMKKB();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D71 RID: 15729 RVA: 0x001370CC File Offset: 0x001352CC
|
|
private void MHDFIOMCCMO()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.PPACPENBHKF().magnitude;
|
|
this.HIBDCONEMHA.HHHDKFMKGPB().volume = Mathf.Clamp01(Mathf.Lerp(953f, 1095f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D72 RID: 15730 RVA: 0x0013712C File Offset: 0x0013532C
|
|
private void JKMNBLDOIMB()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.IGOFELJMFOF.magnitude;
|
|
this.HIBDCONEMHA.JEPNBEMEHEI().volume = Mathf.Clamp01(Mathf.Lerp(1500f, 128f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D73 RID: 15731 RVA: 0x0013718C File Offset: 0x0013538C
|
|
private void IGDMCDLELON()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.PPACPENBHKF().magnitude;
|
|
this.HIBDCONEMHA.EBLGGMNKOKM().volume = Mathf.Clamp01(Mathf.Lerp(1607f, 1998f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D74 RID: 15732 RVA: 0x001371EC File Offset: 0x001353EC
|
|
private void ENDPNJGABOF(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.BLAHONLJLFK(),
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[1].point,
|
|
ANLPOIMKHLH = 1891f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[1].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.OBFPLPPCJLL() && !base.DFJFKOLLEMK())
|
|
{
|
|
base.LJILHDMCKME().GLMELMJKGKP(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.KOKMABPGILD(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (player.GJLCBGPGIGN() && !base.JNOCCMDBMIO())
|
|
{
|
|
base.CEGDLFAENEJ().GLMELMJKGKP(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
base.PAPHDLFDNMO(enemy, mhebdodjgoa, (FLDPCEKNKCA)(-180), iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D75 RID: 15733 RVA: 0x00137364 File Offset: 0x00135564
|
|
private void BDLKJAKHJOE()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.PPACPENBHKF();
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.BKADEFKCPMC(this.HKIBHMCDPCC);
|
|
this.CIPFHNGEMEF = true;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D76 RID: 15734 RVA: 0x00137414 File Offset: 0x00135614
|
|
private void DEDOCLJKHND()
|
|
{
|
|
this.NNFLDJGCBDC();
|
|
this.HIBDCONEMHA = AudioManager.StartLooping3DSFX(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D77 RID: 15735 RVA: 0x00137434 File Offset: 0x00135634
|
|
private void CDMLFNKDCJG(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.BLAHONLJLFK(),
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[0].point,
|
|
ANLPOIMKHLH = 80f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[1].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.HKDNGBPNDDD() && !base.DFJFKOLLEMK())
|
|
{
|
|
base.CEGDLFAENEJ().KBHKLBNAMID(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.EFNEKIJBGGA(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (player.BGOFBKHOLHF() && !base.DGLKKANNBPD())
|
|
{
|
|
base.CJKKPMHAMCN().GLMELMJKGKP(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
base.PAPHDLFDNMO(enemy, mhebdodjgoa, (FLDPCEKNKCA)147, iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D78 RID: 15736 RVA: 0x001375AC File Offset: 0x001357AC
|
|
private void OHDIAEKGKAN()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
this.HIBDCONEMHA.HEMGFGLOMNK();
|
|
this.HIBDCONEMHA = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D79 RID: 15737 RVA: 0x001375D4 File Offset: 0x001357D4
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.IGOFELJMFOF.magnitude;
|
|
this.HIBDCONEMHA.BOKACEJLIFN().volume = Mathf.Clamp01(Mathf.Lerp(1527f, 841f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D7A RID: 15738 RVA: 0x00137634 File Offset: 0x00135834
|
|
private void NEIGGJNPAHE()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.PPACPENBHKF();
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.CCHAEPGJJLI = this.HKIBHMCDPCC;
|
|
this.CIPFHNGEMEF = true;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D7B RID: 15739 RVA: 0x001376E4 File Offset: 0x001358E4
|
|
private void AHKGJAPMDJA(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.ANCHBLJANCO,
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[1].point,
|
|
ANLPOIMKHLH = 1138f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[0].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.NHDDPGADJPJ && !base.GANDPDNCOKF())
|
|
{
|
|
base.MLNMONBHHBO().NNOFBLMFKAH(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.EFNEKIJBGGA(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (player.OBFPLPPCJLL() && !base.DGLKKANNBPD())
|
|
{
|
|
base.CEGDLFAENEJ().KBHKLBNAMID(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
base.AAOGICJJNLG(enemy, mhebdodjgoa, (FLDPCEKNKCA)(-10), iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D7C RID: 15740 RVA: 0x0013785C File Offset: 0x00135A5C
|
|
private void NALJBDAAOHL()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.IGOFELJMFOF;
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.CCHAEPGJJLI = this.HKIBHMCDPCC;
|
|
this.CIPFHNGEMEF = false;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.PPACPENBHKF(), this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D7D RID: 15741 RVA: 0x0013790C File Offset: 0x00135B0C
|
|
protected virtual void IOBLMIJMLOL()
|
|
{
|
|
base.ABMIODDOGNJ();
|
|
if (base.GKKENHCDFLN())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.JCBLHLHOHBG();
|
|
}
|
|
else
|
|
{
|
|
this.EMKAFAMMKKB();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D7E RID: 15742 RVA: 0x00137948 File Offset: 0x00135B48
|
|
protected virtual void PDMMDFAJFKP()
|
|
{
|
|
base.ABMIODDOGNJ();
|
|
if (base.GKKENHCDFLN())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.LKPNNLKDCOB();
|
|
}
|
|
else
|
|
{
|
|
this.OHDIAEKGKAN();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D7F RID: 15743 RVA: 0x00137984 File Offset: 0x00135B84
|
|
protected virtual void DIKOLHNDNBP()
|
|
{
|
|
base.FMFOFJCCCMJ();
|
|
if (base.DFJJBNAGNNM())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.MOFOLAMFOIF();
|
|
}
|
|
else
|
|
{
|
|
this.AGCCPODFPCC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D80 RID: 15744 RVA: 0x001379C0 File Offset: 0x00135BC0
|
|
private void NNFLDJGCBDC()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
this.HIBDCONEMHA.HEMGFGLOMNK();
|
|
this.HIBDCONEMHA = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D81 RID: 15745 RVA: 0x001379E8 File Offset: 0x00135BE8
|
|
protected virtual void OFPJHAFNDDD()
|
|
{
|
|
base.DFINBKHMDBK();
|
|
if (base.GKKENHCDFLN())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.JCBLHLHOHBG();
|
|
}
|
|
else
|
|
{
|
|
this.ALHOGIFDPBC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D82 RID: 15746 RVA: 0x00137A24 File Offset: 0x00135C24
|
|
private void DNIIOPFOBEF()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.IGOFELJMFOF;
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.CCHAEPGJJLI = this.HKIBHMCDPCC;
|
|
this.CIPFHNGEMEF = true;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.PPACPENBHKF(), this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D83 RID: 15747 RVA: 0x00137AD4 File Offset: 0x00135CD4
|
|
private void JCBLHLHOHBG()
|
|
{
|
|
this.NNFLDJGCBDC();
|
|
this.HIBDCONEMHA = AudioManager.StartLooping3DSFX(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D84 RID: 15748 RVA: 0x00137AF4 File Offset: 0x00135CF4
|
|
private void PCFBOIBBKKA()
|
|
{
|
|
this.OHDIAEKGKAN();
|
|
this.HIBDCONEMHA = AudioManager.PPJJBBJJIEK(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D85 RID: 15749 RVA: 0x00137B14 File Offset: 0x00135D14
|
|
private void EMKAFAMMKKB()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
this.HIBDCONEMHA.Stop();
|
|
this.HIBDCONEMHA = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D86 RID: 15750 RVA: 0x00137B3C File Offset: 0x00135D3C
|
|
private void HBOIBKDMGAH(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.BLAHONLJLFK(),
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[1].point,
|
|
ANLPOIMKHLH = 94f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[1].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.BGOFBKHOLHF() && !base.BHCCHBHNHCG)
|
|
{
|
|
base.OMNGGJICBBI.KBHKLBNAMID(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.EFNEKIJBGGA(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (player.KKDEBGNKDMG() && !base.DGLOKLCEMLH())
|
|
{
|
|
base.MLNMONBHHBO().NNOFBLMFKAH(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
base.AAOGICJJNLG(enemy, mhebdodjgoa, (FLDPCEKNKCA)(-78), iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D87 RID: 15751 RVA: 0x00137CB4 File Offset: 0x00135EB4
|
|
private void IKFCLMNDGPF()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.PPACPENBHKF().magnitude;
|
|
this.HIBDCONEMHA.CHIMFHPLEPJ().volume = Mathf.Clamp01(Mathf.Lerp(876f, 720f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D88 RID: 15752 RVA: 0x00137D14 File Offset: 0x00135F14
|
|
private void JKCHOMPAPOD(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.ANCHBLJANCO,
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[1].point,
|
|
ANLPOIMKHLH = 1880f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[1].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.HEGAPJJIPCA() && !base.JNOCCMDBMIO())
|
|
{
|
|
base.LJILHDMCKME().GLMELMJKGKP(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.EFNEKIJBGGA(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (player.HLLKMNAFJOP() && !base.BHCCHBHNHCG)
|
|
{
|
|
base.ACEAACJNNAF().GLMELMJKGKP(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
base.PAPHDLFDNMO(enemy, mhebdodjgoa, (FLDPCEKNKCA)31, iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D8A RID: 15754 RVA: 0x00137EC0 File Offset: 0x001360C0
|
|
private void HAFLIECFKGF()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.IGOFELJMFOF.magnitude;
|
|
this.HIBDCONEMHA.PMPDFJBFEHC().volume = Mathf.Clamp01(Mathf.Lerp(875f, 1645f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D8B RID: 15755 RVA: 0x00137F20 File Offset: 0x00136120
|
|
protected virtual void KPHIGAHIAGD()
|
|
{
|
|
base.ABMIODDOGNJ();
|
|
if (base.CCGPHDLBCFI())
|
|
{
|
|
this.DKFKBFHLJKE = Vector3.zero;
|
|
this.HKIBHMCDPCC = Vector3.zero;
|
|
this.LKPNNLKDCOB();
|
|
}
|
|
else
|
|
{
|
|
this.ALHOGIFDPBC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D8C RID: 15756 RVA: 0x00137F5C File Offset: 0x0013615C
|
|
private void FixedUpdate()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.IGOFELJMFOF;
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.CCHAEPGJJLI = this.HKIBHMCDPCC;
|
|
this.CIPFHNGEMEF = false;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D8D RID: 15757 RVA: 0x0013800C File Offset: 0x0013620C
|
|
private void NJLJOGNHANP()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
float magnitude = this.GGPILMKBGGN.PPACPENBHKF().magnitude;
|
|
this.HIBDCONEMHA.HHHDKFMKGPB().volume = Mathf.Clamp01(Mathf.Lerp(1170f, 797f, magnitude / this.fullRollingSpeedForAudio));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D8E RID: 15758 RVA: 0x0013806C File Offset: 0x0013626C
|
|
private void ANJNJKMNIOB()
|
|
{
|
|
if (!this.CIPFHNGEMEF)
|
|
{
|
|
this.DKFKBFHLJKE = this.GGPILMKBGGN.PPACPENBHKF();
|
|
this.HKIBHMCDPCC = this.GGPILMKBGGN.CCHAEPGJJLI;
|
|
}
|
|
else
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = this.DKFKBFHLJKE;
|
|
this.GGPILMKBGGN.CCHAEPGJJLI = this.HKIBHMCDPCC;
|
|
this.CIPFHNGEMEF = true;
|
|
}
|
|
if (this.GGPILMKBGGN.IGOFELJMFOF.sqrMagnitude >= this.maxSpeed * this.maxSpeed)
|
|
{
|
|
this.GGPILMKBGGN.IGOFELJMFOF = Vector3.ClampMagnitude(this.GGPILMKBGGN.IGOFELJMFOF, this.maxSpeed);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D8F RID: 15759 RVA: 0x0013811C File Offset: 0x0013631C
|
|
private void IDFLEOKNEJM()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
this.HIBDCONEMHA.HEMGFGLOMNK();
|
|
this.HIBDCONEMHA = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D90 RID: 15760 RVA: 0x00138144 File Offset: 0x00136344
|
|
private void DIGNJNFPIDF()
|
|
{
|
|
this.NNFLDJGCBDC();
|
|
this.HIBDCONEMHA = AudioManager.PPJJBBJJIEK(this.rollingAudioClip, base.transform, null);
|
|
}
|
|
|
|
// Token: 0x06003D91 RID: 15761 RVA: 0x00138164 File Offset: 0x00136364
|
|
private void ALHOGIFDPBC()
|
|
{
|
|
if (this.HIBDCONEMHA != null)
|
|
{
|
|
this.HIBDCONEMHA.HEMGFGLOMNK();
|
|
this.HIBDCONEMHA = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003D92 RID: 15762 RVA: 0x0013818C File Offset: 0x0013638C
|
|
private void MIHMNLABILJ(Collision PDCJEBJGFNF)
|
|
{
|
|
if (PDCJEBJGFNF.contacts.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
IHEAKAOGCIF iheakaogcif = new IHEAKAOGCIF
|
|
{
|
|
JIIJIFKCMFK = this.DKFKBFHLJKE,
|
|
PMEFMHLCPMF = this.DKFKBFHLJKE / Time.fixedDeltaTime * this.GGPILMKBGGN.ANCHBLJANCO,
|
|
LLKJDBBNPKB = PDCJEBJGFNF.contacts[1].point,
|
|
ANLPOIMKHLH = 1330f,
|
|
EPIJGDAJDJN = PDCJEBJGFNF.contacts[1].normal,
|
|
JFCOFBFGGFL = PDCJEBJGFNF.gameObject
|
|
};
|
|
Tool tool = PDCJEBJGFNF.OBFMDIEKHAN();
|
|
if (tool != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
if (tool.OHGPCMJMFGC && tool.FICBNMJECCH.KKDEBGNKDMG() && !base.DFJFKOLLEMK())
|
|
{
|
|
base.MLNMONBHHBO().EJBOGPNBGHI(tool.FICBNMJECCH.LNJFBGIBLHA);
|
|
}
|
|
base.EFNEKIJBGGA(tool, iheakaogcif);
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = PDCJEBJGFNF.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null)
|
|
{
|
|
this.CIPFHNGEMEF = false;
|
|
if (player.BGOFBKHOLHF() && !base.GANDPDNCOKF())
|
|
{
|
|
base.BIPEBCPEPKL().TransferOwnership(player.LNJFBGIBLHA);
|
|
}
|
|
return;
|
|
}
|
|
MHEBDODJGOA mhebdodjgoa;
|
|
Enemy enemy = PDCJEBJGFNF.AICMDAMIEBP(out mhebdodjgoa);
|
|
if (enemy != null)
|
|
{
|
|
this.CIPFHNGEMEF = true;
|
|
base.PAPHDLFDNMO(enemy, mhebdodjgoa, (FLDPCEKNKCA)87, iheakaogcif);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000797 RID: 1943
|
|
[SerializeField]
|
|
[Header("Boulder")]
|
|
private float maxSpeed = 15f;
|
|
|
|
// Token: 0x04000798 RID: 1944
|
|
[SerializeField]
|
|
private float fullRollingSpeedForAudio = 1f;
|
|
|
|
// Token: 0x04000799 RID: 1945
|
|
[SerializeField]
|
|
private RecRoomAudioClip rollingAudioClip;
|
|
|
|
// Token: 0x0400079A RID: 1946
|
|
private bool CIPFHNGEMEF;
|
|
|
|
// Token: 0x0400079B RID: 1947
|
|
private Vector3 DKFKBFHLJKE = Vector3.zero;
|
|
|
|
// Token: 0x0400079C RID: 1948
|
|
private Vector3 HKIBHMCDPCC = Vector3.zero;
|
|
|
|
// Token: 0x0400079D RID: 1949
|
|
private SFXAudioSource HIBDCONEMHA;
|
|
}
|