1081 lines
33 KiB
C#
1081 lines
33 KiB
C#
using System;
|
|
using Photon;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000BC RID: 188
|
|
[RequireComponent(typeof(Tool))]
|
|
public class UnrollingScreen : global::Photon.MonoBehaviour
|
|
{
|
|
// Token: 0x060026B3 RID: 9907 RVA: 0x000B93A4 File Offset: 0x000B75A4
|
|
protected virtual void LELHNBCKIEG()
|
|
{
|
|
base.DLCHNOFPONJ();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "PunSupportLogger");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026B4 RID: 9908 RVA: 0x000B9414 File Offset: 0x000B7614
|
|
private void DOJOJAPOEPB()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1371f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 725f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.NOAFIBMGPIF(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MHOHOJIBKNJ())
|
|
{
|
|
this.screen.FDKDAILMJHG(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026B5 RID: 9909 RVA: 0x000B9540 File Offset: 0x000B7740
|
|
protected virtual void BDKMGEHDIIH()
|
|
{
|
|
base.NGOPCBJCNJM();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "[Steamworks.NET] SteamAPI_Init() failed. Refer to Valve's documentation or the comment above this line for more information.");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026B6 RID: 9910 RVA: 0x000B95B0 File Offset: 0x000B77B0
|
|
protected virtual void BKHPHJMIDFO()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "gizmos");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026B7 RID: 9911 RVA: 0x000B9620 File Offset: 0x000B7820
|
|
private void AGFKLOKAJPO()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 79f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 261f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MHOHOJIBKNJ())
|
|
{
|
|
this.screen.LGCHBGEBEDC(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MNBEPCJHKGP())
|
|
{
|
|
this.screen.EKOCCBCLOFA(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026B8 RID: 9912 RVA: 0x000B974C File Offset: 0x000B794C
|
|
protected virtual void BEJPIHEKCML()
|
|
{
|
|
base.LGCNFLACIIH();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "June");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026B9 RID: 9913 RVA: 0x000B97BC File Offset: 0x000B79BC
|
|
protected virtual void BOFMPPGNKAI()
|
|
{
|
|
base.Awake();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + " iterations for read and write");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026BA RID: 9914 RVA: 0x000B982C File Offset: 0x000B7A2C
|
|
protected virtual void EIMPMCFDMIA()
|
|
{
|
|
base.Awake();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "Bought duplicate gift!");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026BB RID: 9915 RVA: 0x000B989C File Offset: 0x000B7A9C
|
|
private void DHMMMOGGGFE()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 439f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1649f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECHCOOIBBPC())
|
|
{
|
|
this.screen.EKOCCBCLOFA(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.EDIDMIKGAMP(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026BC RID: 9916 RVA: 0x000B99C8 File Offset: 0x000B7BC8
|
|
private void NLGADNNAGKA()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 200f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 151f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.CKOCCGMJAJG(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MNBEPCJHKGP())
|
|
{
|
|
this.screen.JLDIBFIEEME(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026BD RID: 9917 RVA: 0x000B9AF4 File Offset: 0x000B7CF4
|
|
protected override void DLCHNOFPONJ()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "TouchpadUp (Click)");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026BF RID: 9919 RVA: 0x000B9B78 File Offset: 0x000B7D78
|
|
protected virtual void BACNJJKPEOO()
|
|
{
|
|
base.FNNCEMJECLP();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "declined");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026C0 RID: 9920 RVA: 0x000B9BE8 File Offset: 0x000B7DE8
|
|
protected virtual void OPDMENDFALI()
|
|
{
|
|
base.FNNCEMJECLP();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "Room unpublished!");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026C1 RID: 9921 RVA: 0x000B9C58 File Offset: 0x000B7E58
|
|
protected virtual void JFFLHAMMGAH()
|
|
{
|
|
base.LGCNFLACIIH();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "IsSceneObject");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026C2 RID: 9922 RVA: 0x000B9CC8 File Offset: 0x000B7EC8
|
|
private void EBMJEIIPJNA()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 937f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 799f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MNBEPCJHKGP())
|
|
{
|
|
this.screen.LGCHBGEBEDC(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MHOHOJIBKNJ())
|
|
{
|
|
this.screen.NOAFIBMGPIF(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026C3 RID: 9923 RVA: 0x000B9DF4 File Offset: 0x000B7FF4
|
|
protected virtual void LPBGGKDFLLN()
|
|
{
|
|
base.FNNCEMJECLP();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + " kbps");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026C4 RID: 9924 RVA: 0x000B9E64 File Offset: 0x000B8064
|
|
private void KNNKLOBIIAA()
|
|
{
|
|
if (base.GANDPDNCOKF())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 660f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 620f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.EKOCCBCLOFA(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KKGOEPFJPEH())
|
|
{
|
|
this.screen.JLDIBFIEEME(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026C5 RID: 9925 RVA: 0x000B9F90 File Offset: 0x000B8190
|
|
private void CKEMNFBLIGL()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1754f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1174f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.FHJMJIBDJNE(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KGBFLBHLBOA())
|
|
{
|
|
this.screen.SetVisibility(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026C6 RID: 9926 RVA: 0x000BA0BC File Offset: 0x000B82BC
|
|
private void EFADDFEFPHH()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 740f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 167f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.LGCHBGEBEDC(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KKGOEPFJPEH())
|
|
{
|
|
this.screen.FHJMJIBDJNE(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026C7 RID: 9927 RVA: 0x000BA1E8 File Offset: 0x000B83E8
|
|
private void CNNGLFNKHHA()
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 369f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1479f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.LGCHBGEBEDC(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.OEMPOCHFDOB())
|
|
{
|
|
this.screen.FHJMJIBDJNE(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026C8 RID: 9928 RVA: 0x000BA314 File Offset: 0x000B8514
|
|
private void LHFAAMJFBOC()
|
|
{
|
|
if (base.GANDPDNCOKF())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 839f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 684f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.CKOCCGMJAJG(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KKGOEPFJPEH())
|
|
{
|
|
this.screen.FHJMJIBDJNE(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026C9 RID: 9929 RVA: 0x000BA440 File Offset: 0x000B8640
|
|
private void GGOALPNNECP()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 751f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1669f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MHOHOJIBKNJ())
|
|
{
|
|
this.screen.JLDIBFIEEME(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.JLDIBFIEEME(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026CA RID: 9930 RVA: 0x000BA56C File Offset: 0x000B876C
|
|
protected virtual void BBKPAKKLOGB()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "audio");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026CB RID: 9931 RVA: 0x000BA5DC File Offset: 0x000B87DC
|
|
protected override void IPAPMGBLCNF()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "\">Detected: ");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026CC RID: 9932 RVA: 0x000BA64C File Offset: 0x000B884C
|
|
private void PALPHLDFBEK()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1706f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 676f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.FHJMJIBDJNE(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.HBCHLNGKOEN(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026CD RID: 9933 RVA: 0x000BA778 File Offset: 0x000B8978
|
|
private void KEMHICMCHDC()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 739f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1660f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.LGCHBGEBEDC(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MNBEPCJHKGP())
|
|
{
|
|
this.screen.SetVisibility(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026CE RID: 9934 RVA: 0x000BA8A4 File Offset: 0x000B8AA4
|
|
protected virtual void POMCHIPOPEA()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "Connected to masterserver.");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026CF RID: 9935 RVA: 0x000BA914 File Offset: 0x000B8B14
|
|
private void EFOMIHBIANH()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1645f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1326f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.NGBEFNGLHHJ())
|
|
{
|
|
this.screen.JLDIBFIEEME(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.ECHCOOIBBPC())
|
|
{
|
|
this.screen.LNBKLHMEDGC(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026D0 RID: 9936 RVA: 0x000BAA40 File Offset: 0x000B8C40
|
|
private void NEIGGJNPAHE()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 630f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1622f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECHCOOIBBPC())
|
|
{
|
|
this.screen.HBCHLNGKOEN(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KGBFLBHLBOA())
|
|
{
|
|
this.screen.EKOCCBCLOFA(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026D1 RID: 9937 RVA: 0x000BAB6C File Offset: 0x000B8D6C
|
|
private void FixedUpdate()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 0f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 0f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.SetVisibility(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.SetVisibility(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026D2 RID: 9938 RVA: 0x000BAC98 File Offset: 0x000B8E98
|
|
protected virtual void ADKAPKKOHBC()
|
|
{
|
|
base.MPIHCILBGLM();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "Bad CRC32 in GZIP trailer. (actual({0:X8})!=expected({1:X8}))");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026D3 RID: 9939 RVA: 0x000BAD08 File Offset: 0x000B8F08
|
|
protected virtual void PEMILJJNOEP()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "PlayerPartyID");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026D4 RID: 9940 RVA: 0x000BAD78 File Offset: 0x000B8F78
|
|
protected virtual void DLHCKBDMBAF()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "ns.exitgames.com");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026D5 RID: 9941 RVA: 0x000BADE8 File Offset: 0x000B8FE8
|
|
protected virtual void KPNLIAADHNJ()
|
|
{
|
|
base.FNNCEMJECLP();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "'Private Games' are now 'Custom Rooms'! Use the Custom Rooms button on the Home Screen...");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026D6 RID: 9942 RVA: 0x000BAE58 File Offset: 0x000B9058
|
|
private void LNBMIILKIFM()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 400f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 268f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.HBCHLNGKOEN(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KGBFLBHLBOA())
|
|
{
|
|
this.screen.JLDIBFIEEME(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026D7 RID: 9943 RVA: 0x000BAF84 File Offset: 0x000B9184
|
|
private void DFJGLGEHABD()
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 59f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1261f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MHOHOJIBKNJ())
|
|
{
|
|
this.screen.SetVisibility(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.LNBKLHMEDGC(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026D8 RID: 9944 RVA: 0x000BB0B0 File Offset: 0x000B92B0
|
|
protected override void NGOPCBJCNJM()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "PlatformDisableComponents requires at least one specified platform.");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026D9 RID: 9945 RVA: 0x000BB120 File Offset: 0x000B9320
|
|
protected virtual void AMNNBMEMJGB()
|
|
{
|
|
base.MPIHCILBGLM();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "Triggers once dependent encounters are finished.");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026DA RID: 9946 RVA: 0x000BB190 File Offset: 0x000B9390
|
|
protected virtual void FDBHMLOEHCE()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "cG1lbnREYXRhEigKC3N0aWNreV9kYXRhGBAgASgLMhMucmVjcm9vbS5TdGlj");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026DB RID: 9947 RVA: 0x000BB200 File Offset: 0x000B9400
|
|
private void JLEFPEPGPFJ()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 16f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 846f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.FDKDAILMJHG(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.FDKDAILMJHG(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026DC RID: 9948 RVA: 0x000BB32C File Offset: 0x000B952C
|
|
protected virtual void FIDMEJHMGJI()
|
|
{
|
|
base.IPAPMGBLCNF();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "fixeddeltatime");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026DD RID: 9949 RVA: 0x000BB39C File Offset: 0x000B959C
|
|
protected virtual void MBJAEHLCMGD()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "You Hit ");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026DE RID: 9950 RVA: 0x000BB40C File Offset: 0x000B960C
|
|
private void LPJJPBFFAGH()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 956f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 546f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.HBCHLNGKOEN(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.IIEGGLHMOBH)
|
|
{
|
|
this.screen.FDKDAILMJHG(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026DF RID: 9951 RVA: 0x000BB538 File Offset: 0x000B9738
|
|
private void LLMANCMIGPP()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1957f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 798f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.HBCHLNGKOEN(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.JLDIBFIEEME(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026E0 RID: 9952 RVA: 0x000BB664 File Offset: 0x000B9864
|
|
private void GMCAFHKKLIH()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1167f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1119f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.NGBEFNGLHHJ())
|
|
{
|
|
this.screen.SetVisibility(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.ECIMKHBDHOB())
|
|
{
|
|
this.screen.FDKDAILMJHG(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026E1 RID: 9953 RVA: 0x000BB790 File Offset: 0x000B9990
|
|
private void CFNEBBODFBL()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD;
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 282f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1546f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.ECHCOOIBBPC())
|
|
{
|
|
this.screen.NOAFIBMGPIF(true);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.KGBFLBHLBOA())
|
|
{
|
|
this.screen.FDKDAILMJHG(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026E2 RID: 9954 RVA: 0x000BB8BC File Offset: 0x000B9ABC
|
|
protected virtual void ACOIMDMPDOM()
|
|
{
|
|
base.ELPAGAAOPFN();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + "LAST_USE_TIME");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026E3 RID: 9955 RVA: 0x000BB92C File Offset: 0x000B9B2C
|
|
private void HFOBMBAHEAM()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1547f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1840f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.NGBEFNGLHHJ())
|
|
{
|
|
this.screen.EKOCCBCLOFA(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.MCACDBCNBOA())
|
|
{
|
|
this.screen.HBCHLNGKOEN(false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060026E4 RID: 9956 RVA: 0x000BBA58 File Offset: 0x000B9C58
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.ENBMEDIFBLM = base.GetComponent<Tool>();
|
|
if (this.ENBMEDIFBLM == null)
|
|
{
|
|
Debug.LogError(base.name + " is missing a tool component.");
|
|
}
|
|
this.AEGMDGLFFLA = (this.screenBottom.position - this.screenTop.position).normalized;
|
|
}
|
|
|
|
// Token: 0x060026E5 RID: 9957 RVA: 0x000BBAC8 File Offset: 0x000B9CC8
|
|
private void ADFCKEFDOGH()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
Vector3 vector = this.screenTop.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag = Vector3.Dot(vector, this.AEGMDGLFFLA) > 1820f;
|
|
if (flag)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenTop.position;
|
|
}
|
|
Vector3 vector2 = this.screenBottom.position - this.ENBMEDIFBLM.BOLBONELAEF.JHBFKKAFPFG();
|
|
bool flag2 = Vector3.Dot(vector2, this.AEGMDGLFFLA) < 1705f;
|
|
if (flag2)
|
|
{
|
|
this.ENBMEDIFBLM.BOLBONELAEF.CIGPHKLAAOD = this.screenBottom.position;
|
|
vector2 = Vector3.zero;
|
|
}
|
|
float magnitude = vector2.magnitude;
|
|
if (magnitude <= this.screenVisibilityDistance && !this.screen.KGBFLBHLBOA())
|
|
{
|
|
this.screen.LGCHBGEBEDC(false);
|
|
}
|
|
else if (magnitude > this.screenVisibilityDistance && this.screen.NGBEFNGLHHJ())
|
|
{
|
|
this.screen.EKOCCBCLOFA(true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000516 RID: 1302
|
|
[SerializeField]
|
|
private Transform screenTop;
|
|
|
|
// Token: 0x04000517 RID: 1303
|
|
[SerializeField]
|
|
private Transform screenBottom;
|
|
|
|
// Token: 0x04000518 RID: 1304
|
|
[SerializeField]
|
|
private SlideshowScreen screen;
|
|
|
|
// Token: 0x04000519 RID: 1305
|
|
[SerializeField]
|
|
private float screenVisibilityDistance = 0.1f;
|
|
|
|
// Token: 0x0400051A RID: 1306
|
|
private Tool ENBMEDIFBLM;
|
|
|
|
// Token: 0x0400051B RID: 1307
|
|
private Vector3 AEGMDGLFFLA;
|
|
}
|