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

// Token: 0x020001FF RID: 511
[Serializable]
public class SpatialHashGridData : Object
{
	// Token: 0x06004DEE RID: 19950 RVA: 0x001353FC File Offset: 0x001335FC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 548445, XrefRangeEnd = 548446, 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: 0x06004DEF RID: 19951 RVA: 0x00135448 File Offset: 0x00133648
	// 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, 100668423);
	}

	// Token: 0x06004DF0 RID: 19952 RVA: 0x0000A688 File Offset: 0x00008888
	public SpatialHashGridData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C0F RID: 7183
	// (get) Token: 0x06004DF1 RID: 19953 RVA: 0x001354C8 File Offset: 0x001336C8
	// (set) Token: 0x06004DF2 RID: 19954 RVA: 0x001354F0 File Offset: 0x001336F0
	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: 0x17001C10 RID: 7184
	// (get) Token: 0x06004DF3 RID: 19955 RVA: 0x00135514 File Offset: 0x00133714
	// (set) Token: 0x06004DF4 RID: 19956 RVA: 0x0013553C File Offset: 0x0013373C
	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: 0x17001C11 RID: 7185
	// (get) Token: 0x06004DF5 RID: 19957 RVA: 0x00135560 File Offset: 0x00133760
	// (set) Token: 0x06004DF6 RID: 19958 RVA: 0x00135588 File Offset: 0x00133788
	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: 0x0400332A RID: 13098
	private static readonly IntPtr NativeFieldInfoPtr_rowCells;

	// Token: 0x0400332B RID: 13099
	private static readonly IntPtr NativeFieldInfoPtr_columnCells;

	// Token: 0x0400332C RID: 13100
	private static readonly IntPtr NativeFieldInfoPtr_cellSize;

	// Token: 0x0400332D RID: 13101
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
