Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/VRPanorama/VRPanoInterface.cs
T
2026-04-08 23:40:05 +02:00

190 lines
5.1 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.UI;
namespace VRPanorama
{
// Token: 0x0200076F RID: 1903
[Token(Token = "0x200076F")]
[StructLayout(3)]
public class VRPanoInterface : MonoBehaviour
{
// Token: 0x060036D1 RID: 14033 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x60036D1")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")]
private void Start()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060036D2 RID: 14034 RVA: 0x000E6500 File Offset: 0x000E4700
[Token(Token = "0x60036D2")]
[Address(RVA = "0x1A12770", Offset = "0x1A11170", VA = "0x181A12770")]
private void Update()
{
int num;
do
{
num = 0;
if ((this.rt ? 1 : 0) == num)
{
Image image = this.texLoader;
float num2 = this.progressInd;
image.fillAmount = num2;
string text = this.timeCounter.text;
Camera panoramaCam = this.PanoramaCam;
int num3 = 0;
panoramaCam.transform.localScale = num3;
}
}
while (!this.sbs || (this.mono ? 1 : 0) != num || (this.rt ? 1 : 0) == num);
Camera panoramaCam2 = this.PanoramaCam;
int num4 = 0;
panoramaCam2.transform.localScale = num4;
GameObject gameObject = this.quadR;
int num5 = 0;
gameObject.transform.localPosition = num5;
GameObject gameObject2 = this.quadL;
int num6 = 0;
gameObject2.transform.localPosition = num6;
if (!this.sbs)
{
if ((this.mono ? 1 : 0) != num)
{
goto IL_11A;
}
if ((this.rt ? 1 : 0) != num)
{
Camera panoramaCam3 = this.PanoramaCam;
int num7 = 0;
panoramaCam3.transform.localScale = num7;
GameObject gameObject3 = this.quadR;
int num8 = 0;
gameObject3.transform.localPosition = num8;
GameObject gameObject4 = this.quadL;
int num9 = 0;
gameObject4.transform.localPosition = num9;
}
}
if ((this.mono ? 1 : 0) == num)
{
goto IL_13C;
}
IL_11A:
if ((this.rt ? 1 : 0) != num)
{
Camera panoramaCam4 = this.PanoramaCam;
int num10 = 0;
panoramaCam4.transform.localScale = num10;
}
IL_13C:
if ((this.hQ ? 1 : 0) == num)
{
if ((this.rt ? 1 : 0) == num)
{
GameObject gameObject5 = this.hQPlane;
int num11 = 0;
if (gameObject5 != num11)
{
GameObject gameObject6 = this.hQPlane;
int num12 = 0;
gameObject6.SetActive(num12 != 0);
}
}
return;
}
GameObject gameObject7 = this.hQPlane;
throw new NullReferenceException();
}
// Token: 0x060036D3 RID: 14035 RVA: 0x000E6694 File Offset: 0x000E4894
[Token(Token = "0x60036D3")]
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
public VRPanoInterface()
{
}
// Token: 0x04002EFD RID: 12029
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002EFD")]
public float progressInd;
// Token: 0x04002EFE RID: 12030
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002EFE")]
public string timeCounterText;
// Token: 0x04002EFF RID: 12031
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002EFF")]
public Image texLoader;
// Token: 0x04002F00 RID: 12032
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002F00")]
public Text timeCounter;
// Token: 0x04002F01 RID: 12033
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4002F01")]
public int width;
// Token: 0x04002F02 RID: 12034
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4002F02")]
public int height;
// Token: 0x04002F03 RID: 12035
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4002F03")]
public Camera PanoramaCam;
// Token: 0x04002F04 RID: 12036
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4002F04")]
public GameObject hQCam;
// Token: 0x04002F05 RID: 12037
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4002F05")]
public bool rt;
// Token: 0x04002F06 RID: 12038
[global::Cpp2IlInjected.FieldOffset(Offset = "0x51")]
[Token(Token = "0x4002F06")]
public bool mono;
// Token: 0x04002F07 RID: 12039
[global::Cpp2IlInjected.FieldOffset(Offset = "0x52")]
[Token(Token = "0x4002F07")]
public bool sbs;
// Token: 0x04002F08 RID: 12040
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4002F08")]
public GameObject quadR;
// Token: 0x04002F09 RID: 12041
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4002F09")]
public GameObject quadL;
// Token: 0x04002F0A RID: 12042
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4002F0A")]
public GameObject hQPlane;
// Token: 0x04002F0B RID: 12043
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x4002F0B")]
public bool hQ;
// Token: 0x04002F0C RID: 12044
[global::Cpp2IlInjected.FieldOffset(Offset = "0x74")]
[Token(Token = "0x4002F0C")]
public int step;
}
}