scripts
This commit is contained in:
@@ -0,0 +1,1342 @@
|
||||
using System;
|
||||
using RecRoom.Core.AI;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Tools.Weapons
|
||||
{
|
||||
// Token: 0x0200014D RID: 333
|
||||
public class Hookshot : CrossbowSimple
|
||||
{
|
||||
// Token: 0x060045C1 RID: 17857 RVA: 0x00160D6C File Offset: 0x0015EF6C
|
||||
private Vector3 FDJNMOCNCIH()
|
||||
{
|
||||
if (this.NNFHEDCGEEO())
|
||||
{
|
||||
return this.JPFBPFBHJGK.transform.TransformPoint(this.PGIMBCPGILA);
|
||||
}
|
||||
return Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x060045C2 RID: 17858 RVA: 0x00160D98 File Offset: 0x0015EF98
|
||||
private void DENFNMLFCGJ()
|
||||
{
|
||||
Hookshot.PEBJOBFCCGM pebjobfccgm = this.HPCKCOBKJLK;
|
||||
if (pebjobfccgm != Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
if (pebjobfccgm == Hookshot.PEBJOBFCCGM.Reeling)
|
||||
{
|
||||
this.GPGJLKKDJDO.ResetArrowParams();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ReloadAmmunition();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045C3 RID: 17859 RVA: 0x00160DDC File Offset: 0x0015EFDC
|
||||
private void PCIOLJKKCDE()
|
||||
{
|
||||
if (this.MAIJJIAEFIJ() && this.CKKJINOBHBC != null && this.CKKJINOBHBC.HCJJAIPEBJD() == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.MMFJEJDBHLL;
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Impulse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045C4 RID: 17860 RVA: 0x00160E78 File Offset: 0x0015F078
|
||||
private void LOCPFAOEPMG(RigidbodyEx IJFBNEGJIEI)
|
||||
{
|
||||
this.MOKCCCCHAOB = IJFBNEGJIEI;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.IKNNJEPEBLN;
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 0f;
|
||||
}
|
||||
|
||||
// Token: 0x060045C5 RID: 17861 RVA: 0x00160EA4 File Offset: 0x0015F0A4
|
||||
private void LAFIDNLLDIM(Enemy OELGAHAMCLH)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
|
||||
// Token: 0x060045C6 RID: 17862 RVA: 0x00160EAC File Offset: 0x0015F0AC
|
||||
private void KOHOGHNIKGK()
|
||||
{
|
||||
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.HJLLJOGHFJC().DHJNIEEFMGE() && this.NNFHEDCGEEO() && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.HOIHCLJDHJB < 1832f)
|
||||
{
|
||||
this.GCHCHCDBJKJ();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045C7 RID: 17863 RVA: 0x00160F10 File Offset: 0x0015F110
|
||||
protected virtual void IGPFODPCJEP()
|
||||
{
|
||||
base.Awake();
|
||||
this.IHLGIDABOLB = new LHLLJPPCDKA<int>(this, "position", 0, IKCAJLLAFML.MASTER, new Action(this.EKAOFHEIPCB));
|
||||
this.ropeLineRenderer.positionCount = this.ropeSegments;
|
||||
this.GPGJLKKDJDO = this.CPJILHGNNEF(null) as HookshotProjectile;
|
||||
MonoBehaviour.print("Peniril" + this.GPGJLKKDJDO);
|
||||
Enemy.JPGIDJMCEKE += this.PMCAHGNGPCP;
|
||||
this.EKAOFHEIPCB();
|
||||
}
|
||||
|
||||
// Token: 0x060045C8 RID: 17864 RVA: 0x00160F94 File Offset: 0x0015F194
|
||||
protected virtual void MNLFEGCCLLH(Bullet KACMOFHHALK, Enemy OELGAHAMCLH, MHEBDODJGOA BLKHNALGIKL, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.CHAOIOAAHON(KACMOFHHALK, OELGAHAMCLH, BLKHNALGIKL, CACIBBKDNIH);
|
||||
if (!this.NNFHEDCGEEO())
|
||||
{
|
||||
this.JCMLPJCLAAP(OELGAHAMCLH.gameObject, CACIBBKDNIH);
|
||||
this.BLHACJBLBKH(OELGAHAMCLH.BOLBONELAEF);
|
||||
this.PHMKPFHKEFE = OELGAHAMCLH;
|
||||
this.CKKJINOBHBC = OELGAHAMCLH.LJILHDMCKME();
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD += this.MEHNICEBPDB;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM += this.LLPPLDAEBCF;
|
||||
this.MOKCCCCHAOB = OELGAHAMCLH.BOLBONELAEF;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.IKNNJEPEBLN;
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 948f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045C9 RID: 17865 RVA: 0x00161040 File Offset: 0x0015F240
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
this.IBOCOLPLKMK();
|
||||
this.LMNJPNNBIFN();
|
||||
this.CMLJHNMBJLL();
|
||||
}
|
||||
|
||||
// Token: 0x060045CA RID: 17866 RVA: 0x0016105C File Offset: 0x0015F25C
|
||||
protected virtual void KEMHICMCHDC()
|
||||
{
|
||||
base.FixedUpdate();
|
||||
this.EBOMELPNEKL();
|
||||
this.JLDJGOHJNEC();
|
||||
}
|
||||
|
||||
// Token: 0x060045CB RID: 17867 RVA: 0x00161070 File Offset: 0x0015F270
|
||||
private void DJDALNGGAIO()
|
||||
{
|
||||
if (this.PBKAIOPJEPI && this.CKKJINOBHBC != null && this.CKKJINOBHBC.DIBOHBMMDIL() == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.MMFJEJDBHLL;
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Impulse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045CC RID: 17868 RVA: 0x0016110C File Offset: 0x0015F30C
|
||||
protected virtual void FNGEOHPHIOM(Bullet KACMOFHHALK, Tool EEPPNAIKGEO, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.HGLGNKLKBKO(KACMOFHHALK, EEPPNAIKGEO, CACIBBKDNIH);
|
||||
if (!this.IMJNLEKHCEK())
|
||||
{
|
||||
this.MPLLNIGHDKJ(EEPPNAIKGEO.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(EEPPNAIKGEO.BOLBONELAEF);
|
||||
this.DEIIIODJBPM = EEPPNAIKGEO;
|
||||
this.CKKJINOBHBC = EEPPNAIKGEO.OMNGGJICBBI;
|
||||
this.DEIIIODJBPM.GFBCCFIMFEC += this.DFPEPHHPDLE;
|
||||
ToolCleanup componentInChildren = this.DEIIIODJBPM.GetComponentInChildren<ToolCleanup>();
|
||||
if (componentInChildren != null && SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
||||
{
|
||||
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DOEFBDDOMOP(this.DEIIIODJBPM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000137 RID: 311
|
||||
// (get) Token: 0x060045CD RID: 17869 RVA: 0x001611A4 File Offset: 0x0015F3A4
|
||||
private Vector3 MMFJEJDBHLL
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.KJJLACDMEOP)
|
||||
{
|
||||
return this.JPFBPFBHJGK.transform.TransformPoint(this.PGIMBCPGILA);
|
||||
}
|
||||
return Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045CE RID: 17870 RVA: 0x001611D0 File Offset: 0x0015F3D0
|
||||
private void CDMCJMBAKKN()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = this.boltFinalNockingTransform.position;
|
||||
this.GPGJLKKDJDO.transform.rotation = this.boltFinalNockingTransform.rotation;
|
||||
}
|
||||
else if (this.EBMHMCJGGJA() == Hookshot.PEBJOBFCCGM.Shot)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = Vector3.Lerp(this.barrelTransform.position, this.GBKANIBLKIM, Mathf.Max(809f, this.LBDGHLICKGO));
|
||||
this.LBDGHLICKGO -= Time.deltaTime;
|
||||
if (this.LBDGHLICKGO <= 540f && base.JNOCCMDBMIO())
|
||||
{
|
||||
this.EBDAFDIKEDO(Hookshot.PEBJOBFCCGM.Loaded);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045CF RID: 17871 RVA: 0x0016129C File Offset: 0x0015F49C
|
||||
protected override void FixedUpdate()
|
||||
{
|
||||
base.FixedUpdate();
|
||||
this.FGFJHCNEHOC();
|
||||
this.JLDJGOHJNEC();
|
||||
}
|
||||
|
||||
// Token: 0x060045D0 RID: 17872 RVA: 0x001612B0 File Offset: 0x0015F4B0
|
||||
private void NLBEJJJPFJD()
|
||||
{
|
||||
if (base.BHCCHBHNHCG)
|
||||
{
|
||||
this.LAIDCGNPHHJ(Hookshot.PEBJOBFCCGM.Shot);
|
||||
}
|
||||
this.GBKANIBLKIM = this.GPGJLKKDJDO.transform.position;
|
||||
this.LBDGHLICKGO = (this.barrelTransform.position - this.GBKANIBLKIM).magnitude / this.reelSpeed;
|
||||
object[] array = new object[4];
|
||||
array[1] = "Attempting to deserialize PersistenceView {0} with IsSceneObject {1}, but the serialized data disagrees.";
|
||||
array[1] = (this.barrelTransform.position - this.GBKANIBLKIM).magnitude.ToString("EMP DEFUSED");
|
||||
array[3] = "_TintColor";
|
||||
array[8] = this.LBDGHLICKGO;
|
||||
array[0] = "_N";
|
||||
MonoBehaviour.print(string.Concat(array));
|
||||
this.JPFBPFBHJGK = null;
|
||||
if (this.DEIIIODJBPM != null)
|
||||
{
|
||||
ToolCleanup componentInChildren = this.DEIIIODJBPM.GetComponentInChildren<ToolCleanup>();
|
||||
if (componentInChildren != null && SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
||||
{
|
||||
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.BHPOGAHHBFO(this.DEIIIODJBPM, false);
|
||||
}
|
||||
this.DEIIIODJBPM = null;
|
||||
}
|
||||
if (this.MOKCCCCHAOB != null)
|
||||
{
|
||||
this.MOKCCCCHAOB.PGAMGFKDPMO(this.PJMNFEOBKAF);
|
||||
this.MOKCCCCHAOB = null;
|
||||
}
|
||||
this.PHMKPFHKEFE = null;
|
||||
this.CKKJINOBHBC = null;
|
||||
this.PGIMBCPGILA = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x060045D1 RID: 17873 RVA: 0x0016140C File Offset: 0x0015F60C
|
||||
private void EBDAFDIKEDO(Hookshot.PEBJOBFCCGM NOBAPCOKFIL)
|
||||
{
|
||||
this.IHLGIDABOLB.MEAINJPIECA((int)NOBAPCOKFIL);
|
||||
}
|
||||
|
||||
// Token: 0x060045D2 RID: 17874 RVA: 0x0016141C File Offset: 0x0015F61C
|
||||
private void OONAMAHCIHD()
|
||||
{
|
||||
if (this.PBKAIOPJEPI && this.CKKJINOBHBC != null && this.CKKJINOBHBC.HCJJAIPEBJD() == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.JJHFFFOCCIN();
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Force);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045D3 RID: 17875 RVA: 0x001614B8 File Offset: 0x0015F6B8
|
||||
private void JCMLPJCLAAP(GameObject FGEMJOAAICH, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
if (base.JNOCCMDBMIO())
|
||||
{
|
||||
this.HPCKCOBKJLK = (Hookshot.PEBJOBFCCGM)7;
|
||||
}
|
||||
this.JPFBPFBHJGK = FGEMJOAAICH;
|
||||
this.PGIMBCPGILA = this.JPFBPFBHJGK.transform.InverseTransformPoint(CACIBBKDNIH.LLKJDBBNPKB);
|
||||
this.CFDEMNGMALI = (this.barrelTransform.position - CACIBBKDNIH.LLKJDBBNPKB).sqrMagnitude;
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
}
|
||||
|
||||
// Token: 0x060045D5 RID: 17877 RVA: 0x001615B8 File Offset: 0x0015F7B8
|
||||
private void LMNJPNNBIFN()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = this.boltFinalNockingTransform.position;
|
||||
this.GPGJLKKDJDO.transform.rotation = this.boltFinalNockingTransform.rotation;
|
||||
}
|
||||
else if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Reeling)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = Vector3.Lerp(this.barrelTransform.position, this.GBKANIBLKIM, Mathf.Max(0f, this.LBDGHLICKGO));
|
||||
this.LBDGHLICKGO -= Time.deltaTime;
|
||||
if (this.LBDGHLICKGO <= 0f && base.BHCCHBHNHCG)
|
||||
{
|
||||
this.HPCKCOBKJLK = Hookshot.PEBJOBFCCGM.Loaded;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045D6 RID: 17878 RVA: 0x00161684 File Offset: 0x0015F884
|
||||
private Vector3 LKODACLGIPC()
|
||||
{
|
||||
if (this.NNFHEDCGEEO())
|
||||
{
|
||||
return this.JPFBPFBHJGK.transform.TransformPoint(this.PGIMBCPGILA);
|
||||
}
|
||||
return Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x060045D7 RID: 17879 RVA: 0x001616B0 File Offset: 0x0015F8B0
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
this.IHLGIDABOLB = new LHLLJPPCDKA<int>(this, "HS", 0, IKCAJLLAFML.AUTHORITY, new Action(this.DENFNMLFCGJ));
|
||||
this.ropeLineRenderer.positionCount = this.ropeSegments;
|
||||
this.GPGJLKKDJDO = this.CPJILHGNNEF(null) as HookshotProjectile;
|
||||
MonoBehaviour.print("acquired hook projectile " + this.GPGJLKKDJDO);
|
||||
Enemy.JPGIDJMCEKE += this.INMNIONJGBB;
|
||||
this.DENFNMLFCGJ();
|
||||
}
|
||||
|
||||
// Token: 0x060045D8 RID: 17880 RVA: 0x00161734 File Offset: 0x0015F934
|
||||
protected override void CFNKBNOBDLG(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
|
||||
{
|
||||
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
|
||||
if (!AOBDBDEHCJO && base.DGLOKLCEMLH())
|
||||
{
|
||||
this.EBDAFDIKEDO(Hookshot.PEBJOBFCCGM.Shot);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045D9 RID: 17881 RVA: 0x0016175C File Offset: 0x0015F95C
|
||||
private void NCKMDLHBFEE()
|
||||
{
|
||||
Hookshot.PEBJOBFCCGM pebjobfccgm = this.EBMHMCJGGJA();
|
||||
if (pebjobfccgm != Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
if (pebjobfccgm == Hookshot.PEBJOBFCCGM.Reeling)
|
||||
{
|
||||
this.GPGJLKKDJDO.EIDGPMHMJIL();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ReloadAmmunition();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045DA RID: 17882 RVA: 0x001617A0 File Offset: 0x0015F9A0
|
||||
protected virtual Bullet FOONADLJPGC(Bullet CABHFOCOOCJ = null)
|
||||
{
|
||||
if (this.GPGJLKKDJDO == null)
|
||||
{
|
||||
return base.CPJILHGNNEF(CABHFOCOOCJ);
|
||||
}
|
||||
return this.GPGJLKKDJDO;
|
||||
}
|
||||
|
||||
// Token: 0x17000136 RID: 310
|
||||
// (get) Token: 0x060045DB RID: 17883 RVA: 0x001617C4 File Offset: 0x0015F9C4
|
||||
public bool PBKAIOPJEPI
|
||||
{
|
||||
get
|
||||
{
|
||||
return base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.PLLMPAPABJC.NHDDPGADJPJ && this.KJJLACDMEOP && this.MOKCCCCHAOB != null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045DC RID: 17884 RVA: 0x00161810 File Offset: 0x0015FA10
|
||||
public bool IMJNLEKHCEK()
|
||||
{
|
||||
return this.JPFBPFBHJGK != null;
|
||||
}
|
||||
|
||||
// Token: 0x060045DD RID: 17885 RVA: 0x00161820 File Offset: 0x0015FA20
|
||||
private void AKFMLMGGLHO(Enemy OELGAHAMCLH)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
|
||||
// Token: 0x060045DE RID: 17886 RVA: 0x00161828 File Offset: 0x0015FA28
|
||||
private void GDOEJMFFLKJ()
|
||||
{
|
||||
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.PLLMPAPABJC.DHJNIEEFMGE() && this.IMJNLEKHCEK() && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.HOIHCLJDHJB < 1390f)
|
||||
{
|
||||
this.NLBEJJJPFJD();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045DF RID: 17887 RVA: 0x0016188C File Offset: 0x0015FA8C
|
||||
public bool PBCDFJBGECJ()
|
||||
{
|
||||
return !base.BKDFLNGCINH.OHGPCMJMFGC || !base.BKDFLNGCINH.PLLMPAPABJC.DHJNIEEFMGE() || !this.IMJNLEKHCEK() || this.MOKCCCCHAOB != null;
|
||||
}
|
||||
|
||||
// Token: 0x060045E0 RID: 17888 RVA: 0x001618D8 File Offset: 0x0015FAD8
|
||||
protected virtual void NHLJJOPDMIN()
|
||||
{
|
||||
base.BOFMPPGNKAI();
|
||||
this.IHLGIDABOLB = new LHLLJPPCDKA<int>(this, "JALFNNEFPDC", 1, IKCAJLLAFML.AUTHORITY, new Action(this.COOKBBODONG));
|
||||
this.ropeLineRenderer.positionCount = this.ropeSegments;
|
||||
this.GPGJLKKDJDO = this.CPJILHGNNEF(null) as HookshotProjectile;
|
||||
MonoBehaviour.print("Observed type is not serializable: " + this.GPGJLKKDJDO);
|
||||
Enemy.JPGIDJMCEKE += this.PMCAHGNGPCP;
|
||||
this.EKAOFHEIPCB();
|
||||
}
|
||||
|
||||
// Token: 0x060045E1 RID: 17889 RVA: 0x0016195C File Offset: 0x0015FB5C
|
||||
private void JLDJGOHJNEC()
|
||||
{
|
||||
if (this.PBKAIOPJEPI && this.CKKJINOBHBC != null && this.CKKJINOBHBC.HKLENNJOICH == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.MMFJEJDBHLL;
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Force);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E2 RID: 17890 RVA: 0x001619F8 File Offset: 0x0015FBF8
|
||||
protected virtual void OKNAOJIBGKD(Bullet KACMOFHHALK, Enemy OELGAHAMCLH, MHEBDODJGOA BLKHNALGIKL, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.CHAOIOAAHON(KACMOFHHALK, OELGAHAMCLH, BLKHNALGIKL, CACIBBKDNIH);
|
||||
if (!this.NNFHEDCGEEO())
|
||||
{
|
||||
this.MPLLNIGHDKJ(OELGAHAMCLH.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(OELGAHAMCLH.BOLBONELAEF);
|
||||
this.PHMKPFHKEFE = OELGAHAMCLH;
|
||||
this.CKKJINOBHBC = OELGAHAMCLH.EKPBHKFHMON();
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD += this.MBJGGFFOPBH;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM += this.ICBHJIMPBBN;
|
||||
this.MOKCCCCHAOB = OELGAHAMCLH.BOLBONELAEF;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.OKBAEPLAILA();
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 403f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E3 RID: 17891 RVA: 0x00161AA4 File Offset: 0x0015FCA4
|
||||
private void KDHPLDMBOGF()
|
||||
{
|
||||
if (this.PBCDFJBGECJ() && this.CKKJINOBHBC != null && this.CKKJINOBHBC.HCJJAIPEBJD() == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.MMFJEJDBHLL;
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Impulse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E4 RID: 17892 RVA: 0x00161B40 File Offset: 0x0015FD40
|
||||
private void EBOMELPNEKL()
|
||||
{
|
||||
if (this.MAIJJIAEFIJ() && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.EFEKGINOBLK.sqrMagnitude > this.yankGestureSpeed * this.yankGestureSpeed && Time.time - this.GJOHIEEMOOL > this.yankCooldown && this.CKKJINOBHBC != null)
|
||||
{
|
||||
if (this.CKKJINOBHBC.DIBOHBMMDIL() != IHFKMIAHBFP.JEFGMHBLLKI && (this.DEIIIODJBPM == null || !this.DEIIIODJBPM.OHGPCMJMFGC))
|
||||
{
|
||||
this.CKKJINOBHBC.TransferOwnership(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
if (this.CKKJINOBHBC.MOMLGEKNPGN)
|
||||
{
|
||||
Vector3 vector = Vector3.zero;
|
||||
Vector3 vector2 = this.FDJNMOCNCIH();
|
||||
Vector3 vector3 = this.barrelTransform.position - vector2;
|
||||
Vector3 normalized = base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.EFEKGINOBLK.normalized;
|
||||
float num = Vector3.Dot(vector3.normalized, normalized);
|
||||
MonoBehaviour.print("13" + num.ToString(" is not a valid microphone device"));
|
||||
if (num > 1957f)
|
||||
{
|
||||
float magnitude = Vector3.ProjectOnPlane(vector3, Vector3.up).magnitude;
|
||||
float num2 = Mathf.Max(1325f, magnitude / this.flightSpeed);
|
||||
vector = vector3 / num2 - Physics.gravity * num2 / 1295f;
|
||||
object[] array = new object[] { null, "Found best region: '" };
|
||||
array[0] = magnitude;
|
||||
array[7] = "Player accepted the EULA Screen";
|
||||
array[5] = num2;
|
||||
array[5] = "TestRunner";
|
||||
array[4] = vector.ToString("Name is same!");
|
||||
MonoBehaviour.print(string.Concat(array));
|
||||
}
|
||||
else if (num > 131f)
|
||||
{
|
||||
vector = normalized * this.sidewaysYankSpeed;
|
||||
}
|
||||
if (vector != Vector3.zero)
|
||||
{
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector, vector2, (ForceMode)4);
|
||||
this.GJOHIEEMOOL = Time.time;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000138 RID: 312
|
||||
// (get) Token: 0x060045E5 RID: 17893 RVA: 0x00161D60 File Offset: 0x0015FF60
|
||||
// (set) Token: 0x06004614 RID: 17940 RVA: 0x001631A8 File Offset: 0x001613A8
|
||||
private Hookshot.PEBJOBFCCGM HPCKCOBKJLK
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Hookshot.PEBJOBFCCGM)this.IHLGIDABOLB.CPIBGJLHLBL();
|
||||
}
|
||||
set
|
||||
{
|
||||
this.IHLGIDABOLB.MEAINJPIECA((int)value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E6 RID: 17894 RVA: 0x00161D70 File Offset: 0x0015FF70
|
||||
private void GGKPPJLKKJN()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = this.boltFinalNockingTransform.position;
|
||||
this.GPGJLKKDJDO.transform.rotation = this.boltFinalNockingTransform.rotation;
|
||||
}
|
||||
else if (this.EBMHMCJGGJA() == (Hookshot.PEBJOBFCCGM)5)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = Vector3.Lerp(this.barrelTransform.position, this.GBKANIBLKIM, Mathf.Max(368f, this.LBDGHLICKGO));
|
||||
this.LBDGHLICKGO -= Time.deltaTime;
|
||||
if (this.LBDGHLICKGO <= 622f && base.JNOCCMDBMIO())
|
||||
{
|
||||
this.EBDAFDIKEDO(Hookshot.PEBJOBFCCGM.Shot);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E7 RID: 17895 RVA: 0x00161E3C File Offset: 0x0016003C
|
||||
private void EMKLFHFCJIO()
|
||||
{
|
||||
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.FFNAKFJPBOG().KIIDMBGACOB() && this.IMJNLEKHCEK() && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.HOIHCLJDHJB < 456f)
|
||||
{
|
||||
this.NLBEJJJPFJD();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E8 RID: 17896 RVA: 0x00161EA0 File Offset: 0x001600A0
|
||||
private void INMNIONJGBB(EIDNMNCOAAJ EFCIKBEHKNL, Enemy LLFCJNJMFOP, Vector3 GDOEBLPCPJF)
|
||||
{
|
||||
if (this.PHMKPFHKEFE != null && this.PHMKPFHKEFE == LLFCJNJMFOP)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045E9 RID: 17897 RVA: 0x00161ECC File Offset: 0x001600CC
|
||||
private void EKMIKNPPNME()
|
||||
{
|
||||
if (this.PHMKPFHKEFE != null)
|
||||
{
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD -= this.CFLIOOJJBON;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM -= this.LAFIDNLLDIM;
|
||||
this.GCHCHCDBJKJ();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045EA RID: 17898 RVA: 0x00161F20 File Offset: 0x00160120
|
||||
private void CDAOFNGCNND(GameObject FGEMJOAAICH, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
if (base.GANDPDNCOKF())
|
||||
{
|
||||
this.EBDAFDIKEDO(Hookshot.PEBJOBFCCGM.Loaded);
|
||||
}
|
||||
this.JPFBPFBHJGK = FGEMJOAAICH;
|
||||
this.PGIMBCPGILA = this.JPFBPFBHJGK.transform.InverseTransformPoint(CACIBBKDNIH.LLKJDBBNPKB);
|
||||
this.CFDEMNGMALI = (this.barrelTransform.position - CACIBBKDNIH.LLKJDBBNPKB).sqrMagnitude;
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
}
|
||||
|
||||
// Token: 0x060045EB RID: 17899 RVA: 0x00161FA0 File Offset: 0x001601A0
|
||||
private void FGFJHCNEHOC()
|
||||
{
|
||||
if (this.PBKAIOPJEPI && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.EFEKGINOBLK.sqrMagnitude > this.yankGestureSpeed * this.yankGestureSpeed && Time.time - this.GJOHIEEMOOL > this.yankCooldown && this.CKKJINOBHBC != null)
|
||||
{
|
||||
if (this.CKKJINOBHBC.HKLENNJOICH != IHFKMIAHBFP.JEFGMHBLLKI && (this.DEIIIODJBPM == null || !this.DEIIIODJBPM.OHGPCMJMFGC))
|
||||
{
|
||||
this.CKKJINOBHBC.TransferOwnership(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
if (this.CKKJINOBHBC.MOMLGEKNPGN)
|
||||
{
|
||||
Vector3 vector = Vector3.zero;
|
||||
Vector3 vector2 = this.MMFJEJDBHLL;
|
||||
Vector3 vector3 = this.barrelTransform.position - vector2;
|
||||
Vector3 normalized = base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.EFEKGINOBLK.normalized;
|
||||
float num = Vector3.Dot(vector3.normalized, normalized);
|
||||
MonoBehaviour.print("hand vel dot: " + num.ToString("F2"));
|
||||
if (num > 0.15f)
|
||||
{
|
||||
float magnitude = Vector3.ProjectOnPlane(vector3, Vector3.up).magnitude;
|
||||
float num2 = Mathf.Max(0.25f, magnitude / this.flightSpeed);
|
||||
vector = vector3 / num2 - Physics.gravity * num2 / 2f;
|
||||
MonoBehaviour.print(string.Concat(new object[]
|
||||
{
|
||||
"floor dist: ",
|
||||
magnitude,
|
||||
", flightTime: ",
|
||||
num2,
|
||||
", force: ",
|
||||
vector.ToString("F2")
|
||||
}));
|
||||
}
|
||||
else if (num > 0f)
|
||||
{
|
||||
vector = normalized * this.sidewaysYankSpeed;
|
||||
}
|
||||
if (vector != Vector3.zero)
|
||||
{
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector, vector2, ForceMode.VelocityChange);
|
||||
this.GJOHIEEMOOL = Time.time;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045EC RID: 17900 RVA: 0x001621C0 File Offset: 0x001603C0
|
||||
private Vector3 JJHFFFOCCIN()
|
||||
{
|
||||
if (this.KJJLACDMEOP)
|
||||
{
|
||||
return this.JPFBPFBHJGK.transform.TransformPoint(this.PGIMBCPGILA);
|
||||
}
|
||||
return Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x060045ED RID: 17901 RVA: 0x001621EC File Offset: 0x001603EC
|
||||
private void NHOCMPPMPIE()
|
||||
{
|
||||
if (this.MAIJJIAEFIJ() && this.CKKJINOBHBC != null && this.CKKJINOBHBC.DIBOHBMMDIL() == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.FDJNMOCNCIH();
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Impulse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045EE RID: 17902 RVA: 0x00162288 File Offset: 0x00160488
|
||||
protected virtual void FEEGIOEDCGP(Bullet KACMOFHHALK, Enemy OELGAHAMCLH, MHEBDODJGOA BLKHNALGIKL, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.CHAOIOAAHON(KACMOFHHALK, OELGAHAMCLH, BLKHNALGIKL, CACIBBKDNIH);
|
||||
if (!this.IMJNLEKHCEK())
|
||||
{
|
||||
this.JCMLPJCLAAP(OELGAHAMCLH.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(OELGAHAMCLH.BOLBONELAEF);
|
||||
this.PHMKPFHKEFE = OELGAHAMCLH;
|
||||
this.CKKJINOBHBC = OELGAHAMCLH.CJKKPMHAMCN();
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD += this.MEHNICEBPDB;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM += this.ICBHJIMPBBN;
|
||||
this.MOKCCCCHAOB = OELGAHAMCLH.BOLBONELAEF;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.OKBAEPLAILA();
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 1825f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045EF RID: 17903 RVA: 0x00162334 File Offset: 0x00160534
|
||||
private void DBMIFOEENKM()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = this.boltFinalNockingTransform.position;
|
||||
this.GPGJLKKDJDO.transform.rotation = this.boltFinalNockingTransform.rotation;
|
||||
}
|
||||
else if (this.EBMHMCJGGJA() == (Hookshot.PEBJOBFCCGM)6)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = Vector3.Lerp(this.barrelTransform.position, this.GBKANIBLKIM, Mathf.Max(718f, this.LBDGHLICKGO));
|
||||
this.LBDGHLICKGO -= Time.deltaTime;
|
||||
if (this.LBDGHLICKGO <= 1415f && base.JNOCCMDBMIO())
|
||||
{
|
||||
this.EBDAFDIKEDO(Hookshot.PEBJOBFCCGM.Loaded);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F0 RID: 17904 RVA: 0x00162400 File Offset: 0x00160600
|
||||
private void CMLJHNMBJLL()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Shot || this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Hooked)
|
||||
{
|
||||
this.ropeLineRenderer.enabled = true;
|
||||
GPOIAIBLBEN gpoiaiblben = new GPOIAIBLBEN();
|
||||
gpoiaiblben.OPGNBFLPGFL(this.barrelTransform.position, this.barrelTransform.position + this.barrelTransform.forward * 1f, this.GPGJLKKDJDO.transform.position + (this.BOPIMJJEFON - this.GPGJLKKDJDO.transform.position).normalized * 1f, this.GPGJLKKDJDO.transform.position);
|
||||
for (int i = 0; i < this.ropeSegments; i++)
|
||||
{
|
||||
float num = (float)i / (float)this.ropeSegments;
|
||||
Vector3 vector = gpoiaiblben.MANHFPNKDKL(num);
|
||||
this.ropeLineRenderer.SetPosition(i, vector);
|
||||
}
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
this.CFDEMNGMALI = Mathf.Min(this.CFDEMNGMALI, (this.GPGJLKKDJDO.transform.position - this.barrelTransform.position).sqrMagnitude);
|
||||
}
|
||||
else if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Reeling)
|
||||
{
|
||||
this.ropeLineRenderer.enabled = true;
|
||||
for (int j = 0; j < this.ropeSegments; j++)
|
||||
{
|
||||
this.ropeLineRenderer.SetPosition(j, Vector3.Lerp(this.barrelTransform.position, this.GPGJLKKDJDO.transform.position, (float)j / (float)(this.ropeSegments - 1)));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ropeLineRenderer.enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F1 RID: 17905 RVA: 0x001625CC File Offset: 0x001607CC
|
||||
private void CFLIOOJJBON(Enemy OELGAHAMCLH, Collision PDCJEBJGFNF)
|
||||
{
|
||||
if (!PDCJEBJGFNF.gameObject.OPJBDKJDLFF(LCIGHPPLKCA.DefaultOrStaticPhysics))
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F2 RID: 17906 RVA: 0x001625EC File Offset: 0x001607EC
|
||||
private void ANCHFBOKJLJ()
|
||||
{
|
||||
if (this.MAIJJIAEFIJ() && this.CKKJINOBHBC != null && this.CKKJINOBHBC.HKLENNJOICH == IHFKMIAHBFP.JEFGMHBLLKI)
|
||||
{
|
||||
Vector3 vector = this.MMFJEJDBHLL;
|
||||
Vector3 vector2 = this.barrelTransform.position - vector;
|
||||
float sqrMagnitude = vector2.sqrMagnitude;
|
||||
if (sqrMagnitude > this.CFDEMNGMALI)
|
||||
{
|
||||
Vector3 vector3 = vector2.normalized * this.ropeSpringForce * (sqrMagnitude - this.CFDEMNGMALI);
|
||||
this.MOKCCCCHAOB.AddForceAtPosition(vector3, vector, ForceMode.Force);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F3 RID: 17907 RVA: 0x00162688 File Offset: 0x00160888
|
||||
private void EKAOFHEIPCB()
|
||||
{
|
||||
Hookshot.PEBJOBFCCGM pebjobfccgm = this.HPCKCOBKJLK;
|
||||
if (pebjobfccgm != Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
if (pebjobfccgm == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.ResetArrowParams();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ReloadAmmunition();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F4 RID: 17908 RVA: 0x001626CC File Offset: 0x001608CC
|
||||
private void PMCAHGNGPCP(EIDNMNCOAAJ EFCIKBEHKNL, Enemy LLFCJNJMFOP, Vector3 GDOEBLPCPJF)
|
||||
{
|
||||
if (this.PHMKPFHKEFE != null && this.PHMKPFHKEFE == LLFCJNJMFOP)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F5 RID: 17909 RVA: 0x001626F8 File Offset: 0x001608F8
|
||||
private void IBOCOLPLKMK()
|
||||
{
|
||||
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.PLLMPAPABJC.NHDDPGADJPJ && this.KJJLACDMEOP && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.HOIHCLJDHJB < 0.25f)
|
||||
{
|
||||
this.GCHCHCDBJKJ();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F6 RID: 17910 RVA: 0x0016275C File Offset: 0x0016095C
|
||||
private void ICBHJIMPBBN(Enemy OELGAHAMCLH)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
|
||||
// Token: 0x060045F7 RID: 17911 RVA: 0x00162764 File Offset: 0x00160964
|
||||
protected override void DIOOKHKDKBB(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
|
||||
{
|
||||
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
|
||||
if (!AOBDBDEHCJO && base.BHCCHBHNHCG)
|
||||
{
|
||||
this.HPCKCOBKJLK = Hookshot.PEBJOBFCCGM.Shot;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045F8 RID: 17912 RVA: 0x0016278C File Offset: 0x0016098C
|
||||
protected virtual Bullet PDJCAKNEMAI(Bullet CABHFOCOOCJ = null)
|
||||
{
|
||||
if (this.GPGJLKKDJDO == null)
|
||||
{
|
||||
return base.CPJILHGNNEF(CABHFOCOOCJ);
|
||||
}
|
||||
return this.GPGJLKKDJDO;
|
||||
}
|
||||
|
||||
// Token: 0x060045F9 RID: 17913 RVA: 0x001627B0 File Offset: 0x001609B0
|
||||
protected override void HGLGNKLKBKO(Bullet KACMOFHHALK, Tool EEPPNAIKGEO, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.HGLGNKLKBKO(KACMOFHHALK, EEPPNAIKGEO, CACIBBKDNIH);
|
||||
if (!this.KJJLACDMEOP)
|
||||
{
|
||||
this.JMMPEILGGLD(EEPPNAIKGEO.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(EEPPNAIKGEO.BOLBONELAEF);
|
||||
this.DEIIIODJBPM = EEPPNAIKGEO;
|
||||
this.CKKJINOBHBC = EEPPNAIKGEO.OMNGGJICBBI;
|
||||
this.DEIIIODJBPM.GFBCCFIMFEC += this.DFPEPHHPDLE;
|
||||
ToolCleanup componentInChildren = this.DEIIIODJBPM.GetComponentInChildren<ToolCleanup>();
|
||||
if (componentInChildren != null && SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
||||
{
|
||||
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ExcludeTool(this.DEIIIODJBPM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045FA RID: 17914 RVA: 0x00162848 File Offset: 0x00160A48
|
||||
private void DBFHHDCAFIM(Enemy OELGAHAMCLH, Collision PDCJEBJGFNF)
|
||||
{
|
||||
if (!PDCJEBJGFNF.gameObject.OPJBDKJDLFF((LCIGHPPLKCA)(-188)))
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045FB RID: 17915 RVA: 0x00162868 File Offset: 0x00160A68
|
||||
protected virtual void IJPDEJFNCNH()
|
||||
{
|
||||
base.PLKAFOMPMKE();
|
||||
this.GDOEJMFFLKJ();
|
||||
this.CDMCJMBAKKN();
|
||||
this.GNILPEMJCED();
|
||||
}
|
||||
|
||||
// Token: 0x060045FC RID: 17916 RVA: 0x00162884 File Offset: 0x00160A84
|
||||
private void HNMKGEILEDG()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = this.boltFinalNockingTransform.position;
|
||||
this.GPGJLKKDJDO.transform.rotation = this.boltFinalNockingTransform.rotation;
|
||||
}
|
||||
else if (this.HPCKCOBKJLK == (Hookshot.PEBJOBFCCGM)7)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = Vector3.Lerp(this.barrelTransform.position, this.GBKANIBLKIM, Mathf.Max(1888f, this.LBDGHLICKGO));
|
||||
this.LBDGHLICKGO -= Time.deltaTime;
|
||||
if (this.LBDGHLICKGO <= 262f && base.DFJFKOLLEMK())
|
||||
{
|
||||
this.HPCKCOBKJLK = Hookshot.PEBJOBFCCGM.Shot;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060045FD RID: 17917 RVA: 0x00162950 File Offset: 0x00160B50
|
||||
protected virtual void GJJNNJEGGBD(Bullet KACMOFHHALK, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.GPJFLCNEEJI(KACMOFHHALK, CACIBBKDNIH);
|
||||
this.MPLLNIGHDKJ(CACIBBKDNIH.JFCOFBFGGFL, CACIBBKDNIH);
|
||||
}
|
||||
|
||||
// Token: 0x060045FE RID: 17918 RVA: 0x00162968 File Offset: 0x00160B68
|
||||
private Hookshot.PEBJOBFCCGM EBMHMCJGGJA()
|
||||
{
|
||||
return (Hookshot.PEBJOBFCCGM)this.IHLGIDABOLB.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x060045FF RID: 17919 RVA: 0x00162978 File Offset: 0x00160B78
|
||||
private void JMMPEILGGLD(GameObject FGEMJOAAICH, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
if (base.BHCCHBHNHCG)
|
||||
{
|
||||
this.HPCKCOBKJLK = Hookshot.PEBJOBFCCGM.Hooked;
|
||||
}
|
||||
this.JPFBPFBHJGK = FGEMJOAAICH;
|
||||
this.PGIMBCPGILA = this.JPFBPFBHJGK.transform.InverseTransformPoint(CACIBBKDNIH.LLKJDBBNPKB);
|
||||
this.CFDEMNGMALI = (this.barrelTransform.position - CACIBBKDNIH.LLKJDBBNPKB).sqrMagnitude;
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
}
|
||||
|
||||
// Token: 0x06004600 RID: 17920 RVA: 0x001629F8 File Offset: 0x00160BF8
|
||||
private void MPLLNIGHDKJ(GameObject FGEMJOAAICH, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
if (base.BHCCHBHNHCG)
|
||||
{
|
||||
this.LAIDCGNPHHJ((Hookshot.PEBJOBFCCGM)7);
|
||||
}
|
||||
this.JPFBPFBHJGK = FGEMJOAAICH;
|
||||
this.PGIMBCPGILA = this.JPFBPFBHJGK.transform.InverseTransformPoint(CACIBBKDNIH.LLKJDBBNPKB);
|
||||
this.CFDEMNGMALI = (this.barrelTransform.position - CACIBBKDNIH.LLKJDBBNPKB).sqrMagnitude;
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
}
|
||||
|
||||
// Token: 0x06004601 RID: 17921 RVA: 0x00162A78 File Offset: 0x00160C78
|
||||
private void CDPKBGKAHMM()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = this.boltFinalNockingTransform.position;
|
||||
this.GPGJLKKDJDO.transform.rotation = this.boltFinalNockingTransform.rotation;
|
||||
}
|
||||
else if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
this.GPGJLKKDJDO.transform.position = Vector3.Lerp(this.barrelTransform.position, this.GBKANIBLKIM, Mathf.Max(1848f, this.LBDGHLICKGO));
|
||||
this.LBDGHLICKGO -= Time.deltaTime;
|
||||
if (this.LBDGHLICKGO <= 549f && base.JNOCCMDBMIO())
|
||||
{
|
||||
this.HPCKCOBKJLK = Hookshot.PEBJOBFCCGM.Loaded;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000135 RID: 309
|
||||
// (get) Token: 0x06004602 RID: 17922 RVA: 0x00162B44 File Offset: 0x00160D44
|
||||
public bool KJJLACDMEOP
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.JPFBPFBHJGK != null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004603 RID: 17923 RVA: 0x00162B54 File Offset: 0x00160D54
|
||||
protected virtual void IBFKDEOAIGD()
|
||||
{
|
||||
base.FixedUpdate();
|
||||
this.EBOMELPNEKL();
|
||||
this.DJDALNGGAIO();
|
||||
}
|
||||
|
||||
// Token: 0x06004604 RID: 17924 RVA: 0x00162B68 File Offset: 0x00160D68
|
||||
protected virtual void OJFGEDCEKKK(Bullet KACMOFHHALK, Enemy OELGAHAMCLH, MHEBDODJGOA BLKHNALGIKL, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.CHAOIOAAHON(KACMOFHHALK, OELGAHAMCLH, BLKHNALGIKL, CACIBBKDNIH);
|
||||
if (!this.NNFHEDCGEEO())
|
||||
{
|
||||
this.JMMPEILGGLD(OELGAHAMCLH.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(OELGAHAMCLH.BOLBONELAEF);
|
||||
this.PHMKPFHKEFE = OELGAHAMCLH;
|
||||
this.CKKJINOBHBC = OELGAHAMCLH.HOPJELLOPNJ();
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD += this.DBFHHDCAFIM;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM += this.ICBHJIMPBBN;
|
||||
this.MOKCCCCHAOB = OELGAHAMCLH.BOLBONELAEF;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.IKNNJEPEBLN;
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 1206f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004605 RID: 17925 RVA: 0x00162C14 File Offset: 0x00160E14
|
||||
protected override void GPJFLCNEEJI(Bullet KACMOFHHALK, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.GPJFLCNEEJI(KACMOFHHALK, CACIBBKDNIH);
|
||||
this.JMMPEILGGLD(CACIBBKDNIH.JFCOFBFGGFL, CACIBBKDNIH);
|
||||
}
|
||||
|
||||
// Token: 0x06004606 RID: 17926 RVA: 0x00162C2C File Offset: 0x00160E2C
|
||||
private void MBJGGFFOPBH(Enemy OELGAHAMCLH, Collision PDCJEBJGFNF)
|
||||
{
|
||||
if (!PDCJEBJGFNF.gameObject.OPJBDKJDLFF((LCIGHPPLKCA)(-94)))
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004607 RID: 17927 RVA: 0x00162C4C File Offset: 0x00160E4C
|
||||
protected override Bullet CPJILHGNNEF(Bullet CABHFOCOOCJ = null)
|
||||
{
|
||||
if (this.GPGJLKKDJDO == null)
|
||||
{
|
||||
return base.CPJILHGNNEF(CABHFOCOOCJ);
|
||||
}
|
||||
return this.GPGJLKKDJDO;
|
||||
}
|
||||
|
||||
// Token: 0x06004608 RID: 17928 RVA: 0x00162C70 File Offset: 0x00160E70
|
||||
private void FMHGLKGKDCF()
|
||||
{
|
||||
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.PLLMPAPABJC.DHJNIEEFMGE() && this.IMJNLEKHCEK() && base.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ.HOIHCLJDHJB < 1466f)
|
||||
{
|
||||
this.NLBEJJJPFJD();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004609 RID: 17929 RVA: 0x00162CD4 File Offset: 0x00160ED4
|
||||
public bool NNFHEDCGEEO()
|
||||
{
|
||||
return this.JPFBPFBHJGK != null;
|
||||
}
|
||||
|
||||
// Token: 0x0600460A RID: 17930 RVA: 0x00162CE4 File Offset: 0x00160EE4
|
||||
private void GNILPEMJCED()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Shot || this.EBMHMCJGGJA() == Hookshot.PEBJOBFCCGM.Hooked)
|
||||
{
|
||||
this.ropeLineRenderer.enabled = false;
|
||||
GPOIAIBLBEN gpoiaiblben = new GPOIAIBLBEN();
|
||||
gpoiaiblben.PJJIDNFCBKJ(this.barrelTransform.position, this.barrelTransform.position + this.barrelTransform.forward * 1939f, this.GPGJLKKDJDO.transform.position + (this.BOPIMJJEFON - this.GPGJLKKDJDO.transform.position).normalized * 1550f, this.GPGJLKKDJDO.transform.position);
|
||||
for (int i = 1; i < this.ropeSegments; i++)
|
||||
{
|
||||
float num = (float)i / (float)this.ropeSegments;
|
||||
Vector3 vector = gpoiaiblben.HJELAEEKMBP(num);
|
||||
this.ropeLineRenderer.SetPosition(i, vector);
|
||||
}
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
this.CFDEMNGMALI = Mathf.Min(this.CFDEMNGMALI, (this.GPGJLKKDJDO.transform.position - this.barrelTransform.position).sqrMagnitude);
|
||||
}
|
||||
else if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Hooked)
|
||||
{
|
||||
this.ropeLineRenderer.enabled = true;
|
||||
for (int j = 0; j < this.ropeSegments; j += 0)
|
||||
{
|
||||
this.ropeLineRenderer.SetPosition(j, Vector3.Lerp(this.barrelTransform.position, this.GPGJLKKDJDO.transform.position, (float)j / (float)(this.ropeSegments - 1)));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ropeLineRenderer.enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600460B RID: 17931 RVA: 0x00162EB0 File Offset: 0x001610B0
|
||||
private void DFPEPHHPDLE(Tool ENBMEDIFBLM)
|
||||
{
|
||||
this.GCHCHCDBJKJ();
|
||||
}
|
||||
|
||||
// Token: 0x0600460C RID: 17932 RVA: 0x00162EB8 File Offset: 0x001610B8
|
||||
private void GCHCHCDBJKJ()
|
||||
{
|
||||
if (base.BHCCHBHNHCG)
|
||||
{
|
||||
this.HPCKCOBKJLK = Hookshot.PEBJOBFCCGM.Reeling;
|
||||
}
|
||||
this.GBKANIBLKIM = this.GPGJLKKDJDO.transform.position;
|
||||
this.LBDGHLICKGO = (this.barrelTransform.position - this.GBKANIBLKIM).magnitude / this.reelSpeed;
|
||||
MonoBehaviour.print(string.Concat(new object[]
|
||||
{
|
||||
"reeling back in ",
|
||||
(this.barrelTransform.position - this.GBKANIBLKIM).magnitude.ToString("F2"),
|
||||
"m. in ",
|
||||
this.LBDGHLICKGO,
|
||||
" secs."
|
||||
}));
|
||||
this.JPFBPFBHJGK = null;
|
||||
if (this.DEIIIODJBPM != null)
|
||||
{
|
||||
ToolCleanup componentInChildren = this.DEIIIODJBPM.GetComponentInChildren<ToolCleanup>();
|
||||
if (componentInChildren != null && SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
||||
{
|
||||
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.AddTool(this.DEIIIODJBPM, true);
|
||||
}
|
||||
this.DEIIIODJBPM = null;
|
||||
}
|
||||
if (this.MOKCCCCHAOB != null)
|
||||
{
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = this.PJMNFEOBKAF;
|
||||
this.MOKCCCCHAOB = null;
|
||||
}
|
||||
this.PHMKPFHKEFE = null;
|
||||
this.CKKJINOBHBC = null;
|
||||
this.PGIMBCPGILA = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x0600460D RID: 17933 RVA: 0x00163014 File Offset: 0x00161214
|
||||
protected virtual void PMDGKJFKPAM(Bullet KACMOFHHALK, Enemy OELGAHAMCLH, MHEBDODJGOA BLKHNALGIKL, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.CHAOIOAAHON(KACMOFHHALK, OELGAHAMCLH, BLKHNALGIKL, CACIBBKDNIH);
|
||||
if (!this.KJJLACDMEOP)
|
||||
{
|
||||
this.JCMLPJCLAAP(OELGAHAMCLH.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(OELGAHAMCLH.BOLBONELAEF);
|
||||
this.PHMKPFHKEFE = OELGAHAMCLH;
|
||||
this.CKKJINOBHBC = OELGAHAMCLH.HOPJELLOPNJ();
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD += this.DBFHHDCAFIM;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM += this.LAFIDNLLDIM;
|
||||
this.MOKCCCCHAOB = OELGAHAMCLH.BOLBONELAEF;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.IKNNJEPEBLN;
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 685f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600460E RID: 17934 RVA: 0x001630C0 File Offset: 0x001612C0
|
||||
private void COOKBBODONG()
|
||||
{
|
||||
Hookshot.PEBJOBFCCGM pebjobfccgm = this.EBMHMCJGGJA();
|
||||
if (pebjobfccgm != Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
if (pebjobfccgm == (Hookshot.PEBJOBFCCGM)8)
|
||||
{
|
||||
this.GPGJLKKDJDO.ResetArrowParams();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ReloadAmmunition();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600460F RID: 17935 RVA: 0x00163104 File Offset: 0x00161304
|
||||
private void LAIDCGNPHHJ(Hookshot.PEBJOBFCCGM NOBAPCOKFIL)
|
||||
{
|
||||
this.IHLGIDABOLB.MEAINJPIECA((int)NOBAPCOKFIL);
|
||||
}
|
||||
|
||||
// Token: 0x06004610 RID: 17936 RVA: 0x00163114 File Offset: 0x00161314
|
||||
private void PBFJJABGKLM(EIDNMNCOAAJ EFCIKBEHKNL, Enemy LLFCJNJMFOP, Vector3 GDOEBLPCPJF)
|
||||
{
|
||||
if (this.PHMKPFHKEFE != null && this.PHMKPFHKEFE == LLFCJNJMFOP)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004611 RID: 17937 RVA: 0x00163140 File Offset: 0x00161340
|
||||
private void MEHNICEBPDB(Enemy OELGAHAMCLH, Collision PDCJEBJGFNF)
|
||||
{
|
||||
if (!PDCJEBJGFNF.gameObject.OPJBDKJDLFF((LCIGHPPLKCA)193))
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004612 RID: 17938 RVA: 0x00163160 File Offset: 0x00161360
|
||||
protected virtual void IKFCLMNDGPF()
|
||||
{
|
||||
base.MHJCEMECKEL();
|
||||
this.IBOCOLPLKMK();
|
||||
this.CDMCJMBAKKN();
|
||||
this.MKEOEFOKKJE();
|
||||
}
|
||||
|
||||
// Token: 0x06004613 RID: 17939 RVA: 0x0016317C File Offset: 0x0016137C
|
||||
private void HKLLKPHIPNM(EIDNMNCOAAJ EFCIKBEHKNL, Enemy LLFCJNJMFOP, Vector3 GDOEBLPCPJF)
|
||||
{
|
||||
if (this.PHMKPFHKEFE != null && this.PHMKPFHKEFE == LLFCJNJMFOP)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004615 RID: 17941 RVA: 0x001631B8 File Offset: 0x001613B8
|
||||
protected virtual void HBHLIJDFGPO(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
|
||||
{
|
||||
base.IGJHKPEMCMH(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
|
||||
if (!AOBDBDEHCJO && base.IGIPCHFCFNN())
|
||||
{
|
||||
this.EBDAFDIKEDO(Hookshot.PEBJOBFCCGM.Loaded);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004616 RID: 17942 RVA: 0x001631E0 File Offset: 0x001613E0
|
||||
private void LLPPLDAEBCF(Enemy OELGAHAMCLH)
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
|
||||
// Token: 0x06004617 RID: 17943 RVA: 0x001631E8 File Offset: 0x001613E8
|
||||
private void MKEOEFOKKJE()
|
||||
{
|
||||
if (this.HPCKCOBKJLK == Hookshot.PEBJOBFCCGM.Loaded || this.HPCKCOBKJLK == (Hookshot.PEBJOBFCCGM)5)
|
||||
{
|
||||
this.ropeLineRenderer.enabled = false;
|
||||
GPOIAIBLBEN gpoiaiblben = new GPOIAIBLBEN();
|
||||
gpoiaiblben.PJJIDNFCBKJ(this.barrelTransform.position, this.barrelTransform.position + this.barrelTransform.forward * 1593f, this.GPGJLKKDJDO.transform.position + (this.BOPIMJJEFON - this.GPGJLKKDJDO.transform.position).normalized * 1647f, this.GPGJLKKDJDO.transform.position);
|
||||
for (int i = 0; i < this.ropeSegments; i++)
|
||||
{
|
||||
float num = (float)i / (float)this.ropeSegments;
|
||||
Vector3 vector = gpoiaiblben.MANHFPNKDKL(num);
|
||||
this.ropeLineRenderer.SetPosition(i, vector);
|
||||
}
|
||||
this.BOPIMJJEFON = this.GPGJLKKDJDO.transform.position;
|
||||
this.CFDEMNGMALI = Mathf.Min(this.CFDEMNGMALI, (this.GPGJLKKDJDO.transform.position - this.barrelTransform.position).sqrMagnitude);
|
||||
}
|
||||
else if (this.EBMHMCJGGJA() == (Hookshot.PEBJOBFCCGM)5)
|
||||
{
|
||||
this.ropeLineRenderer.enabled = true;
|
||||
for (int j = 1; j < this.ropeSegments; j++)
|
||||
{
|
||||
this.ropeLineRenderer.SetPosition(j, Vector3.Lerp(this.barrelTransform.position, this.GPGJLKKDJDO.transform.position, (float)j / (float)(this.ropeSegments - 0)));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ropeLineRenderer.enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004618 RID: 17944 RVA: 0x001633B4 File Offset: 0x001615B4
|
||||
private void KGMOCNBBINN(Enemy OELGAHAMCLH, Collision PDCJEBJGFNF)
|
||||
{
|
||||
if (!PDCJEBJGFNF.gameObject.OPJBDKJDLFF((LCIGHPPLKCA)(-193)))
|
||||
{
|
||||
this.EKMIKNPPNME();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004619 RID: 17945 RVA: 0x001633D4 File Offset: 0x001615D4
|
||||
public bool MAIJJIAEFIJ()
|
||||
{
|
||||
return !base.BKDFLNGCINH.OHGPCMJMFGC || !base.BKDFLNGCINH.HJLLJOGHFJC().NHDDPGADJPJ || !this.NNFHEDCGEEO() || this.MOKCCCCHAOB != null;
|
||||
}
|
||||
|
||||
// Token: 0x0600461A RID: 17946 RVA: 0x00163420 File Offset: 0x00161620
|
||||
private Vector3 ADLFDIEMEEL()
|
||||
{
|
||||
if (this.KJJLACDMEOP)
|
||||
{
|
||||
return this.JPFBPFBHJGK.transform.TransformPoint(this.PGIMBCPGILA);
|
||||
}
|
||||
return Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x0600461B RID: 17947 RVA: 0x0016344C File Offset: 0x0016164C
|
||||
protected override void CHAOIOAAHON(Bullet KACMOFHHALK, Enemy OELGAHAMCLH, MHEBDODJGOA BLKHNALGIKL, IHEAKAOGCIF CACIBBKDNIH)
|
||||
{
|
||||
base.CHAOIOAAHON(KACMOFHHALK, OELGAHAMCLH, BLKHNALGIKL, CACIBBKDNIH);
|
||||
if (!this.KJJLACDMEOP)
|
||||
{
|
||||
this.JMMPEILGGLD(OELGAHAMCLH.gameObject, CACIBBKDNIH);
|
||||
this.LOCPFAOEPMG(OELGAHAMCLH.BOLBONELAEF);
|
||||
this.PHMKPFHKEFE = OELGAHAMCLH;
|
||||
this.CKKJINOBHBC = OELGAHAMCLH.OMNGGJICBBI;
|
||||
this.PHMKPFHKEFE.GKLMJHMAMMD += this.CFLIOOJJBON;
|
||||
this.PHMKPFHKEFE.AIAMIOLGCJM += this.LAFIDNLLDIM;
|
||||
this.MOKCCCCHAOB = OELGAHAMCLH.BOLBONELAEF;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.IKNNJEPEBLN;
|
||||
this.MOKCCCCHAOB.IKNNJEPEBLN = 0f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600461C RID: 17948 RVA: 0x001634F8 File Offset: 0x001616F8
|
||||
private void IAPJCLLGHBG()
|
||||
{
|
||||
Hookshot.PEBJOBFCCGM pebjobfccgm = this.HPCKCOBKJLK;
|
||||
if (pebjobfccgm != Hookshot.PEBJOBFCCGM.Loaded)
|
||||
{
|
||||
if (pebjobfccgm == (Hookshot.PEBJOBFCCGM)7)
|
||||
{
|
||||
this.GPGJLKKDJDO.JCCKMPHCMJK();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ReloadAmmunition();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600461D RID: 17949 RVA: 0x0016353C File Offset: 0x0016173C
|
||||
private void BLHACJBLBKH(RigidbodyEx IJFBNEGJIEI)
|
||||
{
|
||||
this.MOKCCCCHAOB = IJFBNEGJIEI;
|
||||
this.PJMNFEOBKAF = this.MOKCCCCHAOB.OKBAEPLAILA();
|
||||
this.MOKCCCCHAOB.PGAMGFKDPMO(1298f);
|
||||
}
|
||||
|
||||
// Token: 0x040008BD RID: 2237
|
||||
[SerializeField]
|
||||
[Header("Hooking Physics")]
|
||||
private float yankGestureSpeed = 2f;
|
||||
|
||||
// Token: 0x040008BE RID: 2238
|
||||
[SerializeField]
|
||||
[Tooltip("Meters per second that lobbed objects will travel along the ground")]
|
||||
private float flightSpeed = 3f;
|
||||
|
||||
// Token: 0x040008BF RID: 2239
|
||||
[SerializeField]
|
||||
private float yankCooldown = 2f;
|
||||
|
||||
// Token: 0x040008C0 RID: 2240
|
||||
[SerializeField]
|
||||
private float sidewaysYankSpeed = 3f;
|
||||
|
||||
// Token: 0x040008C1 RID: 2241
|
||||
[SerializeField]
|
||||
private float ropeSpringForce = 1f;
|
||||
|
||||
// Token: 0x040008C2 RID: 2242
|
||||
[SerializeField]
|
||||
private float reelSpeed = 5f;
|
||||
|
||||
// Token: 0x040008C3 RID: 2243
|
||||
[SerializeField]
|
||||
[Header("Visuals")]
|
||||
private LineRenderer ropeLineRenderer;
|
||||
|
||||
// Token: 0x040008C4 RID: 2244
|
||||
[SerializeField]
|
||||
private int ropeSegments = 30;
|
||||
|
||||
// Token: 0x040008C5 RID: 2245
|
||||
[SerializeField]
|
||||
private FloatValueCurve controlPointDistanceOverRopeLength;
|
||||
|
||||
// Token: 0x040008C6 RID: 2246
|
||||
private GameObject JPFBPFBHJGK;
|
||||
|
||||
// Token: 0x040008C7 RID: 2247
|
||||
private RigidbodyEx MOKCCCCHAOB;
|
||||
|
||||
// Token: 0x040008C8 RID: 2248
|
||||
private PhotonView CKKJINOBHBC;
|
||||
|
||||
// Token: 0x040008C9 RID: 2249
|
||||
private Tool DEIIIODJBPM;
|
||||
|
||||
// Token: 0x040008CA RID: 2250
|
||||
private Enemy PHMKPFHKEFE;
|
||||
|
||||
// Token: 0x040008CB RID: 2251
|
||||
private Vector3 PGIMBCPGILA = Vector3.zero;
|
||||
|
||||
// Token: 0x040008CC RID: 2252
|
||||
private float PJMNFEOBKAF;
|
||||
|
||||
// Token: 0x040008CD RID: 2253
|
||||
private HookshotProjectile GPGJLKKDJDO;
|
||||
|
||||
// Token: 0x040008CE RID: 2254
|
||||
private float GJOHIEEMOOL;
|
||||
|
||||
// Token: 0x040008CF RID: 2255
|
||||
private float CFDEMNGMALI;
|
||||
|
||||
// Token: 0x040008D0 RID: 2256
|
||||
private Vector3 BOPIMJJEFON = Vector3.zero;
|
||||
|
||||
// Token: 0x040008D1 RID: 2257
|
||||
private Vector3 GBKANIBLKIM = Vector3.zero;
|
||||
|
||||
// Token: 0x040008D2 RID: 2258
|
||||
private float LBDGHLICKGO;
|
||||
|
||||
// Token: 0x040008D3 RID: 2259
|
||||
private LHLLJPPCDKA<int> IHLGIDABOLB;
|
||||
|
||||
// Token: 0x0200014E RID: 334
|
||||
private enum PEBJOBFCCGM
|
||||
{
|
||||
// Token: 0x040008D5 RID: 2261
|
||||
Loaded,
|
||||
// Token: 0x040008D6 RID: 2262
|
||||
Shot,
|
||||
// Token: 0x040008D7 RID: 2263
|
||||
Hooked,
|
||||
// Token: 0x040008D8 RID: 2264
|
||||
Reeling
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user