317 lines
13 KiB
C#
317 lines
13 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom.UI.Notifications
|
|
{
|
|
// Token: 0x020029DD RID: 10717
|
|
[Token(Token = "0x20029DD")]
|
|
public class ScreenModeScreenSpaceNotification : MonoBehaviour, IOCIKIDGCOI
|
|
{
|
|
// Token: 0x06011EE1 RID: 73441 RVA: 0x00415EC0 File Offset: 0x004140C0
|
|
[Token(Token = "0x6011EE1")]
|
|
[Address(RVA = "0x101C980", Offset = "0x101B780", VA = "0x18101C980")]
|
|
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: 0x1700322C RID: 12844
|
|
// (get) Token: 0x06011EE2 RID: 73442 RVA: 0x00415F8C File Offset: 0x0041418C
|
|
[Token(Token = "0x1700322C")]
|
|
public ODAIMIPLHGH LKIBJOMNFFD
|
|
{
|
|
[Token(Token = "0x6011EE2")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "4")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06011EE2)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700322D RID: 12845
|
|
// (get) Token: 0x06011EE3 RID: 73443 RVA: 0x00415FA0 File Offset: 0x004141A0
|
|
[Token(Token = "0x1700322D")]
|
|
public ODAIMIPLHGH JAFMIDAHECF
|
|
{
|
|
[Token(Token = "0x6011EE3")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "5")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06011EE3)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700322E RID: 12846
|
|
// (get) Token: 0x06011EE4 RID: 73444 RVA: 0x00415FB4 File Offset: 0x004141B4
|
|
[Token(Token = "0x1700322E")]
|
|
public float DGBMOHMAPMF
|
|
{
|
|
[Token(Token = "0x6011EE4")]
|
|
[Address(RVA = "0x101D440", Offset = "0x101C240", VA = "0x18101D440", Slot = "6")]
|
|
get
|
|
{
|
|
AnimationClip animationClip = this.animateInClip;
|
|
int num = 0;
|
|
if (animationClip != num)
|
|
{
|
|
return this.animateInClip.length;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700322F RID: 12847
|
|
// (get) Token: 0x06011EE5 RID: 73445 RVA: 0x00415FE8 File Offset: 0x004141E8
|
|
[Token(Token = "0x1700322F")]
|
|
public float JHBNPDBIPJD
|
|
{
|
|
[Token(Token = "0x6011EE5")]
|
|
[Address(RVA = "0x101D4D0", Offset = "0x101C2D0", VA = "0x18101D4D0", Slot = "7")]
|
|
get
|
|
{
|
|
AnimationClip animationClip = this.animateOutClip;
|
|
int num = 0;
|
|
if (animationClip != num)
|
|
{
|
|
return this.animateOutClip.length;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011EE6 RID: 73446 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6011EE6")]
|
|
[Address(RVA = "0x101CE40", Offset = "0x101BC40", VA = "0x18101CE40", Slot = "8")]
|
|
public void Initialize(NotificationManager.NBEJOOPDCEM GJLHKMFGNDA, bool DPDLEENDKKK)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06011EE7 RID: 73447 RVA: 0x0041601C File Offset: 0x0041421C
|
|
[Token(Token = "0x6011EE7")]
|
|
[Address(RVA = "0xCAB820", Offset = "0xCAA620", VA = "0x180CAB820", Slot = "9")]
|
|
public void SetVisible(bool NOCJEBBJIAN)
|
|
{
|
|
base.gameObject.SetActive(NOCJEBBJIAN);
|
|
}
|
|
|
|
// Token: 0x06011EE8 RID: 73448 RVA: 0x0041603C File Offset: 0x0041423C
|
|
[Token(Token = "0x6011EE8")]
|
|
[Address(RVA = "0x101D2A0", Offset = "0x101C0A0", VA = "0x18101D2A0", 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: 0x06011EE9 RID: 73449 RVA: 0x00416094 File Offset: 0x00414294
|
|
[Token(Token = "0x6011EE9")]
|
|
[Address(RVA = "0x101D370", Offset = "0x101C170", VA = "0x18101D370", 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: 0x06011EEA RID: 73450 RVA: 0x004160E8 File Offset: 0x004142E8
|
|
[Token(Token = "0x6011EEA")]
|
|
[Address(RVA = "0x101CBD0", Offset = "0x101B9D0", VA = "0x18101CBD0")]
|
|
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: 0x06011EEB RID: 73451 RVA: 0x00416138 File Offset: 0x00414338
|
|
[Token(Token = "0x6011EEB")]
|
|
[Address(RVA = "0x101CD30", Offset = "0x101BB30", VA = "0x18101CD30")]
|
|
private void DFLGHLEPGHP(float FBPFONBFPEB)
|
|
{
|
|
if (this.title != 0)
|
|
{
|
|
}
|
|
if (this.subtitle != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011EEC RID: 73452 RVA: 0x00416158 File Offset: 0x00414358
|
|
[Token(Token = "0x6011EEC")]
|
|
[Address(RVA = "0x101CDB0", Offset = "0x101BBB0", VA = "0x18101CDB0")]
|
|
private void EIOHBBNKILH(float FBPFONBFPEB)
|
|
{
|
|
Image image = this.backgroundImage;
|
|
Color color = this.backgroundImage.color;
|
|
}
|
|
|
|
// Token: 0x06011EED RID: 73453 RVA: 0x00416180 File Offset: 0x00414380
|
|
[Token(Token = "0x6011EED")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public ScreenModeScreenSpaceNotification()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B909 RID: 47369
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B909")]
|
|
[SerializeField]
|
|
private Image backgroundImage;
|
|
|
|
// Token: 0x0400B90A RID: 47370
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B90A")]
|
|
[SerializeField]
|
|
private ScreenModeNotificationText title;
|
|
|
|
// Token: 0x0400B90B RID: 47371
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B90B")]
|
|
[SerializeField]
|
|
private ScreenModeNotificationText subtitle;
|
|
|
|
// Token: 0x0400B90C RID: 47372
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400B90C")]
|
|
[SerializeField]
|
|
private AnimationClip animateInClip;
|
|
|
|
// Token: 0x0400B90D RID: 47373
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400B90D")]
|
|
[SerializeField]
|
|
private AnimationClip animateOutClip;
|
|
|
|
// Token: 0x0400B90E RID: 47374
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400B90E")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private Animator animator;
|
|
|
|
// Token: 0x0400B90F RID: 47375
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400B90F")]
|
|
private Canvas NKKFJKIMHBN;
|
|
|
|
// Token: 0x0400B910 RID: 47376
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400B910")]
|
|
private float KLBPKFADCGN;
|
|
|
|
// Token: 0x0400B911 RID: 47377
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x400B911")]
|
|
private Color GJIIAEDPNOF;
|
|
|
|
// Token: 0x0400B912 RID: 47378
|
|
[FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x400B912")]
|
|
private Color OFAFOMAECFH;
|
|
}
|
|
}
|