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

// Token: 0x0200023E RID: 574
public class GameSpatialHashSettings : ScriptableObject
{
	// Token: 0x17001DAB RID: 7595
	// (get) Token: 0x06005350 RID: 21328 RVA: 0x0014BA0C File Offset: 0x00149C0C
	public unsafe SpatialHashGridDataMap GridDataMap
	{
		[CallerCount(10)]
		[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, 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: 0x06005351 RID: 21329 RVA: 0x0014BA64 File Offset: 0x00149C64
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 215174, RefRangeEnd = 215176, XrefRangeStart = 215174, XrefRangeEnd = 215176, 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: 0x06005352 RID: 21330 RVA: 0x0014BAB0 File Offset: 0x00149CB0
	// 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, 100668877);
		GameSpatialHashSettings.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameSpatialHashSettings>.NativeClassPtr, 100668878);
	}

	// Token: 0x06005353 RID: 21331 RVA: 0x00009E64 File Offset: 0x00008064
	public GameSpatialHashSettings(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001DAA RID: 7594
	// (get) Token: 0x06005354 RID: 21332 RVA: 0x0014BB1C File Offset: 0x00149D1C
	// (set) Token: 0x06005355 RID: 21333 RVA: 0x0014BB50 File Offset: 0x00149D50
	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: 0x040036CA RID: 14026
	private static readonly IntPtr NativeFieldInfoPtr_gridDataMap;

	// Token: 0x040036CB RID: 14027
	private static readonly IntPtr NativeMethodInfoPtr_get_GridDataMap_Public_get_SpatialHashGridDataMap_0;

	// Token: 0x040036CC RID: 14028
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
