Files
NobetaSource/Cpp2IL/Assembly-CSharp/SpatialHashManager.cs
2023-09-06 22:19:13 +02:00

94 lines
3.2 KiB
C#

using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x0200024B RID: 587
[Token(Token = "0x200024B")]
public class SpatialHashManager : MonoBehaviour
{
// Token: 0x0600165B RID: 5723 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600165B")]
[Address(RVA = "0x1468E70", Offset = "0x1467E70", VA = "0x181468E70")]
public void Init(int stageId)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600165C RID: 5724 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600165C")]
[Address(RVA = "0x1468A80", Offset = "0x1467A80", VA = "0x181468A80")]
public void Add(int id, Vector3 unitPos)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600165D RID: 5725 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600165D")]
[Address(RVA = "0x1469080", Offset = "0x1468080", VA = "0x181469080")]
public void Remove(int id, Vector3 unitPos)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600165E RID: 5726 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600165E")]
[Address(RVA = "0x1468CD0", Offset = "0x1467CD0", VA = "0x181468CD0")]
public Dictionary<int, Vector3> FindNearUnits(Vector3 unitPos)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600165F RID: 5727 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600165F")]
[Address(RVA = "0x1468C00", Offset = "0x1467C00", VA = "0x181468C00")]
private Vector2Int ConvertFromWorldToCell(Vector3 pos)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06001660 RID: 5728 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6001660")]
[Address(RVA = "0x1468D70", Offset = "0x1467D70", VA = "0x181468D70")]
private SpatialHashGridData GetSpatialHashGridData(int stageId)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06001661 RID: 5729 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6001661")]
[Address(RVA = "0x14691E0", Offset = "0x14681E0", VA = "0x1814691E0")]
private bool TryGetValidCellPos(Vector3 pos, out Vector2Int cellPos)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06001662 RID: 5730 RVA: 0x000329C4 File Offset: 0x00030BC4
[Token(Token = "0x6001662")]
[Address(RVA = "0x14692F0", Offset = "0x14682F0", VA = "0x1814692F0")]
public SpatialHashManager()
{
}
// Token: 0x040021AC RID: 8620
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40021AC")]
[SerializeField]
private GameSpatialHashSettings spatialHashSettings;
// Token: 0x040021AD RID: 8621
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40021AD")]
private SpatialHashGridData spatialHashGridData = new SpatialHashGridData
{
rowCells = (int)((ulong)16L),
columnCells = (int)((ulong)16L),
cellSize = (int)((ulong)100L)
};
// Token: 0x040021AE RID: 8622
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40021AE")]
private Dictionary<int, Vector3>[,] cells;
}