565 lines
20 KiB
C#
565 lines
20 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using RecRoom.Core.Combat;
|
|
using RecRoom.Core.Pools;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.Weapons
|
|
{
|
|
// Token: 0x02002B68 RID: 11112
|
|
[Token(Token = "0x2002B68")]
|
|
public class DelayedRangedWeaponTrigger : MonoBehaviourPun
|
|
{
|
|
// Token: 0x1400019D RID: 413
|
|
// (add) Token: 0x06012AFE RID: 76542 RVA: 0x0044991C File Offset: 0x00447B1C
|
|
// (remove) Token: 0x06012AFF RID: 76543 RVA: 0x00449944 File Offset: 0x00447B44
|
|
[Token(Token = "0x1400019D")]
|
|
public event DelayedRangedWeaponTrigger.IOGLIBAPLLG ABHIBNPKAIN
|
|
{
|
|
[Token(Token = "0x6012AFE")]
|
|
[Address(RVA = "0x10D5860", Offset = "0x10D4660", VA = "0x1810D5860")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG abhibnpkain;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
abhibnpkain = this.ABHIBNPKAIN;
|
|
@delegate = Delegate.Combine(abhibnpkain, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != abhibnpkain)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x6012AFF")]
|
|
[Address(RVA = "0x10D59A0", Offset = "0x10D47A0", VA = "0x1810D59A0")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG abhibnpkain;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
abhibnpkain = this.ABHIBNPKAIN;
|
|
@delegate = Delegate.Remove(abhibnpkain, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != abhibnpkain)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1400019E RID: 414
|
|
// (add) Token: 0x06012B00 RID: 76544 RVA: 0x0044996C File Offset: 0x00447B6C
|
|
// (remove) Token: 0x06012B01 RID: 76545 RVA: 0x00449994 File Offset: 0x00447B94
|
|
[Token(Token = "0x1400019E")]
|
|
public event DelayedRangedWeaponTrigger.IOGLIBAPLLG JFPBBAHBCPN
|
|
{
|
|
[Token(Token = "0x6012B00")]
|
|
[Address(RVA = "0x10D5900", Offset = "0x10D4700", VA = "0x1810D5900")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG jfpbbahbcpn;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
jfpbbahbcpn = this.JFPBBAHBCPN;
|
|
@delegate = Delegate.Combine(jfpbbahbcpn, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != jfpbbahbcpn)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x6012B01")]
|
|
[Address(RVA = "0x10D5A40", Offset = "0x10D4840", VA = "0x1810D5A40")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG jfpbbahbcpn;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
jfpbbahbcpn = this.JFPBBAHBCPN;
|
|
@delegate = Delegate.Remove(jfpbbahbcpn, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != jfpbbahbcpn)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700342F RID: 13359
|
|
// (get) Token: 0x06012B02 RID: 76546 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x1700342F")]
|
|
public bool EMCAFGBAIPM
|
|
{
|
|
[Token(Token = "0x6012B02")]
|
|
[Address(RVA = "0xB45900", Offset = "0xB44700", VA = "0x180B45900")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B03 RID: 76547 RVA: 0x004499BC File Offset: 0x00447BBC
|
|
[Token(Token = "0x6012B03")]
|
|
[Address(RVA = "0x10D4EE0", Offset = "0x10D3CE0", VA = "0x1810D4EE0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
Transform transform = new GameObject("ParticleRoot").transform;
|
|
this.BPJHONOFGBG = transform;
|
|
Transform transform2 = this.fuseStartTransform;
|
|
int num = 0;
|
|
transform.SetParent(transform2, num != 0);
|
|
Tool tool = this.tool;
|
|
int num2 = 0;
|
|
if (tool != num2)
|
|
{
|
|
Tool tool2 = this.tool;
|
|
EAHPNACBLDD<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent = tool2.PostResetEvent;
|
|
Action<Tool, Vector3, Quaternion, Vector3, bool> action = new Action(this.APBEFBBOMDJ);
|
|
EAHPNACBLDD<Tool, Vector3, Quaternion, Vector3, bool> eahpnacbldd = EAHPNACBLDD.BPJDFPACLMK(postResetEvent, action);
|
|
tool2.PostResetEvent = eahpnacbldd;
|
|
Tool tool3 = this.tool;
|
|
MFBGLIHGCGO<Tool> inputDownEvent = tool3.InputDownEvent;
|
|
Action<Tool> action2 = new Action(this.GDPCAAHGLJN);
|
|
EAHPNACBLDD eahpnacbldd2;
|
|
tool3.InputDownEvent = eahpnacbldd2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B04 RID: 76548 RVA: 0x00449A70 File Offset: 0x00447C70
|
|
[Token(Token = "0x6012B04")]
|
|
[Address(RVA = "0x10D5670", Offset = "0x10D4470", VA = "0x1810D5670", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
Tool tool = this.tool;
|
|
int num = 0;
|
|
if (tool != num)
|
|
{
|
|
Tool tool2 = this.tool;
|
|
EAHPNACBLDD<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent = tool2.PostResetEvent;
|
|
Action<Tool, Vector3, Quaternion, Vector3, bool> action = new Action(this.APBEFBBOMDJ);
|
|
EAHPNACBLDD<Tool, Vector3, Quaternion, Vector3, bool> eahpnacbldd = EAHPNACBLDD.GMNMHGMFGOL(postResetEvent, action);
|
|
tool2.PostResetEvent = eahpnacbldd;
|
|
Tool tool3 = this.tool;
|
|
MFBGLIHGCGO<Tool> inputDownEvent = tool3.InputDownEvent;
|
|
Action<Tool> action2 = new Action(this.GDPCAAHGLJN);
|
|
EAHPNACBLDD eahpnacbldd2;
|
|
tool3.InputDownEvent = eahpnacbldd2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B05 RID: 76549 RVA: 0x00449AF4 File Offset: 0x00447CF4
|
|
[Token(Token = "0x6012B05")]
|
|
[Address(RVA = "0x10D4DC0", Offset = "0x10D3BC0", VA = "0x1810D4DC0")]
|
|
public void AuthorityTryFire()
|
|
{
|
|
if (base.OGIBLNIIHDK && this.MCHGLDOHBIP <= (ulong)0L)
|
|
{
|
|
bool hasEnoughMagazineAmmunition = this.weapon.NOOCGFJOMEM;
|
|
RangedWeapon rangedWeapon = this.weapon;
|
|
if (!hasEnoughMagazineAmmunition)
|
|
{
|
|
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
|
return;
|
|
}
|
|
if (!rangedWeapon.MJDHKAHMGMO && !this.weapon.LAJLNCJKALH)
|
|
{
|
|
PhotonView photonView = base.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.ANJGMEDDNPE anjgmeddnpe = new DGLOJCGDOGG.ANJGMEDDNPE(this.RpcPrepareDelayedFiring);
|
|
photonView.RpcAll(anjgmeddnpe);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B06 RID: 76550 RVA: 0x00449B70 File Offset: 0x00447D70
|
|
[Token(Token = "0x6012B06")]
|
|
[Address(RVA = "0x10D4DB0", Offset = "0x10D3BB0", VA = "0x1810D4DB0")]
|
|
private void APBEFBBOMDJ(Tool NBHJPDBHDHB, Vector3 BNMOCBJEEPN, Quaternion LPHCCEOHNIN, Vector3 GMMJHABHDHE, bool ACPOOMGHPKJ)
|
|
{
|
|
this.BAPJIACINIA();
|
|
}
|
|
|
|
// Token: 0x06012B07 RID: 76551 RVA: 0x00449B84 File Offset: 0x00447D84
|
|
[Token(Token = "0x6012B07")]
|
|
[Address(RVA = "0x10D4DC0", Offset = "0x10D3BC0", VA = "0x1810D4DC0")]
|
|
private void GDPCAAHGLJN(Tool NBHJPDBHDHB)
|
|
{
|
|
if (base.OGIBLNIIHDK && this.MCHGLDOHBIP <= (ulong)0L)
|
|
{
|
|
bool hasEnoughMagazineAmmunition = this.weapon.NOOCGFJOMEM;
|
|
RangedWeapon rangedWeapon = this.weapon;
|
|
if (!hasEnoughMagazineAmmunition)
|
|
{
|
|
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
|
return;
|
|
}
|
|
if (!rangedWeapon.MJDHKAHMGMO && !this.weapon.LAJLNCJKALH)
|
|
{
|
|
PhotonView photonView = base.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.ANJGMEDDNPE anjgmeddnpe = new DGLOJCGDOGG.ANJGMEDDNPE(this.RpcPrepareDelayedFiring);
|
|
photonView.RpcAll(anjgmeddnpe);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B08 RID: 76552 RVA: 0x00449C00 File Offset: 0x00447E00
|
|
[Token(Token = "0x6012B08")]
|
|
[Address(RVA = "0x10D4D80", Offset = "0x10D3B80", VA = "0x1810D4D80")]
|
|
private void AJNIOPHLFIB()
|
|
{
|
|
this.BAPJIACINIA();
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG jfpbbahbcpn = this.JFPBBAHBCPN;
|
|
if (jfpbbahbcpn != 0)
|
|
{
|
|
jfpbbahbcpn(this);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B09 RID: 76553 RVA: 0x00449C28 File Offset: 0x00447E28
|
|
[Token(Token = "0x6012B09")]
|
|
[Address(RVA = "0x10D54B0", Offset = "0x10D42B0", VA = "0x1810D54B0")]
|
|
private void GGFKAPKGDMH()
|
|
{
|
|
PhotonView photonView = base.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.ANJGMEDDNPE anjgmeddnpe = new DGLOJCGDOGG.ANJGMEDDNPE(this.RpcPrepareDelayedFiring);
|
|
photonView.RpcAll(anjgmeddnpe);
|
|
}
|
|
|
|
// Token: 0x06012B0A RID: 76554 RVA: 0x00449C58 File Offset: 0x00447E58
|
|
[Token(Token = "0x6012B0A")]
|
|
[Address(RVA = "0x10D57B0", Offset = "0x10D45B0", VA = "0x1810D57B0")]
|
|
private void PCFBENOBOFL()
|
|
{
|
|
this.BAPJIACINIA();
|
|
DelayedRangedWeaponTrigger.ILDLNHDJAIP ildlnhdjaip;
|
|
ildlnhdjaip.System.IDisposable.Dispose();
|
|
ildlnhdjaip.<>1__state = (int)((ulong)0L);
|
|
ildlnhdjaip.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(ildlnhdjaip);
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG abhibnpkain = this.ABHIBNPKAIN;
|
|
this.MCHGLDOHBIP = coroutine;
|
|
if (abhibnpkain != 0)
|
|
{
|
|
abhibnpkain(this);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B0B RID: 76555 RVA: 0x00449CA4 File Offset: 0x00447EA4
|
|
[Token(Token = "0x6012B0B")]
|
|
[Address(RVA = "0x10D5070", Offset = "0x10D3E70", VA = "0x1810D5070")]
|
|
private void BAPJIACINIA()
|
|
{
|
|
Coroutine mchgldohbip = this.MCHGLDOHBIP;
|
|
this.OMNDHPIFFEM(mchgldohbip);
|
|
this.CJBPLAEJBIC();
|
|
PooledParticle cdlijfcpcfg = this.CDLIJFCPCFG;
|
|
int num = 0;
|
|
if (cdlijfcpcfg != num)
|
|
{
|
|
this.CDLIJFCPCFG.Stop();
|
|
this.CDLIJFCPCFG = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B0C RID: 76556 RVA: 0x00449CF4 File Offset: 0x00447EF4
|
|
[Token(Token = "0x6012B0C")]
|
|
[Address(RVA = "0x10D5120", Offset = "0x10D3F20", VA = "0x1810D5120")]
|
|
private IEnumerator CEPANOPPMEF()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06012B0C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Tools.Weapons.DelayedRangedWeaponTrigger::CEPANOPPMEF()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(ILDLNHDJAIP::System.IDisposable.Dispose, ldloc:ILDLNHDJAIP(var_0))
|
|
stfld:int32(ILDLNHDJAIP::<>1__state, ldloc:ILDLNHDJAIP(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:DelayedRangedWeaponTrigger(ILDLNHDJAIP::<>4__this, ldloc:ILDLNHDJAIP(var_0), ldloc:DelayedRangedWeaponTrigger(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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06012B0D RID: 76557 RVA: 0x00449D18 File Offset: 0x00447F18
|
|
[Token(Token = "0x6012B0D")]
|
|
[Address(RVA = "0x10D5230", Offset = "0x10D4030", VA = "0x1810D5230")]
|
|
private void FMMOFGMCECO()
|
|
{
|
|
PooledParticle pooledParticle = this.triggerPullParticlesPrefab;
|
|
int num = 0;
|
|
if (pooledParticle != num)
|
|
{
|
|
Transform transform = this.triggerPullParticleTransform;
|
|
int num2 = 0;
|
|
if (transform != num2)
|
|
{
|
|
GlobalPool instance = GlobalPool.ONCPNMDGGKG;
|
|
PooledParticle pooledParticle2 = this.triggerPullParticlesPrefab;
|
|
PooledParticle pooledParticle3 = instance.Acquire<PooledParticle>(pooledParticle2);
|
|
Transform transform2 = this.triggerPullParticleTransform;
|
|
Transform transform3 = this.triggerPullParticleTransform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
}
|
|
PooledParticle cdlijfcpcfg = this.CDLIJFCPCFG;
|
|
int num3 = 0;
|
|
if (cdlijfcpcfg == num3)
|
|
{
|
|
PooledParticle pooledParticle4 = this.countdownParticlesPrefab;
|
|
int num4 = 0;
|
|
if (pooledParticle4 != num4)
|
|
{
|
|
GlobalPool instance2 = GlobalPool.ONCPNMDGGKG;
|
|
PooledParticle pooledParticle5 = this.countdownParticlesPrefab;
|
|
PooledParticle pooledParticle6 = instance2.Acquire<PooledParticle>(pooledParticle5);
|
|
this.CDLIJFCPCFG = pooledParticle6;
|
|
Transform bpjhonofgbg = this.BPJHONOFGBG;
|
|
pooledParticle6.Play(bpjhonofgbg, true, -1f);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B0E RID: 76558 RVA: 0x00449DF4 File Offset: 0x00447FF4
|
|
[Token(Token = "0x6012B0E")]
|
|
[Address(RVA = "0x10D5540", Offset = "0x10D4340", VA = "0x1810D5540")]
|
|
private void GJEGPJCKBLP()
|
|
{
|
|
PooledParticle cdlijfcpcfg = this.CDLIJFCPCFG;
|
|
int num = 0;
|
|
if (cdlijfcpcfg != num)
|
|
{
|
|
this.CDLIJFCPCFG.Stop();
|
|
this.CDLIJFCPCFG = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B0F RID: 76559 RVA: 0x00449E30 File Offset: 0x00448030
|
|
[Token(Token = "0x6012B0F")]
|
|
[Address(RVA = "0x10D55D0", Offset = "0x10D43D0", VA = "0x1810D55D0")]
|
|
private void NGEKPMPPFOO()
|
|
{
|
|
this.CJBPLAEJBIC();
|
|
RecRoomAudioClip recRoomAudioClip = this.fireDelayLoopingAudio;
|
|
Transform transform = this.fuseStartTransform;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.StartLooping3DSFX(recRoomAudioClip, transform, num2, num);
|
|
this.GMFHAIIBGDB = sfxaudioSource;
|
|
}
|
|
|
|
// Token: 0x06012B10 RID: 76560 RVA: 0x00449E6C File Offset: 0x0044806C
|
|
[Token(Token = "0x6012B10")]
|
|
[Address(RVA = "0x10D5180", Offset = "0x10D3F80", VA = "0x1810D5180")]
|
|
private void CJBPLAEJBIC()
|
|
{
|
|
SFXAudioSource gmfhaiibgdb = this.GMFHAIIBGDB;
|
|
int num = 0;
|
|
if (gmfhaiibgdb != num)
|
|
{
|
|
AudioManager.StopLoopingSFX(this.GMFHAIIBGDB);
|
|
this.GMFHAIIBGDB = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B11 RID: 76561 RVA: 0x00449EA0 File Offset: 0x004480A0
|
|
[Token(Token = "0x6012B11")]
|
|
[Address(RVA = "0x10D57B0", Offset = "0x10D45B0", VA = "0x1810D57B0")]
|
|
[NFOMENMAOIA]
|
|
private void RpcPrepareDelayedFiring()
|
|
{
|
|
this.BAPJIACINIA();
|
|
DelayedRangedWeaponTrigger.ILDLNHDJAIP ildlnhdjaip;
|
|
ildlnhdjaip.System.IDisposable.Dispose();
|
|
ildlnhdjaip.<>1__state = (int)((ulong)0L);
|
|
ildlnhdjaip.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(ildlnhdjaip);
|
|
DelayedRangedWeaponTrigger.IOGLIBAPLLG abhibnpkain = this.ABHIBNPKAIN;
|
|
this.MCHGLDOHBIP = coroutine;
|
|
if (abhibnpkain != 0)
|
|
{
|
|
abhibnpkain(this);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B12 RID: 76562 RVA: 0x00449EEC File Offset: 0x004480EC
|
|
[Token(Token = "0x6012B12")]
|
|
[Address(RVA = "0x10D5840", Offset = "0x10D4640", VA = "0x1810D5840")]
|
|
public DelayedRangedWeaponTrigger()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400C127 RID: 49447
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400C127")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x0400C128 RID: 49448
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400C128")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndParent, false, false, false)]
|
|
private RangedWeapon weapon;
|
|
|
|
// Token: 0x0400C129 RID: 49449
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400C129")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndParent, false, false, false)]
|
|
private WeaponAudio weaponAudio;
|
|
|
|
// Token: 0x0400C12A RID: 49450
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400C12A")]
|
|
[SerializeField]
|
|
private float delay = 1f;
|
|
|
|
// Token: 0x0400C12B RID: 49451
|
|
[FieldOffset(Offset = "0x6C")]
|
|
[Token(Token = "0x400C12B")]
|
|
[SerializeField]
|
|
private float inputResponseDelay;
|
|
|
|
// Token: 0x0400C12C RID: 49452
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400C12C")]
|
|
[SerializeField]
|
|
private Transform fuseStartTransform;
|
|
|
|
// Token: 0x0400C12D RID: 49453
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x400C12D")]
|
|
[SerializeField]
|
|
private Transform fuseEndTransform;
|
|
|
|
// Token: 0x0400C12E RID: 49454
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x400C12E")]
|
|
[SerializeField]
|
|
[Header("Particles")]
|
|
private PooledParticle triggerPullParticlesPrefab;
|
|
|
|
// Token: 0x0400C12F RID: 49455
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400C12F")]
|
|
[SerializeField]
|
|
private Transform triggerPullParticleTransform;
|
|
|
|
// Token: 0x0400C130 RID: 49456
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400C130")]
|
|
[SerializeField]
|
|
private PooledParticle countdownParticlesPrefab;
|
|
|
|
// Token: 0x0400C131 RID: 49457
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400C131")]
|
|
[SerializeField]
|
|
[Header("Haptics")]
|
|
private float vibrationIntensity = 0.7f;
|
|
|
|
// Token: 0x0400C132 RID: 49458
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x400C132")]
|
|
[SerializeField]
|
|
[Header("Audio")]
|
|
private RecRoomAudioClip prepareFiringAudio;
|
|
|
|
// Token: 0x0400C133 RID: 49459
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x400C133")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip fireDelayLoopingAudio;
|
|
|
|
// Token: 0x0400C134 RID: 49460
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400C134")]
|
|
private Transform BPJHONOFGBG;
|
|
|
|
// Token: 0x0400C135 RID: 49461
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400C135")]
|
|
private PooledParticle CDLIJFCPCFG;
|
|
|
|
// Token: 0x0400C136 RID: 49462
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400C136")]
|
|
private Coroutine MCHGLDOHBIP;
|
|
|
|
// Token: 0x0400C137 RID: 49463
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x400C137")]
|
|
private SFXAudioSource GMFHAIIBGDB;
|
|
|
|
// Token: 0x02002B69 RID: 11113
|
|
[Token(Token = "0x2002B69")]
|
|
public sealed class IOGLIBAPLLG : MulticastDelegate
|
|
{
|
|
// Token: 0x06012B13 RID: 76563 RVA: 0x00449F18 File Offset: 0x00448118
|
|
[Token(Token = "0x6012B13")]
|
|
[Address(RVA = "0x448ED0", Offset = "0x447CD0", VA = "0x180448ED0")]
|
|
public IOGLIBAPLLG(object FEDFKKMABOG, IntPtr APAICGIHAGJ)
|
|
{
|
|
this.method = APAICGIHAGJ;
|
|
this.m_target = FEDFKKMABOG;
|
|
}
|
|
|
|
// Token: 0x06012B14 RID: 76564 RVA: 0x00449F34 File Offset: 0x00448134
|
|
[Token(Token = "0x6012B14")]
|
|
[Address(RVA = "0x4D7E10", Offset = "0x4D6C10", VA = "0x1804D7E10", Slot = "13")]
|
|
public void Invoke(DelayedRangedWeaponTrigger OOONNFPBMKC)
|
|
{
|
|
if (this.delegates != 0)
|
|
{
|
|
}
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
throw new ExecutionEngineException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012B15 RID: 76565 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6012B15")]
|
|
[Address(RVA = "0x457150", Offset = "0x455F50", VA = "0x180457150", Slot = "14")]
|
|
public IAsyncResult BeginInvoke(DelayedRangedWeaponTrigger OOONNFPBMKC, AsyncCallback AFLPGGJMPOE, object FEDFKKMABOG)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06012B16 RID: 76566 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6012B16")]
|
|
[Address(RVA = "0x448B70", Offset = "0x447970", VA = "0x180448B70", Slot = "15")]
|
|
public void EndInvoke(IAsyncResult GIAOBLMEMMI)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
}
|
|
}
|