192 lines
7.7 KiB
C#
192 lines
7.7 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Players.Watch
|
|
{
|
|
// Token: 0x0200295B RID: 10587
|
|
[Token(Token = "0x200295B")]
|
|
public class NotificationLineControl : MonoBehaviour
|
|
{
|
|
// Token: 0x06011A72 RID: 72306 RVA: 0x003FE69C File Offset: 0x003FC89C
|
|
[Token(Token = "0x6011A72")]
|
|
[Address(RVA = "0x133EB30", Offset = "0x133DB30", VA = "0x18133EB30")]
|
|
private void Awake()
|
|
{
|
|
Transform transform = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.KNHHAPILJGN.z = z;
|
|
Transform transform2 = base.transform;
|
|
Vector3 vector2;
|
|
float z2 = vector2.z;
|
|
this.MCOFHCCLCHI.z = z2;
|
|
int num = 0;
|
|
this.KDKABAGBENB.z = (float)num;
|
|
int num2 = 0;
|
|
this.CGLHPPBIMPB.z = (float)num2;
|
|
this.KHHFDKFPGEJ();
|
|
}
|
|
|
|
// Token: 0x06011A73 RID: 72307 RVA: 0x003FE70C File Offset: 0x003FC90C
|
|
[Token(Token = "0x6011A73")]
|
|
[Address(RVA = "0x133ED80", Offset = "0x133DD80", VA = "0x18133ED80")]
|
|
private void OnEnable()
|
|
{
|
|
this.AMKKHDFLPGK = 0f;
|
|
Transform transform = base.transform;
|
|
float z = this.KNHHAPILJGN.z;
|
|
Transform transform2 = base.transform;
|
|
float z2 = this.MCOFHCCLCHI.z;
|
|
Coroutine hfkfdmdnmna = this.HFKFDMDNMNA;
|
|
if (hfkfdmdnmna != 0)
|
|
{
|
|
base.StopCoroutine(hfkfdmdnmna);
|
|
}
|
|
NotificationLineControl.KCEJLBNKPEC kcejlbnkpec;
|
|
kcejlbnkpec.System.IDisposable.Dispose();
|
|
kcejlbnkpec.<>1__state = (int)((ulong)0L);
|
|
kcejlbnkpec.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(kcejlbnkpec);
|
|
}
|
|
|
|
// Token: 0x06011A74 RID: 72308 RVA: 0x003FE788 File Offset: 0x003FC988
|
|
[Token(Token = "0x6011A74")]
|
|
[Address(RVA = "0x133ECE0", Offset = "0x133DCE0", VA = "0x18133ECE0")]
|
|
private void KHHFDKFPGEJ()
|
|
{
|
|
float y = this.CGLHPPBIMPB.y;
|
|
float num = global::UnityEngine.Random.Range(this.KDKABAGBENB.y, y);
|
|
float z = this.CGLHPPBIMPB.z;
|
|
float num2 = global::UnityEngine.Random.Range(this.KDKABAGBENB.z, z);
|
|
int num3 = 0;
|
|
this.FJPOGADDBGI.z = (float)num3;
|
|
}
|
|
|
|
// Token: 0x06011A75 RID: 72309 RVA: 0x003FE7E4 File Offset: 0x003FC9E4
|
|
[Token(Token = "0x6011A75")]
|
|
[Address(RVA = "0x133EC80", Offset = "0x133DC80", VA = "0x18133EC80")]
|
|
private IEnumerator DJDMBFBHHAN()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06011A75)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Players.Watch.NotificationLineControl::DJDMBFBHHAN()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(KCEJLBNKPEC::System.IDisposable.Dispose, ldloc:KCEJLBNKPEC(var_0))
|
|
stfld:int32(KCEJLBNKPEC::<>1__state, ldloc:KCEJLBNKPEC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:NotificationLineControl(KCEJLBNKPEC::<>4__this, ldloc:KCEJLBNKPEC(var_0), ldloc:NotificationLineControl(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: 0x06011A76 RID: 72310 RVA: 0x003FE808 File Offset: 0x003FCA08
|
|
[Token(Token = "0x6011A76")]
|
|
[Address(RVA = "0x133EE70", Offset = "0x133DE70", VA = "0x18133EE70")]
|
|
private void Update()
|
|
{
|
|
NotificationLineControl.NotificationLineControlConfig config = this.Config;
|
|
float deltaTime = Time.deltaTime;
|
|
NotificationLineControl.NotificationLineControlConfig config2 = this.Config;
|
|
this.AMKKHDFLPGK = deltaTime;
|
|
float z = this.KNHHAPILJGN.z;
|
|
this.AMKKHDFLPGK = deltaTime;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
float z2 = this.FJPOGADDBGI.z;
|
|
Transform transform3 = base.transform;
|
|
Transform transform4 = SingletonMonoBehaviour.ONCPNMDGGKG.CHLMFLCFGFL.transform;
|
|
Vector3 vector;
|
|
float z3 = vector.z;
|
|
}
|
|
|
|
// Token: 0x06011A77 RID: 72311 RVA: 0x003FE88C File Offset: 0x003FCA8C
|
|
[Token(Token = "0x6011A77")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public NotificationLineControl()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B4E7 RID: 46311
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B4E7")]
|
|
private Vector3 KNHHAPILJGN;
|
|
|
|
// Token: 0x0400B4E8 RID: 46312
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400B4E8")]
|
|
private Vector3 MCOFHCCLCHI;
|
|
|
|
// Token: 0x0400B4E9 RID: 46313
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400B4E9")]
|
|
private Vector3 KDKABAGBENB;
|
|
|
|
// Token: 0x0400B4EA RID: 46314
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x400B4EA")]
|
|
private Vector3 CGLHPPBIMPB;
|
|
|
|
// Token: 0x0400B4EB RID: 46315
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400B4EB")]
|
|
private Vector3 FJPOGADDBGI;
|
|
|
|
// Token: 0x0400B4EC RID: 46316
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x400B4EC")]
|
|
private float AMKKHDFLPGK;
|
|
|
|
// Token: 0x0400B4ED RID: 46317
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400B4ED")]
|
|
[HideInInspector]
|
|
public NotificationLineControl.NotificationLineControlConfig Config;
|
|
|
|
// Token: 0x0400B4EE RID: 46318
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400B4EE")]
|
|
private Coroutine HFKFDMDNMNA;
|
|
|
|
// Token: 0x0200295C RID: 10588
|
|
[Token(Token = "0x200295C")]
|
|
[Serializable]
|
|
public class NotificationLineControlConfig
|
|
{
|
|
// Token: 0x06011A78 RID: 72312 RVA: 0x003FE8A0 File Offset: 0x003FCAA0
|
|
[Token(Token = "0x6011A78")]
|
|
[Address(RVA = "0x133EB10", Offset = "0x133DB10", VA = "0x18133EB10")]
|
|
public NotificationLineControlConfig()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B4EF RID: 46319
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400B4EF")]
|
|
public float zTranslationWrapLimit = 0.1f;
|
|
|
|
// Token: 0x0400B4F0 RID: 46320
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x400B4F0")]
|
|
public float zTranslationRate = 0.01f;
|
|
|
|
// Token: 0x0400B4F1 RID: 46321
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B4F1")]
|
|
public float jitterFPS = 20f;
|
|
}
|
|
}
|
|
}
|