103 lines
4.3 KiB
C#
103 lines
4.3 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using RootMotion.FinalIK;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003B5 RID: 949
|
|
public class AimBoxing : MonoBehaviour
|
|
{
|
|
// Token: 0x06007604 RID: 30212 RVA: 0x001E29B0 File Offset: 0x001E0BB0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 591319, XrefRangeEnd = 591323, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void LateUpdate()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AimBoxing.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007605 RID: 30213 RVA: 0x001E29F4 File Offset: 0x001E0BF4
|
|
[CallerCount(63)]
|
|
[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe AimBoxing()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AimBoxing.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007606 RID: 30214 RVA: 0x001E2A40 File Offset: 0x001E0C40
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static AimBoxing()
|
|
{
|
|
Il2CppClassPointerStore<AimBoxing>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "AimBoxing");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr);
|
|
AimBoxing.NativeFieldInfoPtr_aimIK = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr, "aimIK");
|
|
AimBoxing.NativeFieldInfoPtr_pin = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr, "pin");
|
|
AimBoxing.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr, 100672247);
|
|
AimBoxing.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr, 100672248);
|
|
}
|
|
|
|
// Token: 0x06007607 RID: 30215 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public AimBoxing(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002844 RID: 10308
|
|
// (get) Token: 0x06007608 RID: 30216 RVA: 0x001E2AC0 File Offset: 0x001E0CC0
|
|
// (set) Token: 0x06007609 RID: 30217 RVA: 0x001E2AF4 File Offset: 0x001E0CF4
|
|
public unsafe AimIK aimIK
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AimBoxing.NativeFieldInfoPtr_aimIK);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new AimIK(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AimBoxing.NativeFieldInfoPtr_aimIK), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002845 RID: 10309
|
|
// (get) Token: 0x0600760A RID: 30218 RVA: 0x001E2B1C File Offset: 0x001E0D1C
|
|
// (set) Token: 0x0600760B RID: 30219 RVA: 0x001E2B50 File Offset: 0x001E0D50
|
|
public unsafe Transform pin
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AimBoxing.NativeFieldInfoPtr_pin);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Transform(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AimBoxing.NativeFieldInfoPtr_pin), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04004F59 RID: 20313
|
|
private static readonly IntPtr NativeFieldInfoPtr_aimIK;
|
|
|
|
// Token: 0x04004F5A RID: 20314
|
|
private static readonly IntPtr NativeFieldInfoPtr_pin;
|
|
|
|
// Token: 0x04004F5B RID: 20315
|
|
private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;
|
|
|
|
// Token: 0x04004F5C RID: 20316
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|
|
}
|