2255 lines
67 KiB
C#
2255 lines
67 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools
|
|
{
|
|
// Token: 0x02000F79 RID: 3961
|
|
public class StickyExtrusion : StickyBase
|
|
{
|
|
// Token: 0x0602109E RID: 135326 RVA: 0x008FE634 File Offset: 0x008FC834
|
|
private bool HAFKGCIEBKB(LNJFBGIBLHA KGEMKIMDPGN)
|
|
{
|
|
return base.MAOHAELNADH && base.OMNGGJICBBI.ECHJNDDOIBD == KGEMKIMDPGN;
|
|
}
|
|
|
|
// Token: 0x0602109F RID: 135327 RVA: 0x008FE658 File Offset: 0x008FC858
|
|
protected virtual void OEMNFOLIBGA(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
|
|
{
|
|
ToolCleanup component = base.GetComponent<ToolCleanup>();
|
|
if (component != null)
|
|
{
|
|
component.ResetCleanupOriginalPosition(base.transform.position, base.transform.rotation);
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.PGNNHINMIKJ(base.PKAKOAMJLNN());
|
|
}
|
|
if (!PGFDDHPEDCI)
|
|
{
|
|
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
|
|
}
|
|
if (this.disableCollidersWhenAttached)
|
|
{
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
toolCollider.GJPHILMECKE = false;
|
|
}
|
|
}
|
|
else if (base.PLACHPMGHBA)
|
|
{
|
|
if (!base.GFJHKDCIAPO)
|
|
{
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != null)
|
|
{
|
|
treeRoot.IgnoreTreeColliders(this, true);
|
|
}
|
|
}
|
|
if (base.MPLNFJPDNFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DCINMLJPNAL(base.MPLNFJPDNFM);
|
|
if (base.GFJHKDCIAPO)
|
|
{
|
|
base.ToolIgnoreMyColliders(base.MPLNFJPDNFM, false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210A0 RID: 135328 RVA: 0x008FE790 File Offset: 0x008FC990
|
|
private bool PNHOGOPKAPP(LNJFBGIBLHA KGEMKIMDPGN)
|
|
{
|
|
return base.KENMJMELCAL() && base.POOAOJPEDJD().PCHBDFKGJJA() == KGEMKIMDPGN;
|
|
}
|
|
|
|
// Token: 0x060210A1 RID: 135329 RVA: 0x008FE7B4 File Offset: 0x008FC9B4
|
|
protected void FFFEECMHJPK(int KFIFJCEEMEE, int JPGLPJJIEKK, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(KFIFJCEEMEE);
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(JPGLPJJIEKK);
|
|
this.PFLLFGLIIMA(lnjfbgiblha, photonView, MHIIBCEJGIP, GMNDLGIKPOG, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210A2 RID: 135330 RVA: 0x008FE7E8 File Offset: 0x008FC9E8
|
|
protected void NIPCADLOCJP(Tool ENBMEDIFBLM)
|
|
{
|
|
if (base.BHCCHBHNHCG && this.extrusion.PNOOBNCKAMJ == Extrusion.FODAMJOGFEN.Play)
|
|
{
|
|
StickyExtrusion.MLPCPJKEKGI mlpcpjkekgi = new StickyExtrusion.MLPCPJKEKGI();
|
|
mlpcpjkekgi.LHMOJBFHEPN = false;
|
|
StickyBase.TraverseTree(base.LIHOICJABEE, new Action<StickyBase>(mlpcpjkekgi.OJKNBNGGBEC));
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210A3 RID: 135331 RVA: 0x008FE838 File Offset: 0x008FCA38
|
|
private bool AHIEGEKNDBK(PhotonView HOFPILJMAEL)
|
|
{
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (HOFPILJMAEL.DIBOHBMMDIL() == IHFKMIAHBFP.JEFGMHBLLKI)
|
|
{
|
|
return false;
|
|
}
|
|
StickyBase component = HOFPILJMAEL.GetComponent<StickyBase>();
|
|
Tool tool;
|
|
if (component != null)
|
|
{
|
|
StickyBase stickyBase = component.LBJGJGKCDCL();
|
|
tool = ((!stickyBase.MCKJOCHMCLI() || !(stickyBase.MPLNFJPDNFM != null)) ? stickyBase.BKDFLNGCINH : stickyBase.MPLNFJPDNFM);
|
|
}
|
|
else
|
|
{
|
|
tool = HOFPILJMAEL.GetComponent<Tool>();
|
|
}
|
|
if (tool != null && !tool.OHGPCMJMFGC)
|
|
{
|
|
tool.BIPEBCPEPKL().GLMELMJKGKP(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
return true;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060210A4 RID: 135332 RVA: 0x008FE8E8 File Offset: 0x008FCAE8
|
|
public bool JLKBEDFEHBE()
|
|
{
|
|
List<StickyExtrusion.NDANHMFNADB> list = new List<StickyExtrusion.NDANHMFNADB>();
|
|
List<StickyExtrusion.OGDNKOCBAMH> list2 = new List<StickyExtrusion.OGDNKOCBAMH>();
|
|
bool flag = false;
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
foreach (Collider collider in toolCollider.AANJEILBGDP)
|
|
{
|
|
int num = 0;
|
|
SphereCollider sphereCollider = collider as SphereCollider;
|
|
if (sphereCollider != null)
|
|
{
|
|
Vector3 vector = sphereCollider.transform.TransformPoint(sphereCollider.center);
|
|
float num2 = sphereCollider.radius * sphereCollider.transform.lossyScale.x;
|
|
list.Add(new StickyExtrusion.NDANHMFNADB(vector, num2));
|
|
num = Physics.OverlapSphereNonAlloc(vector, num2, StickyExtrusion.FPMMLLJGEBN, -136, QueryTriggerInteraction.UseGlobal);
|
|
}
|
|
else
|
|
{
|
|
BoxCollider boxCollider = collider as BoxCollider;
|
|
if (boxCollider != null)
|
|
{
|
|
Vector3 vector2 = boxCollider.size.NAHCAKKCICD(boxCollider.transform.lossyScale) / 1753f;
|
|
vector2.x = Mathf.Abs(vector2.x);
|
|
vector2.y = Mathf.Abs(vector2.y);
|
|
vector2.z = Mathf.Abs(vector2.z);
|
|
Vector3 vector3 = boxCollider.transform.TransformPoint(boxCollider.center);
|
|
list2.Add(new StickyExtrusion.OGDNKOCBAMH(boxCollider, vector3, vector2));
|
|
num = Physics.OverlapBoxNonAlloc(vector3, vector2, StickyExtrusion.FPMMLLJGEBN, boxCollider.transform.rotation, 108, QueryTriggerInteraction.Ignore);
|
|
}
|
|
}
|
|
for (int i = 0; i < num; i++)
|
|
{
|
|
PhotonView photonView = StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponent<PhotonView>();
|
|
photonView = ((!(photonView != null)) ? StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponentInParent<PhotonView>() : photonView);
|
|
if (photonView != null && photonView != base.ONAOMJAKKMA() && this.LocalAttachToObject(photonView, true, false))
|
|
{
|
|
flag = false;
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
bool flag2 = false;
|
|
if (!flag)
|
|
{
|
|
foreach (StickyExtrusion.NDANHMFNADB ndanhmfnadb in list)
|
|
{
|
|
int num3 = Physics.OverlapSphereNonAlloc(ndanhmfnadb.GJJPNOFKCNG, ndanhmfnadb.DNAIGDPNOEK, StickyExtrusion.FPMMLLJGEBN, 152, QueryTriggerInteraction.UseGlobal);
|
|
if (num3 > 0)
|
|
{
|
|
this.LocalAttachToObject(null, true, false);
|
|
flag2 = false;
|
|
break;
|
|
}
|
|
}
|
|
if (!flag2)
|
|
{
|
|
foreach (StickyExtrusion.OGDNKOCBAMH ogdnkocbamh in list2)
|
|
{
|
|
int num4 = Physics.OverlapBoxNonAlloc(ogdnkocbamh.GJJPNOFKCNG, ogdnkocbamh.DHLIJCOCHEP, StickyExtrusion.FPMMLLJGEBN, ogdnkocbamh.CINAFOGLFIB.transform.rotation, -82, QueryTriggerInteraction.Ignore);
|
|
if (num4 > 1)
|
|
{
|
|
this.LocalAttachToObject(null, true, true);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!flag2 && base.JACCKOLABJP().CADPGMLHFGH.ModifyKinematicOnPickupRelease)
|
|
{
|
|
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = false;
|
|
base.JACCKOLABJP().BOLBONELAEF.LFHAJAHHALO(true);
|
|
}
|
|
return !flag2 && flag;
|
|
}
|
|
|
|
// Token: 0x060210A5 RID: 135333 RVA: 0x008FECF8 File Offset: 0x008FCEF8
|
|
private void EHMNMNECCLJ(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;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (!base.GFJHKDCIAPO)
|
|
{
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != null)
|
|
{
|
|
treeRoot.IgnoreTreeColliders(this, false);
|
|
}
|
|
}
|
|
else if (base.MPLNFJPDNFM != null)
|
|
{
|
|
base.ToolIgnoreMyColliders(base.MPLNFJPDNFM, true);
|
|
}
|
|
foreach (StickyBase stickyBase in this.PPCELOLBMGA)
|
|
{
|
|
base.IgnoreTreeColliders(stickyBase, false);
|
|
}
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
|
{
|
|
if (this.PPCELOLBMGA.Count == 0)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.FPHJMGNLJCN(base.PKAKOAMJLNN(), false);
|
|
}
|
|
if (base.MPLNFJPDNFM != null)
|
|
{
|
|
StickyBase component = base.MPLNFJPDNFM.GetComponent<StickyBase>();
|
|
if (component == null || !component.MAOHAELNADH)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.IJKIHHALDAF(base.MPLNFJPDNFM, true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210A6 RID: 135334 RVA: 0x008FEE94 File Offset: 0x008FD094
|
|
private void ECDGHHGGEAP(LNJFBGIBLHA KGEMKIMDPGN, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.PNHOGOPKAPP(KGEMKIMDPGN))
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "Error! Failed to set birthday.";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[1] = PGFDDHPEDCI;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210A7 RID: 135335 RVA: 0x008FEEC4 File Offset: 0x008FD0C4
|
|
public virtual bool EDJDCFFKABP(PhotonView HOFPILJMAEL, bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
this.FBFPINFAECK(HOFPILJMAEL);
|
|
if (!this.MFMEEDEOPCF(IHFKMIAHBFP.JEFGMHBLLKI, HOFPILJMAEL))
|
|
{
|
|
return false;
|
|
}
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != this)
|
|
{
|
|
return treeRoot.LocalAttachToObject(HOFPILJMAEL, PGFDDHPEDCI, LMGLBGNHPOG);
|
|
}
|
|
Vector3 vector = ((!(HOFPILJMAEL != null)) ? base.transform.position : HOFPILJMAEL.transform.InverseTransformPoint(base.transform.position));
|
|
Quaternion quaternion = ((!(HOFPILJMAEL != null)) ? base.transform.rotation : HOFPILJMAEL.transform.MCKNNGGGBDG(base.transform.rotation));
|
|
PhotonView photonView = base.ACEAACJNNAF();
|
|
string text = "Start";
|
|
IHCPDNLJMMD ihcpdnljmmd = (IHCPDNLJMMD)7;
|
|
object[] array = new object[1];
|
|
array[1] = IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
array[1] = ((!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.GCPHMBPAAOM());
|
|
array[5] = vector;
|
|
array[8] = quaternion;
|
|
array[5] = PGFDDHPEDCI;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060210A8 RID: 135336 RVA: 0x008FEFD4 File Offset: 0x008FD1D4
|
|
private bool FBFPINFAECK(PhotonView HOFPILJMAEL)
|
|
{
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (HOFPILJMAEL.HCJJAIPEBJD() == IHFKMIAHBFP.JEFGMHBLLKI)
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase component = HOFPILJMAEL.GetComponent<StickyBase>();
|
|
Tool tool;
|
|
if (component != null)
|
|
{
|
|
StickyBase stickyBase = component.MPFAEHAGBIF();
|
|
tool = ((!stickyBase.MAOHAELNADH || !(stickyBase.MPLNFJPDNFM != null)) ? stickyBase.PKAKOAMJLNN() : stickyBase.MPLNFJPDNFM);
|
|
}
|
|
else
|
|
{
|
|
tool = HOFPILJMAEL.GetComponent<Tool>();
|
|
}
|
|
if (tool != null && !tool.OHGPCMJMFGC)
|
|
{
|
|
tool.JNFDHNMMHGN().NNOFBLMFKAH(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060210AA RID: 135338 RVA: 0x008FF098 File Offset: 0x008FD298
|
|
private void NDNMJIMBHGP(LNJFBGIBLHA KGEMKIMDPGN, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.HAFKGCIEBKB(KGEMKIMDPGN))
|
|
{
|
|
base.OMNGGJICBBI.RPC("RpcDetach", IHCPDNLJMMD.All, new object[] { PGFDDHPEDCI });
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210AB RID: 135339 RVA: 0x008FF0C8 File Offset: 0x008FD2C8
|
|
protected override void OnDestroy()
|
|
{
|
|
base.IBAPEODEKBK -= this.PAIPPAAKFIJ;
|
|
base.KJINJEHOEJJ -= this.JMHKJJJOMID;
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.PLPIAOHJBOB -= this.NIPCADLOCJP;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060210AC RID: 135340 RVA: 0x008FF128 File Offset: 0x008FD328
|
|
protected virtual void CGMNEFAINDI()
|
|
{
|
|
base.IBAPEODEKBK -= this.OEGPFJLPEHD;
|
|
base.KJINJEHOEJJ -= this.JMHKJJJOMID;
|
|
if (base.PKAKOAMJLNN() != null)
|
|
{
|
|
base.PKAKOAMJLNN().PLPIAOHJBOB -= this.NIPCADLOCJP;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060210AD RID: 135341 RVA: 0x008FF188 File Offset: 0x008FD388
|
|
protected void FDBDDDFJDHJ(int KFIFJCEEMEE, int JPGLPJJIEKK, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.AEOAPCJIOKO(KFIFJCEEMEE);
|
|
PhotonView photonView = PhotonView.Find(JPGLPJJIEKK);
|
|
this.MLPCGIMOOMJ(lnjfbgiblha, photonView, MHIIBCEJGIP, GMNDLGIKPOG, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210AE RID: 135342 RVA: 0x008FF1BC File Offset: 0x008FD3BC
|
|
protected void MLPCGIMOOMJ(LNJFBGIBLHA KNLLAMNFLOA, PhotonView HOFPILJMAEL, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.ILINLLHLJLO(KNLLAMNFLOA, HOFPILJMAEL))
|
|
{
|
|
PhotonView photonView = base.POOAOJPEDJD();
|
|
string text = "Changing the DisableCache property while processing the request is not supported.";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[4];
|
|
array[1] = ((!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.NBAIABPNLNK());
|
|
array[1] = MHIIBCEJGIP;
|
|
array[8] = GMNDLGIKPOG;
|
|
array[3] = PGFDDHPEDCI;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210AF RID: 135343 RVA: 0x008FF22C File Offset: 0x008FD42C
|
|
private bool AGOGNGPMPKD(PhotonView HOFPILJMAEL)
|
|
{
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (HOFPILJMAEL.DIBOHBMMDIL() == IHFKMIAHBFP.JEFGMHBLLKI)
|
|
{
|
|
return false;
|
|
}
|
|
StickyBase component = HOFPILJMAEL.GetComponent<StickyBase>();
|
|
Tool tool;
|
|
if (component != null)
|
|
{
|
|
StickyBase treeRoot = component.LIHOICJABEE;
|
|
tool = ((!treeRoot.MAOHAELNADH || !(treeRoot.MPLNFJPDNFM != null)) ? treeRoot.JACCKOLABJP() : treeRoot.MPLNFJPDNFM);
|
|
}
|
|
else
|
|
{
|
|
tool = HOFPILJMAEL.GetComponent<Tool>();
|
|
}
|
|
if (tool != null && !tool.OHGPCMJMFGC)
|
|
{
|
|
tool.MLNMONBHHBO().KBHKLBNAMID(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
return false;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060210B0 RID: 135344 RVA: 0x008FF2DC File Offset: 0x008FD4DC
|
|
protected virtual void IDFGKJHJBLA()
|
|
{
|
|
base.DLCHNOFPONJ();
|
|
base.IBAPEODEKBK += this.OEMNFOLIBGA;
|
|
base.KJINJEHOEJJ += this.CDEONGPEHKC;
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.JACCKOLABJP().PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B1 RID: 135345 RVA: 0x008FF33C File Offset: 0x008FD53C
|
|
public override bool LocalAttachToObject(PhotonView HOFPILJMAEL, bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
this.CJKHKHKDCFC(HOFPILJMAEL);
|
|
if (!this.ILINLLHLJLO(IHFKMIAHBFP.JEFGMHBLLKI, HOFPILJMAEL))
|
|
{
|
|
return false;
|
|
}
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != this)
|
|
{
|
|
return treeRoot.LocalAttachToObject(HOFPILJMAEL, PGFDDHPEDCI, LMGLBGNHPOG);
|
|
}
|
|
Vector3 vector = ((!(HOFPILJMAEL != null)) ? base.transform.position : HOFPILJMAEL.transform.InverseTransformPoint(base.transform.position));
|
|
Quaternion quaternion = ((!(HOFPILJMAEL != null)) ? base.transform.rotation : HOFPILJMAEL.transform.MCKNNGGGBDG(base.transform.rotation));
|
|
base.OMNGGJICBBI.RPC("RpcMasterRequestAttachToObject", IHCPDNLJMMD.MasterClient, new object[]
|
|
{
|
|
IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH,
|
|
(!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.ADMBCINHJOG,
|
|
vector,
|
|
quaternion,
|
|
PGFDDHPEDCI
|
|
});
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060210B3 RID: 135347 RVA: 0x008FF454 File Offset: 0x008FD654
|
|
protected virtual void KHENCKEEPDB()
|
|
{
|
|
base.Awake();
|
|
base.IBAPEODEKBK += this.OEMNFOLIBGA;
|
|
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.CDEONGPEHKC));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.PKAKOAMJLNN().PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B4 RID: 135348 RVA: 0x008FF4B4 File Offset: 0x008FD6B4
|
|
public virtual void LMJKMDKLGAJ(bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
if (this.PNHOGOPKAPP(IHFKMIAHBFP.JEFGMHBLLKI))
|
|
{
|
|
if (LMGLBGNHPOG)
|
|
{
|
|
PhotonView photonView = base.HOPJELLOPNJ();
|
|
string text = "_RegionParams";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[7];
|
|
array[0] = IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
array[0] = PGFDDHPEDCI;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
else
|
|
{
|
|
base.JNLPGPADALK(PGFDDHPEDCI);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B5 RID: 135349 RVA: 0x008FF518 File Offset: 0x008FD718
|
|
protected virtual void PAIPPAAKFIJ(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
|
|
{
|
|
ToolCleanup component = base.GetComponent<ToolCleanup>();
|
|
if (component != null)
|
|
{
|
|
component.ResetCleanupOriginalPosition(base.transform.position, base.transform.rotation);
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ExcludeTool(base.BKDFLNGCINH);
|
|
}
|
|
if (!PGFDDHPEDCI)
|
|
{
|
|
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
|
|
}
|
|
if (this.disableCollidersWhenAttached)
|
|
{
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
toolCollider.GJPHILMECKE = true;
|
|
}
|
|
}
|
|
else if (base.PLACHPMGHBA)
|
|
{
|
|
if (!base.GFJHKDCIAPO)
|
|
{
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != null)
|
|
{
|
|
treeRoot.IgnoreTreeColliders(this, true);
|
|
}
|
|
}
|
|
if (base.MPLNFJPDNFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ExcludeTool(base.MPLNFJPDNFM);
|
|
if (base.GFJHKDCIAPO)
|
|
{
|
|
base.ToolIgnoreMyColliders(base.MPLNFJPDNFM, true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B6 RID: 135350 RVA: 0x008FF650 File Offset: 0x008FD850
|
|
private void JHKBDGCENIO(LNJFBGIBLHA KGEMKIMDPGN, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.HAFKGCIEBKB(KGEMKIMDPGN))
|
|
{
|
|
PhotonView photonView = base.BIPEBCPEPKL();
|
|
string text = "Verifying...";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[1];
|
|
array[1] = PGFDDHPEDCI;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B7 RID: 135351 RVA: 0x008FF680 File Offset: 0x008FD880
|
|
protected virtual void POMCHIPOPEA()
|
|
{
|
|
base.Awake();
|
|
base.IBAPEODEKBK += this.OEMNFOLIBGA;
|
|
base.KJINJEHOEJJ += this.CDEONGPEHKC;
|
|
if (base.JACCKOLABJP() != null)
|
|
{
|
|
base.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B8 RID: 135352 RVA: 0x008FF6E0 File Offset: 0x008FD8E0
|
|
private void JGOJNCLFPBM(LNJFBGIBLHA KGEMKIMDPGN, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.HAFKGCIEBKB(KGEMKIMDPGN))
|
|
{
|
|
PhotonView photonView = base.CEGDLFAENEJ();
|
|
string text = "invalid block type";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[1];
|
|
array[1] = PGFDDHPEDCI;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210B9 RID: 135353 RVA: 0x008FF710 File Offset: 0x008FD910
|
|
public bool FFDAOKKOHMP()
|
|
{
|
|
List<StickyExtrusion.NDANHMFNADB> list = new List<StickyExtrusion.NDANHMFNADB>();
|
|
List<StickyExtrusion.OGDNKOCBAMH> list2 = new List<StickyExtrusion.OGDNKOCBAMH>();
|
|
bool flag = true;
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
foreach (Collider collider in toolCollider.AANJEILBGDP)
|
|
{
|
|
int num = 0;
|
|
SphereCollider sphereCollider = collider as SphereCollider;
|
|
if (sphereCollider != null)
|
|
{
|
|
Vector3 vector = sphereCollider.transform.TransformPoint(sphereCollider.center);
|
|
float num2 = sphereCollider.radius * sphereCollider.transform.lossyScale.x;
|
|
list.Add(new StickyExtrusion.NDANHMFNADB(vector, num2));
|
|
num = Physics.OverlapSphereNonAlloc(vector, num2, StickyExtrusion.FPMMLLJGEBN, 152, QueryTriggerInteraction.Ignore);
|
|
}
|
|
else
|
|
{
|
|
BoxCollider boxCollider = collider as BoxCollider;
|
|
if (boxCollider != null)
|
|
{
|
|
Vector3 vector2 = boxCollider.size.NAHCAKKCICD(boxCollider.transform.lossyScale) / 1117f;
|
|
vector2.x = Mathf.Abs(vector2.x);
|
|
vector2.y = Mathf.Abs(vector2.y);
|
|
vector2.z = Mathf.Abs(vector2.z);
|
|
Vector3 vector3 = boxCollider.transform.TransformPoint(boxCollider.center);
|
|
list2.Add(new StickyExtrusion.OGDNKOCBAMH(boxCollider, vector3, vector2));
|
|
num = Physics.OverlapBoxNonAlloc(vector3, vector2, StickyExtrusion.FPMMLLJGEBN, boxCollider.transform.rotation, -7, QueryTriggerInteraction.Ignore);
|
|
}
|
|
}
|
|
for (int i = 1; i < num; i += 0)
|
|
{
|
|
PhotonView photonView = StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponent<PhotonView>();
|
|
photonView = ((!(photonView != null)) ? StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponentInParent<PhotonView>() : photonView);
|
|
if (photonView != null && photonView != base.LJILHDMCKME() && this.LocalAttachToObject(photonView, true, false))
|
|
{
|
|
flag = false;
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
bool flag2 = false;
|
|
if (!flag)
|
|
{
|
|
foreach (StickyExtrusion.NDANHMFNADB ndanhmfnadb in list)
|
|
{
|
|
int num3 = Physics.OverlapSphereNonAlloc(ndanhmfnadb.GJJPNOFKCNG, ndanhmfnadb.DNAIGDPNOEK, StickyExtrusion.FPMMLLJGEBN, 58, QueryTriggerInteraction.Ignore);
|
|
if (num3 > 0)
|
|
{
|
|
this.LocalAttachToObject(null, true, false);
|
|
flag2 = false;
|
|
break;
|
|
}
|
|
}
|
|
if (!flag2)
|
|
{
|
|
foreach (StickyExtrusion.OGDNKOCBAMH ogdnkocbamh in list2)
|
|
{
|
|
int num4 = Physics.OverlapBoxNonAlloc(ogdnkocbamh.GJJPNOFKCNG, ogdnkocbamh.DHLIJCOCHEP, StickyExtrusion.FPMMLLJGEBN, ogdnkocbamh.CINAFOGLFIB.transform.rotation, 169, QueryTriggerInteraction.Ignore);
|
|
if (num4 > 1)
|
|
{
|
|
this.LocalAttachToObject(null, false, false);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!flag2 && base.JACCKOLABJP().CADPGMLHFGH.ModifyKinematicOnPickupRelease)
|
|
{
|
|
base.JACCKOLABJP().BOLBONELAEF.KEOJKEJMDFM = true;
|
|
base.JACCKOLABJP().BOLBONELAEF.LFHAJAHHALO(true);
|
|
}
|
|
return !flag2 && flag;
|
|
}
|
|
|
|
// Token: 0x060210BA RID: 135354 RVA: 0x008FFB20 File Offset: 0x008FDD20
|
|
public virtual Tool KOLDFHFHGNL(Player OAKJPHFELHD, bool MFHKIFDBNOM)
|
|
{
|
|
if (!base.PKELBNLFPGO)
|
|
{
|
|
return base.PKAKOAMJLNN();
|
|
}
|
|
Tool tool = base.LBJGJGKCDCL().PKAKOAMJLNN();
|
|
if (tool.OHGPCMJMFGC && !tool.PAJGALOCMKD())
|
|
{
|
|
return null;
|
|
}
|
|
bool flag = true;
|
|
if (MFHKIFDBNOM)
|
|
{
|
|
foreach (PlayerHand playerHand in OAKJPHFELHD.JPICHJGANKL)
|
|
{
|
|
if (playerHand.NGMCOGJDNKC && playerHand.OOIMAEHGBIC.GetComponent<MakerPen>() != null)
|
|
{
|
|
flag = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
return base.PKAKOAMJLNN();
|
|
}
|
|
return base.TreeToolSelectionForwarding(OAKJPHFELHD, MFHKIFDBNOM);
|
|
}
|
|
|
|
// Token: 0x060210BB RID: 135355 RVA: 0x008FFBF0 File Offset: 0x008FDDF0
|
|
public virtual void AODEAICJPHH(bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
if (this.PNHOGOPKAPP(IHFKMIAHBFP.JEFGMHBLLKI))
|
|
{
|
|
if (LMGLBGNHPOG)
|
|
{
|
|
base.ONAOMJAKKMA().JJLACCMJEMB("looktarget", (IHCPDNLJMMD)7, new object[]
|
|
{
|
|
IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH,
|
|
PGFDDHPEDCI
|
|
});
|
|
}
|
|
else
|
|
{
|
|
base.JNLPGPADALK(PGFDDHPEDCI);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210BC RID: 135356 RVA: 0x008FFC54 File Offset: 0x008FDE54
|
|
public virtual bool FDCIGGDIACO(PhotonView HOFPILJMAEL, bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
this.AGOGNGPMPKD(HOFPILJMAEL);
|
|
if (!this.IGHFEPGLJCD(IHFKMIAHBFP.JEFGMHBLLKI, HOFPILJMAEL))
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != this)
|
|
{
|
|
return treeRoot.LocalAttachToObject(HOFPILJMAEL, PGFDDHPEDCI, LMGLBGNHPOG);
|
|
}
|
|
Vector3 vector = ((!(HOFPILJMAEL != null)) ? base.transform.position : HOFPILJMAEL.transform.InverseTransformPoint(base.transform.position));
|
|
Quaternion quaternion = ((!(HOFPILJMAEL != null)) ? base.transform.rotation : HOFPILJMAEL.transform.MCKNNGGGBDG(base.transform.rotation));
|
|
PhotonView photonView = base.OMNGGJICBBI;
|
|
string text = ":";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.OthersBuffered;
|
|
object[] array = new object[7];
|
|
array[1] = IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
array[1] = ((!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.OMNKKJNHJHD());
|
|
array[6] = vector;
|
|
array[6] = quaternion;
|
|
array[2] = PGFDDHPEDCI;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060210BD RID: 135357 RVA: 0x008FFD64 File Offset: 0x008FDF64
|
|
public bool KANCHPMDHDH()
|
|
{
|
|
List<StickyExtrusion.NDANHMFNADB> list = new List<StickyExtrusion.NDANHMFNADB>();
|
|
List<StickyExtrusion.OGDNKOCBAMH> list2 = new List<StickyExtrusion.OGDNKOCBAMH>();
|
|
bool flag = false;
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
foreach (Collider collider in toolCollider.AANJEILBGDP)
|
|
{
|
|
int num = 0;
|
|
SphereCollider sphereCollider = collider as SphereCollider;
|
|
if (sphereCollider != null)
|
|
{
|
|
Vector3 vector = sphereCollider.transform.TransformPoint(sphereCollider.center);
|
|
float num2 = sphereCollider.radius * sphereCollider.transform.lossyScale.x;
|
|
list.Add(new StickyExtrusion.NDANHMFNADB(vector, num2));
|
|
num = Physics.OverlapSphereNonAlloc(vector, num2, StickyExtrusion.FPMMLLJGEBN, -138, QueryTriggerInteraction.Ignore);
|
|
}
|
|
else
|
|
{
|
|
BoxCollider boxCollider = collider as BoxCollider;
|
|
if (boxCollider != null)
|
|
{
|
|
Vector3 vector2 = boxCollider.size.NAHCAKKCICD(boxCollider.transform.lossyScale) / 653f;
|
|
vector2.x = Mathf.Abs(vector2.x);
|
|
vector2.y = Mathf.Abs(vector2.y);
|
|
vector2.z = Mathf.Abs(vector2.z);
|
|
Vector3 vector3 = boxCollider.transform.TransformPoint(boxCollider.center);
|
|
list2.Add(new StickyExtrusion.OGDNKOCBAMH(boxCollider, vector3, vector2));
|
|
num = Physics.OverlapBoxNonAlloc(vector3, vector2, StickyExtrusion.FPMMLLJGEBN, boxCollider.transform.rotation, 139, QueryTriggerInteraction.Ignore);
|
|
}
|
|
}
|
|
for (int i = 1; i < num; i++)
|
|
{
|
|
PhotonView photonView = StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponent<PhotonView>();
|
|
photonView = ((!(photonView != null)) ? StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponentInParent<PhotonView>() : photonView);
|
|
if (photonView != null && photonView != base.ACEAACJNNAF() && this.LocalAttachToObject(photonView, true, true))
|
|
{
|
|
flag = false;
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
bool flag2 = false;
|
|
if (!flag)
|
|
{
|
|
foreach (StickyExtrusion.NDANHMFNADB ndanhmfnadb in list)
|
|
{
|
|
int num3 = Physics.OverlapSphereNonAlloc(ndanhmfnadb.GJJPNOFKCNG, ndanhmfnadb.DNAIGDPNOEK, StickyExtrusion.FPMMLLJGEBN, -156, QueryTriggerInteraction.Ignore);
|
|
if (num3 > 1)
|
|
{
|
|
this.LocalAttachToObject(null, true, false);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
if (!flag2)
|
|
{
|
|
foreach (StickyExtrusion.OGDNKOCBAMH ogdnkocbamh in list2)
|
|
{
|
|
int num4 = Physics.OverlapBoxNonAlloc(ogdnkocbamh.GJJPNOFKCNG, ogdnkocbamh.DHLIJCOCHEP, StickyExtrusion.FPMMLLJGEBN, ogdnkocbamh.CINAFOGLFIB.transform.rotation, -7, QueryTriggerInteraction.Ignore);
|
|
if (num4 > 1)
|
|
{
|
|
this.LocalAttachToObject(null, false, false);
|
|
flag2 = false;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!flag2 && base.JACCKOLABJP().CADPGMLHFGH.ModifyKinematicOnPickupRelease)
|
|
{
|
|
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = false;
|
|
base.JACCKOLABJP().BOLBONELAEF.LFHAJAHHALO(false);
|
|
}
|
|
return !flag2 && flag;
|
|
}
|
|
|
|
// Token: 0x060210BE RID: 135358 RVA: 0x00900174 File Offset: 0x008FE374
|
|
protected bool IGHFEPGLJCD(LNJFBGIBLHA KNLLAMNFLOA, PhotonView HOFPILJMAEL)
|
|
{
|
|
if (KNLLAMNFLOA == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (base.POOAOJPEDJD().PCHBDFKGJJA() != KNLLAMNFLOA)
|
|
{
|
|
return false;
|
|
}
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase componentInChildren = HOFPILJMAEL.GetComponentInChildren<StickyBase>();
|
|
return base.FKANMPFPLMK(componentInChildren, this) && false;
|
|
}
|
|
|
|
// Token: 0x060210BF RID: 135359 RVA: 0x009001C4 File Offset: 0x008FE3C4
|
|
private void BHPNMMBLIJI(LNJFBGIBLHA KGEMKIMDPGN, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.HAFKGCIEBKB(KGEMKIMDPGN))
|
|
{
|
|
base.OMNGGJICBBI.PKOHKPEKJCJ("Processing", IHCPDNLJMMD.Others, new object[] { PGFDDHPEDCI });
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210C0 RID: 135360 RVA: 0x009001F4 File Offset: 0x008FE3F4
|
|
[BCENPNOIAOM]
|
|
protected void RpcMasterRequestDetach(int KFIFJCEEMEE, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(KFIFJCEEMEE);
|
|
this.NDNMJIMBHGP(lnjfbgiblha, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210C1 RID: 135361 RVA: 0x0090021C File Offset: 0x008FE41C
|
|
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;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (!base.GFJHKDCIAPO)
|
|
{
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != null)
|
|
{
|
|
treeRoot.IgnoreTreeColliders(this, false);
|
|
}
|
|
}
|
|
else if (base.MPLNFJPDNFM != null)
|
|
{
|
|
base.ToolIgnoreMyColliders(base.MPLNFJPDNFM, false);
|
|
}
|
|
foreach (StickyBase stickyBase in this.PPCELOLBMGA)
|
|
{
|
|
base.IgnoreTreeColliders(stickyBase, true);
|
|
}
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
|
{
|
|
if (this.PPCELOLBMGA.Count == 0)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.AddTool(base.BKDFLNGCINH, true);
|
|
}
|
|
if (base.MPLNFJPDNFM != null)
|
|
{
|
|
StickyBase component = base.MPLNFJPDNFM.GetComponent<StickyBase>();
|
|
if (component == null || !component.MAOHAELNADH)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.AddTool(base.MPLNFJPDNFM, true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210C2 RID: 135362 RVA: 0x009003B8 File Offset: 0x008FE5B8
|
|
public bool CheckSticking()
|
|
{
|
|
List<StickyExtrusion.NDANHMFNADB> list = new List<StickyExtrusion.NDANHMFNADB>();
|
|
List<StickyExtrusion.OGDNKOCBAMH> list2 = new List<StickyExtrusion.OGDNKOCBAMH>();
|
|
bool flag = false;
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
foreach (Collider collider in toolCollider.AANJEILBGDP)
|
|
{
|
|
int num = 0;
|
|
SphereCollider sphereCollider = collider as SphereCollider;
|
|
if (sphereCollider != null)
|
|
{
|
|
Vector3 vector = sphereCollider.transform.TransformPoint(sphereCollider.center);
|
|
float num2 = sphereCollider.radius * sphereCollider.transform.lossyScale.x;
|
|
list.Add(new StickyExtrusion.NDANHMFNADB(vector, num2));
|
|
num = Physics.OverlapSphereNonAlloc(vector, num2, StickyExtrusion.FPMMLLJGEBN, 496383488, QueryTriggerInteraction.Ignore);
|
|
}
|
|
else
|
|
{
|
|
BoxCollider boxCollider = collider as BoxCollider;
|
|
if (boxCollider != null)
|
|
{
|
|
Vector3 vector2 = boxCollider.size.NAHCAKKCICD(boxCollider.transform.lossyScale) / 2f;
|
|
vector2.x = Mathf.Abs(vector2.x);
|
|
vector2.y = Mathf.Abs(vector2.y);
|
|
vector2.z = Mathf.Abs(vector2.z);
|
|
Vector3 vector3 = boxCollider.transform.TransformPoint(boxCollider.center);
|
|
list2.Add(new StickyExtrusion.OGDNKOCBAMH(boxCollider, vector3, vector2));
|
|
num = Physics.OverlapBoxNonAlloc(vector3, vector2, StickyExtrusion.FPMMLLJGEBN, boxCollider.transform.rotation, 496383488, QueryTriggerInteraction.Ignore);
|
|
}
|
|
}
|
|
for (int i = 0; i < num; i++)
|
|
{
|
|
PhotonView photonView = StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponent<PhotonView>();
|
|
photonView = ((!(photonView != null)) ? StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponentInParent<PhotonView>() : photonView);
|
|
if (photonView != null && photonView != base.OMNGGJICBBI && this.LocalAttachToObject(photonView, false, true))
|
|
{
|
|
flag = true;
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
bool flag2 = false;
|
|
if (!flag)
|
|
{
|
|
foreach (StickyExtrusion.NDANHMFNADB ndanhmfnadb in list)
|
|
{
|
|
int num3 = Physics.OverlapSphereNonAlloc(ndanhmfnadb.GJJPNOFKCNG, ndanhmfnadb.DNAIGDPNOEK, StickyExtrusion.FPMMLLJGEBN, 18433, QueryTriggerInteraction.Ignore);
|
|
if (num3 > 0)
|
|
{
|
|
this.LocalAttachToObject(null, false, true);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
if (!flag2)
|
|
{
|
|
foreach (StickyExtrusion.OGDNKOCBAMH ogdnkocbamh in list2)
|
|
{
|
|
int num4 = Physics.OverlapBoxNonAlloc(ogdnkocbamh.GJJPNOFKCNG, ogdnkocbamh.DHLIJCOCHEP, StickyExtrusion.FPMMLLJGEBN, ogdnkocbamh.CINAFOGLFIB.transform.rotation, 18433, QueryTriggerInteraction.Ignore);
|
|
if (num4 > 0)
|
|
{
|
|
this.LocalAttachToObject(null, false, true);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!flag2 && base.BKDFLNGCINH.CADPGMLHFGH.ModifyKinematicOnPickupRelease)
|
|
{
|
|
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = false;
|
|
base.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = true;
|
|
}
|
|
return flag2 || flag;
|
|
}
|
|
|
|
// Token: 0x060210C3 RID: 135363 RVA: 0x009007C8 File Offset: 0x008FE9C8
|
|
private void CDEONGPEHKC(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 = true;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (!base.GFJHKDCIAPO)
|
|
{
|
|
StickyBase stickyBase = base.LBJGJGKCDCL();
|
|
if (stickyBase != null)
|
|
{
|
|
stickyBase.IgnoreTreeColliders(this, true);
|
|
}
|
|
}
|
|
else if (base.MPLNFJPDNFM != null)
|
|
{
|
|
base.ToolIgnoreMyColliders(base.MPLNFJPDNFM, true);
|
|
}
|
|
foreach (StickyBase stickyBase2 in this.PPCELOLBMGA)
|
|
{
|
|
base.IgnoreTreeColliders(stickyBase2, false);
|
|
}
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.BOCFJBNNEFP)
|
|
{
|
|
if (this.PPCELOLBMGA.Count == 0)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.BHKPMGODHEN(base.PKAKOAMJLNN(), true);
|
|
}
|
|
if (base.MPLNFJPDNFM != null)
|
|
{
|
|
StickyBase component = base.MPLNFJPDNFM.GetComponent<StickyBase>();
|
|
if (component == null || !component.KENMJMELCAL())
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.EJBAHPGJHHN(base.MPLNFJPDNFM, false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210C4 RID: 135364 RVA: 0x00900964 File Offset: 0x008FEB64
|
|
public bool JKLABMGANHG()
|
|
{
|
|
List<StickyExtrusion.NDANHMFNADB> list = new List<StickyExtrusion.NDANHMFNADB>();
|
|
List<StickyExtrusion.OGDNKOCBAMH> list2 = new List<StickyExtrusion.OGDNKOCBAMH>();
|
|
bool flag = false;
|
|
foreach (ToolCollider toolCollider in base.BKDFLNGCINH.NJPKPAFHFNM)
|
|
{
|
|
foreach (Collider collider in toolCollider.AANJEILBGDP)
|
|
{
|
|
int num = 1;
|
|
SphereCollider sphereCollider = collider as SphereCollider;
|
|
if (sphereCollider != null)
|
|
{
|
|
Vector3 vector = sphereCollider.transform.TransformPoint(sphereCollider.center);
|
|
float num2 = sphereCollider.radius * sphereCollider.transform.lossyScale.x;
|
|
list.Add(new StickyExtrusion.NDANHMFNADB(vector, num2));
|
|
num = Physics.OverlapSphereNonAlloc(vector, num2, StickyExtrusion.FPMMLLJGEBN, 64, QueryTriggerInteraction.UseGlobal);
|
|
}
|
|
else
|
|
{
|
|
BoxCollider boxCollider = collider as BoxCollider;
|
|
if (boxCollider != null)
|
|
{
|
|
Vector3 vector2 = boxCollider.size.NAHCAKKCICD(boxCollider.transform.lossyScale) / 687f;
|
|
vector2.x = Mathf.Abs(vector2.x);
|
|
vector2.y = Mathf.Abs(vector2.y);
|
|
vector2.z = Mathf.Abs(vector2.z);
|
|
Vector3 vector3 = boxCollider.transform.TransformPoint(boxCollider.center);
|
|
list2.Add(new StickyExtrusion.OGDNKOCBAMH(boxCollider, vector3, vector2));
|
|
num = Physics.OverlapBoxNonAlloc(vector3, vector2, StickyExtrusion.FPMMLLJGEBN, boxCollider.transform.rotation, -121, QueryTriggerInteraction.UseGlobal);
|
|
}
|
|
}
|
|
for (int i = 1; i < num; i++)
|
|
{
|
|
PhotonView photonView = StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponent<PhotonView>();
|
|
photonView = ((!(photonView != null)) ? StickyExtrusion.FPMMLLJGEBN[i].gameObject.GetComponentInParent<PhotonView>() : photonView);
|
|
if (photonView != null && photonView != base.ONAOMJAKKMA() && this.LocalAttachToObject(photonView, true, true))
|
|
{
|
|
flag = true;
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
bool flag2 = true;
|
|
if (!flag)
|
|
{
|
|
foreach (StickyExtrusion.NDANHMFNADB ndanhmfnadb in list)
|
|
{
|
|
int num3 = Physics.OverlapSphereNonAlloc(ndanhmfnadb.GJJPNOFKCNG, ndanhmfnadb.DNAIGDPNOEK, StickyExtrusion.FPMMLLJGEBN, -125, QueryTriggerInteraction.UseGlobal);
|
|
if (num3 > 1)
|
|
{
|
|
this.LocalAttachToObject(null, false, true);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
if (!flag2)
|
|
{
|
|
foreach (StickyExtrusion.OGDNKOCBAMH ogdnkocbamh in list2)
|
|
{
|
|
int num4 = Physics.OverlapBoxNonAlloc(ogdnkocbamh.GJJPNOFKCNG, ogdnkocbamh.DHLIJCOCHEP, StickyExtrusion.FPMMLLJGEBN, ogdnkocbamh.CINAFOGLFIB.transform.rotation, 112, QueryTriggerInteraction.UseGlobal);
|
|
if (num4 > 1)
|
|
{
|
|
this.LocalAttachToObject(null, true, true);
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!flag2 && base.BKDFLNGCINH.CADPGMLHFGH.ModifyKinematicOnPickupRelease)
|
|
{
|
|
base.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = false;
|
|
base.JACCKOLABJP().BOLBONELAEF.LFHAJAHHALO(false);
|
|
}
|
|
return !flag2 && flag;
|
|
}
|
|
|
|
// Token: 0x060210C5 RID: 135365 RVA: 0x00900D74 File Offset: 0x008FEF74
|
|
public virtual void IJBHGCBLCKE(bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
if (this.HAFKGCIEBKB(IHFKMIAHBFP.JEFGMHBLLKI))
|
|
{
|
|
if (LMGLBGNHPOG)
|
|
{
|
|
PhotonView photonView = base.POOAOJPEDJD();
|
|
string text = "Failed to change game session activity: ";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[0];
|
|
array[1] = IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
array[0] = PGFDDHPEDCI;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
else
|
|
{
|
|
base.JNLPGPADALK(PGFDDHPEDCI);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210C6 RID: 135366 RVA: 0x00900DD8 File Offset: 0x008FEFD8
|
|
protected override void EGJOBLEGKNP()
|
|
{
|
|
base.IBAPEODEKBK -= this.OEMNFOLIBGA;
|
|
base.KJINJEHOEJJ -= this.EHMNMNECCLJ;
|
|
if (base.JACCKOLABJP() != null)
|
|
{
|
|
base.JACCKOLABJP().PLPIAOHJBOB -= this.NIPCADLOCJP;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060210C7 RID: 135367 RVA: 0x00900E38 File Offset: 0x008FF038
|
|
private bool CJKHKHKDCFC(PhotonView HOFPILJMAEL)
|
|
{
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (HOFPILJMAEL.HKLENNJOICH == IHFKMIAHBFP.JEFGMHBLLKI)
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase component = HOFPILJMAEL.GetComponent<StickyBase>();
|
|
Tool tool;
|
|
if (component != null)
|
|
{
|
|
StickyBase treeRoot = component.LIHOICJABEE;
|
|
tool = ((!treeRoot.MAOHAELNADH || !(treeRoot.MPLNFJPDNFM != null)) ? treeRoot.BKDFLNGCINH : treeRoot.MPLNFJPDNFM);
|
|
}
|
|
else
|
|
{
|
|
tool = HOFPILJMAEL.GetComponent<Tool>();
|
|
}
|
|
if (tool != null && !tool.OHGPCMJMFGC)
|
|
{
|
|
tool.OMNGGJICBBI.TransferOwnership(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060210C8 RID: 135368 RVA: 0x00900EE8 File Offset: 0x008FF0E8
|
|
public virtual bool HHILOFEFPKD(PhotonView HOFPILJMAEL, bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
this.CHIAPOHFJDA(HOFPILJMAEL);
|
|
if (!this.MFMEEDEOPCF(IHFKMIAHBFP.JEFGMHBLLKI, HOFPILJMAEL))
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != this)
|
|
{
|
|
return treeRoot.LocalAttachToObject(HOFPILJMAEL, PGFDDHPEDCI, LMGLBGNHPOG);
|
|
}
|
|
Vector3 vector = ((!(HOFPILJMAEL != null)) ? base.transform.position : HOFPILJMAEL.transform.InverseTransformPoint(base.transform.position));
|
|
Quaternion quaternion = ((!(HOFPILJMAEL != null)) ? base.transform.rotation : HOFPILJMAEL.transform.MCKNNGGGBDG(base.transform.rotation));
|
|
PhotonView photonView = base.LJILHDMCKME();
|
|
string text = "_DepthEpi";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.OthersBuffered;
|
|
object[] array = new object[6];
|
|
array[1] = IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
array[0] = ((!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.OMNKKJNHJHD());
|
|
array[5] = vector;
|
|
array[7] = quaternion;
|
|
array[5] = PGFDDHPEDCI;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060210C9 RID: 135369 RVA: 0x00900FF8 File Offset: 0x008FF1F8
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
base.IBAPEODEKBK += this.PAIPPAAKFIJ;
|
|
base.KJINJEHOEJJ += this.JMHKJJJOMID;
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210CA RID: 135370 RVA: 0x00901058 File Offset: 0x008FF258
|
|
protected override void NGOPCBJCNJM()
|
|
{
|
|
base.DLCHNOFPONJ();
|
|
base.IBAPEODEKBK += this.OEMNFOLIBGA;
|
|
base.GHPFPLINAFL(new StickyBase.LONPOBKIBCO(this.CDEONGPEHKC));
|
|
if (base.JACCKOLABJP() != null)
|
|
{
|
|
base.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210CB RID: 135371 RVA: 0x009010B8 File Offset: 0x008FF2B8
|
|
protected bool MFMEEDEOPCF(LNJFBGIBLHA KNLLAMNFLOA, PhotonView HOFPILJMAEL)
|
|
{
|
|
if (KNLLAMNFLOA == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (base.JNFDHNMMHGN().ECHJNDDOIBD != KNLLAMNFLOA)
|
|
{
|
|
return true;
|
|
}
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return false;
|
|
}
|
|
StickyBase componentInChildren = HOFPILJMAEL.GetComponentInChildren<StickyBase>();
|
|
return base.FKANMPFPLMK(componentInChildren, this);
|
|
}
|
|
|
|
// Token: 0x060210CC RID: 135372 RVA: 0x00901108 File Offset: 0x008FF308
|
|
protected void PFLLFGLIIMA(LNJFBGIBLHA KNLLAMNFLOA, PhotonView HOFPILJMAEL, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.ILINLLHLJLO(KNLLAMNFLOA, HOFPILJMAEL))
|
|
{
|
|
base.OMNGGJICBBI.RPC("RpcAttachToObject", IHCPDNLJMMD.All, new object[]
|
|
{
|
|
(!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.ADMBCINHJOG,
|
|
MHIIBCEJGIP,
|
|
GMNDLGIKPOG,
|
|
PGFDDHPEDCI
|
|
});
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210CD RID: 135373 RVA: 0x00901178 File Offset: 0x008FF378
|
|
protected void OFHHFPKNIEK(int KFIFJCEEMEE, int JPGLPJJIEKK, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.MLAAOMLEIGD(KFIFJCEEMEE);
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(JPGLPJJIEKK);
|
|
this.MLPCGIMOOMJ(lnjfbgiblha, photonView, MHIIBCEJGIP, GMNDLGIKPOG, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210CE RID: 135374 RVA: 0x009011AC File Offset: 0x008FF3AC
|
|
[BCENPNOIAOM]
|
|
protected void RpcMasterRequestAttachToObject(int KFIFJCEEMEE, int JPGLPJJIEKK, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(KFIFJCEEMEE);
|
|
PhotonView photonView = PhotonView.Find(JPGLPJJIEKK);
|
|
this.PFLLFGLIIMA(lnjfbgiblha, photonView, MHIIBCEJGIP, GMNDLGIKPOG, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210CF RID: 135375 RVA: 0x009011E0 File Offset: 0x008FF3E0
|
|
private bool CHIAPOHFJDA(PhotonView HOFPILJMAEL)
|
|
{
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (HOFPILJMAEL.DIBOHBMMDIL() == IHFKMIAHBFP.JEFGMHBLLKI)
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase component = HOFPILJMAEL.GetComponent<StickyBase>();
|
|
Tool tool;
|
|
if (component != null)
|
|
{
|
|
StickyBase stickyBase = component.LBJGJGKCDCL();
|
|
tool = ((!stickyBase.KENMJMELCAL() || !(stickyBase.MPLNFJPDNFM != null)) ? stickyBase.BKDFLNGCINH : stickyBase.MPLNFJPDNFM);
|
|
}
|
|
else
|
|
{
|
|
tool = HOFPILJMAEL.GetComponent<Tool>();
|
|
}
|
|
if (tool != null && !tool.OHGPCMJMFGC)
|
|
{
|
|
tool.EKPBHKFHMON().EJBOGPNBGHI(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060210D0 RID: 135376 RVA: 0x00901290 File Offset: 0x008FF490
|
|
public virtual Tool FBLPADEFMKB(Player OAKJPHFELHD, bool MFHKIFDBNOM)
|
|
{
|
|
if (!base.PKELBNLFPGO)
|
|
{
|
|
return base.BKDFLNGCINH;
|
|
}
|
|
Tool tool = base.LIHOICJABEE.BKDFLNGCINH;
|
|
if (tool.OHGPCMJMFGC && !tool.FGOEDCGAEPG())
|
|
{
|
|
return null;
|
|
}
|
|
bool flag = false;
|
|
if (MFHKIFDBNOM)
|
|
{
|
|
foreach (PlayerHand playerHand in OAKJPHFELHD.JPICHJGANKL)
|
|
{
|
|
if (playerHand.NGMCOGJDNKC && playerHand.OOIMAEHGBIC.GetComponent<MakerPen>() != null)
|
|
{
|
|
flag = false;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
return base.PKAKOAMJLNN();
|
|
}
|
|
return base.TreeToolSelectionForwarding(OAKJPHFELHD, MFHKIFDBNOM);
|
|
}
|
|
|
|
// Token: 0x060210D1 RID: 135377 RVA: 0x00901360 File Offset: 0x008FF560
|
|
public virtual Tool NFHHICOGKGP(Player OAKJPHFELHD, bool MFHKIFDBNOM)
|
|
{
|
|
if (!base.PKELBNLFPGO)
|
|
{
|
|
return base.BKDFLNGCINH;
|
|
}
|
|
Tool tool = base.MPFAEHAGBIF().JACCKOLABJP();
|
|
if (tool.OHGPCMJMFGC && !tool.IIMJKLLEBNH())
|
|
{
|
|
return null;
|
|
}
|
|
bool flag = false;
|
|
if (MFHKIFDBNOM)
|
|
{
|
|
foreach (PlayerHand playerHand in OAKJPHFELHD.JPICHJGANKL)
|
|
{
|
|
if (playerHand.NGMCOGJDNKC && playerHand.OOIMAEHGBIC.GetComponent<MakerPen>() != null)
|
|
{
|
|
flag = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
return base.BKDFLNGCINH;
|
|
}
|
|
return base.TreeToolSelectionForwarding(OAKJPHFELHD, MFHKIFDBNOM);
|
|
}
|
|
|
|
// Token: 0x060210D2 RID: 135378 RVA: 0x00901430 File Offset: 0x008FF630
|
|
private void KLFLKNIBCBH(LNJFBGIBLHA KGEMKIMDPGN, bool PGFDDHPEDCI)
|
|
{
|
|
if (this.HAFKGCIEBKB(KGEMKIMDPGN))
|
|
{
|
|
PhotonView photonView = base.LHEPJEHMAEC();
|
|
string text = "You have been made a host!";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[1];
|
|
array[1] = PGFDDHPEDCI;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210D3 RID: 135379 RVA: 0x00901460 File Offset: 0x008FF660
|
|
public override Tool TreeToolSelectionForwarding(Player OAKJPHFELHD, bool MFHKIFDBNOM)
|
|
{
|
|
if (!base.PKELBNLFPGO)
|
|
{
|
|
return base.BKDFLNGCINH;
|
|
}
|
|
Tool tool = base.LIHOICJABEE.BKDFLNGCINH;
|
|
if (tool.OHGPCMJMFGC && !tool.EPAMDJPBFBC)
|
|
{
|
|
return null;
|
|
}
|
|
bool flag = false;
|
|
if (MFHKIFDBNOM)
|
|
{
|
|
foreach (PlayerHand playerHand in OAKJPHFELHD.JPICHJGANKL)
|
|
{
|
|
if (playerHand.NGMCOGJDNKC && playerHand.OOIMAEHGBIC.GetComponent<MakerPen>() != null)
|
|
{
|
|
flag = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
return base.BKDFLNGCINH;
|
|
}
|
|
return base.TreeToolSelectionForwarding(OAKJPHFELHD, MFHKIFDBNOM);
|
|
}
|
|
|
|
// Token: 0x060210D4 RID: 135380 RVA: 0x00901530 File Offset: 0x008FF730
|
|
protected virtual void GMFOPJDKOHJ()
|
|
{
|
|
base.IBAPEODEKBK -= this.PAIPPAAKFIJ;
|
|
base.KJINJEHOEJJ -= this.CDEONGPEHKC;
|
|
if (base.JACCKOLABJP() != null)
|
|
{
|
|
base.PKAKOAMJLNN().PLPIAOHJBOB -= this.NIPCADLOCJP;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060210D5 RID: 135381 RVA: 0x00901590 File Offset: 0x008FF790
|
|
protected void CLFLFCFDGGP(int KFIFJCEEMEE, int JPGLPJJIEKK, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.JJHGEEALDGL(KFIFJCEEMEE);
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(JPGLPJJIEKK);
|
|
this.PFLLFGLIIMA(lnjfbgiblha, photonView, MHIIBCEJGIP, GMNDLGIKPOG, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210D6 RID: 135382 RVA: 0x009015C4 File Offset: 0x008FF7C4
|
|
protected void EHKLJDLGJME(int KFIFJCEEMEE, int JPGLPJJIEKK, Vector3 MHIIBCEJGIP, Quaternion GMNDLGIKPOG, bool PGFDDHPEDCI)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.MLAAOMLEIGD(KFIFJCEEMEE);
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(JPGLPJJIEKK);
|
|
this.MLPCGIMOOMJ(lnjfbgiblha, photonView, MHIIBCEJGIP, GMNDLGIKPOG, PGFDDHPEDCI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210D7 RID: 135383 RVA: 0x009015F8 File Offset: 0x008FF7F8
|
|
protected virtual void OEGPFJLPEHD(StickyBase ENBMEDIFBLM, bool PGFDDHPEDCI)
|
|
{
|
|
ToolCleanup component = base.GetComponent<ToolCleanup>();
|
|
if (component != null)
|
|
{
|
|
component.EIGJEJDLHPI(base.transform.position, base.transform.rotation);
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.MGLOFEJINGK(base.PKAKOAMJLNN());
|
|
}
|
|
if (!PGFDDHPEDCI)
|
|
{
|
|
AudioManager.Play3DSFX(this.onAttachAudio, base.transform.position, null);
|
|
}
|
|
if (this.disableCollidersWhenAttached)
|
|
{
|
|
foreach (ToolCollider toolCollider in base.JACCKOLABJP().NJPKPAFHFNM)
|
|
{
|
|
toolCollider.GJPHILMECKE = true;
|
|
}
|
|
}
|
|
else if (base.PLACHPMGHBA)
|
|
{
|
|
if (!base.GFJHKDCIAPO)
|
|
{
|
|
StickyBase stickyBase = base.MPFAEHAGBIF();
|
|
if (stickyBase != null)
|
|
{
|
|
stickyBase.IgnoreTreeColliders(this, false);
|
|
}
|
|
}
|
|
if (base.MPLNFJPDNFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DCINMLJPNAL(base.MPLNFJPDNFM);
|
|
if (base.GFJHKDCIAPO)
|
|
{
|
|
base.ToolIgnoreMyColliders(base.MPLNFJPDNFM, true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210D8 RID: 135384 RVA: 0x00901730 File Offset: 0x008FF930
|
|
public override void LocalDetach(bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
if (this.HAFKGCIEBKB(IHFKMIAHBFP.JEFGMHBLLKI))
|
|
{
|
|
if (LMGLBGNHPOG)
|
|
{
|
|
base.OMNGGJICBBI.RPC("RpcMasterRequestDetach", IHCPDNLJMMD.MasterClient, new object[]
|
|
{
|
|
IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH,
|
|
PGFDDHPEDCI
|
|
});
|
|
}
|
|
else
|
|
{
|
|
base.BGJCCNIPBGG(PGFDDHPEDCI);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210D9 RID: 135385 RVA: 0x00901794 File Offset: 0x008FF994
|
|
protected virtual void HNBLIGEOJOI()
|
|
{
|
|
base.IBAPEODEKBK -= this.OEGPFJLPEHD;
|
|
base.KJINJEHOEJJ -= this.CDEONGPEHKC;
|
|
if (base.JACCKOLABJP() != null)
|
|
{
|
|
base.JACCKOLABJP().PLPIAOHJBOB -= this.NIPCADLOCJP;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060210DA RID: 135386 RVA: 0x009017F4 File Offset: 0x008FF9F4
|
|
private bool OPAGNOGMKLC(PhotonView HOFPILJMAEL)
|
|
{
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (HOFPILJMAEL.DIBOHBMMDIL() == IHFKMIAHBFP.JEFGMHBLLKI)
|
|
{
|
|
return false;
|
|
}
|
|
StickyBase component = HOFPILJMAEL.GetComponent<StickyBase>();
|
|
Tool tool;
|
|
if (component != null)
|
|
{
|
|
StickyBase treeRoot = component.LIHOICJABEE;
|
|
tool = ((!treeRoot.KENMJMELCAL() || !(treeRoot.MPLNFJPDNFM != null)) ? treeRoot.JACCKOLABJP() : treeRoot.MPLNFJPDNFM);
|
|
}
|
|
else
|
|
{
|
|
tool = HOFPILJMAEL.GetComponent<Tool>();
|
|
}
|
|
if (tool != null && !tool.OHGPCMJMFGC)
|
|
{
|
|
tool.MLNMONBHHBO().GLMELMJKGKP(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
return true;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060210DB RID: 135387 RVA: 0x009018A4 File Offset: 0x008FFAA4
|
|
protected bool ILINLLHLJLO(LNJFBGIBLHA KNLLAMNFLOA, PhotonView HOFPILJMAEL)
|
|
{
|
|
if (KNLLAMNFLOA == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (base.OMNGGJICBBI.ECHJNDDOIBD != KNLLAMNFLOA)
|
|
{
|
|
return false;
|
|
}
|
|
if (HOFPILJMAEL == null)
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase componentInChildren = HOFPILJMAEL.GetComponentInChildren<StickyBase>();
|
|
return !base.FKANMPFPLMK(componentInChildren, this);
|
|
}
|
|
|
|
// Token: 0x060210DC RID: 135388 RVA: 0x009018F4 File Offset: 0x008FFAF4
|
|
public virtual bool LAKFIIJFOBF(PhotonView HOFPILJMAEL, bool PGFDDHPEDCI = false, bool LMGLBGNHPOG = true)
|
|
{
|
|
this.OPAGNOGMKLC(HOFPILJMAEL);
|
|
if (!this.MFMEEDEOPCF(IHFKMIAHBFP.JEFGMHBLLKI, HOFPILJMAEL))
|
|
{
|
|
return true;
|
|
}
|
|
StickyBase treeRoot = base.LIHOICJABEE;
|
|
if (treeRoot != this)
|
|
{
|
|
return treeRoot.LocalAttachToObject(HOFPILJMAEL, PGFDDHPEDCI, LMGLBGNHPOG);
|
|
}
|
|
Vector3 vector = ((!(HOFPILJMAEL != null)) ? base.transform.position : HOFPILJMAEL.transform.InverseTransformPoint(base.transform.position));
|
|
Quaternion quaternion = ((!(HOFPILJMAEL != null)) ? base.transform.rotation : HOFPILJMAEL.transform.MCKNNGGGBDG(base.transform.rotation));
|
|
PhotonView photonView = base.MLNMONBHHBO();
|
|
string text = "rotation";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.AllViaServer;
|
|
object[] array = new object[5];
|
|
array[0] = IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
array[0] = ((!(HOFPILJMAEL != null)) ? (-1) : HOFPILJMAEL.HNPFGGAKNPI());
|
|
array[5] = vector;
|
|
array[6] = quaternion;
|
|
array[5] = PGFDDHPEDCI;
|
|
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060210DD RID: 135389 RVA: 0x00901A04 File Offset: 0x008FFC04
|
|
public virtual Tool EDCODCPHCAK(Player OAKJPHFELHD, bool MFHKIFDBNOM)
|
|
{
|
|
if (!base.PKELBNLFPGO)
|
|
{
|
|
return base.JACCKOLABJP();
|
|
}
|
|
Tool tool = base.LIHOICJABEE.PKAKOAMJLNN();
|
|
if (tool.OHGPCMJMFGC && !tool.OKADGKBILJF())
|
|
{
|
|
return null;
|
|
}
|
|
bool flag = true;
|
|
if (MFHKIFDBNOM)
|
|
{
|
|
foreach (PlayerHand playerHand in OAKJPHFELHD.JPICHJGANKL)
|
|
{
|
|
if (playerHand.NGMCOGJDNKC && playerHand.HJOIOHCOEOH().GetComponent<MakerPen>() != null)
|
|
{
|
|
flag = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
return base.BKDFLNGCINH;
|
|
}
|
|
return base.TreeToolSelectionForwarding(OAKJPHFELHD, MFHKIFDBNOM);
|
|
}
|
|
|
|
// Token: 0x060210DE RID: 135390 RVA: 0x00901AD4 File Offset: 0x008FFCD4
|
|
protected virtual void BACNJJKPEOO()
|
|
{
|
|
base.DLCHNOFPONJ();
|
|
base.IBAPEODEKBK += this.OEMNFOLIBGA;
|
|
base.KJINJEHOEJJ += this.JMHKJJJOMID;
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.PKAKOAMJLNN().PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040055ED RID: 21997
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Parent, false)]
|
|
[SerializeField]
|
|
private Extrusion extrusion;
|
|
|
|
// Token: 0x040055EE RID: 21998
|
|
[SerializeField]
|
|
private bool disableCollidersWhenAttached;
|
|
|
|
// Token: 0x040055EF RID: 21999
|
|
[Header("Audio")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip onDetachAudio;
|
|
|
|
// Token: 0x040055F0 RID: 22000
|
|
[SerializeField]
|
|
private RecRoomAudioClip onAttachAudio;
|
|
|
|
// Token: 0x040055F1 RID: 22001
|
|
private const int GJLPMAKDLAG = 256;
|
|
|
|
// Token: 0x040055F2 RID: 22002
|
|
protected static Collider[] FPMMLLJGEBN = new Collider[256];
|
|
|
|
// Token: 0x02000F7A RID: 3962
|
|
private struct NDANHMFNADB
|
|
{
|
|
// Token: 0x060210DF RID: 135391 RVA: 0x00901B34 File Offset: 0x008FFD34
|
|
public NDANHMFNADB(Vector3 GJJPNOFKCNG, float DNAIGDPNOEK)
|
|
{
|
|
this.GJJPNOFKCNG = GJJPNOFKCNG;
|
|
this.DNAIGDPNOEK = DNAIGDPNOEK;
|
|
}
|
|
|
|
// Token: 0x040055F3 RID: 22003
|
|
public Vector3 GJJPNOFKCNG;
|
|
|
|
// Token: 0x040055F4 RID: 22004
|
|
public float DNAIGDPNOEK;
|
|
}
|
|
|
|
// Token: 0x02000F7B RID: 3963
|
|
private struct OGDNKOCBAMH
|
|
{
|
|
// Token: 0x060210E0 RID: 135392 RVA: 0x00901B44 File Offset: 0x008FFD44
|
|
public OGDNKOCBAMH(BoxCollider CINAFOGLFIB, Vector3 GJJPNOFKCNG, Vector3 DHLIJCOCHEP)
|
|
{
|
|
this.CINAFOGLFIB = CINAFOGLFIB;
|
|
this.GJJPNOFKCNG = GJJPNOFKCNG;
|
|
this.DHLIJCOCHEP = DHLIJCOCHEP;
|
|
}
|
|
|
|
// Token: 0x040055F5 RID: 22005
|
|
public BoxCollider CINAFOGLFIB;
|
|
|
|
// Token: 0x040055F6 RID: 22006
|
|
public Vector3 GJJPNOFKCNG;
|
|
|
|
// Token: 0x040055F7 RID: 22007
|
|
public Vector3 DHLIJCOCHEP;
|
|
}
|
|
|
|
// Token: 0x02000F7C RID: 3964
|
|
[CompilerGenerated]
|
|
private sealed class MLPCPJKEKGI
|
|
{
|
|
// Token: 0x060210E1 RID: 135393 RVA: 0x00901B5C File Offset: 0x008FFD5C
|
|
internal void NPODACBLMGF(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E2 RID: 135394 RVA: 0x00901B94 File Offset: 0x008FFD94
|
|
internal void KCFPLKGPAGM(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E3 RID: 135395 RVA: 0x00901BCC File Offset: 0x008FFDCC
|
|
internal void NABLNGDEEDE(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E4 RID: 135396 RVA: 0x00901C04 File Offset: 0x008FFE04
|
|
internal void PGMGGNODPAN(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E5 RID: 135397 RVA: 0x00901C3C File Offset: 0x008FFE3C
|
|
internal void FCPOAPOOJJO(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E6 RID: 135398 RVA: 0x00901C74 File Offset: 0x008FFE74
|
|
internal void PGGNPPHMGMF(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E7 RID: 135399 RVA: 0x00901CAC File Offset: 0x008FFEAC
|
|
internal void GKPFDNMOEIP(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JLKBEDFEHBE();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E8 RID: 135400 RVA: 0x00901CE4 File Offset: 0x008FFEE4
|
|
internal void GGGFLBOFLEC(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210E9 RID: 135401 RVA: 0x00901D1C File Offset: 0x008FFF1C
|
|
internal void GOPMNHCPOJL(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210EA RID: 135402 RVA: 0x00901D54 File Offset: 0x008FFF54
|
|
internal void NALMKHOOIDC(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210EB RID: 135403 RVA: 0x00901D8C File Offset: 0x008FFF8C
|
|
internal void IBLIPIGAMEL(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210EC RID: 135404 RVA: 0x00901DC4 File Offset: 0x008FFFC4
|
|
internal void PBHHLBFFGJK(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210ED RID: 135405 RVA: 0x00901DFC File Offset: 0x008FFFFC
|
|
internal void CHPMHNFNCDD(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JLKBEDFEHBE();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210EE RID: 135406 RVA: 0x00901E34 File Offset: 0x00900034
|
|
internal void KKLCFDPCKEP(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210EF RID: 135407 RVA: 0x00901E6C File Offset: 0x0090006C
|
|
internal void CFCEJGGFGPD(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F0 RID: 135408 RVA: 0x00901EA4 File Offset: 0x009000A4
|
|
internal void PJGEPHDJHFC(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F1 RID: 135409 RVA: 0x00901EDC File Offset: 0x009000DC
|
|
internal void PIBLMAAJNEN(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F2 RID: 135410 RVA: 0x00901F14 File Offset: 0x00900114
|
|
internal void CNBODKBDHKF(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F3 RID: 135411 RVA: 0x00901F4C File Offset: 0x0090014C
|
|
internal void GFKPDLLFOFH(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F4 RID: 135412 RVA: 0x00901F84 File Offset: 0x00900184
|
|
internal void KIIKBNCHANP(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F5 RID: 135413 RVA: 0x00901FBC File Offset: 0x009001BC
|
|
internal void BFLGOFKCKFP(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F6 RID: 135414 RVA: 0x00901FF4 File Offset: 0x009001F4
|
|
internal void DOBDAENFDAJ(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JLKBEDFEHBE();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F7 RID: 135415 RVA: 0x0090202C File Offset: 0x0090022C
|
|
internal void FLOKJAEEFCE(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F8 RID: 135416 RVA: 0x00902064 File Offset: 0x00900264
|
|
internal void JCIGHBGDCMB(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210F9 RID: 135417 RVA: 0x0090209C File Offset: 0x0090029C
|
|
internal void CJKKEJANJOK(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210FA RID: 135418 RVA: 0x009020D4 File Offset: 0x009002D4
|
|
internal void OGAJFHEKIED(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210FB RID: 135419 RVA: 0x0090210C File Offset: 0x0090030C
|
|
internal void NNKGIDKPAEK(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210FC RID: 135420 RVA: 0x00902144 File Offset: 0x00900344
|
|
internal void NFHFAELMGBE(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210FD RID: 135421 RVA: 0x0090217C File Offset: 0x0090037C
|
|
internal void ECNMLHPCNHF(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210FE RID: 135422 RVA: 0x009021B4 File Offset: 0x009003B4
|
|
internal void CNNJMMDCEMD(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060210FF RID: 135423 RVA: 0x009021EC File Offset: 0x009003EC
|
|
internal void ELNIKMBDIDF(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021100 RID: 135424 RVA: 0x00902224 File Offset: 0x00900424
|
|
internal void IHANHBGOCBH(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021101 RID: 135425 RVA: 0x0090225C File Offset: 0x0090045C
|
|
internal void FLEEFDFKEIB(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JKLABMGANHG();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021103 RID: 135427 RVA: 0x0090229C File Offset: 0x0090049C
|
|
internal void PAKGFLGGCHF(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JLKBEDFEHBE();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021104 RID: 135428 RVA: 0x009022D4 File Offset: 0x009004D4
|
|
internal void HIIDBIGLBCL(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021105 RID: 135429 RVA: 0x0090230C File Offset: 0x0090050C
|
|
internal void JJIIMDCJECL(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.KANCHPMDHDH();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021106 RID: 135430 RVA: 0x00902344 File Offset: 0x00900544
|
|
internal void OJKNBNGGBEC(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.CheckSticking();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021107 RID: 135431 RVA: 0x0090237C File Offset: 0x0090057C
|
|
internal void DPNFJMCMNGC(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.FFDAOKKOHMP();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06021108 RID: 135432 RVA: 0x009023B4 File Offset: 0x009005B4
|
|
internal void LNEDHHMFFKK(StickyBase EBGBGCAABDL)
|
|
{
|
|
if (!this.LHMOJBFHEPN)
|
|
{
|
|
StickyExtrusion stickyExtrusion = EBGBGCAABDL as StickyExtrusion;
|
|
if (stickyExtrusion != null)
|
|
{
|
|
this.LHMOJBFHEPN = stickyExtrusion.JLKBEDFEHBE();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x040055F8 RID: 22008
|
|
internal bool LHMOJBFHEPN;
|
|
}
|
|
}
|
|
}
|