Files
NobetaSource/Interop/Assembly-CSharp/RootMotion/Demos/RagdollUtilityDemo.cs
2023-09-06 22:09:22 +02:00

141 lines
6.4 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using RootMotion.FinalIK;
using UnityEngine;
namespace RootMotion.Demos
{
// Token: 0x020003E8 RID: 1000
public class RagdollUtilityDemo : MonoBehaviour
{
// Token: 0x060079C0 RID: 31168 RVA: 0x001F0694 File Offset: 0x001EE894
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 610441, XrefRangeEnd = 610447, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void OnGUI()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RagdollUtilityDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x060079C1 RID: 31169 RVA: 0x001F06D8 File Offset: 0x001EE8D8
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 610447, XrefRangeEnd = 610470, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Update()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RagdollUtilityDemo.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x060079C2 RID: 31170 RVA: 0x001F071C File Offset: 0x001EE91C
[CallerCount(63)]
[CachedScanResults(RefRangeStart = 165985, RefRangeEnd = 166048, XrefRangeStart = 165985, XrefRangeEnd = 166048, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe RagdollUtilityDemo()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RagdollUtilityDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x060079C3 RID: 31171 RVA: 0x001F0768 File Offset: 0x001EE968
// Note: this type is marked as 'beforefieldinit'.
static RagdollUtilityDemo()
{
Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "RagdollUtilityDemo");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr);
RagdollUtilityDemo.NativeFieldInfoPtr_ragdollUtility = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr, "ragdollUtility");
RagdollUtilityDemo.NativeFieldInfoPtr_root = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr, "root");
RagdollUtilityDemo.NativeFieldInfoPtr_pelvis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr, "pelvis");
RagdollUtilityDemo.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr, 100672454);
RagdollUtilityDemo.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr, 100672455);
RagdollUtilityDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RagdollUtilityDemo>.NativeClassPtr, 100672456);
}
// Token: 0x060079C4 RID: 31172 RVA: 0x0000351C File Offset: 0x0000171C
public RagdollUtilityDemo(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x1700298F RID: 10639
// (get) Token: 0x060079C5 RID: 31173 RVA: 0x001F0810 File Offset: 0x001EEA10
// (set) Token: 0x060079C6 RID: 31174 RVA: 0x001F0844 File Offset: 0x001EEA44
public unsafe RagdollUtility ragdollUtility
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RagdollUtilityDemo.NativeFieldInfoPtr_ragdollUtility);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new RagdollUtility(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RagdollUtilityDemo.NativeFieldInfoPtr_ragdollUtility), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17002990 RID: 10640
// (get) Token: 0x060079C7 RID: 31175 RVA: 0x001F086C File Offset: 0x001EEA6C
// (set) Token: 0x060079C8 RID: 31176 RVA: 0x001F08A0 File Offset: 0x001EEAA0
public unsafe Transform root
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RagdollUtilityDemo.NativeFieldInfoPtr_root);
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(RagdollUtilityDemo.NativeFieldInfoPtr_root), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17002991 RID: 10641
// (get) Token: 0x060079C9 RID: 31177 RVA: 0x001F08C8 File Offset: 0x001EEAC8
// (set) Token: 0x060079CA RID: 31178 RVA: 0x001F08FC File Offset: 0x001EEAFC
public unsafe Rigidbody pelvis
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RagdollUtilityDemo.NativeFieldInfoPtr_pelvis);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new Rigidbody(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RagdollUtilityDemo.NativeFieldInfoPtr_pelvis), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x0400517B RID: 20859
private static readonly IntPtr NativeFieldInfoPtr_ragdollUtility;
// Token: 0x0400517C RID: 20860
private static readonly IntPtr NativeFieldInfoPtr_root;
// Token: 0x0400517D RID: 20861
private static readonly IntPtr NativeFieldInfoPtr_pelvis;
// Token: 0x0400517E RID: 20862
private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;
// Token: 0x0400517F RID: 20863
private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;
// Token: 0x04005180 RID: 20864
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
}