Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Players/Watch/NotificationLineControl.cs
T
2026-04-08 23:40:05 +02:00

194 lines
8.0 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Players.Watch
{
// Token: 0x020023EB RID: 9195
[Token(Token = "0x20023EB")]
[StructLayout(3)]
public class NotificationLineControl : MonoBehaviour
{
// Token: 0x0600FEC3 RID: 65219 RVA: 0x003BA924 File Offset: 0x003B8B24
[Token(Token = "0x600FEC3")]
[Address(RVA = "0x11381E0", Offset = "0x1136BE0", VA = "0x1811381E0")]
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: 0x0600FEC4 RID: 65220 RVA: 0x003BA994 File Offset: 0x003B8B94
[Token(Token = "0x600FEC4")]
[Address(RVA = "0x1138430", Offset = "0x1136E30", VA = "0x181138430")]
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: 0x0600FEC5 RID: 65221 RVA: 0x003BAA10 File Offset: 0x003B8C10
[Token(Token = "0x600FEC5")]
[Address(RVA = "0x1138390", Offset = "0x1136D90", VA = "0x181138390")]
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: 0x0600FEC6 RID: 65222 RVA: 0x003BAA6C File Offset: 0x003B8C6C
[Token(Token = "0x600FEC6")]
[Address(RVA = "0x1138330", Offset = "0x1136D30", VA = "0x181138330")]
private IEnumerator DJDMBFBHHAN()
{
/*
An exception occurred when decompiling this method (0600FEC6)
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: 0x0600FEC7 RID: 65223 RVA: 0x003BAA90 File Offset: 0x003B8C90
[Token(Token = "0x600FEC7")]
[Address(RVA = "0x1138520", Offset = "0x1136F20", VA = "0x181138520")]
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.Instance.CHLMFLCFGFL.transform;
Vector3 vector;
float z3 = vector.z;
}
// Token: 0x0600FEC8 RID: 65224 RVA: 0x003BAB14 File Offset: 0x003B8D14
[Token(Token = "0x600FEC8")]
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
public NotificationLineControl()
{
}
// Token: 0x0400A929 RID: 43305
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400A929")]
private Vector3 KNHHAPILJGN;
// Token: 0x0400A92A RID: 43306
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x400A92A")]
private Vector3 MCOFHCCLCHI;
// Token: 0x0400A92B RID: 43307
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400A92B")]
private Vector3 KDKABAGBENB;
// Token: 0x0400A92C RID: 43308
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x400A92C")]
private Vector3 CGLHPPBIMPB;
// Token: 0x0400A92D RID: 43309
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400A92D")]
private Vector3 FJPOGADDBGI;
// Token: 0x0400A92E RID: 43310
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
[Token(Token = "0x400A92E")]
private float AMKKHDFLPGK;
// Token: 0x0400A92F RID: 43311
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400A92F")]
[HideInInspector]
public NotificationLineControl.NotificationLineControlConfig Config;
// Token: 0x0400A930 RID: 43312
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400A930")]
private Coroutine HFKFDMDNMNA;
// Token: 0x020023EC RID: 9196
[Token(Token = "0x20023EC")]
[Serializable]
public class NotificationLineControlConfig
{
// Token: 0x0600FEC9 RID: 65225 RVA: 0x003BAB28 File Offset: 0x003B8D28
[Token(Token = "0x600FEC9")]
[Address(RVA = "0x11381C0", Offset = "0x1136BC0", VA = "0x1811381C0")]
public NotificationLineControlConfig()
{
}
// Token: 0x0400A931 RID: 43313
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400A931")]
public float zTranslationWrapLimit = 0.1f;
// Token: 0x0400A932 RID: 43314
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x400A932")]
public float zTranslationRate = 0.01f;
// Token: 0x0400A933 RID: 43315
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400A933")]
public float jitterFPS = 20f;
}
}
}