1750 lines
54 KiB
C#
1750 lines
54 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.CompilerServices;
|
|
using RecRoom;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200117A RID: 4474
|
|
public class TutorialCameraDollyManager : MonoBehaviour
|
|
{
|
|
// Token: 0x060260F6 RID: 155894 RVA: 0x00A8B8CC File Offset: 0x00A89ACC
|
|
private void IJBHDPJENHC()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 296f;
|
|
forward.z = 466f;
|
|
Vector3 vector = Player.LocalPlayer.HFDJIFFPEFM().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(685f, -Player.LocalPlayer.HFDJIFFPEFM().transform.rotation.eulerAngles.y, 1255f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("Failed to update display name: ", vector, quaternion, 1);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().JHOPMPNCFBN(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060260F7 RID: 155895 RVA: 0x00A8B9B4 File Offset: 0x00A89BB4
|
|
public void LEJHHDJLDLG(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().JABOLMCFIAH(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().GLCNEBKBMLH(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060260F8 RID: 155896 RVA: 0x00A8BA18 File Offset: 0x00A89C18
|
|
public void PDPNLLOPEME()
|
|
{
|
|
this.ENNHJNAGIKD();
|
|
SessionManager.CHHMGAFGJFA(new Action(this.GOBGLOFDDCO), null);
|
|
}
|
|
|
|
// Token: 0x060260F9 RID: 155897 RVA: 0x00A8BA34 File Offset: 0x00A89C34
|
|
public void KPMNBECHFMM()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().NEDGCJMFKAA();
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().GPJLGIAMFBJ();
|
|
}
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<DollyController>().ForceVertical();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060260FA RID: 155898 RVA: 0x00A8BAA4 File Offset: 0x00A89CA4
|
|
private void NCDCHFAHPLB()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 1468f;
|
|
forward.z = 952f;
|
|
Vector3 vector = Player.LocalPlayer.AJHHFNCFKNF().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1446f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 1363f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("OpSetPropertiesOfActor not sent. ActorNr must be > 0 and actorProperties != null.", vector, quaternion, 1);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().FJDFBGCIKAA(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().OBECKCDKDCC(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060260FB RID: 155899 RVA: 0x00A8BBDC File Offset: 0x00A89DDC
|
|
private void FFLMICKAHMC()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = 857f;
|
|
forward.z = 209f;
|
|
Vector3 vector = Player.LocalPlayer.HFDJIFFPEFM().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(737f, -Player.LocalPlayer.HFDJIFFPEFM().transform.rotation.eulerAngles.y, 1581f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("y", vector, quaternion, 0);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().GCAMOAGNJGO(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060260FC RID: 155900 RVA: 0x00A8BCC4 File Offset: 0x00A89EC4
|
|
private void AEHPODGIGII()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = 778f;
|
|
forward.z = 544f;
|
|
Vector3 vector = Player.LocalPlayer.AJHHFNCFKNF().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1838f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 1416f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("numChannels", vector, quaternion, 0);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().GCAMOAGNJGO(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().COJJIHPCJGJ(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().ADFIJACKBOO(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060260FD RID: 155901 RVA: 0x00A8BDFC File Offset: 0x00A89FFC
|
|
public void ELFPNHFBCOG()
|
|
{
|
|
this.JJKLMDBPNOK();
|
|
SessionManager.PBNNABGHCLK(new Action(this.FDJDLBABBKK), null);
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
}
|
|
|
|
// Token: 0x060260FE RID: 155902 RVA: 0x00A8BE20 File Offset: 0x00A8A020
|
|
public void StartMovingDelayed(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.FLEMMOLAKND(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x060260FF RID: 155903 RVA: 0x00A8BE30 File Offset: 0x00A8A030
|
|
public void MNCDABIEHFJ(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.BNIOGIOKCJB(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x06026100 RID: 155904 RVA: 0x00A8BE40 File Offset: 0x00A8A040
|
|
private void Update()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.GGOKCBOEDMC(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026101 RID: 155905 RVA: 0x00A8BE90 File Offset: 0x00A8A090
|
|
private void JGFOPLONGBH()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.JGLGPEOMBLK(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026102 RID: 155906 RVA: 0x00A8BEE0 File Offset: 0x00A8A0E0
|
|
public void KFDJALGFLFH(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x06026103 RID: 155907 RVA: 0x00A8BEEC File Offset: 0x00A8A0EC
|
|
private void INHFJMOAOFG()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026104 RID: 155908 RVA: 0x00A8BF64 File Offset: 0x00A8A164
|
|
public void NMIFKJOIHOO()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.PBNNABGHCLK(new Action(this.BFGDPDMLMEE), null);
|
|
}
|
|
|
|
// Token: 0x06026105 RID: 155909 RVA: 0x00A8BF98 File Offset: 0x00A8A198
|
|
public void TearDown()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Stationary;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.PBNNABGHCLK(new Action(this.HNJCBJNIMFE), null);
|
|
}
|
|
|
|
// Token: 0x06026106 RID: 155910 RVA: 0x00A8BFCC File Offset: 0x00A8A1CC
|
|
private void JGLGPEOMBLK(float DOALKCLPMIN, out Vector3 CIGPHKLAAOD, out Quaternion IJGPPOIJDKO)
|
|
{
|
|
CIGPHKLAAOD = this.LOINFHBMMDG.position;
|
|
IJGPPOIJDKO = this.LOINFHBMMDG.rotation;
|
|
float num = DOALKCLPMIN / this.dollyTime;
|
|
TutorialCameraDollyManager.EGODLCAOJPL egodlcaojpl = this.mode;
|
|
if (egodlcaojpl != TutorialCameraDollyManager.EGODLCAOJPL.Linear)
|
|
{
|
|
if (egodlcaojpl == (TutorialCameraDollyManager.EGODLCAOJPL)8)
|
|
{
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
if (num > 125f && this.KNOCFBKCPKP)
|
|
{
|
|
num = 707f;
|
|
}
|
|
float num2 = num;
|
|
if (this.KNOCFBKCPKP)
|
|
{
|
|
num2 = Mathf.SmoothStep(676f, 711f, num);
|
|
}
|
|
Quaternion quaternion = Quaternion.AngleAxis(1959f * num2, Vector3.up);
|
|
Vector3 vector = this.NBCICMBBJFA.InverseTransformPoint(this.LOINFHBMMDG.position);
|
|
Quaternion quaternion2 = this.NBCICMBBJFA.MCKNNGGGBDG(this.LOINFHBMMDG.rotation);
|
|
CIGPHKLAAOD = this.NBCICMBBJFA.TransformPoint(quaternion * vector);
|
|
IJGPPOIJDKO = this.NBCICMBBJFA.PAFJLHMDIMO(quaternion * quaternion2);
|
|
}
|
|
}
|
|
}
|
|
else if (this.JGKPGLPJOGD != null)
|
|
{
|
|
if (num > 565f)
|
|
{
|
|
if (!this.LMLLNEDDFKF)
|
|
{
|
|
num = 566f;
|
|
}
|
|
else
|
|
{
|
|
int num3 = Mathf.FloorToInt(num);
|
|
num -= (float)num3;
|
|
if (num3 % 8 == 0)
|
|
{
|
|
num = 1457f - num;
|
|
}
|
|
}
|
|
}
|
|
if (!this.KNOCFBKCPKP)
|
|
{
|
|
CIGPHKLAAOD = Vector3.Lerp(this.LOINFHBMMDG.position, this.JGKPGLPJOGD.position, num);
|
|
}
|
|
else
|
|
{
|
|
CIGPHKLAAOD = new Vector3(Mathf.SmoothStep(this.LOINFHBMMDG.position.x, this.JGKPGLPJOGD.position.x, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.y, this.JGKPGLPJOGD.position.y, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.z, this.JGKPGLPJOGD.position.z, num));
|
|
}
|
|
IJGPPOIJDKO = Quaternion.Slerp(this.LOINFHBMMDG.rotation, this.JGKPGLPJOGD.rotation, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026107 RID: 155911 RVA: 0x00A8C220 File Offset: 0x00A8A420
|
|
public void PEMJAJNNKLK()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026108 RID: 155912 RVA: 0x00A8C260 File Offset: 0x00A8A460
|
|
public void LDKFJNNKEHB()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026109 RID: 155913 RVA: 0x00A8C2A0 File Offset: 0x00A8A4A0
|
|
private void GGOKCBOEDMC(float DOALKCLPMIN, out Vector3 CIGPHKLAAOD, out Quaternion IJGPPOIJDKO)
|
|
{
|
|
CIGPHKLAAOD = this.LOINFHBMMDG.position;
|
|
IJGPPOIJDKO = this.LOINFHBMMDG.rotation;
|
|
float num = DOALKCLPMIN / this.dollyTime;
|
|
TutorialCameraDollyManager.EGODLCAOJPL egodlcaojpl = this.mode;
|
|
if (egodlcaojpl != TutorialCameraDollyManager.EGODLCAOJPL.Linear)
|
|
{
|
|
if (egodlcaojpl == TutorialCameraDollyManager.EGODLCAOJPL.Orbit)
|
|
{
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
if (num > 1f && this.KNOCFBKCPKP)
|
|
{
|
|
num = 1f;
|
|
}
|
|
float num2 = num;
|
|
if (this.KNOCFBKCPKP)
|
|
{
|
|
num2 = Mathf.SmoothStep(0f, 1f, num);
|
|
}
|
|
Quaternion quaternion = Quaternion.AngleAxis(360f * num2, Vector3.up);
|
|
Vector3 vector = this.NBCICMBBJFA.InverseTransformPoint(this.LOINFHBMMDG.position);
|
|
Quaternion quaternion2 = this.NBCICMBBJFA.MCKNNGGGBDG(this.LOINFHBMMDG.rotation);
|
|
CIGPHKLAAOD = this.NBCICMBBJFA.TransformPoint(quaternion * vector);
|
|
IJGPPOIJDKO = this.NBCICMBBJFA.PAFJLHMDIMO(quaternion * quaternion2);
|
|
}
|
|
}
|
|
}
|
|
else if (this.JGKPGLPJOGD != null)
|
|
{
|
|
if (num > 1f)
|
|
{
|
|
if (!this.LMLLNEDDFKF)
|
|
{
|
|
num = 1f;
|
|
}
|
|
else
|
|
{
|
|
int num3 = Mathf.FloorToInt(num);
|
|
num -= (float)num3;
|
|
if (num3 % 2 == 1)
|
|
{
|
|
num = 1f - num;
|
|
}
|
|
}
|
|
}
|
|
if (!this.KNOCFBKCPKP)
|
|
{
|
|
CIGPHKLAAOD = Vector3.Lerp(this.LOINFHBMMDG.position, this.JGKPGLPJOGD.position, num);
|
|
}
|
|
else
|
|
{
|
|
CIGPHKLAAOD = new Vector3(Mathf.SmoothStep(this.LOINFHBMMDG.position.x, this.JGKPGLPJOGD.position.x, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.y, this.JGKPGLPJOGD.position.y, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.z, this.JGKPGLPJOGD.position.z, num));
|
|
}
|
|
IJGPPOIJDKO = Quaternion.Slerp(this.LOINFHBMMDG.rotation, this.JGKPGLPJOGD.rotation, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602610A RID: 155914 RVA: 0x00A8C4F4 File Offset: 0x00A8A6F4
|
|
public void NHGBDAFGKII(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().HDCBPNIHGOH(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().NHGBDAFGKII(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602610B RID: 155915 RVA: 0x00A8C558 File Offset: 0x00A8A758
|
|
public void KHEFMJNPPLB()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.LOINFHBMMDG.position = base.transform.position;
|
|
this.LOINFHBMMDG.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602610C RID: 155916 RVA: 0x00A8C598 File Offset: 0x00A8A798
|
|
private void LPBGGKDFLLN()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.dollyTime = 307f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x0602610D RID: 155917 RVA: 0x00A8C5B8 File Offset: 0x00A8A7B8
|
|
public void PELCIHOIEKG()
|
|
{
|
|
this.BMMIMMMDGGM();
|
|
SessionManager.CHHMGAFGJFA(new Action(this.KCKKCNOLFEK), null);
|
|
}
|
|
|
|
// Token: 0x0602610E RID: 155918 RVA: 0x00A8C5D4 File Offset: 0x00A8A7D4
|
|
private IEnumerator BNIOGIOKCJB(float FOEOKCHPILL)
|
|
{
|
|
if (this.camera != null && this.LOINFHBMMDG != null)
|
|
{
|
|
base.transform.position = this.LOINFHBMMDG.position;
|
|
base.transform.rotation = this.LOINFHBMMDG.rotation;
|
|
this.DIPFNOBPPMN = this.camera.HFFDFHLEGFL;
|
|
this.camera.HFFDFHLEGFL = false;
|
|
yield return new WaitForSeconds(FOEOKCHPILL);
|
|
this.JBDLCPGODKK = Time.time;
|
|
this.DIPLDJBFNHJ = true;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602610F RID: 155919 RVA: 0x00A8C5F8 File Offset: 0x00A8A7F8
|
|
public void ICNNBPFKAFB(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.KOHGHCIHOOK(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x06026110 RID: 155920 RVA: 0x00A8C608 File Offset: 0x00A8A808
|
|
private void MJPFEDGDHOO()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 1835f;
|
|
forward.z = 1022f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1329f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 1778f);
|
|
this.JGMAJCDFAMD = IHFKMIAHBFP.ICHFNPOCOEJ("Wall hack Detected!", vector, quaternion, 1);
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.NBCICMBBJFA = this.JGMAJCDFAMD.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026111 RID: 155921 RVA: 0x00A8C6DC File Offset: 0x00A8A8DC
|
|
public void SetupLinear()
|
|
{
|
|
this.SharedSetup();
|
|
SessionManager.PBNNABGHCLK(new Action(this.DJAEPEDADMA), null);
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
}
|
|
|
|
// Token: 0x06026112 RID: 155922 RVA: 0x00A8C700 File Offset: 0x00A8A900
|
|
private void MBPLKKCGHLE()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026113 RID: 155923 RVA: 0x00A8C778 File Offset: 0x00A8A978
|
|
public void SharedSetup()
|
|
{
|
|
this.TearDown();
|
|
SessionManager.PBNNABGHCLK(new Action(this.FPIOGKKBMBC), null);
|
|
}
|
|
|
|
// Token: 0x06026114 RID: 155924 RVA: 0x00A8C794 File Offset: 0x00A8A994
|
|
public void MKFJAFIGFCN()
|
|
{
|
|
this.SharedSetup();
|
|
SessionManager.PBNNABGHCLK(new Action(this.JCKMGHDHPGO), null);
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Orbit;
|
|
}
|
|
|
|
// Token: 0x06026115 RID: 155925 RVA: 0x00A8C7B8 File Offset: 0x00A8A9B8
|
|
public void NFNKCGNLOPF(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().MMGEJMOBLJH(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().GCAMOAGNJGO(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026116 RID: 155926 RVA: 0x00A8C81C File Offset: 0x00A8AA1C
|
|
public void DNAPMOAKCEN()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026117 RID: 155927 RVA: 0x00A8C85C File Offset: 0x00A8AA5C
|
|
private void Awake()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Stationary;
|
|
this.dollyTime = 5f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x06026118 RID: 155928 RVA: 0x00A8C87C File Offset: 0x00A8AA7C
|
|
private void HFKLFDKBGKB()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026119 RID: 155929 RVA: 0x00A8C8F4 File Offset: 0x00A8AAF4
|
|
private IEnumerator FLEMMOLAKND(float FOEOKCHPILL)
|
|
{
|
|
if (this.camera != null && this.LOINFHBMMDG != null)
|
|
{
|
|
base.transform.position = this.LOINFHBMMDG.position;
|
|
base.transform.rotation = this.LOINFHBMMDG.rotation;
|
|
this.DIPFNOBPPMN = this.camera.HFFDFHLEGFL;
|
|
this.camera.HFFDFHLEGFL = false;
|
|
yield return new WaitForSeconds(FOEOKCHPILL);
|
|
this.JBDLCPGODKK = Time.time;
|
|
this.DIPLDJBFNHJ = true;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602611B RID: 155931 RVA: 0x00A8C928 File Offset: 0x00A8AB28
|
|
public void DKPHCNNMAJL(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x0602611C RID: 155932 RVA: 0x00A8C934 File Offset: 0x00A8AB34
|
|
public void IDNAAEODGIP()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602611D RID: 155933 RVA: 0x00A8C974 File Offset: 0x00A8AB74
|
|
public void BMOKNGKPPNE(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x0602611E RID: 155934 RVA: 0x00A8C980 File Offset: 0x00A8AB80
|
|
public void LDFBIBDIBMP(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x0602611F RID: 155935 RVA: 0x00A8C98C File Offset: 0x00A8AB8C
|
|
public void HNGFCPDJCFK()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().FBGCBOLLAJK();
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().MLAKCLIMMNF();
|
|
}
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<DollyController>().HHHHMPNNKHD();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026120 RID: 155936 RVA: 0x00A8C9FC File Offset: 0x00A8ABFC
|
|
public void PNIKNBBGAON()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().GFFAGHDOJKD();
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().NEDGCJMFKAA();
|
|
}
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<DollyController>().MLAKCLIMMNF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026121 RID: 155937 RVA: 0x00A8CA6C File Offset: 0x00A8AC6C
|
|
public void NDANDFLAEMO(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().GLCNEBKBMLH(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().JHOPMPNCFBN(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026122 RID: 155938 RVA: 0x00A8CAD0 File Offset: 0x00A8ACD0
|
|
private void OPDMENDFALI()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.dollyTime = 366f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x06026123 RID: 155939 RVA: 0x00A8CAF0 File Offset: 0x00A8ACF0
|
|
private void GOBGLOFDDCO()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = 1713f;
|
|
forward.z = 1005f;
|
|
Vector3 vector = Player.LocalPlayer.AJHHFNCFKNF().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1692f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 924f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("Error deserializing RCCarRemoteControl {0}: Controlled object {1} is not a RemoteControllable.", vector, quaternion, 1);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().EIHIEEADGAE(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026124 RID: 155940 RVA: 0x00A8CBD8 File Offset: 0x00A8ADD8
|
|
public void SnapDollyStartToCamera()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.LOINFHBMMDG.position = base.transform.position;
|
|
this.LOINFHBMMDG.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026125 RID: 155941 RVA: 0x00A8CC18 File Offset: 0x00A8AE18
|
|
public void PEPFGFBLEEK()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.AJNADBIFHHG(new Action(this.FMMDLNNEBGM), null);
|
|
}
|
|
|
|
// Token: 0x06026126 RID: 155942 RVA: 0x00A8CC4C File Offset: 0x00A8AE4C
|
|
private void MJPCLLHDOKM()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026127 RID: 155943 RVA: 0x00A8CCC4 File Offset: 0x00A8AEC4
|
|
private void NIBGLHFHJLJ()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.JGLGPEOMBLK(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026128 RID: 155944 RVA: 0x00A8CD14 File Offset: 0x00A8AF14
|
|
[CompilerGenerated]
|
|
private void DJAEPEDADMA()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = -0.5f;
|
|
forward.z = -1f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(0f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 0f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("[DollyEnd]", vector, quaternion, 0);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapTransform(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().SetSnapTransform(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026129 RID: 155945 RVA: 0x00A8CE4C File Offset: 0x00A8B04C
|
|
private void PDHNABHMNNA()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 1349f;
|
|
forward.z = 754f;
|
|
Vector3 vector = Player.LocalPlayer.AJHHFNCFKNF().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1825f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 307f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("!", vector, quaternion, 0);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().BGKONDFFCIK(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().COJJIHPCJGJ(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602612A RID: 155946 RVA: 0x00A8CF84 File Offset: 0x00A8B184
|
|
private void ILDEOJLFDJB()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.PKABMDOIFIG(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602612B RID: 155947 RVA: 0x00A8CFD4 File Offset: 0x00A8B1D4
|
|
public void MakeVertical()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().ForceVertical();
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().ForceVertical();
|
|
}
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<DollyController>().ForceVertical();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602612C RID: 155948 RVA: 0x00A8D044 File Offset: 0x00A8B244
|
|
public void LMCIFKCELFH(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x0602612D RID: 155949 RVA: 0x00A8D050 File Offset: 0x00A8B250
|
|
public void LOJONIFEOPE()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.AJNADBIFHHG(new Action(this.HFKLFDKBGKB), null);
|
|
}
|
|
|
|
// Token: 0x0602612E RID: 155950 RVA: 0x00A8D084 File Offset: 0x00A8B284
|
|
public void MOGJLCPLANG()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.PBNNABGHCLK(new Action(this.HFKLFDKBGKB), null);
|
|
}
|
|
|
|
// Token: 0x0602612F RID: 155951 RVA: 0x00A8D0B8 File Offset: 0x00A8B2B8
|
|
public void MHCBCKBHMKI()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().BHACDOPBALM();
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().HHHHMPNNKHD();
|
|
}
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<DollyController>().ForceVertical();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026130 RID: 155952 RVA: 0x00A8D128 File Offset: 0x00A8B328
|
|
private void PBPGLFFLIPH()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Stationary;
|
|
this.dollyTime = 74f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x06026131 RID: 155953 RVA: 0x00A8D148 File Offset: 0x00A8B348
|
|
private void DDDJHGJFIJL()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.dollyTime = 267f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x06026132 RID: 155954 RVA: 0x00A8D168 File Offset: 0x00A8B368
|
|
private void BOBJJLDFCDF()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 502f;
|
|
forward.z = 555f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(644f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 442f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("Purpose", vector, quaternion, 1);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().MMGEJMOBLJH(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026133 RID: 155955 RVA: 0x00A8D250 File Offset: 0x00A8B450
|
|
[CompilerGenerated]
|
|
private void HNJCBJNIMFE()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026134 RID: 155956 RVA: 0x00A8D2C8 File Offset: 0x00A8B4C8
|
|
private void PLKCCLMGOKP()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.DCNNMPDBPLG(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026135 RID: 155957 RVA: 0x00A8D318 File Offset: 0x00A8B518
|
|
public void JJKLMDBPNOK()
|
|
{
|
|
this.LLLKDPKECHI();
|
|
SessionManager.AJNADBIFHHG(new Action(this.GOBGLOFDDCO), null);
|
|
}
|
|
|
|
// Token: 0x06026136 RID: 155958 RVA: 0x00A8D334 File Offset: 0x00A8B534
|
|
public void BMMIMMMDGGM()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.PBNNABGHCLK(new Action(this.HNJCBJNIMFE), null);
|
|
}
|
|
|
|
// Token: 0x06026137 RID: 155959 RVA: 0x00A8D368 File Offset: 0x00A8B568
|
|
private void HDADLIBGGOG()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = 776f;
|
|
forward.z = 1540f;
|
|
Vector3 vector = Player.LocalPlayer.AJHHFNCFKNF().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(858f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 944f);
|
|
this.JGMAJCDFAMD = IHFKMIAHBFP.ICHFNPOCOEJ("ExtrusionData", vector, quaternion, 1);
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.NBCICMBBJFA = this.JGMAJCDFAMD.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026138 RID: 155960 RVA: 0x00A8D43C File Offset: 0x00A8B63C
|
|
private void JCLAEALNAKO()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 1312f;
|
|
forward.z = 334f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(188f, -Player.LocalPlayer.HFDJIFFPEFM().transform.rotation.eulerAngles.y, 1851f);
|
|
this.JGMAJCDFAMD = IHFKMIAHBFP.ICHFNPOCOEJ("{0}v1/removecachedlogin", vector, quaternion, 0);
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.NBCICMBBJFA = this.JGMAJCDFAMD.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026139 RID: 155961 RVA: 0x00A8D510 File Offset: 0x00A8B710
|
|
public void SetEasing(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x0602613A RID: 155962 RVA: 0x00A8D51C File Offset: 0x00A8B71C
|
|
public void FALEKFKCOBO(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.KOHGHCIHOOK(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x0602613B RID: 155963 RVA: 0x00A8D52C File Offset: 0x00A8B72C
|
|
private void JBOFFEJOLKC()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = 1298f;
|
|
forward.z = 1736f;
|
|
Vector3 vector = Player.LocalPlayer.HFDJIFFPEFM().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1866f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 913f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("Turn", vector, quaternion, 1);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().NLLPHPANCCH(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapTransform(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().FDKAIAEPEKH(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602613C RID: 155964 RVA: 0x00A8D664 File Offset: 0x00A8B864
|
|
public void StopMoving()
|
|
{
|
|
this.DIPLDJBFNHJ = false;
|
|
this.camera.HFFDFHLEGFL = this.DIPFNOBPPMN;
|
|
}
|
|
|
|
// Token: 0x0602613D RID: 155965 RVA: 0x00A8D680 File Offset: 0x00A8B880
|
|
private void PFBFOGJOOGP()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.dollyTime = 170f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x0602613E RID: 155966 RVA: 0x00A8D6A0 File Offset: 0x00A8B8A0
|
|
public void CBEKMMMPDMO()
|
|
{
|
|
this.TearDown();
|
|
SessionManager.AJNADBIFHHG(new Action(this.FPIOGKKBMBC), null);
|
|
}
|
|
|
|
// Token: 0x0602613F RID: 155967 RVA: 0x00A8D6BC File Offset: 0x00A8B8BC
|
|
public void JPCECHIJCMA()
|
|
{
|
|
this.ENNHJNAGIKD();
|
|
SessionManager.CHHMGAFGJFA(new Action(this.GOBGLOFDDCO), null);
|
|
}
|
|
|
|
// Token: 0x06026140 RID: 155968 RVA: 0x00A8D6D8 File Offset: 0x00A8B8D8
|
|
private void BFGDPDMLMEE()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026141 RID: 155969 RVA: 0x00A8D750 File Offset: 0x00A8B950
|
|
private IEnumerator KOHGHCIHOOK(float FOEOKCHPILL)
|
|
{
|
|
if (this.camera != null && this.LOINFHBMMDG != null)
|
|
{
|
|
base.transform.position = this.LOINFHBMMDG.position;
|
|
base.transform.rotation = this.LOINFHBMMDG.rotation;
|
|
this.DIPFNOBPPMN = this.camera.HFFDFHLEGFL;
|
|
this.camera.HFFDFHLEGFL = false;
|
|
yield return new WaitForSeconds(FOEOKCHPILL);
|
|
this.JBDLCPGODKK = Time.time;
|
|
this.DIPLDJBFNHJ = true;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026142 RID: 155970 RVA: 0x00A8D774 File Offset: 0x00A8B974
|
|
public void LILLIDIPEMN(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x06026143 RID: 155971 RVA: 0x00A8D780 File Offset: 0x00A8B980
|
|
public void LEPPHMHEDEH(bool GLKEJNNPNDD)
|
|
{
|
|
this.KNOCFBKCPKP = GLKEJNNPNDD;
|
|
}
|
|
|
|
// Token: 0x06026144 RID: 155972 RVA: 0x00A8D78C File Offset: 0x00A8B98C
|
|
public void JHOPMPNCFBN(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().JHOPMPNCFBN(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().DENLPHCMBFH(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026145 RID: 155973 RVA: 0x00A8D7F0 File Offset: 0x00A8B9F0
|
|
public void BJLGLJGEGMF()
|
|
{
|
|
this.JJKLMDBPNOK();
|
|
SessionManager.PBNNABGHCLK(new Action(this.JCKMGHDHPGO), null);
|
|
this.mode = (TutorialCameraDollyManager.EGODLCAOJPL)6;
|
|
}
|
|
|
|
// Token: 0x06026146 RID: 155974 RVA: 0x00A8D814 File Offset: 0x00A8BA14
|
|
public void LLLKDPKECHI()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.AJNADBIFHHG(new Action(this.MJPCLLHDOKM), null);
|
|
}
|
|
|
|
// Token: 0x06026147 RID: 155975 RVA: 0x00A8D848 File Offset: 0x00A8BA48
|
|
private void BACNJJKPEOO()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Stationary;
|
|
this.dollyTime = 1130f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x06026148 RID: 155976 RVA: 0x00A8D868 File Offset: 0x00A8BA68
|
|
public void ENNHJNAGIKD()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.PBNNABGHCLK(new Action(this.BFGDPDMLMEE), null);
|
|
}
|
|
|
|
// Token: 0x06026149 RID: 155977 RVA: 0x00A8D89C File Offset: 0x00A8BA9C
|
|
private void FDJDLBABBKK()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 299f;
|
|
forward.z = 1371f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(653f, -Player.LocalPlayer.HFDJIFFPEFM().transform.rotation.eulerAngles.y, 1517f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("ETag", vector, quaternion, 1);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().GLCNEBKBMLH(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapTransform(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().SetSnapTransform(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602614A RID: 155978 RVA: 0x00A8D9D4 File Offset: 0x00A8BBD4
|
|
public void GPAIONLKOIK()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.LOINFHBMMDG.position = base.transform.position;
|
|
this.LOINFHBMMDG.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602614B RID: 155979 RVA: 0x00A8DA14 File Offset: 0x00A8BC14
|
|
private void IOKIFHGPMKI()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Linear;
|
|
this.dollyTime = 1783f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x0602614C RID: 155980 RVA: 0x00A8DA34 File Offset: 0x00A8BC34
|
|
private IEnumerator ABCNMENPLFJ(float FOEOKCHPILL)
|
|
{
|
|
if (this.camera != null && this.LOINFHBMMDG != null)
|
|
{
|
|
base.transform.position = this.LOINFHBMMDG.position;
|
|
base.transform.rotation = this.LOINFHBMMDG.rotation;
|
|
this.DIPFNOBPPMN = this.camera.HFFDFHLEGFL;
|
|
this.camera.HFFDFHLEGFL = false;
|
|
yield return new WaitForSeconds(FOEOKCHPILL);
|
|
this.JBDLCPGODKK = Time.time;
|
|
this.DIPLDJBFNHJ = true;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602614D RID: 155981 RVA: 0x00A8DA58 File Offset: 0x00A8BC58
|
|
public void GOPDKBIIDEG()
|
|
{
|
|
this.DIPLDJBFNHJ = true;
|
|
this.camera.HFFDFHLEGFL = this.DIPFNOBPPMN;
|
|
}
|
|
|
|
// Token: 0x0602614E RID: 155982 RVA: 0x00A8DA74 File Offset: 0x00A8BC74
|
|
public void SetSnapping(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602614F RID: 155983 RVA: 0x00A8DAD8 File Offset: 0x00A8BCD8
|
|
private void MJANJBNFEGG()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.PKABMDOIFIG(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026150 RID: 155984 RVA: 0x00A8DB28 File Offset: 0x00A8BD28
|
|
public void FGDKIFDFGKE()
|
|
{
|
|
this.MOGJLCPLANG();
|
|
SessionManager.AJNADBIFHHG(new Action(this.IJBHDPJENHC), null);
|
|
}
|
|
|
|
// Token: 0x06026151 RID: 155985 RVA: 0x00A8DB44 File Offset: 0x00A8BD44
|
|
public void IFNNLPFDKPH()
|
|
{
|
|
this.TearDown();
|
|
SessionManager.CHHMGAFGJFA(new Action(this.KCKKCNOLFEK), null);
|
|
}
|
|
|
|
// Token: 0x06026152 RID: 155986 RVA: 0x00A8DB60 File Offset: 0x00A8BD60
|
|
private void KLEPNAHGNGA()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.AJHHFNCFKNF().transform.forward;
|
|
forward.y = 1343f;
|
|
forward.z = 947f;
|
|
Vector3 vector = Player.LocalPlayer.HFDJIFFPEFM().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1054f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 421f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("RecNet login failed: ", vector, quaternion, 0);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().EBIHNNOLOEO(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026153 RID: 155987 RVA: 0x00A8DC48 File Offset: 0x00A8BE48
|
|
public void PNCMPAKFAEC()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Stationary;
|
|
this.LOINFHBMMDG = null;
|
|
this.JGKPGLPJOGD = null;
|
|
this.NBCICMBBJFA = null;
|
|
SessionManager.CHHMGAFGJFA(new Action(this.INHFJMOAOFG), null);
|
|
}
|
|
|
|
// Token: 0x06026154 RID: 155988 RVA: 0x00A8DC7C File Offset: 0x00A8BE7C
|
|
private void JJHICFPEPKD()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.HFDJIFFPEFM().transform.forward;
|
|
forward.y = 1507f;
|
|
forward.z = 351f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1223f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 47f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("rw_dropped_frames_13to16p", vector, quaternion, 1);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().JHOPMPNCFBN(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().OHEJCHNKLMI(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().MNMBGKFEMHG(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026155 RID: 155989 RVA: 0x00A8DDB4 File Offset: 0x00A8BFB4
|
|
public void SnapDollyEndToCamera()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026156 RID: 155990 RVA: 0x00A8DDF4 File Offset: 0x00A8BFF4
|
|
[CompilerGenerated]
|
|
private void JCKMGHDHPGO()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = -0.5f;
|
|
forward.z = -1f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(0f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 0f);
|
|
this.JGMAJCDFAMD = IHFKMIAHBFP.ICHFNPOCOEJ("[DollyOrbit]", vector, quaternion, 0);
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.NBCICMBBJFA = this.JGMAJCDFAMD.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026157 RID: 155991 RVA: 0x00A8DEC8 File Offset: 0x00A8C0C8
|
|
private void DCNNMPDBPLG(float DOALKCLPMIN, out Vector3 CIGPHKLAAOD, out Quaternion IJGPPOIJDKO)
|
|
{
|
|
CIGPHKLAAOD = this.LOINFHBMMDG.position;
|
|
IJGPPOIJDKO = this.LOINFHBMMDG.rotation;
|
|
float num = DOALKCLPMIN / this.dollyTime;
|
|
TutorialCameraDollyManager.EGODLCAOJPL egodlcaojpl = this.mode;
|
|
if (egodlcaojpl != TutorialCameraDollyManager.EGODLCAOJPL.Stationary)
|
|
{
|
|
if (egodlcaojpl == (TutorialCameraDollyManager.EGODLCAOJPL)6)
|
|
{
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
if (num > 1604f && this.KNOCFBKCPKP)
|
|
{
|
|
num = 1796f;
|
|
}
|
|
float num2 = num;
|
|
if (this.KNOCFBKCPKP)
|
|
{
|
|
num2 = Mathf.SmoothStep(806f, 1770f, num);
|
|
}
|
|
Quaternion quaternion = Quaternion.AngleAxis(1685f * num2, Vector3.up);
|
|
Vector3 vector = this.NBCICMBBJFA.InverseTransformPoint(this.LOINFHBMMDG.position);
|
|
Quaternion quaternion2 = this.NBCICMBBJFA.MCKNNGGGBDG(this.LOINFHBMMDG.rotation);
|
|
CIGPHKLAAOD = this.NBCICMBBJFA.TransformPoint(quaternion * vector);
|
|
IJGPPOIJDKO = this.NBCICMBBJFA.PAFJLHMDIMO(quaternion * quaternion2);
|
|
}
|
|
}
|
|
}
|
|
else if (this.JGKPGLPJOGD != null)
|
|
{
|
|
if (num > 1996f)
|
|
{
|
|
if (!this.LMLLNEDDFKF)
|
|
{
|
|
num = 1167f;
|
|
}
|
|
else
|
|
{
|
|
int num3 = Mathf.FloorToInt(num);
|
|
num -= (float)num3;
|
|
if (num3 % 3 == 1)
|
|
{
|
|
num = 710f - num;
|
|
}
|
|
}
|
|
}
|
|
if (!this.KNOCFBKCPKP)
|
|
{
|
|
CIGPHKLAAOD = Vector3.Lerp(this.LOINFHBMMDG.position, this.JGKPGLPJOGD.position, num);
|
|
}
|
|
else
|
|
{
|
|
CIGPHKLAAOD = new Vector3(Mathf.SmoothStep(this.LOINFHBMMDG.position.x, this.JGKPGLPJOGD.position.x, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.y, this.JGKPGLPJOGD.position.y, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.z, this.JGKPGLPJOGD.position.z, num));
|
|
}
|
|
IJGPPOIJDKO = Quaternion.Slerp(this.LOINFHBMMDG.rotation, this.JGKPGLPJOGD.rotation, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026158 RID: 155992 RVA: 0x00A8E11C File Offset: 0x00A8C31C
|
|
public void GCMJEHGMKNI(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().JHOPMPNCFBN(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().GNPPLGEPHEN(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026159 RID: 155993 RVA: 0x00A8E180 File Offset: 0x00A8C380
|
|
public void JCHGFAEDJJD(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().EBIHNNOLOEO(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().MMGEJMOBLJH(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602615A RID: 155994 RVA: 0x00A8E1E4 File Offset: 0x00A8C3E4
|
|
private void EJELDFPCKKF()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.DCNNMPDBPLG(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602615B RID: 155995 RVA: 0x00A8E234 File Offset: 0x00A8C434
|
|
public void HHMGCOIBCMI()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602615C RID: 155996 RVA: 0x00A8E274 File Offset: 0x00A8C474
|
|
private void FMMDLNNEBGM()
|
|
{
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.GFEBHBCEGCF);
|
|
this.GFEBHBCEGCF = null;
|
|
}
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.IDHCIIEHKLE);
|
|
this.IDHCIIEHKLE = null;
|
|
}
|
|
if (this.JGMAJCDFAMD != null)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.JGMAJCDFAMD);
|
|
this.JGMAJCDFAMD = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602615D RID: 155997 RVA: 0x00A8E2EC File Offset: 0x00A8C4EC
|
|
private void GOGJEGIGNAI()
|
|
{
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Stationary;
|
|
this.dollyTime = 1695f;
|
|
this.JBDLCPGODKK = Time.time;
|
|
}
|
|
|
|
// Token: 0x0602615E RID: 155998 RVA: 0x00A8E30C File Offset: 0x00A8C50C
|
|
private IEnumerator JDJBDDCJMFC(float FOEOKCHPILL)
|
|
{
|
|
if (this.camera != null && this.LOINFHBMMDG != null)
|
|
{
|
|
base.transform.position = this.LOINFHBMMDG.position;
|
|
base.transform.rotation = this.LOINFHBMMDG.rotation;
|
|
this.DIPFNOBPPMN = this.camera.HFFDFHLEGFL;
|
|
this.camera.HFFDFHLEGFL = false;
|
|
yield return new WaitForSeconds(FOEOKCHPILL);
|
|
this.JBDLCPGODKK = Time.time;
|
|
this.DIPLDJBFNHJ = true;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602615F RID: 155999 RVA: 0x00A8E330 File Offset: 0x00A8C530
|
|
private void KCKKCNOLFEK()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.HFDJIFFPEFM().transform.forward;
|
|
forward.y = 311f;
|
|
forward.z = 1197f;
|
|
Vector3 vector = Player.LocalPlayer.AJHHFNCFKNF().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1710f, -Player.LocalPlayer.AJHHFNCFKNF().transform.rotation.eulerAngles.y, 840f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("1", vector, quaternion, 1);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_SNAP_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().GNPPLGEPHEN(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026160 RID: 156000 RVA: 0x00A8E418 File Offset: 0x00A8C618
|
|
public void JKFGAHPAANJ(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.FLEMMOLAKND(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x06026161 RID: 156001 RVA: 0x00A8E428 File Offset: 0x00A8C628
|
|
public void KDNEBOCFEMG()
|
|
{
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.JGKPGLPJOGD.position = base.transform.position;
|
|
this.JGKPGLPJOGD.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026162 RID: 156002 RVA: 0x00A8E468 File Offset: 0x00A8C668
|
|
private void PKABMDOIFIG(float DOALKCLPMIN, out Vector3 CIGPHKLAAOD, out Quaternion IJGPPOIJDKO)
|
|
{
|
|
CIGPHKLAAOD = this.LOINFHBMMDG.position;
|
|
IJGPPOIJDKO = this.LOINFHBMMDG.rotation;
|
|
float num = DOALKCLPMIN / this.dollyTime;
|
|
TutorialCameraDollyManager.EGODLCAOJPL egodlcaojpl = this.mode;
|
|
if (egodlcaojpl != TutorialCameraDollyManager.EGODLCAOJPL.Stationary)
|
|
{
|
|
if (egodlcaojpl == (TutorialCameraDollyManager.EGODLCAOJPL)5)
|
|
{
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
if (num > 463f && this.KNOCFBKCPKP)
|
|
{
|
|
num = 261f;
|
|
}
|
|
float num2 = num;
|
|
if (this.KNOCFBKCPKP)
|
|
{
|
|
num2 = Mathf.SmoothStep(1056f, 320f, num);
|
|
}
|
|
Quaternion quaternion = Quaternion.AngleAxis(650f * num2, Vector3.up);
|
|
Vector3 vector = this.NBCICMBBJFA.InverseTransformPoint(this.LOINFHBMMDG.position);
|
|
Quaternion quaternion2 = this.NBCICMBBJFA.MCKNNGGGBDG(this.LOINFHBMMDG.rotation);
|
|
CIGPHKLAAOD = this.NBCICMBBJFA.TransformPoint(quaternion * vector);
|
|
IJGPPOIJDKO = this.NBCICMBBJFA.PAFJLHMDIMO(quaternion * quaternion2);
|
|
}
|
|
}
|
|
}
|
|
else if (this.JGKPGLPJOGD != null)
|
|
{
|
|
if (num > 1980f)
|
|
{
|
|
if (!this.LMLLNEDDFKF)
|
|
{
|
|
num = 1070f;
|
|
}
|
|
else
|
|
{
|
|
int num3 = Mathf.FloorToInt(num);
|
|
num -= (float)num3;
|
|
if (num3 % 1 == 0)
|
|
{
|
|
num = 726f - num;
|
|
}
|
|
}
|
|
}
|
|
if (!this.KNOCFBKCPKP)
|
|
{
|
|
CIGPHKLAAOD = Vector3.Lerp(this.LOINFHBMMDG.position, this.JGKPGLPJOGD.position, num);
|
|
}
|
|
else
|
|
{
|
|
CIGPHKLAAOD = new Vector3(Mathf.SmoothStep(this.LOINFHBMMDG.position.x, this.JGKPGLPJOGD.position.x, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.y, this.JGKPGLPJOGD.position.y, num), Mathf.SmoothStep(this.LOINFHBMMDG.position.z, this.JGKPGLPJOGD.position.z, num));
|
|
}
|
|
IJGPPOIJDKO = Quaternion.Slerp(this.LOINFHBMMDG.rotation, this.JGKPGLPJOGD.rotation, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026163 RID: 156003 RVA: 0x00A8E6BC File Offset: 0x00A8C8BC
|
|
[CompilerGenerated]
|
|
private void FPIOGKKBMBC()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.BGOGBEPJGPJ.transform.forward;
|
|
forward.y = -0.5f;
|
|
forward.z = 1f;
|
|
Vector3 vector = Player.LocalPlayer.BGOGBEPJGPJ.transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(0f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 0f);
|
|
this.GFEBHBCEGCF = IHFKMIAHBFP.ICHFNPOCOEJ("[DollyStart]", vector, quaternion, 0);
|
|
if (this.GFEBHBCEGCF != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
this.LOINFHBMMDG = this.GFEBHBCEGCF.transform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026164 RID: 156004 RVA: 0x00A8E7A4 File Offset: 0x00A8C9A4
|
|
public void ONECIDGLGDJ(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.FLEMMOLAKND(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x06026165 RID: 156005 RVA: 0x00A8E7B4 File Offset: 0x00A8C9B4
|
|
private IEnumerator JEJEOMMHLGH(float FOEOKCHPILL)
|
|
{
|
|
if (this.camera != null && this.LOINFHBMMDG != null)
|
|
{
|
|
base.transform.position = this.LOINFHBMMDG.position;
|
|
base.transform.rotation = this.LOINFHBMMDG.rotation;
|
|
this.DIPFNOBPPMN = this.camera.HFFDFHLEGFL;
|
|
this.camera.HFFDFHLEGFL = false;
|
|
yield return new WaitForSeconds(FOEOKCHPILL);
|
|
this.JBDLCPGODKK = Time.time;
|
|
this.DIPLDJBFNHJ = true;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026166 RID: 156006 RVA: 0x00A8E7D8 File Offset: 0x00A8C9D8
|
|
public void IOMDFIMCMCE()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.LOINFHBMMDG.position = base.transform.position;
|
|
this.LOINFHBMMDG.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026167 RID: 156007 RVA: 0x00A8E818 File Offset: 0x00A8CA18
|
|
public void HFLEAMNCEAD()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().GAMGGHPFMKP();
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().CKPKNAPHLMD();
|
|
}
|
|
if (this.NBCICMBBJFA != null)
|
|
{
|
|
this.JGMAJCDFAMD.GetComponent<DollyController>().CKPKNAPHLMD();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026168 RID: 156008 RVA: 0x00A8E888 File Offset: 0x00A8CA88
|
|
private void NMOBKODMDII()
|
|
{
|
|
Vector3 forward = Player.LocalPlayer.HFDJIFFPEFM().transform.forward;
|
|
forward.y = 1413f;
|
|
forward.z = 1748f;
|
|
Vector3 vector = Player.LocalPlayer.HFDJIFFPEFM().transform.position + forward;
|
|
Quaternion quaternion = Quaternion.Euler(1778f, -Player.LocalPlayer.BGOGBEPJGPJ.transform.rotation.eulerAngles.y, 942f);
|
|
this.IDHCIIEHKLE = IHFKMIAHBFP.ICHFNPOCOEJ("Add random value", vector, quaternion, 0);
|
|
if (this.IDHCIIEHKLE != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<Tool>().GravityPickupMode = Tool.GNLFAODEBOE.SNAP_POSITION_MAINTAIN_ORIENTATION;
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
this.JGKPGLPJOGD = this.IDHCIIEHKLE.transform;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().JOOBAGFBHJF(this.LOINFHBMMDG);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().JOOBAGFBHJF(this.JGKPGLPJOGD);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026169 RID: 156009 RVA: 0x00A8E9C0 File Offset: 0x00A8CBC0
|
|
public void FKGNMNJOOHH(bool HONCCHGCDEF)
|
|
{
|
|
this.JDLIJHBGIDL = HONCCHGCDEF;
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.GFEBHBCEGCF.GetComponent<DollyController>().SetSnapping(this.JDLIJHBGIDL);
|
|
}
|
|
if (this.JGKPGLPJOGD != null)
|
|
{
|
|
this.IDHCIIEHKLE.GetComponent<DollyController>().DENLPHCMBFH(this.JDLIJHBGIDL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602616A RID: 156010 RVA: 0x00A8EA24 File Offset: 0x00A8CC24
|
|
public void OKKICKOLLKD()
|
|
{
|
|
if (this.LOINFHBMMDG != null)
|
|
{
|
|
this.LOINFHBMMDG.position = base.transform.position;
|
|
this.LOINFHBMMDG.rotation = base.transform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602616B RID: 156011 RVA: 0x00A8EA64 File Offset: 0x00A8CC64
|
|
private void AHHEENEFAPI()
|
|
{
|
|
if (this.DIPLDJBFNHJ)
|
|
{
|
|
Vector3 vector;
|
|
Quaternion quaternion;
|
|
this.GGOKCBOEDMC(Time.time - this.JBDLCPGODKK, out vector, out quaternion);
|
|
this.camera.transform.position = vector;
|
|
this.camera.transform.rotation = quaternion;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602616C RID: 156012 RVA: 0x00A8EAB4 File Offset: 0x00A8CCB4
|
|
public void LPHKDIOIHID(float FOEOKCHPILL)
|
|
{
|
|
base.StartCoroutine(this.FLEMMOLAKND(FOEOKCHPILL));
|
|
}
|
|
|
|
// Token: 0x0602616D RID: 156013 RVA: 0x00A8EAC4 File Offset: 0x00A8CCC4
|
|
public void NINHFLONODE()
|
|
{
|
|
this.DIPLDJBFNHJ = true;
|
|
this.camera.JBMHDIFBJOO(this.DIPFNOBPPMN);
|
|
}
|
|
|
|
// Token: 0x0602616E RID: 156014 RVA: 0x00A8EAE0 File Offset: 0x00A8CCE0
|
|
public void SetupOrbit()
|
|
{
|
|
this.SharedSetup();
|
|
SessionManager.PBNNABGHCLK(new Action(this.JCKMGHDHPGO), null);
|
|
this.mode = TutorialCameraDollyManager.EGODLCAOJPL.Orbit;
|
|
}
|
|
|
|
// Token: 0x04006041 RID: 24641
|
|
public TutorialCamera camera;
|
|
|
|
// Token: 0x04006042 RID: 24642
|
|
public TutorialCameraDollyManager.EGODLCAOJPL mode;
|
|
|
|
// Token: 0x04006043 RID: 24643
|
|
public float dollyTime;
|
|
|
|
// Token: 0x04006044 RID: 24644
|
|
private GameObject GFEBHBCEGCF;
|
|
|
|
// Token: 0x04006045 RID: 24645
|
|
private Transform LOINFHBMMDG;
|
|
|
|
// Token: 0x04006046 RID: 24646
|
|
private GameObject IDHCIIEHKLE;
|
|
|
|
// Token: 0x04006047 RID: 24647
|
|
private Transform JGKPGLPJOGD;
|
|
|
|
// Token: 0x04006048 RID: 24648
|
|
private GameObject JGMAJCDFAMD;
|
|
|
|
// Token: 0x04006049 RID: 24649
|
|
private Transform NBCICMBBJFA;
|
|
|
|
// Token: 0x0400604A RID: 24650
|
|
private bool DIPLDJBFNHJ;
|
|
|
|
// Token: 0x0400604B RID: 24651
|
|
private bool JDLIJHBGIDL;
|
|
|
|
// Token: 0x0400604C RID: 24652
|
|
private bool LMLLNEDDFKF;
|
|
|
|
// Token: 0x0400604D RID: 24653
|
|
private bool KNOCFBKCPKP;
|
|
|
|
// Token: 0x0400604E RID: 24654
|
|
private float JBDLCPGODKK;
|
|
|
|
// Token: 0x0400604F RID: 24655
|
|
private bool DIPFNOBPPMN = true;
|
|
|
|
// Token: 0x0200117B RID: 4475
|
|
public enum EGODLCAOJPL
|
|
{
|
|
// Token: 0x04006051 RID: 24657
|
|
Stationary,
|
|
// Token: 0x04006052 RID: 24658
|
|
Linear,
|
|
// Token: 0x04006053 RID: 24659
|
|
Orbit
|
|
}
|
|
}
|