509 lines
19 KiB
C#
509 lines
19 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.UI
|
|
{
|
|
// Token: 0x02002501 RID: 9473
|
|
[Token(Token = "0x2002501")]
|
|
[StructLayout(3)]
|
|
public class ScreenHUDElement : MonoBehaviour
|
|
{
|
|
// Token: 0x17002C65 RID: 11365
|
|
// (get) Token: 0x06010583 RID: 66947 RVA: 0x003D4D58 File Offset: 0x003D2F58
|
|
[Token(Token = "0x17002C65")]
|
|
public RectTransform OCEOHFFNCHP
|
|
{
|
|
[Token(Token = "0x6010583")]
|
|
[Address(RVA = "0x147CA50", Offset = "0x147B450", VA = "0x18147CA50")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06010583)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.RectTransform RecRoom.UI.ScreenHUDElement::get_RectTransform()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_0B:
|
|
brtrue(IL_0B, cne:bool(ldloc:Transform(var_0_06), ldc.i4:int32[exp:Transform](0)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C66 RID: 11366
|
|
// (get) Token: 0x06010584 RID: 66948 RVA: 0x003D4D74 File Offset: 0x003D2F74
|
|
[Token(Token = "0x17002C66")]
|
|
public RectTransform KPLKKDKMIAP
|
|
{
|
|
[Token(Token = "0x6010584")]
|
|
[Address(RVA = "0x147C9E0", Offset = "0x147B3E0", VA = "0x18147C9E0")]
|
|
get
|
|
{
|
|
Transform parent;
|
|
do
|
|
{
|
|
parent = base.transform.parent;
|
|
if (parent == 0)
|
|
{
|
|
}
|
|
}
|
|
while (parent == 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C67 RID: 11367
|
|
// (get) Token: 0x06010585 RID: 66949 RVA: 0x003D4D9C File Offset: 0x003D2F9C
|
|
[Token(Token = "0x17002C67")]
|
|
public bool DEMNNHLCJOD
|
|
{
|
|
[Token(Token = "0x6010585")]
|
|
[Address(RVA = "0x147C910", Offset = "0x147B310", VA = "0x18147C910")]
|
|
get
|
|
{
|
|
int num = 0;
|
|
if (this != num)
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
int num2 = 0;
|
|
if (gameObject != num2)
|
|
{
|
|
return base.gameObject.activeSelf;
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C68 RID: 11368
|
|
// (get) Token: 0x06010586 RID: 66950 RVA: 0x003D4DDC File Offset: 0x003D2FDC
|
|
[Token(Token = "0x17002C68")]
|
|
private bool DPAIIJPAFCO
|
|
{
|
|
[Token(Token = "0x6010586")]
|
|
[Address(RVA = "0x147BFB0", Offset = "0x147A9B0", VA = "0x18147BFB0")]
|
|
get
|
|
{
|
|
return this.BKMFIOABNFG > 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C69 RID: 11369
|
|
// (get) Token: 0x06010587 RID: 66951 RVA: 0x003D4DF4 File Offset: 0x003D2FF4
|
|
// (set) Token: 0x06010588 RID: 66952 RVA: 0x003D4E24 File Offset: 0x003D3024
|
|
[Token(Token = "0x17002C69")]
|
|
public Vector2 NMJDKEPJEIP
|
|
{
|
|
[Token(Token = "0x6010587")]
|
|
[Address(RVA = "0x147CB20", Offset = "0x147B520", VA = "0x18147CB20")]
|
|
get
|
|
{
|
|
while (this.EEMFBPJMNFJ)
|
|
{
|
|
if (base.transform != 0)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
Vector2 vector2;
|
|
return vector2;
|
|
}
|
|
}
|
|
return Vector2.zero;
|
|
}
|
|
[Token(Token = "0x6010588")]
|
|
[Address(RVA = "0x147CD80", Offset = "0x147B780", VA = "0x18147CD80")]
|
|
set
|
|
{
|
|
bool flag;
|
|
while (this.EEMFBPJMNFJ && (this.DNCJOKIBAMG.transform == 0 || base.transform == 0 || (flag && base.transform == 0)))
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C6A RID: 11370
|
|
// (get) Token: 0x06010589 RID: 66953 RVA: 0x003D4E68 File Offset: 0x003D3068
|
|
[Token(Token = "0x17002C6A")]
|
|
public Vector2 DDLFOPEPEFB
|
|
{
|
|
[Token(Token = "0x6010589")]
|
|
[Address(RVA = "0x147CAB0", Offset = "0x147B4B0", VA = "0x18147CAB0")]
|
|
get
|
|
{
|
|
Transform transform;
|
|
int num;
|
|
do
|
|
{
|
|
transform = base.transform;
|
|
num = 0;
|
|
}
|
|
while (transform != 0 && transform == 0);
|
|
return this.BKLMACKEFHD(num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C6B RID: 11371
|
|
// (get) Token: 0x0601058A RID: 66954 RVA: 0x003D4E90 File Offset: 0x003D3090
|
|
[Token(Token = "0x17002C6B")]
|
|
public Vector2 ABKIMJAKKOO
|
|
{
|
|
[Token(Token = "0x601058A")]
|
|
[Address(RVA = "0x147CD10", Offset = "0x147B710", VA = "0x18147CD10")]
|
|
get
|
|
{
|
|
Transform transform;
|
|
int num;
|
|
do
|
|
{
|
|
transform = base.transform;
|
|
num = 0;
|
|
}
|
|
while (transform != 0 && transform == 0);
|
|
return this.NFCGFMMPAOD(num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C6C RID: 11372
|
|
// (get) Token: 0x0601058B RID: 66955 RVA: 0x003D4EB8 File Offset: 0x003D30B8
|
|
[Token(Token = "0x17002C6C")]
|
|
public Rect JFPGGMCCNJJ
|
|
{
|
|
[Token(Token = "0x601058B")]
|
|
[Address(RVA = "0x147CC00", Offset = "0x147B600", VA = "0x18147CC00")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0601058B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Rect RecRoom.UI.ScreenHUDElement::get_ViewportRect()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_1:
|
|
brtrue(IL_00, ceq:bool(ldloc:Transform(var_4), ldc.i4:int32[exp:Transform](0)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601058C RID: 66956 RVA: 0x003D4EDC File Offset: 0x003D30DC
|
|
[Token(Token = "0x601058C")]
|
|
[Address(RVA = "0x147C680", Offset = "0x147B080", VA = "0x18147C680", Slot = "4")]
|
|
protected virtual void Start()
|
|
{
|
|
Canvas componentInParent = base.transform.GetComponentInParent<Canvas>();
|
|
Canvas canvas = this.FJKGICEELPK(componentInParent);
|
|
this.DNCJOKIBAMG = canvas;
|
|
int num = 0;
|
|
bool flag = canvas != num;
|
|
this.EEMFBPJMNFJ = flag;
|
|
if (flag)
|
|
{
|
|
if (this.DNCJOKIBAMG.renderMode != RenderMode.ScreenSpaceOverlay)
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
Canvas dncjokibamg = this.DNCJOKIBAMG;
|
|
RenderMode renderMode = dncjokibamg.renderMode;
|
|
Debug.LogError(string.Format("ScreenHUDElement {0} spawned under root canvas {1} set to render mode {2} (should be ScreenSpaceOverlay)", gameObject, dncjokibamg, renderMode));
|
|
}
|
|
return;
|
|
}
|
|
GameObject gameObject2 = base.gameObject;
|
|
Debug.LogError(string.Format("ScreenHUDElement {0} spawned without a canvas parent.", gameObject2), this);
|
|
}
|
|
|
|
// Token: 0x0601058D RID: 66957 RVA: 0x003D4F78 File Offset: 0x003D3178
|
|
[Token(Token = "0x601058D")]
|
|
[Address(RVA = "0x147C580", Offset = "0x147AF80", VA = "0x18147C580")]
|
|
public void SetActive(bool CBHMNNAINHM)
|
|
{
|
|
int num = 0;
|
|
if (!(this == num))
|
|
{
|
|
if (CBHMNNAINHM)
|
|
{
|
|
this.CECIGAMAABA = true;
|
|
if (!base.gameObject.activeSelf)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
this.BKMFIOABNFG = (int)((ulong)4294967295L);
|
|
return;
|
|
}
|
|
if (this.CECIGAMAABA != CBHMNNAINHM && this.DEMNNHLCJOD)
|
|
{
|
|
this.CECIGAMAABA = CBHMNNAINHM;
|
|
GameObject gameObject = base.gameObject;
|
|
int num2 = 0;
|
|
gameObject.SetActive(num2 != 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601058E RID: 66958 RVA: 0x003D4FF8 File Offset: 0x003D31F8
|
|
[Token(Token = "0x601058E")]
|
|
[Address(RVA = "0x147B8E0", Offset = "0x147A2E0", VA = "0x18147B8E0")]
|
|
public void Activate()
|
|
{
|
|
this.CECIGAMAABA = true;
|
|
if (!base.gameObject.activeSelf)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
this.BKMFIOABNFG = (int)((ulong)4294967295L);
|
|
}
|
|
|
|
// Token: 0x0601058F RID: 66959 RVA: 0x003D503C File Offset: 0x003D323C
|
|
[Token(Token = "0x601058F")]
|
|
[Address(RVA = "0x147B870", Offset = "0x147A270", VA = "0x18147B870")]
|
|
public void ActivateForFrame()
|
|
{
|
|
int frameCount = Time.frameCount;
|
|
this.CECIGAMAABA = true;
|
|
if (!base.gameObject.activeSelf)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
int num = frameCount + 1;
|
|
this.BKMFIOABNFG = num;
|
|
}
|
|
|
|
// Token: 0x06010590 RID: 66960 RVA: 0x003D5084 File Offset: 0x003D3284
|
|
[Token(Token = "0x6010590")]
|
|
[Address(RVA = "0x147BDF0", Offset = "0x147A7F0", VA = "0x18147BDF0")]
|
|
private void EJHMEFACCDJ(int BKMFIOABNFG)
|
|
{
|
|
this.CECIGAMAABA = true;
|
|
if (!base.gameObject.activeSelf)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
this.BKMFIOABNFG = BKMFIOABNFG;
|
|
}
|
|
|
|
// Token: 0x06010591 RID: 66961 RVA: 0x003D50C0 File Offset: 0x003D32C0
|
|
[Token(Token = "0x6010591")]
|
|
[Address(RVA = "0x147BDA0", Offset = "0x147A7A0", VA = "0x18147BDA0")]
|
|
public void Disable()
|
|
{
|
|
if (this.CECIGAMAABA && this.DEMNNHLCJOD)
|
|
{
|
|
this.CECIGAMAABA = false;
|
|
GameObject gameObject = base.gameObject;
|
|
int num = 0;
|
|
gameObject.SetActive(num != 0);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010592 RID: 66962 RVA: 0x003D5100 File Offset: 0x003D3300
|
|
[Token(Token = "0x6010592")]
|
|
[Address(RVA = "0x147C840", Offset = "0x147B240", VA = "0x18147C840")]
|
|
public void TryDisableIfExpired(int OOPOBMEEJJM)
|
|
{
|
|
if (this.DEMNNHLCJOD && this.BKMFIOABNFG > 0 && this.CECIGAMAABA && this.DEMNNHLCJOD)
|
|
{
|
|
this.CECIGAMAABA = false;
|
|
GameObject gameObject = base.gameObject;
|
|
int num = 0;
|
|
gameObject.SetActive(num != 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010593 RID: 66963 RVA: 0x003D5150 File Offset: 0x003D3350
|
|
[Token(Token = "0x6010593")]
|
|
[Address(RVA = "0x147BF70", Offset = "0x147A970", VA = "0x18147BF70")]
|
|
private bool GAHCCGOCPID(int OOPOBMEEJJM)
|
|
{
|
|
if (!this.DEMNNHLCJOD)
|
|
{
|
|
return;
|
|
}
|
|
int bkmfioabnfg = this.BKMFIOABNFG;
|
|
if (bkmfioabnfg > 0)
|
|
{
|
|
return bkmfioabnfg <= OOPOBMEEJJM;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010594 RID: 66964 RVA: 0x003D517C File Offset: 0x003D337C
|
|
[Token(Token = "0x6010594")]
|
|
[Address(RVA = "0x147BC50", Offset = "0x147A650", VA = "0x18147BC50")]
|
|
protected Vector2 CJBBKPNJGDE(Vector3 NAIDPMBKHPK)
|
|
{
|
|
Transform transform2;
|
|
int num;
|
|
do
|
|
{
|
|
Transform transform = this.DNCJOKIBAMG.transform;
|
|
float z = NAIDPMBKHPK.z;
|
|
transform2 = this.DNCJOKIBAMG.transform;
|
|
num = 0;
|
|
}
|
|
while (transform2 == 0);
|
|
return num + num;
|
|
}
|
|
|
|
// Token: 0x06010595 RID: 66965 RVA: 0x003D51C0 File Offset: 0x003D33C0
|
|
[Token(Token = "0x6010595")]
|
|
[Address(RVA = "0x147BFC0", Offset = "0x147A9C0", VA = "0x18147BFC0")]
|
|
protected Vector3 LLLBJGOEDNL(Vector3 MAIKKHCFMEF)
|
|
{
|
|
Transform transform;
|
|
while (transform == 0)
|
|
{
|
|
}
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06010596 RID: 66966 RVA: 0x003D51E4 File Offset: 0x003D33E4
|
|
[Token(Token = "0x6010596")]
|
|
[Address(RVA = "0x147B940", Offset = "0x147A340", VA = "0x18147B940")]
|
|
protected Vector2 BKLMACKEFHD(RectTransform AIOEKMHLKAL)
|
|
{
|
|
if (this.EEMFBPJMNFJ)
|
|
{
|
|
Vector3[] beknfndnceg = ScreenHUDElement.BEKNFNDNCEG;
|
|
AIOEKMHLKAL.GetWorldCorners(beknfndnceg);
|
|
Vector3 zero = Vector3.zero;
|
|
int num = 0;
|
|
float z = zero.z;
|
|
Vector3[] beknfndnceg2 = ScreenHUDElement.BEKNFNDNCEG;
|
|
if (num < beknfndnceg2.Length)
|
|
{
|
|
Vector3[] beknfndnceg3 = ScreenHUDElement.BEKNFNDNCEG;
|
|
num++;
|
|
}
|
|
Vector3[] beknfndnceg4 = ScreenHUDElement.BEKNFNDNCEG;
|
|
Vector3 vector;
|
|
float z2 = vector.z;
|
|
Vector2 vector2;
|
|
return vector2;
|
|
}
|
|
return Vector2.zero;
|
|
}
|
|
|
|
// Token: 0x06010597 RID: 66967 RVA: 0x003D5254 File Offset: 0x003D3454
|
|
[Token(Token = "0x6010597")]
|
|
[Address(RVA = "0x147C190", Offset = "0x147AB90", VA = "0x18147C190")]
|
|
protected Vector2 NFCGFMMPAOD(RectTransform AIOEKMHLKAL)
|
|
{
|
|
int num = 0;
|
|
if ((this.EEMFBPJMNFJ ? 1 : 0) != num)
|
|
{
|
|
Vector3[] beknfndnceg = ScreenHUDElement.BEKNFNDNCEG;
|
|
AIOEKMHLKAL.GetWorldCorners(beknfndnceg);
|
|
int num2 = 0;
|
|
Vector3[] beknfndnceg2 = ScreenHUDElement.BEKNFNDNCEG;
|
|
if (num2 < beknfndnceg2.Length)
|
|
{
|
|
Vector3[] beknfndnceg3 = ScreenHUDElement.BEKNFNDNCEG;
|
|
Vector2 vector = this.CJBBKPNJGDE(beknfndnceg2);
|
|
num2++;
|
|
Vector3 vector2;
|
|
float z = vector2.z;
|
|
beknfndnceg3[1] = z;
|
|
}
|
|
Vector3[] beknfndnceg4 = ScreenHUDElement.BEKNFNDNCEG;
|
|
Vector3 zero = Vector3.zero;
|
|
Vector3[] beknfndnceg5 = ScreenHUDElement.BEKNFNDNCEG;
|
|
if ((uint)1 < (uint)beknfndnceg5.Length)
|
|
{
|
|
Vector3[] beknfndnceg6 = ScreenHUDElement.BEKNFNDNCEG;
|
|
}
|
|
return (uint)1;
|
|
}
|
|
return Vector2.zero;
|
|
}
|
|
|
|
// Token: 0x06010598 RID: 66968 RVA: 0x003D52EC File Offset: 0x003D34EC
|
|
[Token(Token = "0x6010598")]
|
|
[Address(RVA = "0x147BBF0", Offset = "0x147A5F0", VA = "0x18147BBF0")]
|
|
protected Canvas CGLBLKCDPJI()
|
|
{
|
|
Canvas componentInParent = base.transform.GetComponentInParent<Canvas>();
|
|
return this.FJKGICEELPK(componentInParent);
|
|
}
|
|
|
|
// Token: 0x06010599 RID: 66969 RVA: 0x003D5314 File Offset: 0x003D3514
|
|
[Token(Token = "0x6010599")]
|
|
[Address(RVA = "0x147BE50", Offset = "0x147A850", VA = "0x18147BE50")]
|
|
private Canvas FJKGICEELPK(Canvas NKKFJKIMHBN)
|
|
{
|
|
Transform parent = NKKFJKIMHBN.transform.parent;
|
|
int num = 0;
|
|
if (parent != num)
|
|
{
|
|
Canvas componentInParent = NKKFJKIMHBN.transform.parent.GetComponentInParent(true);
|
|
int num2 = 0;
|
|
if (componentInParent != num2)
|
|
{
|
|
return this.FJKGICEELPK(componentInParent);
|
|
}
|
|
}
|
|
return NKKFJKIMHBN;
|
|
}
|
|
|
|
// Token: 0x0601059A RID: 66970 RVA: 0x003D5368 File Offset: 0x003D3568
|
|
[Token(Token = "0x601059A")]
|
|
[Address(RVA = "0x147C900", Offset = "0x147B300", VA = "0x18147C900")]
|
|
public ScreenHUDElement()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400ADCF RID: 44495
|
|
[Token(Token = "0x400ADCF")]
|
|
private static readonly Vector3[] BEKNFNDNCEG = new Vector3[4];
|
|
|
|
// Token: 0x0400ADD0 RID: 44496
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400ADD0")]
|
|
private Canvas DNCJOKIBAMG;
|
|
|
|
// Token: 0x0400ADD1 RID: 44497
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400ADD1")]
|
|
private bool EEMFBPJMNFJ;
|
|
|
|
// Token: 0x0400ADD2 RID: 44498
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x21")]
|
|
[Token(Token = "0x400ADD2")]
|
|
private bool CECIGAMAABA = true;
|
|
|
|
// Token: 0x0400ADD3 RID: 44499
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400ADD3")]
|
|
private int BKMFIOABNFG;
|
|
}
|
|
}
|