Add v1.0.3.1
This commit is contained in:
32
Cpp2IL/Assembly-CSharp/Trap_EnemyKill.cs
Normal file
32
Cpp2IL/Assembly-CSharp/Trap_EnemyKill.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020001D9 RID: 473
|
||||
[Token(Token = "0x20001D9")]
|
||||
public class Trap_EnemyKill : SceneEvent
|
||||
{
|
||||
// Token: 0x060013A3 RID: 5027 RVA: 0x0002CF2C File Offset: 0x0002B12C
|
||||
[Token(Token = "0x60013A3")]
|
||||
[Address(RVA = "0x1305260", Offset = "0x1304060", VA = "0x181305260", Slot = "10")]
|
||||
protected override void OnTriggerEnter(Collider other)
|
||||
{
|
||||
if (other.CompareTag("Enemy"))
|
||||
{
|
||||
NPCManage component = other.GetComponent<NPCManage>();
|
||||
int num = 0;
|
||||
if (component != num)
|
||||
{
|
||||
component.SetAIStatus(AI_NPC.AIStatus.Death);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060013A4 RID: 5028 RVA: 0x0002CF6C File Offset: 0x0002B16C
|
||||
[Token(Token = "0x60013A4")]
|
||||
[Address(RVA = "0x30DE20", Offset = "0x30CC20", VA = "0x18030DE20")]
|
||||
public Trap_EnemyKill()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user