scripts
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Tools.Weapons
|
||||
{
|
||||
// Token: 0x02002672 RID: 9842
|
||||
[Token(Token = "0x2002672")]
|
||||
[StructLayout(3)]
|
||||
public class CrossbowBolt : BowArrow
|
||||
{
|
||||
// Token: 0x06011123 RID: 69923 RVA: 0x004063AC File Offset: 0x004045AC
|
||||
[Token(Token = "0x6011123")]
|
||||
[Address(RVA = "0x193CA80", Offset = "0x193B480", VA = "0x18193CA80", Slot = "10")]
|
||||
protected override void LFDOBCFHFNP(CBLLJNPBJOI LLJEGLKBKME)
|
||||
{
|
||||
Vector3 bhnkkjbcoaa = LLJEGLKBKME.BHNKKJBCOAA;
|
||||
Collider fkjeihgoadp = LLJEGLKBKME.FKJEIHGOADP;
|
||||
GameObject gibdaoejgha = this.GIBDAOEJGHA;
|
||||
int num = 0;
|
||||
if (gibdaoejgha != num)
|
||||
{
|
||||
ParticleSystem particleSystem = this.maxChargedParticleTrail;
|
||||
int num2 = 0;
|
||||
if (particleSystem != num2 && this.maxChargedParticleTrail.isPlaying)
|
||||
{
|
||||
this.maxChargedParticleTrail.Stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011124 RID: 69924 RVA: 0x00406410 File Offset: 0x00404610
|
||||
[Token(Token = "0x6011124")]
|
||||
[Address(RVA = "0x193CB80", Offset = "0x193B580", VA = "0x18193CB80")]
|
||||
public CrossbowBolt()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400B583 RID: 46467
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x238")]
|
||||
[Token(Token = "0x400B583")]
|
||||
public ParticleSystem maxChargedParticleTrail;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user