Files
Dec2017-Script-Dump/Assembly-CSharp/Valve/VR/InteractionSystem/TeleportPoint.cs
T
2026-06-04 11:42:34 +02:00

729 lines
23 KiB
C#

using System;
using UnityEngine;
using UnityEngine.UI;
namespace Valve.VR.InteractionSystem
{
// Token: 0x02000604 RID: 1540
public class TeleportPoint : TeleportMarkerBase
{
// Token: 0x0600F70E RID: 63246 RVA: 0x004AEAD4 File Offset: 0x004ACCD4
public void MGKICDHKBNJ()
{
this.FGAKIFPAMIB = base.transform.Find("Exception Description").GetComponent<MeshRenderer>();
this.DLEIJAPFFEL = base.transform.Find("_LeftMirrorCameraViewProj").GetComponent<MeshRenderer>();
this.AHACJCFDPLA = base.transform.Find("Disarmed!").GetComponent<MeshRenderer>();
this.IBCKBFLIKFB = base.transform.Find("Failed to ").GetComponent<MeshRenderer>();
this.LJDKMHJFHHC = base.transform.Find("SHOW_SAMPLES_OFF");
this.MDBFBCAFABK = base.transform.Find("true").GetComponent<Text>();
this.DLLGGNGDKFB = true;
}
// Token: 0x0600F70F RID: 63247 RVA: 0x004AEB88 File Offset: 0x004ACD88
private void JHCLJIABPPJ()
{
this.GetRelevantComponents();
this.JJLBKDIDOOB = base.GetComponent<Animation>();
this.MKHJDFBHKEO = Shader.PropertyToID("RpcSetVisibility");
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(true);
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.UpdateVisuals();
}
// Token: 0x0600F710 RID: 63248 RVA: 0x004AEBF0 File Offset: 0x004ACDF0
public void AEPHGPCBEMH()
{
if (!string.IsNullOrEmpty(this.switchToScene))
{
Debug.Log("action" + this.switchToScene);
}
else
{
Debug.LogError("YOU ARE ON DEFENSE" + this.switchToScene);
}
}
// Token: 0x0600F711 RID: 63249 RVA: 0x004AEC3C File Offset: 0x004ACE3C
public void JPPJKIJLNMC()
{
if (Application.isPlaying)
{
return;
}
this.GetRelevantComponents();
if (this.locked)
{
this.IBCKBFLIKFB.gameObject.SetActive(false);
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(false);
this.FGAKIFPAMIB.sharedMaterial = Teleport.EBADHKDOLDC().pointLockedMaterial;
this.IBCKBFLIKFB.sharedMaterial = Teleport.OGGAPFHMPLD().pointLockedMaterial;
this.MDBFBCAFABK.color = this.titleLockedColor;
}
else
{
this.IBCKBFLIKFB.gameObject.SetActive(false);
this.FGAKIFPAMIB.sharedMaterial = Teleport.OGGAPFHMPLD().pointVisibleMaterial;
this.DLEIJAPFFEL.sharedMaterial = Teleport.OGGAPFHMPLD().pointVisibleMaterial;
this.AHACJCFDPLA.sharedMaterial = Teleport.GJJINCDGLOL().pointVisibleMaterial;
this.MDBFBCAFABK.color = this.titleVisibleColor;
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.SwitchToNewScene)
{
this.AHACJCFDPLA.gameObject.SetActive(false);
this.DLEIJAPFFEL.gameObject.SetActive(true);
}
}
else
{
this.AHACJCFDPLA.gameObject.SetActive(false);
this.DLEIJAPFFEL.gameObject.SetActive(false);
}
}
this.MDBFBCAFABK.text = this.title;
this.ReleaseRelevantComponents();
}
// Token: 0x0600F712 RID: 63250 RVA: 0x004AEDB8 File Offset: 0x004ACFB8
public virtual bool GHCCDEGPJCE()
{
return false;
}
// Token: 0x0600F713 RID: 63251 RVA: 0x004AEDBC File Offset: 0x004ACFBC
public override void UpdateVisuals()
{
if (!this.DLLGGNGDKFB)
{
return;
}
if (this.locked)
{
this.SetMeshMaterials(Teleport.FCDPFLMFDBC.pointLockedMaterial, this.titleLockedColor);
this.MAEFNCMBLFD = this.IBCKBFLIKFB;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("locked_idle");
}
else
{
this.SetMeshMaterials(Teleport.FCDPFLMFDBC.pointVisibleMaterial, this.titleVisibleColor);
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.SwitchToNewScene)
{
this.MAEFNCMBLFD = this.DLEIJAPFFEL;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("switch_scenes_idle");
}
}
else
{
this.MAEFNCMBLFD = this.AHACJCFDPLA;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("move_location_idle");
}
}
this.MDBFBCAFABK.text = this.title;
}
// Token: 0x0600F714 RID: 63252 RVA: 0x004AEEBC File Offset: 0x004AD0BC
public override bool ShouldMovePlayer()
{
return true;
}
// Token: 0x0600F715 RID: 63253 RVA: 0x004AEEC0 File Offset: 0x004AD0C0
public void COJFFLOOGAB()
{
if (Application.isPlaying)
{
return;
}
this.GetRelevantComponents();
if (this.locked)
{
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(true);
this.FGAKIFPAMIB.sharedMaterial = Teleport.GJJINCDGLOL().pointLockedMaterial;
this.IBCKBFLIKFB.sharedMaterial = Teleport.OGGAPFHMPLD().pointLockedMaterial;
this.MDBFBCAFABK.color = this.titleLockedColor;
}
else
{
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.FGAKIFPAMIB.sharedMaterial = Teleport.NFKNFPIDMBA().pointVisibleMaterial;
this.DLEIJAPFFEL.sharedMaterial = Teleport.EBADHKDOLDC().pointVisibleMaterial;
this.AHACJCFDPLA.sharedMaterial = Teleport.NFKNFPIDMBA().pointVisibleMaterial;
this.MDBFBCAFABK.color = this.titleVisibleColor;
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(false);
}
}
else
{
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(true);
}
}
this.MDBFBCAFABK.text = this.title;
this.ReleaseRelevantComponents();
}
// Token: 0x0600F716 RID: 63254 RVA: 0x004AF03C File Offset: 0x004AD23C
public virtual bool FGLOMCIGGHI()
{
return false;
}
// Token: 0x0600F717 RID: 63255 RVA: 0x004AF040 File Offset: 0x004AD240
private void Start()
{
this.JEFGMHBLLKI = Player.FCDPFLMFDBC;
}
// Token: 0x0600F718 RID: 63256 RVA: 0x004AF050 File Offset: 0x004AD250
public void JCNKKIPGNCB()
{
this.FGAKIFPAMIB = null;
this.DLEIJAPFFEL = null;
this.AHACJCFDPLA = null;
this.IBCKBFLIKFB = null;
this.LJDKMHJFHHC = null;
this.MDBFBCAFABK = null;
}
// Token: 0x0600F719 RID: 63257 RVA: 0x004AF07C File Offset: 0x004AD27C
public override bool ShouldActivate(Vector3 HLCJJIMIECK)
{
return Vector3.Distance(base.transform.position, HLCJJIMIECK) > 1f;
}
// Token: 0x0600F71A RID: 63258 RVA: 0x004AF098 File Offset: 0x004AD298
public virtual void HNHKDLHIMDM(bool FCDLHOKPFOM)
{
if (!this.locked)
{
if (FCDLHOKPFOM)
{
this.SetMeshMaterials(Teleport.DNJBCDJHMNK().pointHighlightedMaterial, this.titleHighlightedColor);
}
else
{
this.SetMeshMaterials(Teleport.OGGAPFHMPLD().pointVisibleMaterial, this.titleVisibleColor);
}
}
if (FCDLHOKPFOM)
{
this.MAEFNCMBLFD.gameObject.SetActive(false);
this.JJLBKDIDOOB.Play();
}
else
{
this.MAEFNCMBLFD.gameObject.SetActive(false);
this.JJLBKDIDOOB.Stop();
}
}
// Token: 0x0600F71B RID: 63259 RVA: 0x004AF12C File Offset: 0x004AD32C
public virtual bool PMCKJEEFCAC(Vector3 HLCJJIMIECK)
{
return Vector3.Distance(base.transform.position, HLCJJIMIECK) > 1792f;
}
// Token: 0x0600F71C RID: 63260 RVA: 0x004AF148 File Offset: 0x004AD348
public virtual bool GGEPIOGIJBO(Vector3 HLCJJIMIECK)
{
return Vector3.Distance(base.transform.position, HLCJJIMIECK) > 495f;
}
// Token: 0x0600F71D RID: 63261 RVA: 0x004AF164 File Offset: 0x004AD364
public virtual void KNMIIEMAAOF()
{
if (!this.DLLGGNGDKFB)
{
return;
}
if (this.locked)
{
this.SetMeshMaterials(Teleport.OGGAPFHMPLD().pointLockedMaterial, this.titleLockedColor);
this.MAEFNCMBLFD = this.IBCKBFLIKFB;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("gclid");
}
else
{
this.SetMeshMaterials(Teleport.OGGAPFHMPLD().pointVisibleMaterial, this.titleVisibleColor);
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.SwitchToNewScene)
{
this.MAEFNCMBLFD = this.DLEIJAPFFEL;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("imgList");
}
}
else
{
this.MAEFNCMBLFD = this.AHACJCFDPLA;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("RpcOnReset");
}
}
this.MDBFBCAFABK.text = this.title;
}
// Token: 0x0600F71E RID: 63262 RVA: 0x004AF264 File Offset: 0x004AD464
public void UpdateVisualsInEditor()
{
if (Application.isPlaying)
{
return;
}
this.GetRelevantComponents();
if (this.locked)
{
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.AHACJCFDPLA.gameObject.SetActive(false);
this.DLEIJAPFFEL.gameObject.SetActive(false);
this.FGAKIFPAMIB.sharedMaterial = Teleport.FCDPFLMFDBC.pointLockedMaterial;
this.IBCKBFLIKFB.sharedMaterial = Teleport.FCDPFLMFDBC.pointLockedMaterial;
this.MDBFBCAFABK.color = this.titleLockedColor;
}
else
{
this.IBCKBFLIKFB.gameObject.SetActive(false);
this.FGAKIFPAMIB.sharedMaterial = Teleport.FCDPFLMFDBC.pointVisibleMaterial;
this.DLEIJAPFFEL.sharedMaterial = Teleport.FCDPFLMFDBC.pointVisibleMaterial;
this.AHACJCFDPLA.sharedMaterial = Teleport.FCDPFLMFDBC.pointVisibleMaterial;
this.MDBFBCAFABK.color = this.titleVisibleColor;
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.SwitchToNewScene)
{
this.AHACJCFDPLA.gameObject.SetActive(false);
this.DLEIJAPFFEL.gameObject.SetActive(true);
}
}
else
{
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(false);
}
}
this.MDBFBCAFABK.text = this.title;
this.ReleaseRelevantComponents();
}
// Token: 0x0600F71F RID: 63263 RVA: 0x004AF3E0 File Offset: 0x004AD5E0
private void LOGFBGOPLLO()
{
if (Application.isPlaying)
{
this.EEBJMPGBKIA.x = this.JEFGMHBLLKI.JPFNDMHPCCE.position.x;
this.EEBJMPGBKIA.y = this.LJDKMHJFHHC.position.y;
this.EEBJMPGBKIA.z = this.JEFGMHBLLKI.DOKDBNBIOPC().position.z;
this.LJDKMHJFHHC.LookAt(this.EEBJMPGBKIA);
}
}
// Token: 0x0600F720 RID: 63264 RVA: 0x004AF46C File Offset: 0x004AD66C
private void INGMCGGJGMA()
{
this.MGKICDHKBNJ();
this.JJLBKDIDOOB = base.GetComponent<Animation>();
this.MKHJDFBHKEO = Shader.PropertyToID("Could not find an activity spawn point configured for this player. Spawned anyway.");
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(true);
this.IBCKBFLIKFB.gameObject.SetActive(false);
this.UpdateVisuals();
}
// Token: 0x0600F721 RID: 63265 RVA: 0x004AF4D4 File Offset: 0x004AD6D4
private void IPAPMGBLCNF()
{
this.MGKICDHKBNJ();
this.JJLBKDIDOOB = base.GetComponent<Animation>();
this.MKHJDFBHKEO = Shader.PropertyToID("PlatformIds");
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(true);
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.UpdateVisuals();
}
// Token: 0x0600F722 RID: 63266 RVA: 0x004AF53C File Offset: 0x004AD73C
public void KPBEBPAPBAG()
{
if (!string.IsNullOrEmpty(this.switchToScene))
{
Debug.Log("Draw Remote Mesh" + this.switchToScene);
}
else
{
Debug.LogError("RpcPickupGameplayExtruder" + this.switchToScene);
}
}
// Token: 0x0600F723 RID: 63267 RVA: 0x004AF588 File Offset: 0x004AD788
public void SetMeshMaterials(Material OOEDPEKINHG, Color APKJKLLIFFD)
{
this.FGAKIFPAMIB.material = OOEDPEKINHG;
this.DLEIJAPFFEL.material = OOEDPEKINHG;
this.AHACJCFDPLA.material = OOEDPEKINHG;
this.IBCKBFLIKFB.material = OOEDPEKINHG;
this.DBCFMMBPOMD = APKJKLLIFFD;
this.KPHMGBPJCMI = APKJKLLIFFD.a;
this.MDBFBCAFABK.color = this.DBCFMMBPOMD;
}
// Token: 0x0600F724 RID: 63268 RVA: 0x004AF5EC File Offset: 0x004AD7EC
public virtual bool EILOLCJINGE()
{
return false;
}
// Token: 0x0600F725 RID: 63269 RVA: 0x004AF5F0 File Offset: 0x004AD7F0
private void PBCNFAEFEEO()
{
if (Application.isPlaying)
{
this.EEBJMPGBKIA.x = this.JEFGMHBLLKI.DOKDBNBIOPC().position.x;
this.EEBJMPGBKIA.y = this.LJDKMHJFHHC.position.y;
this.EEBJMPGBKIA.z = this.JEFGMHBLLKI.PDEKLEBNELE().position.z;
this.LJDKMHJFHHC.LookAt(this.EEBJMPGBKIA);
}
}
// Token: 0x0600F726 RID: 63270 RVA: 0x004AF67C File Offset: 0x004AD87C
private void Awake()
{
this.GetRelevantComponents();
this.JJLBKDIDOOB = base.GetComponent<Animation>();
this.MKHJDFBHKEO = Shader.PropertyToID("_TintColor");
this.AHACJCFDPLA.gameObject.SetActive(false);
this.DLEIJAPFFEL.gameObject.SetActive(false);
this.IBCKBFLIKFB.gameObject.SetActive(false);
this.UpdateVisuals();
}
// Token: 0x0600F727 RID: 63271 RVA: 0x004AF6E4 File Offset: 0x004AD8E4
public virtual void PPAGEHNDBPK()
{
if (!this.DLLGGNGDKFB)
{
return;
}
if (this.locked)
{
this.SetMeshMaterials(Teleport.NFKNFPIDMBA().pointLockedMaterial, this.titleLockedColor);
this.MAEFNCMBLFD = this.IBCKBFLIKFB;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("[ACTk] Injection Detector: has properly configured Detection Event in the inspector, but still get started with Action callback. Both Action and Detection Event will be called on detection. Are you sure you wish to do this?");
}
else
{
this.SetMeshMaterials(Teleport.DNJBCDJHMNK().pointVisibleMaterial, this.titleVisibleColor);
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.SwitchToNewScene)
{
this.MAEFNCMBLFD = this.DLEIJAPFFEL;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("IgnoreBuffer");
}
}
else
{
this.MAEFNCMBLFD = this.AHACJCFDPLA;
this.JJLBKDIDOOB.clip = this.JJLBKDIDOOB.GetClip("https");
}
}
this.MDBFBCAFABK.text = this.title;
}
// Token: 0x0600F728 RID: 63272 RVA: 0x004AF7E4 File Offset: 0x004AD9E4
public void GetRelevantComponents()
{
this.FGAKIFPAMIB = base.transform.Find("teleport_marker_mesh").GetComponent<MeshRenderer>();
this.DLEIJAPFFEL = base.transform.Find("teleport_marker_lookat_joint/teleport_marker_icons/switch_scenes_icon").GetComponent<MeshRenderer>();
this.AHACJCFDPLA = base.transform.Find("teleport_marker_lookat_joint/teleport_marker_icons/move_location_icon").GetComponent<MeshRenderer>();
this.IBCKBFLIKFB = base.transform.Find("teleport_marker_lookat_joint/teleport_marker_icons/locked_icon").GetComponent<MeshRenderer>();
this.LJDKMHJFHHC = base.transform.Find("teleport_marker_lookat_joint");
this.MDBFBCAFABK = base.transform.Find("teleport_marker_lookat_joint/teleport_marker_canvas/teleport_marker_canvas_text").GetComponent<Text>();
this.DLLGGNGDKFB = true;
}
// Token: 0x0600F729 RID: 63273 RVA: 0x004AF898 File Offset: 0x004ADA98
private void Update()
{
if (Application.isPlaying)
{
this.EEBJMPGBKIA.x = this.JEFGMHBLLKI.JPFNDMHPCCE.position.x;
this.EEBJMPGBKIA.y = this.LJDKMHJFHHC.position.y;
this.EEBJMPGBKIA.z = this.JEFGMHBLLKI.JPFNDMHPCCE.position.z;
this.LJDKMHJFHHC.LookAt(this.EEBJMPGBKIA);
}
}
// Token: 0x0600F72A RID: 63274 RVA: 0x004AF924 File Offset: 0x004ADB24
public void ReleaseRelevantComponents()
{
this.FGAKIFPAMIB = null;
this.DLEIJAPFFEL = null;
this.AHACJCFDPLA = null;
this.IBCKBFLIKFB = null;
this.LJDKMHJFHHC = null;
this.MDBFBCAFABK = null;
}
// Token: 0x0600F72B RID: 63275 RVA: 0x004AF950 File Offset: 0x004ADB50
public override void Highlight(bool FCDLHOKPFOM)
{
if (!this.locked)
{
if (FCDLHOKPFOM)
{
this.SetMeshMaterials(Teleport.FCDPFLMFDBC.pointHighlightedMaterial, this.titleHighlightedColor);
}
else
{
this.SetMeshMaterials(Teleport.FCDPFLMFDBC.pointVisibleMaterial, this.titleVisibleColor);
}
}
if (FCDLHOKPFOM)
{
this.MAEFNCMBLFD.gameObject.SetActive(true);
this.JJLBKDIDOOB.Play();
}
else
{
this.MAEFNCMBLFD.gameObject.SetActive(false);
this.JJLBKDIDOOB.Stop();
}
}
// Token: 0x0600F72C RID: 63276 RVA: 0x004AF9E4 File Offset: 0x004ADBE4
public override void SetAlpha(float FEDDIIBIBDC, float BDEBGPLLBAJ)
{
this.BBJLIJEADBM = this.FGAKIFPAMIB.material.GetColor(this.MKHJDFBHKEO);
this.BBJLIJEADBM.a = FEDDIIBIBDC;
this.FGAKIFPAMIB.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.DLEIJAPFFEL.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.AHACJCFDPLA.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.IBCKBFLIKFB.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.DBCFMMBPOMD.a = this.KPHMGBPJCMI * BDEBGPLLBAJ;
this.MDBFBCAFABK.color = this.DBCFMMBPOMD;
}
// Token: 0x0600F72D RID: 63277 RVA: 0x004AFAB0 File Offset: 0x004ADCB0
private void JLOMELEDCLK()
{
this.GetRelevantComponents();
this.JJLBKDIDOOB = base.GetComponent<Animation>();
this.MKHJDFBHKEO = Shader.PropertyToID("ReplyMatch is false! ");
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(true);
this.IBCKBFLIKFB.gameObject.SetActive(false);
this.UpdateVisuals();
}
// Token: 0x0600F72E RID: 63278 RVA: 0x004AFB18 File Offset: 0x004ADD18
public virtual void INMMNHLPINE(float FEDDIIBIBDC, float BDEBGPLLBAJ)
{
this.BBJLIJEADBM = this.FGAKIFPAMIB.material.GetColor(this.MKHJDFBHKEO);
this.BBJLIJEADBM.a = FEDDIIBIBDC;
this.FGAKIFPAMIB.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.DLEIJAPFFEL.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.AHACJCFDPLA.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.IBCKBFLIKFB.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.DBCFMMBPOMD.a = this.KPHMGBPJCMI * BDEBGPLLBAJ;
this.MDBFBCAFABK.color = this.DBCFMMBPOMD;
}
// Token: 0x0600F72F RID: 63279 RVA: 0x004AFBE4 File Offset: 0x004ADDE4
public virtual bool MJPCBELHLPM(Vector3 HLCJJIMIECK)
{
return Vector3.Distance(base.transform.position, HLCJJIMIECK) > 214f;
}
// Token: 0x17000696 RID: 1686
// (get) Token: 0x0600F730 RID: 63280 RVA: 0x004AFC00 File Offset: 0x004ADE00
public override bool PFJOBJOPBIA
{
get
{
return false;
}
}
// Token: 0x0600F731 RID: 63281 RVA: 0x004AFC04 File Offset: 0x004ADE04
public virtual void OKIJFHDOHGK(float FEDDIIBIBDC, float BDEBGPLLBAJ)
{
this.BBJLIJEADBM = this.FGAKIFPAMIB.material.GetColor(this.MKHJDFBHKEO);
this.BBJLIJEADBM.a = FEDDIIBIBDC;
this.FGAKIFPAMIB.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.DLEIJAPFFEL.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.AHACJCFDPLA.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.IBCKBFLIKFB.material.SetColor(this.MKHJDFBHKEO, this.BBJLIJEADBM);
this.DBCFMMBPOMD.a = this.KPHMGBPJCMI * BDEBGPLLBAJ;
this.MDBFBCAFABK.color = this.DBCFMMBPOMD;
}
// Token: 0x0600F732 RID: 63282 RVA: 0x004AFCD0 File Offset: 0x004ADED0
public virtual bool LFJJBPNJPKB(Vector3 HLCJJIMIECK)
{
return Vector3.Distance(base.transform.position, HLCJJIMIECK) > 780f;
}
// Token: 0x0600F734 RID: 63284 RVA: 0x004AFD18 File Offset: 0x004ADF18
public void TeleportToScene()
{
if (!string.IsNullOrEmpty(this.switchToScene))
{
Debug.Log("TeleportPoint: Hook up your level loading logic to switch to new scene: " + this.switchToScene);
}
else
{
Debug.LogError("TeleportPoint: Invalid scene name to switch to: " + this.switchToScene);
}
}
// Token: 0x0600F735 RID: 63285 RVA: 0x004AFD64 File Offset: 0x004ADF64
public void JGBICELLONJ()
{
if (Application.isPlaying)
{
return;
}
this.MGKICDHKBNJ();
if (this.locked)
{
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(false);
this.FGAKIFPAMIB.sharedMaterial = Teleport.EBADHKDOLDC().pointLockedMaterial;
this.IBCKBFLIKFB.sharedMaterial = Teleport.EBADHKDOLDC().pointLockedMaterial;
this.MDBFBCAFABK.color = this.titleLockedColor;
}
else
{
this.IBCKBFLIKFB.gameObject.SetActive(true);
this.FGAKIFPAMIB.sharedMaterial = Teleport.DNJBCDJHMNK().pointVisibleMaterial;
this.DLEIJAPFFEL.sharedMaterial = Teleport.EBADHKDOLDC().pointVisibleMaterial;
this.AHACJCFDPLA.sharedMaterial = Teleport.EBADHKDOLDC().pointVisibleMaterial;
this.MDBFBCAFABK.color = this.titleVisibleColor;
TeleportPoint.MBOFNCOGLNA mbofncoglna = this.teleportType;
if (mbofncoglna != TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
if (mbofncoglna == TeleportPoint.MBOFNCOGLNA.MoveToLocation)
{
this.AHACJCFDPLA.gameObject.SetActive(true);
this.DLEIJAPFFEL.gameObject.SetActive(false);
}
}
else
{
this.AHACJCFDPLA.gameObject.SetActive(false);
this.DLEIJAPFFEL.gameObject.SetActive(false);
}
}
this.MDBFBCAFABK.text = this.title;
this.JCNKKIPGNCB();
}
// Token: 0x0600F736 RID: 63286 RVA: 0x004AFEE0 File Offset: 0x004AE0E0
public virtual bool INIBOKIMEKH()
{
return true;
}
// Token: 0x040023D7 RID: 9175
public TeleportPoint.MBOFNCOGLNA teleportType;
// Token: 0x040023D8 RID: 9176
public string title;
// Token: 0x040023D9 RID: 9177
public string switchToScene;
// Token: 0x040023DA RID: 9178
public Color titleVisibleColor;
// Token: 0x040023DB RID: 9179
public Color titleHighlightedColor;
// Token: 0x040023DC RID: 9180
public Color titleLockedColor;
// Token: 0x040023DD RID: 9181
public bool playerSpawnPoint;
// Token: 0x040023DE RID: 9182
private bool DLLGGNGDKFB;
// Token: 0x040023DF RID: 9183
private MeshRenderer FGAKIFPAMIB;
// Token: 0x040023E0 RID: 9184
private MeshRenderer DLEIJAPFFEL;
// Token: 0x040023E1 RID: 9185
private MeshRenderer AHACJCFDPLA;
// Token: 0x040023E2 RID: 9186
private MeshRenderer IBCKBFLIKFB;
// Token: 0x040023E3 RID: 9187
private MeshRenderer MAEFNCMBLFD;
// Token: 0x040023E4 RID: 9188
private Transform LJDKMHJFHHC;
// Token: 0x040023E5 RID: 9189
private Animation JJLBKDIDOOB;
// Token: 0x040023E6 RID: 9190
private Text MDBFBCAFABK;
// Token: 0x040023E7 RID: 9191
private Player JEFGMHBLLKI;
// Token: 0x040023E8 RID: 9192
private Vector3 EEBJMPGBKIA = Vector3.zero;
// Token: 0x040023E9 RID: 9193
private int MKHJDFBHKEO;
// Token: 0x040023EA RID: 9194
private Color BBJLIJEADBM = Color.clear;
// Token: 0x040023EB RID: 9195
private Color DBCFMMBPOMD = Color.clear;
// Token: 0x040023EC RID: 9196
private float KPHMGBPJCMI;
// Token: 0x040023ED RID: 9197
private const string OKINFMCHKIM = "switch_scenes_idle";
// Token: 0x040023EE RID: 9198
private const string MBHCAEOJGEG = "move_location_idle";
// Token: 0x040023EF RID: 9199
private const string FFCAKIPMPHN = "locked_idle";
// Token: 0x02000605 RID: 1541
public enum MBOFNCOGLNA
{
// Token: 0x040023F1 RID: 9201
MoveToLocation,
// Token: 0x040023F2 RID: 9202
SwitchToNewScene
}
}
}