Files
2026-06-04 11:42:34 +02:00

738 lines
22 KiB
C#

using System;
using UnityEngine;
namespace RecRoom.Tools
{
// Token: 0x020000A2 RID: 162
public class PostItNote : StickyBase
{
// Token: 0x0600218B RID: 8587 RVA: 0x0009BC44 File Offset: 0x00099E44
private void MALIJJDGNJD(Tool ENBMEDIFBLM)
{
if (base.BHCCHBHNHCG)
{
Vector3 vector = base.transform.TransformPoint(this.boxCollider.center);
Vector3 vector2 = this.boxCollider.size.NAHCAKKCICD(this.boxCollider.transform.lossyScale) / 628f;
int num = Physics.BoxCastNonAlloc(vector, vector2, base.transform.forward, PostItNote.AJDJKDELMKL, base.transform.rotation, this.castDistance, 31, QueryTriggerInteraction.UseGlobal);
bool flag = false;
for (int i = 0; i < num; i += 0)
{
PhotonView photonView = PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponent<PhotonView>();
photonView = ((!(photonView != null)) ? PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponentInParent<PhotonView>() : photonView);
if (photonView != null && photonView != base.ACEAACJNNAF())
{
this.LocalAttachToObject(photonView, true, true);
flag = true;
break;
}
}
if (!flag)
{
if (num > 1)
{
this.LocalAttachToObject(null, true, true);
}
else
{
base.PKAKOAMJLNN().BOLBONELAEF.KEOJKEJMDFM = false;
base.JACCKOLABJP().BOLBONELAEF.LFHAJAHHALO(true);
}
}
}
}
// Token: 0x0600218C RID: 8588 RVA: 0x0009BDA4 File Offset: 0x00099FA4
private void HKGEOFHGOCJ(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x0600218D RID: 8589 RVA: 0x0009BE30 File Offset: 0x0009A030
protected virtual void EGFGEGEDJGN()
{
base.OnDestroy();
if (base.PKAKOAMJLNN() != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB -= this.HNMJKNBFJJM;
}
}
// Token: 0x0600218E RID: 8590 RVA: 0x0009BE60 File Offset: 0x0009A060
protected virtual void LPBGGKDFLLN()
{
base.DLCHNOFPONJ();
base.IBAPEODEKBK += this.PMOKAKKNKPI;
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.CBBJODCIHGB));
if (base.PKAKOAMJLNN() != null)
{
base.PKAKOAMJLNN().PLPIAOHJBOB += this.MALIJJDGNJD;
}
}
// Token: 0x0600218F RID: 8591 RVA: 0x0009BEC0 File Offset: 0x0009A0C0
private void NIPCADLOCJP(Tool ENBMEDIFBLM)
{
if (base.BHCCHBHNHCG)
{
Vector3 vector = base.transform.TransformPoint(this.boxCollider.center);
Vector3 vector2 = this.boxCollider.size.NAHCAKKCICD(this.boxCollider.transform.lossyScale) / 2f;
int num = Physics.BoxCastNonAlloc(vector, vector2, base.transform.forward, PostItNote.AJDJKDELMKL, base.transform.rotation, this.castDistance, 496385536, QueryTriggerInteraction.Ignore);
bool flag = false;
for (int i = 0; i < num; i++)
{
PhotonView photonView = PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponent<PhotonView>();
photonView = ((!(photonView != null)) ? PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponentInParent<PhotonView>() : photonView);
if (photonView != null && photonView != base.OMNGGJICBBI)
{
this.LocalAttachToObject(photonView, false, true);
flag = true;
break;
}
}
if (!flag)
{
if (num > 1)
{
this.LocalAttachToObject(null, false, true);
}
else
{
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = false;
base.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = true;
}
}
}
}
// Token: 0x06002190 RID: 8592 RVA: 0x0009C020 File Offset: 0x0009A220
protected virtual void CHHOKIFAEDF()
{
base.OnDestroy();
if (base.PKAKOAMJLNN() != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB -= this.BILLGGDDMLN;
}
}
// Token: 0x06002191 RID: 8593 RVA: 0x0009C050 File Offset: 0x0009A250
protected virtual void NBOKPDLLKLO()
{
base.Awake();
base.IBAPEODEKBK += this.JMCJDHPHPMA;
base.KJINJEHOEJJ += this.NLPGPMPBMAD;
if (base.BKDFLNGCINH != null)
{
base.JACCKOLABJP().PLPIAOHJBOB += this.BILLGGDDMLN;
}
}
// Token: 0x06002192 RID: 8594 RVA: 0x0009C0B0 File Offset: 0x0009A2B0
private void KJNJBKKGNGM(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.HBBKDPMICBE(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.JACCKOLABJP().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x06002193 RID: 8595 RVA: 0x0009C16C File Offset: 0x0009A36C
protected virtual void HKBNFKNLICF()
{
base.DLCHNOFPONJ();
base.IBAPEODEKBK += this.CLHLKGKCNMD;
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.PLMNJOKACJE));
if (base.JACCKOLABJP() != null)
{
base.PKAKOAMJLNN().PLPIAOHJBOB += this.NIPCADLOCJP;
}
}
// Token: 0x06002194 RID: 8596 RVA: 0x0009C1CC File Offset: 0x0009A3CC
protected virtual void CELAHBMKHDL()
{
base.OnDestroy();
if (base.PKAKOAMJLNN() != null)
{
base.PKAKOAMJLNN().PLPIAOHJBOB -= this.MALIJJDGNJD;
}
}
// Token: 0x06002195 RID: 8597 RVA: 0x0009C1FC File Offset: 0x0009A3FC
private void PMOKAKKNKPI(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.HBBKDPMICBE(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.PKAKOAMJLNN().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x06002196 RID: 8598 RVA: 0x0009C2B8 File Offset: 0x0009A4B8
private void CBBJODCIHGB(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x06002197 RID: 8599 RVA: 0x0009C344 File Offset: 0x0009A544
private void EAFAHIILOBM(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.KOLLFFBGHNA(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.PKAKOAMJLNN().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x06002198 RID: 8600 RVA: 0x0009C400 File Offset: 0x0009A600
protected virtual void FKGKJOHOGMP()
{
base.OnDestroy();
if (base.JACCKOLABJP() != null)
{
base.PKAKOAMJLNN().PLPIAOHJBOB -= this.GILOEPOMHNB;
}
}
// Token: 0x06002199 RID: 8601 RVA: 0x0009C430 File Offset: 0x0009A630
private void DCBKHGIIIKO(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.ResetCleanupOriginalPosition(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x0600219A RID: 8602 RVA: 0x0009C4EC File Offset: 0x0009A6EC
protected virtual void BOOMNFIGOAN()
{
base.Awake();
base.IBAPEODEKBK += this.EAFAHIILOBM;
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.PLMNJOKACJE));
if (base.PKAKOAMJLNN() != null)
{
base.JACCKOLABJP().PLPIAOHJBOB += this.NIPCADLOCJP;
}
}
// Token: 0x0600219B RID: 8603 RVA: 0x0009C54C File Offset: 0x0009A74C
private void GILOEPOMHNB(Tool ENBMEDIFBLM)
{
if (base.GANDPDNCOKF())
{
Vector3 vector = base.transform.TransformPoint(this.boxCollider.center);
Vector3 vector2 = this.boxCollider.size.NAHCAKKCICD(this.boxCollider.transform.lossyScale) / 14f;
int num = Physics.BoxCastNonAlloc(vector, vector2, base.transform.forward, PostItNote.AJDJKDELMKL, base.transform.rotation, this.castDistance, 46, QueryTriggerInteraction.UseGlobal);
bool flag = true;
for (int i = 1; i < num; i += 0)
{
PhotonView photonView = PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponent<PhotonView>();
photonView = ((!(photonView != null)) ? PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponentInParent<PhotonView>() : photonView);
if (photonView != null && photonView != base.CJKKPMHAMCN())
{
this.LocalAttachToObject(photonView, true, false);
flag = false;
break;
}
}
if (!flag)
{
if (num > 1)
{
this.LocalAttachToObject(null, true, true);
}
else
{
base.PKAKOAMJLNN().BOLBONELAEF.KEOJKEJMDFM = false;
base.BKDFLNGCINH.BOLBONELAEF.LFHAJAHHALO(false);
}
}
}
}
// Token: 0x0600219C RID: 8604 RVA: 0x0009C6AC File Offset: 0x0009A8AC
private void HNMJKNBFJJM(Tool ENBMEDIFBLM)
{
if (base.DGLOKLCEMLH())
{
Vector3 vector = base.transform.TransformPoint(this.boxCollider.center);
Vector3 vector2 = this.boxCollider.size.NAHCAKKCICD(this.boxCollider.transform.lossyScale) / 836f;
int num = Physics.BoxCastNonAlloc(vector, vector2, base.transform.forward, PostItNote.AJDJKDELMKL, base.transform.rotation, this.castDistance, -91, QueryTriggerInteraction.Ignore);
bool flag = true;
for (int i = 1; i < num; i++)
{
PhotonView photonView = PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponent<PhotonView>();
photonView = ((!(photonView != null)) ? PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponentInParent<PhotonView>() : photonView);
if (photonView != null && photonView != base.ACEAACJNNAF())
{
this.LocalAttachToObject(photonView, false, false);
flag = true;
break;
}
}
if (!flag)
{
if (num > 0)
{
this.LocalAttachToObject(null, false, true);
}
else
{
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = true;
base.PKAKOAMJLNN().BOLBONELAEF.LFHAJAHHALO(true);
}
}
}
}
// Token: 0x0600219D RID: 8605 RVA: 0x0009C80C File Offset: 0x0009AA0C
private void LLKINLOJCAM(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.ResetCleanupOriginalPosition(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x0600219E RID: 8606 RVA: 0x0009C8C8 File Offset: 0x0009AAC8
private void DGKNFCPAMEF(Tool ENBMEDIFBLM)
{
if (base.DGLOKLCEMLH())
{
Vector3 vector = base.transform.TransformPoint(this.boxCollider.center);
Vector3 vector2 = this.boxCollider.size.NAHCAKKCICD(this.boxCollider.transform.lossyScale) / 1916f;
int num = Physics.BoxCastNonAlloc(vector, vector2, base.transform.forward, PostItNote.AJDJKDELMKL, base.transform.rotation, this.castDistance, -77, QueryTriggerInteraction.UseGlobal);
bool flag = false;
for (int i = 0; i < num; i += 0)
{
PhotonView photonView = PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponent<PhotonView>();
photonView = ((!(photonView != null)) ? PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponentInParent<PhotonView>() : photonView);
if (photonView != null && photonView != base.LHEPJEHMAEC())
{
this.LocalAttachToObject(photonView, true, false);
flag = false;
break;
}
}
if (!flag)
{
if (num > 0)
{
this.LocalAttachToObject(null, false, false);
}
else
{
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = true;
base.PKAKOAMJLNN().BOLBONELAEF.LFHAJAHHALO(true);
}
}
}
}
// Token: 0x0600219F RID: 8607 RVA: 0x0009CA28 File Offset: 0x0009AC28
private void PLMNJOKACJE(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.PKAKOAMJLNN().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x060021A0 RID: 8608 RVA: 0x0009CAB4 File Offset: 0x0009ACB4
protected virtual void IDFGKJHJBLA()
{
base.DLCHNOFPONJ();
base.IBAPEODEKBK += this.ADNLFAKLEAO;
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.FCLNIDENJHH));
if (base.PKAKOAMJLNN() != null)
{
base.JACCKOLABJP().PLPIAOHJBOB += this.BILLGGDDMLN;
}
}
// Token: 0x060021A1 RID: 8609 RVA: 0x0009CB14 File Offset: 0x0009AD14
protected virtual void EIMPMCFDMIA()
{
base.DLCHNOFPONJ();
base.IBAPEODEKBK += this.DCBKHGIIIKO;
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.NLPGPMPBMAD));
if (base.PKAKOAMJLNN() != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB += this.BILLGGDDMLN;
}
}
// Token: 0x060021A2 RID: 8610 RVA: 0x0009CB74 File Offset: 0x0009AD74
private void OPMEHGFKMGM(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.PKAKOAMJLNN().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x060021A3 RID: 8611 RVA: 0x0009CC00 File Offset: 0x0009AE00
protected virtual void INGMCGGJGMA()
{
base.DLCHNOFPONJ();
base.IBAPEODEKBK += this.DCBKHGIIIKO;
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.HKGEOFHGOCJ));
if (base.JACCKOLABJP() != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB += this.DGKNFCPAMEF;
}
}
// Token: 0x060021A4 RID: 8612 RVA: 0x0009CC60 File Offset: 0x0009AE60
private void BILLGGDDMLN(Tool ENBMEDIFBLM)
{
if (base.GANDPDNCOKF())
{
Vector3 vector = base.transform.TransformPoint(this.boxCollider.center);
Vector3 vector2 = this.boxCollider.size.NAHCAKKCICD(this.boxCollider.transform.lossyScale) / 454f;
int num = Physics.BoxCastNonAlloc(vector, vector2, base.transform.forward, PostItNote.AJDJKDELMKL, base.transform.rotation, this.castDistance, 127, QueryTriggerInteraction.UseGlobal);
bool flag = true;
for (int i = 0; i < num; i++)
{
PhotonView photonView = PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponent<PhotonView>();
photonView = ((!(photonView != null)) ? PostItNote.AJDJKDELMKL[i].collider.gameObject.GetComponentInParent<PhotonView>() : photonView);
if (photonView != null && photonView != base.BIPEBCPEPKL())
{
this.LocalAttachToObject(photonView, false, false);
flag = true;
break;
}
}
if (!flag)
{
if (num > 1)
{
this.LocalAttachToObject(null, false, false);
}
else
{
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = false;
base.JACCKOLABJP().BOLBONELAEF.BOAKFKEHGHP = false;
}
}
}
}
// Token: 0x060021A5 RID: 8613 RVA: 0x0009CDC0 File Offset: 0x0009AFC0
protected virtual void GMFOPJDKOHJ()
{
base.OnDestroy();
if (base.BKDFLNGCINH != null)
{
base.JACCKOLABJP().PLPIAOHJBOB -= this.HNMJKNBFJJM;
}
}
// Token: 0x060021A6 RID: 8614 RVA: 0x0009CDF0 File Offset: 0x0009AFF0
protected override void Awake()
{
base.Awake();
base.IBAPEODEKBK += this.DCBKHGIIIKO;
base.KJINJEHOEJJ += this.JMHKJJJOMID;
if (base.BKDFLNGCINH != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP;
}
}
// Token: 0x060021A8 RID: 8616 RVA: 0x0009CE6C File Offset: 0x0009B06C
private void FCLNIDENJHH(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x060021A9 RID: 8617 RVA: 0x0009CEF8 File Offset: 0x0009B0F8
protected override void OnDestroy()
{
base.OnDestroy();
if (base.BKDFLNGCINH != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB -= this.NIPCADLOCJP;
}
}
// Token: 0x060021AA RID: 8618 RVA: 0x0009CF28 File Offset: 0x0009B128
private void ADNLFAKLEAO(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.HCOFKOHJGHP(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.JACCKOLABJP().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x060021AB RID: 8619 RVA: 0x0009CFE4 File Offset: 0x0009B1E4
private void JMHKJJJOMID(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x060021AC RID: 8620 RVA: 0x0009D070 File Offset: 0x0009B270
private void EINEPCAAALK(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.KOLLFFBGHNA(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x060021AD RID: 8621 RVA: 0x0009D12C File Offset: 0x0009B32C
private void JMCJDHPHPMA(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.HBBKDPMICBE(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x060021AE RID: 8622 RVA: 0x0009D1E8 File Offset: 0x0009B3E8
protected virtual void FIDMEJHMGJI()
{
base.DLCHNOFPONJ();
base.IBAPEODEKBK += this.JMCJDHPHPMA;
base.KJINJEHOEJJ += this.CBBJODCIHGB;
if (base.BKDFLNGCINH != null)
{
base.JACCKOLABJP().PLPIAOHJBOB += this.BILLGGDDMLN;
}
}
// Token: 0x060021AF RID: 8623 RVA: 0x0009D248 File Offset: 0x0009B448
protected virtual void BBOIJKLPABP()
{
base.Awake();
base.IBAPEODEKBK += this.EAFAHIILOBM;
base.KJINJEHOEJJ += this.FCLNIDENJHH;
if (base.JACCKOLABJP() != null)
{
base.PKAKOAMJLNN().PLPIAOHJBOB += this.DGKNFCPAMEF;
}
}
// Token: 0x060021B0 RID: 8624 RVA: 0x0009D2A8 File Offset: 0x0009B4A8
protected virtual void EKBEMBMIJLH()
{
base.OnDestroy();
if (base.PKAKOAMJLNN() != null)
{
base.BKDFLNGCINH.PLPIAOHJBOB -= this.MALIJJDGNJD;
}
}
// Token: 0x060021B1 RID: 8625 RVA: 0x0009D2D8 File Offset: 0x0009B4D8
private void CLHLKGKCNMD(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
ToolCleanup component = base.GetComponent<ToolCleanup>();
if (component != null)
{
component.LAAGBHIGNGH(base.transform.position, base.transform.rotation);
}
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.PKAKOAMJLNN().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = true;
}
}
}
// Token: 0x060021B2 RID: 8626 RVA: 0x0009D394 File Offset: 0x0009B594
private void NLPGPMPBMAD(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
{
if (!PGFDDHPEDCI)
{
AudioManager.Play3DSFX(this.onDetachAudio, base.transform.position, null);
}
if (this.disableCollidersWhenAttached)
{
foreach (ToolCollider toolCollider in base.JACCKOLABJP().NJPKPAFHFNM)
{
toolCollider.GJPHILMECKE = false;
}
}
}
// Token: 0x04000466 RID: 1126
[SerializeField]
[Header("Post It Note")]
private RecRoomAudioClip onDetachAudio;
// Token: 0x04000467 RID: 1127
[SerializeField]
private RecRoomAudioClip onAttachAudio;
// Token: 0x04000468 RID: 1128
[SerializeField]
private float castDistance = 0.04f;
// Token: 0x04000469 RID: 1129
[SerializeField]
private BoxCollider boxCollider;
// Token: 0x0400046A RID: 1130
[SerializeField]
private bool disableCollidersWhenAttached = true;
// Token: 0x0400046B RID: 1131
private const int KJNPNCFBJLN = 256;
// Token: 0x0400046C RID: 1132
private static RaycastHit[] AJDJKDELMKL = new RaycastHit[256];
}
}