51 lines
1.5 KiB
C#
51 lines
1.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.AI
|
|
{
|
|
// Token: 0x02002E58 RID: 11864
|
|
[Token(Token = "0x2002E58")]
|
|
[StructLayout(3)]
|
|
public class EnemySingleShotRangedWeapon : EnemyRangedWeapon
|
|
{
|
|
// Token: 0x0601542D RID: 87085 RVA: 0x0051DE8C File Offset: 0x0051C08C
|
|
[Token(Token = "0x601542D")]
|
|
[Address(RVA = "0x1B7A2A0", Offset = "0x1B78CA0", VA = "0x181B7A2A0", Slot = "18")]
|
|
protected override void OIDBNANDMDM(Vector3 HEGDAEMJLDE, float EJHELOHKGCF)
|
|
{
|
|
Transform projectileOriginTransform = this.projectileOriginTransform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
Transform projectileOriginTransform2 = this.projectileOriginTransform;
|
|
int num = 0;
|
|
EnemyRangedWeapon.GABIMAFMAEL projectileType = this.projectileType;
|
|
if (projectileType != EnemyRangedWeapon.GABIMAFMAEL.BULLET)
|
|
{
|
|
if (projectileType == EnemyRangedWeapon.GABIMAFMAEL.EQUIPMENT)
|
|
{
|
|
int num2 = 0;
|
|
if (base.hasAuthority)
|
|
{
|
|
GameObject gameObject = base.FMJLFBHPCHF(num2, num, EJHELOHKGCF);
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0601542E RID: 87086 RVA: 0x0051DEE4 File Offset: 0x0051C0E4
|
|
[Token(Token = "0x601542E")]
|
|
[Address(RVA = "0x1B7A460", Offset = "0x1B78E60", VA = "0x181B7A460")]
|
|
public EnemySingleShotRangedWeapon()
|
|
{
|
|
Color white = Color.white;
|
|
this.projectileSpeed = 2f;
|
|
this.projectileImpactForce = 50f;
|
|
base..ctor();
|
|
}
|
|
}
|
|
}
|