2947 lines
89 KiB
C#
2947 lines
89 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.VR;
|
|
|
|
// Token: 0x0200040D RID: 1037
|
|
public class OVROverlay : MonoBehaviour
|
|
{
|
|
// Token: 0x0600B3D7 RID: 46039 RVA: 0x003542C8 File Offset: 0x003524C8
|
|
public void OLNGMIAJMJM(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3D8 RID: 46040 RVA: 0x00354304 File Offset: 0x00352504
|
|
private void Awake()
|
|
{
|
|
Debug.Log("Overlay Awake");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 2; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3D9 RID: 46041 RVA: 0x003543B4 File Offset: 0x003525B4
|
|
private void PJPDNCHIPPP()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.LDHOOGBEGPM();
|
|
for (int i = 1; i < 6; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3DA RID: 46042 RVA: 0x00354424 File Offset: 0x00352624
|
|
private void CODLJHNJJHG()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.PCLHGGBHHFL();
|
|
for (int i = 0; i < -52; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3DB RID: 46043 RVA: 0x00354494 File Offset: 0x00352694
|
|
private void IINFHMPOCMN()
|
|
{
|
|
if (!Camera.current.CompareTag("Go to ") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
Debug.LogWarning("SteamVR_UpdatePoses has been deprecated - REMOVING" + this.currentOverlayShape + ". No ViewIDs are free to use. Max is: ");
|
|
}
|
|
for (int i = 1; i < 4; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("position");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Underlay;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 7; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1789f)
|
|
{
|
|
Debug.LogWarning("{0}v1/sendlink");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 467f * 405f;
|
|
if (num2 > 321f)
|
|
{
|
|
Debug.LogError("rotation" + num2 + "index");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.DGHNDBJMCAM().KPBMOEMNIEG(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3DC RID: 46044 RVA: 0x003547DC File Offset: 0x003529DC
|
|
private void LMLGCEJKMFM()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.GGLGMNLEJPO();
|
|
for (int i = 1; i < 29; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3DD RID: 46045 RVA: 0x0035484C File Offset: 0x00352A4C
|
|
private void KCHFAFFCMCI()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.BJEFEOJHCBL();
|
|
for (int i = 0; i < 122; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3DE RID: 46046 RVA: 0x003548BC File Offset: 0x00352ABC
|
|
private void ABFMBPJPIPE()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.BENIKINONBL();
|
|
for (int i = 1; i < 94; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3DF RID: 46047 RVA: 0x0035492C File Offset: 0x00352B2C
|
|
private void HLKFCMJLAIH()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.FKBJKHHAJEP().DBOLHJAJNHL(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B3E0 RID: 46048 RVA: 0x00354994 File Offset: 0x00352B94
|
|
private void CPBFCHOKCLK()
|
|
{
|
|
if (!OVRManager.LCNEDBBJBPP())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.OEDEIEBKLCG();
|
|
for (int i = 1; i < 114; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E1 RID: 46049 RVA: 0x00354A04 File Offset: 0x00352C04
|
|
public void FHIPCIAOKMK(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.LeftEye) ? 1 : 0);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3E2 RID: 46050 RVA: 0x00354A40 File Offset: 0x00352C40
|
|
public void NBNHFFBFBAD(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 0);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3E3 RID: 46051 RVA: 0x00354A7C File Offset: 0x00352C7C
|
|
private void OEHDEPBJFAB()
|
|
{
|
|
Debug.Log("Failed to save, error : ");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 3; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E4 RID: 46052 RVA: 0x00354B2C File Offset: 0x00352D2C
|
|
private void NDIKALAHLIJ()
|
|
{
|
|
Debug.Log("Loeniel");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 7; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E5 RID: 46053 RVA: 0x00354BDC File Offset: 0x00352DDC
|
|
private void DBCKPOJEGGI()
|
|
{
|
|
if (!Camera.current.CompareTag("banner_slot1") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
Debug.LogWarning("RECENT_PLAYERS_PREF_" + this.currentOverlayShape + "{0}/{1}");
|
|
}
|
|
for (int i = 0; i < 3; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("NEWPLAYER_PUNCHCARD_FORCE_SHOW");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.None;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 5; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1444f)
|
|
{
|
|
Debug.LogWarning("'{0}'{1}{2}");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1f * 463f;
|
|
if (num2 > 1768f)
|
|
{
|
|
Debug.LogError("Failed to download config settings: " + num2 + "Grogriel");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.JGPPBINBENB().DBOLHJAJNHL(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E6 RID: 46054 RVA: 0x00354F24 File Offset: 0x00353124
|
|
private void FFNCOJNFIAO()
|
|
{
|
|
if (!OVRManager.LCNEDBBJBPP())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.FOJMCLIHCHJ();
|
|
for (int i = 0; i < -21; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E7 RID: 46055 RVA: 0x00354F94 File Offset: 0x00353194
|
|
private void INGMCGGJGMA()
|
|
{
|
|
Debug.Log("looktarget");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 2; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E8 RID: 46056 RVA: 0x00355044 File Offset: 0x00353244
|
|
private void MCECFOCPOCA()
|
|
{
|
|
Debug.Log("application/octet-stream");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 5; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3E9 RID: 46057 RVA: 0x003550F4 File Offset: 0x003532F4
|
|
public void KAPMACBFCGC(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3EA RID: 46058 RVA: 0x00355130 File Offset: 0x00353330
|
|
private void FFBBEEDJFPL()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.FKOICHJGFOL();
|
|
for (int i = 0; i < -56; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3EB RID: 46059 RVA: 0x003551A0 File Offset: 0x003533A0
|
|
private void LGCNFLACIIH()
|
|
{
|
|
Debug.Log("wss://echo.websocket.org");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 3; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3EC RID: 46060 RVA: 0x00355250 File Offset: 0x00353450
|
|
public void IMEGBABDJPJ(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.LeftEye) ? 0 : 0);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3ED RID: 46061 RVA: 0x0035528C File Offset: 0x0035348C
|
|
private void HNEFHCDMBKK()
|
|
{
|
|
Debug.Log("on master");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 6; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3EE RID: 46062 RVA: 0x0035533C File Offset: 0x0035353C
|
|
private void CGPBMFOBABK()
|
|
{
|
|
if (!Camera.current.CompareTag("true") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
Debug.LogWarning("CreateRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster." + this.currentOverlayShape + "item_cost");
|
|
}
|
|
for (int i = 0; i < 2; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("money");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Overlay;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 0; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1380f)
|
|
{
|
|
Debug.LogWarning("Error saving room: ");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 427f * 462f;
|
|
if (num2 > 934f)
|
|
{
|
|
Debug.LogError("Favorited" + num2 + "OutfitSelections");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.DGHNDBJMCAM().FEEIACBMCFM(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3EF RID: 46063 RVA: 0x00355684 File Offset: 0x00353884
|
|
private void APGCJHEFNJG()
|
|
{
|
|
if (!Camera.current.CompareTag("You're Out!") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
Debug.LogWarning("-" + this.currentOverlayShape + "Waiting for AvailableRegions. State: ");
|
|
}
|
|
for (int i = 1; i < 1; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Clear Cookies");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Underlay;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 5; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 834f)
|
|
{
|
|
Debug.LogWarning("looktarget");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1383f * 51f;
|
|
if (num2 > 369f)
|
|
{
|
|
Debug.LogError("Ignore" + num2 + "We will investigate.");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.DGHNDBJMCAM().FCPEBPPCCOM(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F0 RID: 46064 RVA: 0x003559CC File Offset: 0x00353BCC
|
|
private void CBOKBPFLKCB()
|
|
{
|
|
if (!Camera.current.CompareTag("Failed tests: ") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3)
|
|
{
|
|
Debug.LogWarning("[PV] Player " + this.currentOverlayShape + "iq");
|
|
}
|
|
for (int i = 0; i < 0; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("_TintColor");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.OverlayShowLod;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 5; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1497f)
|
|
{
|
|
Debug.LogWarning("FAAC_SelfBuild");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1550f * 601f;
|
|
if (num2 > 1410f)
|
|
{
|
|
Debug.LogError("Saves protection" + num2 + "numChannels");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.JGPPBINBENB().IBKBFBKIBCJ(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F1 RID: 46065 RVA: 0x00355D14 File Offset: 0x00353F14
|
|
private void AHIFJJMCMDO()
|
|
{
|
|
if (!Camera.current.CompareTag("money") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
Debug.LogWarning("F2" + this.currentOverlayShape + "playing");
|
|
}
|
|
for (int i = 0; i < 5; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("move");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)5;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 5; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 132f)
|
|
{
|
|
Debug.LogWarning("{not_found}");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 128f * 404f;
|
|
if (num2 > 151f)
|
|
{
|
|
Debug.LogError(".png" + num2 + "Limit");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.JGPPBINBENB().IBKBFBKIBCJ(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F2 RID: 46066 RVA: 0x0035605C File Offset: 0x0035425C
|
|
public void GOMJLAFBAGB(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 0);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3F3 RID: 46067 RVA: 0x00356098 File Offset: 0x00354298
|
|
private void MCLMBDOBLNJ()
|
|
{
|
|
Debug.Log("RpcMasterRequestDetach");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 0; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F4 RID: 46068 RVA: 0x00356148 File Offset: 0x00354348
|
|
private void JMHIHECKHDE()
|
|
{
|
|
if (!OVRManager.LCNEDBBJBPP())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.JIOOEBKOACI();
|
|
for (int i = 0; i < 117; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F5 RID: 46069 RVA: 0x003561B8 File Offset: 0x003543B8
|
|
private void ABOCDKPHHHD()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.FOJMCLIHCHJ();
|
|
for (int i = 1; i < -128; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F6 RID: 46070 RVA: 0x00356228 File Offset: 0x00354428
|
|
private void LCGODBFFGIJ()
|
|
{
|
|
if (!OVRManager.LCNEDBBJBPP())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.OnDisable();
|
|
for (int i = 0; i < 53; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F7 RID: 46071 RVA: 0x00356298 File Offset: 0x00354498
|
|
private void GHNHDPAFBFK()
|
|
{
|
|
if (!Camera.current.CompareTag("My App") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
Debug.LogWarning("FGLDDKPNDCN" + this.currentOverlayShape + "You are not allowed on stage!");
|
|
}
|
|
for (int i = 0; i < 1; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("!");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Overlay;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 3; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1732f)
|
|
{
|
|
Debug.LogWarning("gameSessionId");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 968f * 967f;
|
|
if (num2 > 754f)
|
|
{
|
|
Debug.LogError("Visible" + num2 + "oncompletetarget");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.DGHNDBJMCAM().PONGKOPLOOH(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3F8 RID: 46072 RVA: 0x003565E0 File Offset: 0x003547E0
|
|
private void PCLHGGBHHFL()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.identity.CPJMHDPJOGJ(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B3F9 RID: 46073 RVA: 0x00356648 File Offset: 0x00354848
|
|
private void PLBDIACBNKP()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.LBMAIMHLDAE();
|
|
for (int i = 0; i < 68; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3FA RID: 46074 RVA: 0x003566B8 File Offset: 0x003548B8
|
|
public void EODCBCGPINO(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.LeftEye) ? 1 : 0);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B3FB RID: 46075 RVA: 0x003566F4 File Offset: 0x003548F4
|
|
private void PFACEKGIFOL()
|
|
{
|
|
if (!Camera.current.CompareTag("Conditional Button attempted button press without player!") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
Debug.LogWarning("looptype" + this.currentOverlayShape + "scale");
|
|
}
|
|
for (int i = 0; i < 6; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("pitch");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Overlay;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 4; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1851f)
|
|
{
|
|
Debug.LogWarning("Reconnect() failed. It seems the client wasn't connected before?! Current state: ");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1542f * 1055f;
|
|
if (num2 > 1125f)
|
|
{
|
|
Debug.LogError("null" + num2 + "Visible");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.EOCOAOANHID().DBOLHJAJNHL(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3FC RID: 46076 RVA: 0x00356A3C File Offset: 0x00354C3C
|
|
private void KAEPFOILFCG()
|
|
{
|
|
Debug.Log("DisplayName");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 0; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3FD RID: 46077 RVA: 0x00356AEC File Offset: 0x00354CEC
|
|
private void FNAMGLNKHLD()
|
|
{
|
|
if (!Camera.current.CompareTag("speed") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3)
|
|
{
|
|
Debug.LogWarning("Failed to get Calibrated Play Area bounds! Make sure you have tracking first, and that your space is calibrated." + this.currentOverlayShape + "; client_no_context_takeover");
|
|
}
|
|
for (int i = 1; i < 4; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Fembot");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.None;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 3; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 288f)
|
|
{
|
|
Debug.LogWarning("&");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1342f * 1182f;
|
|
if (num2 > 922f)
|
|
{
|
|
Debug.LogError("OpSetCustomPropertiesOfActor() failed. To use expectedProperties or webForward, you have to be in a room. State: " + num2 + "Item");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.JGPPBINBENB().CPJMHDPJOGJ(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B3FE RID: 46078 RVA: 0x00356E34 File Offset: 0x00355034
|
|
private void FOJMCLIHCHJ()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.FKBJKHHAJEP().DBOLHJAJNHL(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B400 RID: 46080 RVA: 0x00356F04 File Offset: 0x00355104
|
|
private void JEJBLBIABCA()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.LNJHECEEDFB();
|
|
for (int i = 1; i < -54; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B401 RID: 46081 RVA: 0x00356F74 File Offset: 0x00355174
|
|
public void EEDCEKGIMGO(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 0);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B402 RID: 46082 RVA: 0x00356FB0 File Offset: 0x003551B0
|
|
private void BJEFEOJHCBL()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.EALCNIFPIAF().FCPEBPPCCOM(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B403 RID: 46083 RVA: 0x00357018 File Offset: 0x00355218
|
|
private void OLBDLGNKMEF()
|
|
{
|
|
if (!Camera.current.CompareTag("secure") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
Debug.LogWarning("AuthenticationValues UserId: {0}, GetParameters: {1} Token available: {2}" + this.currentOverlayShape + "/img/{0}{1}");
|
|
}
|
|
for (int i = 1; i < 7; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("AudioStreamPlayer");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)4;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 7; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1804f)
|
|
{
|
|
Debug.LogWarning(" ownership transfered to: ");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1698f * 228f;
|
|
if (num2 > 339f)
|
|
{
|
|
Debug.LogError(")" + num2 + " is missing an enemy script.");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().LJPEPONINCD(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B404 RID: 46084 RVA: 0x00357360 File Offset: 0x00355560
|
|
private void PBPGLFFLIPH()
|
|
{
|
|
Debug.Log("gameComplete");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 8; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B405 RID: 46085 RVA: 0x00357410 File Offset: 0x00355610
|
|
private void CEDDPLOOEOA()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.NFMLJDLAGMJ().NBNJEAGGOCE(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B406 RID: 46086 RVA: 0x00357478 File Offset: 0x00355678
|
|
private void DBONDKMFKOO()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.FKBJKHHAJEP().PIAMIMJPFHI(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B407 RID: 46087 RVA: 0x003574E0 File Offset: 0x003556E0
|
|
private void LKLBCGNBJEM()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.CEDDPLOOEOA();
|
|
for (int i = 0; i < -36; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B408 RID: 46088 RVA: 0x00357550 File Offset: 0x00355750
|
|
private void OMAHPJFFBDE()
|
|
{
|
|
Debug.Log("bytes={0}-{1}");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 4; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B409 RID: 46089 RVA: 0x00357600 File Offset: 0x00355800
|
|
private void PDCMKOCMIIF()
|
|
{
|
|
Debug.Log("The Rec Room ");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 3; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B40A RID: 46090 RVA: 0x003576B0 File Offset: 0x003558B0
|
|
public void KGDEOOGLPBB(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B40B RID: 46091 RVA: 0x003576EC File Offset: 0x003558EC
|
|
private void GELHKPEDFPN()
|
|
{
|
|
if (!Camera.current.CompareTag("Master : ") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
Debug.LogWarning("Failed to " + this.currentOverlayShape + "Hole ");
|
|
}
|
|
for (int i = 0; i < 1; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("LayerIsLocked");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)5;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 1; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1998f)
|
|
{
|
|
Debug.LogWarning(".gif");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 506f * 18f;
|
|
if (num2 > 1838f)
|
|
{
|
|
Debug.LogError("/Resources" + num2 + "{0} / {1}");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().LJPEPONINCD(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B40C RID: 46092 RVA: 0x00357A34 File Offset: 0x00355C34
|
|
private void FJCCGJGLMLP()
|
|
{
|
|
Debug.Log("{0}_{1}");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 4; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B40D RID: 46093 RVA: 0x00357AE4 File Offset: 0x00355CE4
|
|
private void NBOKPDLLKLO()
|
|
{
|
|
Debug.Log("Must be exactly 2 GameRoots to merge. Something went wrong!");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 0; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B40E RID: 46094 RVA: 0x00357B94 File Offset: 0x00355D94
|
|
private void GOCCPCNHLDO()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.OEDEIEBKLCG();
|
|
for (int i = 1; i < -63; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B40F RID: 46095 RVA: 0x00357C04 File Offset: 0x00355E04
|
|
private void JIOOEBKOACI()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.FKBJKHHAJEP().BMGOAHKOPPF(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B410 RID: 46096 RVA: 0x00357C6C File Offset: 0x00355E6C
|
|
private void CJGBNLBEKFK()
|
|
{
|
|
Debug.Log("system_info_submited");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 4; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B411 RID: 46097 RVA: 0x00357D1C File Offset: 0x00355F1C
|
|
private void OKGGDGJIPAM()
|
|
{
|
|
Debug.Log("relationship");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 1; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B412 RID: 46098 RVA: 0x00357DCC File Offset: 0x00355FCC
|
|
private void AHDFNCJNAEJ()
|
|
{
|
|
if (!OVRManager.LCNEDBBJBPP())
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.OEDEIEBKLCG();
|
|
for (int i = 1; i < -69; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B413 RID: 46099 RVA: 0x00357E3C File Offset: 0x0035603C
|
|
private void OnRenderObject()
|
|
{
|
|
if (!Camera.current.CompareTag("MainCamera") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
Debug.LogWarning("Overlay shape " + this.currentOverlayShape + " is not supported on current platform");
|
|
}
|
|
for (int i = 0; i < 2; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Need Cubemap texture for cube map overlay");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Overlay;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 3; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1f)
|
|
{
|
|
Debug.LogWarning("your cube map center offset's magnitude is greater than 1, which will cause some cube map pixel always invisible .");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 3.1415927f * 180f;
|
|
if (num2 > 180f)
|
|
{
|
|
Debug.LogError("Cylinder overlay's arc angle has to be below 180 degree, current arc angle is " + num2 + " degree.");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().CPJMHDPJOGJ(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B414 RID: 46100 RVA: 0x00358184 File Offset: 0x00356384
|
|
private void ELBDAIAMMGB()
|
|
{
|
|
Debug.Log("</color>");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 7; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B415 RID: 46101 RVA: 0x00358234 File Offset: 0x00356434
|
|
private void KMEHAACNJAG()
|
|
{
|
|
Debug.Log("ToolHolderData");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 6; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B416 RID: 46102 RVA: 0x003582E4 File Offset: 0x003564E4
|
|
public void CJMNGKFJECP(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 0 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B417 RID: 46103 RVA: 0x00358320 File Offset: 0x00356520
|
|
private void LBMAIMHLDAE()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.FKBJKHHAJEP().IBKBFBKIBCJ(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B418 RID: 46104 RVA: 0x00358388 File Offset: 0x00356588
|
|
private void MGJFBPMGCJM()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.HOBIDELGBJL().PIAMIMJPFHI(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B419 RID: 46105 RVA: 0x003583F0 File Offset: 0x003565F0
|
|
private void HFPMIMLEDFD()
|
|
{
|
|
if (!Camera.current.CompareTag("Failed to connect to RecNet") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
Debug.LogWarning("IS_ENABLED" + this.currentOverlayShape + "api/gamesessions/v2/");
|
|
}
|
|
for (int i = 1; i < 1; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("iTween Error: You must first add a camera fade object with CameraFadeAdd() before atttempting to use camera fading.");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)4;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 2; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1957f)
|
|
{
|
|
Debug.LogWarning("testscenes.txt");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1458f * 1445f;
|
|
if (num2 > 1613f)
|
|
{
|
|
Debug.LogError("Failed to " + num2 + "ObscuredBool:");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().KNBAGLGIBBH(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B41A RID: 46106 RVA: 0x00358738 File Offset: 0x00356938
|
|
private void KEIMKDFNHKF()
|
|
{
|
|
if (!Camera.current.CompareTag("ChatInput") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
Debug.LogWarning("c_" + this.currentOverlayShape + "BrushTool");
|
|
}
|
|
for (int i = 0; i < 5; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Three.png");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.None;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 0; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1898f)
|
|
{
|
|
Debug.LogWarning(")");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1982f * 279f;
|
|
if (num2 > 305f)
|
|
{
|
|
Debug.LogError("-" + num2 + "scale");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.JGPPBINBENB().FCPEBPPCCOM(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B41B RID: 46107 RVA: 0x00358A80 File Offset: 0x00356C80
|
|
private void OnDisable()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.identity.CPJMHDPJOGJ(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B41C RID: 46108 RVA: 0x00358AE8 File Offset: 0x00356CE8
|
|
private void GGLGMNLEJPO()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.identity.CPJMHDPJOGJ(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B41D RID: 46109 RVA: 0x00358B50 File Offset: 0x00356D50
|
|
private void PIOGFNPNDPG()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.HOBIDELGBJL().BMGOAHKOPPF(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B41E RID: 46110 RVA: 0x00358BB8 File Offset: 0x00356DB8
|
|
public void LHLELENKNBN(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B41F RID: 46111 RVA: 0x00358BF4 File Offset: 0x00356DF4
|
|
private void EKJKPBODOPE()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.DBONDKMFKOO();
|
|
for (int i = 0; i < -105; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B420 RID: 46112 RVA: 0x00358C64 File Offset: 0x00356E64
|
|
public void MDFFFHKLNGJ(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.LeftEye) ? 0 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B421 RID: 46113 RVA: 0x00358CA0 File Offset: 0x00356EA0
|
|
private void EIAMAKOBOEN()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.JIOOEBKOACI();
|
|
for (int i = 0; i < 37; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B422 RID: 46114 RVA: 0x00358D10 File Offset: 0x00356F10
|
|
private void NGDOOFGOPPC()
|
|
{
|
|
Debug.Log("{0}v2/{1}");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 7; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B423 RID: 46115 RVA: 0x00358DC0 File Offset: 0x00356FC0
|
|
private void AHLMADACOLB()
|
|
{
|
|
Debug.Log("NumSessions");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 6; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B424 RID: 46116 RVA: 0x00358E70 File Offset: 0x00357070
|
|
private void NFLDLDLPCJK()
|
|
{
|
|
Debug.Log(".");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 1; i < 4; i += 0)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B425 RID: 46117 RVA: 0x00358F20 File Offset: 0x00357120
|
|
private void DCILLKCLNCI()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.LBMAIMHLDAE();
|
|
for (int i = 0; i < 82; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B426 RID: 46118 RVA: 0x00358F90 File Offset: 0x00357190
|
|
private void EIMPMCFDMIA()
|
|
{
|
|
Debug.Log("_InterpolationEpi");
|
|
this.IFEDGEGIPFC = base.GetComponent<Renderer>();
|
|
for (int i = 0; i < 7; i++)
|
|
{
|
|
if (this.IFEDGEGIPFC != null && this.textures[i] == null)
|
|
{
|
|
this.textures[i] = this.IFEDGEGIPFC.material.mainTexture;
|
|
}
|
|
if (this.textures[i] != null)
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
this.JLOCCDNCPMC[i] = this.textures[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B427 RID: 46119 RVA: 0x00359040 File Offset: 0x00357240
|
|
private void KFGIGDCLOKO()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.CEDDPLOOEOA();
|
|
for (int i = 1; i < 14; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B428 RID: 46120 RVA: 0x003590B0 File Offset: 0x003572B0
|
|
private void LDHOOGBEGPM()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.OAIAFDEAJBC().DBOLHJAJNHL(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B429 RID: 46121 RVA: 0x00359118 File Offset: 0x00357318
|
|
private void LNJHECEEDFB()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, false, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.NFMLJDLAGMJ().DBOLHJAJNHL(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B42A RID: 46122 RVA: 0x00359180 File Offset: 0x00357380
|
|
private void OnEnable()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.OnDisable();
|
|
for (int i = 0; i < 15; i++)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B42B RID: 46123 RVA: 0x003591F0 File Offset: 0x003573F0
|
|
public void FMANMGLOLKK(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B42C RID: 46124 RVA: 0x0035922C File Offset: 0x0035742C
|
|
private void MPDPLKNCLEM()
|
|
{
|
|
if (!Camera.current.CompareTag("Microphone: ") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
Debug.LogWarning("[SteamVR]" + this.currentOverlayShape + "Processing the request Timed Out!");
|
|
}
|
|
for (int i = 0; i < 1; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("framerate: {0:N0}\ndropped frames: {1}");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)6;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 6; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1972f)
|
|
{
|
|
Debug.LogWarning("fromPlayerId");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 464f * 181f;
|
|
if (num2 > 367f)
|
|
{
|
|
Debug.LogError("Select a stream" + num2 + "OpGetGameList()");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.DGHNDBJMCAM().LJPEPONINCD(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B42D RID: 46125 RVA: 0x00359574 File Offset: 0x00357774
|
|
private void OEDEIEBKLCG()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.AIIJPKMPOGN().KNBAGLGIBBH(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B42E RID: 46126 RVA: 0x003595DC File Offset: 0x003577DC
|
|
private void LFOLMCAMAOG()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.FKOICHJGFOL();
|
|
for (int i = 1; i < 6; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B42F RID: 46127 RVA: 0x0035964C File Offset: 0x0035784C
|
|
private void BENIKINONBL()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(true, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.AIIJPKMPOGN().FCPEBPPCCOM(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B430 RID: 46128 RVA: 0x003596B4 File Offset: 0x003578B4
|
|
private void FKOICHJGFOL()
|
|
{
|
|
if (this.ODDJBELKCAD != -1)
|
|
{
|
|
AAKIJKLIBFM.HPEMILKKEHP(false, true, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, OVRPose.HOBIDELGBJL().LJPEPONINCD(), Vector3.one.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.PBHMKGFFLAH);
|
|
OVROverlay.DNJMDFCILGL[this.ODDJBELKCAD] = null;
|
|
}
|
|
this.ODDJBELKCAD = -1;
|
|
}
|
|
|
|
// Token: 0x0600B431 RID: 46129 RVA: 0x0035971C File Offset: 0x0035791C
|
|
private void AFFMPFLFKJE()
|
|
{
|
|
if (!Camera.current.CompareTag(" (") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
Debug.LogWarning("_MainColor" + this.currentOverlayShape + "CreateRoom failed, client stays on masterserver: {0}.");
|
|
}
|
|
for (int i = 0; i < 8; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("sn");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)4;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 2; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1112f)
|
|
{
|
|
Debug.LogWarning("Mallostor");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1653f * 0f;
|
|
if (num2 > 1333f)
|
|
{
|
|
Debug.LogError("OVRMainMenu: More then 1 OVRCameraRig attached." + num2 + "splash_screen");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().FEEIACBMCFM(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B432 RID: 46130 RVA: 0x00359A64 File Offset: 0x00357C64
|
|
private void IJJPEKODOLI()
|
|
{
|
|
if (!Camera.current.CompareTag("IAEoCzIULnJlY3Jvb20uVmVjdG9yM0RhdGESOAoaYXR0YWNoZWRfcmVsYXRp") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
Debug.LogWarning("Description" + this.currentOverlayShape + "Stream error.");
|
|
}
|
|
for (int i = 0; i < 8; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Disabled in WebPlayer, WebGL & Samsung Smart TV Builds!");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)6;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 1; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 153f)
|
|
{
|
|
Debug.LogWarning("Back");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1671f * 744f;
|
|
if (num2 > 1328f)
|
|
{
|
|
Debug.LogError("RpcHandlePickupSubExtrusions" + num2 + "UploadStream");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().NBNJEAGGOCE(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B434 RID: 46132 RVA: 0x00359DBC File Offset: 0x00357FBC
|
|
private void MGFEKIHGOLK()
|
|
{
|
|
if (!OVRManager.BABLFNBCNGI())
|
|
{
|
|
base.enabled = false;
|
|
return;
|
|
}
|
|
this.BJEFEOJHCBL();
|
|
for (int i = 0; i < 85; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B435 RID: 46133 RVA: 0x00359E2C File Offset: 0x0035802C
|
|
private void PLDKMAENOEB()
|
|
{
|
|
if (!Camera.current.CompareTag("Encounter") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
Debug.LogWarning("Room Full" + this.currentOverlayShape + "{0}v1/myrooms");
|
|
}
|
|
for (int i = 0; i < 4; i += 0)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Error");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.Underlay;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 1; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1491f)
|
|
{
|
|
Debug.LogWarning("PlayerMenu notification feedback tried to play with a null AnchorHand.");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 590f * 1418f;
|
|
if (num2 > 1974f)
|
|
{
|
|
Debug.LogError("Reconnect() disabled the offline mode. No longer offline." + num2 + "OpenMenuForPeopleScreen");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.EOCOAOANHID().PONGKOPLOOH(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B436 RID: 46134 RVA: 0x0035A174 File Offset: 0x00358374
|
|
private void JHAAFBKANAL()
|
|
{
|
|
if (!OVRManager.GCEKBLBPAHO)
|
|
{
|
|
base.enabled = true;
|
|
return;
|
|
}
|
|
this.HLKFCMJLAIH();
|
|
for (int i = 0; i < -24; i += 0)
|
|
{
|
|
if (OVROverlay.DNJMDFCILGL[i] == null || OVROverlay.DNJMDFCILGL[i] == this)
|
|
{
|
|
this.ODDJBELKCAD = i;
|
|
OVROverlay.DNJMDFCILGL[i] = this;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B437 RID: 46135 RVA: 0x0035A1E4 File Offset: 0x003583E4
|
|
private void FEDEBKFOOMA()
|
|
{
|
|
if (!Camera.current.CompareTag("el") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.OffcenterCubemap)
|
|
{
|
|
Debug.LogWarning("namedcolorvalue" + this.currentOverlayShape + "Missing stop target!");
|
|
}
|
|
for (int i = 1; i < 7; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError(" [Anonymous]");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)7;
|
|
bool flag2 = true;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 8; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)6)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1927f)
|
|
{
|
|
Debug.LogWarning("You must restart the game to keep playing");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1500f * 783f;
|
|
if (num2 > 1166f)
|
|
{
|
|
Debug.LogError("THROWER_ID" + num2 + "HostType: {0} ");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.DGHNDBJMCAM().LJPEPONINCD(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = !flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B438 RID: 46136 RVA: 0x0035A52C File Offset: 0x0035872C
|
|
private void IOGOIHACGPO()
|
|
{
|
|
if (!Camera.current.CompareTag("turn") || Camera.current.cameraType != CameraType.Game || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)3)
|
|
{
|
|
Debug.LogWarning("TwoDown" + this.currentOverlayShape + "ForceJuniorImages");
|
|
}
|
|
for (int i = 1; i < 7; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5 && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("api/gamesessions/v2/");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[1] == null || this.JLOCCDNCPMC[0] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == OVROverlay.ODKNELNKHHP.None;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 1; j < 0; j += 0)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)8)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 83f)
|
|
{
|
|
Debug.LogWarning("{0}/{1}");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1568f * 735f;
|
|
if (num2 > 365f)
|
|
{
|
|
Debug.LogError("Content-Length" + num2 + "CANNOT DUAL WIELD");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[1], this.JLOCCDNCPMC[1], IntPtr.Zero, ovrpose.ECOKDCMMIIH().BMGOAHKOPPF(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B439 RID: 46137 RVA: 0x0035A874 File Offset: 0x00358A74
|
|
public void OverrideOverlayTextureInfo(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 0 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B43A RID: 46138 RVA: 0x0035A8B0 File Offset: 0x00358AB0
|
|
public void OLOKANFMEOF(Texture KMPHIONGIFJ, IntPtr FAAPOLCKJBI, VRNode EBGBGCAABDL)
|
|
{
|
|
int num = ((EBGBGCAABDL != VRNode.RightEye) ? 1 : 1);
|
|
this.textures[num] = KMPHIONGIFJ;
|
|
this.MKHGBHBNMJI[num] = KMPHIONGIFJ;
|
|
this.JLOCCDNCPMC[num] = FAAPOLCKJBI;
|
|
}
|
|
|
|
// Token: 0x0600B43B RID: 46139 RVA: 0x0035A8EC File Offset: 0x00358AEC
|
|
private void PFLCHCKBFBO()
|
|
{
|
|
if (!Camera.current.CompareTag("Expected a list of objects, got null") || Camera.current.cameraType != (CameraType)0 || this.ODDJBELKCAD == -1 || this.currentOverlayType == OVROverlay.ODKNELNKHHP.None)
|
|
{
|
|
return;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad || this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)5)
|
|
{
|
|
Debug.LogWarning("applicationType" + this.currentOverlayShape + "ShowTeleportHint");
|
|
}
|
|
for (int i = 1; i < 6; i++)
|
|
{
|
|
if (i < this.textures.Length)
|
|
{
|
|
if (this.textures[i] != this.MKHGBHBNMJI[i])
|
|
{
|
|
this.MKHGBHBNMJI[i] = this.textures[i];
|
|
if (this.MKHGBHBNMJI[i] != null)
|
|
{
|
|
this.JLOCCDNCPMC[i] = this.MKHGBHBNMJI[i].GetNativeTexturePtr();
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cylinder && this.textures[i] != null && this.textures[i].GetType() != typeof(Cubemap))
|
|
{
|
|
Debug.LogError("Level_");
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (this.MKHGBHBNMJI[0] == null || this.JLOCCDNCPMC[1] == IntPtr.Zero)
|
|
{
|
|
return;
|
|
}
|
|
bool flag = this.currentOverlayType == (OVROverlay.ODKNELNKHHP)7;
|
|
bool flag2 = false;
|
|
Transform transform = base.transform;
|
|
while (transform != null && !flag2)
|
|
{
|
|
flag2 |= transform == Camera.current.transform;
|
|
transform = transform.parent;
|
|
}
|
|
OVRPose ovrpose = ((!flag2) ? base.transform.AILMHCPOIBB() : base.transform.JMGHCGBMOEP());
|
|
Vector3 lossyScale = base.transform.lossyScale;
|
|
for (int j = 0; j < 1; j++)
|
|
{
|
|
ref Vector3 ptr = ref lossyScale;
|
|
int num;
|
|
lossyScale[num = j] = ptr[num] / Camera.current.transform.lossyScale[j];
|
|
}
|
|
if (this.currentOverlayShape == (OVROverlay.AKGBDDPGIBL)7)
|
|
{
|
|
ovrpose.position = Camera.current.transform.position;
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Cubemap)
|
|
{
|
|
ovrpose.position = base.transform.position;
|
|
if (ovrpose.position.magnitude > 1028f)
|
|
{
|
|
Debug.LogWarning("api/PlayerReporting/");
|
|
}
|
|
}
|
|
if (this.currentOverlayShape == OVROverlay.AKGBDDPGIBL.Quad)
|
|
{
|
|
float num2 = lossyScale.x / lossyScale.z / 1450f * 214f;
|
|
if (num2 > 443f)
|
|
{
|
|
Debug.LogError("speed" + num2 + "OOBEFlowBase.RunWaitForPlayerSpawn(): Error code FROSTBITE");
|
|
return;
|
|
}
|
|
}
|
|
bool flag3 = AAKIJKLIBFM.HPEMILKKEHP(flag, flag2, this.JLOCCDNCPMC[0], this.JLOCCDNCPMC[0], IntPtr.Zero, ovrpose.JGPPBINBENB().KPBMOEMNIEG(), lossyScale.BCGHKLFCLGG(), this.ODDJBELKCAD, (AAKIJKLIBFM.AKGBDDPGIBL)this.currentOverlayShape);
|
|
this.PBHMKGFFLAH = this.currentOverlayShape;
|
|
if (this.IFEDGEGIPFC)
|
|
{
|
|
this.IFEDGEGIPFC.enabled = flag3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001790 RID: 6032
|
|
private const int LPCDICIBOMA = 15;
|
|
|
|
// Token: 0x04001791 RID: 6033
|
|
internal static OVROverlay[] DNJMDFCILGL = new OVROverlay[15];
|
|
|
|
// Token: 0x04001792 RID: 6034
|
|
public OVROverlay.ODKNELNKHHP currentOverlayType = OVROverlay.ODKNELNKHHP.Overlay;
|
|
|
|
// Token: 0x04001793 RID: 6035
|
|
public OVROverlay.AKGBDDPGIBL currentOverlayShape;
|
|
|
|
// Token: 0x04001794 RID: 6036
|
|
private OVROverlay.AKGBDDPGIBL PBHMKGFFLAH;
|
|
|
|
// Token: 0x04001795 RID: 6037
|
|
public Texture[] textures = new Texture[2];
|
|
|
|
// Token: 0x04001796 RID: 6038
|
|
private Texture[] MKHGBHBNMJI = new Texture[2];
|
|
|
|
// Token: 0x04001797 RID: 6039
|
|
private IntPtr[] JLOCCDNCPMC = new IntPtr[]
|
|
{
|
|
IntPtr.Zero,
|
|
IntPtr.Zero
|
|
};
|
|
|
|
// Token: 0x04001798 RID: 6040
|
|
private int ODDJBELKCAD = -1;
|
|
|
|
// Token: 0x04001799 RID: 6041
|
|
private Renderer IFEDGEGIPFC;
|
|
|
|
// Token: 0x0200040E RID: 1038
|
|
public enum AKGBDDPGIBL
|
|
{
|
|
// Token: 0x0400179B RID: 6043
|
|
Quad,
|
|
// Token: 0x0400179C RID: 6044
|
|
Cylinder,
|
|
// Token: 0x0400179D RID: 6045
|
|
Cubemap,
|
|
// Token: 0x0400179E RID: 6046
|
|
OffcenterCubemap = 4
|
|
}
|
|
|
|
// Token: 0x0200040F RID: 1039
|
|
public enum ODKNELNKHHP
|
|
{
|
|
// Token: 0x040017A0 RID: 6048
|
|
None,
|
|
// Token: 0x040017A1 RID: 6049
|
|
Underlay,
|
|
// Token: 0x040017A2 RID: 6050
|
|
Overlay,
|
|
// Token: 0x040017A3 RID: 6051
|
|
OverlayShowLod
|
|
}
|
|
}
|