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

635 lines
32 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;
using Il2CppSystem.Collections.Generic;
namespace Obi
{
// Token: 0x020004C4 RID: 1220
[Serializable]
public class ObiConstraintBatch : Object
{
// Token: 0x1700303A RID: 12346
// (get) Token: 0x06008DBB RID: 36283 RVA: 0x00246104 File Offset: 0x00244304
public unsafe IntPtr OniBatch
{
[CallerCount(9)]
[CachedScanResults(RefRangeStart = 7466, RefRangeEnd = 7475, XrefRangeStart = 7466, XrefRangeEnd = 7475, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_get_OniBatch_Public_get_IntPtr_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x1700303B RID: 12347
// (get) Token: 0x06008DBC RID: 36284 RVA: 0x00246154 File Offset: 0x00244354
public unsafe int ConstraintCount
{
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 15006, RefRangeEnd = 15007, XrefRangeStart = 15006, XrefRangeEnd = 15007, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_get_ConstraintCount_Public_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x1700303C RID: 12348
// (get) Token: 0x06008DBD RID: 36285 RVA: 0x002461A4 File Offset: 0x002443A4
public unsafe bool IsCooked
{
[CallerCount(0)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_get_IsCooked_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x1700303D RID: 12349
// (get) Token: 0x06008DBE RID: 36286 RVA: 0x002461F4 File Offset: 0x002443F4
public unsafe bool SharesParticles
{
[CallerCount(0)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_get_SharesParticles_Public_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x1700303E RID: 12350
// (get) Token: 0x06008DBF RID: 36287 RVA: 0x00246244 File Offset: 0x00244444
public unsafe IEnumerable<int> ActiveConstraints
{
[CallerCount(4)]
[CachedScanResults(RefRangeStart = 626398, RefRangeEnd = 626402, XrefRangeStart = 626394, XrefRangeEnd = 626398, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
get
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_get_ActiveConstraints_Public_get_IEnumerable_1_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
IntPtr intPtr3 = intPtr;
return (intPtr3 != 0) ? new IEnumerable<int>(intPtr3) : null;
}
}
// Token: 0x06008DC0 RID: 36288 RVA: 0x0024629C File Offset: 0x0024449C
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Abstract_Virtual_New_ConstraintType_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
// Token: 0x06008DC1 RID: 36289 RVA: 0x002462F8 File Offset: 0x002444F8
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_Clear_Public_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DC2 RID: 36290 RVA: 0x00246348 File Offset: 0x00244548
[CallerCount(5802)]
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5826, XrefRangeStart = 24, XrefRangeEnd = 5826, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe virtual void Cook()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiConstraintBatch.NativeMethodInfoPtr_Cook_Public_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DC3 RID: 36291 RVA: 0x00246398 File Offset: 0x00244598
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Abstract_Virtual_New_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DC4 RID: 36292 RVA: 0x002463FC File Offset: 0x002445FC
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Abstract_Virtual_New_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DC5 RID: 36293 RVA: 0x00246460 File Offset: 0x00244660
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Abstract_Virtual_New_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DC6 RID: 36294 RVA: 0x002464C4 File Offset: 0x002446C4
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Abstract_Virtual_New_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DC7 RID: 36295 RVA: 0x00246528 File Offset: 0x00244728
[CallerCount(0)]
public unsafe virtual 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), ObiConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Abstract_Virtual_New_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: 0x06008DC8 RID: 36296 RVA: 0x0024659C File Offset: 0x0024479C
[CallerCount(4)]
[CachedScanResults(RefRangeStart = 626405, RefRangeEnd = 626409, XrefRangeStart = 626402, XrefRangeEnd = 626405, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe float StiffnessToCompliance(float stiffness)
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
checked
{
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref stiffness;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_StiffnessToCompliance_Protected_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
return *IL2CPP.il2cpp_object_unbox(intPtr);
}
}
// Token: 0x06008DC9 RID: 36297 RVA: 0x00246600 File Offset: 0x00244800
[CallerCount(1)]
[CachedScanResults(RefRangeStart = 626415, RefRangeEnd = 626416, XrefRangeStart = 626409, XrefRangeEnd = 626415, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void ActivateConstraint(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(ObiConstraintBatch.NativeMethodInfoPtr_ActivateConstraint_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DCA RID: 36298 RVA: 0x00246654 File Offset: 0x00244854
[CallerCount(3)]
[CachedScanResults(RefRangeStart = 626420, RefRangeEnd = 626423, XrefRangeStart = 626416, XrefRangeEnd = 626420, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void DeactivateConstraint(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(ObiConstraintBatch.NativeMethodInfoPtr_DeactivateConstraint_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DCB RID: 36299 RVA: 0x002466A8 File Offset: 0x002448A8
[CallerCount(7)]
[CachedScanResults(RefRangeStart = 626436, RefRangeEnd = 626443, XrefRangeStart = 626423, XrefRangeEnd = 626436, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe ObiConstraintBatch(bool cooked, bool sharesParticles)
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiConstraintBatch>.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(ObiConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DCC RID: 36300 RVA: 0x00246718 File Offset: 0x00244918
[CallerCount(5)]
[CachedScanResults(RefRangeStart = 626456, RefRangeEnd = 626461, XrefRangeStart = 626443, XrefRangeEnd = 626456, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe ObiConstraintBatch(bool cooked, bool sharesParticles, float minYoungModulus, float maxYoungModulus)
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiConstraintBatch>.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(ObiConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DCD RID: 36301 RVA: 0x002467B0 File Offset: 0x002449B0
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626461, XrefRangeEnd = 626464, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void AddToSolver(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(ObiConstraintBatch.NativeMethodInfoPtr_AddToSolver_Public_Void_ObiBatchedConstraints_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DCE RID: 36302 RVA: 0x0024680C File Offset: 0x00244A0C
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626464, XrefRangeEnd = 626466, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void RemoveFromSolver(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(ObiConstraintBatch.NativeMethodInfoPtr_RemoveFromSolver_Public_Void_ObiBatchedConstraints_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06008DCF RID: 36303 RVA: 0x00246868 File Offset: 0x00244A68
[CallerCount(3)]
[CachedScanResults(RefRangeStart = 626472, RefRangeEnd = 626475, XrefRangeStart = 626466, XrefRangeEnd = 626472, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void SetActiveConstraints()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_SetActiveConstraints_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DD0 RID: 36304 RVA: 0x002468AC File Offset: 0x00244AAC
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626475, XrefRangeEnd = 626476, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Enable()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_Enable_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DD1 RID: 36305 RVA: 0x002468F0 File Offset: 0x00244AF0
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626476, XrefRangeEnd = 626477, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe void Disable()
{
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiConstraintBatch.NativeMethodInfoPtr_Disable_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06008DD2 RID: 36306 RVA: 0x00246934 File Offset: 0x00244B34
// Note: this type is marked as 'beforefieldinit'.
static ObiConstraintBatch()
{
Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiConstraintBatch");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr);
ObiConstraintBatch.NativeFieldInfoPtr_batch = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "batch");
ObiConstraintBatch.NativeFieldInfoPtr_maxYoungModulus = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "maxYoungModulus");
ObiConstraintBatch.NativeFieldInfoPtr_minYoungModulus = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "minYoungModulus");
ObiConstraintBatch.NativeFieldInfoPtr_constraintCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "constraintCount");
ObiConstraintBatch.NativeFieldInfoPtr_cooked = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "cooked");
ObiConstraintBatch.NativeFieldInfoPtr_sharesParticles = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "sharesParticles");
ObiConstraintBatch.NativeFieldInfoPtr_activeConstraints = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "activeConstraints");
ObiConstraintBatch.NativeFieldInfoPtr_phaseSizes = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, "phaseSizes");
ObiConstraintBatch.NativeMethodInfoPtr_get_OniBatch_Public_get_IntPtr_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674192);
ObiConstraintBatch.NativeMethodInfoPtr_get_ConstraintCount_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674193);
ObiConstraintBatch.NativeMethodInfoPtr_get_IsCooked_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674194);
ObiConstraintBatch.NativeMethodInfoPtr_get_SharesParticles_Public_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674195);
ObiConstraintBatch.NativeMethodInfoPtr_get_ActiveConstraints_Public_get_IEnumerable_1_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674196);
ObiConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Abstract_Virtual_New_ConstraintType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674197);
ObiConstraintBatch.NativeMethodInfoPtr_Clear_Public_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674198);
ObiConstraintBatch.NativeMethodInfoPtr_Cook_Public_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674199);
ObiConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Abstract_Virtual_New_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674200);
ObiConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Abstract_Virtual_New_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674201);
ObiConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Abstract_Virtual_New_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674202);
ObiConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Abstract_Virtual_New_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674203);
ObiConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Abstract_Virtual_New_List_1_Int32_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674204);
ObiConstraintBatch.NativeMethodInfoPtr_StiffnessToCompliance_Protected_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674205);
ObiConstraintBatch.NativeMethodInfoPtr_ActivateConstraint_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674206);
ObiConstraintBatch.NativeMethodInfoPtr_DeactivateConstraint_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674207);
ObiConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674208);
ObiConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674209);
ObiConstraintBatch.NativeMethodInfoPtr_AddToSolver_Public_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674210);
ObiConstraintBatch.NativeMethodInfoPtr_RemoveFromSolver_Public_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674211);
ObiConstraintBatch.NativeMethodInfoPtr_SetActiveConstraints_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674212);
ObiConstraintBatch.NativeMethodInfoPtr_Enable_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674213);
ObiConstraintBatch.NativeMethodInfoPtr_Disable_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiConstraintBatch>.NativeClassPtr, 100674214);
}
// Token: 0x06008DD3 RID: 36307 RVA: 0x0000A74C File Offset: 0x0000894C
public ObiConstraintBatch(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17003032 RID: 12338
// (get) Token: 0x06008DD4 RID: 36308 RVA: 0x00246BD0 File Offset: 0x00244DD0
// (set) Token: 0x06008DD5 RID: 36309 RVA: 0x00246BF8 File Offset: 0x00244DF8
public unsafe IntPtr batch
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_batch);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_batch)) = value;
}
}
// Token: 0x17003033 RID: 12339
// (get) Token: 0x06008DD6 RID: 36310 RVA: 0x00246C1C File Offset: 0x00244E1C
// (set) Token: 0x06008DD7 RID: 36311 RVA: 0x00246C44 File Offset: 0x00244E44
public unsafe float maxYoungModulus
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_maxYoungModulus);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_maxYoungModulus)) = value;
}
}
// Token: 0x17003034 RID: 12340
// (get) Token: 0x06008DD8 RID: 36312 RVA: 0x00246C68 File Offset: 0x00244E68
// (set) Token: 0x06008DD9 RID: 36313 RVA: 0x00246C90 File Offset: 0x00244E90
public unsafe float minYoungModulus
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_minYoungModulus);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_minYoungModulus)) = value;
}
}
// Token: 0x17003035 RID: 12341
// (get) Token: 0x06008DDA RID: 36314 RVA: 0x00246CB4 File Offset: 0x00244EB4
// (set) Token: 0x06008DDB RID: 36315 RVA: 0x00246CDC File Offset: 0x00244EDC
public unsafe int constraintCount
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_constraintCount);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_constraintCount)) = value;
}
}
// Token: 0x17003036 RID: 12342
// (get) Token: 0x06008DDC RID: 36316 RVA: 0x00246D00 File Offset: 0x00244F00
// (set) Token: 0x06008DDD RID: 36317 RVA: 0x00246D28 File Offset: 0x00244F28
public unsafe bool cooked
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_cooked);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_cooked)) = value;
}
}
// Token: 0x17003037 RID: 12343
// (get) Token: 0x06008DDE RID: 36318 RVA: 0x00246D4C File Offset: 0x00244F4C
// (set) Token: 0x06008DDF RID: 36319 RVA: 0x00246D74 File Offset: 0x00244F74
public unsafe bool sharesParticles
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_sharesParticles);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_sharesParticles)) = value;
}
}
// Token: 0x17003038 RID: 12344
// (get) Token: 0x06008DE0 RID: 36320 RVA: 0x00246D98 File Offset: 0x00244F98
// (set) Token: 0x06008DE1 RID: 36321 RVA: 0x00246DCC File Offset: 0x00244FCC
public unsafe List<int> activeConstraints
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_activeConstraints);
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(ObiConstraintBatch.NativeFieldInfoPtr_activeConstraints), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17003039 RID: 12345
// (get) Token: 0x06008DE2 RID: 36322 RVA: 0x00246DF4 File Offset: 0x00244FF4
// (set) Token: 0x06008DE3 RID: 36323 RVA: 0x00246E28 File Offset: 0x00245028
public unsafe List<int> phaseSizes
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiConstraintBatch.NativeFieldInfoPtr_phaseSizes);
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(ObiConstraintBatch.NativeFieldInfoPtr_phaseSizes), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x04005E71 RID: 24177
private static readonly IntPtr NativeFieldInfoPtr_batch;
// Token: 0x04005E72 RID: 24178
private static readonly IntPtr NativeFieldInfoPtr_maxYoungModulus;
// Token: 0x04005E73 RID: 24179
private static readonly IntPtr NativeFieldInfoPtr_minYoungModulus;
// Token: 0x04005E74 RID: 24180
private static readonly IntPtr NativeFieldInfoPtr_constraintCount;
// Token: 0x04005E75 RID: 24181
private static readonly IntPtr NativeFieldInfoPtr_cooked;
// Token: 0x04005E76 RID: 24182
private static readonly IntPtr NativeFieldInfoPtr_sharesParticles;
// Token: 0x04005E77 RID: 24183
private static readonly IntPtr NativeFieldInfoPtr_activeConstraints;
// Token: 0x04005E78 RID: 24184
private static readonly IntPtr NativeFieldInfoPtr_phaseSizes;
// Token: 0x04005E79 RID: 24185
private static readonly IntPtr NativeMethodInfoPtr_get_OniBatch_Public_get_IntPtr_0;
// Token: 0x04005E7A RID: 24186
private static readonly IntPtr NativeMethodInfoPtr_get_ConstraintCount_Public_get_Int32_0;
// Token: 0x04005E7B RID: 24187
private static readonly IntPtr NativeMethodInfoPtr_get_IsCooked_Public_get_Boolean_0;
// Token: 0x04005E7C RID: 24188
private static readonly IntPtr NativeMethodInfoPtr_get_SharesParticles_Public_get_Boolean_0;
// Token: 0x04005E7D RID: 24189
private static readonly IntPtr NativeMethodInfoPtr_get_ActiveConstraints_Public_get_IEnumerable_1_Int32_0;
// Token: 0x04005E7E RID: 24190
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintType_Public_Abstract_Virtual_New_ConstraintType_0;
// Token: 0x04005E7F RID: 24191
private static readonly IntPtr NativeMethodInfoPtr_Clear_Public_Abstract_Virtual_New_Void_0;
// Token: 0x04005E80 RID: 24192
private static readonly IntPtr NativeMethodInfoPtr_Cook_Public_Virtual_New_Void_0;
// Token: 0x04005E81 RID: 24193
private static readonly IntPtr NativeMethodInfoPtr_OnAddToSolver_Protected_Abstract_Virtual_New_Void_ObiBatchedConstraints_0;
// Token: 0x04005E82 RID: 24194
private static readonly IntPtr NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Abstract_Virtual_New_Void_ObiBatchedConstraints_0;
// Token: 0x04005E83 RID: 24195
private static readonly IntPtr NativeMethodInfoPtr_PushDataToSolver_Public_Abstract_Virtual_New_Void_ObiBatchedConstraints_0;
// Token: 0x04005E84 RID: 24196
private static readonly IntPtr NativeMethodInfoPtr_PullDataFromSolver_Public_Abstract_Virtual_New_Void_ObiBatchedConstraints_0;
// Token: 0x04005E85 RID: 24197
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Abstract_Virtual_New_List_1_Int32_Int32_0;
// Token: 0x04005E86 RID: 24198
private static readonly IntPtr NativeMethodInfoPtr_StiffnessToCompliance_Protected_Single_Single_0;
// Token: 0x04005E87 RID: 24199
private static readonly IntPtr NativeMethodInfoPtr_ActivateConstraint_Public_Void_Int32_0;
// Token: 0x04005E88 RID: 24200
private static readonly IntPtr NativeMethodInfoPtr_DeactivateConstraint_Public_Void_Int32_0;
// Token: 0x04005E89 RID: 24201
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0;
// Token: 0x04005E8A RID: 24202
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0;
// Token: 0x04005E8B RID: 24203
private static readonly IntPtr NativeMethodInfoPtr_AddToSolver_Public_Void_ObiBatchedConstraints_0;
// Token: 0x04005E8C RID: 24204
private static readonly IntPtr NativeMethodInfoPtr_RemoveFromSolver_Public_Void_ObiBatchedConstraints_0;
// Token: 0x04005E8D RID: 24205
private static readonly IntPtr NativeMethodInfoPtr_SetActiveConstraints_Public_Void_0;
// Token: 0x04005E8E RID: 24206
private static readonly IntPtr NativeMethodInfoPtr_Enable_Public_Void_0;
// Token: 0x04005E8F RID: 24207
private static readonly IntPtr NativeMethodInfoPtr_Disable_Public_Void_0;
}
}