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

// Token: 0x02000240 RID: 576
[Serializable]
public class SpatialHashGridData : Object
{
	// Token: 0x06005359 RID: 21337 RVA: 0x0014BC08 File Offset: 0x00149E08
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 576611, XrefRangeEnd = 576612, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SpatialHashGridData()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SpatialHashGridData.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600535A RID: 21338 RVA: 0x0014BC54 File Offset: 0x00149E54
	// Note: this type is marked as 'beforefieldinit'.
	static SpatialHashGridData()
	{
		Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SpatialHashGridData");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr);
		SpatialHashGridData.NativeFieldInfoPtr_rowCells = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr, "rowCells");
		SpatialHashGridData.NativeFieldInfoPtr_columnCells = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr, "columnCells");
		SpatialHashGridData.NativeFieldInfoPtr_cellSize = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr, "cellSize");
		SpatialHashGridData.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SpatialHashGridData>.NativeClassPtr, 100668880);
	}

	// Token: 0x0600535B RID: 21339 RVA: 0x0000A74C File Offset: 0x0000894C
	public SpatialHashGridData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001DAC RID: 7596
	// (get) Token: 0x0600535C RID: 21340 RVA: 0x0014BCD4 File Offset: 0x00149ED4
	// (set) Token: 0x0600535D RID: 21341 RVA: 0x0014BCFC File Offset: 0x00149EFC
	public unsafe int rowCells
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SpatialHashGridData.NativeFieldInfoPtr_rowCells);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SpatialHashGridData.NativeFieldInfoPtr_rowCells)) = value;
		}
	}

	// Token: 0x17001DAD RID: 7597
	// (get) Token: 0x0600535E RID: 21342 RVA: 0x0014BD20 File Offset: 0x00149F20
	// (set) Token: 0x0600535F RID: 21343 RVA: 0x0014BD48 File Offset: 0x00149F48
	public unsafe int columnCells
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SpatialHashGridData.NativeFieldInfoPtr_columnCells);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SpatialHashGridData.NativeFieldInfoPtr_columnCells)) = value;
		}
	}

	// Token: 0x17001DAE RID: 7598
	// (get) Token: 0x06005360 RID: 21344 RVA: 0x0014BD6C File Offset: 0x00149F6C
	// (set) Token: 0x06005361 RID: 21345 RVA: 0x0014BD94 File Offset: 0x00149F94
	public unsafe int cellSize
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SpatialHashGridData.NativeFieldInfoPtr_cellSize);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SpatialHashGridData.NativeFieldInfoPtr_cellSize)) = value;
		}
	}

	// Token: 0x040036CE RID: 14030
	private static readonly IntPtr NativeFieldInfoPtr_rowCells;

	// Token: 0x040036CF RID: 14031
	private static readonly IntPtr NativeFieldInfoPtr_columnCells;

	// Token: 0x040036D0 RID: 14032
	private static readonly IntPtr NativeFieldInfoPtr_cellSize;

	// Token: 0x040036D1 RID: 14033
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
