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

284 lines
14 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
using UnityEngine;
namespace RootMotion
{
// Token: 0x020003A9 RID: 937
[Serializable]
public class BipedLimbOrientations : Il2CppSystem.Object
{
// Token: 0x06007576 RID: 30070 RVA: 0x001DE908 File Offset: 0x001DCB08
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 606165, RefRangeEnd = 606166, XrefRangeStart = 606160, XrefRangeEnd = 606165, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe BipedLimbOrientations(BipedLimbOrientations.LimbOrientation leftArm, BipedLimbOrientations.LimbOrientation rightArm, BipedLimbOrientations.LimbOrientation leftLeg, BipedLimbOrientations.LimbOrientation rightLeg)
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr))
{
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
*ptr = IL2CPP.Il2CppObjectBaseToPtr(leftArm);
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(rightArm);
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(leftLeg);
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(rightLeg);
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BipedLimbOrientations.NativeMethodInfoPtr__ctor_Public_Void_LimbOrientation_LimbOrientation_LimbOrientation_LimbOrientation_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x1700283A RID: 10298
// (get) Token: 0x06007577 RID: 30071 RVA: 0x001DE9B4 File Offset: 0x001DCBB4
public unsafe static BipedLimbOrientations UMA
{
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 606166, XrefRangeEnd = 606199, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BipedLimbOrientations.NativeMethodInfoPtr_get_UMA_Public_Static_get_BipedLimbOrientations_0, 0, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
IntPtr intPtr3 = intPtr;
return (intPtr3 != 0) ? new BipedLimbOrientations(intPtr3) : null;
}
}
// Token: 0x1700283B RID: 10299
// (get) Token: 0x06007578 RID: 30072 RVA: 0x001DE9FC File Offset: 0x001DCBFC
public unsafe static BipedLimbOrientations MaxBiped
{
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 606199, XrefRangeEnd = 606232, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BipedLimbOrientations.NativeMethodInfoPtr_get_MaxBiped_Public_Static_get_BipedLimbOrientations_0, 0, (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
IntPtr intPtr3 = intPtr;
return (intPtr3 != 0) ? new BipedLimbOrientations(intPtr3) : null;
}
}
// Token: 0x06007579 RID: 30073 RVA: 0x001DEA44 File Offset: 0x001DCC44
// Note: this type is marked as 'beforefieldinit'.
static BipedLimbOrientations()
{
Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion", "BipedLimbOrientations");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr);
BipedLimbOrientations.NativeFieldInfoPtr_leftArm = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, "leftArm");
BipedLimbOrientations.NativeFieldInfoPtr_rightArm = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, "rightArm");
BipedLimbOrientations.NativeFieldInfoPtr_leftLeg = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, "leftLeg");
BipedLimbOrientations.NativeFieldInfoPtr_rightLeg = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, "rightLeg");
BipedLimbOrientations.NativeMethodInfoPtr__ctor_Public_Void_LimbOrientation_LimbOrientation_LimbOrientation_LimbOrientation_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, 100672136);
BipedLimbOrientations.NativeMethodInfoPtr_get_UMA_Public_Static_get_BipedLimbOrientations_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, 100672137);
BipedLimbOrientations.NativeMethodInfoPtr_get_MaxBiped_Public_Static_get_BipedLimbOrientations_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, 100672138);
}
// Token: 0x0600757A RID: 30074 RVA: 0x0000A74C File Offset: 0x0000894C
public BipedLimbOrientations(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17002836 RID: 10294
// (get) Token: 0x0600757B RID: 30075 RVA: 0x001DEB00 File Offset: 0x001DCD00
// (set) Token: 0x0600757C RID: 30076 RVA: 0x001DEB34 File Offset: 0x001DCD34
public unsafe BipedLimbOrientations.LimbOrientation leftArm
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_leftArm);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new BipedLimbOrientations.LimbOrientation(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_leftArm), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17002837 RID: 10295
// (get) Token: 0x0600757D RID: 30077 RVA: 0x001DEB5C File Offset: 0x001DCD5C
// (set) Token: 0x0600757E RID: 30078 RVA: 0x001DEB90 File Offset: 0x001DCD90
public unsafe BipedLimbOrientations.LimbOrientation rightArm
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_rightArm);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new BipedLimbOrientations.LimbOrientation(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_rightArm), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17002838 RID: 10296
// (get) Token: 0x0600757F RID: 30079 RVA: 0x001DEBB8 File Offset: 0x001DCDB8
// (set) Token: 0x06007580 RID: 30080 RVA: 0x001DEBEC File Offset: 0x001DCDEC
public unsafe BipedLimbOrientations.LimbOrientation leftLeg
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_leftLeg);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new BipedLimbOrientations.LimbOrientation(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_leftLeg), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17002839 RID: 10297
// (get) Token: 0x06007581 RID: 30081 RVA: 0x001DEC14 File Offset: 0x001DCE14
// (set) Token: 0x06007582 RID: 30082 RVA: 0x001DEC48 File Offset: 0x001DCE48
public unsafe BipedLimbOrientations.LimbOrientation rightLeg
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_rightLeg);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new BipedLimbOrientations.LimbOrientation(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.NativeFieldInfoPtr_rightLeg), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x04004ECA RID: 20170
private static readonly IntPtr NativeFieldInfoPtr_leftArm;
// Token: 0x04004ECB RID: 20171
private static readonly IntPtr NativeFieldInfoPtr_rightArm;
// Token: 0x04004ECC RID: 20172
private static readonly IntPtr NativeFieldInfoPtr_leftLeg;
// Token: 0x04004ECD RID: 20173
private static readonly IntPtr NativeFieldInfoPtr_rightLeg;
// Token: 0x04004ECE RID: 20174
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_LimbOrientation_LimbOrientation_LimbOrientation_LimbOrientation_0;
// Token: 0x04004ECF RID: 20175
private static readonly IntPtr NativeMethodInfoPtr_get_UMA_Public_Static_get_BipedLimbOrientations_0;
// Token: 0x04004ED0 RID: 20176
private static readonly IntPtr NativeMethodInfoPtr_get_MaxBiped_Public_Static_get_BipedLimbOrientations_0;
// Token: 0x020003AA RID: 938
[Serializable]
public class LimbOrientation : Il2CppSystem.Object
{
// Token: 0x06007583 RID: 30083 RVA: 0x001DEC70 File Offset: 0x001DCE70
[CallerCount(8)]
[CachedScanResults(RefRangeStart = 606152, RefRangeEnd = 606160, XrefRangeStart = 606151, XrefRangeEnd = 606152, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe LimbOrientation(Vector3 upperBoneForwardAxis, Vector3 lowerBoneForwardAxis, Vector3 lastBoneLeftAxis)
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr))
{
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref upperBoneForwardAxis;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref lowerBoneForwardAxis;
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref lastBoneLeftAxis;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BipedLimbOrientations.LimbOrientation.NativeMethodInfoPtr__ctor_Public_Void_Vector3_Vector3_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06007584 RID: 30084 RVA: 0x001DECF4 File Offset: 0x001DCEF4
// Note: this type is marked as 'beforefieldinit'.
static LimbOrientation()
{
Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<BipedLimbOrientations>.NativeClassPtr, "LimbOrientation");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr);
BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_upperBoneForwardAxis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr, "upperBoneForwardAxis");
BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_lowerBoneForwardAxis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr, "lowerBoneForwardAxis");
BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_lastBoneLeftAxis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr, "lastBoneLeftAxis");
BipedLimbOrientations.LimbOrientation.NativeMethodInfoPtr__ctor_Public_Void_Vector3_Vector3_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BipedLimbOrientations.LimbOrientation>.NativeClassPtr, 100672139);
}
// Token: 0x06007585 RID: 30085 RVA: 0x0000A74C File Offset: 0x0000894C
public LimbOrientation(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x1700283C RID: 10300
// (get) Token: 0x06007586 RID: 30086 RVA: 0x001DED70 File Offset: 0x001DCF70
// (set) Token: 0x06007587 RID: 30087 RVA: 0x001DED98 File Offset: 0x001DCF98
public unsafe Vector3 upperBoneForwardAxis
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_upperBoneForwardAxis);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_upperBoneForwardAxis)) = value;
}
}
// Token: 0x1700283D RID: 10301
// (get) Token: 0x06007588 RID: 30088 RVA: 0x001DEDBC File Offset: 0x001DCFBC
// (set) Token: 0x06007589 RID: 30089 RVA: 0x001DEDE4 File Offset: 0x001DCFE4
public unsafe Vector3 lowerBoneForwardAxis
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_lowerBoneForwardAxis);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_lowerBoneForwardAxis)) = value;
}
}
// Token: 0x1700283E RID: 10302
// (get) Token: 0x0600758A RID: 30090 RVA: 0x001DEE08 File Offset: 0x001DD008
// (set) Token: 0x0600758B RID: 30091 RVA: 0x001DEE30 File Offset: 0x001DD030
public unsafe Vector3 lastBoneLeftAxis
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_lastBoneLeftAxis);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BipedLimbOrientations.LimbOrientation.NativeFieldInfoPtr_lastBoneLeftAxis)) = value;
}
}
// Token: 0x04004ED1 RID: 20177
private static readonly IntPtr NativeFieldInfoPtr_upperBoneForwardAxis;
// Token: 0x04004ED2 RID: 20178
private static readonly IntPtr NativeFieldInfoPtr_lowerBoneForwardAxis;
// Token: 0x04004ED3 RID: 20179
private static readonly IntPtr NativeFieldInfoPtr_lastBoneLeftAxis;
// Token: 0x04004ED4 RID: 20180
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Vector3_Vector3_Vector3_0;
}
}
}