359 lines
20 KiB
C#
359 lines
20 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: 0x020004C9 RID: 1225
|
|
[Serializable]
|
|
public class ObiTetherConstraintBatch : ObiConstraintBatch
|
|
{
|
|
// Token: 0x06008E34 RID: 36404 RVA: 0x00248A80 File Offset: 0x00246C80
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 627262, RefRangeEnd = 627263, XrefRangeStart = 627236, XrefRangeEnd = 627262, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ObiTetherConstraintBatch(bool cooked, bool sharesParticles)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiTetherConstraintBatch>.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(ObiTetherConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E35 RID: 36405 RVA: 0x00248AF0 File Offset: 0x00246CF0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627263, XrefRangeEnd = 627289, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ObiTetherConstraintBatch(bool cooked, bool sharesParticles, float minYoungModulus, float maxYoungModulus)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiTetherConstraintBatch>.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(ObiTetherConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E36 RID: 36406 RVA: 0x00248B88 File Offset: 0x00246D88
|
|
[CallerCount(28)]
|
|
[CachedScanResults(RefRangeStart = 16328, RefRangeEnd = 16356, XrefRangeStart = 16328, XrefRangeEnd = 16356, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
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), ObiTetherConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06008E37 RID: 36407 RVA: 0x00248BE4 File Offset: 0x00246DE4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627289, XrefRangeEnd = 627300, 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), ObiTetherConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E38 RID: 36408 RVA: 0x00248C34 File Offset: 0x00246E34
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 627313, RefRangeEnd = 627314, XrefRangeStart = 627300, XrefRangeEnd = 627313, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void AddConstraint(int index1, int index2, float maxLength, float scale, float stiffness)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref index1;
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref index2;
|
|
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref maxLength;
|
|
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref scale;
|
|
ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref stiffness;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiTetherConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Int32_Int32_Single_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E39 RID: 36409 RVA: 0x00248CD4 File Offset: 0x00246ED4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627314, XrefRangeEnd = 627335, 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(ObiTetherConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E3A RID: 36410 RVA: 0x00248D28 File Offset: 0x00246F28
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627335, XrefRangeEnd = 627348, 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), ObiTetherConstraintBatch.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: 0x06008E3B RID: 36411 RVA: 0x00248D9C File Offset: 0x00246F9C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627348, XrefRangeEnd = 627408, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override 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), ObiTetherConstraintBatch.NativeMethodInfoPtr_Cook_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008E3C RID: 36412 RVA: 0x00248DEC File Offset: 0x00246FEC
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627408, XrefRangeEnd = 627416, 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), ObiTetherConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E3D RID: 36413 RVA: 0x00248E50 File Offset: 0x00247050
|
|
[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), ObiTetherConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E3E RID: 36414 RVA: 0x00248EB4 File Offset: 0x002470B4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627416, XrefRangeEnd = 627446, 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), ObiTetherConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E3F RID: 36415 RVA: 0x00248F18 File Offset: 0x00247118
|
|
[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), ObiTetherConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008E40 RID: 36416 RVA: 0x00248F7C File Offset: 0x0024717C
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static ObiTetherConstraintBatch()
|
|
{
|
|
Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiTetherConstraintBatch");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr);
|
|
ObiTetherConstraintBatch.NativeFieldInfoPtr_tetherIndices = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, "tetherIndices");
|
|
ObiTetherConstraintBatch.NativeFieldInfoPtr_maxLengthsScales = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, "maxLengthsScales");
|
|
ObiTetherConstraintBatch.NativeFieldInfoPtr_stiffnesses = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, "stiffnesses");
|
|
ObiTetherConstraintBatch.NativeFieldInfoPtr_solverIndices = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, "solverIndices");
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674255);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674256);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674257);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674258);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Int32_Int32_Single_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674259);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674260);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674261);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_Cook_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674262);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674263);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674264);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674265);
|
|
ObiTetherConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiTetherConstraintBatch>.NativeClassPtr, 100674266);
|
|
}
|
|
|
|
// Token: 0x06008E41 RID: 36417 RVA: 0x00245674 File Offset: 0x00243874
|
|
public ObiTetherConstraintBatch(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003050 RID: 12368
|
|
// (get) Token: 0x06008E42 RID: 36418 RVA: 0x002490EC File Offset: 0x002472EC
|
|
// (set) Token: 0x06008E43 RID: 36419 RVA: 0x00249120 File Offset: 0x00247320
|
|
public unsafe List<int> tetherIndices
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiTetherConstraintBatch.NativeFieldInfoPtr_tetherIndices);
|
|
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(ObiTetherConstraintBatch.NativeFieldInfoPtr_tetherIndices), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003051 RID: 12369
|
|
// (get) Token: 0x06008E44 RID: 36420 RVA: 0x00249148 File Offset: 0x00247348
|
|
// (set) Token: 0x06008E45 RID: 36421 RVA: 0x0024917C File Offset: 0x0024737C
|
|
public unsafe List<Vector2> maxLengthsScales
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiTetherConstraintBatch.NativeFieldInfoPtr_maxLengthsScales);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<Vector2>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiTetherConstraintBatch.NativeFieldInfoPtr_maxLengthsScales), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003052 RID: 12370
|
|
// (get) Token: 0x06008E46 RID: 36422 RVA: 0x002491A4 File Offset: 0x002473A4
|
|
// (set) Token: 0x06008E47 RID: 36423 RVA: 0x002491D8 File Offset: 0x002473D8
|
|
public unsafe List<float> stiffnesses
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiTetherConstraintBatch.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(ObiTetherConstraintBatch.NativeFieldInfoPtr_stiffnesses), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003053 RID: 12371
|
|
// (get) Token: 0x06008E48 RID: 36424 RVA: 0x00249200 File Offset: 0x00247400
|
|
// (set) Token: 0x06008E49 RID: 36425 RVA: 0x00249234 File Offset: 0x00247434
|
|
public unsafe Il2CppStructArray<int> solverIndices
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiTetherConstraintBatch.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(ObiTetherConstraintBatch.NativeFieldInfoPtr_solverIndices), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005ECC RID: 24268
|
|
private static readonly IntPtr NativeFieldInfoPtr_tetherIndices;
|
|
|
|
// Token: 0x04005ECD RID: 24269
|
|
private static readonly IntPtr NativeFieldInfoPtr_maxLengthsScales;
|
|
|
|
// Token: 0x04005ECE RID: 24270
|
|
private static readonly IntPtr NativeFieldInfoPtr_stiffnesses;
|
|
|
|
// Token: 0x04005ECF RID: 24271
|
|
private static readonly IntPtr NativeFieldInfoPtr_solverIndices;
|
|
|
|
// Token: 0x04005ED0 RID: 24272
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0;
|
|
|
|
// Token: 0x04005ED1 RID: 24273
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_Single_Single_0;
|
|
|
|
// Token: 0x04005ED2 RID: 24274
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0;
|
|
|
|
// Token: 0x04005ED3 RID: 24275
|
|
private static readonly IntPtr NativeMethodInfoPtr_Clear_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04005ED4 RID: 24276
|
|
private static readonly IntPtr NativeMethodInfoPtr_AddConstraint_Public_Void_Int32_Int32_Single_Single_Single_0;
|
|
|
|
// Token: 0x04005ED5 RID: 24277
|
|
private static readonly IntPtr NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0;
|
|
|
|
// Token: 0x04005ED6 RID: 24278
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0;
|
|
|
|
// Token: 0x04005ED7 RID: 24279
|
|
private static readonly IntPtr NativeMethodInfoPtr_Cook_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04005ED8 RID: 24280
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005ED9 RID: 24281
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005EDA RID: 24282
|
|
private static readonly IntPtr NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005EDB RID: 24283
|
|
private static readonly IntPtr NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
}
|
|
}
|