using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;

namespace Obi
{
	// Token: 0x020004F2 RID: 1266
	public class ObiAmbientForceZone : ObiExternalForce
	{
		// Token: 0x060090C1 RID: 37057 RVA: 0x00253CB8 File Offset: 0x00251EB8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612319, XrefRangeEnd = 612334, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void ApplyForcesToActor(ObiActor actor)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(actor);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiAmbientForceZone.NativeMethodInfoPtr_ApplyForcesToActor_Public_Virtual_Void_ObiActor_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090C2 RID: 37058 RVA: 0x00253D1C File Offset: 0x00251F1C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612334, XrefRangeEnd = 612342, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnDrawGizmosSelected()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAmbientForceZone.NativeMethodInfoPtr_OnDrawGizmosSelected_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090C3 RID: 37059 RVA: 0x00253D60 File Offset: 0x00251F60
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 516526, RefRangeEnd = 516527, XrefRangeStart = 516526, XrefRangeEnd = 516527, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe ObiAmbientForceZone()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiAmbientForceZone.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090C4 RID: 37060 RVA: 0x00253DAC File Offset: 0x00251FAC
		// Note: this type is marked as 'beforefieldinit'.
		static ObiAmbientForceZone()
		{
			Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiAmbientForceZone");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr);
			ObiAmbientForceZone.NativeMethodInfoPtr_ApplyForcesToActor_Public_Virtual_Void_ObiActor_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr, 100674526);
			ObiAmbientForceZone.NativeMethodInfoPtr_OnDrawGizmosSelected_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr, 100674527);
			ObiAmbientForceZone.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr, 100674528);
		}

		// Token: 0x060090C5 RID: 37061 RVA: 0x00253E18 File Offset: 0x00252018
		public ObiAmbientForceZone(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x04006089 RID: 24713
		private static readonly IntPtr NativeMethodInfoPtr_ApplyForcesToActor_Public_Virtual_Void_ObiActor_0;

		// Token: 0x0400608A RID: 24714
		private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmosSelected_Public_Void_0;

		// Token: 0x0400608B RID: 24715
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
