45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Creation
|
|
{
|
|
// Token: 0x02002BE9 RID: 11241
|
|
[Token(Token = "0x2002BE9")]
|
|
[StructLayout(3)]
|
|
public class SandboxToolGoal : SandboxGoalBase
|
|
{
|
|
// Token: 0x06013CEE RID: 81134 RVA: 0x004C0A00 File Offset: 0x004BEC00
|
|
[Token(Token = "0x6013CEE")]
|
|
[Address(RVA = "0x16B9B00", Offset = "0x16B8500", VA = "0x1816B9B00", Slot = "16")]
|
|
protected override void OnTriggerEnter(Collider HPKICPNGMDJ)
|
|
{
|
|
Tool tool = HPKICPNGMDJ.AMKJBLIFHPB();
|
|
int num = 0;
|
|
if (tool != num && !tool.FNFNLDBILFE && (this.tool.hasAuthority || tool.hasAuthority))
|
|
{
|
|
Transform transform = tool.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013CEF RID: 81135 RVA: 0x004C0A58 File Offset: 0x004BEC58
|
|
[Token(Token = "0x6013CEF")]
|
|
[Address(RVA = "0x16B2DD0", Offset = "0x16B17D0", VA = "0x1816B2DD0")]
|
|
public SandboxToolGoal()
|
|
{
|
|
this.CollisionLayer = (DAJFOCGPHGP)((ulong)23L);
|
|
this.minHitInterval = 0.5f;
|
|
Color white = Color.white;
|
|
this.hitFlashIntensity = 0.3f;
|
|
this.hitFlashCount = (int)((ulong)1L);
|
|
this.hitFlashDuration = 0.3f;
|
|
this.hitFlashFadeDuration = 0.3f;
|
|
this.hitFlashInterval = 0.3f;
|
|
base..ctor();
|
|
}
|
|
}
|
|
}
|