373 lines
15 KiB
C#
373 lines
15 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom.UI.Notifications
|
|
{
|
|
// Token: 0x0200251B RID: 9499
|
|
[Token(Token = "0x200251B")]
|
|
[StructLayout(3)]
|
|
public class ScreenModeScreenSpaceNotification : MonoBehaviour, IOCIKIDGCOI
|
|
{
|
|
// Token: 0x06010624 RID: 67108 RVA: 0x003D72FC File Offset: 0x003D54FC
|
|
[Token(Token = "0x6010624")]
|
|
[Address(RVA = "0x147D640", Offset = "0x147C040", VA = "0x18147D640")]
|
|
private void Awake()
|
|
{
|
|
Canvas componentInParent = base.GetComponentInParent<Canvas>();
|
|
Image image = this.backgroundImage;
|
|
this.NKKFJKIMHBN = componentInParent;
|
|
ScreenModeNotificationText screenModeNotificationText = this.title;
|
|
TextMeshProUGUI textObject = screenModeNotificationText.textObject;
|
|
int num = 0;
|
|
if (textObject != num)
|
|
{
|
|
TextMeshProUGUI textObject2 = screenModeNotificationText.textObject;
|
|
}
|
|
Color white = Color.white;
|
|
ScreenModeNotificationText screenModeNotificationText2 = this.subtitle;
|
|
TextMeshProUGUI textObject3 = screenModeNotificationText2.textObject;
|
|
int num2 = 0;
|
|
if (textObject3 != num2)
|
|
{
|
|
TextMeshProUGUI textObject4 = screenModeNotificationText2.textObject;
|
|
}
|
|
Color white2 = Color.white;
|
|
if (this.title != 0)
|
|
{
|
|
}
|
|
if (this.subtitle != 0)
|
|
{
|
|
}
|
|
int num3 = 0;
|
|
this.EIOHBBNKILH((float)num3);
|
|
Animator animator = this.animator;
|
|
int num4 = 0;
|
|
animator.enabled = num4 != 0;
|
|
GameObject gameObject = base.gameObject;
|
|
int num5 = 0;
|
|
gameObject.SetActive(num5 != 0);
|
|
}
|
|
|
|
// Token: 0x17002C8A RID: 11402
|
|
// (get) Token: 0x06010625 RID: 67109 RVA: 0x003D73C8 File Offset: 0x003D55C8
|
|
[Token(Token = "0x17002C8A")]
|
|
public ODAIMIPLHGH LKIBJOMNFFD
|
|
{
|
|
[Token(Token = "0x6010625")]
|
|
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "4")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06010625)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling ODAIMIPLHGH RecRoom.UI.Notifications.ScreenModeScreenSpaceNotification::get_Title()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:ScreenModeNotificationText(var_0_06, ldfld:ScreenModeNotificationText(ScreenModeScreenSpaceNotification::title, ldloc:ScreenModeScreenSpaceNotification(this)))
|
|
}
|
|
|
|
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.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: 0x17002C8B RID: 11403
|
|
// (get) Token: 0x06010626 RID: 67110 RVA: 0x003D73DC File Offset: 0x003D55DC
|
|
[Token(Token = "0x17002C8B")]
|
|
public ODAIMIPLHGH JAFMIDAHECF
|
|
{
|
|
[Token(Token = "0x6010626")]
|
|
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "5")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06010626)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling ODAIMIPLHGH RecRoom.UI.Notifications.ScreenModeScreenSpaceNotification::get_Subtitle()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:ScreenModeNotificationText(var_0_06, ldfld:ScreenModeNotificationText(ScreenModeScreenSpaceNotification::subtitle, ldloc:ScreenModeScreenSpaceNotification(this)))
|
|
}
|
|
|
|
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.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: 0x17002C8C RID: 11404
|
|
// (get) Token: 0x06010627 RID: 67111 RVA: 0x003D73F0 File Offset: 0x003D55F0
|
|
[Token(Token = "0x17002C8C")]
|
|
public float DGBMOHMAPMF
|
|
{
|
|
[Token(Token = "0x6010627")]
|
|
[Address(RVA = "0x147E100", Offset = "0x147CB00", VA = "0x18147E100", Slot = "6")]
|
|
get
|
|
{
|
|
AnimationClip animationClip = this.animateInClip;
|
|
int num = 0;
|
|
if (animationClip != num)
|
|
{
|
|
return this.animateInClip.length;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C8D RID: 11405
|
|
// (get) Token: 0x06010628 RID: 67112 RVA: 0x003D7424 File Offset: 0x003D5624
|
|
[Token(Token = "0x17002C8D")]
|
|
public float JHBNPDBIPJD
|
|
{
|
|
[Token(Token = "0x6010628")]
|
|
[Address(RVA = "0x147E190", Offset = "0x147CB90", VA = "0x18147E190", Slot = "7")]
|
|
get
|
|
{
|
|
AnimationClip animationClip = this.animateOutClip;
|
|
int num = 0;
|
|
if (animationClip != num)
|
|
{
|
|
return this.animateOutClip.length;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010629 RID: 67113 RVA: 0x003D7458 File Offset: 0x003D5658
|
|
[Token(Token = "0x6010629")]
|
|
[Address(RVA = "0x147DB00", Offset = "0x147C500", VA = "0x18147DB00", Slot = "8")]
|
|
public void Initialize(NotificationManager.NBEJOOPDCEM GJLHKMFGNDA, bool DPDLEENDKKK)
|
|
{
|
|
NotificationManager.IBIDFAOPIPC oplhmkfcnol = GJLHKMFGNDA.OPLHMKFCNOL;
|
|
int notificationImportanceThreshold = (int)SingletonMonoBehaviour.Instance.OFCAODAOGEH;
|
|
GameObject gameObject = base.gameObject;
|
|
bool flag = oplhmkfcnol >= (NotificationManager.IBIDFAOPIPC)notificationImportanceThreshold;
|
|
gameObject.SetActive(flag);
|
|
Canvas nkkfjkimhbn = this.NKKFJKIMHBN;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
if (nkkfjkimhbn != num2)
|
|
{
|
|
Canvas nkkfjkimhbn2 = this.NKKFJKIMHBN;
|
|
bool flag2 = !nkkfjkimhbn2.enabled;
|
|
nkkfjkimhbn2.enabled = flag2;
|
|
Canvas nkkfjkimhbn3 = this.NKKFJKIMHBN;
|
|
bool flag3 = !nkkfjkimhbn3.enabled;
|
|
nkkfjkimhbn3.enabled = flag3;
|
|
}
|
|
int num3 = 0;
|
|
if (DPDLEENDKKK)
|
|
{
|
|
if (this.title != 0)
|
|
{
|
|
Color gjiiaedpnof = this.GJIIAEDPNOF;
|
|
if (num3 < num)
|
|
{
|
|
num3 += num3;
|
|
num3++;
|
|
}
|
|
}
|
|
if (this.subtitle != 0)
|
|
{
|
|
Color ofafomaecfh = this.OFAFOMAECFH;
|
|
uint num4;
|
|
if (num3 < (int)num4)
|
|
{
|
|
num3 += num3;
|
|
num3++;
|
|
}
|
|
}
|
|
}
|
|
ScreenModeNotificationText screenModeNotificationText = this.title;
|
|
ScreenModeNotificationText screenModeNotificationText2 = this.subtitle;
|
|
ScreenModeNotificationText screenModeNotificationText3 = this.title;
|
|
num3 += num3;
|
|
num3++;
|
|
ScreenModeNotificationText screenModeNotificationText4 = this.subtitle;
|
|
num3 += num3;
|
|
num3++;
|
|
if (DPDLEENDKKK)
|
|
{
|
|
int num5 = 0;
|
|
this.DFLGHLEPGHP((float)num5);
|
|
int num6 = 0;
|
|
this.EIOHBBNKILH((float)num6);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601062A RID: 67114 RVA: 0x003D758C File Offset: 0x003D578C
|
|
[Token(Token = "0x601062A")]
|
|
[Address(RVA = "0x13CA260", Offset = "0x13C8C60", VA = "0x1813CA260", Slot = "9")]
|
|
public void SetVisible(bool NOCJEBBJIAN)
|
|
{
|
|
base.gameObject.SetActive(NOCJEBBJIAN);
|
|
}
|
|
|
|
// Token: 0x0601062B RID: 67115 RVA: 0x003D75AC File Offset: 0x003D57AC
|
|
[Token(Token = "0x601062B")]
|
|
[Address(RVA = "0x147DF60", Offset = "0x147C960", VA = "0x18147DF60", Slot = "10")]
|
|
public void UpdateAnimateIn(float MOPKOPOKKEE)
|
|
{
|
|
AnimationClip animationClip = this.animateInClip;
|
|
int num = 0;
|
|
if (!(animationClip != num))
|
|
{
|
|
this.DFLGHLEPGHP(1f);
|
|
float klbpkfadcgn = this.KLBPKFADCGN;
|
|
this.EIOHBBNKILH(klbpkfadcgn);
|
|
return;
|
|
}
|
|
AnimationClip animationClip2 = this.animateInClip;
|
|
GameObject gameObject = base.gameObject;
|
|
animationClip2.SampleAnimation(gameObject, MOPKOPOKKEE);
|
|
}
|
|
|
|
// Token: 0x0601062C RID: 67116 RVA: 0x003D7604 File Offset: 0x003D5804
|
|
[Token(Token = "0x601062C")]
|
|
[Address(RVA = "0x147E030", Offset = "0x147CA30", VA = "0x18147E030", Slot = "11")]
|
|
public void UpdateAnimateOut(float MOPKOPOKKEE)
|
|
{
|
|
AnimationClip animationClip = this.animateOutClip;
|
|
int num = 0;
|
|
if (!(animationClip != num))
|
|
{
|
|
int num2 = 0;
|
|
this.DFLGHLEPGHP((float)num2);
|
|
int num3 = 0;
|
|
this.EIOHBBNKILH((float)num3);
|
|
return;
|
|
}
|
|
AnimationClip animationClip2 = this.animateOutClip;
|
|
GameObject gameObject = base.gameObject;
|
|
animationClip2.SampleAnimation(gameObject, MOPKOPOKKEE);
|
|
}
|
|
|
|
// Token: 0x0601062D RID: 67117 RVA: 0x003D7658 File Offset: 0x003D5858
|
|
[Token(Token = "0x601062D")]
|
|
[Address(RVA = "0x147D890", Offset = "0x147C290", VA = "0x18147D890")]
|
|
private void CFKADKOHMOA()
|
|
{
|
|
ScreenModeNotificationText screenModeNotificationText = this.title;
|
|
int num = 0;
|
|
if (screenModeNotificationText != 0)
|
|
{
|
|
Color gjiiaedpnof = this.GJIIAEDPNOF;
|
|
num += num;
|
|
num++;
|
|
}
|
|
ScreenModeNotificationText screenModeNotificationText2 = this.subtitle;
|
|
if (screenModeNotificationText2 != 0)
|
|
{
|
|
Color ofafomaecfh = this.OFAFOMAECFH;
|
|
num += num;
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601062E RID: 67118 RVA: 0x003D76A8 File Offset: 0x003D58A8
|
|
[Token(Token = "0x601062E")]
|
|
[Address(RVA = "0x147D9F0", Offset = "0x147C3F0", VA = "0x18147D9F0")]
|
|
private void DFLGHLEPGHP(float FBPFONBFPEB)
|
|
{
|
|
if (this.title != 0)
|
|
{
|
|
}
|
|
if (this.subtitle != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601062F RID: 67119 RVA: 0x003D76C8 File Offset: 0x003D58C8
|
|
[Token(Token = "0x601062F")]
|
|
[Address(RVA = "0x147DA70", Offset = "0x147C470", VA = "0x18147DA70")]
|
|
private void EIOHBBNKILH(float FBPFONBFPEB)
|
|
{
|
|
Image image = this.backgroundImage;
|
|
Color color = this.backgroundImage.color;
|
|
}
|
|
|
|
// Token: 0x06010630 RID: 67120 RVA: 0x003D76F0 File Offset: 0x003D58F0
|
|
[Token(Token = "0x6010630")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public ScreenModeScreenSpaceNotification()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400AE54 RID: 44628
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400AE54")]
|
|
[SerializeField]
|
|
private Image backgroundImage;
|
|
|
|
// Token: 0x0400AE55 RID: 44629
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400AE55")]
|
|
[SerializeField]
|
|
private ScreenModeNotificationText title;
|
|
|
|
// Token: 0x0400AE56 RID: 44630
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400AE56")]
|
|
[SerializeField]
|
|
private ScreenModeNotificationText subtitle;
|
|
|
|
// Token: 0x0400AE57 RID: 44631
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400AE57")]
|
|
[SerializeField]
|
|
private AnimationClip animateInClip;
|
|
|
|
// Token: 0x0400AE58 RID: 44632
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400AE58")]
|
|
[SerializeField]
|
|
private AnimationClip animateOutClip;
|
|
|
|
// Token: 0x0400AE59 RID: 44633
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400AE59")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private Animator animator;
|
|
|
|
// Token: 0x0400AE5A RID: 44634
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400AE5A")]
|
|
private Canvas NKKFJKIMHBN;
|
|
|
|
// Token: 0x0400AE5B RID: 44635
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400AE5B")]
|
|
private float KLBPKFADCGN;
|
|
|
|
// Token: 0x0400AE5C RID: 44636
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x400AE5C")]
|
|
private Color GJIIAEDPNOF;
|
|
|
|
// Token: 0x0400AE5D RID: 44637
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x400AE5D")]
|
|
private Color OFAFOMAECFH;
|
|
}
|
|
}
|