104 lines
5.0 KiB
C#
104 lines
5.0 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes;
|
|
using Il2CppSystem;
|
|
|
|
namespace Obi
|
|
{
|
|
// Token: 0x020004F1 RID: 1265
|
|
public class IObiSolverClient : Il2CppObjectBase
|
|
{
|
|
// Token: 0x0600908B RID: 37003 RVA: 0x00252C90 File Offset: 0x00250E90
|
|
[CallerCount(0)]
|
|
public unsafe virtual bool AddToSolver(Object info)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(info);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IObiSolverClient.NativeMethodInfoPtr_AddToSolver_Public_Abstract_Virtual_New_Boolean_Object_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600908C RID: 37004 RVA: 0x00252D04 File Offset: 0x00250F04
|
|
[CallerCount(0)]
|
|
public unsafe virtual bool RemoveFromSolver(Object info)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(info);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IObiSolverClient.NativeMethodInfoPtr_RemoveFromSolver_Public_Abstract_Virtual_New_Boolean_Object_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600908D RID: 37005 RVA: 0x00252D78 File Offset: 0x00250F78
|
|
[CallerCount(0)]
|
|
public unsafe virtual void PushDataToSolver(ParticleData data = ParticleData.NONE)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref data;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IObiSolverClient.NativeMethodInfoPtr_PushDataToSolver_Public_Abstract_Virtual_New_Void_ParticleData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600908E RID: 37006 RVA: 0x00252DD8 File Offset: 0x00250FD8
|
|
[CallerCount(0)]
|
|
public unsafe virtual void PullDataFromSolver(ParticleData data = ParticleData.NONE)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref data;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IObiSolverClient.NativeMethodInfoPtr_PullDataFromSolver_Public_Abstract_Virtual_New_Void_ParticleData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600908F RID: 37007 RVA: 0x00252E38 File Offset: 0x00251038
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static IObiSolverClient()
|
|
{
|
|
Il2CppClassPointerStore<IObiSolverClient>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "IObiSolverClient");
|
|
IObiSolverClient.NativeMethodInfoPtr_AddToSolver_Public_Abstract_Virtual_New_Boolean_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IObiSolverClient>.NativeClassPtr, 100674491);
|
|
IObiSolverClient.NativeMethodInfoPtr_RemoveFromSolver_Public_Abstract_Virtual_New_Boolean_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IObiSolverClient>.NativeClassPtr, 100674492);
|
|
IObiSolverClient.NativeMethodInfoPtr_PushDataToSolver_Public_Abstract_Virtual_New_Void_ParticleData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IObiSolverClient>.NativeClassPtr, 100674493);
|
|
IObiSolverClient.NativeMethodInfoPtr_PullDataFromSolver_Public_Abstract_Virtual_New_Void_ParticleData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IObiSolverClient>.NativeClassPtr, 100674494);
|
|
}
|
|
|
|
// Token: 0x06009090 RID: 37008 RVA: 0x000EE522 File Offset: 0x000EC722
|
|
public IObiSolverClient(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04006065 RID: 24677
|
|
private static readonly IntPtr NativeMethodInfoPtr_AddToSolver_Public_Abstract_Virtual_New_Boolean_Object_0;
|
|
|
|
// Token: 0x04006066 RID: 24678
|
|
private static readonly IntPtr NativeMethodInfoPtr_RemoveFromSolver_Public_Abstract_Virtual_New_Boolean_Object_0;
|
|
|
|
// Token: 0x04006067 RID: 24679
|
|
private static readonly IntPtr NativeMethodInfoPtr_PushDataToSolver_Public_Abstract_Virtual_New_Void_ParticleData_0;
|
|
|
|
// Token: 0x04006068 RID: 24680
|
|
private static readonly IntPtr NativeMethodInfoPtr_PullDataFromSolver_Public_Abstract_Virtual_New_Void_ParticleData_0;
|
|
}
|
|
}
|