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

// Token: 0x020001FD RID: 509
public class GameSpatialHashSettings : ScriptableObject
{
	// Token: 0x17001C0E RID: 7182
	// (get) Token: 0x06004DE5 RID: 19941 RVA: 0x00135200 File Offset: 0x00133400
	public unsafe SpatialHashGridDataMap GridDataMap
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameSpatialHashSettings.NativeMethodInfoPtr_get_GridDataMap_Public_get_SpatialHashGridDataMap_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new SpatialHashGridDataMap(intPtr3) : null;
		}
	}

	// Token: 0x06004DE6 RID: 19942 RVA: 0x00135258 File Offset: 0x00133458
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 207296, RefRangeEnd = 207299, XrefRangeStart = 207296, XrefRangeEnd = 207299, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameSpatialHashSettings()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameSpatialHashSettings.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004DE7 RID: 19943 RVA: 0x001352A4 File Offset: 0x001334A4
	// Note: this type is marked as 'beforefieldinit'.
	static GameSpatialHashSettings()
	{
		Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameSpatialHashSettings");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr);
		GameSpatialHashSettings.NativeFieldInfoPtr_gridDataMap = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr, "gridDataMap");
		GameSpatialHashSettings.NativeMethodInfoPtr_get_GridDataMap_Public_get_SpatialHashGridDataMap_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr, 100668420);
		GameSpatialHashSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr, 100668421);
	}

	// Token: 0x06004DE8 RID: 19944 RVA: 0x00009DEC File Offset: 0x00007FEC
	public GameSpatialHashSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C0D RID: 7181
	// (get) Token: 0x06004DE9 RID: 19945 RVA: 0x00135310 File Offset: 0x00133510
	// (set) Token: 0x06004DEA RID: 19946 RVA: 0x00135344 File Offset: 0x00133544
	public unsafe SpatialHashGridDataMap gridDataMap
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSpatialHashSettings.NativeFieldInfoPtr_gridDataMap);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SpatialHashGridDataMap(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameSpatialHashSettings.NativeFieldInfoPtr_gridDataMap), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003326 RID: 13094
	private static readonly IntPtr NativeFieldInfoPtr_gridDataMap;

	// Token: 0x04003327 RID: 13095
	private static readonly IntPtr NativeMethodInfoPtr_get_GridDataMap_Public_get_SpatialHashGridDataMap_0;

	// Token: 0x04003328 RID: 13096
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
