Add v1.0.3.1
This commit is contained in:
93
Cpp2IL/Assembly-CSharp/SpatialHashManager.cs
Normal file
93
Cpp2IL/Assembly-CSharp/SpatialHashManager.cs
Normal file
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x0200020A RID: 522
|
||||
[Token(Token = "0x200020A")]
|
||||
public class SpatialHashManager : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06001490 RID: 5264 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001490")]
|
||||
[Address(RVA = "0x11FAD90", Offset = "0x11F9B90", VA = "0x1811FAD90")]
|
||||
public void Init(int stageId)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001491 RID: 5265 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001491")]
|
||||
[Address(RVA = "0x11FA9A0", Offset = "0x11F97A0", VA = "0x1811FA9A0")]
|
||||
public void Add(int id, Vector3 unitPos)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001492 RID: 5266 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001492")]
|
||||
[Address(RVA = "0x11FAFA0", Offset = "0x11F9DA0", VA = "0x1811FAFA0")]
|
||||
public void Remove(int id, Vector3 unitPos)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001493 RID: 5267 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001493")]
|
||||
[Address(RVA = "0x11FABF0", Offset = "0x11F99F0", VA = "0x1811FABF0")]
|
||||
public Dictionary<int, Vector3> FindNearUnits(Vector3 unitPos)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001494 RID: 5268 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001494")]
|
||||
[Address(RVA = "0x11FAB20", Offset = "0x11F9920", VA = "0x1811FAB20")]
|
||||
private Vector2Int ConvertFromWorldToCell(Vector3 pos)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001495 RID: 5269 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001495")]
|
||||
[Address(RVA = "0x11FAC90", Offset = "0x11F9A90", VA = "0x1811FAC90")]
|
||||
private SpatialHashGridData GetSpatialHashGridData(int stageId)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001496 RID: 5270 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6001496")]
|
||||
[Address(RVA = "0x11FB100", Offset = "0x11F9F00", VA = "0x1811FB100")]
|
||||
private bool TryGetValidCellPos(Vector3 pos, out Vector2Int cellPos)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06001497 RID: 5271 RVA: 0x0002EC9C File Offset: 0x0002CE9C
|
||||
[Token(Token = "0x6001497")]
|
||||
[Address(RVA = "0x11FB210", Offset = "0x11FA010", VA = "0x1811FB210")]
|
||||
public SpatialHashManager()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001FC3 RID: 8131
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001FC3")]
|
||||
[SerializeField]
|
||||
private GameSpatialHashSettings spatialHashSettings;
|
||||
|
||||
// Token: 0x04001FC4 RID: 8132
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001FC4")]
|
||||
private SpatialHashGridData spatialHashGridData = new SpatialHashGridData
|
||||
{
|
||||
rowCells = (int)((ulong)16L),
|
||||
columnCells = (int)((ulong)16L),
|
||||
cellSize = (int)((ulong)100L)
|
||||
};
|
||||
|
||||
// Token: 0x04001FC5 RID: 8133
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001FC5")]
|
||||
private Dictionary<int, Vector3>[,] cells;
|
||||
}
|
||||
Reference in New Issue
Block a user