86 lines
2.7 KiB
C#
86 lines
2.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Unity.Burst;
|
|
using Unity.Collections;
|
|
using Unity.Collections.LowLevel.Unsafe;
|
|
using Unity.Jobs;
|
|
using Unity.Mathematics;
|
|
|
|
namespace ClusterLOD
|
|
{
|
|
// Token: 0x02000C80 RID: 3200
|
|
[Token(Token = "0x2000C80")]
|
|
[BurstCompile]
|
|
[StructLayout(0, Size = 88)]
|
|
public struct MapToOldVertsJob : IJobParallelFor
|
|
{
|
|
// Token: 0x06004D11 RID: 19729 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6004D11")]
|
|
[Address(RVA = "0x2AA6C0", Offset = "0x2A9AC0", VA = "0x1802AA6C0")]
|
|
public MapToOldVertsJob(NativeClusterMesh mesh, MeshOptimizationData optimData, float maxVertexSnapDist)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06004D12 RID: 19730 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6004D12")]
|
|
[Address(RVA = "0x2AA690", Offset = "0x2A9A90", VA = "0x1802AA690")]
|
|
private bool IsRemapped(int i)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06004D13 RID: 19731 RVA: 0x0011EF6C File Offset: 0x0011D16C
|
|
[Token(Token = "0x6004D13")]
|
|
[Address(RVA = "0x2AA6A0", Offset = "0x2A9AA0", VA = "0x1802AA6A0")]
|
|
private void MapToOldVerts(MeshComponentInfo info)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06004D14 RID: 19732 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6004D14")]
|
|
[Address(RVA = "0x2AA680", Offset = "0x2A9A80", VA = "0x1802AA680", Slot = "4")]
|
|
public void Execute(int componentIdx)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04003901 RID: 14593
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4003901")]
|
|
[ReadOnly]
|
|
private NativeList<MeshComponentInfo> componentInfo;
|
|
|
|
// Token: 0x04003902 RID: 14594
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4003902")]
|
|
[ReadOnly]
|
|
private NativeList<float3> verts;
|
|
|
|
// Token: 0x04003903 RID: 14595
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4003903")]
|
|
[ReadOnly]
|
|
private float maxSnapDist;
|
|
|
|
// Token: 0x04003904 RID: 14596
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4003904")]
|
|
[NativeDisableContainerSafetyRestriction]
|
|
private NativeArray<int> mapping;
|
|
|
|
// Token: 0x04003905 RID: 14597
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4003905")]
|
|
[NativeDisableContainerSafetyRestriction]
|
|
private NativeArray<float> maxDistSq;
|
|
|
|
// Token: 0x04003906 RID: 14598
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4003906")]
|
|
[NativeDisableContainerSafetyRestriction]
|
|
private NativeArray<int> mappedToOld;
|
|
}
|
|
}
|