318 lines
12 KiB
C#
318 lines
12 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.Pools;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200013F RID: 319
|
|
[Token(Token = "0x200013F")]
|
|
public class GameReviveHandshakeFeedback : MonoBehaviour
|
|
{
|
|
// Token: 0x1700019A RID: 410
|
|
// (get) Token: 0x060009F3 RID: 2547 RVA: 0x0002DCDC File Offset: 0x0002BEDC
|
|
// (set) Token: 0x060009F4 RID: 2548 RVA: 0x0002DCF0 File Offset: 0x0002BEF0
|
|
[Token(Token = "0x1700019A")]
|
|
public AGAJMBPABDL KKPCCJEPOHD
|
|
{
|
|
[Token(Token = "0x60009F3")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
|
get;
|
|
[Token(Token = "0x60009F4")]
|
|
[Address(RVA = "0x41CFF0", Offset = "0x41BFF0", VA = "0x18041CFF0")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x060009F5 RID: 2549 RVA: 0x0002DD04 File Offset: 0x0002BF04
|
|
[Token(Token = "0x60009F5")]
|
|
[Address(RVA = "0x19564D0", Offset = "0x19554D0", VA = "0x1819564D0")]
|
|
private void OnDestroy()
|
|
{
|
|
this.OIEOLMIBEHG();
|
|
this.LECPNDNAAIH();
|
|
}
|
|
|
|
// Token: 0x060009F6 RID: 2550 RVA: 0x0002DD20 File Offset: 0x0002BF20
|
|
[Token(Token = "0x60009F6")]
|
|
[Address(RVA = "0x19565A0", Offset = "0x19555A0", VA = "0x1819565A0")]
|
|
public void StartRunning(AGAJMBPABDL 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: 0x060009F7 RID: 2551 RVA: 0x0002DD8C File Offset: 0x0002BF8C
|
|
[Token(Token = "0x60009F7")]
|
|
[Address(RVA = "0x19564F0", Offset = "0x19554F0", VA = "0x1819564F0")]
|
|
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: 0x060009F8 RID: 2552 RVA: 0x0002DDE0 File Offset: 0x0002BFE0
|
|
[Token(Token = "0x60009F8")]
|
|
[Address(RVA = "0x1955D50", Offset = "0x1954D50", VA = "0x181955D50")]
|
|
private void BGKDBLNFCKN(AGAJMBPABDL 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: 0x060009F9 RID: 2553 RVA: 0x0002DE4C File Offset: 0x0002C04C
|
|
[Token(Token = "0x60009F9")]
|
|
[Address(RVA = "0x1321720", Offset = "0x1320720", VA = "0x181321720")]
|
|
private void JOOKCNLBGIC()
|
|
{
|
|
Coroutine clofhkcconk = this.CLOFHKCCONK;
|
|
if (clofhkcconk != 0)
|
|
{
|
|
base.StopCoroutine(clofhkcconk);
|
|
this.CLOFHKCCONK = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060009FA RID: 2554 RVA: 0x0002DE74 File Offset: 0x0002C074
|
|
[Token(Token = "0x60009FA")]
|
|
[Address(RVA = "0x19560A0", Offset = "0x19550A0", VA = "0x1819560A0")]
|
|
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: 0x060009FB RID: 2555 RVA: 0x0002DEFC File Offset: 0x0002C0FC
|
|
[Token(Token = "0x60009FB")]
|
|
[Address(RVA = "0x19563B0", Offset = "0x19553B0", VA = "0x1819563B0")]
|
|
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: 0x060009FC RID: 2556 RVA: 0x0002DF88 File Offset: 0x0002C188
|
|
[Token(Token = "0x60009FC")]
|
|
[Address(RVA = "0x1956000", Offset = "0x1955000", VA = "0x181956000")]
|
|
private IEnumerator HNJCDJHBEDH(AGAJMBPABDL NLEOIMBAFFL, PlayerHand HGCLANFKHFI, PlayerHand EILJEFFHNAA, float BJJEDIGOMGC)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060009FC)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator GameReviveHandshakeFeedback::HNJCDJHBEDH(AGAJMBPABDL,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:AGAJMBPABDL(IELCPHNIOJO::revivingPlayer, ldloc:IELCPHNIOJO(var_0), ldloc:AGAJMBPABDL(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: 0x060009FD RID: 2557 RVA: 0x0002DFC8 File Offset: 0x0002C1C8
|
|
[Token(Token = "0x60009FD")]
|
|
[Address(RVA = "0x1955F90", Offset = "0x1954F90", VA = "0x181955F90")]
|
|
private void FGDHDAEIGPI()
|
|
{
|
|
PlayerHand hgclanfkhfi = this.HGCLANFKHFI;
|
|
PlayerHand eiljeffhnaa = this.EILJEFFHNAA;
|
|
PlayerHand.ConnectHandshake(hgclanfkhfi, eiljeffhnaa);
|
|
}
|
|
|
|
// Token: 0x060009FE RID: 2558 RVA: 0x0002DFEC File Offset: 0x0002C1EC
|
|
[Token(Token = "0x60009FE")]
|
|
[Address(RVA = "0x1956330", Offset = "0x1955330", VA = "0x181956330")]
|
|
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: 0x060009FF RID: 2559 RVA: 0x0002E020 File Offset: 0x0002C220
|
|
[Token(Token = "0x60009FF")]
|
|
[Address(RVA = "0x1956260", Offset = "0x1955260", VA = "0x181956260")]
|
|
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: 0x06000A00 RID: 2560 RVA: 0x0002E05C File Offset: 0x0002C25C
|
|
[Token(Token = "0x6000A00")]
|
|
[Address(RVA = "0x1955E20", Offset = "0x1954E20", VA = "0x181955E20")]
|
|
private Vector3 DIMEBKEOIIE()
|
|
{
|
|
bool flag;
|
|
bool flag2;
|
|
if (!flag && !flag2)
|
|
{
|
|
if (typeof(global::UnityEngine.Object).TypeHandle != 0)
|
|
{
|
|
int num = 0;
|
|
Player player;
|
|
if (player != num)
|
|
{
|
|
Transform transform = player.head.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
}
|
|
Vector3 zero = Vector3.zero;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06000A01 RID: 2561 RVA: 0x0002E0A8 File Offset: 0x0002C2A8
|
|
[Token(Token = "0x6000A01")]
|
|
[Address(RVA = "0xDDD6E0", Offset = "0xDDC6E0", VA = "0x180DDD6E0")]
|
|
public GameReviveHandshakeFeedback()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040007C3 RID: 1987
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40007C3")]
|
|
[SerializeField]
|
|
private PooledParticle particlesPrefab;
|
|
|
|
// Token: 0x040007C4 RID: 1988
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40007C4")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip loopingAudioClip;
|
|
|
|
// Token: 0x040007C5 RID: 1989
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40007C5")]
|
|
[SerializeField]
|
|
private float almostFinishedTimeRemaining = 1f;
|
|
|
|
// Token: 0x040007C6 RID: 1990
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40007C6")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip almostFinishAudioClip;
|
|
|
|
// Token: 0x040007C8 RID: 1992
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40007C8")]
|
|
private PlayerHand HGCLANFKHFI;
|
|
|
|
// Token: 0x040007C9 RID: 1993
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40007C9")]
|
|
private PlayerHand EILJEFFHNAA;
|
|
|
|
// Token: 0x040007CA RID: 1994
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40007CA")]
|
|
private Coroutine CLOFHKCCONK;
|
|
|
|
// Token: 0x040007CB RID: 1995
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40007CB")]
|
|
private PooledParticle FPKCBKOKPID;
|
|
|
|
// Token: 0x040007CC RID: 1996
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40007CC")]
|
|
private SFXAudioSource MOIFOMNIOFC;
|
|
|
|
// Token: 0x040007CD RID: 1997
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40007CD")]
|
|
private SFXAudioSource DPNHEDOIEJN;
|
|
}
|