scripts
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020005D4 RID: 1492
|
||||
[Token(Token = "0x20005D4")]
|
||||
[StructLayout(3)]
|
||||
public class PlayerHandApplySkinInteraction : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06002C5B RID: 11355 RVA: 0x000B896C File Offset: 0x000B6B6C
|
||||
[Token(Token = "0x6002C5B")]
|
||||
[Address(RVA = "0x1485CA0", Offset = "0x14846A0", VA = "0x181485CA0")]
|
||||
public void OnHandOverlapChanged(PlayerHand hand, bool isIn)
|
||||
{
|
||||
if (isIn)
|
||||
{
|
||||
int num = 0;
|
||||
if (hand != num && hand.NGLBANPEAOI)
|
||||
{
|
||||
Tool febapkcnndc = hand.FEBAPKCNNDC;
|
||||
ToolSkinMapper toolSkinMapper = febapkcnndc.toolSkinMapper;
|
||||
int num2 = 0;
|
||||
if (toolSkinMapper != num2)
|
||||
{
|
||||
febapkcnndc.toolSkinMapper.ApplyLocalPlayerFavoriteSkin(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002C5C RID: 11356 RVA: 0x000B89C0 File Offset: 0x000B6BC0
|
||||
[Token(Token = "0x6002C5C")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public PlayerHandApplySkinInteraction()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user