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

namespace Obi
{
	// Token: 0x0200054A RID: 1354
	public class ObiAmbientForceZone : ObiExternalForce
	{
		// Token: 0x06009914 RID: 39188 RVA: 0x002769F4 File Offset: 0x00274BF4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 644629, XrefRangeEnd = 644644, 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: 0x06009915 RID: 39189 RVA: 0x00276A58 File Offset: 0x00274C58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 644644, XrefRangeEnd = 644652, 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: 0x06009916 RID: 39190 RVA: 0x00276A9C File Offset: 0x00274C9C
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 541431, RefRangeEnd = 541432, XrefRangeStart = 541431, XrefRangeEnd = 541432, 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: 0x06009917 RID: 39191 RVA: 0x00276AE8 File Offset: 0x00274CE8
		// 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, 100675239);
			ObiAmbientForceZone.NativeMethodInfoPtr_OnDrawGizmosSelected_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr, 100675240);
			ObiAmbientForceZone.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiAmbientForceZone>.NativeClassPtr, 100675241);
		}

		// Token: 0x06009918 RID: 39192 RVA: 0x00276B54 File Offset: 0x00274D54
		public ObiAmbientForceZone(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x04006632 RID: 26162
		private static readonly IntPtr NativeMethodInfoPtr_ApplyForcesToActor_Public_Virtual_Void_ObiActor_0;

		// Token: 0x04006633 RID: 26163
		private static readonly IntPtr NativeMethodInfoPtr_OnDrawGizmosSelected_Public_Void_0;

		// Token: 0x04006634 RID: 26164
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
