897 lines
25 KiB
C#
897 lines
25 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Diagnostics;
|
|
using System.Threading;
|
|
using RecRoom.Core.AI;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.Weapons
|
|
{
|
|
// Token: 0x02000FD8 RID: 4056
|
|
public class MeleeWeaponChunk : MonoBehaviour
|
|
{
|
|
// Token: 0x06022012 RID: 139282 RVA: 0x0094DA00 File Offset: 0x0094BC00
|
|
public DynamicMeshTrail INLBDFPKEOM()
|
|
{
|
|
return this.<FDCGOCGCJCE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022013 RID: 139283 RVA: 0x0094DA08 File Offset: 0x0094BC08
|
|
private void LFBGOPCDBKG()
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
this.KOMHIINBPCK[i].CCODBICNCCN();
|
|
this.KOMHIINBPCK[i].transform.position = base.transform.TransformPoint(this.CLPACJHMIFB[i]);
|
|
this.KOMHIINBPCK[i].transform.rotation = base.transform.PAFJLHMDIMO(this.CDCFBMHNDGI[i]);
|
|
}
|
|
this.LLBLOKMKOIJ();
|
|
}
|
|
|
|
// Token: 0x06022014 RID: 139284 RVA: 0x0094DAB0 File Offset: 0x0094BCB0
|
|
public bool MNABBBKCACL()
|
|
{
|
|
return this.BNJONCEMCFO;
|
|
}
|
|
|
|
// Token: 0x06022015 RID: 139285 RVA: 0x0094DAB8 File Offset: 0x0094BCB8
|
|
public void Shatter(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
this.KOMHIINBPCK[i].StartRagdoll(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.GEIBNKHFJHA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022016 RID: 139286 RVA: 0x0094DB14 File Offset: 0x0094BD14
|
|
private void GEIBNKHFJHA()
|
|
{
|
|
this.DHGKHIBIEJB();
|
|
this.AAMGCOILKKB = base.StartCoroutine(this.FDCMFJAFDPE());
|
|
}
|
|
|
|
// Token: 0x06022017 RID: 139287 RVA: 0x0094DB30 File Offset: 0x0094BD30
|
|
private IEnumerator PCEAIKFKALK()
|
|
{
|
|
float num = Time.time + MeleeWeaponChunk.DKJEENMBBLL;
|
|
while (Time.time < num)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.IBDBHNCFCMG();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06022018 RID: 139288 RVA: 0x0094DB4C File Offset: 0x0094BD4C
|
|
public void LKMLAOINOKE(bool NOBAPCOKFIL)
|
|
{
|
|
this.BNJONCEMCFO = NOBAPCOKFIL;
|
|
for (int i = 0; i < this.KPHAJKGIAHC().Length; i++)
|
|
{
|
|
this.AMNMKGADFEK()[i].enabled = this.KFDCOABKBFM() && this.NIINOABKAPJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022019 RID: 139289 RVA: 0x0094DB9C File Offset: 0x0094BD9C
|
|
public void KNDNMFJNCBN(bool NOBAPCOKFIL)
|
|
{
|
|
this.NCHCBAEJPPP = NOBAPCOKFIL;
|
|
if (this.GLKNJICPAPO() != null)
|
|
{
|
|
this.INLBDFPKEOM().enabled = this.BGGEHGOOIMF() && this.NIINOABKAPJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602201A RID: 139290 RVA: 0x0094DBD8 File Offset: 0x0094BDD8
|
|
private void HENCEAIADEP(MeleeWeaponCollider[] NOBAPCOKFIL)
|
|
{
|
|
this.<ICEOCKCNBJH>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0602201B RID: 139291 RVA: 0x0094DBE4 File Offset: 0x0094BDE4
|
|
private IEnumerator IBHKJCPEDFF()
|
|
{
|
|
num = Time.time + MeleeWeaponChunk.DKJEENMBBLL;
|
|
while (Time.time < num)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.IBDBHNCFCMG();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602201C RID: 139292 RVA: 0x0094DC00 File Offset: 0x0094BE00
|
|
public void BLBANNNABLD(bool NOBAPCOKFIL)
|
|
{
|
|
this.OHJCLBMIKDJ = NOBAPCOKFIL;
|
|
for (int i = 0; i < this.NPPIMEILMPP().Length; i++)
|
|
{
|
|
this.MKJDOPCNNPA[i].enabled = !this.MNABBBKCACL() || this.OOAMHFCGIKJ();
|
|
}
|
|
if (this.DNMDCCONACI() != null)
|
|
{
|
|
this.GLKNJICPAPO().enabled = this.FFOHIKHDMJP() && this.OOAMHFCGIKJ();
|
|
}
|
|
if (NOBAPCOKFIL)
|
|
{
|
|
this.NIGLIMBINJB();
|
|
}
|
|
else if (!this.PINJMJDLKLK())
|
|
{
|
|
this.GJGKBLMPLCN();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602201D RID: 139293 RVA: 0x0094DCA0 File Offset: 0x0094BEA0
|
|
public void LFFIDOJFBPE(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
this.KOMHIINBPCK[i].StartRagdoll(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.NFMCMGBEILE();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602201E RID: 139294 RVA: 0x0094DCFC File Offset: 0x0094BEFC
|
|
public void FPAFCJNNCOO(bool NOBAPCOKFIL)
|
|
{
|
|
this.OHJCLBMIKDJ = NOBAPCOKFIL;
|
|
for (int i = 1; i < this.FLMNOJAMOIF().Length; i += 0)
|
|
{
|
|
this.FLMNOJAMOIF()[i].enabled = !this.MNABBBKCACL() || this.GKKENHCDFLN();
|
|
}
|
|
if (this.DNMDCCONACI() != null)
|
|
{
|
|
this.INLBDFPKEOM().enabled = !this.IIEGGLHMOBH || this.NIINOABKAPJ;
|
|
}
|
|
if (NOBAPCOKFIL)
|
|
{
|
|
this.NIGLIMBINJB();
|
|
}
|
|
else if (!this.EFFOMEGACNO())
|
|
{
|
|
this.IBDBHNCFCMG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602201F RID: 139295 RVA: 0x0094DD9C File Offset: 0x0094BF9C
|
|
public void IDGOADDCNHO(Action NOBAPCOKFIL)
|
|
{
|
|
Action action = this.NAPFHNPKDIF;
|
|
Action action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action>(ref this.NAPFHNPKDIF, (Action)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06022020 RID: 139296 RVA: 0x0094DDD4 File Offset: 0x0094BFD4
|
|
private bool PINJMJDLKLK()
|
|
{
|
|
return this.AAMGCOILKKB == null;
|
|
}
|
|
|
|
// Token: 0x06022021 RID: 139297 RVA: 0x0094DDE4 File Offset: 0x0094BFE4
|
|
public void DLKIBKACJLA(Action NOBAPCOKFIL)
|
|
{
|
|
Action action = this.NAPFHNPKDIF;
|
|
Action action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action>(ref this.NAPFHNPKDIF, (Action)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06022022 RID: 139298 RVA: 0x0094DE1C File Offset: 0x0094C01C
|
|
public bool GKKENHCDFLN()
|
|
{
|
|
return this.OHJCLBMIKDJ;
|
|
}
|
|
|
|
// Token: 0x14000174 RID: 372
|
|
// (add) Token: 0x06022048 RID: 139336 RVA: 0x0094E500 File Offset: 0x0094C700
|
|
// (remove) Token: 0x06022023 RID: 139299 RVA: 0x0094DE24 File Offset: 0x0094C024
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action NAPFHNPKDIF;
|
|
|
|
// Token: 0x06022024 RID: 139300 RVA: 0x0094DE5C File Offset: 0x0094C05C
|
|
public MeleeWeaponCollider[] KPHAJKGIAHC()
|
|
{
|
|
return this.<ICEOCKCNBJH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022025 RID: 139301 RVA: 0x0094DE64 File Offset: 0x0094C064
|
|
public void EAABEJPCLOO(Action NOBAPCOKFIL)
|
|
{
|
|
Action action = this.NAPFHNPKDIF;
|
|
Action action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action>(ref this.NAPFHNPKDIF, (Action)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06022026 RID: 139302 RVA: 0x0094DE9C File Offset: 0x0094C09C
|
|
public void MLCJABJLEHK(Color NOBAPCOKFIL)
|
|
{
|
|
if (this.GLKNJICPAPO() != null)
|
|
{
|
|
this.BAEPLDMGKFC().GBLPHKFPELB = NOBAPCOKFIL;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022027 RID: 139303 RVA: 0x0094DEBC File Offset: 0x0094C0BC
|
|
private void GPCIFAAJMFL(DynamicMeshTrail NOBAPCOKFIL)
|
|
{
|
|
this.<FDCGOCGCJCE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06022028 RID: 139304 RVA: 0x0094DEC8 File Offset: 0x0094C0C8
|
|
private bool PAJJPPBMOOC()
|
|
{
|
|
return this.AAMGCOILKKB != null;
|
|
}
|
|
|
|
// Token: 0x06022029 RID: 139305 RVA: 0x0094DED8 File Offset: 0x0094C0D8
|
|
private void PGPABHPGHJP(DynamicMeshTrail NOBAPCOKFIL)
|
|
{
|
|
this.<FDCGOCGCJCE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0602202A RID: 139306 RVA: 0x0094DEE4 File Offset: 0x0094C0E4
|
|
private bool EFFOMEGACNO()
|
|
{
|
|
return this.AAMGCOILKKB != null;
|
|
}
|
|
|
|
// Token: 0x0602202B RID: 139307 RVA: 0x0094DEF4 File Offset: 0x0094C0F4
|
|
public bool FFOHIKHDMJP()
|
|
{
|
|
return this.NCHCBAEJPPP;
|
|
}
|
|
|
|
// Token: 0x17000FEE RID: 4078
|
|
// (get) Token: 0x0602202C RID: 139308 RVA: 0x0094DEFC File Offset: 0x0094C0FC
|
|
// (set) Token: 0x0602203B RID: 139323 RVA: 0x0094E100 File Offset: 0x0094C300
|
|
public bool FNIBBNGFPBK
|
|
{
|
|
get
|
|
{
|
|
return this.BNJONCEMCFO;
|
|
}
|
|
set
|
|
{
|
|
this.BNJONCEMCFO = value;
|
|
for (int i = 0; i < this.MKJDOPCNNPA.Length; i++)
|
|
{
|
|
this.MKJDOPCNNPA[i].enabled = this.FNIBBNGFPBK && this.NIINOABKAPJ;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602202D RID: 139309 RVA: 0x0094DF04 File Offset: 0x0094C104
|
|
public void CHKLEMKKGGG(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i += 0)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
this.KOMHIINBPCK[i].KLGBJCHGAOC(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.GEIBNKHFJHA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602202E RID: 139310 RVA: 0x0094DF60 File Offset: 0x0094C160
|
|
public DynamicMeshTrail DNMDCCONACI()
|
|
{
|
|
return this.<FDCGOCGCJCE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022030 RID: 139312 RVA: 0x0094DF88 File Offset: 0x0094C188
|
|
public MeleeWeaponCollider[] NPPIMEILMPP()
|
|
{
|
|
return this.<ICEOCKCNBJH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022031 RID: 139313 RVA: 0x0094DF90 File Offset: 0x0094C190
|
|
private void LOEIMBLCFOK()
|
|
{
|
|
this.DHGKHIBIEJB();
|
|
this.AAMGCOILKKB = base.StartCoroutine(this.FDCMFJAFDPE());
|
|
}
|
|
|
|
// Token: 0x06022032 RID: 139314 RVA: 0x0094DFAC File Offset: 0x0094C1AC
|
|
private void KBOBPEOOHHL()
|
|
{
|
|
if (this.AAMGCOILKKB != null)
|
|
{
|
|
base.StopCoroutine(this.AAMGCOILKKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022033 RID: 139315 RVA: 0x0094DFC8 File Offset: 0x0094C1C8
|
|
private void IBDBHNCFCMG()
|
|
{
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
}
|
|
if (this.NAPFHNPKDIF != null)
|
|
{
|
|
this.NAPFHNPKDIF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022034 RID: 139316 RVA: 0x0094E018 File Offset: 0x0094C218
|
|
public DynamicMeshTrail BAEPLDMGKFC()
|
|
{
|
|
return this.<FDCGOCGCJCE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022035 RID: 139317 RVA: 0x0094E020 File Offset: 0x0094C220
|
|
public void ECJNOLAHKEA(Color NOBAPCOKFIL)
|
|
{
|
|
if (this.BAEPLDMGKFC() != null)
|
|
{
|
|
this.BAEPLDMGKFC().GBLPHKFPELB = NOBAPCOKFIL;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022036 RID: 139318 RVA: 0x0094E040 File Offset: 0x0094C240
|
|
private void OCPJBJPHCJI()
|
|
{
|
|
if (this.AAMGCOILKKB != null)
|
|
{
|
|
base.StopCoroutine(this.AAMGCOILKKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022037 RID: 139319 RVA: 0x0094E05C File Offset: 0x0094C25C
|
|
public void LOOEBMFMBJN(bool NOBAPCOKFIL)
|
|
{
|
|
this.BNJONCEMCFO = NOBAPCOKFIL;
|
|
for (int i = 1; i < this.AMNMKGADFEK().Length; i++)
|
|
{
|
|
this.AMNMKGADFEK()[i].enabled = !this.OJGFAODNJEP() || this.NIINOABKAPJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022038 RID: 139320 RVA: 0x0094E0AC File Offset: 0x0094C2AC
|
|
private void BMNOPGPFLNJ(MeleeWeaponCollider[] NOBAPCOKFIL)
|
|
{
|
|
this.<ICEOCKCNBJH>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000FEB RID: 4075
|
|
// (get) Token: 0x06022046 RID: 139334 RVA: 0x0094E49C File Offset: 0x0094C69C
|
|
// (set) Token: 0x06022039 RID: 139321 RVA: 0x0094E0B8 File Offset: 0x0094C2B8
|
|
public DynamicMeshTrail DMJOKNKIPPG { get; private set; }
|
|
|
|
// Token: 0x0602203A RID: 139322 RVA: 0x0094E0C4 File Offset: 0x0094C2C4
|
|
public void KJODBGNDJBG(bool NOBAPCOKFIL)
|
|
{
|
|
this.NCHCBAEJPPP = NOBAPCOKFIL;
|
|
if (this.INLBDFPKEOM() != null)
|
|
{
|
|
this.BAEPLDMGKFC().enabled = this.IIEGGLHMOBH && this.OOAMHFCGIKJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602203C RID: 139324 RVA: 0x0094E150 File Offset: 0x0094C350
|
|
public bool BGGEHGOOIMF()
|
|
{
|
|
return this.NCHCBAEJPPP;
|
|
}
|
|
|
|
// Token: 0x0602203D RID: 139325 RVA: 0x0094E158 File Offset: 0x0094C358
|
|
private void EIMPMCFDMIA()
|
|
{
|
|
this.KOMHIINBPCK = base.GetComponentsInChildren<RagdollPiece>(true);
|
|
this.CLPACJHMIFB = new Vector3[this.KOMHIINBPCK.Length];
|
|
this.CDCFBMHNDGI = new Quaternion[this.KOMHIINBPCK.Length];
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i += 0)
|
|
{
|
|
this.CLPACJHMIFB[i] = base.transform.InverseTransformPoint(this.KOMHIINBPCK[i].transform.position);
|
|
this.CDCFBMHNDGI[i] = base.transform.MCKNNGGGBDG(this.KOMHIINBPCK[i].transform.rotation);
|
|
}
|
|
this.GPCIFAAJMFL(base.GetComponentInChildren<DynamicMeshTrail>());
|
|
this.KLEBPEHJMOG(base.GetComponentsInChildren<MeleeWeaponCollider>());
|
|
}
|
|
|
|
// Token: 0x0602203E RID: 139326 RVA: 0x0094E228 File Offset: 0x0094C428
|
|
private void KMEHAACNJAG()
|
|
{
|
|
this.KOMHIINBPCK = base.GetComponentsInChildren<RagdollPiece>(false);
|
|
this.CLPACJHMIFB = new Vector3[this.KOMHIINBPCK.Length];
|
|
this.CDCFBMHNDGI = new Quaternion[this.KOMHIINBPCK.Length];
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.CLPACJHMIFB[i] = base.transform.InverseTransformPoint(this.KOMHIINBPCK[i].transform.position);
|
|
this.CDCFBMHNDGI[i] = base.transform.MCKNNGGGBDG(this.KOMHIINBPCK[i].transform.rotation);
|
|
}
|
|
this.DMJOKNKIPPG = base.GetComponentInChildren<DynamicMeshTrail>();
|
|
this.BMNOPGPFLNJ(base.GetComponentsInChildren<MeleeWeaponCollider>());
|
|
}
|
|
|
|
// Token: 0x0602203F RID: 139327 RVA: 0x0094E2F8 File Offset: 0x0094C4F8
|
|
private void MPEDDBPNDCO()
|
|
{
|
|
this.HNLKLHMPLGB();
|
|
this.AAMGCOILKKB = base.StartCoroutine(this.FDCMFJAFDPE());
|
|
}
|
|
|
|
// Token: 0x17000FEC RID: 4076
|
|
// (get) Token: 0x06022050 RID: 139344 RVA: 0x0094E600 File Offset: 0x0094C800
|
|
// (set) Token: 0x06022040 RID: 139328 RVA: 0x0094E314 File Offset: 0x0094C514
|
|
public MeleeWeaponCollider[] MKJDOPCNNPA { get; private set; }
|
|
|
|
// Token: 0x06022041 RID: 139329 RVA: 0x0094E320 File Offset: 0x0094C520
|
|
public void DFLPCIINECA(Action NOBAPCOKFIL)
|
|
{
|
|
Action action = this.NAPFHNPKDIF;
|
|
Action action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action>(ref this.NAPFHNPKDIF, (Action)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06022042 RID: 139330 RVA: 0x0094E358 File Offset: 0x0094C558
|
|
private void NFMCMGBEILE()
|
|
{
|
|
this.DHGKHIBIEJB();
|
|
this.AAMGCOILKKB = base.StartCoroutine(this.EMAEPHNKCDI());
|
|
}
|
|
|
|
// Token: 0x06022043 RID: 139331 RVA: 0x0094E374 File Offset: 0x0094C574
|
|
private void JHNGPHJGFCF()
|
|
{
|
|
this.KOMHIINBPCK = base.GetComponentsInChildren<RagdollPiece>(false);
|
|
this.CLPACJHMIFB = new Vector3[this.KOMHIINBPCK.Length];
|
|
this.CDCFBMHNDGI = new Quaternion[this.KOMHIINBPCK.Length];
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i += 0)
|
|
{
|
|
this.CLPACJHMIFB[i] = base.transform.InverseTransformPoint(this.KOMHIINBPCK[i].transform.position);
|
|
this.CDCFBMHNDGI[i] = base.transform.MCKNNGGGBDG(this.KOMHIINBPCK[i].transform.rotation);
|
|
}
|
|
this.GPCIFAAJMFL(base.GetComponentInChildren<DynamicMeshTrail>());
|
|
this.HENCEAIADEP(base.GetComponentsInChildren<MeleeWeaponCollider>());
|
|
}
|
|
|
|
// Token: 0x06022044 RID: 139332 RVA: 0x0094E444 File Offset: 0x0094C644
|
|
public void GFHOJKOOPKB(bool NOBAPCOKFIL)
|
|
{
|
|
this.BNJONCEMCFO = NOBAPCOKFIL;
|
|
for (int i = 0; i < this.AMNMKGADFEK().Length; i += 0)
|
|
{
|
|
this.KPHAJKGIAHC()[i].enabled = !this.MNABBBKCACL() || this.NIINOABKAPJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000FF0 RID: 4080
|
|
// (get) Token: 0x06022045 RID: 139333 RVA: 0x0094E494 File Offset: 0x0094C694
|
|
// (set) Token: 0x0602205A RID: 139354 RVA: 0x0094E7E8 File Offset: 0x0094C9E8
|
|
public bool IIEGGLHMOBH
|
|
{
|
|
get
|
|
{
|
|
return this.NCHCBAEJPPP;
|
|
}
|
|
set
|
|
{
|
|
this.NCHCBAEJPPP = value;
|
|
if (this.DMJOKNKIPPG != null)
|
|
{
|
|
this.DMJOKNKIPPG.enabled = this.IIEGGLHMOBH && this.NIINOABKAPJ;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022047 RID: 139335 RVA: 0x0094E4A4 File Offset: 0x0094C6A4
|
|
public void EAIDGLFNHBN(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
this.KOMHIINBPCK[i].KLGBJCHGAOC(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.MPEDDBPNDCO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022049 RID: 139337 RVA: 0x0094E538 File Offset: 0x0094C738
|
|
private IEnumerator FDCMFJAFDPE()
|
|
{
|
|
num = Time.time + MeleeWeaponChunk.DKJEENMBBLL;
|
|
while (Time.time < num)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.IBDBHNCFCMG();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602204A RID: 139338 RVA: 0x0094E554 File Offset: 0x0094C754
|
|
private void LLBLOKMKOIJ()
|
|
{
|
|
if (this.AAMGCOILKKB != null)
|
|
{
|
|
base.StopCoroutine(this.AAMGCOILKKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000FED RID: 4077
|
|
// (get) Token: 0x0602204B RID: 139339 RVA: 0x0094E570 File Offset: 0x0094C770
|
|
// (set) Token: 0x0602205C RID: 139356 RVA: 0x0094E82C File Offset: 0x0094CA2C
|
|
public bool NIINOABKAPJ
|
|
{
|
|
get
|
|
{
|
|
return this.OHJCLBMIKDJ;
|
|
}
|
|
set
|
|
{
|
|
this.OHJCLBMIKDJ = value;
|
|
for (int i = 0; i < this.MKJDOPCNNPA.Length; i++)
|
|
{
|
|
this.MKJDOPCNNPA[i].enabled = this.FNIBBNGFPBK && this.NIINOABKAPJ;
|
|
}
|
|
if (this.DMJOKNKIPPG != null)
|
|
{
|
|
this.DMJOKNKIPPG.enabled = this.IIEGGLHMOBH && this.NIINOABKAPJ;
|
|
}
|
|
if (value)
|
|
{
|
|
this.NIGLIMBINJB();
|
|
}
|
|
else if (!this.MPJBKMHOFMD())
|
|
{
|
|
this.IBDBHNCFCMG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602204C RID: 139340 RVA: 0x0094E578 File Offset: 0x0094C778
|
|
public bool OOAMHFCGIKJ()
|
|
{
|
|
return this.OHJCLBMIKDJ;
|
|
}
|
|
|
|
// Token: 0x0602204D RID: 139341 RVA: 0x0094E580 File Offset: 0x0094C780
|
|
public bool OJGFAODNJEP()
|
|
{
|
|
return this.BNJONCEMCFO;
|
|
}
|
|
|
|
// Token: 0x0602204E RID: 139342 RVA: 0x0094E588 File Offset: 0x0094C788
|
|
public void BFHKDMBMMCB(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i += 0)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
this.KOMHIINBPCK[i].KLGBJCHGAOC(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.MPEDDBPNDCO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602204F RID: 139343 RVA: 0x0094E5E4 File Offset: 0x0094C7E4
|
|
private void HNLKLHMPLGB()
|
|
{
|
|
if (this.AAMGCOILKKB != null)
|
|
{
|
|
base.StopCoroutine(this.AAMGCOILKKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022051 RID: 139345 RVA: 0x0094E608 File Offset: 0x0094C808
|
|
public void FGKFDPGIPLG(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
this.KOMHIINBPCK[i].HDMEOIJFJLM(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.NFMCMGBEILE();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022052 RID: 139346 RVA: 0x0094E664 File Offset: 0x0094C864
|
|
private bool MPJBKMHOFMD()
|
|
{
|
|
return this.AAMGCOILKKB != null;
|
|
}
|
|
|
|
// Token: 0x06022053 RID: 139347 RVA: 0x0094E674 File Offset: 0x0094C874
|
|
public void UpdateTrailOpacity(float NIDIAMMOKJP, float OOJEAIJIKFG)
|
|
{
|
|
if (this.DMJOKNKIPPG != null)
|
|
{
|
|
this.DMJOKNKIPPG.BJCELJBPLPL = Mathf.SmoothDamp(this.DMJOKNKIPPG.BJCELJBPLPL, NIDIAMMOKJP, ref this.PAMKKKAIKKM, OOJEAIJIKFG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022054 RID: 139348 RVA: 0x0094E6AC File Offset: 0x0094C8AC
|
|
private void AGFLIFMGOHL(MeleeWeaponCollider[] NOBAPCOKFIL)
|
|
{
|
|
this.<ICEOCKCNBJH>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06022055 RID: 139349 RVA: 0x0094E6B8 File Offset: 0x0094C8B8
|
|
public void DJKNAPKLPND(Vector3 ONDBGEBPLHB, float AKILPIBBOGP)
|
|
{
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
this.KOMHIINBPCK[i].HDMEOIJFJLM(ONDBGEBPLHB, base.transform.position, AKILPIBBOGP);
|
|
this.GEIBNKHFJHA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022056 RID: 139350 RVA: 0x0094E714 File Offset: 0x0094C914
|
|
private void DHGKHIBIEJB()
|
|
{
|
|
if (this.AAMGCOILKKB != null)
|
|
{
|
|
base.StopCoroutine(this.AAMGCOILKKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022057 RID: 139351 RVA: 0x0094E730 File Offset: 0x0094C930
|
|
public MeleeWeaponCollider[] AMNMKGADFEK()
|
|
{
|
|
return this.<ICEOCKCNBJH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022058 RID: 139352 RVA: 0x0094E738 File Offset: 0x0094C938
|
|
private void LKJJPIMKGKG()
|
|
{
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
this.KOMHIINBPCK[i].StopRagdoll();
|
|
this.KOMHIINBPCK[i].transform.position = base.transform.TransformPoint(this.CLPACJHMIFB[i]);
|
|
this.KOMHIINBPCK[i].transform.rotation = base.transform.PAFJLHMDIMO(this.CDCFBMHNDGI[i]);
|
|
}
|
|
this.OCPJBJPHCJI();
|
|
}
|
|
|
|
// Token: 0x06022059 RID: 139353 RVA: 0x0094E7E0 File Offset: 0x0094C9E0
|
|
public MeleeWeaponCollider[] FLMNOJAMOIF()
|
|
{
|
|
return this.<ICEOCKCNBJH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0602205B RID: 139355 RVA: 0x0094E824 File Offset: 0x0094CA24
|
|
public DynamicMeshTrail GLKNJICPAPO()
|
|
{
|
|
return this.<FDCGOCGCJCE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0602205D RID: 139357 RVA: 0x0094E8CC File Offset: 0x0094CACC
|
|
private void MJNKDJFEJPH()
|
|
{
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
}
|
|
if (this.NAPFHNPKDIF != null)
|
|
{
|
|
this.NAPFHNPKDIF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602205E RID: 139358 RVA: 0x0094E91C File Offset: 0x0094CB1C
|
|
public void OHOIECJGOOP(Color NOBAPCOKFIL)
|
|
{
|
|
if (this.DMJOKNKIPPG != null)
|
|
{
|
|
this.BAEPLDMGKFC().GBLPHKFPELB = NOBAPCOKFIL;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602205F RID: 139359 RVA: 0x0094E93C File Offset: 0x0094CB3C
|
|
private void Awake()
|
|
{
|
|
this.KOMHIINBPCK = base.GetComponentsInChildren<RagdollPiece>(true);
|
|
this.CLPACJHMIFB = new Vector3[this.KOMHIINBPCK.Length];
|
|
this.CDCFBMHNDGI = new Quaternion[this.KOMHIINBPCK.Length];
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.CLPACJHMIFB[i] = base.transform.InverseTransformPoint(this.KOMHIINBPCK[i].transform.position);
|
|
this.CDCFBMHNDGI[i] = base.transform.MCKNNGGGBDG(this.KOMHIINBPCK[i].transform.rotation);
|
|
}
|
|
this.DMJOKNKIPPG = base.GetComponentInChildren<DynamicMeshTrail>();
|
|
this.MKJDOPCNNPA = base.GetComponentsInChildren<MeleeWeaponCollider>();
|
|
}
|
|
|
|
// Token: 0x06022060 RID: 139360 RVA: 0x0094EA0C File Offset: 0x0094CC0C
|
|
public DynamicMeshTrail JONIFKPLLOP()
|
|
{
|
|
return this.<FDCGOCGCJCE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06022061 RID: 139361 RVA: 0x0094EA14 File Offset: 0x0094CC14
|
|
public bool OFIIJMBFOCE()
|
|
{
|
|
return this.BNJONCEMCFO;
|
|
}
|
|
|
|
// Token: 0x06022062 RID: 139362 RVA: 0x0094EA1C File Offset: 0x0094CC1C
|
|
public void NOBDBNGHGAC(Color NOBAPCOKFIL)
|
|
{
|
|
if (this.DNMDCCONACI() != null)
|
|
{
|
|
this.GLKNJICPAPO().GBLPHKFPELB = NOBAPCOKFIL;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022063 RID: 139363 RVA: 0x0094EA3C File Offset: 0x0094CC3C
|
|
private void NIGLIMBINJB()
|
|
{
|
|
for (int i = 0; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
this.KOMHIINBPCK[i].StopRagdoll();
|
|
this.KOMHIINBPCK[i].transform.position = base.transform.TransformPoint(this.CLPACJHMIFB[i]);
|
|
this.KOMHIINBPCK[i].transform.rotation = base.transform.PAFJLHMDIMO(this.CDCFBMHNDGI[i]);
|
|
}
|
|
this.DHGKHIBIEJB();
|
|
}
|
|
|
|
// Token: 0x06022065 RID: 139365 RVA: 0x0094EAF0 File Offset: 0x0094CCF0
|
|
private void BOGAHIOEKIJ()
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(false);
|
|
}
|
|
if (this.NAPFHNPKDIF != null)
|
|
{
|
|
this.NAPFHNPKDIF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022066 RID: 139366 RVA: 0x0094EB40 File Offset: 0x0094CD40
|
|
private IEnumerator EMAEPHNKCDI()
|
|
{
|
|
num = Time.time + MeleeWeaponChunk.DKJEENMBBLL;
|
|
while (Time.time < num)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.IBDBHNCFCMG();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06022067 RID: 139367 RVA: 0x0094EB5C File Offset: 0x0094CD5C
|
|
public void BMNFPDOGOFP(float NIDIAMMOKJP, float OOJEAIJIKFG)
|
|
{
|
|
if (this.JONIFKPLLOP() != null)
|
|
{
|
|
this.GLKNJICPAPO().GDAMNILCOEK(Mathf.SmoothDamp(this.INLBDFPKEOM().BIPONFHIBIN(), NIDIAMMOKJP, ref this.PAMKKKAIKKM, OOJEAIJIKFG));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022068 RID: 139368 RVA: 0x0094EB94 File Offset: 0x0094CD94
|
|
private bool AFKFMEOIMIK()
|
|
{
|
|
return this.AAMGCOILKKB == null;
|
|
}
|
|
|
|
// Token: 0x06022069 RID: 139369 RVA: 0x0094EBA4 File Offset: 0x0094CDA4
|
|
private void GJGKBLMPLCN()
|
|
{
|
|
for (int i = 1; i < this.KOMHIINBPCK.Length; i++)
|
|
{
|
|
this.KOMHIINBPCK[i].gameObject.SetActive(true);
|
|
}
|
|
if (this.NAPFHNPKDIF != null)
|
|
{
|
|
this.NAPFHNPKDIF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602206A RID: 139370 RVA: 0x0094EBF4 File Offset: 0x0094CDF4
|
|
public bool KFDCOABKBFM()
|
|
{
|
|
return this.BNJONCEMCFO;
|
|
}
|
|
|
|
// Token: 0x0602206B RID: 139371 RVA: 0x0094EBFC File Offset: 0x0094CDFC
|
|
private void EOCIAEHCAPG(DynamicMeshTrail NOBAPCOKFIL)
|
|
{
|
|
this.<FDCGOCGCJCE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0602206C RID: 139372 RVA: 0x0094EC08 File Offset: 0x0094CE08
|
|
public void LGFEJDJDMOO(Action NOBAPCOKFIL)
|
|
{
|
|
Action action = this.NAPFHNPKDIF;
|
|
Action action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action>(ref this.NAPFHNPKDIF, (Action)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602206D RID: 139373 RVA: 0x0094EC40 File Offset: 0x0094CE40
|
|
public MeleeWeaponCollider[] EDDOFNLFFGH()
|
|
{
|
|
return this.<ICEOCKCNBJH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0602206E RID: 139374 RVA: 0x0094EC48 File Offset: 0x0094CE48
|
|
private void KLEBPEHJMOG(MeleeWeaponCollider[] NOBAPCOKFIL)
|
|
{
|
|
this.<ICEOCKCNBJH>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0602206F RID: 139375 RVA: 0x0094EC54 File Offset: 0x0094CE54
|
|
public void PAFCGAEEOHA(bool NOBAPCOKFIL)
|
|
{
|
|
this.BNJONCEMCFO = NOBAPCOKFIL;
|
|
for (int i = 0; i < this.EDDOFNLFFGH().Length; i += 0)
|
|
{
|
|
this.FLMNOJAMOIF()[i].enabled = this.MNABBBKCACL() && this.OOAMHFCGIKJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000FEF RID: 4079
|
|
// (set) Token: 0x06022070 RID: 139376 RVA: 0x0094ECA4 File Offset: 0x0094CEA4
|
|
public Color JGHDAAEFFEJ
|
|
{
|
|
set
|
|
{
|
|
if (this.DMJOKNKIPPG != null)
|
|
{
|
|
this.DMJOKNKIPPG.GBLPHKFPELB = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06022071 RID: 139377 RVA: 0x0094ECC4 File Offset: 0x0094CEC4
|
|
private void NGNFCKKNCEP(DynamicMeshTrail NOBAPCOKFIL)
|
|
{
|
|
this.<FDCGOCGCJCE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0400587C RID: 22652
|
|
private static readonly float DKJEENMBBLL = 5f;
|
|
|
|
// Token: 0x0400587D RID: 22653
|
|
private float PAMKKKAIKKM;
|
|
|
|
// Token: 0x0400587E RID: 22654
|
|
private RagdollPiece[] KOMHIINBPCK;
|
|
|
|
// Token: 0x0400587F RID: 22655
|
|
private Vector3[] CLPACJHMIFB;
|
|
|
|
// Token: 0x04005880 RID: 22656
|
|
private Quaternion[] CDCFBMHNDGI;
|
|
|
|
// Token: 0x04005881 RID: 22657
|
|
private Coroutine AAMGCOILKKB;
|
|
|
|
// Token: 0x04005882 RID: 22658
|
|
private bool OHJCLBMIKDJ = true;
|
|
|
|
// Token: 0x04005883 RID: 22659
|
|
private bool BNJONCEMCFO = true;
|
|
|
|
// Token: 0x04005884 RID: 22660
|
|
private bool NCHCBAEJPPP = true;
|
|
}
|
|
}
|