This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
using System;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x02000330 RID: 816
[Token(Token = "0x2000330")]
public class CollisionVibration : MonoBehaviour
{
// Token: 0x06001967 RID: 6503 RVA: 0x00065C0C File Offset: 0x00063E0C
[Token(Token = "0x6001967")]
[Address(RVA = "0x1C54FD0", Offset = "0x1C53FD0", VA = "0x181C54FD0")]
private void OnCollisionEnter(Collision GBJHLKOJGPB)
{
int num = 0;
Player player = GBJHLKOJGPB.PKPLHJFDDKE(num);
Tool tool = GBJHLKOJGPB.AMKJBLIFHPB();
int num2 = 0;
if (!(player != num2))
{
int num3 = 0;
if (!(tool != num3) || !tool.FNFNLDBILFE)
{
goto IL_A0;
}
Player owner = tool.BHNPNHMILIF;
int num4 = 0;
if (!(owner != num4))
{
goto IL_A0;
}
bool flag = tool.BHNPNHMILIF.leftHand.FEBAPKCNNDC == tool;
Player owner2 = tool.BHNPNHMILIF;
if (!flag)
{
if (!(owner2.rightHand.FEBAPKCNNDC == tool))
{
goto IL_A0;
}
Player owner3 = tool.BHNPNHMILIF;
}
}
PlayerHand leftHand;
if (num == 2 || num == 3)
{
leftHand = player.leftHand;
}
IL_A0:
int num5 = 0;
if (leftHand != num5)
{
leftHand.Vibrate(50, 1f);
}
}
// Token: 0x06001968 RID: 6504 RVA: 0x00065CDC File Offset: 0x00063EDC
[Token(Token = "0x6001968")]
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
public CollisionVibration()
{
}
}