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: 0x02002AC6 RID: 10950
|
|
[Token(Token = "0x2002AC6")]
|
|
public class ScreenModeScreenSpaceNotification : MonoBehaviour, IOCIKIDGCOI
|
|
{
|
|
// Token: 0x0601231D RID: 74525 RVA: 0x0041F978 File Offset: 0x0041DB78
|
|
[Token(Token = "0x601231D")]
|
|
[Address(RVA = "0x1AA6870", Offset = "0x1AA5870", VA = "0x181AA6870")]
|
|
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: 0x170032DF RID: 13023
|
|
// (get) Token: 0x0601231E RID: 74526 RVA: 0x0041FA44 File Offset: 0x0041DC44
|
|
[Token(Token = "0x170032DF")]
|
|
public ODAIMIPLHGH LKIBJOMNFFD
|
|
{
|
|
[Token(Token = "0x601231E")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "4")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0601231E)
|
|
|
|
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: 0x170032E0 RID: 13024
|
|
// (get) Token: 0x0601231F RID: 74527 RVA: 0x0041FA58 File Offset: 0x0041DC58
|
|
[Token(Token = "0x170032E0")]
|
|
public ODAIMIPLHGH JAFMIDAHECF
|
|
{
|
|
[Token(Token = "0x601231F")]
|
|
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "5")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0601231F)
|
|
|
|
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: 0x170032E1 RID: 13025
|
|
// (get) Token: 0x06012320 RID: 74528 RVA: 0x0041FA6C File Offset: 0x0041DC6C
|
|
[Token(Token = "0x170032E1")]
|
|
public float DGBMOHMAPMF
|
|
{
|
|
[Token(Token = "0x6012320")]
|
|
[Address(RVA = "0x1AA7330", Offset = "0x1AA6330", VA = "0x181AA7330", Slot = "6")]
|
|
get
|
|
{
|
|
AnimationClip animationClip = this.animateInClip;
|
|
int num = 0;
|
|
if (animationClip != num)
|
|
{
|
|
return this.animateInClip.length;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170032E2 RID: 13026
|
|
// (get) Token: 0x06012321 RID: 74529 RVA: 0x0041FAA0 File Offset: 0x0041DCA0
|
|
[Token(Token = "0x170032E2")]
|
|
public float JHBNPDBIPJD
|
|
{
|
|
[Token(Token = "0x6012321")]
|
|
[Address(RVA = "0x1AA73C0", Offset = "0x1AA63C0", VA = "0x181AA73C0", Slot = "7")]
|
|
get
|
|
{
|
|
AnimationClip animationClip = this.animateOutClip;
|
|
int num = 0;
|
|
if (animationClip != num)
|
|
{
|
|
return this.animateOutClip.length;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012322 RID: 74530 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6012322")]
|
|
[Address(RVA = "0x1AA6D30", Offset = "0x1AA5D30", VA = "0x181AA6D30", Slot = "8")]
|
|
public void Initialize(NotificationManager.NBEJOOPDCEM GJLHKMFGNDA, bool DPDLEENDKKK)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06012323 RID: 74531 RVA: 0x0041FAD4 File Offset: 0x0041DCD4
|
|
[Token(Token = "0x6012323")]
|
|
[Address(RVA = "0x17FA9D0", Offset = "0x17F99D0", VA = "0x1817FA9D0", Slot = "9")]
|
|
public void SetVisible(bool NOCJEBBJIAN)
|
|
{
|
|
base.gameObject.SetActive(NOCJEBBJIAN);
|
|
}
|
|
|
|
// Token: 0x06012324 RID: 74532 RVA: 0x0041FAF4 File Offset: 0x0041DCF4
|
|
[Token(Token = "0x6012324")]
|
|
[Address(RVA = "0x1AA7190", Offset = "0x1AA6190", VA = "0x181AA7190", 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: 0x06012325 RID: 74533 RVA: 0x0041FB4C File Offset: 0x0041DD4C
|
|
[Token(Token = "0x6012325")]
|
|
[Address(RVA = "0x1AA7260", Offset = "0x1AA6260", VA = "0x181AA7260", 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: 0x06012326 RID: 74534 RVA: 0x0041FBA0 File Offset: 0x0041DDA0
|
|
[Token(Token = "0x6012326")]
|
|
[Address(RVA = "0x1AA6AC0", Offset = "0x1AA5AC0", VA = "0x181AA6AC0")]
|
|
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: 0x06012327 RID: 74535 RVA: 0x0041FBF0 File Offset: 0x0041DDF0
|
|
[Token(Token = "0x6012327")]
|
|
[Address(RVA = "0x1AA6C20", Offset = "0x1AA5C20", VA = "0x181AA6C20")]
|
|
private void DFLGHLEPGHP(float FBPFONBFPEB)
|
|
{
|
|
if (this.title != 0)
|
|
{
|
|
}
|
|
if (this.subtitle != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012328 RID: 74536 RVA: 0x0041FC10 File Offset: 0x0041DE10
|
|
[Token(Token = "0x6012328")]
|
|
[Address(RVA = "0x1AA6CA0", Offset = "0x1AA5CA0", VA = "0x181AA6CA0")]
|
|
private void EIOHBBNKILH(float FBPFONBFPEB)
|
|
{
|
|
Image image = this.backgroundImage;
|
|
Color color = this.backgroundImage.color;
|
|
}
|
|
|
|
// Token: 0x06012329 RID: 74537 RVA: 0x0041FC38 File Offset: 0x0041DE38
|
|
[Token(Token = "0x6012329")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public ScreenModeScreenSpaceNotification()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400BB19 RID: 47897
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400BB19")]
|
|
[SerializeField]
|
|
private Image backgroundImage;
|
|
|
|
// Token: 0x0400BB1A RID: 47898
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BB1A")]
|
|
[SerializeField]
|
|
private ScreenModeNotificationText title;
|
|
|
|
// Token: 0x0400BB1B RID: 47899
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BB1B")]
|
|
[SerializeField]
|
|
private ScreenModeNotificationText subtitle;
|
|
|
|
// Token: 0x0400BB1C RID: 47900
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400BB1C")]
|
|
[SerializeField]
|
|
private AnimationClip animateInClip;
|
|
|
|
// Token: 0x0400BB1D RID: 47901
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400BB1D")]
|
|
[SerializeField]
|
|
private AnimationClip animateOutClip;
|
|
|
|
// Token: 0x0400BB1E RID: 47902
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400BB1E")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private Animator animator;
|
|
|
|
// Token: 0x0400BB1F RID: 47903
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400BB1F")]
|
|
private Canvas NKKFJKIMHBN;
|
|
|
|
// Token: 0x0400BB20 RID: 47904
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400BB20")]
|
|
private float KLBPKFADCGN;
|
|
|
|
// Token: 0x0400BB21 RID: 47905
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x400BB21")]
|
|
private Color GJIIAEDPNOF;
|
|
|
|
// Token: 0x0400BB22 RID: 47906
|
|
[FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x400BB22")]
|
|
private Color OFAFOMAECFH;
|
|
}
|
|
}
|