423 lines
23 KiB
C#
423 lines
23 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using Il2CppSystem.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Obi
|
|
{
|
|
// Token: 0x020004C7 RID: 1223
|
|
[Serializable]
|
|
public class ObiPinConstraintBatch : ObiConstraintBatch
|
|
{
|
|
// Token: 0x06008DFC RID: 36348 RVA: 0x00247798 File Offset: 0x00245998
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626718, XrefRangeEnd = 626760, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ObiPinConstraintBatch(bool cooked, bool sharesParticles)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref cooked;
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sharesParticles;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiPinConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008DFD RID: 36349 RVA: 0x00247808 File Offset: 0x00245A08
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626760, XrefRangeEnd = 626802, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ObiPinConstraintBatch(bool cooked, bool sharesParticles, float minYoungModulus, float maxYoungModulus)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref cooked;
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sharesParticles;
|
|
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref minYoungModulus;
|
|
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref maxYoungModulus;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiPinConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008DFE RID: 36350 RVA: 0x002478A0 File Offset: 0x00245AA0
|
|
[CallerCount(0)]
|
|
public unsafe override Oni.ConstraintType GetConstraintType()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06008DFF RID: 36351 RVA: 0x002478FC File Offset: 0x00245AFC
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626802, XrefRangeEnd = 626818, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void Clear()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E00 RID: 36352 RVA: 0x0024794C File Offset: 0x00245B4C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626818, XrefRangeEnd = 626835, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void AddConstraint(int index1, ObiCollider body, Vector3 offset, float stiffness)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref index1;
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(body);
|
|
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref offset;
|
|
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref stiffness;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiPinConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Int32_ObiCollider_Vector3_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E01 RID: 36353 RVA: 0x002479E0 File Offset: 0x00245BE0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626835, XrefRangeEnd = 626861, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void RemoveConstraint(int index)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref index;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiPinConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E02 RID: 36354 RVA: 0x00247A34 File Offset: 0x00245C34
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626861, XrefRangeEnd = 626872, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override List<int> GetConstraintsInvolvingParticle(int particleIndex)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref particleIndex;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
IntPtr intPtr3 = intPtr;
|
|
return (intPtr3 != 0) ? new List<int>(intPtr3) : null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E03 RID: 36355 RVA: 0x00247AA8 File Offset: 0x00245CA8
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626872, XrefRangeEnd = 626895, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnAddToSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E04 RID: 36356 RVA: 0x00247B0C File Offset: 0x00245D0C
|
|
[CallerCount(5802)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5826, XrefRangeStart = 24, XrefRangeEnd = 5826, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnRemoveFromSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E05 RID: 36357 RVA: 0x00247B70 File Offset: 0x00245D70
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626895, XrefRangeEnd = 626917, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void PushDataToSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E06 RID: 36358 RVA: 0x00247BD4 File Offset: 0x00245DD4
|
|
[CallerCount(5802)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5826, XrefRangeStart = 24, XrefRangeEnd = 5826, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void PullDataFromSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiPinConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E07 RID: 36359 RVA: 0x00247C38 File Offset: 0x00245E38
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 626931, RefRangeEnd = 626933, XrefRangeStart = 626917, XrefRangeEnd = 626931, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void BreakConstraints()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiPinConstraintBatch.NativeMethodInfoPtr_BreakConstraints_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E08 RID: 36360 RVA: 0x00247C7C File Offset: 0x00245E7C
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static ObiPinConstraintBatch()
|
|
{
|
|
Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiPinConstraintBatch");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr);
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_pinIndices = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "pinIndices");
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_pinBodies = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "pinBodies");
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_pinOffsets = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "pinOffsets");
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_stiffnesses = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "stiffnesses");
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_pinBreakResistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "pinBreakResistance");
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_solverIndices = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "solverIndices");
|
|
ObiPinConstraintBatch.NativeFieldInfoPtr_solverColliders = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, "solverColliders");
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674229);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674230);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674231);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674232);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Int32_ObiCollider_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674233);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674234);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674235);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674236);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674237);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674238);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674239);
|
|
ObiPinConstraintBatch.NativeMethodInfoPtr_BreakConstraints_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiPinConstraintBatch>.NativeClassPtr, 100674240);
|
|
}
|
|
|
|
// Token: 0x06008E09 RID: 36361 RVA: 0x00245674 File Offset: 0x00243874
|
|
public ObiPinConstraintBatch(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003043 RID: 12355
|
|
// (get) Token: 0x06008E0A RID: 36362 RVA: 0x00247E28 File Offset: 0x00246028
|
|
// (set) Token: 0x06008E0B RID: 36363 RVA: 0x00247E5C File Offset: 0x0024605C
|
|
public unsafe List<int> pinIndices
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinIndices);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<int>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinIndices), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003044 RID: 12356
|
|
// (get) Token: 0x06008E0C RID: 36364 RVA: 0x00247E84 File Offset: 0x00246084
|
|
// (set) Token: 0x06008E0D RID: 36365 RVA: 0x00247EB8 File Offset: 0x002460B8
|
|
public unsafe List<ObiCollider> pinBodies
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinBodies);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<ObiCollider>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinBodies), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003045 RID: 12357
|
|
// (get) Token: 0x06008E0E RID: 36366 RVA: 0x00247EE0 File Offset: 0x002460E0
|
|
// (set) Token: 0x06008E0F RID: 36367 RVA: 0x00247F14 File Offset: 0x00246114
|
|
public unsafe List<Vector4> pinOffsets
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinOffsets);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<Vector4>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinOffsets), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003046 RID: 12358
|
|
// (get) Token: 0x06008E10 RID: 36368 RVA: 0x00247F3C File Offset: 0x0024613C
|
|
// (set) Token: 0x06008E11 RID: 36369 RVA: 0x00247F70 File Offset: 0x00246170
|
|
public unsafe List<float> stiffnesses
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_stiffnesses);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<float>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_stiffnesses), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003047 RID: 12359
|
|
// (get) Token: 0x06008E12 RID: 36370 RVA: 0x00247F98 File Offset: 0x00246198
|
|
// (set) Token: 0x06008E13 RID: 36371 RVA: 0x00247FCC File Offset: 0x002461CC
|
|
public unsafe List<float> pinBreakResistance
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinBreakResistance);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<float>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_pinBreakResistance), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003048 RID: 12360
|
|
// (get) Token: 0x06008E14 RID: 36372 RVA: 0x00247FF4 File Offset: 0x002461F4
|
|
// (set) Token: 0x06008E15 RID: 36373 RVA: 0x00248028 File Offset: 0x00246228
|
|
public unsafe Il2CppStructArray<int> solverIndices
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_solverIndices);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<int>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_solverIndices), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003049 RID: 12361
|
|
// (get) Token: 0x06008E16 RID: 36374 RVA: 0x00248050 File Offset: 0x00246250
|
|
// (set) Token: 0x06008E17 RID: 36375 RVA: 0x00248084 File Offset: 0x00246284
|
|
public unsafe Il2CppStructArray<IntPtr> solverColliders
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_solverColliders);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<IntPtr>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiPinConstraintBatch.NativeFieldInfoPtr_solverColliders), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005EA5 RID: 24229
|
|
private static readonly IntPtr NativeFieldInfoPtr_pinIndices;
|
|
|
|
// Token: 0x04005EA6 RID: 24230
|
|
private static readonly IntPtr NativeFieldInfoPtr_pinBodies;
|
|
|
|
// Token: 0x04005EA7 RID: 24231
|
|
private static readonly IntPtr NativeFieldInfoPtr_pinOffsets;
|
|
|
|
// Token: 0x04005EA8 RID: 24232
|
|
private static readonly IntPtr NativeFieldInfoPtr_stiffnesses;
|
|
|
|
// Token: 0x04005EA9 RID: 24233
|
|
private static readonly IntPtr NativeFieldInfoPtr_pinBreakResistance;
|
|
|
|
// Token: 0x04005EAA RID: 24234
|
|
private static readonly IntPtr NativeFieldInfoPtr_solverIndices;
|
|
|
|
// Token: 0x04005EAB RID: 24235
|
|
private static readonly IntPtr NativeFieldInfoPtr_solverColliders;
|
|
|
|
// Token: 0x04005EAC RID: 24236
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0;
|
|
|
|
// Token: 0x04005EAD RID: 24237
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0;
|
|
|
|
// Token: 0x04005EAE RID: 24238
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0;
|
|
|
|
// Token: 0x04005EAF RID: 24239
|
|
private static readonly IntPtr NativeMethodInfoPtr_Clear_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04005EB0 RID: 24240
|
|
private static readonly IntPtr NativeMethodInfoPtr_AddConstraint_Public_Void_Int32_ObiCollider_Vector3_Single_0;
|
|
|
|
// Token: 0x04005EB1 RID: 24241
|
|
private static readonly IntPtr NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0;
|
|
|
|
// Token: 0x04005EB2 RID: 24242
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0;
|
|
|
|
// Token: 0x04005EB3 RID: 24243
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005EB4 RID: 24244
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005EB5 RID: 24245
|
|
private static readonly IntPtr NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005EB6 RID: 24246
|
|
private static readonly IntPtr NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005EB7 RID: 24247
|
|
private static readonly IntPtr NativeMethodInfoPtr_BreakConstraints_Public_Void_0;
|
|
}
|
|
}
|