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

321 lines
12 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Photon.Realtime;
using RecRoom.Core.Pools;
using UnityEngine;
// Token: 0x0200015D RID: 349
[Token(Token = "0x200015D")]
[StructLayout(3)]
public class GameReviveHandshakeFeedback : MonoBehaviour
{
// Token: 0x170001B2 RID: 434
// (get) Token: 0x06000ABA RID: 2746 RVA: 0x00030CE0 File Offset: 0x0002EEE0
// (set) Token: 0x06000ABB RID: 2747 RVA: 0x00030CF4 File Offset: 0x0002EEF4
[Token(Token = "0x170001B2")]
public Photon.Realtime.Player KKPCCJEPOHD
{
[Token(Token = "0x6000ABA")]
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
get;
[Token(Token = "0x6000ABB")]
[Address(RVA = "0x421E00", Offset = "0x420800", VA = "0x180421E00")]
private set;
}
// Token: 0x06000ABC RID: 2748 RVA: 0x00030D08 File Offset: 0x0002EF08
[Token(Token = "0x6000ABC")]
[Address(RVA = "0x145F700", Offset = "0x145E100", VA = "0x18145F700")]
private void OnDestroy()
{
this.OIEOLMIBEHG();
this.LECPNDNAAIH();
}
// Token: 0x06000ABD RID: 2749 RVA: 0x00030D24 File Offset: 0x0002EF24
[Token(Token = "0x6000ABD")]
[Address(RVA = "0x145F7D0", Offset = "0x145E1D0", VA = "0x18145F7D0")]
public void StartRunning(Photon.Realtime.Player NLEOIMBAFFL, PlayerHand HGCLANFKHFI, PlayerHand EILJEFFHNAA, float BJJEDIGOMGC)
{
Coroutine clofhkcconk = this.CLOFHKCCONK;
if (clofhkcconk != 0)
{
base.StopCoroutine(clofhkcconk);
this.CLOFHKCCONK = (ulong)0L;
}
GameReviveHandshakeFeedback.IELCPHNIOJO ielcphniojo;
ielcphniojo.System.IDisposable.Dispose();
ielcphniojo.duration = (float)0;
ielcphniojo.<>1__state = (int)((ulong)0L);
ielcphniojo.<>4__this = this;
ielcphniojo.revivingPlayer = NLEOIMBAFFL;
ielcphniojo.revivingHand = EILJEFFHNAA;
ielcphniojo.revivedHand = HGCLANFKHFI;
Coroutine coroutine = base.StartCoroutine(ielcphniojo);
this.CLOFHKCCONK = coroutine;
}
// Token: 0x06000ABE RID: 2750 RVA: 0x00030D90 File Offset: 0x0002EF90
[Token(Token = "0x6000ABE")]
[Address(RVA = "0x145F720", Offset = "0x145E120", VA = "0x18145F720")]
public void Release()
{
Coroutine clofhkcconk = this.CLOFHKCCONK;
if (clofhkcconk != 0)
{
base.StopCoroutine(clofhkcconk);
this.CLOFHKCCONK = (ulong)0L;
}
this.OIEOLMIBEHG();
this.LECPNDNAAIH();
this.<CLFKAEMAPIA>k__BackingField = (ulong)0L;
bool flag = GlobalPool.ONCPNMDGGKG.Release<GameReviveHandshakeFeedback>(this);
}
// Token: 0x06000ABF RID: 2751 RVA: 0x00030DE4 File Offset: 0x0002EFE4
[Token(Token = "0x6000ABF")]
[Address(RVA = "0x145EF50", Offset = "0x145D950", VA = "0x18145EF50")]
private void BGKDBLNFCKN(Photon.Realtime.Player NLEOIMBAFFL, PlayerHand HGCLANFKHFI, PlayerHand EILJEFFHNAA, float BJJEDIGOMGC)
{
Coroutine clofhkcconk = this.CLOFHKCCONK;
if (clofhkcconk != 0)
{
base.StopCoroutine(clofhkcconk);
this.CLOFHKCCONK = (ulong)0L;
}
GameReviveHandshakeFeedback.IELCPHNIOJO ielcphniojo;
ielcphniojo.System.IDisposable.Dispose();
ielcphniojo.duration = (float)0;
ielcphniojo.<>1__state = (int)((ulong)0L);
ielcphniojo.<>4__this = this;
ielcphniojo.revivingPlayer = NLEOIMBAFFL;
ielcphniojo.revivingHand = HGCLANFKHFI;
ielcphniojo.revivedHand = EILJEFFHNAA;
Coroutine coroutine = base.StartCoroutine(ielcphniojo);
this.CLOFHKCCONK = coroutine;
}
// Token: 0x06000AC0 RID: 2752 RVA: 0x00030E50 File Offset: 0x0002F050
[Token(Token = "0x6000AC0")]
[Address(RVA = "0x145F460", Offset = "0x145DE60", VA = "0x18145F460")]
private void JOOKCNLBGIC()
{
Coroutine clofhkcconk = this.CLOFHKCCONK;
if (clofhkcconk != 0)
{
base.StopCoroutine(clofhkcconk);
this.CLOFHKCCONK = (ulong)0L;
}
}
// Token: 0x06000AC1 RID: 2753 RVA: 0x00030E78 File Offset: 0x0002F078
[Token(Token = "0x6000AC1")]
[Address(RVA = "0x145F2A0", Offset = "0x145DCA0", VA = "0x18145F2A0")]
private void JIPICCJEAKG(Vector3 KPLDEODOJID, float BJJEDIGOMGC)
{
this.OIEOLMIBEHG();
RecRoomAudioClip recRoomAudioClip = this.loopingAudioClip;
float z = KPLDEODOJID.z;
SFXAudioSource sfxaudioSource;
this.MOIFOMNIOFC = sfxaudioSource;
GlobalPool instance = GlobalPool.ONCPNMDGGKG;
PooledParticle pooledParticle = this.particlesPrefab;
PooledParticle pooledParticle2 = instance.Acquire<PooledParticle>(pooledParticle);
this.FPKCBKOKPID = pooledParticle2;
int num = 0;
if (pooledParticle2 != num)
{
this.FPKCBKOKPID.SetDuration(BJJEDIGOMGC, true);
PooledParticle fpkcbkokpid = this.FPKCBKOKPID;
Quaternion identity = Quaternion.identity;
float z2 = KPLDEODOJID.z;
}
}
// Token: 0x06000AC2 RID: 2754 RVA: 0x00030F00 File Offset: 0x0002F100
[Token(Token = "0x6000AC2")]
[Address(RVA = "0x145F5E0", Offset = "0x145DFE0", VA = "0x18145F5E0")]
private void OIEOLMIBEHG()
{
PooledParticle fpkcbkokpid = this.FPKCBKOKPID;
int num = 0;
if (fpkcbkokpid != num)
{
this.FPKCBKOKPID.Stop();
this.FPKCBKOKPID = (ulong)0L;
}
SFXAudioSource moifomniofc = this.MOIFOMNIOFC;
int num2 = 0;
if (moifomniofc != num2)
{
this.MOIFOMNIOFC.Stop();
this.MOIFOMNIOFC = (ulong)0L;
}
SFXAudioSource dpnhedoiejn = this.DPNHEDOIEJN;
int num3 = 0;
if (dpnhedoiejn != num3)
{
this.DPNHEDOIEJN.Stop();
this.DPNHEDOIEJN = (ulong)0L;
}
}
// Token: 0x06000AC3 RID: 2755 RVA: 0x00030F8C File Offset: 0x0002F18C
[Token(Token = "0x6000AC3")]
[Address(RVA = "0x145F200", Offset = "0x145DC00", VA = "0x18145F200")]
private IEnumerator HNJCDJHBEDH(Photon.Realtime.Player NLEOIMBAFFL, PlayerHand HGCLANFKHFI, PlayerHand EILJEFFHNAA, float BJJEDIGOMGC)
{
/*
An exception occurred when decompiling this method (06000AC3)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator GameReviveHandshakeFeedback::HNJCDJHBEDH(Photon.Realtime.Player,PlayerHand,PlayerHand,System.Single)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(IELCPHNIOJO::System.IDisposable.Dispose, ldloc:IELCPHNIOJO(var_0))
stfld:Player(IELCPHNIOJO::revivingPlayer, ldloc:IELCPHNIOJO(var_0), ldloc:Player(NLEOIMBAFFL))
stfld:PlayerHand(IELCPHNIOJO::revivingHand, ldloc:IELCPHNIOJO(var_0), ldloc:PlayerHand(HGCLANFKHFI))
stfld:PlayerHand(IELCPHNIOJO::revivedHand, ldloc:IELCPHNIOJO(var_0), ldloc:PlayerHand(EILJEFFHNAA))
stfld:float32(IELCPHNIOJO::duration, ldloc:IELCPHNIOJO(var_0), ldc.i4:int32[exp:float32](0))
stfld:int32(IELCPHNIOJO::<>1__state, ldloc:IELCPHNIOJO(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
stfld:GameReviveHandshakeFeedback(IELCPHNIOJO::<>4__this, ldloc:IELCPHNIOJO(var_0), ldloc:GameReviveHandshakeFeedback(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: 0x06000AC4 RID: 2756 RVA: 0x00030FCC File Offset: 0x0002F1CC
[Token(Token = "0x6000AC4")]
[Address(RVA = "0x145F190", Offset = "0x145DB90", VA = "0x18145F190")]
private void FGDHDAEIGPI()
{
PlayerHand hgclanfkhfi = this.HGCLANFKHFI;
PlayerHand eiljeffhnaa = this.EILJEFFHNAA;
PlayerHand.ConnectHandshake(hgclanfkhfi, eiljeffhnaa);
}
// Token: 0x06000AC5 RID: 2757 RVA: 0x00030FF0 File Offset: 0x0002F1F0
[Token(Token = "0x6000AC5")]
[Address(RVA = "0x145F560", Offset = "0x145DF60", VA = "0x18145F560")]
private void LECPNDNAAIH()
{
PlayerHand hgclanfkhfi = this.HGCLANFKHFI;
PlayerHand eiljeffhnaa = this.EILJEFFHNAA;
PlayerHand.BreakHandshake(hgclanfkhfi, eiljeffhnaa);
int num = 0;
this.HGCLANFKHFI = num;
this.EILJEFFHNAA = num;
}
// Token: 0x06000AC6 RID: 2758 RVA: 0x00031024 File Offset: 0x0002F224
[Token(Token = "0x6000AC6")]
[Address(RVA = "0x145F490", Offset = "0x145DE90", VA = "0x18145F490")]
private void KPCGDMAIDCD()
{
PooledParticle fpkcbkokpid = this.FPKCBKOKPID;
Vector3 vector;
float z = vector.z;
int num = 0;
if (fpkcbkokpid != num)
{
Transform transform = this.FPKCBKOKPID.transform;
}
}
// Token: 0x06000AC7 RID: 2759 RVA: 0x00031060 File Offset: 0x0002F260
[Token(Token = "0x6000AC7")]
[Address(RVA = "0x145F020", Offset = "0x145DA20", VA = "0x18145F020")]
private Vector3 DIMEBKEOIIE()
{
bool flag;
bool flag2;
if (!flag && !flag2)
{
if (typeof(global::UnityEngine.Object).TypeHandle != 0)
{
int num = 0;
global::Player player;
if (player != num)
{
Transform transform = player.head.transform;
Vector3 vector;
float z = vector.z;
}
}
Vector3 zero = Vector3.zero;
}
throw new NullReferenceException();
}
// Token: 0x06000AC8 RID: 2760 RVA: 0x000310AC File Offset: 0x0002F2AC
[Token(Token = "0x6000AC8")]
[Address(RVA = "0xAD5490", Offset = "0xAD3E90", VA = "0x180AD5490")]
public GameReviveHandshakeFeedback()
{
}
// Token: 0x0400086B RID: 2155
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400086B")]
[SerializeField]
private PooledParticle particlesPrefab;
// Token: 0x0400086C RID: 2156
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400086C")]
[SerializeField]
private RecRoomAudioClip loopingAudioClip;
// Token: 0x0400086D RID: 2157
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x400086D")]
[SerializeField]
private float almostFinishedTimeRemaining = 1f;
// Token: 0x0400086E RID: 2158
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400086E")]
[SerializeField]
private RecRoomAudioClip almostFinishAudioClip;
// Token: 0x04000870 RID: 2160
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000870")]
private PlayerHand HGCLANFKHFI;
// Token: 0x04000871 RID: 2161
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000871")]
private PlayerHand EILJEFFHNAA;
// Token: 0x04000872 RID: 2162
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000872")]
private Coroutine CLOFHKCCONK;
// Token: 0x04000873 RID: 2163
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000873")]
private PooledParticle FPKCBKOKPID;
// Token: 0x04000874 RID: 2164
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000874")]
private SFXAudioSource MOIFOMNIOFC;
// Token: 0x04000875 RID: 2165
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000875")]
private SFXAudioSource DPNHEDOIEJN;
}