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: 0x0200040D RID: 1037
|
|
public class AimBoxing : MonoBehaviour
|
|
{
|
|
// Token: 0x06007E57 RID: 32343 RVA: 0x002056EC File Offset: 0x002038EC
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 623624, XrefRangeEnd = 623628, 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: 0x06007E58 RID: 32344 RVA: 0x00205730 File Offset: 0x00203930
|
|
[CallerCount(67)]
|
|
[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06007E59 RID: 32345 RVA: 0x0020577C File Offset: 0x0020397C
|
|
// 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, 100672960);
|
|
AimBoxing.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AimBoxing>.NativeClassPtr, 100672961);
|
|
}
|
|
|
|
// Token: 0x06007E5A RID: 32346 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public AimBoxing(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002ADF RID: 10975
|
|
// (get) Token: 0x06007E5B RID: 32347 RVA: 0x002057FC File Offset: 0x002039FC
|
|
// (set) Token: 0x06007E5C RID: 32348 RVA: 0x00205830 File Offset: 0x00203A30
|
|
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: 0x17002AE0 RID: 10976
|
|
// (get) Token: 0x06007E5D RID: 32349 RVA: 0x00205858 File Offset: 0x00203A58
|
|
// (set) Token: 0x06007E5E RID: 32350 RVA: 0x0020588C File Offset: 0x00203A8C
|
|
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: 0x04005502 RID: 21762
|
|
private static readonly IntPtr NativeFieldInfoPtr_aimIK;
|
|
|
|
// Token: 0x04005503 RID: 21763
|
|
private static readonly IntPtr NativeFieldInfoPtr_pin;
|
|
|
|
// Token: 0x04005504 RID: 21764
|
|
private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;
|
|
|
|
// Token: 0x04005505 RID: 21765
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|
|
}
|