243 lines
11 KiB
C#
243 lines
11 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using RootMotion.FinalIK;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003CF RID: 975
|
|
public class HoldingHands : MonoBehaviour
|
|
{
|
|
// Token: 0x06007808 RID: 30728 RVA: 0x001E9E04 File Offset: 0x001E8004
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592306, XrefRangeEnd = 592318, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Start()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HoldingHands.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06007809 RID: 30729 RVA: 0x001E9E48 File Offset: 0x001E8048
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592318, XrefRangeEnd = 592346, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void LateUpdate()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HoldingHands.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x0600780A RID: 30730 RVA: 0x001E9E8C File Offset: 0x001E808C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592346, XrefRangeEnd = 592347, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe HoldingHands()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HoldingHands.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x0600780B RID: 30731 RVA: 0x001E9ED8 File Offset: 0x001E80D8
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static HoldingHands()
|
|
{
|
|
Il2CppClassPointerStore<HoldingHands>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "HoldingHands");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr);
|
|
HoldingHands.NativeFieldInfoPtr_rightHandChar = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "rightHandChar");
|
|
HoldingHands.NativeFieldInfoPtr_leftHandChar = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "leftHandChar");
|
|
HoldingHands.NativeFieldInfoPtr_rightHandTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "rightHandTarget");
|
|
HoldingHands.NativeFieldInfoPtr_leftHandTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "leftHandTarget");
|
|
HoldingHands.NativeFieldInfoPtr_crossFade = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "crossFade");
|
|
HoldingHands.NativeFieldInfoPtr_speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "speed");
|
|
HoldingHands.NativeFieldInfoPtr_rightHandRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "rightHandRotation");
|
|
HoldingHands.NativeFieldInfoPtr_leftHandRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "leftHandRotation");
|
|
HoldingHands.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, 100672348);
|
|
HoldingHands.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, 100672349);
|
|
HoldingHands.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, 100672350);
|
|
}
|
|
|
|
// Token: 0x0600780C RID: 30732 RVA: 0x0000351C File Offset: 0x0000171C
|
|
public HoldingHands(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002901 RID: 10497
|
|
// (get) Token: 0x0600780D RID: 30733 RVA: 0x001E9FE4 File Offset: 0x001E81E4
|
|
// (set) Token: 0x0600780E RID: 30734 RVA: 0x001EA018 File Offset: 0x001E8218
|
|
public unsafe FullBodyBipedIK rightHandChar
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandChar);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new FullBodyBipedIK(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandChar), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002902 RID: 10498
|
|
// (get) Token: 0x0600780F RID: 30735 RVA: 0x001EA040 File Offset: 0x001E8240
|
|
// (set) Token: 0x06007810 RID: 30736 RVA: 0x001EA074 File Offset: 0x001E8274
|
|
public unsafe FullBodyBipedIK leftHandChar
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandChar);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new FullBodyBipedIK(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandChar), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002903 RID: 10499
|
|
// (get) Token: 0x06007811 RID: 30737 RVA: 0x001EA09C File Offset: 0x001E829C
|
|
// (set) Token: 0x06007812 RID: 30738 RVA: 0x001EA0D0 File Offset: 0x001E82D0
|
|
public unsafe Transform rightHandTarget
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandTarget);
|
|
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(HoldingHands.NativeFieldInfoPtr_rightHandTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002904 RID: 10500
|
|
// (get) Token: 0x06007813 RID: 30739 RVA: 0x001EA0F8 File Offset: 0x001E82F8
|
|
// (set) Token: 0x06007814 RID: 30740 RVA: 0x001EA12C File Offset: 0x001E832C
|
|
public unsafe Transform leftHandTarget
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandTarget);
|
|
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(HoldingHands.NativeFieldInfoPtr_leftHandTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002905 RID: 10501
|
|
// (get) Token: 0x06007815 RID: 30741 RVA: 0x001EA154 File Offset: 0x001E8354
|
|
// (set) Token: 0x06007816 RID: 30742 RVA: 0x001EA17C File Offset: 0x001E837C
|
|
public unsafe float crossFade
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_crossFade);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_crossFade)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002906 RID: 10502
|
|
// (get) Token: 0x06007817 RID: 30743 RVA: 0x001EA1A0 File Offset: 0x001E83A0
|
|
// (set) Token: 0x06007818 RID: 30744 RVA: 0x001EA1C8 File Offset: 0x001E83C8
|
|
public unsafe float speed
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_speed);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_speed)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002907 RID: 10503
|
|
// (get) Token: 0x06007819 RID: 30745 RVA: 0x001EA1EC File Offset: 0x001E83EC
|
|
// (set) Token: 0x0600781A RID: 30746 RVA: 0x001EA214 File Offset: 0x001E8414
|
|
public unsafe Quaternion rightHandRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002908 RID: 10504
|
|
// (get) Token: 0x0600781B RID: 30747 RVA: 0x001EA238 File Offset: 0x001E8438
|
|
// (set) Token: 0x0600781C RID: 30748 RVA: 0x001EA260 File Offset: 0x001E8460
|
|
public unsafe Quaternion leftHandRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005077 RID: 20599
|
|
private static readonly IntPtr NativeFieldInfoPtr_rightHandChar;
|
|
|
|
// Token: 0x04005078 RID: 20600
|
|
private static readonly IntPtr NativeFieldInfoPtr_leftHandChar;
|
|
|
|
// Token: 0x04005079 RID: 20601
|
|
private static readonly IntPtr NativeFieldInfoPtr_rightHandTarget;
|
|
|
|
// Token: 0x0400507A RID: 20602
|
|
private static readonly IntPtr NativeFieldInfoPtr_leftHandTarget;
|
|
|
|
// Token: 0x0400507B RID: 20603
|
|
private static readonly IntPtr NativeFieldInfoPtr_crossFade;
|
|
|
|
// Token: 0x0400507C RID: 20604
|
|
private static readonly IntPtr NativeFieldInfoPtr_speed;
|
|
|
|
// Token: 0x0400507D RID: 20605
|
|
private static readonly IntPtr NativeFieldInfoPtr_rightHandRotation;
|
|
|
|
// Token: 0x0400507E RID: 20606
|
|
private static readonly IntPtr NativeFieldInfoPtr_leftHandRotation;
|
|
|
|
// Token: 0x0400507F RID: 20607
|
|
private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;
|
|
|
|
// Token: 0x04005080 RID: 20608
|
|
private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;
|
|
|
|
// Token: 0x04005081 RID: 20609
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|
|
}
|