Files
NobetaSource/Interop/Assembly-CSharp/AttackSoundMaterial.cs
2023-09-06 22:00:49 +02:00

59 lines
2.4 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;
// Token: 0x02000099 RID: 153
public class AttackSoundMaterial : MonoBehaviour
{
// Token: 0x06001229 RID: 4649 RVA: 0x0004E9FC File Offset: 0x0004CBFC
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 486307, XrefRangeEnd = 486308, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe AttackSoundMaterial()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AttackSoundMaterial>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AttackSoundMaterial.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x0600122A RID: 4650 RVA: 0x0004EA48 File Offset: 0x0004CC48
// Note: this type is marked as 'beforefieldinit'.
static AttackSoundMaterial()
{
Il2CppClassPointerStore<AttackSoundMaterial>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "AttackSoundMaterial");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AttackSoundMaterial>.NativeClassPtr);
AttackSoundMaterial.NativeFieldInfoPtr_HitMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AttackSoundMaterial>.NativeClassPtr, "HitMaterial");
AttackSoundMaterial.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AttackSoundMaterial>.NativeClassPtr, 100664985);
}
// Token: 0x0600122B RID: 4651 RVA: 0x0000351C File Offset: 0x0000171C
public AttackSoundMaterial(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17000586 RID: 1414
// (get) Token: 0x0600122C RID: 4652 RVA: 0x0004EAA0 File Offset: 0x0004CCA0
// (set) Token: 0x0600122D RID: 4653 RVA: 0x0004EAC8 File Offset: 0x0004CCC8
public unsafe PlayerSound.HitSoundType HitMaterial
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AttackSoundMaterial.NativeFieldInfoPtr_HitMaterial);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AttackSoundMaterial.NativeFieldInfoPtr_HitMaterial)) = value;
}
}
// Token: 0x04000E5E RID: 3678
private static readonly IntPtr NativeFieldInfoPtr_HitMaterial;
// Token: 0x04000E5F RID: 3679
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}