27665 lines
1.2 MiB
27665 lines
1.2 MiB
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
template <typename R>
|
|
struct VirtualFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
struct InterfaceActionInvoker0
|
|
{
|
|
typedef void (*Action)(void*, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
((Action)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R>
|
|
struct InterfaceFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>
|
|
struct Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00;
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
|
|
struct Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907;
|
|
// System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>
|
|
struct Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739;
|
|
// System.Collections.Generic.IEnumerable`1<System.Object>
|
|
struct IEnumerable_1_tF95C9E01A913DD50575531C8305932628663D9E9;
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Vector3>
|
|
struct IEnumerable_1_t9E2774F577334D1C2B3BC9BB4E27B22E933C9B8E;
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.PolyMesh/Polygon>
|
|
struct IEnumerable_1_tB0A8CD78E0C197D30C04B395DF10A40B374ACD1F;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Contour>
|
|
struct IEnumerator_1_t4FA063BFCA025A8B3C50C3C11FBC753055F94E61;
|
|
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
|
|
struct IEqualityComparer_1_tDBFC8496F14612776AF930DBF84AFE7D06D1F0E9;
|
|
// System.Collections.Generic.IEqualityComparer`1<SharpNav.PolyVertex>
|
|
struct IEqualityComparer_1_t0FD4B6D25953B6276A1247EB4CC2EE7E1B0F4168;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,SharpNav.Node>
|
|
struct KeyCollection_tDB8CBE472521FDB91BDCC64282F65267E66E70F9;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<SharpNav.PolyVertex,System.Int32>
|
|
struct KeyCollection_t7ADD862083FEA90B9D987E4D439DA6BDF230B8A8;
|
|
// System.Collections.Generic.List`1<SharpNav.Area>
|
|
struct List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950;
|
|
// System.Collections.Generic.List`1<SharpNav.CompactSpanReference>
|
|
struct List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6;
|
|
// System.Collections.Generic.List`1<SharpNav.Contour>
|
|
struct List_1_t7CC50296A6942A19C2E403B7E248E50334BAB2EE;
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
|
|
// System.Collections.Generic.List`1<SharpNav.Node>
|
|
struct List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939;
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyVertex>
|
|
struct List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05;
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId>
|
|
struct List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179;
|
|
// System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>
|
|
struct List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>
|
|
struct List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>
|
|
struct List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>
|
|
struct List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>
|
|
struct List_1_tF922D3843C83052A9745AB290FA26E6B776A705D;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>
|
|
struct List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932;
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>
|
|
struct List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6;
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>
|
|
struct PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D;
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<System.Object>
|
|
struct PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99;
|
|
// System.Collections.Generic.Queue`1<System.Int32>
|
|
struct Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E;
|
|
// System.Collections.Generic.Queue`1<SharpNav.Node>
|
|
struct Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB;
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
struct Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,SharpNav.Node>
|
|
struct ValueCollection_tD0EF4281AFCE1E3959C5692D19834EF9386EB1F5;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<SharpNav.PolyVertex,System.Int32>
|
|
struct ValueCollection_t31ED4238800D34CCB7C7D974FC76F36426F0E816;
|
|
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,SharpNav.Node>[]
|
|
struct EntryU5BU5D_t2D235A92D3378B23DDD82DC2DF7A5408C2B2A45C;
|
|
// System.Collections.Generic.Dictionary`2/Entry<SharpNav.PolyVertex,System.Int32>[]
|
|
struct EntryU5BU5D_t3CDBFAA114B33A23A43D997837B7F1DB5E508B1A;
|
|
// SharpNav.Area[]
|
|
struct AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD;
|
|
// SharpNav.CompactCell[]
|
|
struct CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86;
|
|
// SharpNav.CompactSpan[]
|
|
struct CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9;
|
|
// SharpNav.CompactSpanReference[]
|
|
struct CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E;
|
|
// SharpNav.ContourVertex[]
|
|
struct ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// SharpNav.Pathfinding.Link[]
|
|
struct LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4;
|
|
// SharpNav.Pathfinding.MeshTile[]
|
|
struct MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE;
|
|
// SharpNav.Node[]
|
|
struct NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// SharpNav.Pathfinding.OffMeshConnection[]
|
|
struct OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923;
|
|
// SharpNav.Pathfinding.Poly[]
|
|
struct PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812;
|
|
// SharpNav.PolyVertex[]
|
|
struct PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397;
|
|
// SharpNav.RegionId[]
|
|
struct RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6;
|
|
// System.Single[]
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
// SharpNav.Geometry.Vector3[]
|
|
struct Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3;
|
|
// SharpNav.Crowds.LocalBoundary/Segment[]
|
|
struct SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0;
|
|
// SharpNav.NavMeshQuery/SegInterval[]
|
|
struct SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB;
|
|
// SharpNav.PolyMesh/AdjacencyEdge[]
|
|
struct AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4;
|
|
// SharpNav.PolyMesh/Edge[]
|
|
struct EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1;
|
|
// SharpNav.PolyMesh/Polygon[]
|
|
struct PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D;
|
|
// SharpNav.PolyMesh/Triangle[]
|
|
struct TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC;
|
|
// SharpNav.PolyMeshDetail/EdgeInfo[]
|
|
struct EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C;
|
|
// SharpNav.PolyMeshDetail/MeshData[]
|
|
struct MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1;
|
|
// SharpNav.PolyMeshDetail/SamplingData[]
|
|
struct SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17;
|
|
// SharpNav.PolyMeshDetail/TriangleData[]
|
|
struct TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484;
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
|
|
// System.ArgumentOutOfRangeException
|
|
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
|
|
// SharpNav.Collections.BVTree
|
|
struct BVTree_t626E20B2799F0707AB781431B7ED171053FC9966;
|
|
// SharpNav.CompactHeightfield
|
|
struct CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577;
|
|
// SharpNav.Contour
|
|
struct Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318;
|
|
// SharpNav.ContourSet
|
|
struct ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C;
|
|
// SharpNav.HeightPatch
|
|
struct HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// System.InvalidOperationException
|
|
struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB;
|
|
// SharpNav.Pathfinding.Link
|
|
struct Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1;
|
|
// SharpNav.Pathfinding.MeshTile
|
|
struct MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705;
|
|
// SharpNav.NavMeshBuilder
|
|
struct NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358;
|
|
// SharpNav.NavMeshGenerationSettings
|
|
struct NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC;
|
|
// SharpNav.NavMeshQuery
|
|
struct NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9;
|
|
// SharpNav.Node
|
|
struct Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9;
|
|
// SharpNav.NodePool
|
|
struct NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D;
|
|
// SharpNav.Pathfinding.Poly
|
|
struct Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E;
|
|
// SharpNav.PolyMesh
|
|
struct PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98;
|
|
// SharpNav.PolyMeshDetail
|
|
struct PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764;
|
|
// System.Random
|
|
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// System.String
|
|
struct String_t;
|
|
// SharpNav.TiledNavMesh
|
|
struct TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// SharpNav.NodePool/IntNodeIdComparer
|
|
struct IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D;
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
struct NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4;
|
|
// SharpNav.PolyMesh/Polygon
|
|
struct Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF;
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
struct RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Console_t5EDF9498D011BD48287171978EDBBA6964829C3E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* DirectionExtensions_t1843D176007819AD9058F1D2AA15E93C4EFEC65C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_t4FA063BFCA025A8B3C50C3C11FBC753055F94E61_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tF922D3843C83052A9745AB290FA26E6B776A705D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tC9E5EE95B9D6A7499EECF71A1A7C49FEEB5A2BC5____20BA2A5A9B0F14A09F1041D9777D4939DEE4A99BCD886EAF042AFA8F88FE4EAC_0_FieldInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tC9E5EE95B9D6A7499EECF71A1A7C49FEEB5A2BC5____59BB880FFDB62657EF545B3D28A8F499E40D63558A468B3C8DF30DA447BC8C96_1_FieldInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral293F36DD856E0E5DB89039083854F0C3CE36BD49;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3A905720095043D99FC746A13C7FC347A22B4E7A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6479B6ED661BCD67CC08A034895BB387E35A78D7;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral732D5CF125F95C8A2EEFBAAF5063FEA78D376FCA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7F6E48A4B97FD437CA66AB49C8EBAA931D1665D4;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8558D91A9231413C58B3640A48A390EF5450B3DF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8E515499DC1CCB78AADD7996F58FF33557E3FA31;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9CCE2C72D1E92AB258C83A51C62232ACD18AB0AD;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCCF3D1CF65E23AAF943A38EBE795E83471F17D3E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD9691C4FD8A1F6B09DB1147CA32B442772FB46A1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE166C9564FBDE461738077E3B1B506525EB6ACCC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFB1B810C9C2E7A5A843244AD4450CAA29EF689F1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFD277274E8A639024A6C8D500C0085CCF50D132C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFD4941BD54FFB81A254B840F3A114118CF384A03;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m0B32233F837031C2F349BA82671AD99CEBA6A60F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Clear_mF48591DE3AC1CC42E833D719D05A580728F61FE3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m0814AB5075ED6B9F033C2116D50A2DC8DC8DF54F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m22A22BEB3E509EC035D62FE3643E7352AFA9D70E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m96D47E2C7B7E90F1FE9C68D874790D4F7B2BEB36_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m6158FC7DD991D6A7EA164B04D9DD674CDC762620_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mB923C63CBB254001A3638CFCD98ED55973FE6366_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_mA09EF4722BC67430E3C0F4B5CDEDB023B5FEB350_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m0272462D39FB633159D6C89F72FA8BB514E2D8B7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1__ctor_mC3ABFCC0BE62D0F04FF62CF70D76CF794734F7ED_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_Dequeue_m8954A5AB013EE0381246EF55A8D57C5C3970BA29_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1__ctor_m1754D1D24F217349188E361976540EED39B31CB0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_RuntimeMethod_var;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD;
|
|
struct BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11;
|
|
struct CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86;
|
|
struct CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9;
|
|
struct CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E;
|
|
struct ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16;
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
struct LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4;
|
|
struct MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE;
|
|
struct NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812;
|
|
struct PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397;
|
|
struct RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6;
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
struct Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3;
|
|
struct SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0;
|
|
struct SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB;
|
|
struct AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4;
|
|
struct EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1;
|
|
struct PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D;
|
|
struct TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC;
|
|
struct EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C;
|
|
struct MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1;
|
|
struct SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17;
|
|
struct TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484;
|
|
|
|
IL2CPP_EXTERN_C_BEGIN
|
|
IL2CPP_EXTERN_C_END
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>
|
|
struct Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_t2D235A92D3378B23DDD82DC2DF7A5408C2B2A45C* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_tDB8CBE472521FDB91BDCC64282F65267E66E70F9* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_tD0EF4281AFCE1E3959C5692D19834EF9386EB1F5* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>
|
|
struct Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_t3CDBFAA114B33A23A43D997837B7F1DB5E508B1A* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_t7ADD862083FEA90B9D987E4D439DA6BDF230B8A8* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_t31ED4238800D34CCB7C7D974FC76F36426F0E816* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Area>
|
|
struct List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.CompactSpanReference>
|
|
struct List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Node>
|
|
struct List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyVertex>
|
|
struct List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId>
|
|
struct List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>
|
|
struct List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>
|
|
struct List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>
|
|
struct List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>
|
|
struct List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>
|
|
struct List_1_tF922D3843C83052A9745AB290FA26E6B776A705D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>
|
|
struct List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>
|
|
struct List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>
|
|
struct PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D : public RuntimeObject
|
|
{
|
|
// T[] SharpNav.Collections.Generic.PriorityQueue`1::heap
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* ___heap_0;
|
|
// System.Int32 SharpNav.Collections.Generic.PriorityQueue`1::capacity
|
|
int32_t ___capacity_1;
|
|
// System.Int32 SharpNav.Collections.Generic.PriorityQueue`1::size
|
|
int32_t ___size_2;
|
|
};
|
|
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<System.Object>
|
|
struct PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99 : public RuntimeObject
|
|
{
|
|
// T[] SharpNav.Collections.Generic.PriorityQueue`1::heap
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___heap_0;
|
|
// System.Int32 SharpNav.Collections.Generic.PriorityQueue`1::capacity
|
|
int32_t ___capacity_1;
|
|
// System.Int32 SharpNav.Collections.Generic.PriorityQueue`1::size
|
|
int32_t ___size_2;
|
|
};
|
|
|
|
// System.Collections.Generic.Queue`1<System.Int32>
|
|
struct Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Queue`1::_array
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_head
|
|
int32_t ____head_1;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_tail
|
|
int32_t ____tail_2;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_size
|
|
int32_t ____size_3;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_version
|
|
int32_t ____version_4;
|
|
// System.Object System.Collections.Generic.Queue`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_5;
|
|
};
|
|
|
|
// System.Collections.Generic.Queue`1<SharpNav.Node>
|
|
struct Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Queue`1::_array
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_head
|
|
int32_t ____head_1;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_tail
|
|
int32_t ____tail_2;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_size
|
|
int32_t ____size_3;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_version
|
|
int32_t ____version_4;
|
|
// System.Object System.Collections.Generic.Queue`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_5;
|
|
};
|
|
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
struct Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Queue`1::_array
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_head
|
|
int32_t ____head_1;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_tail
|
|
int32_t ____tail_2;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_size
|
|
int32_t ____size_3;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_version
|
|
int32_t ____version_4;
|
|
// System.Object System.Collections.Generic.Queue`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_5;
|
|
};
|
|
|
|
// SharpNav.HeightPatch
|
|
struct HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.HeightPatch::xmin
|
|
int32_t ___xmin_1;
|
|
// System.Int32 SharpNav.HeightPatch::ymin
|
|
int32_t ___ymin_2;
|
|
// System.Int32 SharpNav.HeightPatch::width
|
|
int32_t ___width_3;
|
|
// System.Int32 SharpNav.HeightPatch::length
|
|
int32_t ___length_4;
|
|
// System.Int32[] SharpNav.HeightPatch::data
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___data_5;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.Link
|
|
struct Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Pathfinding.Link::<Reference>k__BackingField
|
|
int32_t ___U3CReferenceU3Ek__BackingField_2;
|
|
// System.Int32 SharpNav.Pathfinding.Link::<Next>k__BackingField
|
|
int32_t ___U3CNextU3Ek__BackingField_3;
|
|
// System.Int32 SharpNav.Pathfinding.Link::<Edge>k__BackingField
|
|
int32_t ___U3CEdgeU3Ek__BackingField_4;
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.Link::<Side>k__BackingField
|
|
uint8_t ___U3CSideU3Ek__BackingField_5;
|
|
// System.Int32 SharpNav.Pathfinding.Link::<BMin>k__BackingField
|
|
int32_t ___U3CBMinU3Ek__BackingField_6;
|
|
// System.Int32 SharpNav.Pathfinding.Link::<BMax>k__BackingField
|
|
int32_t ___U3CBMaxU3Ek__BackingField_7;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.MeshTile
|
|
struct MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Pathfinding.MeshTile::<Salt>k__BackingField
|
|
int32_t ___U3CSaltU3Ek__BackingField_0;
|
|
// System.Int32 SharpNav.Pathfinding.MeshTile::<LinksFreeList>k__BackingField
|
|
int32_t ___U3CLinksFreeListU3Ek__BackingField_1;
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo SharpNav.Pathfinding.MeshTile::<Header>k__BackingField
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* ___U3CHeaderU3Ek__BackingField_2;
|
|
// SharpNav.Pathfinding.Poly[] SharpNav.Pathfinding.MeshTile::<Polys>k__BackingField
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* ___U3CPolysU3Ek__BackingField_3;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Pathfinding.MeshTile::<Verts>k__BackingField
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___U3CVertsU3Ek__BackingField_4;
|
|
// SharpNav.Pathfinding.Link[] SharpNav.Pathfinding.MeshTile::<Links>k__BackingField
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* ___U3CLinksU3Ek__BackingField_5;
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.Pathfinding.MeshTile::<DetailMeshes>k__BackingField
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* ___U3CDetailMeshesU3Ek__BackingField_6;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Pathfinding.MeshTile::<DetailVerts>k__BackingField
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___U3CDetailVertsU3Ek__BackingField_7;
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.Pathfinding.MeshTile::<DetailTris>k__BackingField
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___U3CDetailTrisU3Ek__BackingField_8;
|
|
// SharpNav.Pathfinding.OffMeshConnection[] SharpNav.Pathfinding.MeshTile::<OffMeshConnections>k__BackingField
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* ___U3COffMeshConnectionsU3Ek__BackingField_9;
|
|
// SharpNav.Collections.BVTree SharpNav.Pathfinding.MeshTile::<BVTree>k__BackingField
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* ___U3CBVTreeU3Ek__BackingField_10;
|
|
// SharpNav.NavMeshBuilder SharpNav.Pathfinding.MeshTile::<Data>k__BackingField
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___U3CDataU3Ek__BackingField_11;
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.Pathfinding.MeshTile::<Next>k__BackingField
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___U3CNextU3Ek__BackingField_12;
|
|
};
|
|
|
|
// SharpNav.NavMeshGenerationSettings
|
|
struct NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC : public RuntimeObject
|
|
{
|
|
// System.Single SharpNav.NavMeshGenerationSettings::<CellSize>k__BackingField
|
|
float ___U3CCellSizeU3Ek__BackingField_0;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::<CellHeight>k__BackingField
|
|
float ___U3CCellHeightU3Ek__BackingField_1;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::<MaxClimb>k__BackingField
|
|
float ___U3CMaxClimbU3Ek__BackingField_2;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::<AgentHeight>k__BackingField
|
|
float ___U3CAgentHeightU3Ek__BackingField_3;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::<AgentRadius>k__BackingField
|
|
float ___U3CAgentRadiusU3Ek__BackingField_4;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::<MinRegionSize>k__BackingField
|
|
int32_t ___U3CMinRegionSizeU3Ek__BackingField_5;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::<MergedRegionSize>k__BackingField
|
|
int32_t ___U3CMergedRegionSizeU3Ek__BackingField_6;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::<MaxEdgeLength>k__BackingField
|
|
int32_t ___U3CMaxEdgeLengthU3Ek__BackingField_7;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::<MaxEdgeError>k__BackingField
|
|
float ___U3CMaxEdgeErrorU3Ek__BackingField_8;
|
|
// SharpNav.ContourBuildFlags SharpNav.NavMeshGenerationSettings::<ContourFlags>k__BackingField
|
|
int32_t ___U3CContourFlagsU3Ek__BackingField_9;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::<VertsPerPoly>k__BackingField
|
|
int32_t ___U3CVertsPerPolyU3Ek__BackingField_10;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::<SampleDistance>k__BackingField
|
|
int32_t ___U3CSampleDistanceU3Ek__BackingField_11;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::<MaxSampleError>k__BackingField
|
|
int32_t ___U3CMaxSampleErrorU3Ek__BackingField_12;
|
|
// System.Boolean SharpNav.NavMeshGenerationSettings::<BuildBoundingVolumeTree>k__BackingField
|
|
bool ___U3CBuildBoundingVolumeTreeU3Ek__BackingField_13;
|
|
};
|
|
|
|
// SharpNav.NodePool
|
|
struct NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<SharpNav.Node> SharpNav.NodePool::nodes
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* ___nodes_0;
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node> SharpNav.NodePool::nodeDict
|
|
Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* ___nodeDict_1;
|
|
// System.Int32 SharpNav.NodePool::maxNodes
|
|
int32_t ___maxNodes_2;
|
|
};
|
|
|
|
// SharpNav.PolyMeshDetail
|
|
struct PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764 : public RuntimeObject
|
|
{
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.PolyMeshDetail::meshes
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* ___meshes_1;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.PolyMeshDetail::verts
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___verts_2;
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.PolyMeshDetail::tris
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___tris_3;
|
|
};
|
|
|
|
// System.Random
|
|
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8 : public RuntimeObject
|
|
{
|
|
// System.Int32 System.Random::_inext
|
|
int32_t ____inext_3;
|
|
// System.Int32 System.Random::_inextp
|
|
int32_t ____inextp_4;
|
|
// System.Int32[] System.Random::_seedArray
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____seedArray_5;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
|
|
// SharpNav.NodePool/IntNodeIdComparer
|
|
struct IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.NodePool/IntNodeIdComparer::hashSize
|
|
int32_t ___hashSize_0;
|
|
};
|
|
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
struct RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.PolyVertex/RoughYEqualityComparer::epsilonY
|
|
int32_t ___epsilonY_2;
|
|
};
|
|
|
|
// SharpNav.Area
|
|
#pragma pack(push, tp, 1)
|
|
struct Area_t9E8E008D1CF28697728310B3039944F3C2777E47
|
|
{
|
|
// System.Byte SharpNav.Area::Id
|
|
uint8_t ___Id_2;
|
|
};
|
|
#pragma pack(pop, tp)
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
|
|
{
|
|
// System.Boolean System.Boolean::m_value
|
|
bool ___m_value_0;
|
|
};
|
|
|
|
// System.Byte
|
|
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
|
|
{
|
|
// System.Byte System.Byte::m_value
|
|
uint8_t ___m_value_0;
|
|
};
|
|
|
|
// SharpNav.CompactCell
|
|
struct CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6
|
|
{
|
|
// System.Int32 SharpNav.CompactCell::StartIndex
|
|
int32_t ___StartIndex_0;
|
|
// System.Int32 SharpNav.CompactCell::Count
|
|
int32_t ___Count_1;
|
|
};
|
|
|
|
// SharpNav.CompactSpanReference
|
|
struct CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5
|
|
{
|
|
// System.Int32 SharpNav.CompactSpanReference::X
|
|
int32_t ___X_1;
|
|
// System.Int32 SharpNav.CompactSpanReference::Y
|
|
int32_t ___Y_2;
|
|
// System.Int32 SharpNav.CompactSpanReference::Index
|
|
int32_t ___Index_3;
|
|
};
|
|
|
|
// System.Double
|
|
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
|
|
{
|
|
// System.Double System.Double::m_value
|
|
double ___m_value_0;
|
|
};
|
|
|
|
// System.Int32
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
// System.Int32 System.Int32::m_value
|
|
int32_t ___m_value_0;
|
|
};
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
};
|
|
|
|
// SharpNav.PolyVertex
|
|
struct PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA
|
|
{
|
|
// System.Int32 SharpNav.PolyVertex::X
|
|
int32_t ___X_0;
|
|
// System.Int32 SharpNav.PolyVertex::Y
|
|
int32_t ___Y_1;
|
|
// System.Int32 SharpNav.PolyVertex::Z
|
|
int32_t ___Z_2;
|
|
};
|
|
|
|
// SharpNav.RegionId
|
|
struct RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D
|
|
{
|
|
// System.Int32 SharpNav.RegionId::bits
|
|
int32_t ___bits_2;
|
|
};
|
|
|
|
// System.Single
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
// System.Single System.Single::m_value
|
|
float ___m_value_0;
|
|
};
|
|
|
|
// SharpNav.Geometry.Vector2i
|
|
struct Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7
|
|
{
|
|
// System.Int32 SharpNav.Geometry.Vector2i::X
|
|
int32_t ___X_3;
|
|
// System.Int32 SharpNav.Geometry.Vector2i::Y
|
|
int32_t ___Y_4;
|
|
};
|
|
|
|
// SharpNav.Geometry.Vector3
|
|
struct Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4
|
|
{
|
|
// System.Single SharpNav.Geometry.Vector3::X
|
|
float ___X_0;
|
|
// System.Single SharpNav.Geometry.Vector3::Y
|
|
float ___Y_1;
|
|
// System.Single SharpNav.Geometry.Vector3::Z
|
|
float ___Z_2;
|
|
};
|
|
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
|
|
// SharpNav.NavMeshQuery/SegInterval
|
|
struct SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550
|
|
{
|
|
// System.Int32 SharpNav.NavMeshQuery/SegInterval::Reference
|
|
int32_t ___Reference_0;
|
|
// System.Int32 SharpNav.NavMeshQuery/SegInterval::TMin
|
|
int32_t ___TMin_1;
|
|
// System.Int32 SharpNav.NavMeshQuery/SegInterval::TMax
|
|
int32_t ___TMax_2;
|
|
};
|
|
|
|
// SharpNav.PolyMesh/AdjacencyEdge
|
|
struct AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F
|
|
{
|
|
// System.Int32 SharpNav.PolyMesh/AdjacencyEdge::Vert0
|
|
int32_t ___Vert0_0;
|
|
// System.Int32 SharpNav.PolyMesh/AdjacencyEdge::Vert1
|
|
int32_t ___Vert1_1;
|
|
// System.Int32 SharpNav.PolyMesh/AdjacencyEdge::PolyEdge0
|
|
int32_t ___PolyEdge0_2;
|
|
// System.Int32 SharpNav.PolyMesh/AdjacencyEdge::PolyEdge1
|
|
int32_t ___PolyEdge1_3;
|
|
// System.Int32 SharpNav.PolyMesh/AdjacencyEdge::Poly0
|
|
int32_t ___Poly0_4;
|
|
// System.Int32 SharpNav.PolyMesh/AdjacencyEdge::Poly1
|
|
int32_t ___Poly1_5;
|
|
};
|
|
|
|
// SharpNav.PolyMesh/Triangle
|
|
struct Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E
|
|
{
|
|
// System.Int32 SharpNav.PolyMesh/Triangle::Index0
|
|
int32_t ___Index0_0;
|
|
// System.Int32 SharpNav.PolyMesh/Triangle::Index1
|
|
int32_t ___Index1_1;
|
|
// System.Int32 SharpNav.PolyMesh/Triangle::Index2
|
|
int32_t ___Index2_2;
|
|
};
|
|
|
|
// SharpNav.PolyMeshDetail/EdgeInfo
|
|
struct EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258
|
|
{
|
|
// System.Int32 SharpNav.PolyMeshDetail/EdgeInfo::EndPt0
|
|
int32_t ___EndPt0_0;
|
|
// System.Int32 SharpNav.PolyMeshDetail/EdgeInfo::EndPt1
|
|
int32_t ___EndPt1_1;
|
|
// System.Int32 SharpNav.PolyMeshDetail/EdgeInfo::RightFace
|
|
int32_t ___RightFace_2;
|
|
// System.Int32 SharpNav.PolyMeshDetail/EdgeInfo::LeftFace
|
|
int32_t ___LeftFace_3;
|
|
};
|
|
|
|
// SharpNav.PolyMeshDetail/MeshData
|
|
struct MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB
|
|
{
|
|
// System.Int32 SharpNav.PolyMeshDetail/MeshData::VertexIndex
|
|
int32_t ___VertexIndex_0;
|
|
// System.Int32 SharpNav.PolyMeshDetail/MeshData::VertexCount
|
|
int32_t ___VertexCount_1;
|
|
// System.Int32 SharpNav.PolyMeshDetail/MeshData::TriangleIndex
|
|
int32_t ___TriangleIndex_2;
|
|
// System.Int32 SharpNav.PolyMeshDetail/MeshData::TriangleCount
|
|
int32_t ___TriangleCount_3;
|
|
};
|
|
|
|
// SharpNav.PolyMeshDetail/SamplingData
|
|
struct SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406
|
|
{
|
|
// System.Int32 SharpNav.PolyMeshDetail/SamplingData::X
|
|
int32_t ___X_0;
|
|
// System.Int32 SharpNav.PolyMeshDetail/SamplingData::Y
|
|
int32_t ___Y_1;
|
|
// System.Int32 SharpNav.PolyMeshDetail/SamplingData::Z
|
|
int32_t ___Z_2;
|
|
// System.Boolean SharpNav.PolyMeshDetail/SamplingData::IsSampled
|
|
bool ___IsSampled_3;
|
|
};
|
|
// Native definition for P/Invoke marshalling of SharpNav.PolyMeshDetail/SamplingData
|
|
struct SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_pinvoke
|
|
{
|
|
int32_t ___X_0;
|
|
int32_t ___Y_1;
|
|
int32_t ___Z_2;
|
|
int32_t ___IsSampled_3;
|
|
};
|
|
// Native definition for COM marshalling of SharpNav.PolyMeshDetail/SamplingData
|
|
struct SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_com
|
|
{
|
|
int32_t ___X_0;
|
|
int32_t ___Y_1;
|
|
int32_t ___Z_2;
|
|
int32_t ___IsSampled_3;
|
|
};
|
|
|
|
// SharpNav.PolyMeshDetail/TriangleData
|
|
struct TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7
|
|
{
|
|
// System.Int32 SharpNav.PolyMeshDetail/TriangleData::VertexHash0
|
|
int32_t ___VertexHash0_0;
|
|
// System.Int32 SharpNav.PolyMeshDetail/TriangleData::VertexHash1
|
|
int32_t ___VertexHash1_1;
|
|
// System.Int32 SharpNav.PolyMeshDetail/TriangleData::VertexHash2
|
|
int32_t ___VertexHash2_2;
|
|
// System.Int32 SharpNav.PolyMeshDetail/TriangleData::Flags
|
|
int32_t ___Flags_3;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>
|
|
struct Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99
|
|
{
|
|
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::_list
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* ____list_0;
|
|
// System.Int32 System.Collections.Generic.List`1/Enumerator::_index
|
|
int32_t ____index_1;
|
|
// System.Int32 System.Collections.Generic.List`1/Enumerator::_version
|
|
int32_t ____version_2;
|
|
// T System.Collections.Generic.List`1/Enumerator::_current
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ____current_3;
|
|
};
|
|
|
|
// SharpNav.Geometry.BBox2i
|
|
struct BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945
|
|
{
|
|
// SharpNav.Geometry.Vector2i SharpNav.Geometry.BBox2i::Min
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___Min_0;
|
|
// SharpNav.Geometry.Vector2i SharpNav.Geometry.BBox2i::Max
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___Max_1;
|
|
};
|
|
|
|
// SharpNav.Geometry.BBox3
|
|
struct BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.BBox3::Min
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Min_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.BBox3::Max
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Max_1;
|
|
};
|
|
|
|
// SharpNav.CompactSpan
|
|
struct CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE
|
|
{
|
|
// System.Int32 SharpNav.CompactSpan::Minimum
|
|
int32_t ___Minimum_0;
|
|
// System.Int32 SharpNav.CompactSpan::Height
|
|
int32_t ___Height_1;
|
|
// System.Byte SharpNav.CompactSpan::ConnectionWest
|
|
uint8_t ___ConnectionWest_2;
|
|
// System.Byte SharpNav.CompactSpan::ConnectionNorth
|
|
uint8_t ___ConnectionNorth_3;
|
|
// System.Byte SharpNav.CompactSpan::ConnectionEast
|
|
uint8_t ___ConnectionEast_4;
|
|
// System.Byte SharpNav.CompactSpan::ConnectionSouth
|
|
uint8_t ___ConnectionSouth_5;
|
|
// SharpNav.RegionId SharpNav.CompactSpan::Region
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___Region_6;
|
|
};
|
|
|
|
// SharpNav.Contour
|
|
struct Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318 : public RuntimeObject
|
|
{
|
|
// SharpNav.ContourVertex[] SharpNav.Contour::vertices
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* ___vertices_0;
|
|
// SharpNav.RegionId SharpNav.Contour::regionId
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___regionId_1;
|
|
// SharpNav.Area SharpNav.Contour::area
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___area_2;
|
|
};
|
|
|
|
// SharpNav.ContourVertex
|
|
struct ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD
|
|
{
|
|
// System.Int32 SharpNav.ContourVertex::X
|
|
int32_t ___X_0;
|
|
// System.Int32 SharpNav.ContourVertex::Y
|
|
int32_t ___Y_1;
|
|
// System.Int32 SharpNav.ContourVertex::Z
|
|
int32_t ___Z_2;
|
|
// SharpNav.RegionId SharpNav.ContourVertex::RegionId
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___RegionId_3;
|
|
};
|
|
|
|
// System.Exception
|
|
struct Exception_t : public RuntimeObject
|
|
{
|
|
// System.String System.Exception::_className
|
|
String_t* ____className_1;
|
|
// System.String System.Exception::_message
|
|
String_t* ____message_2;
|
|
// System.Collections.IDictionary System.Exception::_data
|
|
RuntimeObject* ____data_3;
|
|
// System.Exception System.Exception::_innerException
|
|
Exception_t* ____innerException_4;
|
|
// System.String System.Exception::_helpURL
|
|
String_t* ____helpURL_5;
|
|
// System.Object System.Exception::_stackTrace
|
|
RuntimeObject* ____stackTrace_6;
|
|
// System.String System.Exception::_stackTraceString
|
|
String_t* ____stackTraceString_7;
|
|
// System.String System.Exception::_remoteStackTraceString
|
|
String_t* ____remoteStackTraceString_8;
|
|
// System.Int32 System.Exception::_remoteStackIndex
|
|
int32_t ____remoteStackIndex_9;
|
|
// System.Object System.Exception::_dynamicMethods
|
|
RuntimeObject* ____dynamicMethods_10;
|
|
// System.Int32 System.Exception::_HResult
|
|
int32_t ____HResult_11;
|
|
// System.String System.Exception::_source
|
|
String_t* ____source_12;
|
|
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
// System.IntPtr[] System.Exception::native_trace_ips
|
|
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
|
|
// System.Int32 System.Exception::caught_in_unmanaged
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Exception
|
|
struct Exception_t_marshaled_pinvoke
|
|
{
|
|
char* ____className_1;
|
|
char* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_pinvoke* ____innerException_4;
|
|
char* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
char* ____stackTraceString_7;
|
|
char* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
char* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for COM marshalling of System.Exception
|
|
struct Exception_t_marshaled_com
|
|
{
|
|
Il2CppChar* ____className_1;
|
|
Il2CppChar* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_com* ____innerException_4;
|
|
Il2CppChar* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
Il2CppChar* ____stackTraceString_7;
|
|
Il2CppChar* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
Il2CppChar* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.NavPoint
|
|
struct NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364
|
|
{
|
|
// System.Int32 SharpNav.Pathfinding.NavPoint::Polygon
|
|
int32_t ___Polygon_1;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.NavPoint::Position
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Position_2;
|
|
};
|
|
|
|
// SharpNav.Node
|
|
struct Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9 : public RuntimeObject
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Node::Pos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Pos_0;
|
|
// System.Single SharpNav.Node::cost
|
|
float ___cost_1;
|
|
// System.Single SharpNav.Node::total
|
|
float ___total_2;
|
|
// System.Int32 SharpNav.Node::ParentIdx
|
|
int32_t ___ParentIdx_3;
|
|
// SharpNav.NodeFlags SharpNav.Node::Flags
|
|
int32_t ___Flags_4;
|
|
// System.Int32 SharpNav.Node::Id
|
|
int32_t ___Id_5;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.Poly
|
|
struct Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E : public RuntimeObject
|
|
{
|
|
// SharpNav.Pathfinding.PolygonType SharpNav.Pathfinding.Poly::polyType
|
|
uint8_t ___polyType_0;
|
|
// System.Int32 SharpNav.Pathfinding.Poly::<FirstLink>k__BackingField
|
|
int32_t ___U3CFirstLinkU3Ek__BackingField_1;
|
|
// System.Int32[] SharpNav.Pathfinding.Poly::<Verts>k__BackingField
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___U3CVertsU3Ek__BackingField_2;
|
|
// System.Int32[] SharpNav.Pathfinding.Poly::<Neis>k__BackingField
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___U3CNeisU3Ek__BackingField_3;
|
|
// System.Int32 SharpNav.Pathfinding.Poly::<Flags>k__BackingField
|
|
int32_t ___U3CFlagsU3Ek__BackingField_4;
|
|
// System.Int32 SharpNav.Pathfinding.Poly::<VertCount>k__BackingField
|
|
int32_t ___U3CVertCountU3Ek__BackingField_5;
|
|
// SharpNav.Area SharpNav.Pathfinding.Poly::<Area>k__BackingField
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___U3CAreaU3Ek__BackingField_6;
|
|
};
|
|
|
|
// SharpNav.PolyBounds
|
|
struct PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261
|
|
{
|
|
// SharpNav.PolyVertex SharpNav.PolyBounds::Min
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___Min_0;
|
|
// SharpNav.PolyVertex SharpNav.PolyBounds::Max
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___Max_1;
|
|
};
|
|
|
|
// System.RuntimeFieldHandle
|
|
struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
|
|
{
|
|
// System.IntPtr System.RuntimeFieldHandle::value
|
|
intptr_t ___value_0;
|
|
};
|
|
|
|
// SharpNav.Crowds.LocalBoundary/Segment
|
|
struct Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.LocalBoundary/Segment::Start
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Start_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.LocalBoundary/Segment::End
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___End_1;
|
|
// System.Single SharpNav.Crowds.LocalBoundary/Segment::Dist
|
|
float ___Dist_2;
|
|
};
|
|
|
|
// SharpNav.NavMeshQuery/QueryData
|
|
struct QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6
|
|
{
|
|
// System.Boolean SharpNav.NavMeshQuery/QueryData::Status
|
|
bool ___Status_0;
|
|
// SharpNav.Node SharpNav.NavMeshQuery/QueryData::LastBestNode
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___LastBestNode_1;
|
|
// System.Single SharpNav.NavMeshQuery/QueryData::LastBestNodeCost
|
|
float ___LastBestNodeCost_2;
|
|
// System.Int32 SharpNav.NavMeshQuery/QueryData::StartRef
|
|
int32_t ___StartRef_3;
|
|
// System.Int32 SharpNav.NavMeshQuery/QueryData::EndRef
|
|
int32_t ___EndRef_4;
|
|
// SharpNav.Geometry.Vector3 SharpNav.NavMeshQuery/QueryData::StartPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___StartPos_5;
|
|
// SharpNav.Geometry.Vector3 SharpNav.NavMeshQuery/QueryData::EndPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___EndPos_6;
|
|
};
|
|
// Native definition for P/Invoke marshalling of SharpNav.NavMeshQuery/QueryData
|
|
struct QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_pinvoke
|
|
{
|
|
int32_t ___Status_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___LastBestNode_1;
|
|
float ___LastBestNodeCost_2;
|
|
int32_t ___StartRef_3;
|
|
int32_t ___EndRef_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___StartPos_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___EndPos_6;
|
|
};
|
|
// Native definition for COM marshalling of SharpNav.NavMeshQuery/QueryData
|
|
struct QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_com
|
|
{
|
|
int32_t ___Status_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___LastBestNode_1;
|
|
float ___LastBestNodeCost_2;
|
|
int32_t ___StartRef_3;
|
|
int32_t ___EndRef_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___StartPos_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___EndPos_6;
|
|
};
|
|
|
|
// SharpNav.PolyMesh/Edge
|
|
struct Edge_t5BB71DEFECE7290EB599134445761BB2F904534E
|
|
{
|
|
// System.Int32 SharpNav.PolyMesh/Edge::Vert0
|
|
int32_t ___Vert0_0;
|
|
// System.Int32 SharpNav.PolyMesh/Edge::Vert1
|
|
int32_t ___Vert1_1;
|
|
// SharpNav.RegionId SharpNav.PolyMesh/Edge::Region
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___Region_2;
|
|
// SharpNav.Area SharpNav.PolyMesh/Edge::Area
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___Area_3;
|
|
};
|
|
|
|
// SharpNav.PolyMesh/Polygon
|
|
struct Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF : public RuntimeObject
|
|
{
|
|
// System.Int32[] SharpNav.PolyMesh/Polygon::vertices
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___vertices_0;
|
|
// System.Int32[] SharpNav.PolyMesh/Polygon::neighborEdges
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighborEdges_1;
|
|
// SharpNav.Area SharpNav.PolyMesh/Polygon::area
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___area_2;
|
|
// SharpNav.RegionId SharpNav.PolyMesh/Polygon::regionId
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___regionId_3;
|
|
// System.Int32 SharpNav.PolyMesh/Polygon::flags
|
|
int32_t ___flags_4;
|
|
};
|
|
|
|
// SharpNav.TiledNavMesh/TiledNavMeshParams
|
|
struct TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.TiledNavMesh/TiledNavMeshParams::Origin
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Origin_0;
|
|
// System.Single SharpNav.TiledNavMesh/TiledNavMeshParams::TileWidth
|
|
float ___TileWidth_1;
|
|
// System.Single SharpNav.TiledNavMesh/TiledNavMeshParams::TileHeight
|
|
float ___TileHeight_2;
|
|
// System.Int32 SharpNav.TiledNavMesh/TiledNavMeshParams::MaxTiles
|
|
int32_t ___MaxTiles_3;
|
|
// System.Int32 SharpNav.TiledNavMesh/TiledNavMeshParams::MaxPolys
|
|
int32_t ___MaxPolys_4;
|
|
};
|
|
|
|
// System.Nullable`1<SharpNav.PolyBounds>
|
|
struct Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___value_1;
|
|
};
|
|
|
|
// SharpNav.CompactHeightfield
|
|
struct CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577 : public RuntimeObject
|
|
{
|
|
// SharpNav.Geometry.BBox3 SharpNav.CompactHeightfield::bounds
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___bounds_0;
|
|
// System.Int32 SharpNav.CompactHeightfield::width
|
|
int32_t ___width_1;
|
|
// System.Int32 SharpNav.CompactHeightfield::height
|
|
int32_t ___height_2;
|
|
// System.Int32 SharpNav.CompactHeightfield::length
|
|
int32_t ___length_3;
|
|
// System.Single SharpNav.CompactHeightfield::cellSize
|
|
float ___cellSize_4;
|
|
// System.Single SharpNav.CompactHeightfield::cellHeight
|
|
float ___cellHeight_5;
|
|
// SharpNav.CompactCell[] SharpNav.CompactHeightfield::cells
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* ___cells_6;
|
|
// SharpNav.CompactSpan[] SharpNav.CompactHeightfield::spans
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* ___spans_7;
|
|
// SharpNav.Area[] SharpNav.CompactHeightfield::areas
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* ___areas_8;
|
|
// System.Int32[] SharpNav.CompactHeightfield::distances
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___distances_9;
|
|
// System.Int32 SharpNav.CompactHeightfield::maxDistance
|
|
int32_t ___maxDistance_10;
|
|
// System.Int32 SharpNav.CompactHeightfield::maxRegions
|
|
int32_t ___maxRegions_11;
|
|
// System.Int32 SharpNav.CompactHeightfield::borderSize
|
|
int32_t ___borderSize_12;
|
|
};
|
|
|
|
// SharpNav.ContourSet
|
|
struct ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<SharpNav.Contour> SharpNav.ContourSet::contours
|
|
List_1_t7CC50296A6942A19C2E403B7E248E50334BAB2EE* ___contours_0;
|
|
// SharpNav.Geometry.BBox3 SharpNav.ContourSet::bounds
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___bounds_1;
|
|
// System.Int32 SharpNav.ContourSet::width
|
|
int32_t ___width_2;
|
|
// System.Int32 SharpNav.ContourSet::height
|
|
int32_t ___height_3;
|
|
};
|
|
|
|
// SharpNav.NavMeshQuery
|
|
struct NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9 : public RuntimeObject
|
|
{
|
|
// SharpNav.TiledNavMesh SharpNav.NavMeshQuery::nav
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* ___nav_1;
|
|
// System.Single[] SharpNav.NavMeshQuery::areaCost
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___areaCost_2;
|
|
// SharpNav.NodePool SharpNav.NavMeshQuery::tinyNodePool
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* ___tinyNodePool_3;
|
|
// SharpNav.NodePool SharpNav.NavMeshQuery::nodePool
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* ___nodePool_4;
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node> SharpNav.NavMeshQuery::openList
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* ___openList_5;
|
|
// SharpNav.NavMeshQuery/QueryData SharpNav.NavMeshQuery::query
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6 ___query_6;
|
|
// System.Random SharpNav.NavMeshQuery::rand
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___rand_7;
|
|
};
|
|
|
|
// SharpNav.PolyMesh
|
|
struct PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98 : public RuntimeObject
|
|
{
|
|
// SharpNav.PolyVertex[] SharpNav.PolyMesh::vertices
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___vertices_3;
|
|
// SharpNav.PolyMesh/Polygon[] SharpNav.PolyMesh::polygons
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* ___polygons_4;
|
|
// System.Int32 SharpNav.PolyMesh::numVertsPerPoly
|
|
int32_t ___numVertsPerPoly_5;
|
|
// SharpNav.Geometry.BBox3 SharpNav.PolyMesh::bounds
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___bounds_6;
|
|
// System.Single SharpNav.PolyMesh::cellSize
|
|
float ___cellSize_7;
|
|
// System.Single SharpNav.PolyMesh::cellHeight
|
|
float ___cellHeight_8;
|
|
// System.Int32 SharpNav.PolyMesh::borderSize
|
|
int32_t ___borderSize_9;
|
|
};
|
|
|
|
// System.SystemException
|
|
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// SharpNav.TiledNavMesh
|
|
struct TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF : public RuntimeObject
|
|
{
|
|
// SharpNav.TiledNavMesh/TiledNavMeshParams SharpNav.TiledNavMesh::parameters
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 ___parameters_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.TiledNavMesh::origin
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___origin_1;
|
|
// System.Single SharpNav.TiledNavMesh::tileWidth
|
|
float ___tileWidth_2;
|
|
// System.Single SharpNav.TiledNavMesh::tileHeight
|
|
float ___tileHeight_3;
|
|
// System.Int32 SharpNav.TiledNavMesh::maxTiles
|
|
int32_t ___maxTiles_4;
|
|
// System.Int32 SharpNav.TiledNavMesh::tileLookupTableSize
|
|
int32_t ___tileLookupTableSize_5;
|
|
// System.Int32 SharpNav.TiledNavMesh::tileLookupTableMask
|
|
int32_t ___tileLookupTableMask_6;
|
|
// SharpNav.Pathfinding.MeshTile[] SharpNav.TiledNavMesh::posLookup
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* ___posLookup_7;
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.TiledNavMesh::nextFree
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___nextFree_8;
|
|
// SharpNav.Pathfinding.MeshTile[] SharpNav.TiledNavMesh::tiles
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* ___tiles_9;
|
|
// System.Int32 SharpNav.TiledNavMesh::saltBits
|
|
int32_t ___saltBits_10;
|
|
// System.Int32 SharpNav.TiledNavMesh::tileBits
|
|
int32_t ___tileBits_11;
|
|
// System.Int32 SharpNav.TiledNavMesh::polyBits
|
|
int32_t ___polyBits_12;
|
|
// System.Object SharpNav.TiledNavMesh::<Tag>k__BackingField
|
|
RuntimeObject* ___U3CTagU3Ek__BackingField_13;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
struct NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::X
|
|
int32_t ___X_0;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::Y
|
|
int32_t ___Y_1;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::Layer
|
|
int32_t ___Layer_2;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::PolyCount
|
|
int32_t ___PolyCount_3;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::VertCount
|
|
int32_t ___VertCount_4;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::MaxLinkCount
|
|
int32_t ___MaxLinkCount_5;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::DetailMeshCount
|
|
int32_t ___DetailMeshCount_6;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::DetailVertCount
|
|
int32_t ___DetailVertCount_7;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::DetailTriCount
|
|
int32_t ___DetailTriCount_8;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::BvNodeCount
|
|
int32_t ___BvNodeCount_9;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::OffMeshConCount
|
|
int32_t ___OffMeshConCount_10;
|
|
// System.Int32 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::OffMeshBase
|
|
int32_t ___OffMeshBase_11;
|
|
// System.Single SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::WalkableHeight
|
|
float ___WalkableHeight_12;
|
|
// System.Single SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::WalkableRadius
|
|
float ___WalkableRadius_13;
|
|
// System.Single SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::WalkableClimb
|
|
float ___WalkableClimb_14;
|
|
// SharpNav.Geometry.BBox3 SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::Bounds
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___Bounds_15;
|
|
// System.Single SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo::BvQuantFactor
|
|
float ___BvQuantFactor_16;
|
|
};
|
|
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
// System.String System.ArgumentException::_paramName
|
|
String_t* ____paramName_18;
|
|
};
|
|
|
|
// System.InvalidOperationException
|
|
struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
|
|
{
|
|
// System.Object System.ArgumentOutOfRangeException::_actualValue
|
|
RuntimeObject* ____actualValue_19;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>
|
|
|
|
// System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>
|
|
|
|
// System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Area>
|
|
struct List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Area>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.CompactSpanReference>
|
|
struct List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.CompactSpanReference>
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Node>
|
|
struct List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Node>
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyVertex>
|
|
struct List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyVertex>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId>
|
|
struct List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>
|
|
struct List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>
|
|
struct List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>
|
|
struct List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>
|
|
struct List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>
|
|
struct List_1_tF922D3843C83052A9745AB290FA26E6B776A705D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>
|
|
struct List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>
|
|
struct List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>
|
|
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>
|
|
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>
|
|
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<System.Object>
|
|
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<System.Object>
|
|
|
|
// System.Collections.Generic.Queue`1<System.Int32>
|
|
|
|
// System.Collections.Generic.Queue`1<System.Int32>
|
|
|
|
// System.Collections.Generic.Queue`1<SharpNav.Node>
|
|
|
|
// System.Collections.Generic.Queue`1<SharpNav.Node>
|
|
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
|
|
// SharpNav.HeightPatch
|
|
|
|
// SharpNav.HeightPatch
|
|
|
|
// SharpNav.Pathfinding.Link
|
|
|
|
// SharpNav.Pathfinding.Link
|
|
|
|
// SharpNav.Pathfinding.MeshTile
|
|
|
|
// SharpNav.Pathfinding.MeshTile
|
|
|
|
// SharpNav.NavMeshGenerationSettings
|
|
|
|
// SharpNav.NavMeshGenerationSettings
|
|
|
|
// SharpNav.NodePool
|
|
|
|
// SharpNav.NodePool
|
|
|
|
// SharpNav.PolyMeshDetail
|
|
struct PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_StaticFields
|
|
{
|
|
// System.Int32[] SharpNav.PolyMeshDetail::VertexOffset
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___VertexOffset_0;
|
|
};
|
|
|
|
// SharpNav.PolyMeshDetail
|
|
|
|
// System.Random
|
|
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_StaticFields
|
|
{
|
|
// System.Random System.Random::s_globalRandom
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___s_globalRandom_7;
|
|
};
|
|
|
|
// System.Random
|
|
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_ThreadStaticFields
|
|
{
|
|
// System.Random System.Random::t_threadRandom
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___t_threadRandom_6;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// System.ValueType
|
|
|
|
// System.ValueType
|
|
|
|
// SharpNav.NodePool/IntNodeIdComparer
|
|
|
|
// SharpNav.NodePool/IntNodeIdComparer
|
|
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
|
|
// SharpNav.Area
|
|
struct Area_t9E8E008D1CF28697728310B3039944F3C2777E47_StaticFields
|
|
{
|
|
// SharpNav.Area SharpNav.Area::Null
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___Null_0;
|
|
// SharpNav.Area SharpNav.Area::Default
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___Default_1;
|
|
};
|
|
|
|
// SharpNav.Area
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
|
|
{
|
|
// System.String System.Boolean::TrueString
|
|
String_t* ___TrueString_5;
|
|
// System.String System.Boolean::FalseString
|
|
String_t* ___FalseString_6;
|
|
};
|
|
|
|
// System.Boolean
|
|
|
|
// System.Byte
|
|
|
|
// System.Byte
|
|
|
|
// SharpNav.CompactCell
|
|
|
|
// SharpNav.CompactCell
|
|
|
|
// SharpNav.CompactSpanReference
|
|
struct CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5_StaticFields
|
|
{
|
|
// SharpNav.CompactSpanReference SharpNav.CompactSpanReference::Null
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___Null_0;
|
|
};
|
|
|
|
// SharpNav.CompactSpanReference
|
|
|
|
// System.Double
|
|
|
|
// System.Double
|
|
|
|
// System.Int32
|
|
|
|
// System.Int32
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
};
|
|
|
|
// System.IntPtr
|
|
|
|
// SharpNav.PolyVertex
|
|
|
|
// SharpNav.PolyVertex
|
|
|
|
// SharpNav.RegionId
|
|
struct RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_StaticFields
|
|
{
|
|
// SharpNav.RegionId SharpNav.RegionId::Null
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___Null_0;
|
|
};
|
|
|
|
// SharpNav.RegionId
|
|
|
|
// System.Single
|
|
|
|
// System.Single
|
|
|
|
// SharpNav.Geometry.Vector2i
|
|
struct Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_StaticFields
|
|
{
|
|
// SharpNav.Geometry.Vector2i SharpNav.Geometry.Vector2i::Min
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___Min_0;
|
|
// SharpNav.Geometry.Vector2i SharpNav.Geometry.Vector2i::Max
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___Max_1;
|
|
// SharpNav.Geometry.Vector2i SharpNav.Geometry.Vector2i::Zero
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___Zero_2;
|
|
};
|
|
|
|
// SharpNav.Geometry.Vector2i
|
|
|
|
// SharpNav.Geometry.Vector3
|
|
struct Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::UnitX
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___UnitX_3;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::UnitY
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___UnitY_4;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::UnitZ
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___UnitZ_5;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Zero
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Zero_6;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::One
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___One_7;
|
|
// System.String SharpNav.Geometry.Vector3::listSeparator
|
|
String_t* ___listSeparator_8;
|
|
};
|
|
|
|
// SharpNav.Geometry.Vector3
|
|
|
|
// System.Void
|
|
|
|
// System.Void
|
|
|
|
// SharpNav.NavMeshQuery/SegInterval
|
|
|
|
// SharpNav.NavMeshQuery/SegInterval
|
|
|
|
// SharpNav.PolyMesh/AdjacencyEdge
|
|
|
|
// SharpNav.PolyMesh/AdjacencyEdge
|
|
|
|
// SharpNav.PolyMesh/Triangle
|
|
|
|
// SharpNav.PolyMesh/Triangle
|
|
|
|
// SharpNav.PolyMeshDetail/EdgeInfo
|
|
|
|
// SharpNav.PolyMeshDetail/EdgeInfo
|
|
|
|
// SharpNav.PolyMeshDetail/MeshData
|
|
|
|
// SharpNav.PolyMeshDetail/MeshData
|
|
|
|
// SharpNav.PolyMeshDetail/SamplingData
|
|
|
|
// SharpNav.PolyMeshDetail/SamplingData
|
|
|
|
// SharpNav.PolyMeshDetail/TriangleData
|
|
|
|
// SharpNav.PolyMeshDetail/TriangleData
|
|
|
|
// System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>
|
|
|
|
// System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>
|
|
|
|
// SharpNav.Geometry.BBox2i
|
|
|
|
// SharpNav.Geometry.BBox2i
|
|
|
|
// SharpNav.Geometry.BBox3
|
|
|
|
// SharpNav.Geometry.BBox3
|
|
|
|
// SharpNav.CompactSpan
|
|
|
|
// SharpNav.CompactSpan
|
|
|
|
// SharpNav.Contour
|
|
|
|
// SharpNav.Contour
|
|
|
|
// SharpNav.ContourVertex
|
|
|
|
// SharpNav.ContourVertex
|
|
|
|
// System.Exception
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
|
|
// System.Exception
|
|
|
|
// SharpNav.Pathfinding.NavPoint
|
|
struct NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_StaticFields
|
|
{
|
|
// SharpNav.Pathfinding.NavPoint SharpNav.Pathfinding.NavPoint::Null
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___Null_0;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.NavPoint
|
|
|
|
// SharpNav.Node
|
|
|
|
// SharpNav.Node
|
|
|
|
// SharpNav.Pathfinding.Poly
|
|
|
|
// SharpNav.Pathfinding.Poly
|
|
|
|
// SharpNav.PolyBounds
|
|
|
|
// SharpNav.PolyBounds
|
|
|
|
// System.RuntimeFieldHandle
|
|
|
|
// System.RuntimeFieldHandle
|
|
|
|
// SharpNav.Crowds.LocalBoundary/Segment
|
|
|
|
// SharpNav.Crowds.LocalBoundary/Segment
|
|
|
|
// SharpNav.NavMeshQuery/QueryData
|
|
|
|
// SharpNav.NavMeshQuery/QueryData
|
|
|
|
// SharpNav.PolyMesh/Edge
|
|
|
|
// SharpNav.PolyMesh/Edge
|
|
|
|
// SharpNav.PolyMesh/Polygon
|
|
|
|
// SharpNav.PolyMesh/Polygon
|
|
|
|
// SharpNav.TiledNavMesh/TiledNavMeshParams
|
|
|
|
// SharpNav.TiledNavMesh/TiledNavMeshParams
|
|
|
|
// System.Nullable`1<SharpNav.PolyBounds>
|
|
|
|
// System.Nullable`1<SharpNav.PolyBounds>
|
|
|
|
// SharpNav.CompactHeightfield
|
|
|
|
// SharpNav.CompactHeightfield
|
|
|
|
// SharpNav.ContourSet
|
|
|
|
// SharpNav.ContourSet
|
|
|
|
// SharpNav.NavMeshQuery
|
|
|
|
// SharpNav.NavMeshQuery
|
|
|
|
// SharpNav.PolyMesh
|
|
|
|
// SharpNav.PolyMesh
|
|
|
|
// System.SystemException
|
|
|
|
// System.SystemException
|
|
|
|
// SharpNav.TiledNavMesh
|
|
|
|
// SharpNav.TiledNavMesh
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.InvalidOperationException
|
|
|
|
// System.InvalidOperationException
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// System.Single[]
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) float m_Items[1];
|
|
|
|
inline float GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline float* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, float value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline float GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.Geometry.Vector3[]
|
|
struct Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 m_Items[1];
|
|
|
|
inline Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) int32_t m_Items[1];
|
|
|
|
inline int32_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.Pathfinding.Poly[]
|
|
struct PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* m_Items[1];
|
|
|
|
inline Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.Pathfinding.Link[]
|
|
struct LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* m_Items[1];
|
|
|
|
inline Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.Node[]
|
|
struct NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* m_Items[1];
|
|
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.Crowds.LocalBoundary/Segment[]
|
|
struct SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E m_Items[1];
|
|
|
|
inline Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.NavMeshQuery/SegInterval[]
|
|
struct SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550 m_Items[1];
|
|
|
|
inline SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyMeshDetail/MeshData[]
|
|
struct MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB m_Items[1];
|
|
|
|
inline MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyMeshDetail/TriangleData[]
|
|
struct TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 m_Items[1];
|
|
|
|
inline TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.Pathfinding.MeshTile[]
|
|
struct MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* m_Items[1];
|
|
|
|
inline MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) String_t* m_Items[1];
|
|
|
|
inline String_t* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.PolyMesh/Triangle[]
|
|
struct TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E m_Items[1];
|
|
|
|
inline Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyVertex[]
|
|
struct PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA m_Items[1];
|
|
|
|
inline PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.ContourVertex[]
|
|
struct ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD m_Items[1];
|
|
|
|
inline ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyMesh/Polygon[]
|
|
struct PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* m_Items[1];
|
|
|
|
inline Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.Geometry.BBox2i[]
|
|
struct BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 m_Items[1];
|
|
|
|
inline BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.CompactCell[]
|
|
struct CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 m_Items[1];
|
|
|
|
inline CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.CompactSpan[]
|
|
struct CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE m_Items[1];
|
|
|
|
inline CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
|
|
|
|
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.PolyMesh/AdjacencyEdge[]
|
|
struct AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F m_Items[1];
|
|
|
|
inline AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyMesh/Edge[]
|
|
struct EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Edge_t5BB71DEFECE7290EB599134445761BB2F904534E m_Items[1];
|
|
|
|
inline Edge_t5BB71DEFECE7290EB599134445761BB2F904534E GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Edge_t5BB71DEFECE7290EB599134445761BB2F904534E* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Edge_t5BB71DEFECE7290EB599134445761BB2F904534E GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Edge_t5BB71DEFECE7290EB599134445761BB2F904534E* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.RegionId[]
|
|
struct RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D m_Items[1];
|
|
|
|
inline RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.Area[]
|
|
struct AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Area_t9E8E008D1CF28697728310B3039944F3C2777E47 m_Items[1];
|
|
|
|
inline Area_t9E8E008D1CF28697728310B3039944F3C2777E47 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Area_t9E8E008D1CF28697728310B3039944F3C2777E47* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Area_t9E8E008D1CF28697728310B3039944F3C2777E47 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Area_t9E8E008D1CF28697728310B3039944F3C2777E47* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.CompactSpanReference[]
|
|
struct CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 m_Items[1];
|
|
|
|
inline CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyMeshDetail/EdgeInfo[]
|
|
struct EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 m_Items[1];
|
|
|
|
inline EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.PolyMeshDetail/SamplingData[]
|
|
struct SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 m_Items[1];
|
|
|
|
inline SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
|
|
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PriorityQueue_1__ctor_m47A5E52AEAA2C5DDB0783239BE98FE6AD0DC4EB9_gshared (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, int32_t ___0_n, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PriorityQueue_1_Clear_m32EDFAC58BE79012B6EE8B9DCCEB3041270137E0_gshared (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::Push(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PriorityQueue_1_Push_mAA87701E88A65146685DCD8FEBD55C230A83F267_gshared (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, RuntimeObject* ___0_node, const RuntimeMethod* method) ;
|
|
// T SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::Pop()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PriorityQueue_1_Pop_m50EB1B7FF42C5988DB9E47E9D13937FE647F25BC_gshared (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::Modify(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PriorityQueue_1_Modify_mF1A956D846B2B88093B0C1ADB6B45879C9989528_gshared (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, RuntimeObject* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PriorityQueue_1_get_Count_m1EB4A8F2EBCE56ADF511210EAF9E73C69E6F7A76_gshared_inline (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Capacity()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Reverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Object>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Queue_1__ctor_m487BCAF8F7A2FB003B54B1E744B80FB6651B4963_gshared (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Object>::Enqueue(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Queue_1_Enqueue_m5CB8CF3906F1289F92036F0973EC5BE3450402EF_gshared (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.Queue`1<System.Object>::Dequeue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Queue_1_Dequeue_m86B243DF9EC238316EC3D27DF3E0AB8DB0987E84_gshared (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Queue`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Queue_1_get_Count_m1768ADA9855B7CDA14C9C42E098A287F1A39C3A2_gshared_inline (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Collections.Generic.PriorityQueue`1<System.Object>::Empty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PriorityQueue_1_Empty_m01C1614ABA4BE1C13A0B992988FEE0EA1329B8B9_gshared (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m76CBBC3E2F0583F5AD30CE592CEA1225C06A0428_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor(System.Collections.Generic.IEqualityComparer`1<TKey>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m224CE4C47236A2296F3AC732E6F20FC1EEB56898_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, RuntimeObject* ___0_comparer, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Clear_mE1EFF7C68491EE07D21EE9924475A559BF0A4773_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::TryGetValue(TKey,TValue&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m7316301B8CF47FB538886B229B2749EC160B9D5C_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___0_key, RuntimeObject** ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Add(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mAF1EF7DA16BD70E252EA5C4B0F74DE519A02CBCD_gshared (Dictionary_2_tA75D1125AC9BE8F005BA9B868B373398E643C907* __this, int32_t ___0_key, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.PolyBounds>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_gshared_inline (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208* __this, const RuntimeMethod* method) ;
|
|
// T System.Nullable`1<SharpNav.PolyBounds>::get_Value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251_gshared (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyVertex>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022_gshared (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Int32>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D_gshared (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>::.ctor(System.Collections.Generic.IEqualityComparer`1<TKey>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7_gshared (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* __this, RuntimeObject* ___0_comparer, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Int32>::Enqueue(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A_gshared (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m3C58DBC69A321AF2826595584FF3E9F43C07EA56_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.Queue`1<System.Int32>::Dequeue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650_gshared (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Queue`1<System.Int32>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_gshared_inline (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyVertex>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_gshared (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<SharpNav.PolyVertex>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0_gshared (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<System.Object>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* List_1_ToArray_mD7E4F8E7C11C3C67CB5739FCC0A6E86106A6291F_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>::TryGetValue(TKey,TValue&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42_gshared (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_key, int32_t* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyVertex>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_gshared_inline (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyVertex>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_gshared_inline (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>::Add(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C_gshared (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_key, int32_t ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00_gshared (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_gshared_inline (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_gshared_inline (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F ___0_item, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C_gshared (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B_gshared (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, int32_t ___0_index, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136_gshared (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Area>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D_gshared (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_gshared_inline (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyVertex>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4_gshared (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Edge_t5BB71DEFECE7290EB599134445761BB2F904534E List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_gshared (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065_gshared (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_index, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_gshared_inline (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_gshared_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Area>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_gshared_inline (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Insert(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, int32_t ___1_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::Insert(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Area>::Insert(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A_gshared (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, int32_t ___0_index, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___1_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1_gshared (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.Area>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3_gshared (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.RegionId>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m1F76B300133150E6046C5FED00E88B5DE0A02E17_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58_gshared (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0_gshared (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319_gshared (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551_gshared (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D_gshared (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_gshared (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2_gshared (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, int32_t ___0_index, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_gshared_inline (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_gshared_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD_gshared (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_gshared (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_gshared_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___0_item, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099_gshared (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51_gshared (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666_gshared (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_gshared_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___0_item, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_gshared (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_gshared_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_gshared (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, int32_t ___0_index, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_gshared (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99 List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4_gshared (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>::Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72_gshared (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>::get_Current()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_gshared_inline (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C_gshared (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_gshared_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_gshared_inline (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_gshared_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_gshared_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_gshared_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_gshared_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 ___0_item, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25_gshared (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_gshared_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D_gshared (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, int32_t ___0_index, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 ___1_value, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_gshared (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_gshared_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_gshared (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_index, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650_gshared (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_gshared (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, int32_t ___0_index, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_gshared_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 ___0_item, const RuntimeMethod* method) ;
|
|
|
|
// System.Void System.Random::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random__ctor_m151183BD4F021499A98B9DE8502DAD4B12DD16AC (Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::.ctor(SharpNav.TiledNavMesh,System.Int32,System.Random)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery__ctor_mEA7DAF5069F3FCF6552F23AB2B89141076B23C01 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* ___0_nav, int32_t ___1_maxNodes, Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___2_rand, const RuntimeMethod* method) ;
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.MathHelper::NextPowerOfTwo(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MathHelper_NextPowerOfTwo_m76FA16B30333EDBE3A2428A3E7BBAF41E38F8ADD (int32_t ___0_v, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NodePool::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NodePool__ctor_mA13D578CFE1E15E3C3FB30B39765858885CA84D9 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_maxNodes, int32_t ___1_hashSize, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::.ctor(System.Int32)
|
|
inline void PriorityQueue_1__ctor_mC3ABFCC0BE62D0F04FF62CF70D76CF794734F7ED (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, int32_t ___0_n, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, int32_t, const RuntimeMethod*))PriorityQueue_1__ctor_m47A5E52AEAA2C5DDB0783239BE98FE6AD0DC4EB9_gshared)(__this, ___0_n, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Subtraction(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector3::Length()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Area SharpNav.Pathfinding.Poly::get_Area()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Poly_get_Area_m76E86CA64BCA6789358D39A854C2A328F2B398AB_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::FindRandomPointOnPoly(SharpNav.Pathfinding.MeshTile,SharpNav.Pathfinding.Poly,System.Int32,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_poly, int32_t ___2_polyRef, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_randomPt, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Pathfinding.MeshTile::get_Verts()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32[] SharpNav.Pathfinding.Poly::get_Verts()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.Poly::get_VertCount()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.PathfindingCommon::RandomPointInConvexPoly(SharpNav.Geometry.Vector3[],System.Int32,System.Single[],System.Single,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathfindingCommon_RandomPointInConvexPoly_m2639A1E6796B45AE51C3A9E54977C0283FEC8811 (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_pts, int32_t ___1_npts, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___2_areas, float ___3_s, float ___4_t, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___5_pt, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPolyHeight(System.Int32,SharpNav.Geometry.Vector3,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPolyHeight_m7EE85BBA53B65E9F9073726FC2BDD249C424D8B2 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, float* ___2_height, const RuntimeMethod* method) ;
|
|
// System.Void System.InvalidOperationException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162 (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* __this, String_t* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::FindRandomPoint(SharpNav.Pathfinding.NavPoint&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___0_randomPoint, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.TiledNavMesh::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* TiledNavMesh_get_Item_mB85B9F537E4BCB59D5D693D9839ED58F6BADD898 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo SharpNav.Pathfinding.MeshTile::get_Header()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::get_TileCount()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t TiledNavMesh_get_TileCount_m66562B555E19A6EA7C9F509675A1102AAF9E512D_inline (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::GetPolyRefBase(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.Poly[] SharpNav.Pathfinding.MeshTile::get_Polys()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.PolygonType SharpNav.Pathfinding.Poly::get_PolyType()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Triangle3::Area2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_c, float* ___3_area, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.NavPoint::.ctor(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0 (NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* __this, int32_t ___0_poly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::FindRandomPointAroundCircle(SharpNav.Pathfinding.NavPoint,System.Single,SharpNav.Pathfinding.NavPoint&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_center, float ___1_radius, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___2_randomPoint, const RuntimeMethod* method) ;
|
|
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_mE5B2755F0BEA043CACF915D5CE140859EE58FA66 (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* __this, String_t* ___0_paramName, String_t* ___1_message, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.TiledNavMesh::IsValidPolyRef(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, const RuntimeMethod* method) ;
|
|
// System.Void System.ArgumentException::.ctor(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m8F9D40CE19D19B698A70F9A258640EB52DB39B62 (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* __this, String_t* ___0_message, String_t* ___1_paramName, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::TryGetTileAndPolyByRefUnsafe(System.Int32,SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.Poly&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___1_tile, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** ___2_poly, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NodePool::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::Clear()
|
|
inline void PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, const RuntimeMethod*))PriorityQueue_1_Clear_m32EDFAC58BE79012B6EE8B9DCCEB3041270137E0_gshared)(__this, method);
|
|
}
|
|
// SharpNav.Node SharpNav.NodePool::GetNode(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_id, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::Push(T)
|
|
inline void PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803 (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*, const RuntimeMethod*))PriorityQueue_1_Push_mAA87701E88A65146685DCD8FEBD55C230A83F267_gshared)(__this, ___0_node, method);
|
|
}
|
|
// T SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::Pop()
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, const RuntimeMethod*))PriorityQueue_1_Pop_m50EB1B7FF42C5988DB9E47E9D13937FE647F25BC_gshared)(__this, method);
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::SetNodeFlagClosed(SharpNav.Node&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_SetNodeFlagClosed_mACD538174081D501AB7E355086218D55A72B9A4C (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** ___0_node, const RuntimeMethod* method) ;
|
|
// SharpNav.Node SharpNav.NodePool::GetNodeAtIdx(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_idx, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.Poly::get_FirstLink()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.Link[] SharpNav.Pathfinding.MeshTile::get_Links()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_Reference()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPortalPoints(System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_from, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_fromPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___2_fromTile, int32_t ___3_to, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___4_toPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___5_toTile, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___6_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___7_right, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Distance::PointToSegment2DSquared(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_pt, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_p, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_q, float* ___3_t, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::IsInClosedList(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_IsInClosedList_m315AADA9E4B62356CBE5B2AAD76540A46465FCAB (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Lerp(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, float ___2_blend, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::IsInOpenList(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method) ;
|
|
// SharpNav.NodeFlags SharpNav.NavMeshQuery::RemoveNodeFlagClosed(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavMeshQuery_RemoveNodeFlagClosed_mDE7ED34E72232971AC72D5AEA3A3F0361D451142 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.NodePool::GetNodeIdx(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::Modify(T)
|
|
inline void PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*, const RuntimeMethod*))PriorityQueue_1_Modify_mF1A956D846B2B88093B0C1ADB6B45879C9989528_gshared)(__this, ___0_node, method);
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_Next()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::get_Count()
|
|
inline int32_t PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_inline (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, const RuntimeMethod*))PriorityQueue_1_get_Count_m1EB4A8F2EBCE56ADF511210EAF9E73C69E6F7A76_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
|
|
inline void List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Capacity()
|
|
inline int32_t List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
|
|
inline void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::GetEdgeMidPoint(System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetEdgeMidPoint_m3F18D7DF1F9D697CF4475A8939511AD49DAF288A (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_from, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_fromPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___2_fromTile, int32_t ___3_to, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___4_toPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___5_toTile, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___6_mid, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.NavMeshQuery::GetCost(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Pathfinding.Poly)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pa, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pb, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___2_curPoly, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::SetNodeFlagOpen(SharpNav.Node&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_SetNodeFlagOpen_m727984427980CF61D5B8610F3FF7D8553758E446 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** ___0_node, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
|
|
inline int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Reverse()
|
|
inline void List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::ClosestPointOnPolyBoundary(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_ClosestPointOnPolyBoundary_m91AF6E68D84BECE791DA2C87AD4EE0EF738128DA (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::AppendVertex(SharpNav.Geometry.Vector3,System.Int32,System.Int32,SharpNav.Geometry.Vector3[],System.Int32[],System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, int32_t ___1_flags, int32_t ___2_reference, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___3_straightPath, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___4_straightPathFlags, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___5_straightPathRefs, int32_t* ___6_straightPathCount, int32_t ___7_maxStraightPath, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPortalPoints(System.Int32,System.Int32,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Pathfinding.PolygonType&,SharpNav.Pathfinding.PolygonType&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPortalPoints_m3F4B1D6A7A26565017218498860F9B2B790AF349 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_from, int32_t ___1_to, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_right, uint8_t* ___4_fromType, uint8_t* ___5_toType, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::AppendPortals(System.Int32,System.Int32,SharpNav.Geometry.Vector3,System.Int32[],SharpNav.Geometry.Vector3[],System.Int32[],System.Int32[],System.Int32&,System.Int32,SharpNav.Pathfinding.PathBuildFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_AppendPortals_mBD00E03649425CC4DCA51AA85FBB236C63577A09 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_startIdx, int32_t ___1_endIdx, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_endPos, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_path, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___4_straightPath, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___5_straightPathFlags, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___6_straightPathRefs, int32_t* ___7_straightPathCount, int32_t ___8_maxStraightPath, int32_t ___9_options, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector3::op_Equality(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector3_op_Equality_m41A1B32923C878889867DD904C6615F8218B4BCC (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<SharpNav.Node>::.ctor(System.Int32)
|
|
inline void Queue_1__ctor_m1754D1D24F217349188E361976540EED39B31CB0 (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB*, int32_t, const RuntimeMethod*))Queue_1__ctor_m487BCAF8F7A2FB003B54B1E744B80FB6651B4963_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Queue`1<SharpNav.Node>::Enqueue(T)
|
|
inline void Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2 (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB*, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*, const RuntimeMethod*))Queue_1_Enqueue_m5CB8CF3906F1289F92036F0973EC5BE3450402EF_gshared)(__this, ___0_item, method);
|
|
}
|
|
// T System.Collections.Generic.Queue`1<SharpNav.Node>::Dequeue()
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* Queue_1_Dequeue_m8954A5AB013EE0381246EF55A8D57C5C3970BA29 (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* (*) (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB*, const RuntimeMethod*))Queue_1_Dequeue_m86B243DF9EC238316EC3D27DF3E0AB8DB0987E84_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Containment::PointInPoly(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Containment_PointInPoly_mA430368D59AEB06B4770937D51F8102D66E85CB3 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pt, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___1_verts, int32_t ___2_nverts, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98 (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Int32[] SharpNav.Pathfinding.Poly::get_Neis()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_Edge()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
|
|
inline int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single SharpNav.Geometry.Distance::PointToSegment2DSquared(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_pt, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_p, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_q, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Queue`1<SharpNav.Node>::get_Count()
|
|
inline int32_t Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_inline (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB*, const RuntimeMethod*))Queue_1_get_Count_m1768ADA9855B7CDA14C9C42E098A287F1A39C3A2_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.TiledNavMesh::TryGetTileAndPolyByRef(System.Int32,SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.Poly&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___1_tile, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** ___2_poly, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>::Empty()
|
|
inline bool PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*, const RuntimeMethod*))PriorityQueue_1_Empty_m01C1614ABA4BE1C13A0B992988FEE0EA1329B8B9_gshared)(__this, method);
|
|
}
|
|
// SharpNav.Node SharpNav.NodePool::FindNode(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* NodePool_FindNode_m5D282B3087A0628DA1C6E96D207240FC3601F092 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_id, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::.ctor(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Intersection::SegmentPoly2D(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32,System.Single&,System.Single&,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Intersection_SegmentPoly2D_m5FFF68388EB971B4A5764219CE79A7374DDAA343 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p0, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_p1, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_verts, int32_t ___3_nverts, float* ___4_tmin, float* ___5_tmax, int32_t* ___6_segMin, int32_t* ___7_segMax, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.Link::get_Side()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_BMin()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_BMax()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Normalize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Intersection::PolyPoly2D(SharpNav.Geometry.Vector3[],System.Int32,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Intersection_PolyPoly2D_mF405BF3CBF8CB0726715B9905DCA48443670CBAB (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_polya, int32_t ___1_npolya, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_polyb, int32_t ___3_npolyb, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::InsertInterval(SharpNav.NavMeshQuery/SegInterval[],System.Int32&,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_InsertInterval_m4DD96864C17D3220D27EA0104F8C2B2EC3365734 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* ___0_ints, int32_t* ___1_nints, int32_t ___2_maxInts, int32_t ___3_tmin, int32_t ___4_tmax, int32_t ___5_reference, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Lerp(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, float ___2_blend, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_result, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Addition(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Multiply(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, float ___1_scale, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::ClosestPointOnPoly(SharpNav.Pathfinding.Poly,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_ClosestPointOnPoly_m65982F057621178CED19314BD802233EC77FF8E2 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___0_poly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method) ;
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.Pathfinding.MeshTile::get_DetailMeshes()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Distance::PointToPolygonEdgeSquared(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32,System.Single[],System.Single[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Distance_PointToPolygonEdgeSquared_mCCC1FC8F6CB38CBD32CF06F8D031ACA920A962F4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pt, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___1_verts, int32_t ___2_nverts, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___3_edgeDist, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___4_edgeT, const RuntimeMethod* method) ;
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.Pathfinding.MeshTile::get_DetailTris()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* MeshTile_get_DetailTris_mB7EA05A2BE99D85445EBB42CA787964D460D31B1_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Pathfinding.MeshTile::get_DetailVerts()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Distance::PointToTriangle(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Distance_PointToTriangle_m8AD07917E1B86AD86D685541373F9D3D46007182 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___3_c, float* ___4_height, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::ClosestPointOnPolyBoundary(SharpNav.Pathfinding.Poly,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_ClosestPointOnPolyBoundary_m4D67B72E2EED036B11D0296B4D7034E5535182BA (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___0_poly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Area::op_Equality(SharpNav.Area,SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Area_op_Equality_mAC5EBF358CF6BD0390AAC8418EDE4E2D78F59D3C (Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_left, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Intersection::SegmentSegment2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Intersection_SegmentSegment2D_mD371D063BC76CCD3035D76D80673E12D36C5928F (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_c, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_d, float* ___4_s, float* ___5_t, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::ClosestPointOnPolyOffMeshConnection(SharpNav.Pathfinding.Poly,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_ClosestPointOnPolyOffMeshConnection_m30992CEF71F93504108AAD5C0E1518EBDE7A4996 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___0_poly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Pathfinding.MeshTile::ClosestHeight(System.Int32,SharpNav.Geometry.Vector3,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MeshTile_ClosestHeight_m0108A5CD3275E0211FDFFF0BF3C7A8E0D8FF63A9 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_indexPoly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, float* ___2_h, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.NavMeshQuery::FindNearestPoly(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Pathfinding.NavPoint&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_extents, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___2_nearestPt, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::QueryPolygons(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_QueryPolygons_mCAB91D162B50A3B59989652A4EC69587120BF3B9 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_extent, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_polys, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.NavMeshQuery::ClosestPointOnPoly(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_ClosestPointOnPoly_m4DBB76602E69374F8AD83E6ABA1F23D7726C395F (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, bool* ___3_posOverPoly, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector3::LengthSquared()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::CalcTileLoc(SharpNav.Geometry.Vector3&,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_CalcTileLoc_mECC555B7DD82158ABDEC03E9ECA281979CDE3821 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_pos, int32_t* ___1_tx, int32_t* ___2_ty, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.BBox3::.ctor(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBox3__ctor_m67BCA5F0DB7313A7AFBFF35F2EF6B73B3B09CF8B (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_min, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_max, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::GetTilesAt(System.Int32,System.Int32,SharpNav.Pathfinding.MeshTile[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetTilesAt_mC346933EF7F678906466E1AD61AB36203766A2B0 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* ___2_tiles, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::QueryPolygonsInTile(SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.BBox3,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_QueryPolygonsInTile_mF3733AB2C2702B1EAD3ED15E79228249C848B2E2 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___1_qbounds, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_polys, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Node>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m0272462D39FB633159D6C89F72FA8BB514E2D8B7 (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939*, int32_t, const RuntimeMethod*))List_1__ctor_m76CBBC3E2F0583F5AD30CE592CEA1225C06A0428_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void SharpNav.NodePool/IntNodeIdComparer::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IntNodeIdComparer__ctor_m5FB7C134FA22A832287865EAD261323499D6A548 (IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D* __this, int32_t ___0_hashSize, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>::.ctor(System.Collections.Generic.IEqualityComparer`1<TKey>)
|
|
inline void Dictionary_2__ctor_m0814AB5075ED6B9F033C2116D50A2DC8DC8DF54F (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* __this, RuntimeObject* ___0_comparer, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00*, RuntimeObject*, const RuntimeMethod*))Dictionary_2__ctor_m224CE4C47236A2296F3AC732E6F20FC1EEB56898_gshared)(__this, ___0_comparer, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Node>::Clear()
|
|
inline void List_1_Clear_mB923C63CBB254001A3638CFCD98ED55973FE6366_inline (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>::Clear()
|
|
inline void Dictionary_2_Clear_mF48591DE3AC1CC42E833D719D05A580728F61FE3 (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00*, const RuntimeMethod*))Dictionary_2_Clear_mE1EFF7C68491EE07D21EE9924475A559BF0A4773_gshared)(__this, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>::TryGetValue(TKey,TValue&)
|
|
inline bool Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* __this, int32_t ___0_key, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** ___1_value, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00*, int32_t, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9**, const RuntimeMethod*))Dictionary_2_TryGetValue_m7316301B8CF47FB538886B229B2749EC160B9D5C_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.Node>::get_Count()
|
|
inline int32_t List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_inline (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void SharpNav.Node::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Node__ctor_mEEC72D8131A78C39E9E34E87E2E32A84DB8FA5AF (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Node>::Add(T)
|
|
inline void List_1_Add_m96D47E2C7B7E90F1FE9C68D874790D4F7B2BEB36_inline (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939*, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,SharpNav.Node>::Add(TKey,TValue)
|
|
inline void Dictionary_2_Add_m0B32233F837031C2F349BA82671AD99CEBA6A60F (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* __this, int32_t ___0_key, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00*, int32_t, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*, const RuntimeMethod*))Dictionary_2_Add_mAF1EF7DA16BD70E252EA5C4B0F74DE519A02CBCD_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.Node>::get_Item(System.Int32)
|
|
inline Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0 (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* (*) (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void SharpNav.PolyBounds::.ctor(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyBounds__ctor_mEFE21AD277C4E15328AF8BAC9D520617693C6CE5 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_min, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_max, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyBounds::Equals(SharpNav.PolyBounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_Equals_m5E75633F368B3E32B13B6428FC693780DDE41A0C (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___0_other, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyBounds::op_Equality(SharpNav.PolyBounds,SharpNav.PolyBounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_op_Equality_m706EE0FBF77704D2B3259A0B007870AF2ADC0578 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___0_left, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::op_Equality(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_op_Equality_m7D6F2EBA891252DC922B76EDD0A1601C2803CB17 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_left, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_right, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.PolyBounds>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_inline (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208*, const RuntimeMethod*))Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Nullable`1<SharpNav.PolyBounds>::get_Value()
|
|
inline PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251 (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 (*) (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208*, const RuntimeMethod*))Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.PolyBounds::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_Equals_m1896172D1FA1F4F139D6F7D28AA41B6CBD12F384 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyVertex::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyVertex_GetHashCode_m9E76ECBCC360A706BCD83171B606737D62E4E2EC (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyBounds::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyBounds_GetHashCode_mD30C3B4CB5D2AC66577BEF724F5C8774DEE6097A (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.PolyVertex::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___0_values, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.PolyBounds::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PolyBounds_ToString_mFE86BF70868EFCD089D06271DFC255A8ACA69AE7 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::get_CellSize()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float NavMeshGenerationSettings_get_CellSize_mFF20B4412972B4ABB7CC750703346419F3677433_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.NavMeshGenerationSettings::get_CellHeight()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float NavMeshGenerationSettings_get_CellHeight_m430E34FA32288DE4C407CC897037C65A42828D31_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::get_VertsPerPoly()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NavMeshGenerationSettings_get_VertsPerPoly_m85E5AE5F164F11B1622A89BA3572A05B5A3C91BE_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMesh::.ctor(SharpNav.ContourSet,System.Single,System.Single,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh__ctor_mE835D4D3F59D987F9C3F7FD35C4EB7FA0749367B (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* ___0_contSet, float ___1_cellSize, float ___2_cellHeight, int32_t ___3_borderSize, int32_t ___4_numVertsPerPoly, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.BBox3 SharpNav.ContourSet::get_Bounds()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ContourSet_get_Bounds_m3134B9AB97FF4CDDABE1BFC575451BD9135EB283_inline (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Contour> SharpNav.ContourSet::GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ContourSet_GetEnumerator_mBD959430410633D8009B3B25F5F73A08A4F412AA (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.ContourVertex[] SharpNav.Contour::get_Vertices()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Math::Max(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyVertex>::.ctor(System.Int32)
|
|
inline void List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022 (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, int32_t, const RuntimeMethod*))List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, int32_t, const RuntimeMethod*))List_1__ctor_m76CBBC3E2F0583F5AD30CE592CEA1225C06A0428_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Queue`1<System.Int32>::.ctor(System.Int32)
|
|
inline void Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E*, int32_t, const RuntimeMethod*))Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void SharpNav.PolyVertex/RoughYEqualityComparer::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoughYEqualityComparer__ctor_mF682128888E82DC9FD3B8A49AFE6F5B97F7EA7AC (RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA* __this, int32_t ___0_epsilonY, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>::.ctor(System.Collections.Generic.IEqualityComparer`1<TKey>)
|
|
inline void Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7 (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* __this, RuntimeObject* ___0_comparer, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739*, RuntimeObject*, const RuntimeMethod*))Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7_gshared)(__this, ___0_comparer, method);
|
|
}
|
|
// System.Boolean SharpNav.Contour::get_IsNull()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Contour_get_IsNull_mE141724B0AEB1ED762849F3FFA5F9E0AE989E7D0 (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyVertex::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex__ctor_m91E8C7EBFFEA955B19DAECF5D85F233A36048F8C (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::Triangulate(SharpNav.PolyVertex[],System.Int32[],SharpNav.PolyMesh/Triangle[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_Triangulate_mC21B4661AD6338DB3EBDFDBD88263007F3FCAC05 (PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___0_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_indices, TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* ___2_tris, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::AddVertex(System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>,SharpNav.PolyVertex,System.Collections.Generic.List`1<SharpNav.PolyVertex>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_AddVertex_m5A1A539B2261FFAC55A120F7AE77CFD9589AEFA2 (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* ___0_vertDict, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_v, List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___2_verts, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::HasFlags(SharpNav.RegionId,SharpNav.RegionFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_HasFlags_mC8E454383DD8FE0352AD73E402D93C88FAC651B7 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_region, int32_t ___1_flags, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Int32>::Enqueue(T)
|
|
inline void Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E*, int32_t, const RuntimeMethod*))Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::Clear()
|
|
inline void List_1_Clear_m6158FC7DD991D6A7EA164B04D9DD674CDC762620_inline (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void SharpNav.PolyMesh/Polygon::.ctor(System.Int32,SharpNav.Area,SharpNav.RegionId,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon__ctor_m80D9008B7773671CC0CACFFE616B47B28C449A62 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, int32_t ___0_numVertsPerPoly, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___1_area, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___2_regionId, int32_t ___3_flags, const RuntimeMethod* method) ;
|
|
// System.Int32[] SharpNav.PolyMesh/Polygon::get_Vertices()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::RemoveDiagonalFlag(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6 (int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::Add(T)
|
|
inline void List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_inline (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::get_Count()
|
|
inline int32_t List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::GetPolyMergeValue(System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32,System.Int32,System.Collections.Generic.List`1<SharpNav.PolyVertex>,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_GetPolyMergeValue_m0C4B4D1CD0ED64EDAD9FC0F9B07F1EDC2DDC9AAC (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___0_polys, int32_t ___1_polyA, int32_t ___2_polyB, List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___3_verts, int32_t* ___4_edgeA, int32_t* ___5_edgeB, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMesh::MergePolys(System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_MergePolys_m2FFE2F7DBB94B76BBF43ACFA07DE2F09F4D7D957 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___0_polys, int32_t ___1_polyA, int32_t ___2_polyB, int32_t ___3_edgeA, int32_t ___4_edgeB, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::get_Item(System.Int32)
|
|
inline Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6 (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939 (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, int32_t ___0_index, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, int32_t, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF*, const RuntimeMethod*))List_1_set_Item_m3C58DBC69A321AF2826595584FF3E9F43C07EA56_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared)(__this, ___0_index, method);
|
|
}
|
|
// SharpNav.Area SharpNav.Contour::get_Area()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Contour_get_Area_mA7438872D999F0B590565C4CEF6D5430CCE83D9F_inline (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.RegionId SharpNav.Contour::get_RegionId()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Contour_get_RegionId_mE20B6B5BB7A3257D323FA6A26CCCC2B19ACE5AF7_inline (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Buffer::BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Buffer_BlockCopy_m2F7BC0C5BA97C500E3F87D5008718F797E02B358 (RuntimeArray* ___0_src, int32_t ___1_srcOffset, RuntimeArray* ___2_dst, int32_t ___3_dstOffset, int32_t ___4_count, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.Queue`1<System.Int32>::Dequeue()
|
|
inline int32_t Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650 (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E*, const RuntimeMethod*))Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::CanRemoveVertex(System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_CanRemoveVertex_mA29D7BBA0D05DE2809987283B1C6D816455CEB5C (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___0_polys, int32_t ___1_remove, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMesh::RemoveVertex(System.Collections.Generic.List`1<SharpNav.PolyVertex>,System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_RemoveVertex_m511C9D9AFEE151207F0359448711EAF08486B904 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___0_verts, List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___1_polys, int32_t ___2_vertex, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Queue`1<System.Int32>::get_Count()
|
|
inline int32_t Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_inline (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E*, const RuntimeMethod*))Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void SharpNav.PolyMesh::BuildMeshAdjacency(System.Collections.Generic.List`1<SharpNav.PolyVertex>,System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_BuildMeshAdjacency_m026DF8B92B1699C55B0A9B85A0EBECE38C0276A7 (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___0_vertices, List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___1_polys, int32_t ___2_numVertsPerPoly, const RuntimeMethod* method) ;
|
|
// System.Int32[] SharpNav.PolyMesh/Polygon::get_NeighborEdges()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyVertex>::get_Item(System.Int32)
|
|
inline PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2 (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, int32_t, const RuntimeMethod*))List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Int32 SharpNav.ContourSet::get_Height()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ContourSet_get_Height_m1D63DEA246371E09FC2FD1358851783CDA06CC54_inline (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.ContourSet::get_Width()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ContourSet_get_Width_m5C38C58FB1CBAA8B16D5C745853DFCA19F5DB864_inline (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<SharpNav.PolyVertex>::ToArray()
|
|
inline PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0 (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, const RuntimeMethod*))List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0_gshared)(__this, method);
|
|
}
|
|
// T[] System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::ToArray()
|
|
inline PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* List_1_ToArray_mA09EF4722BC67430E3C0F4B5CDEDB023B5FEB350 (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, const RuntimeMethod*))List_1_ToArray_mD7E4F8E7C11C3C67CB5739FCC0A6E86106A6291F_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::InCone(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_InCone_mAF7CBF7CC64AE429AC08BF82B7D0395154852F09 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::Diagonalie(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_Diagonalie_m02B5DC749783001CEA861563EC1C79B121EB3D2C (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::Next(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::Prev(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_Prev_m44D4253FA3C9396AE73CEDA6A523113432F9E83C (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::IsLeftOn(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::IsLeft(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::Equal2D(SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::Intersect(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_Intersect_mE4B226DB9BBC447089FC16B0F5751AD51181EC54 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___3_d, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::Diagonal(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_Diagonal_m57D3078D690DFFC8CB77199F6670B312773C0B93 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMesh::SetDiagonalFlag(System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_SetDiagonalFlag_mD4FCB9B3D6C4B21A02C4AB443E73C354F3FF7878 (int32_t* ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::HasDiagonalFlag(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_HasDiagonalFlag_mE8F6154C56B3F1D06105FD5A6D9C1B70A6A70ECC (int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::IsDiagonalLoose(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsDiagonalLoose_m5745CCC9C6D0A6DBC1790A7ED205C2213F734389 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMesh::RemoveDiagonalFlag(System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_RemoveDiagonalFlag_mCA0B81DCED6D4D9BDD8135983E9E5631594F6820 (int32_t* ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::IsInConeLoose(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsInConeLoose_m3177707B590D52B165B2C89E749884D69FCFE806 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::IsDiagonalieLoose(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsDiagonalieLoose_mB30936E9DB268C83F022FF9D1AC53CA7A8D86788 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::IsIntersectProp(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsIntersectProp_m1F873984100A56D80D95693D9AAA954C238213BA (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___3_d, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::IsCollinear(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IsCollinear_m525E97F79EE22A6F20FD09CC684A15664E21FB38 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::xorb(System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_xorb_m05AE0CC8151517C11B3D6A9233BB9F2BA3E9819F (bool ___0_x, bool ___1_y, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>::TryGetValue(TKey,TValue&)
|
|
inline bool Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42 (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_key, int32_t* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739*, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA, int32_t*, const RuntimeMethod*))Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyVertex>::get_Count()
|
|
inline int32_t List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_inline (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, const RuntimeMethod*))List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyVertex>::Add(T)
|
|
inline void List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_inline (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA, const RuntimeMethod*))List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>::Add(TKey,TValue)
|
|
inline void Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_key, int32_t ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739*, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA, int32_t, const RuntimeMethod*))Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh/Polygon::get_VertexCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMesh::ULeft(SharpNav.PolyVertex,SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_ULeft_mF8CFF217258C1F93D24C0D2627EBB4007BC437A9 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___2_c, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00 (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*, int32_t, const RuntimeMethod*))List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::get_Count()
|
|
inline int32_t List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_inline (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*, const RuntimeMethod*))List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::Add(T)
|
|
inline void List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_inline (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F, const RuntimeMethod*))List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::get_Item(System.Int32)
|
|
inline AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F (*) (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*, int32_t, const RuntimeMethod*))List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/AdjacencyEdge>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, int32_t ___0_index, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*, int32_t, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F, const RuntimeMethod*))List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136 (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, int32_t, const RuntimeMethod*))List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, int32_t, const RuntimeMethod*))List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Area>::.ctor(System.Int32)
|
|
inline void List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950*, int32_t, const RuntimeMethod*))List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh/Polygon::ContainsVertex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Polygon_ContainsVertex_m6D41FADAEF529AAB4090E55AC96DEF088CD8A46B (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, int32_t ___0_vertex, const RuntimeMethod* method) ;
|
|
// SharpNav.RegionId SharpNav.PolyMesh/Polygon::get_RegionId()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Polygon_get_RegionId_m9E5FDBF8432D77751B51C631AB401A1878ECF5D4_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Area SharpNav.PolyMesh/Polygon::get_Area()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Polygon_get_Area_m0975F5C5F92A629242CFFA81AED2EC09CE9A2E7A_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMesh/Edge::.ctor(System.Int32,System.Int32,SharpNav.RegionId,SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Edge__ctor_m657FAA8FF32F64917CC0F7D1FCBEB1F26DA0AFD1 (Edge_t5BB71DEFECE7290EB599134445761BB2F904534E* __this, int32_t ___0_vert0, int32_t ___1_vert1, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___2_region, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___3_area, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::Add(T)
|
|
inline void List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_inline (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E, const RuntimeMethod*))List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyVertex>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4 (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4_gshared)(__this, ___0_index, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::get_Item(System.Int32)
|
|
inline Edge_t5BB71DEFECE7290EB599134445761BB2F904534E List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Edge_t5BB71DEFECE7290EB599134445761BB2F904534E (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, int32_t, const RuntimeMethod*))List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065 (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_index, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, int32_t, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E, const RuntimeMethod*))List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::get_Count()
|
|
inline int32_t List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, const RuntimeMethod*))List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::Add(T)
|
|
inline void List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D, const RuntimeMethod*))List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Area>::Add(T)
|
|
inline void List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_inline (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950*, Area_t9E8E008D1CF28697728310B3039944F3C2777E47, const RuntimeMethod*))List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Insert(System.Int32,T)
|
|
inline void List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, int32_t ___1_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, int32_t, const RuntimeMethod*))List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE_gshared)(__this, ___0_index, ___1_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::Insert(System.Int32,T)
|
|
inline void List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799 (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, int32_t, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D, const RuntimeMethod*))List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799_gshared)(__this, ___0_index, ___1_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Area>::Insert(System.Int32,T)
|
|
inline void List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, int32_t ___0_index, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___1_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950*, int32_t, Area_t9E8E008D1CF28697728310B3039944F3C2777E47, const RuntimeMethod*))List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A_gshared)(__this, ___0_index, ___1_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Edge>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1 (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1_gshared)(__this, ___0_index, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.Area>::get_Item(System.Int32)
|
|
inline Area_t9E8E008D1CF28697728310B3039944F3C2777E47 List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3 (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Area_t9E8E008D1CF28697728310B3039944F3C2777E47 (*) (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950*, int32_t, const RuntimeMethod*))List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3_gshared)(__this, ___0_index, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.RegionId>::get_Item(System.Int32)
|
|
inline RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3 (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, int32_t, const RuntimeMethod*))List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
|
|
inline void List_1_AddRange_m22A22BEB3E509EC035D62FE3643E7352AFA9D70E (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m1F76B300133150E6046C5FED00E88B5DE0A02E17_gshared)(__this, ___0_collection, method);
|
|
}
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::get_SampleDistance()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NavMeshGenerationSettings_get_SampleDistance_m04D07D244790C6EF77291373D4F6E5614656DF3C_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.NavMeshGenerationSettings::get_MaxSampleError()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NavMeshGenerationSettings_get_MaxSampleError_m2A20E7A4E11967E23FFC1AA4995F69F45FC98F52_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail::.ctor(SharpNav.PolyMesh,SharpNav.CompactHeightfield,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail__ctor_m961A7DE079E47764BE57986583DF993E818AFA44 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* ___0_mesh, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___1_compactField, float ___2_sampleDist, float ___3_sampleMaxError, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::get_VertCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_get_VertCount_m44263F7006E8541735F6137DBAD2E119F528E016 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::get_PolyCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.BBox3 SharpNav.PolyMesh::get_Bounds()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C PolyMesh_get_Bounds_m5A245DCBAA724C658E65CE1967A134E7F13ECC2A_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::get_NumVertsPerPoly()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PolyMesh_get_NumVertsPerPoly_mD6EADD017666916BCD27C42FB26243D45E22AAF2_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::.ctor()
|
|
inline void List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58 (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, const RuntimeMethod*))List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::.ctor()
|
|
inline void List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0 (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, const RuntimeMethod*))List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0_gshared)(__this, method);
|
|
}
|
|
// SharpNav.PolyMesh/Polygon[] SharpNav.PolyMesh::get_Polys()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* PolyMesh_get_Polys_mD2449B557BCB34CB4FBAEF716B17D8F0173C1450_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.CompactHeightfield::get_Width()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.CompactHeightfield::get_Length()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t CompactHeightfield_get_Length_m94D8CE11F65057730993AC4B770DC7CCB7C8E78B_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.PolyVertex[] SharpNav.PolyMesh::get_Verts()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* PolyMesh_get_Verts_m8E70C4668DBF43B5EABC76321A6C95E27520E6A7_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Math::Min(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52 (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.BBox2i::.ctor(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBox2i__ctor_m6A387BDE3B1C895622DF621A35B19888048395A7 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, int32_t ___0_minX, int32_t ___1_minY, int32_t ___2_maxX, int32_t ___3_maxY, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.HeightPatch::.ctor(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightPatch__ctor_m415B859EE9D5206F778FC52D23CC826D87BE9391 (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_width, int32_t ___3_length, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.PolyMesh::get_CellSize()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float PolyMesh_get_CellSize_mB308A77ADDB9D1E4D8D6B73140E34ABA03D6E6F5_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.PolyMesh::get_CellHeight()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float PolyMesh_get_CellHeight_mEE72069AC5EB220C1E54DCE14DAE8020D2466663_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.HeightPatch::Resize(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightPatch_Resize_m90D9E046480D2C4577EB781B4E459E8A60641953 (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_width, int32_t ___3_length, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMesh::get_BorderSize()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PolyMesh_get_BorderSize_m8DEF8D4D6EF6B3E4A95F8A98389DBCF40CA6C750_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail::GetHeightData(SharpNav.CompactHeightfield,SharpNav.PolyMesh/Polygon,System.Int32,SharpNav.PolyVertex[],System.Int32,SharpNav.HeightPatch)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_GetHeightData_mE306B023D2E229F0BDA0FEA7CB394355DC059760 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___0_compactField, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* ___1_poly, int32_t ___2_polyCount, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___3_verts, int32_t ___4_borderSize, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___5_hp, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319 (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, int32_t, const RuntimeMethod*))List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::.ctor(System.Int32)
|
|
inline void List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551 (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, int32_t, const RuntimeMethod*))List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::.ctor(System.Int32)
|
|
inline void List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, int32_t, const RuntimeMethod*))List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::BuildPolyDetail(SharpNav.Geometry.Vector3[],System.Int32,System.Single,System.Single,SharpNav.CompactHeightfield,SharpNav.HeightPatch,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_BuildPolyDetail_m60FE5E04D5D67C2EF7D71FD321B95F89FC321D92 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_polyMeshVerts, int32_t ___1_numMeshVerts, float ___2_sampleDist, float ___3_sampleMaxError, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___4_compactField, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___5_hp, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___6_verts, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___7_tris, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___8_edges, List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* ___9_samples, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::get_Item(System.Int32)
|
|
inline Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, int32_t, const RuntimeMethod*))List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single SharpNav.CompactHeightfield::get_CellHeight()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2 (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, int32_t ___0_index, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, int32_t, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4, const RuntimeMethod*))List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::get_Count()
|
|
inline int32_t List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, const RuntimeMethod*))List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::get_Count()
|
|
inline int32_t List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, const RuntimeMethod*))List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
|
|
inline void List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, RuntimeObject* ___0_collection, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD_gshared)(__this, ___0_collection, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::get_Item(System.Int32)
|
|
inline TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, int32_t, const RuntimeMethod*))List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail/TriangleData::.ctor(SharpNav.PolyMeshDetail/TriangleData,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleData__ctor_mED87A855256790D23DE1631A639C709DC6B2FB9A (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* __this, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___0_data, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___1_verts, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_vpoly, int32_t ___3_npoly, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::Add(T)
|
|
inline void List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7, const RuntimeMethod*))List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T[] System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::ToArray()
|
|
inline Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099 (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, const RuntimeMethod*))List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099_gshared)(__this, method);
|
|
}
|
|
// T[] System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::ToArray()
|
|
inline TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51 (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, const RuntimeMethod*))List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::.ctor()
|
|
inline void List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666 (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, const RuntimeMethod*))List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666_gshared)(__this, method);
|
|
}
|
|
// System.Void SharpNav.HeightPatch::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightPatch_Clear_m1D082890BFDC0FEEB89EE6C3ADEF82C48A0D7BAD (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.HeightPatch::get_Y()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.HeightPatch::get_X()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.CompactCell[] SharpNav.CompactHeightfield::get_Cells()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.CompactSpan[] SharpNav.CompactHeightfield::get_Spans()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::op_Equality(SharpNav.RegionId,SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_left, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.HeightPatch::set_Item(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightPatch_set_Item_m5A25ACFC9264F2DBE54B289FF86B5988694683AD (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_value, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.CompactSpan::IsConnected(SharpNav.Direction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CompactSpan_IsConnected_mFCB5DCC3B238E20C5BEF41F6C2F804CADA65EA73 (CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE* __this, int32_t ___0_dir, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.DirectionExtensions::GetHorizontalOffset(SharpNav.Direction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DirectionExtensions_GetHorizontalOffset_m6EF99D2A005D9B63E45D4F200E6F5761DE7AC089 (int32_t ___0_dir, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.DirectionExtensions::GetVerticalOffset(SharpNav.Direction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DirectionExtensions_GetVerticalOffset_m154FE77EC095586AB97080D7B64938EE300911C5 (int32_t ___0_dir, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.CompactSpan::GetConnection(SharpNav.CompactSpan&,SharpNav.Direction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CompactSpan_GetConnection_mD199DEBEEA495B2BFAD643B28B6FBA294041C60D (CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE* ___0_s, int32_t ___1_dir, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::op_Inequality(SharpNav.RegionId,SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_op_Inequality_m7529FE0F094FE8F3AB6C7E45935562313DC410F5 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_left, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.CompactSpanReference::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9 (CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_i, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::Add(T)
|
|
inline void List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5, const RuntimeMethod*))List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 SharpNav.HeightPatch::get_Width()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.HeightPatch::get_Length()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail::GetHeightDataSeedsFromVertices(SharpNav.CompactHeightfield,SharpNav.PolyMesh/Polygon,System.Int32,SharpNav.PolyVertex[],System.Int32,SharpNav.HeightPatch,System.Collections.Generic.List`1<SharpNav.CompactSpanReference>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_GetHeightDataSeedsFromVertices_m1B1BBF3EF5599011D49FC6609FC23F6B32CBCCC4 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___0_compactField, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* ___1_poly, int32_t ___2_polyCount, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___3_verts, int32_t ___4_borderSize, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___5_hp, List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* ___6_stack, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::get_Item(System.Int32)
|
|
inline CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2 (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, int32_t, const RuntimeMethod*))List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_gshared)(__this, ___0_index, method);
|
|
}
|
|
// SharpNav.CompactSpan SharpNav.CompactHeightfield::get_Item(SharpNav.CompactSpanReference)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE CompactHeightfield_get_Item_m0E7CA21ABFCF77163123A89576BA9E942F4722FF (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___0_spanRef, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::get_Count()
|
|
inline int32_t List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, const RuntimeMethod*))List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782 (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, int32_t ___0_index, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, int32_t, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5, const RuntimeMethod*))List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3 (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Boolean SharpNav.HeightPatch::IsSet(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HeightPatch_IsSet_m36D51B4661D4ABFBC86BCC5E6FC63CF11144CDD6 (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.HeightPatch::SetAll(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightPatch_SetAll_m9D791D939BB7C968B9EFB7BDE023FB5E45D1F22B (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_h, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::GetEnumerator()
|
|
inline Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99 List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4 (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99 (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, const RuntimeMethod*))List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>::Dispose()
|
|
inline void Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72 (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99*, const RuntimeMethod*))Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>::get_Current()
|
|
inline CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_inline (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 (*) (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99*, const RuntimeMethod*))Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void SharpNav.HeightPatch::set_Item(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HeightPatch_set_Item_mCB66A6FFA2C91686127E0BF5E867C0C8D3244E0A (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_index, int32_t ___1_value, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1/Enumerator<SharpNav.CompactSpanReference>::MoveNext()
|
|
inline bool Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99*, const RuntimeMethod*))Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.CompactSpanReference>::Clear()
|
|
inline void List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, const RuntimeMethod*))List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 SharpNav.HeightPatch::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Item_mE7EE69D656D9498D495862C4831E0DBD1D7CFE98 (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Single System.Math::Max(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA (float ___0_val1, float ___1_val2, const RuntimeMethod* method) ;
|
|
// System.Single System.Math::Min(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Math_Min_mE913811A2F7566294BF4649A434282634E7254B3 (float ___0_val1, float ___1_val2, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>::Add(T)
|
|
inline void List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_inline (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4, const RuntimeMethod*))List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Single SharpNav.CompactHeightfield::get_CellSize()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float CompactHeightfield_get_CellSize_mDA6E6900AF35EB4311B4817B86A9250D7D28D8DC_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.PolyMeshDetail::PolyMinExtent(SharpNav.Geometry.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_PolyMinExtent_mBB9E192FE6BBAC9C1646555AEE8C06A5A8414A2B (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_verts, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Subtract(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Multiply(SharpNav.Geometry.Vector3&,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Multiply_m900A64E4C00A5437F53345FA29B45BD9DC720A3C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, float ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Add(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Add_mBE225178E91F5C8006F10FF5FE8B81D43C60EC08 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMeshDetail::GetHeight(SharpNav.Geometry.Vector3,System.Single,System.Single,SharpNav.HeightPatch)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_GetHeight_m3DCD45E0C7A014EAAA43E1D07A07E56AE9DF7945 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_loc, float ___1_invCellSize, float ___2_cellHeight, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___3_hp, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Distance::PointToSegmentSquared(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToSegmentSquared_mBCB461E90C5E01507A3DB6D157B6E7E0B5473DA4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_pt, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_p, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_q, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::Clear()
|
|
inline void List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, const RuntimeMethod*))List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::Clear()
|
|
inline void List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, const RuntimeMethod*))List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::TriangulateHull(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_TriangulateHull_mA8C820DE4FFE3F693A92012A51575B2869965241 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_hull, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___2_tris, const RuntimeMethod* method) ;
|
|
// System.Void System.Console::WriteLine(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Console_WriteLine_m77CEDA0C084428F0D6220988DA66992EC1925AEA (String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::ComponentMin(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_ComponentMin_m74282A434FB0B0FBB3EBB5C065A1B5126E806F6C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::ComponentMax(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_ComponentMax_mAF445BD4FE84CE16F5F32E4D9E87BB463BC782CD (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::Clear()
|
|
inline void List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, const RuntimeMethod*))List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_gshared_inline)(__this, method);
|
|
}
|
|
// System.Single SharpNav.Geometry.Distance::PointToPolygonSquared(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToPolygonSquared_mE1CAF292BE6EC518039DBBD1B8911384299BC67B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_point, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___1_verts, int32_t ___2_vertCount, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail/SamplingData::.ctor(System.Int32,System.Int32,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SamplingData__ctor_mA474DBE80B76EE56EE44C73FB77A6BF0B2938C7C (SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, bool ___3_isSampled, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::Add(T)
|
|
inline void List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406, const RuntimeMethod*))List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::get_Item(System.Int32)
|
|
inline SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25 (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, int32_t, const RuntimeMethod*))List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single SharpNav.PolyMeshDetail::GetJitterX(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_GetJitterX_m462D0C86AB5C470FC1EAC03838624D4621D0383E (int32_t ___0_i, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.PolyMeshDetail::GetJitterY(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_GetJitterY_m289F4D49FA3615C5CAAD3F5D30CE9DDF462ED0D5 (int32_t ___0_i, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.PolyMeshDetail::DistanceToTriMesh(SharpNav.Geometry.Vector3,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_DistanceToTriMesh_m0A85B68EC27A0F79FABE0744332FA4B5CBBA8022 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___1_verts, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___2_tris, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::get_Count()
|
|
inline int32_t List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, const RuntimeMethod*))List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, int32_t ___0_index, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, int32_t, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406, const RuntimeMethod*))List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::DelaunayHull(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_DelaunayHull_m6098C757B97EB30654803CCB328A74E064CDA514 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_hull, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___2_tris, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___3_edges, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.MathHelper::Clamp(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MathHelper_Clamp_mCA54969185976817ACC9C60D3C06999EB585305E (int32_t ___0_val, int32_t ___1_min, int32_t ___2_max, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.HeightPatch::TryGetHeight(System.Int32,System.Int32,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HeightPatch_TryGetHeight_m322E48BDE03DFEB6BFB806479FF8684AD457B011 (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, int32_t ___0_x, int32_t ___1_y, int32_t* ___2_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMeshDetail::Prev(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_Prev_mB213F510885DC70BB0F795D1CFC6F1BAED3CB281 (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMeshDetail::Next(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_Next_mFD4C2E518B69FFB3BF6A8A18F93116FE941B8373 (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::Distance2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, float* ___2_dist, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail/TriangleData::.ctor(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* __this, int32_t ___0_hash0, int32_t ___1_hash1, int32_t ___2_hash2, int32_t ___3_flags, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.PolyMeshDetail::AddEdge(System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_AddEdge_m4D2967D57572993D6BD26B93204D8C23A0423267 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___0_edges, int32_t ___1_s, int32_t ___2_t, int32_t ___3_leftFace, int32_t ___4_rightFace, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::get_Item(System.Int32)
|
|
inline EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0 (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, int32_t, const RuntimeMethod*))List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::CompleteFacet(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_CompleteFacet_m9600865B2870C2EA8663CAD349EFDE5B1D651491 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___1_edges, int32_t* ___2_nfaces, int32_t ___3_curEdge, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::get_Count()
|
|
inline int32_t List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, const RuntimeMethod*))List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_index, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, int32_t, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7, const RuntimeMethod*))List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650 (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3Extensions::Cross2D(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3Extensions_Cross2D_mEC81FE18486FB5C84569CCD9AABBF86C0B00FB4A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p1, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_p2, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_p3, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMeshDetail::CircumCircle(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMeshDetail_CircumCircle_mFCE72D889609138516CFF5A2CC414780010F16EF (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p1, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_p2, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_p3, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_c, float* ___4_r, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector3Extensions::Distance2D(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3Extensions_Distance2D_m9565801B48A602A308799D21592DCABFACAF020A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyMeshDetail::OverlapEdges(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMeshDetail_OverlapEdges_m377A490DAA08E7C02DF92F6B6CDF3F13BF85714B (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___1_edges, int32_t ___2_s1, int32_t ___3_t1, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail/EdgeInfo::UpdateLeftFace(SharpNav.PolyMeshDetail/EdgeInfo&,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EdgeInfo_UpdateLeftFace_m94F82B20E43B3972C70BFB15CE036DB195E99D5D (EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* ___0_e, int32_t ___1_s, int32_t ___2_t, int32_t ___3_f, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, int32_t ___0_index, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, int32_t, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258, const RuntimeMethod*))List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::FindEdge(System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_FindEdge_mB80F0A41EDBA7651B06C15E4689C2362D16F51FF (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___0_edges, int32_t ___1_s, int32_t ___2_t, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyMeshDetail/EdgeInfo::.ctor(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EdgeInfo__ctor_mB425EDB809A5B35E6586CECD8D8E87908B7D1EE1 (EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* __this, int32_t ___0_endPt0, int32_t ___1_endPt1, int32_t ___2_rightFace, int32_t ___3_leftFace, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>::Add(T)
|
|
inline void List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258, const RuntimeMethod*))List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Intersection::SegmentSegment2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Intersection_SegmentSegment2D_m7B8AA6BC6F2BF895EF8D9C1FE9B9DD23693934FB (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_c, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_d, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::Cross2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_Cross2D_m160A41D103A6262332002C40811ACD6D07718295 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_p1, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_p2, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_p3, float* ___3_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::Dot2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, float* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Distance::PointToTriangle(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToTriangle_mA49EC7A21C9706B7BECB1AF98ED76E616C37516B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___3_c, const RuntimeMethod* method) ;
|
|
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB (RuntimeArray* ___0_array, int32_t ___1_index, int32_t ___2_length, const RuntimeMethod* method) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.NavMeshQuery::.ctor(SharpNav.TiledNavMesh,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery__ctor_mCE87C0A876327447EC5221DF987266E60783C153 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* ___0_nav, int32_t ___1_maxNodes, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// : this(nav, maxNodes, new Random())
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = ___0_nav;
|
|
int32_t L_1 = ___1_maxNodes;
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_2 = (Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8*)il2cpp_codegen_object_new(Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
Random__ctor_m151183BD4F021499A98B9DE8502DAD4B12DD16AC(L_2, NULL);
|
|
NavMeshQuery__ctor_mEA7DAF5069F3FCF6552F23AB2B89141076B23C01(__this, L_0, L_1, L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::.ctor(SharpNav.TiledNavMesh,System.Int32,System.Random)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery__ctor_mEA7DAF5069F3FCF6552F23AB2B89141076B23C01 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* ___0_nav, int32_t ___1_maxNodes, Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___2_rand, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1__ctor_mC3ABFCC0BE62D0F04FF62CF70D76CF794734F7ED_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// public NavMeshQuery(TiledNavMesh nav, int maxNodes, Random rand)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.nav = nav;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = ___0_nav;
|
|
__this->___nav_1 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nav_1), (void*)L_0);
|
|
// areaCost = new float[byte.MaxValue + 1];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
|
|
__this->___areaCost_2 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___areaCost_2), (void*)L_1);
|
|
// for (int i = 0; i < areaCost.Length; i++)
|
|
V_0 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// areaCost[i] = 1.0f;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_2 = __this->___areaCost_2;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (float)(1.0f));
|
|
// for (int i = 0; i < areaCost.Length; i++)
|
|
int32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < areaCost.Length; i++)
|
|
int32_t L_5 = V_0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_6 = __this->___areaCost_2;
|
|
NullCheck(L_6);
|
|
if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// nodePool = new NodePool(maxNodes, MathHelper.NextPowerOfTwo(maxNodes / 4));
|
|
int32_t L_7 = ___1_maxNodes;
|
|
int32_t L_8 = ___1_maxNodes;
|
|
int32_t L_9;
|
|
L_9 = MathHelper_NextPowerOfTwo_m76FA16B30333EDBE3A2428A3E7BBAF41E38F8ADD(((int32_t)(L_8/4)), NULL);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_10 = (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D*)il2cpp_codegen_object_new(NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
NodePool__ctor_mA13D578CFE1E15E3C3FB30B39765858885CA84D9(L_10, L_7, L_9, NULL);
|
|
__this->___nodePool_4 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodePool_4), (void*)L_10);
|
|
// tinyNodePool = new NodePool(64, 32);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_11 = (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D*)il2cpp_codegen_object_new(NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_11);
|
|
NodePool__ctor_mA13D578CFE1E15E3C3FB30B39765858885CA84D9(L_11, ((int32_t)64), ((int32_t)32), NULL);
|
|
__this->___tinyNodePool_3 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tinyNodePool_3), (void*)L_11);
|
|
// openList = new PriorityQueue<Node>(maxNodes);
|
|
int32_t L_12 = ___1_maxNodes;
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_13 = (PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D*)il2cpp_codegen_object_new(PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_13);
|
|
PriorityQueue_1__ctor_mC3ABFCC0BE62D0F04FF62CF70D76CF794734F7ED(L_13, L_12, PriorityQueue_1__ctor_mC3ABFCC0BE62D0F04FF62CF70D76CF794734F7ED_RuntimeMethod_var);
|
|
__this->___openList_5 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___openList_5), (void*)L_13);
|
|
// this.rand = rand;
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_14 = ___2_rand;
|
|
__this->___rand_7 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___rand_7), (void*)L_14);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.NavMeshQuery::GetCost(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Pathfinding.Poly)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pa, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pb, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___2_curPoly, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// return (pa - pb).Length() * areaCost[(int)curPoly.Area.Id];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_pa;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_pb;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
L_2 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
float L_3;
|
|
L_3 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_0), NULL);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_4 = __this->___areaCost_2;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_5 = ___2_curPoly;
|
|
NullCheck(L_5);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_6;
|
|
L_6 = Poly_get_Area_m76E86CA64BCA6789358D39A854C2A328F2B398AB_inline(L_5, NULL);
|
|
uint8_t L_7 = L_6.___Id_2;
|
|
NullCheck(L_4);
|
|
uint8_t L_8 = L_7;
|
|
float L_9 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
return ((float)il2cpp_codegen_multiply(L_3, L_9));
|
|
}
|
|
}
|
|
// SharpNav.TiledNavMesh SharpNav.NavMeshQuery::get_NavMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* NavMeshQuery_get_NavMesh_m261AFB1EA3B4457558FBD366F59B35E8B1E0FCAB (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return nav;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.NavMeshQuery::FindRandomPointOnPoly(SharpNav.Pathfinding.MeshTile,SharpNav.Pathfinding.Poly,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 NavMeshQuery_FindRandomPointOnPoly_m807EC794B2C722B4E0873C2920116791AD713AE1 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_poly, int32_t ___2_polyRef, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// this.FindRandomPointOnPoly(tile, poly, polyRef, out result);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_tile;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_1 = ___1_poly;
|
|
int32_t L_2 = ___2_polyRef;
|
|
NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB(__this, L_0, L_1, L_2, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::FindRandomPointOnPoly(SharpNav.Pathfinding.MeshTile,SharpNav.Pathfinding.Poly,System.Int32,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_poly, int32_t ___2_polyRef, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_randomPt, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_0 = NULL;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* V_1 = NULL;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
{
|
|
// Vector3[] verts = new Vector3[PathfindingCommon.VERTS_PER_POLYGON];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_0 = L_0;
|
|
// float[] areas = new float[PathfindingCommon.VERTS_PER_POLYGON];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_1 = L_1;
|
|
// for (int j = 0; j < poly.VertCount; j++)
|
|
V_5 = 0;
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// verts[j] = tile.Verts[poly.Verts[j]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = V_0;
|
|
int32_t L_3 = V_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_4 = ___0_tile;
|
|
NullCheck(L_4);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5;
|
|
L_5 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_4, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_6 = ___1_poly;
|
|
NullCheck(L_6);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7;
|
|
L_7 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_6, NULL);
|
|
int32_t L_8 = V_5;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
NullCheck(L_5);
|
|
int32_t L_11 = L_10;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_12);
|
|
// for (int j = 0; j < poly.VertCount; j++)
|
|
int32_t L_13 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// for (int j = 0; j < poly.VertCount; j++)
|
|
int32_t L_14 = V_5;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_15 = ___1_poly;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_15, NULL);
|
|
if ((((int32_t)L_14) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// float s = (float)rand.NextDouble();
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_17 = __this->___rand_7;
|
|
NullCheck(L_17);
|
|
double L_18;
|
|
L_18 = VirtualFuncInvoker0< double >::Invoke(8 /* System.Double System.Random::NextDouble() */, L_17);
|
|
V_2 = ((float)L_18);
|
|
// float t = (float)rand.NextDouble();
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_19 = __this->___rand_7;
|
|
NullCheck(L_19);
|
|
double L_20;
|
|
L_20 = VirtualFuncInvoker0< double >::Invoke(8 /* System.Double System.Random::NextDouble() */, L_19);
|
|
V_3 = ((float)L_20);
|
|
// PathfindingCommon.RandomPointInConvexPoly(verts, poly.VertCount, areas, s, t, out randomPt);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_21 = V_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_22 = ___1_poly;
|
|
NullCheck(L_22);
|
|
int32_t L_23;
|
|
L_23 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_22, NULL);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_24 = V_1;
|
|
float L_25 = V_2;
|
|
float L_26 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_27 = ___3_randomPt;
|
|
PathfindingCommon_RandomPointInConvexPoly_m2639A1E6796B45AE51C3A9E54977C0283FEC8811(L_21, L_23, L_24, L_25, L_26, L_27, NULL);
|
|
// float h = 0.0f;
|
|
V_4 = (0.0f);
|
|
// if (!GetPolyHeight(polyRef, randomPt, ref h))
|
|
int32_t L_28 = ___2_polyRef;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_29 = ___3_randomPt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_29);
|
|
bool L_31;
|
|
L_31 = NavMeshQuery_GetPolyHeight_m7EE85BBA53B65E9F9073726FC2BDD249C424D8B2(__this, L_28, L_30, (&V_4), NULL);
|
|
if (L_31)
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
// throw new InvalidOperationException("Outside bounds?");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_32 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_32);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_32, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFD4941BD54FFB81A254B840F3A114118CF384A03)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_32, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// randomPt.Y = h;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_33 = ___3_randomPt;
|
|
float L_34 = V_4;
|
|
L_33->___Y_1 = L_34;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.NavPoint SharpNav.NavMeshQuery::FindRandomPoint()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 NavMeshQuery_FindRandomPoint_m9F5EABBECA9C790A49E2BA54BFF7BD5D2D1FAF11 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, const RuntimeMethod* method)
|
|
{
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// this.FindRandomPoint(out result);
|
|
NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652(__this, (&V_0), NULL);
|
|
// return result;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::FindRandomPoint(SharpNav.Pathfinding.NavPoint&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___0_randomPoint, const RuntimeMethod* method)
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
float V_5 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
int32_t V_7 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_8 = NULL;
|
|
float V_9 = 0.0f;
|
|
int32_t V_10 = 0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_11 = NULL;
|
|
int32_t V_12 = 0;
|
|
float V_13 = 0.0f;
|
|
float V_14 = 0.0f;
|
|
int32_t V_15 = 0;
|
|
{
|
|
// if (nav == null)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
if (L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// throw new InvalidOperationException("TODO prevent this state from ever occuring");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_1 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral7F6E48A4B97FD437CA66AB49C8EBAA931D1665D4)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// MeshTile tile = null;
|
|
V_0 = (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL;
|
|
// float tsum = 0.0f;
|
|
V_1 = (0.0f);
|
|
// for (int i = 0; i < nav.TileCount; i++)
|
|
V_7 = 0;
|
|
goto IL_0063;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// MeshTile t = nav[i];
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_2 = __this->___nav_1;
|
|
int32_t L_3 = V_7;
|
|
NullCheck(L_2);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_4;
|
|
L_4 = TiledNavMesh_get_Item_mB85B9F537E4BCB59D5D693D9839ED58F6BADD898(L_2, L_3, NULL);
|
|
V_8 = L_4;
|
|
// if (t == null || t.Header == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = V_8;
|
|
if (!L_5)
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_6 = V_8;
|
|
NullCheck(L_6);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_7;
|
|
L_7 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// float area = 1.0f;
|
|
V_9 = (1.0f);
|
|
// tsum += area;
|
|
float L_8 = V_1;
|
|
float L_9 = V_9;
|
|
V_1 = ((float)il2cpp_codegen_add(L_8, L_9));
|
|
// float u = (float)rand.NextDouble();
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_10 = __this->___rand_7;
|
|
NullCheck(L_10);
|
|
double L_11;
|
|
L_11 = VirtualFuncInvoker0< double >::Invoke(8 /* System.Double System.Random::NextDouble() */, L_10);
|
|
// if (u * tsum <= area)
|
|
float L_12 = V_1;
|
|
float L_13 = V_9;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(((float)L_11), L_12))) <= ((float)L_13))))
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// tile = t;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = V_8;
|
|
V_0 = L_14;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// for (int i = 0; i < nav.TileCount; i++)
|
|
int32_t L_15 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
// for (int i = 0; i < nav.TileCount; i++)
|
|
int32_t L_16 = V_7;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_17 = __this->___nav_1;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = TiledNavMesh_get_TileCount_m66562B555E19A6EA7C9F509675A1102AAF9E512D_inline(L_17, NULL);
|
|
if ((((int32_t)L_16) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_19 = V_0;
|
|
if (L_19)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// throw new InvalidOperationException("No tiles?");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_20 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_20);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_20, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCCF3D1CF65E23AAF943A38EBE795E83471F17D3E)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_20, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// Poly poly = null;
|
|
V_2 = (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)NULL;
|
|
// int polyRef = 0;
|
|
V_3 = 0;
|
|
// int polyBase = nav.GetPolyRefBase(tile);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_21 = __this->___nav_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_22 = V_0;
|
|
NullCheck(L_21);
|
|
int32_t L_23;
|
|
L_23 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(L_21, L_22, NULL);
|
|
V_4 = L_23;
|
|
// float areaSum = 0.0f;
|
|
V_5 = (0.0f);
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
V_10 = 0;
|
|
goto IL_0150;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// Poly p = tile.Polys[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_24 = V_0;
|
|
NullCheck(L_24);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_25;
|
|
L_25 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_24, NULL);
|
|
int32_t L_26 = V_10;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
V_11 = L_28;
|
|
// if (p.PolyType != PolygonType.Ground)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_29 = V_11;
|
|
NullCheck(L_29);
|
|
uint8_t L_30;
|
|
L_30 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_29, NULL);
|
|
if (L_30)
|
|
{
|
|
goto IL_014a;
|
|
}
|
|
}
|
|
{
|
|
// int reference = polyBase | i;
|
|
int32_t L_31 = V_4;
|
|
int32_t L_32 = V_10;
|
|
V_12 = ((int32_t)(L_31|L_32));
|
|
// float polyArea = 0.0f;
|
|
V_13 = (0.0f);
|
|
// for (int j = 2; j < p.VertCount; j++)
|
|
V_15 = 2;
|
|
goto IL_011f;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// Triangle3.Area2D(ref tile.Verts[p.Verts[0]], ref tile.Verts[p.Verts[j - 1]], ref tile.Verts[p.Verts[j]], out area);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = V_0;
|
|
NullCheck(L_33);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_34;
|
|
L_34 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_33, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_35 = V_11;
|
|
NullCheck(L_35);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_36;
|
|
L_36 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_35, NULL);
|
|
NullCheck(L_36);
|
|
int32_t L_37 = 0;
|
|
int32_t L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
NullCheck(L_34);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_39 = V_0;
|
|
NullCheck(L_39);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_40;
|
|
L_40 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_39, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_41 = V_11;
|
|
NullCheck(L_41);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_42;
|
|
L_42 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_41, NULL);
|
|
int32_t L_43 = V_15;
|
|
NullCheck(L_42);
|
|
int32_t L_44 = ((int32_t)il2cpp_codegen_subtract(L_43, 1));
|
|
int32_t L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
|
|
NullCheck(L_40);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_46 = V_0;
|
|
NullCheck(L_46);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_47;
|
|
L_47 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_46, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_48 = V_11;
|
|
NullCheck(L_48);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49;
|
|
L_49 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_48, NULL);
|
|
int32_t L_50 = V_15;
|
|
NullCheck(L_49);
|
|
int32_t L_51 = L_50;
|
|
int32_t L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
|
|
NullCheck(L_47);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D(((L_34)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_38))), ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_45))), ((L_47)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_52))), (&V_14), NULL);
|
|
// polyArea += area;
|
|
float L_53 = V_13;
|
|
float L_54 = V_14;
|
|
V_13 = ((float)il2cpp_codegen_add(L_53, L_54));
|
|
// for (int j = 2; j < p.VertCount; j++)
|
|
int32_t L_55 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_011f:
|
|
{
|
|
// for (int j = 2; j < p.VertCount; j++)
|
|
int32_t L_56 = V_15;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_57 = V_11;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_57, NULL);
|
|
if ((((int32_t)L_56) < ((int32_t)L_58)))
|
|
{
|
|
goto IL_00cb;
|
|
}
|
|
}
|
|
{
|
|
// areaSum += polyArea;
|
|
float L_59 = V_5;
|
|
float L_60 = V_13;
|
|
V_5 = ((float)il2cpp_codegen_add(L_59, L_60));
|
|
// float u = (float)rand.NextDouble();
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_61 = __this->___rand_7;
|
|
NullCheck(L_61);
|
|
double L_62;
|
|
L_62 = VirtualFuncInvoker0< double >::Invoke(8 /* System.Double System.Random::NextDouble() */, L_61);
|
|
// if (u * areaSum <= polyArea)
|
|
float L_63 = V_5;
|
|
float L_64 = V_13;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(((float)L_62), L_63))) <= ((float)L_64))))
|
|
{
|
|
goto IL_014a;
|
|
}
|
|
}
|
|
{
|
|
// poly = p;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_65 = V_11;
|
|
V_2 = L_65;
|
|
// polyRef = reference;
|
|
int32_t L_66 = V_12;
|
|
V_3 = L_66;
|
|
}
|
|
|
|
IL_014a:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_67 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_67, 1));
|
|
}
|
|
|
|
IL_0150:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_68 = V_10;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_69 = V_0;
|
|
NullCheck(L_69);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_70;
|
|
L_70 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_69, NULL);
|
|
NullCheck(L_70);
|
|
int32_t L_71 = L_70->___PolyCount_3;
|
|
if ((((int32_t)L_68) < ((int32_t)L_71)))
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// if (poly == null)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_72 = V_2;
|
|
if (L_72)
|
|
{
|
|
goto IL_0170;
|
|
}
|
|
}
|
|
{
|
|
// throw new InvalidOperationException("No polys?");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_73 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_73);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_73, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFD277274E8A639024A6C8D500C0085CCF50D132C)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_73, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPoint_m602FC889CF957260BFB2CEA18AE49162DB1D2652_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0170:
|
|
{
|
|
// FindRandomPointOnPoly(tile, poly, polyRef, out randomPt);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_74 = V_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_75 = V_2;
|
|
int32_t L_76 = V_3;
|
|
NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB(__this, L_74, L_75, L_76, (&V_6), NULL);
|
|
// randomPoint = new NavPoint(polyRef, randomPt);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_77 = ___0_randomPoint;
|
|
int32_t L_78 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_79 = V_6;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_80;
|
|
memset((&L_80), 0, sizeof(L_80));
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0((&L_80), L_78, L_79, /*hidden argument*/NULL);
|
|
*(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364*)L_77 = L_80;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.NavPoint SharpNav.NavMeshQuery::FindRandomPointAroundCircle(SharpNav.Pathfinding.NavPoint,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 NavMeshQuery_FindRandomPointAroundCircle_mCD1FEB4B2B0C15DE20442CD7AE88F8B416F3F088 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_center, float ___1_radius, const RuntimeMethod* method)
|
|
{
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// this.FindRandomPointAroundCircle(center, radius, out result);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_0 = ___0_center;
|
|
float L_1 = ___1_radius;
|
|
NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05(__this, L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::FindRandomPointAroundCircle(SharpNav.Pathfinding.NavPoint,System.Single,SharpNav.Pathfinding.NavPoint&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_center, float ___1_radius, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___2_randomPoint, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_2 = NULL;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_5 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_9 = NULL;
|
|
int32_t V_10 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_11 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_14 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_15 = NULL;
|
|
float V_16 = 0.0f;
|
|
float V_17 = 0.0f;
|
|
int32_t V_18 = 0;
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_21 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_22 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
float V_25 = 0.0f;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_26 = NULL;
|
|
float V_27 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_28;
|
|
memset((&V_28), 0, sizeof(V_28));
|
|
{
|
|
// if (nav == null || nodePool == null || openList == null)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_1 = __this->___nodePool_4;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_2 = __this->___openList_5;
|
|
if (L_2)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// throw new InvalidOperationException("Something null");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_3 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_3);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFB1B810C9C2E7A5A843244AD4450CAA29EF689F1)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// if (center.Polygon == 0)
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_4 = ___0_center;
|
|
int32_t L_5 = L_4.___Polygon_1;
|
|
if (L_5)
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// throw new ArgumentOutOfRangeException("startRef", "Null poly reference");
|
|
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_6 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_6);
|
|
ArgumentOutOfRangeException__ctor_mE5B2755F0BEA043CACF915D5CE140859EE58FA66(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6479B6ED661BCD67CC08A034895BB387E35A78D7)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8558D91A9231413C58B3640A48A390EF5450B3DF)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// if (!nav.IsValidPolyRef(center.Polygon))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_7 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_8 = ___0_center;
|
|
int32_t L_9 = L_8.___Polygon_1;
|
|
NullCheck(L_7);
|
|
bool L_10;
|
|
L_10 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_7, L_9, NULL);
|
|
if (L_10)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// throw new ArgumentException("startRef", "Poly reference is not valid for this navmesh");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_11 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_11);
|
|
ArgumentException__ctor_m8F9D40CE19D19B698A70F9A258640EB52DB39B62(L_11, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6479B6ED661BCD67CC08A034895BB387E35A78D7)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral293F36DD856E0E5DB89039083854F0C3CE36BD49)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(center.Polygon, out startTile, out startPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_12 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_13 = ___0_center;
|
|
int32_t L_14 = L_13.___Polygon_1;
|
|
NullCheck(L_12);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_12, L_14, (&V_0), (&V_1), NULL);
|
|
// nodePool.Clear();
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_15 = __this->___nodePool_4;
|
|
NullCheck(L_15);
|
|
NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E(L_15, NULL);
|
|
// openList.Clear();
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_16 = __this->___openList_5;
|
|
NullCheck(L_16);
|
|
PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B(L_16, PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var);
|
|
// Node startNode = nodePool.GetNode(center.Polygon);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_17 = __this->___nodePool_4;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_18 = ___0_center;
|
|
int32_t L_19 = L_18.___Polygon_1;
|
|
NullCheck(L_17);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_20;
|
|
L_20 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_17, L_19, NULL);
|
|
V_2 = L_20;
|
|
// startNode.Pos = center.Position;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_21 = V_2;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_22 = ___0_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = L_22.___Position_2;
|
|
NullCheck(L_21);
|
|
L_21->___Pos_0 = L_23;
|
|
// startNode.ParentIdx = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_24 = V_2;
|
|
NullCheck(L_24);
|
|
L_24->___ParentIdx_3 = 0;
|
|
// startNode.cost = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_25 = V_2;
|
|
NullCheck(L_25);
|
|
L_25->___cost_1 = (0.0f);
|
|
// startNode.total = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_26 = V_2;
|
|
NullCheck(L_26);
|
|
L_26->___total_2 = (0.0f);
|
|
// startNode.Id = center.Polygon;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_27 = V_2;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_28 = ___0_center;
|
|
int32_t L_29 = L_28.___Polygon_1;
|
|
NullCheck(L_27);
|
|
L_27->___Id_5 = L_29;
|
|
// startNode.Flags = NodeFlags.Open;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_30 = V_2;
|
|
NullCheck(L_30);
|
|
L_30->___Flags_4 = 1;
|
|
// openList.Push(startNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_31 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_32 = V_2;
|
|
NullCheck(L_31);
|
|
PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803(L_31, L_32, PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
// float radiusSqr = radius * radius;
|
|
float L_33 = ___1_radius;
|
|
float L_34 = ___1_radius;
|
|
V_3 = ((float)il2cpp_codegen_multiply(L_33, L_34));
|
|
// float areaSum = 0.0f;
|
|
V_4 = (0.0f);
|
|
// MeshTile randomTile = null;
|
|
V_5 = (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL;
|
|
// Poly randomPoly = null;
|
|
V_6 = (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)NULL;
|
|
// int randomPolyRef = 0;
|
|
V_7 = 0;
|
|
goto IL_0380;
|
|
}
|
|
|
|
IL_00fc:
|
|
{
|
|
// Node bestNode = openList.Pop();
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_35 = __this->___openList_5;
|
|
NullCheck(L_35);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_36;
|
|
L_36 = PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B(L_35, PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var);
|
|
V_9 = L_36;
|
|
// SetNodeFlagClosed(ref bestNode);
|
|
NavMeshQuery_SetNodeFlagClosed_mACD538174081D501AB7E355086218D55A72B9A4C(__this, (&V_9), NULL);
|
|
// int bestRef = bestNode.Id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_37 = V_9;
|
|
NullCheck(L_37);
|
|
int32_t L_38 = L_37->___Id_5;
|
|
V_10 = L_38;
|
|
// nav.TryGetTileAndPolyByRefUnsafe(bestRef, out bestTile, out bestPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_39 = __this->___nav_1;
|
|
int32_t L_40 = V_10;
|
|
NullCheck(L_39);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_39, L_40, (&V_11), (&V_12), NULL);
|
|
// if (bestPoly.PolyType == PolygonType.Ground)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_41 = V_12;
|
|
NullCheck(L_41);
|
|
uint8_t L_42;
|
|
L_42 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_41, NULL);
|
|
if (L_42)
|
|
{
|
|
goto IL_01cb;
|
|
}
|
|
}
|
|
{
|
|
// float polyArea = 0.0f;
|
|
V_16 = (0.0f);
|
|
// for (int j = 2; j < bestPoly.VertCount; j++)
|
|
V_18 = 2;
|
|
goto IL_019a;
|
|
}
|
|
|
|
IL_0143:
|
|
{
|
|
// Triangle3.Area2D(ref bestTile.Verts[bestPoly.Verts[0]], ref bestTile.Verts[bestPoly.Verts[j - 1]], ref bestTile.Verts[bestPoly.Verts[j]], out area);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_43 = V_11;
|
|
NullCheck(L_43);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_44;
|
|
L_44 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_43, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_45 = V_12;
|
|
NullCheck(L_45);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_46;
|
|
L_46 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_45, NULL);
|
|
NullCheck(L_46);
|
|
int32_t L_47 = 0;
|
|
int32_t L_48 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
|
|
NullCheck(L_44);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_49 = V_11;
|
|
NullCheck(L_49);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_50;
|
|
L_50 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_49, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_51 = V_12;
|
|
NullCheck(L_51);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_52;
|
|
L_52 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_51, NULL);
|
|
int32_t L_53 = V_18;
|
|
NullCheck(L_52);
|
|
int32_t L_54 = ((int32_t)il2cpp_codegen_subtract(L_53, 1));
|
|
int32_t L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
NullCheck(L_50);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_56 = V_11;
|
|
NullCheck(L_56);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_57;
|
|
L_57 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_56, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_58 = V_12;
|
|
NullCheck(L_58);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_59;
|
|
L_59 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_58, NULL);
|
|
int32_t L_60 = V_18;
|
|
NullCheck(L_59);
|
|
int32_t L_61 = L_60;
|
|
int32_t L_62 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
|
|
NullCheck(L_57);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D(((L_44)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_48))), ((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_55))), ((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_62))), (&V_17), NULL);
|
|
// polyArea += area;
|
|
float L_63 = V_16;
|
|
float L_64 = V_17;
|
|
V_16 = ((float)il2cpp_codegen_add(L_63, L_64));
|
|
// for (int j = 2; j < bestPoly.VertCount; j++)
|
|
int32_t L_65 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_65, 1));
|
|
}
|
|
|
|
IL_019a:
|
|
{
|
|
// for (int j = 2; j < bestPoly.VertCount; j++)
|
|
int32_t L_66 = V_18;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_67 = V_12;
|
|
NullCheck(L_67);
|
|
int32_t L_68;
|
|
L_68 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_67, NULL);
|
|
if ((((int32_t)L_66) < ((int32_t)L_68)))
|
|
{
|
|
goto IL_0143;
|
|
}
|
|
}
|
|
{
|
|
// areaSum += polyArea;
|
|
float L_69 = V_4;
|
|
float L_70 = V_16;
|
|
V_4 = ((float)il2cpp_codegen_add(L_69, L_70));
|
|
// float u = (float)rand.NextDouble();
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* L_71 = __this->___rand_7;
|
|
NullCheck(L_71);
|
|
double L_72;
|
|
L_72 = VirtualFuncInvoker0< double >::Invoke(8 /* System.Double System.Random::NextDouble() */, L_71);
|
|
// if (u * areaSum <= polyArea)
|
|
float L_73 = V_4;
|
|
float L_74 = V_16;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(((float)L_72), L_73))) <= ((float)L_74))))
|
|
{
|
|
goto IL_01cb;
|
|
}
|
|
}
|
|
{
|
|
// randomTile = bestTile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_75 = V_11;
|
|
V_5 = L_75;
|
|
// randomPoly = bestPoly;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_76 = V_12;
|
|
V_6 = L_76;
|
|
// randomPolyRef = bestRef;
|
|
int32_t L_77 = V_10;
|
|
V_7 = L_77;
|
|
}
|
|
|
|
IL_01cb:
|
|
{
|
|
// int parentRef = 0;
|
|
V_13 = 0;
|
|
// if (bestNode.ParentIdx != 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_78 = V_9;
|
|
NullCheck(L_78);
|
|
int32_t L_79 = L_78->___ParentIdx_3;
|
|
if (!L_79)
|
|
{
|
|
goto IL_01f0;
|
|
}
|
|
}
|
|
{
|
|
// parentRef = nodePool.GetNodeAtIdx(bestNode.ParentIdx).Id;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_80 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_81 = V_9;
|
|
NullCheck(L_81);
|
|
int32_t L_82 = L_81->___ParentIdx_3;
|
|
NullCheck(L_80);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_83;
|
|
L_83 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_80, L_82, NULL);
|
|
NullCheck(L_83);
|
|
int32_t L_84 = L_83->___Id_5;
|
|
V_13 = L_84;
|
|
}
|
|
|
|
IL_01f0:
|
|
{
|
|
// if (parentRef != 0)
|
|
int32_t L_85 = V_13;
|
|
if (!L_85)
|
|
{
|
|
goto IL_0205;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(parentRef, out parentTile, out parentPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_86 = __this->___nav_1;
|
|
int32_t L_87 = V_13;
|
|
NullCheck(L_86);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_86, L_87, (&V_14), (&V_15), NULL);
|
|
}
|
|
|
|
IL_0205:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_88 = V_12;
|
|
NullCheck(L_88);
|
|
int32_t L_89;
|
|
L_89 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_88, NULL);
|
|
V_19 = L_89;
|
|
goto IL_0378;
|
|
}
|
|
|
|
IL_0213:
|
|
{
|
|
// Link link = bestTile.Links[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_90 = V_11;
|
|
NullCheck(L_90);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_91;
|
|
L_91 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_90, NULL);
|
|
int32_t L_92 = V_19;
|
|
NullCheck(L_91);
|
|
int32_t L_93 = L_92;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_94 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_93));
|
|
// int neighbourRef = link.Reference;
|
|
NullCheck(L_94);
|
|
int32_t L_95;
|
|
L_95 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_94, NULL);
|
|
V_20 = L_95;
|
|
// if (neighbourRef == 0 || neighbourRef == parentRef)
|
|
int32_t L_96 = V_20;
|
|
if (!L_96)
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_97 = V_20;
|
|
int32_t L_98 = V_13;
|
|
if ((((int32_t)L_97) == ((int32_t)L_98)))
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(neighbourRef, out neighbourTile, out neighbourPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_99 = __this->___nav_1;
|
|
int32_t L_100 = V_20;
|
|
NullCheck(L_99);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_99, L_100, (&V_21), (&V_22), NULL);
|
|
// Vector3 va = new Vector3();
|
|
il2cpp_codegen_initobj((&V_23), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// Vector3 vb = new Vector3();
|
|
il2cpp_codegen_initobj((&V_24), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// if (!GetPortalPoints(bestRef, bestPoly, bestTile, neighbourRef, neighbourPoly, neighbourTile, ref va, ref vb))
|
|
int32_t L_101 = V_10;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_102 = V_12;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_103 = V_11;
|
|
int32_t L_104 = V_20;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_105 = V_22;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_106 = V_21;
|
|
bool L_107;
|
|
L_107 = NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6(__this, L_101, L_102, L_103, L_104, L_105, L_106, (&V_23), (&V_24), NULL);
|
|
if (!L_107)
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
// float distSqr = Distance.PointToSegment2DSquared(ref center.Position, ref va, ref vb, out tseg);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_108 = (&(&___0_center)->___Position_2);
|
|
float L_109;
|
|
L_109 = Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B(L_108, (&V_23), (&V_24), (&V_25), NULL);
|
|
// if (distSqr > radiusSqr)
|
|
float L_110 = V_3;
|
|
if ((((float)L_109) > ((float)L_110)))
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
// Node neighbourNode = nodePool.GetNode(neighbourRef);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_111 = __this->___nodePool_4;
|
|
int32_t L_112 = V_20;
|
|
NullCheck(L_111);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_113;
|
|
L_113 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_111, L_112, NULL);
|
|
V_26 = L_113;
|
|
// if (neighbourNode == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_114 = V_26;
|
|
if (!L_114)
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
// if (IsInClosedList(neighbourNode))
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_115 = V_26;
|
|
bool L_116;
|
|
L_116 = NavMeshQuery_IsInClosedList_m315AADA9E4B62356CBE5B2AAD76540A46465FCAB(__this, L_115, NULL);
|
|
if (L_116)
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbourNode.Flags == 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_117 = V_26;
|
|
NullCheck(L_117);
|
|
int32_t L_118 = L_117->___Flags_4;
|
|
if (L_118)
|
|
{
|
|
goto IL_02c9;
|
|
}
|
|
}
|
|
{
|
|
// neighbourNode.Pos = Vector3.Lerp(va, vb, 0.5f);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_119 = V_26;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_120 = V_23;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_121 = V_24;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_122;
|
|
L_122 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_120, L_121, (0.5f), NULL);
|
|
NullCheck(L_119);
|
|
L_119->___Pos_0 = L_122;
|
|
}
|
|
|
|
IL_02c9:
|
|
{
|
|
// float total = bestNode.total + (bestNode.Pos - neighbourNode.Pos).Length();
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_123 = V_9;
|
|
NullCheck(L_123);
|
|
float L_124 = L_123->___total_2;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_125 = V_9;
|
|
NullCheck(L_125);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_126 = L_125->___Pos_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_127 = V_26;
|
|
NullCheck(L_127);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_128 = L_127->___Pos_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_129;
|
|
L_129 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_126, L_128, NULL);
|
|
V_28 = L_129;
|
|
float L_130;
|
|
L_130 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_28), NULL);
|
|
V_27 = ((float)il2cpp_codegen_add(L_124, L_130));
|
|
// if (IsInOpenList(neighbourNode) && total >= neighbourNode.total)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_131 = V_26;
|
|
bool L_132;
|
|
L_132 = NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5(__this, L_131, NULL);
|
|
if (!L_132)
|
|
{
|
|
goto IL_0304;
|
|
}
|
|
}
|
|
{
|
|
float L_133 = V_27;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_134 = V_26;
|
|
NullCheck(L_134);
|
|
float L_135 = L_134->___total_2;
|
|
if ((((float)L_133) >= ((float)L_135)))
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
|
|
IL_0304:
|
|
{
|
|
// neighbourNode.Id = neighbourRef;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_136 = V_26;
|
|
int32_t L_137 = V_20;
|
|
NullCheck(L_136);
|
|
L_136->___Id_5 = L_137;
|
|
// neighbourNode.Flags = RemoveNodeFlagClosed(neighbourNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_138 = V_26;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_139 = V_26;
|
|
int32_t L_140;
|
|
L_140 = NavMeshQuery_RemoveNodeFlagClosed_mDE7ED34E72232971AC72D5AEA3A3F0361D451142(__this, L_139, NULL);
|
|
NullCheck(L_138);
|
|
L_138->___Flags_4 = L_140;
|
|
// neighbourNode.ParentIdx = nodePool.GetNodeIdx(bestNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_141 = V_26;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_142 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_143 = V_9;
|
|
NullCheck(L_142);
|
|
int32_t L_144;
|
|
L_144 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_142, L_143, NULL);
|
|
NullCheck(L_141);
|
|
L_141->___ParentIdx_3 = L_144;
|
|
// neighbourNode.total = total;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_145 = V_26;
|
|
float L_146 = V_27;
|
|
NullCheck(L_145);
|
|
L_145->___total_2 = L_146;
|
|
// if (IsInOpenList(neighbourNode))
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_147 = V_26;
|
|
bool L_148;
|
|
L_148 = NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5(__this, L_147, NULL);
|
|
if (!L_148)
|
|
{
|
|
goto IL_0352;
|
|
}
|
|
}
|
|
{
|
|
// openList.Modify(neighbourNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_149 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_150 = V_26;
|
|
NullCheck(L_149);
|
|
PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C(L_149, L_150, PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var);
|
|
goto IL_0367;
|
|
}
|
|
|
|
IL_0352:
|
|
{
|
|
// neighbourNode.Flags = NodeFlags.Open;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_151 = V_26;
|
|
NullCheck(L_151);
|
|
L_151->___Flags_4 = 1;
|
|
// openList.Push(neighbourNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_152 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_153 = V_26;
|
|
NullCheck(L_152);
|
|
PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803(L_152, L_153, PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0367:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_154 = V_11;
|
|
NullCheck(L_154);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_155;
|
|
L_155 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_154, NULL);
|
|
int32_t L_156 = V_19;
|
|
NullCheck(L_155);
|
|
int32_t L_157 = L_156;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_158 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
NullCheck(L_158);
|
|
int32_t L_159;
|
|
L_159 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_158, NULL);
|
|
V_19 = L_159;
|
|
}
|
|
|
|
IL_0378:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
int32_t L_160 = V_19;
|
|
if ((!(((uint32_t)L_160) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0213;
|
|
}
|
|
}
|
|
|
|
IL_0380:
|
|
{
|
|
// while (openList.Count > 0)
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_161 = __this->___openList_5;
|
|
NullCheck(L_161);
|
|
int32_t L_162;
|
|
L_162 = PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_inline(L_161, PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_RuntimeMethod_var);
|
|
if ((((int32_t)L_162) > ((int32_t)0)))
|
|
{
|
|
goto IL_00fc;
|
|
}
|
|
}
|
|
{
|
|
// if (randomPoly == null)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_163 = V_6;
|
|
if (L_163)
|
|
{
|
|
goto IL_03a0;
|
|
}
|
|
}
|
|
{
|
|
// throw new InvalidOperationException("Poly null?");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_164 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_164);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_164, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral732D5CF125F95C8A2EEFBAAF5063FEA78D376FCA)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_164, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindRandomPointAroundCircle_m42F305A44886A4D32C64CB9B74F80B83355A5A05_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_03a0:
|
|
{
|
|
// FindRandomPointOnPoly(randomTile, randomPoly, randomPolyRef, out randomPt);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_165 = V_5;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_166 = V_6;
|
|
int32_t L_167 = V_7;
|
|
NavMeshQuery_FindRandomPointOnPoly_m133B049F8CAD10154237545C0DBD78772C5118BB(__this, L_165, L_166, L_167, (&V_8), NULL);
|
|
// randomPoint = new NavPoint(randomPolyRef, randomPt);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_168 = ___2_randomPoint;
|
|
int32_t L_169 = V_7;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_170 = V_8;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_171;
|
|
memset((&L_171), 0, sizeof(L_171));
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0((&L_171), L_169, L_170, /*hidden argument*/NULL);
|
|
*(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364*)L_168 = L_171;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::FindPath(SharpNav.Pathfinding.NavPoint&,SharpNav.Pathfinding.NavPoint&,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_FindPath_m5FDC454829F7B37DF20C653B74A5A70A3C40F98A (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___0_startPt, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___1_endPt, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_path, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_4 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_5 = NULL;
|
|
float V_6 = 0.0f;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_7 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_9 = NULL;
|
|
int32_t V_10 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_11 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_14 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_15 = NULL;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_18 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_19 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_20 = NULL;
|
|
float V_21 = 0.0f;
|
|
float V_22 = 0.0f;
|
|
float V_23 = 0.0f;
|
|
float V_24 = 0.0f;
|
|
float V_25 = 0.0f;
|
|
float V_26 = 0.0f;
|
|
{
|
|
// path.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_0 = ___2_path;
|
|
NullCheck(L_0);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_0, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// int startRef = startPt.Polygon;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_1 = ___0_startPt;
|
|
int32_t L_2 = L_1->___Polygon_1;
|
|
V_0 = L_2;
|
|
// Vector3 startPos = startPt.Position;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_3 = ___0_startPt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = L_3->___Position_2;
|
|
V_1 = L_4;
|
|
// int endRef = endPt.Polygon;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_5 = ___1_endPt;
|
|
int32_t L_6 = L_5->___Polygon_1;
|
|
V_2 = L_6;
|
|
// Vector3 endPos = endPt.Position;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_7 = ___1_endPt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = L_7->___Position_2;
|
|
V_3 = L_8;
|
|
// if (startRef == 0 || endRef == 0)
|
|
int32_t L_9 = V_0;
|
|
if (!L_9)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_10 = V_2;
|
|
if (L_10)
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// if (path.Capacity == 0)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = ___2_path;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_11, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if (L_12)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// if (!nav.IsValidPolyRef(startRef) || !nav.IsValidPolyRef(endRef))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_13 = __this->___nav_1;
|
|
int32_t L_14 = V_0;
|
|
NullCheck(L_13);
|
|
bool L_15;
|
|
L_15 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_13, L_14, NULL);
|
|
if (!L_15)
|
|
{
|
|
goto IL_0050;
|
|
}
|
|
}
|
|
{
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_16 = __this->___nav_1;
|
|
int32_t L_17 = V_2;
|
|
NullCheck(L_16);
|
|
bool L_18;
|
|
L_18 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_16, L_17, NULL);
|
|
if (L_18)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// if (startRef == endRef)
|
|
int32_t L_19 = V_0;
|
|
int32_t L_20 = V_2;
|
|
if ((!(((uint32_t)L_19) == ((uint32_t)L_20))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// path.Add(startRef);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = ___2_path;
|
|
int32_t L_22 = V_0;
|
|
NullCheck(L_21);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_21, L_22, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// nodePool.Clear();
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_23 = __this->___nodePool_4;
|
|
NullCheck(L_23);
|
|
NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E(L_23, NULL);
|
|
// openList.Clear();
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_24 = __this->___openList_5;
|
|
NullCheck(L_24);
|
|
PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B(L_24, PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var);
|
|
// Node startNode = nodePool.GetNode(startRef);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_25 = __this->___nodePool_4;
|
|
int32_t L_26 = V_0;
|
|
NullCheck(L_25);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_27;
|
|
L_27 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_25, L_26, NULL);
|
|
V_4 = L_27;
|
|
// startNode.Pos = startPos;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_28 = V_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_1;
|
|
NullCheck(L_28);
|
|
L_28->___Pos_0 = L_29;
|
|
// startNode.ParentIdx = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_30 = V_4;
|
|
NullCheck(L_30);
|
|
L_30->___ParentIdx_3 = 0;
|
|
// startNode.cost = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_31 = V_4;
|
|
NullCheck(L_31);
|
|
L_31->___cost_1 = (0.0f);
|
|
// startNode.total = (startPos - endPos).Length() * H_SCALE;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_32 = V_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35;
|
|
L_35 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_33, L_34, NULL);
|
|
V_8 = L_35;
|
|
float L_36;
|
|
L_36 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_8), NULL);
|
|
NullCheck(L_32);
|
|
L_32->___total_2 = ((float)il2cpp_codegen_multiply(L_36, (0.999000013f)));
|
|
// startNode.Id = startRef;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_37 = V_4;
|
|
int32_t L_38 = V_0;
|
|
NullCheck(L_37);
|
|
L_37->___Id_5 = L_38;
|
|
// startNode.Flags = NodeFlags.Open;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_39 = V_4;
|
|
NullCheck(L_39);
|
|
L_39->___Flags_4 = 1;
|
|
// openList.Push(startNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_40 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_41 = V_4;
|
|
NullCheck(L_40);
|
|
PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803(L_40, L_41, PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
// Node lastBestNode = startNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_42 = V_4;
|
|
V_5 = L_42;
|
|
// float lastBestTotalCost = startNode.total;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_43 = V_4;
|
|
NullCheck(L_43);
|
|
float L_44 = L_43->___total_2;
|
|
V_6 = L_44;
|
|
goto IL_033e;
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// Node bestNode = openList.Pop();
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_45 = __this->___openList_5;
|
|
NullCheck(L_45);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_46;
|
|
L_46 = PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B(L_45, PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var);
|
|
V_9 = L_46;
|
|
// SetNodeFlagClosed(ref bestNode);
|
|
NavMeshQuery_SetNodeFlagClosed_mACD538174081D501AB7E355086218D55A72B9A4C(__this, (&V_9), NULL);
|
|
// if (bestNode.Id == endRef)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_47 = V_9;
|
|
NullCheck(L_47);
|
|
int32_t L_48 = L_47->___Id_5;
|
|
int32_t L_49 = V_2;
|
|
if ((!(((uint32_t)L_48) == ((uint32_t)L_49))))
|
|
{
|
|
goto IL_0113;
|
|
}
|
|
}
|
|
{
|
|
// lastBestNode = bestNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_50 = V_9;
|
|
V_5 = L_50;
|
|
// break;
|
|
goto IL_034f;
|
|
}
|
|
|
|
IL_0113:
|
|
{
|
|
// int bestRef = bestNode.Id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_51 = V_9;
|
|
NullCheck(L_51);
|
|
int32_t L_52 = L_51->___Id_5;
|
|
V_10 = L_52;
|
|
// nav.TryGetTileAndPolyByRefUnsafe(bestRef, out bestTile, out bestPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_53 = __this->___nav_1;
|
|
int32_t L_54 = V_10;
|
|
NullCheck(L_53);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_53, L_54, (&V_11), (&V_12), NULL);
|
|
// int parentRef = 0;
|
|
V_13 = 0;
|
|
// if (bestNode.ParentIdx != 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_55 = V_9;
|
|
NullCheck(L_55);
|
|
int32_t L_56 = L_55->___ParentIdx_3;
|
|
if (!L_56)
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
// parentRef = nodePool.GetNodeAtIdx(bestNode.ParentIdx).Id;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_57 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_58 = V_9;
|
|
NullCheck(L_58);
|
|
int32_t L_59 = L_58->___ParentIdx_3;
|
|
NullCheck(L_57);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_60;
|
|
L_60 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_57, L_59, NULL);
|
|
NullCheck(L_60);
|
|
int32_t L_61 = L_60->___Id_5;
|
|
V_13 = L_61;
|
|
}
|
|
|
|
IL_0152:
|
|
{
|
|
// if (parentRef != 0)
|
|
int32_t L_62 = V_13;
|
|
if (!L_62)
|
|
{
|
|
goto IL_0167;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(parentRef, out parentTile, out parentPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_63 = __this->___nav_1;
|
|
int32_t L_64 = V_13;
|
|
NullCheck(L_63);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_63, L_64, (&V_14), (&V_15), NULL);
|
|
}
|
|
|
|
IL_0167:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_65 = V_12;
|
|
NullCheck(L_65);
|
|
int32_t L_66;
|
|
L_66 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_65, NULL);
|
|
V_16 = L_66;
|
|
goto IL_0336;
|
|
}
|
|
|
|
IL_0175:
|
|
{
|
|
// int neighbourRef = bestTile.Links[i].Reference;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_67 = V_11;
|
|
NullCheck(L_67);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_68;
|
|
L_68 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_67, NULL);
|
|
int32_t L_69 = V_16;
|
|
NullCheck(L_68);
|
|
int32_t L_70 = L_69;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_71 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
|
|
NullCheck(L_71);
|
|
int32_t L_72;
|
|
L_72 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_71, NULL);
|
|
V_17 = L_72;
|
|
// if (neighbourRef == 0 || neighbourRef == parentRef)
|
|
int32_t L_73 = V_17;
|
|
if (!L_73)
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_74 = V_17;
|
|
int32_t L_75 = V_13;
|
|
if ((((int32_t)L_74) == ((int32_t)L_75)))
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(neighbourRef, out neighbourTile, out neighbourPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_76 = __this->___nav_1;
|
|
int32_t L_77 = V_17;
|
|
NullCheck(L_76);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_76, L_77, (&V_18), (&V_19), NULL);
|
|
// Node neighbourNode = nodePool.GetNode(neighbourRef);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_78 = __this->___nodePool_4;
|
|
int32_t L_79 = V_17;
|
|
NullCheck(L_78);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_80;
|
|
L_80 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_78, L_79, NULL);
|
|
V_20 = L_80;
|
|
// if (neighbourNode == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_81 = V_20;
|
|
if (!L_81)
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbourNode.Flags == 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_82 = V_20;
|
|
NullCheck(L_82);
|
|
int32_t L_83 = L_82->___Flags_4;
|
|
if (L_83)
|
|
{
|
|
goto IL_01e0;
|
|
}
|
|
}
|
|
{
|
|
// GetEdgeMidPoint(bestRef, bestPoly, bestTile, neighbourRef, neighbourPoly, neighbourTile, ref neighbourNode.Pos);
|
|
int32_t L_84 = V_10;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_85 = V_12;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_86 = V_11;
|
|
int32_t L_87 = V_17;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_88 = V_19;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_89 = V_18;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_90 = V_20;
|
|
NullCheck(L_90);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_91 = (&L_90->___Pos_0);
|
|
bool L_92;
|
|
L_92 = NavMeshQuery_GetEdgeMidPoint_m3F18D7DF1F9D697CF4475A8939511AD49DAF288A(__this, L_84, L_85, L_86, L_87, L_88, L_89, L_91, NULL);
|
|
}
|
|
|
|
IL_01e0:
|
|
{
|
|
// float cost = 0;
|
|
V_21 = (0.0f);
|
|
// float heuristic = 0;
|
|
V_22 = (0.0f);
|
|
// if (neighbourRef == endRef)
|
|
int32_t L_93 = V_17;
|
|
int32_t L_94 = V_2;
|
|
if ((!(((uint32_t)L_93) == ((uint32_t)L_94))))
|
|
{
|
|
goto IL_0235;
|
|
}
|
|
}
|
|
{
|
|
// float curCost = GetCost(bestNode.Pos, neighbourNode.Pos, bestPoly);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_95 = V_9;
|
|
NullCheck(L_95);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_96 = L_95->___Pos_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_97 = V_20;
|
|
NullCheck(L_97);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_98 = L_97->___Pos_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_99 = V_12;
|
|
float L_100;
|
|
L_100 = NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320(__this, L_96, L_98, L_99, NULL);
|
|
V_24 = L_100;
|
|
// float endCost = GetCost(neighbourNode.Pos, endPos, neighbourPoly);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_101 = V_20;
|
|
NullCheck(L_101);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_102 = L_101->___Pos_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_103 = V_3;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_104 = V_19;
|
|
float L_105;
|
|
L_105 = NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320(__this, L_102, L_103, L_104, NULL);
|
|
V_25 = L_105;
|
|
// cost = bestNode.cost + curCost + endCost;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_106 = V_9;
|
|
NullCheck(L_106);
|
|
float L_107 = L_106->___cost_1;
|
|
float L_108 = V_24;
|
|
float L_109 = V_25;
|
|
V_21 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_107, L_108)), L_109));
|
|
// heuristic = 0;
|
|
V_22 = (0.0f);
|
|
goto IL_0277;
|
|
}
|
|
|
|
IL_0235:
|
|
{
|
|
// float curCost = GetCost(bestNode.Pos, neighbourNode.Pos, bestPoly);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_110 = V_9;
|
|
NullCheck(L_110);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_111 = L_110->___Pos_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_112 = V_20;
|
|
NullCheck(L_112);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_113 = L_112->___Pos_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_114 = V_12;
|
|
float L_115;
|
|
L_115 = NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320(__this, L_111, L_113, L_114, NULL);
|
|
V_26 = L_115;
|
|
// cost = bestNode.cost + curCost;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_116 = V_9;
|
|
NullCheck(L_116);
|
|
float L_117 = L_116->___cost_1;
|
|
float L_118 = V_26;
|
|
V_21 = ((float)il2cpp_codegen_add(L_117, L_118));
|
|
// heuristic = (neighbourNode.Pos - endPos).Length() * H_SCALE;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_119 = V_20;
|
|
NullCheck(L_119);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_120 = L_119->___Pos_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_121 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_122;
|
|
L_122 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_120, L_121, NULL);
|
|
V_8 = L_122;
|
|
float L_123;
|
|
L_123 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_8), NULL);
|
|
V_22 = ((float)il2cpp_codegen_multiply(L_123, (0.999000013f)));
|
|
}
|
|
|
|
IL_0277:
|
|
{
|
|
// float total = cost + heuristic;
|
|
float L_124 = V_21;
|
|
float L_125 = V_22;
|
|
V_23 = ((float)il2cpp_codegen_add(L_124, L_125));
|
|
// if (IsInOpenList(neighbourNode) && total >= neighbourNode.total)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_126 = V_20;
|
|
bool L_127;
|
|
L_127 = NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5(__this, L_126, NULL);
|
|
if (!L_127)
|
|
{
|
|
goto IL_0296;
|
|
}
|
|
}
|
|
{
|
|
float L_128 = V_23;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_129 = V_20;
|
|
NullCheck(L_129);
|
|
float L_130 = L_129->___total_2;
|
|
if ((((float)L_128) >= ((float)L_130)))
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
|
|
IL_0296:
|
|
{
|
|
// if (IsInClosedList(neighbourNode) && total >= neighbourNode.total)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_131 = V_20;
|
|
bool L_132;
|
|
L_132 = NavMeshQuery_IsInClosedList_m315AADA9E4B62356CBE5B2AAD76540A46465FCAB(__this, L_131, NULL);
|
|
if (!L_132)
|
|
{
|
|
goto IL_02ab;
|
|
}
|
|
}
|
|
{
|
|
float L_133 = V_23;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_134 = V_20;
|
|
NullCheck(L_134);
|
|
float L_135 = L_134->___total_2;
|
|
if ((((float)L_133) >= ((float)L_135)))
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
|
|
IL_02ab:
|
|
{
|
|
// neighbourNode.ParentIdx = nodePool.GetNodeIdx(bestNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_136 = V_20;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_137 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_138 = V_9;
|
|
NullCheck(L_137);
|
|
int32_t L_139;
|
|
L_139 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_137, L_138, NULL);
|
|
NullCheck(L_136);
|
|
L_136->___ParentIdx_3 = L_139;
|
|
// neighbourNode.Id = neighbourRef;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_140 = V_20;
|
|
int32_t L_141 = V_17;
|
|
NullCheck(L_140);
|
|
L_140->___Id_5 = L_141;
|
|
// neighbourNode.Flags = RemoveNodeFlagClosed(neighbourNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_142 = V_20;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_143 = V_20;
|
|
int32_t L_144;
|
|
L_144 = NavMeshQuery_RemoveNodeFlagClosed_mDE7ED34E72232971AC72D5AEA3A3F0361D451142(__this, L_143, NULL);
|
|
NullCheck(L_142);
|
|
L_142->___Flags_4 = L_144;
|
|
// neighbourNode.cost = cost;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_145 = V_20;
|
|
float L_146 = V_21;
|
|
NullCheck(L_145);
|
|
L_145->___cost_1 = L_146;
|
|
// neighbourNode.total = total;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_147 = V_20;
|
|
float L_148 = V_23;
|
|
NullCheck(L_147);
|
|
L_147->___total_2 = L_148;
|
|
// if (IsInOpenList(neighbourNode))
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_149 = V_20;
|
|
bool L_150;
|
|
L_150 = NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5(__this, L_149, NULL);
|
|
if (!L_150)
|
|
{
|
|
goto IL_0302;
|
|
}
|
|
}
|
|
{
|
|
// openList.Modify(neighbourNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_151 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_152 = V_20;
|
|
NullCheck(L_151);
|
|
PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C(L_151, L_152, PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var);
|
|
goto IL_0317;
|
|
}
|
|
|
|
IL_0302:
|
|
{
|
|
// SetNodeFlagOpen(ref neighbourNode);
|
|
NavMeshQuery_SetNodeFlagOpen_m727984427980CF61D5B8610F3FF7D8553758E446(__this, (&V_20), NULL);
|
|
// openList.Push(neighbourNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_153 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_154 = V_20;
|
|
NullCheck(L_153);
|
|
PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803(L_153, L_154, PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0317:
|
|
{
|
|
// if (heuristic < lastBestTotalCost)
|
|
float L_155 = V_22;
|
|
float L_156 = V_6;
|
|
if ((!(((float)L_155) < ((float)L_156))))
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
{
|
|
// lastBestTotalCost = heuristic;
|
|
float L_157 = V_22;
|
|
V_6 = L_157;
|
|
// lastBestNode = neighbourNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_158 = V_20;
|
|
V_5 = L_158;
|
|
}
|
|
|
|
IL_0325:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_159 = V_11;
|
|
NullCheck(L_159);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_160;
|
|
L_160 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_159, NULL);
|
|
int32_t L_161 = V_16;
|
|
NullCheck(L_160);
|
|
int32_t L_162 = L_161;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_163 = (L_160)->GetAt(static_cast<il2cpp_array_size_t>(L_162));
|
|
NullCheck(L_163);
|
|
int32_t L_164;
|
|
L_164 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_163, NULL);
|
|
V_16 = L_164;
|
|
}
|
|
|
|
IL_0336:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
int32_t L_165 = V_16;
|
|
if ((!(((uint32_t)L_165) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0175;
|
|
}
|
|
}
|
|
|
|
IL_033e:
|
|
{
|
|
// while (openList.Count > 0)
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_166 = __this->___openList_5;
|
|
NullCheck(L_166);
|
|
int32_t L_167;
|
|
L_167 = PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_inline(L_166, PriorityQueue_1_get_Count_mEF8BFBD4CB1726D8E4D3C9121E66F9E4C2F0293F_RuntimeMethod_var);
|
|
if ((((int32_t)L_167) > ((int32_t)0)))
|
|
{
|
|
goto IL_00eb;
|
|
}
|
|
}
|
|
|
|
IL_034f:
|
|
{
|
|
// Node node = lastBestNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_168 = V_5;
|
|
V_7 = L_168;
|
|
}
|
|
|
|
IL_0353:
|
|
{
|
|
// path.Add(node.Id);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_169 = ___2_path;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_170 = V_7;
|
|
NullCheck(L_170);
|
|
int32_t L_171 = L_170->___Id_5;
|
|
NullCheck(L_169);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_169, L_171, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (path.Count >= path.Capacity)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_172 = ___2_path;
|
|
NullCheck(L_172);
|
|
int32_t L_173;
|
|
L_173 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_172, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_174 = ___2_path;
|
|
NullCheck(L_174);
|
|
int32_t L_175;
|
|
L_175 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_174, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_173) >= ((int32_t)L_175)))
|
|
{
|
|
goto IL_0386;
|
|
}
|
|
}
|
|
{
|
|
// node = nodePool.GetNodeAtIdx(node.ParentIdx);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_176 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_177 = V_7;
|
|
NullCheck(L_177);
|
|
int32_t L_178 = L_177->___ParentIdx_3;
|
|
NullCheck(L_176);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_179;
|
|
L_179 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_176, L_178, NULL);
|
|
V_7 = L_179;
|
|
// while (node != null);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_180 = V_7;
|
|
if (L_180)
|
|
{
|
|
goto IL_0353;
|
|
}
|
|
}
|
|
|
|
IL_0386:
|
|
{
|
|
// path.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_181 = ___2_path;
|
|
NullCheck(L_181);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_181, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::FindStraightPath(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,System.Int32[],System.Int32,SharpNav.Geometry.Vector3[],System.Int32[],System.Int32[],System.Int32&,System.Int32,SharpNav.Pathfinding.PathBuildFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_FindStraightPath_m185D5AA8D483121A18BB8B9739202FD2D0E24980 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_startPos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_endPos, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___2_path, int32_t ___3_pathSize, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___4_straightPath, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___5_straightPathFlags, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___6_straightPathRefs, int32_t* ___7_straightPathCount, int32_t ___8_maxStraightPath, int32_t ___9_options, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
uint8_t V_8 = 0;
|
|
uint8_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
uint8_t V_15 = 0;
|
|
uint8_t V_16 = 0;
|
|
float V_17 = 0.0f;
|
|
float V_18 = 0.0f;
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
int32_t G_B23_0 = 0;
|
|
int32_t G_B40_0 = 0;
|
|
{
|
|
// straightPathCount = 0;
|
|
int32_t* L_0 = ___7_straightPathCount;
|
|
*((int32_t*)L_0) = (int32_t)0;
|
|
// if (path.Length == 0)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___2_path;
|
|
NullCheck(L_1);
|
|
if ((((RuntimeArray*)L_1)->max_length))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// Vector3 closestStartPos = new Vector3();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// ClosestPointOnPolyBoundary(path[0], startPos, ref closestStartPos);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = ___2_path;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = 0;
|
|
int32_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = ___0_startPos;
|
|
bool L_6;
|
|
L_6 = NavMeshQuery_ClosestPointOnPolyBoundary_m91AF6E68D84BECE791DA2C87AD4EE0EF738128DA(__this, L_4, L_5, (&V_0), NULL);
|
|
// Vector3 closestEndPos = new Vector3();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// ClosestPointOnPolyBoundary(path[pathSize - 1], endPos, ref closestEndPos);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = ___2_path;
|
|
int32_t L_8 = ___3_pathSize;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = ((int32_t)il2cpp_codegen_subtract(L_8, 1));
|
|
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = ___1_endPos;
|
|
bool L_12;
|
|
L_12 = NavMeshQuery_ClosestPointOnPolyBoundary_m91AF6E68D84BECE791DA2C87AD4EE0EF738128DA(__this, L_10, L_11, (&V_1), NULL);
|
|
// stat = AppendVertex(closestStartPos, PathfindingCommon.STRAIGHTPATH_START, path[0], straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_14 = ___2_path;
|
|
NullCheck(L_14);
|
|
int32_t L_15 = 0;
|
|
int32_t L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_17 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_18 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = ___6_straightPathRefs;
|
|
int32_t* L_20 = ___7_straightPathCount;
|
|
int32_t L_21 = ___8_maxStraightPath;
|
|
bool L_22;
|
|
L_22 = NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE(__this, L_13, 1, L_16, L_17, L_18, L_19, L_20, L_21, NULL);
|
|
// if (!stat)
|
|
if (L_22)
|
|
{
|
|
goto IL_0050;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// if (pathSize > 1)
|
|
int32_t L_23 = ___3_pathSize;
|
|
if ((((int32_t)L_23) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0301;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 portalApex = closestStartPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = V_0;
|
|
V_2 = L_24;
|
|
// Vector3 portalLeft = portalApex;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_2;
|
|
V_3 = L_25;
|
|
// Vector3 portalRight = portalApex;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = V_2;
|
|
V_4 = L_26;
|
|
// int apexIndex = 0;
|
|
V_5 = 0;
|
|
// int leftIndex = 0;
|
|
V_6 = 0;
|
|
// int rightIndex = 0;
|
|
V_7 = 0;
|
|
// PolygonType leftPolyType = 0;
|
|
V_8 = 0;
|
|
// PolygonType rightPolyType = 0;
|
|
V_9 = 0;
|
|
// int leftPolyRef = path[0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_27 = ___2_path;
|
|
NullCheck(L_27);
|
|
int32_t L_28 = 0;
|
|
int32_t L_29 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
V_10 = L_29;
|
|
// int rightPolyRef = path[0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_30 = ___2_path;
|
|
NullCheck(L_30);
|
|
int32_t L_31 = 0;
|
|
int32_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
|
|
V_11 = L_32;
|
|
// for (int i = 0; i < pathSize; i++)
|
|
V_12 = 0;
|
|
goto IL_02d4;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// Vector3 left = new Vector3();
|
|
il2cpp_codegen_initobj((&V_13), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// Vector3 right = new Vector3();
|
|
il2cpp_codegen_initobj((&V_14), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// PolygonType fromType = 0, toType = 0;
|
|
V_15 = 0;
|
|
// PolygonType fromType = 0, toType = 0;
|
|
V_16 = 0;
|
|
// if (i + 1 < pathSize)
|
|
int32_t L_33 = V_12;
|
|
int32_t L_34 = ___3_pathSize;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_33, 1))) >= ((int32_t)L_34)))
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
{
|
|
// if (GetPortalPoints(path[i], path[i + 1], ref left, ref right, ref fromType, ref toType) == false)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_35 = ___2_path;
|
|
int32_t L_36 = V_12;
|
|
NullCheck(L_35);
|
|
int32_t L_37 = L_36;
|
|
int32_t L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_39 = ___2_path;
|
|
int32_t L_40 = V_12;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = ((int32_t)il2cpp_codegen_add(L_40, 1));
|
|
int32_t L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
bool L_43;
|
|
L_43 = NavMeshQuery_GetPortalPoints_m3F4B1D6A7A26565017218498860F9B2B790AF349(__this, L_38, L_42, (&V_13), (&V_14), (&V_15), (&V_16), NULL);
|
|
if (L_43)
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
{
|
|
// if (ClosestPointOnPolyBoundary(path[i], endPos, ref closestEndPos) == false)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_44 = ___2_path;
|
|
int32_t L_45 = V_12;
|
|
NullCheck(L_44);
|
|
int32_t L_46 = L_45;
|
|
int32_t L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_48 = ___1_endPos;
|
|
bool L_49;
|
|
L_49 = NavMeshQuery_ClosestPointOnPolyBoundary_m91AF6E68D84BECE791DA2C87AD4EE0EF738128DA(__this, L_47, L_48, (&V_1), NULL);
|
|
if (L_49)
|
|
{
|
|
goto IL_00cc;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// if ((options & (PathBuildFlags.AreaCrossingVertices | PathBuildFlags.AllCrossingVertices)) != 0)
|
|
int32_t L_50 = ___9_options;
|
|
if (!((int32_t)((int32_t)L_50&3)))
|
|
{
|
|
goto IL_00eb;
|
|
}
|
|
}
|
|
{
|
|
// stat = AppendPortals(apexIndex, i, closestEndPos, path, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath, options);
|
|
int32_t L_51 = V_5;
|
|
int32_t L_52 = V_12;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_53 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_54 = ___2_path;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_55 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_56 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_57 = ___6_straightPathRefs;
|
|
int32_t* L_58 = ___7_straightPathCount;
|
|
int32_t L_59 = ___8_maxStraightPath;
|
|
int32_t L_60 = ___9_options;
|
|
bool L_61;
|
|
L_61 = NavMeshQuery_AppendPortals_mBD00E03649425CC4DCA51AA85FBB236C63577A09(__this, L_51, L_52, L_53, L_54, L_55, L_56, L_57, L_58, L_59, L_60, NULL);
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// stat = AppendVertex(closestEndPos, 0, path[i], straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_62 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_63 = ___2_path;
|
|
int32_t L_64 = V_12;
|
|
NullCheck(L_63);
|
|
int32_t L_65 = L_64;
|
|
int32_t L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_67 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_68 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_69 = ___6_straightPathRefs;
|
|
int32_t* L_70 = ___7_straightPathCount;
|
|
int32_t L_71 = ___8_maxStraightPath;
|
|
bool L_72;
|
|
L_72 = NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE(__this, L_62, 0, L_66, L_67, L_68, L_69, L_70, L_71, NULL);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0104:
|
|
{
|
|
// if (i == 0)
|
|
int32_t L_73 = V_12;
|
|
if (L_73)
|
|
{
|
|
goto IL_0132;
|
|
}
|
|
}
|
|
{
|
|
// if (Distance.PointToSegment2DSquared(ref portalApex, ref left, ref right, out t) < 0.001 * 0.001)
|
|
float L_74;
|
|
L_74 = Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B((&V_2), (&V_13), (&V_14), (&V_18), NULL);
|
|
if ((!(((double)((double)L_74)) < ((double)(9.9999999999999995E-07)))))
|
|
{
|
|
goto IL_0132;
|
|
}
|
|
}
|
|
{
|
|
// continue;
|
|
goto IL_02ce;
|
|
}
|
|
|
|
IL_0126:
|
|
{
|
|
// left = closestEndPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_75 = V_1;
|
|
V_13 = L_75;
|
|
// right = closestEndPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_76 = V_1;
|
|
V_14 = L_76;
|
|
// fromType = toType = PolygonType.Ground;
|
|
int32_t L_77 = 0;
|
|
V_16 = L_77;
|
|
V_15 = L_77;
|
|
}
|
|
|
|
IL_0132:
|
|
{
|
|
// Triangle3.Area2D(ref portalApex, ref portalRight, ref right, out triArea2D);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D((&V_2), (&V_4), (&V_14), (&V_17), NULL);
|
|
// if (triArea2D <= 0.0)
|
|
float L_78 = V_17;
|
|
if ((!(((double)((double)L_78)) <= ((double)(0.0)))))
|
|
{
|
|
goto IL_0205;
|
|
}
|
|
}
|
|
{
|
|
// Triangle3.Area2D(ref portalApex, ref portalLeft, ref right, out triArea2D);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D((&V_2), (&V_3), (&V_14), (&V_17), NULL);
|
|
// if (portalApex == portalRight || triArea2D > 0.0)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_79 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_80 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
bool L_81;
|
|
L_81 = Vector3_op_Equality_m41A1B32923C878889867DD904C6615F8218B4BCC(L_79, L_80, NULL);
|
|
if (L_81)
|
|
{
|
|
goto IL_0175;
|
|
}
|
|
}
|
|
{
|
|
float L_82 = V_17;
|
|
if ((!(((double)((double)L_82)) > ((double)(0.0)))))
|
|
{
|
|
goto IL_0196;
|
|
}
|
|
}
|
|
|
|
IL_0175:
|
|
{
|
|
// portalRight = right;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_83 = V_14;
|
|
V_4 = L_83;
|
|
// rightPolyRef = (i + 1 < pathSize) ? path[i + 1] : 0;
|
|
int32_t L_84 = V_12;
|
|
int32_t L_85 = ___3_pathSize;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_84, 1))) < ((int32_t)L_85)))
|
|
{
|
|
goto IL_0184;
|
|
}
|
|
}
|
|
{
|
|
G_B23_0 = 0;
|
|
goto IL_018a;
|
|
}
|
|
|
|
IL_0184:
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_86 = ___2_path;
|
|
int32_t L_87 = V_12;
|
|
NullCheck(L_86);
|
|
int32_t L_88 = ((int32_t)il2cpp_codegen_add(L_87, 1));
|
|
int32_t L_89 = (L_86)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
|
|
G_B23_0 = L_89;
|
|
}
|
|
|
|
IL_018a:
|
|
{
|
|
V_11 = G_B23_0;
|
|
// rightPolyType = toType;
|
|
uint8_t L_90 = V_16;
|
|
V_9 = L_90;
|
|
// rightIndex = i;
|
|
int32_t L_91 = V_12;
|
|
V_7 = L_91;
|
|
goto IL_0205;
|
|
}
|
|
|
|
IL_0196:
|
|
{
|
|
// if ((options & (PathBuildFlags.AreaCrossingVertices | PathBuildFlags.AllCrossingVertices)) != 0)
|
|
int32_t L_92 = ___9_options;
|
|
if (!((int32_t)((int32_t)L_92&3)))
|
|
{
|
|
goto IL_01b8;
|
|
}
|
|
}
|
|
{
|
|
// stat = AppendPortals(apexIndex, leftIndex, portalLeft, path, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath, options);
|
|
int32_t L_93 = V_5;
|
|
int32_t L_94 = V_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_95 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_96 = ___2_path;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_97 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_98 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_99 = ___6_straightPathRefs;
|
|
int32_t* L_100 = ___7_straightPathCount;
|
|
int32_t L_101 = ___8_maxStraightPath;
|
|
int32_t L_102 = ___9_options;
|
|
bool L_103;
|
|
L_103 = NavMeshQuery_AppendPortals_mBD00E03649425CC4DCA51AA85FBB236C63577A09(__this, L_93, L_94, L_95, L_96, L_97, L_98, L_99, L_100, L_101, L_102, NULL);
|
|
// if (stat != true)
|
|
if (L_103)
|
|
{
|
|
goto IL_01b8;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_01b8:
|
|
{
|
|
// portalApex = portalLeft;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_104 = V_3;
|
|
V_2 = L_104;
|
|
// apexIndex = leftIndex;
|
|
int32_t L_105 = V_6;
|
|
V_5 = L_105;
|
|
// int flags = 0;
|
|
V_19 = 0;
|
|
// if (leftPolyRef == 0)
|
|
int32_t L_106 = V_10;
|
|
if (L_106)
|
|
{
|
|
goto IL_01ca;
|
|
}
|
|
}
|
|
{
|
|
// flags = PathfindingCommon.STRAIGHTPATH_END;
|
|
V_19 = 2;
|
|
goto IL_01d2;
|
|
}
|
|
|
|
IL_01ca:
|
|
{
|
|
// else if (leftPolyType == PolygonType.OffMeshConnection)
|
|
uint8_t L_107 = V_8;
|
|
if ((!(((uint32_t)L_107) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01d2;
|
|
}
|
|
}
|
|
{
|
|
// flags = PathfindingCommon.STRAIGHTPATH_OFFMESH_CONNECTION;
|
|
V_19 = 4;
|
|
}
|
|
|
|
IL_01d2:
|
|
{
|
|
// int reference = leftPolyRef;
|
|
int32_t L_108 = V_10;
|
|
V_20 = L_108;
|
|
// stat = AppendVertex(portalApex, flags, reference, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_109 = V_2;
|
|
int32_t L_110 = V_19;
|
|
int32_t L_111 = V_20;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_112 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_113 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_114 = ___6_straightPathRefs;
|
|
int32_t* L_115 = ___7_straightPathCount;
|
|
int32_t L_116 = ___8_maxStraightPath;
|
|
bool L_117;
|
|
L_117 = NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE(__this, L_109, L_110, L_111, L_112, L_113, L_114, L_115, L_116, NULL);
|
|
// if (stat != true)
|
|
if (L_117)
|
|
{
|
|
goto IL_01ef;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_01ef:
|
|
{
|
|
// portalLeft = portalApex;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_118 = V_2;
|
|
V_3 = L_118;
|
|
// portalRight = portalApex;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_119 = V_2;
|
|
V_4 = L_119;
|
|
// leftIndex = apexIndex;
|
|
int32_t L_120 = V_5;
|
|
V_6 = L_120;
|
|
// rightIndex = apexIndex;
|
|
int32_t L_121 = V_5;
|
|
V_7 = L_121;
|
|
// i = apexIndex;
|
|
int32_t L_122 = V_5;
|
|
V_12 = L_122;
|
|
// continue;
|
|
goto IL_02ce;
|
|
}
|
|
|
|
IL_0205:
|
|
{
|
|
// Triangle3.Area2D(ref portalApex, ref portalLeft, ref left, out triArea2D);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D((&V_2), (&V_3), (&V_13), (&V_17), NULL);
|
|
// if (triArea2D >= 0.0)
|
|
float L_123 = V_17;
|
|
if ((!(((double)((double)L_123)) >= ((double)(0.0)))))
|
|
{
|
|
goto IL_02ce;
|
|
}
|
|
}
|
|
{
|
|
// Triangle3.Area2D(ref portalApex, ref portalRight, ref left, out triArea2D);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D((&V_2), (&V_4), (&V_13), (&V_17), NULL);
|
|
// if (portalApex == portalLeft || triArea2D < 0.0f)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_124 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_125 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
bool L_126;
|
|
L_126 = Vector3_op_Equality_m41A1B32923C878889867DD904C6615F8218B4BCC(L_124, L_125, NULL);
|
|
if (L_126)
|
|
{
|
|
goto IL_0242;
|
|
}
|
|
}
|
|
{
|
|
float L_127 = V_17;
|
|
if ((!(((float)L_127) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_0262;
|
|
}
|
|
}
|
|
|
|
IL_0242:
|
|
{
|
|
// portalLeft = left;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_128 = V_13;
|
|
V_3 = L_128;
|
|
// leftPolyRef = (i + 1 < pathSize) ? path[i + 1] : 0;
|
|
int32_t L_129 = V_12;
|
|
int32_t L_130 = ___3_pathSize;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_129, 1))) < ((int32_t)L_130)))
|
|
{
|
|
goto IL_0250;
|
|
}
|
|
}
|
|
{
|
|
G_B40_0 = 0;
|
|
goto IL_0256;
|
|
}
|
|
|
|
IL_0250:
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_131 = ___2_path;
|
|
int32_t L_132 = V_12;
|
|
NullCheck(L_131);
|
|
int32_t L_133 = ((int32_t)il2cpp_codegen_add(L_132, 1));
|
|
int32_t L_134 = (L_131)->GetAt(static_cast<il2cpp_array_size_t>(L_133));
|
|
G_B40_0 = L_134;
|
|
}
|
|
|
|
IL_0256:
|
|
{
|
|
V_10 = G_B40_0;
|
|
// leftPolyType = toType;
|
|
uint8_t L_135 = V_16;
|
|
V_8 = L_135;
|
|
// leftIndex = i;
|
|
int32_t L_136 = V_12;
|
|
V_6 = L_136;
|
|
goto IL_02ce;
|
|
}
|
|
|
|
IL_0262:
|
|
{
|
|
// if ((options & (PathBuildFlags.AreaCrossingVertices | PathBuildFlags.AllCrossingVertices)) != 0)
|
|
int32_t L_137 = ___9_options;
|
|
if (!((int32_t)((int32_t)L_137&3)))
|
|
{
|
|
goto IL_0285;
|
|
}
|
|
}
|
|
{
|
|
// stat = AppendPortals(apexIndex, rightIndex, portalRight, path, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath, options);
|
|
int32_t L_138 = V_5;
|
|
int32_t L_139 = V_7;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_140 = V_4;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_141 = ___2_path;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_142 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_143 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_144 = ___6_straightPathRefs;
|
|
int32_t* L_145 = ___7_straightPathCount;
|
|
int32_t L_146 = ___8_maxStraightPath;
|
|
int32_t L_147 = ___9_options;
|
|
bool L_148;
|
|
L_148 = NavMeshQuery_AppendPortals_mBD00E03649425CC4DCA51AA85FBB236C63577A09(__this, L_138, L_139, L_140, L_141, L_142, L_143, L_144, L_145, L_146, L_147, NULL);
|
|
// if (stat != true)
|
|
if (L_148)
|
|
{
|
|
goto IL_0285;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0285:
|
|
{
|
|
// portalApex = portalRight;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_149 = V_4;
|
|
V_2 = L_149;
|
|
// apexIndex = rightIndex;
|
|
int32_t L_150 = V_7;
|
|
V_5 = L_150;
|
|
// int flags = 0;
|
|
V_21 = 0;
|
|
// if (rightPolyRef == 0)
|
|
int32_t L_151 = V_11;
|
|
if (L_151)
|
|
{
|
|
goto IL_0298;
|
|
}
|
|
}
|
|
{
|
|
// flags = PathfindingCommon.STRAIGHTPATH_END;
|
|
V_21 = 2;
|
|
goto IL_02a0;
|
|
}
|
|
|
|
IL_0298:
|
|
{
|
|
// else if (rightPolyType == PolygonType.OffMeshConnection)
|
|
uint8_t L_152 = V_9;
|
|
if ((!(((uint32_t)L_152) == ((uint32_t)1))))
|
|
{
|
|
goto IL_02a0;
|
|
}
|
|
}
|
|
{
|
|
// flags = PathfindingCommon.STRAIGHTPATH_OFFMESH_CONNECTION;
|
|
V_21 = 4;
|
|
}
|
|
|
|
IL_02a0:
|
|
{
|
|
// int reference = rightPolyRef;
|
|
int32_t L_153 = V_11;
|
|
V_22 = L_153;
|
|
// stat = AppendVertex(portalApex, flags, reference, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_154 = V_2;
|
|
int32_t L_155 = V_21;
|
|
int32_t L_156 = V_22;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_157 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_158 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_159 = ___6_straightPathRefs;
|
|
int32_t* L_160 = ___7_straightPathCount;
|
|
int32_t L_161 = ___8_maxStraightPath;
|
|
bool L_162;
|
|
L_162 = NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE(__this, L_154, L_155, L_156, L_157, L_158, L_159, L_160, L_161, NULL);
|
|
// if (stat != true)
|
|
if (L_162)
|
|
{
|
|
goto IL_02bd;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_02bd:
|
|
{
|
|
// portalLeft = portalApex;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_163 = V_2;
|
|
V_3 = L_163;
|
|
// portalRight = portalApex;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_164 = V_2;
|
|
V_4 = L_164;
|
|
// leftIndex = apexIndex;
|
|
int32_t L_165 = V_5;
|
|
V_6 = L_165;
|
|
// rightIndex = apexIndex;
|
|
int32_t L_166 = V_5;
|
|
V_7 = L_166;
|
|
// i = apexIndex;
|
|
int32_t L_167 = V_5;
|
|
V_12 = L_167;
|
|
}
|
|
|
|
IL_02ce:
|
|
{
|
|
// for (int i = 0; i < pathSize; i++)
|
|
int32_t L_168 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_168, 1));
|
|
}
|
|
|
|
IL_02d4:
|
|
{
|
|
// for (int i = 0; i < pathSize; i++)
|
|
int32_t L_169 = V_12;
|
|
int32_t L_170 = ___3_pathSize;
|
|
if ((((int32_t)L_169) < ((int32_t)L_170)))
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// if ((options & (PathBuildFlags.AreaCrossingVertices | PathBuildFlags.AllCrossingVertices)) != 0)
|
|
int32_t L_171 = ___9_options;
|
|
if (!((int32_t)((int32_t)L_171&3)))
|
|
{
|
|
goto IL_0301;
|
|
}
|
|
}
|
|
{
|
|
// stat = AppendPortals(apexIndex, pathSize - 1, closestEndPos, path, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath, options);
|
|
int32_t L_172 = V_5;
|
|
int32_t L_173 = ___3_pathSize;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_174 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_175 = ___2_path;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_176 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_177 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_178 = ___6_straightPathRefs;
|
|
int32_t* L_179 = ___7_straightPathCount;
|
|
int32_t L_180 = ___8_maxStraightPath;
|
|
int32_t L_181 = ___9_options;
|
|
bool L_182;
|
|
L_182 = NavMeshQuery_AppendPortals_mBD00E03649425CC4DCA51AA85FBB236C63577A09(__this, L_172, ((int32_t)il2cpp_codegen_subtract(L_173, 1)), L_174, L_175, L_176, L_177, L_178, L_179, L_180, L_181, NULL);
|
|
// if (stat != true)
|
|
if (L_182)
|
|
{
|
|
goto IL_0301;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0301:
|
|
{
|
|
// stat = AppendVertex(closestEndPos, PathfindingCommon.STRAIGHTPATH_END, 0, straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_183 = V_1;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_184 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_185 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_186 = ___6_straightPathRefs;
|
|
int32_t* L_187 = ___7_straightPathCount;
|
|
int32_t L_188 = ___8_maxStraightPath;
|
|
bool L_189;
|
|
L_189 = NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE(__this, L_183, 2, 0, L_184, L_185, L_186, L_187, L_188, NULL);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::MoveAlongSurface(SharpNav.Pathfinding.NavPoint,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_MoveAlongSurface_mFCCAB413E3D37E763C398E1DB6F378F0BB81396C (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_startPoint, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_endPos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_resultPos, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___3_visited, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_Dequeue_m8954A5AB013EE0381246EF55A8D57C5C3970BA29_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1__ctor_m1754D1D24F217349188E361976540EED39B31CB0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* V_1 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_2 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
float V_4 = 0.0f;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_5 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
float V_7 = 0.0f;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_8 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_10 = NULL;
|
|
int32_t V_11 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_12 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_18 = NULL;
|
|
int32_t V_19 = 0;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* V_20 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_21 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_22 = NULL;
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
float V_25 = 0.0f;
|
|
float V_26 = 0.0f;
|
|
int32_t V_27 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_28 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_29 = NULL;
|
|
{
|
|
// if (nav == null)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// if (tinyNodePool == null)
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_1 = __this->___tinyNodePool_3;
|
|
if (L_1)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// visited.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_2 = ___3_visited;
|
|
NullCheck(L_2);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_2, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// if (startPoint.Polygon == 0)
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_3 = ___0_startPoint;
|
|
int32_t L_4 = L_3.___Polygon_1;
|
|
if (L_4)
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// if (!nav.IsValidPolyRef(startPoint.Polygon))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_5 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_6 = ___0_startPoint;
|
|
int32_t L_7 = L_6.___Polygon_1;
|
|
NullCheck(L_5);
|
|
bool L_8;
|
|
L_8 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_5, L_7, NULL);
|
|
if (L_8)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// int MAX_STACK = 48;
|
|
V_0 = ((int32_t)48);
|
|
// Queue<Node> nodeQueue = new Queue<Node>(MAX_STACK);
|
|
int32_t L_9 = V_0;
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* L_10 = (Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB*)il2cpp_codegen_object_new(Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
Queue_1__ctor_m1754D1D24F217349188E361976540EED39B31CB0(L_10, L_9, Queue_1__ctor_m1754D1D24F217349188E361976540EED39B31CB0_RuntimeMethod_var);
|
|
V_1 = L_10;
|
|
// tinyNodePool.Clear();
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_11 = __this->___tinyNodePool_3;
|
|
NullCheck(L_11);
|
|
NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E(L_11, NULL);
|
|
// Node startNode = tinyNodePool.GetNode(startPoint.Polygon);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_12 = __this->___tinyNodePool_3;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_13 = ___0_startPoint;
|
|
int32_t L_14 = L_13.___Polygon_1;
|
|
NullCheck(L_12);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_15;
|
|
L_15 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_12, L_14, NULL);
|
|
V_2 = L_15;
|
|
// startNode.ParentIdx = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_16 = V_2;
|
|
NullCheck(L_16);
|
|
L_16->___ParentIdx_3 = 0;
|
|
// startNode.cost = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_17 = V_2;
|
|
NullCheck(L_17);
|
|
L_17->___cost_1 = (0.0f);
|
|
// startNode.total = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_18 = V_2;
|
|
NullCheck(L_18);
|
|
L_18->___total_2 = (0.0f);
|
|
// startNode.Id = startPoint.Polygon;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_19 = V_2;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_20 = ___0_startPoint;
|
|
int32_t L_21 = L_20.___Polygon_1;
|
|
NullCheck(L_19);
|
|
L_19->___Id_5 = L_21;
|
|
// startNode.Flags = NodeFlags.Closed;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_22 = V_2;
|
|
NullCheck(L_22);
|
|
L_22->___Flags_4 = 2;
|
|
// nodeQueue.Enqueue(startNode);
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* L_23 = V_1;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_24 = V_2;
|
|
NullCheck(L_23);
|
|
Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2(L_23, L_24, Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2_RuntimeMethod_var);
|
|
// Vector3 bestPos = startPoint.Position;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_25 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = L_25.___Position_2;
|
|
V_3 = L_26;
|
|
// float bestDist = float.MaxValue;
|
|
V_4 = ((std::numeric_limits<float>::max)());
|
|
// Node bestNode = null;
|
|
V_5 = (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
// Vector3 searchPos = Vector3.Lerp(startPoint.Position, endPos, 0.5f);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_27 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28 = L_27.___Position_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = ___1_endPos;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30;
|
|
L_30 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_28, L_29, (0.5f), NULL);
|
|
V_6 = L_30;
|
|
// float searchRad = (startPoint.Position - endPos).Length() / 2.0f + 0.001f;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_31 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_32 = L_31.___Position_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = ___1_endPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34;
|
|
L_34 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_32, L_33, NULL);
|
|
V_9 = L_34;
|
|
float L_35;
|
|
L_35 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_9), NULL);
|
|
// float searchRadSqr = searchRad * searchRad;
|
|
float L_36 = ((float)il2cpp_codegen_add(((float)(L_35/(2.0f))), (0.00100000005f)));
|
|
V_7 = ((float)il2cpp_codegen_multiply(L_36, L_36));
|
|
// Vector3[] verts = new Vector3[PathfindingCommon.VERTS_PER_POLYGON];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_37 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_8 = L_37;
|
|
goto IL_033c;
|
|
}
|
|
|
|
IL_00ee:
|
|
{
|
|
// Node curNode = nodeQueue.Dequeue();
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* L_38 = V_1;
|
|
NullCheck(L_38);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_39;
|
|
L_39 = Queue_1_Dequeue_m8954A5AB013EE0381246EF55A8D57C5C3970BA29(L_38, Queue_1_Dequeue_m8954A5AB013EE0381246EF55A8D57C5C3970BA29_RuntimeMethod_var);
|
|
V_10 = L_39;
|
|
// int curRef = curNode.Id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_40 = V_10;
|
|
NullCheck(L_40);
|
|
int32_t L_41 = L_40->___Id_5;
|
|
V_11 = L_41;
|
|
// nav.TryGetTileAndPolyByRefUnsafe(curRef, out curTile, out curPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_42 = __this->___nav_1;
|
|
int32_t L_43 = V_11;
|
|
NullCheck(L_42);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_42, L_43, (&V_12), (&V_13), NULL);
|
|
// int nverts = curPoly.VertCount;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_44 = V_13;
|
|
NullCheck(L_44);
|
|
int32_t L_45;
|
|
L_45 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_44, NULL);
|
|
V_14 = L_45;
|
|
// for (int i = 0; i < nverts; i++)
|
|
V_15 = 0;
|
|
goto IL_0143;
|
|
}
|
|
|
|
IL_011e:
|
|
{
|
|
// verts[i] = curTile.Verts[curPoly.Verts[i]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_46 = V_8;
|
|
int32_t L_47 = V_15;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_48 = V_12;
|
|
NullCheck(L_48);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_49;
|
|
L_49 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_48, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_50 = V_13;
|
|
NullCheck(L_50);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_51;
|
|
L_51 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_50, NULL);
|
|
int32_t L_52 = V_15;
|
|
NullCheck(L_51);
|
|
int32_t L_53 = L_52;
|
|
int32_t L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
|
|
NullCheck(L_49);
|
|
int32_t L_55 = L_54;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_56 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
|
|
NullCheck(L_46);
|
|
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(L_47), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_56);
|
|
// for (int i = 0; i < nverts; i++)
|
|
int32_t L_57 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_57, 1));
|
|
}
|
|
|
|
IL_0143:
|
|
{
|
|
// for (int i = 0; i < nverts; i++)
|
|
int32_t L_58 = V_15;
|
|
int32_t L_59 = V_14;
|
|
if ((((int32_t)L_58) < ((int32_t)L_59)))
|
|
{
|
|
goto IL_011e;
|
|
}
|
|
}
|
|
{
|
|
// if (Containment.PointInPoly(endPos, verts, nverts))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_60 = ___1_endPos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_61 = V_8;
|
|
int32_t L_62 = V_14;
|
|
bool L_63;
|
|
L_63 = Containment_PointInPoly_mA430368D59AEB06B4770937D51F8102D66E85CB3(L_60, L_61, L_62, NULL);
|
|
if (!L_63)
|
|
{
|
|
goto IL_0160;
|
|
}
|
|
}
|
|
{
|
|
// bestNode = curNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_64 = V_10;
|
|
V_5 = L_64;
|
|
// bestPos = endPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_65 = ___1_endPos;
|
|
V_3 = L_65;
|
|
// break;
|
|
goto IL_0348;
|
|
}
|
|
|
|
IL_0160:
|
|
{
|
|
// for (int i = 0, j = curPoly.VertCount - 1; i < curPoly.VertCount; j = i++)
|
|
V_16 = 0;
|
|
// for (int i = 0, j = curPoly.VertCount - 1; i < curPoly.VertCount; j = i++)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_66 = V_13;
|
|
NullCheck(L_66);
|
|
int32_t L_67;
|
|
L_67 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_66, NULL);
|
|
V_17 = ((int32_t)il2cpp_codegen_subtract(L_67, 1));
|
|
goto IL_032e;
|
|
}
|
|
|
|
IL_0173:
|
|
{
|
|
// List<int> neis = new List<int>(8);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_68 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_68);
|
|
List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98(L_68, 8, List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
V_18 = L_68;
|
|
// if ((curPoly.Neis[j] & Link.External) != 0)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_69 = V_13;
|
|
NullCheck(L_69);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_70;
|
|
L_70 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_69, NULL);
|
|
int32_t L_71 = V_17;
|
|
NullCheck(L_70);
|
|
int32_t L_72 = L_71;
|
|
int32_t L_73 = (L_70)->GetAt(static_cast<il2cpp_array_size_t>(L_72));
|
|
if (!((int32_t)(L_73&((int32_t)-2147483648LL))))
|
|
{
|
|
goto IL_0204;
|
|
}
|
|
}
|
|
{
|
|
// for (int k = curPoly.FirstLink; k != Link.Null; k = curTile.Links[k].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_74 = V_13;
|
|
NullCheck(L_74);
|
|
int32_t L_75;
|
|
L_75 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_74, NULL);
|
|
V_19 = L_75;
|
|
goto IL_01fd;
|
|
}
|
|
|
|
IL_0198:
|
|
{
|
|
// Link link = curTile.Links[k];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_76 = V_12;
|
|
NullCheck(L_76);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_77;
|
|
L_77 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_76, NULL);
|
|
int32_t L_78 = V_19;
|
|
NullCheck(L_77);
|
|
int32_t L_79 = L_78;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
|
|
V_20 = L_80;
|
|
// if (link.Edge == j)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_81 = V_20;
|
|
NullCheck(L_81);
|
|
int32_t L_82;
|
|
L_82 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_81, NULL);
|
|
int32_t L_83 = V_17;
|
|
if ((!(((uint32_t)L_82) == ((uint32_t)L_83))))
|
|
{
|
|
goto IL_01ec;
|
|
}
|
|
}
|
|
{
|
|
// if (link.Reference != 0)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_84 = V_20;
|
|
NullCheck(L_84);
|
|
int32_t L_85;
|
|
L_85 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_84, NULL);
|
|
if (!L_85)
|
|
{
|
|
goto IL_01ec;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(link.Reference, out neiTile, out neiPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_86 = __this->___nav_1;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_87 = V_20;
|
|
NullCheck(L_87);
|
|
int32_t L_88;
|
|
L_88 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_87, NULL);
|
|
NullCheck(L_86);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_86, L_88, (&V_21), (&V_22), NULL);
|
|
// if (neis.Count < neis.Capacity)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_89 = V_18;
|
|
NullCheck(L_89);
|
|
int32_t L_90;
|
|
L_90 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_89, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_91 = V_18;
|
|
NullCheck(L_91);
|
|
int32_t L_92;
|
|
L_92 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_91, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_90) >= ((int32_t)L_92)))
|
|
{
|
|
goto IL_01ec;
|
|
}
|
|
}
|
|
{
|
|
// neis.Add(link.Reference);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_93 = V_18;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_94 = V_20;
|
|
NullCheck(L_94);
|
|
int32_t L_95;
|
|
L_95 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_94, NULL);
|
|
NullCheck(L_93);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_93, L_95, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01ec:
|
|
{
|
|
// for (int k = curPoly.FirstLink; k != Link.Null; k = curTile.Links[k].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_96 = V_12;
|
|
NullCheck(L_96);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_97;
|
|
L_97 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_96, NULL);
|
|
int32_t L_98 = V_19;
|
|
NullCheck(L_97);
|
|
int32_t L_99 = L_98;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_100 = (L_97)->GetAt(static_cast<il2cpp_array_size_t>(L_99));
|
|
NullCheck(L_100);
|
|
int32_t L_101;
|
|
L_101 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_100, NULL);
|
|
V_19 = L_101;
|
|
}
|
|
|
|
IL_01fd:
|
|
{
|
|
// for (int k = curPoly.FirstLink; k != Link.Null; k = curTile.Links[k].Next)
|
|
int32_t L_102 = V_19;
|
|
if ((!(((uint32_t)L_102) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0198;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0239;
|
|
}
|
|
|
|
IL_0204:
|
|
{
|
|
// else if (curPoly.Neis[j] != 0)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_103 = V_13;
|
|
NullCheck(L_103);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_104;
|
|
L_104 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_103, NULL);
|
|
int32_t L_105 = V_17;
|
|
NullCheck(L_104);
|
|
int32_t L_106 = L_105;
|
|
int32_t L_107 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_106));
|
|
if (!L_107)
|
|
{
|
|
goto IL_0239;
|
|
}
|
|
}
|
|
{
|
|
// int idx = curPoly.Neis[j] - 1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_108 = V_13;
|
|
NullCheck(L_108);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_109;
|
|
L_109 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_108, NULL);
|
|
int32_t L_110 = V_17;
|
|
NullCheck(L_109);
|
|
int32_t L_111 = L_110;
|
|
int32_t L_112 = (L_109)->GetAt(static_cast<il2cpp_array_size_t>(L_111));
|
|
V_23 = ((int32_t)il2cpp_codegen_subtract(L_112, 1));
|
|
// int reference = nav.GetPolyRefBase(curTile) | idx;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_113 = __this->___nav_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_114 = V_12;
|
|
NullCheck(L_113);
|
|
int32_t L_115;
|
|
L_115 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(L_113, L_114, NULL);
|
|
int32_t L_116 = V_23;
|
|
V_24 = ((int32_t)(L_115|L_116));
|
|
// neis.Add(reference); //internal edge, encode id
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_117 = V_18;
|
|
int32_t L_118 = V_24;
|
|
NullCheck(L_117);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_117, L_118, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0239:
|
|
{
|
|
// if (neis.Count == 0)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_119 = V_18;
|
|
NullCheck(L_119);
|
|
int32_t L_120;
|
|
L_120 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_119, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if (L_120)
|
|
{
|
|
goto IL_0296;
|
|
}
|
|
}
|
|
{
|
|
// float tseg = 0;
|
|
V_25 = (0.0f);
|
|
// float distSqr = Distance.PointToSegment2DSquared(ref endPos, ref verts[j], ref verts[i], out tseg);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_121 = V_8;
|
|
int32_t L_122 = V_17;
|
|
NullCheck(L_121);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_123 = V_8;
|
|
int32_t L_124 = V_16;
|
|
NullCheck(L_123);
|
|
float L_125;
|
|
L_125 = Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B((&___1_endPos), ((L_121)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_122))), ((L_123)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_124))), (&V_25), NULL);
|
|
V_26 = L_125;
|
|
// if (distSqr < bestDist)
|
|
float L_126 = V_26;
|
|
float L_127 = V_4;
|
|
if ((!(((float)L_126) < ((float)L_127))))
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
{
|
|
// bestPos = Vector3.Lerp(verts[j], verts[i], tseg);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_128 = V_8;
|
|
int32_t L_129 = V_17;
|
|
NullCheck(L_128);
|
|
int32_t L_130 = L_129;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_131 = (L_128)->GetAt(static_cast<il2cpp_array_size_t>(L_130));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_132 = V_8;
|
|
int32_t L_133 = V_16;
|
|
NullCheck(L_132);
|
|
int32_t L_134 = L_133;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_135 = (L_132)->GetAt(static_cast<il2cpp_array_size_t>(L_134));
|
|
float L_136 = V_25;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_137;
|
|
L_137 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_131, L_135, L_136, NULL);
|
|
V_3 = L_137;
|
|
// bestDist = distSqr;
|
|
float L_138 = V_26;
|
|
V_4 = L_138;
|
|
// bestNode = curNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_139 = V_10;
|
|
V_5 = L_139;
|
|
goto IL_0325;
|
|
}
|
|
|
|
IL_0296:
|
|
{
|
|
// for (int k = 0; k < neis.Count; k++)
|
|
V_27 = 0;
|
|
goto IL_0317;
|
|
}
|
|
|
|
IL_029b:
|
|
{
|
|
// Node neighbourNode = tinyNodePool.GetNode(neis[k]);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_140 = __this->___tinyNodePool_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_141 = V_18;
|
|
int32_t L_142 = V_27;
|
|
NullCheck(L_141);
|
|
int32_t L_143;
|
|
L_143 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_141, L_142, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_140);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_144;
|
|
L_144 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_140, L_143, NULL);
|
|
V_28 = L_144;
|
|
// if (neighbourNode == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_145 = V_28;
|
|
if (!L_145)
|
|
{
|
|
goto IL_0311;
|
|
}
|
|
}
|
|
{
|
|
// if ((neighbourNode.Flags & NodeFlags.Closed) != 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_146 = V_28;
|
|
NullCheck(L_146);
|
|
int32_t L_147 = L_146->___Flags_4;
|
|
if (((int32_t)((int32_t)L_147&2)))
|
|
{
|
|
goto IL_0311;
|
|
}
|
|
}
|
|
{
|
|
// float distSqr = Distance.PointToSegment2DSquared(ref searchPos, ref verts[j], ref verts[i]);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_148 = V_8;
|
|
int32_t L_149 = V_17;
|
|
NullCheck(L_148);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_150 = V_8;
|
|
int32_t L_151 = V_16;
|
|
NullCheck(L_150);
|
|
float L_152;
|
|
L_152 = Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106((&V_6), ((L_148)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_149))), ((L_150)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_151))), NULL);
|
|
// if (distSqr > searchRadSqr)
|
|
float L_153 = V_7;
|
|
if ((((float)L_152) > ((float)L_153)))
|
|
{
|
|
goto IL_0311;
|
|
}
|
|
}
|
|
{
|
|
// if (nodeQueue.Count < MAX_STACK)
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* L_154 = V_1;
|
|
NullCheck(L_154);
|
|
int32_t L_155;
|
|
L_155 = Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_inline(L_154, Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_RuntimeMethod_var);
|
|
int32_t L_156 = V_0;
|
|
if ((((int32_t)L_155) >= ((int32_t)L_156)))
|
|
{
|
|
goto IL_0311;
|
|
}
|
|
}
|
|
{
|
|
// neighbourNode.ParentIdx = tinyNodePool.GetNodeIdx(curNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_157 = V_28;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_158 = __this->___tinyNodePool_3;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_159 = V_10;
|
|
NullCheck(L_158);
|
|
int32_t L_160;
|
|
L_160 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_158, L_159, NULL);
|
|
NullCheck(L_157);
|
|
L_157->___ParentIdx_3 = L_160;
|
|
// neighbourNode.Flags |= NodeFlags.Closed;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_161 = V_28;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_162 = L_161;
|
|
NullCheck(L_162);
|
|
int32_t L_163 = L_162->___Flags_4;
|
|
NullCheck(L_162);
|
|
L_162->___Flags_4 = ((int32_t)((int32_t)L_163|2));
|
|
// nodeQueue.Enqueue(neighbourNode);
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* L_164 = V_1;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_165 = V_28;
|
|
NullCheck(L_164);
|
|
Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2(L_164, L_165, Queue_1_Enqueue_m125FBE8D11A2ACAEB2C1F7378EC7AE4B30B1E4F2_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0311:
|
|
{
|
|
// for (int k = 0; k < neis.Count; k++)
|
|
int32_t L_166 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_166, 1));
|
|
}
|
|
|
|
IL_0317:
|
|
{
|
|
// for (int k = 0; k < neis.Count; k++)
|
|
int32_t L_167 = V_27;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_168 = V_18;
|
|
NullCheck(L_168);
|
|
int32_t L_169;
|
|
L_169 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_168, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_167) < ((int32_t)L_169)))
|
|
{
|
|
goto IL_029b;
|
|
}
|
|
}
|
|
|
|
IL_0325:
|
|
{
|
|
// for (int i = 0, j = curPoly.VertCount - 1; i < curPoly.VertCount; j = i++)
|
|
int32_t L_170 = V_16;
|
|
int32_t L_171 = L_170;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_171, 1));
|
|
V_17 = L_171;
|
|
}
|
|
|
|
IL_032e:
|
|
{
|
|
// for (int i = 0, j = curPoly.VertCount - 1; i < curPoly.VertCount; j = i++)
|
|
int32_t L_172 = V_16;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_173 = V_13;
|
|
NullCheck(L_173);
|
|
int32_t L_174;
|
|
L_174 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_173, NULL);
|
|
if ((((int32_t)L_172) < ((int32_t)L_174)))
|
|
{
|
|
goto IL_0173;
|
|
}
|
|
}
|
|
|
|
IL_033c:
|
|
{
|
|
// while (nodeQueue.Count > 0)
|
|
Queue_1_t9E9C3A4DB30FD49AB8C3300AAEAEEEDB2074E3EB* L_175 = V_1;
|
|
NullCheck(L_175);
|
|
int32_t L_176;
|
|
L_176 = Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_inline(L_175, Queue_1_get_Count_mBFE0735C972CAD9DDFFBF74C9DB8AA05CD4CB919_RuntimeMethod_var);
|
|
if ((((int32_t)L_176) > ((int32_t)0)))
|
|
{
|
|
goto IL_00ee;
|
|
}
|
|
}
|
|
|
|
IL_0348:
|
|
{
|
|
// if ((endPos - bestPos).Length() > 1f)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_177 = ___1_endPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_178 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_179;
|
|
L_179 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_177, L_178, NULL);
|
|
V_9 = L_179;
|
|
float L_180;
|
|
L_180 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_9), NULL);
|
|
if ((!(((float)L_180) > ((float)(1.0f)))))
|
|
{
|
|
goto IL_0361;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0361:
|
|
{
|
|
// if (bestNode != null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_181 = V_5;
|
|
if (!L_181)
|
|
{
|
|
goto IL_03a6;
|
|
}
|
|
}
|
|
{
|
|
// Node node = bestNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_182 = V_5;
|
|
V_29 = L_182;
|
|
}
|
|
|
|
IL_0369:
|
|
{
|
|
// visited.Add(node.Id);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_183 = ___3_visited;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_184 = V_29;
|
|
NullCheck(L_184);
|
|
int32_t L_185 = L_184->___Id_5;
|
|
NullCheck(L_183);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_183, L_185, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (visited.Count >= visited.Capacity)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_186 = ___3_visited;
|
|
NullCheck(L_186);
|
|
int32_t L_187;
|
|
L_187 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_186, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_188 = ___3_visited;
|
|
NullCheck(L_188);
|
|
int32_t L_189;
|
|
L_189 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_188, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_187) >= ((int32_t)L_189)))
|
|
{
|
|
goto IL_039f;
|
|
}
|
|
}
|
|
{
|
|
// node = tinyNodePool.GetNodeAtIdx(node.ParentIdx);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_190 = __this->___tinyNodePool_3;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_191 = V_29;
|
|
NullCheck(L_191);
|
|
int32_t L_192 = L_191->___ParentIdx_3;
|
|
NullCheck(L_190);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_193;
|
|
L_193 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_190, L_192, NULL);
|
|
V_29 = L_193;
|
|
// while (node != null);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_194 = V_29;
|
|
if (L_194)
|
|
{
|
|
goto IL_0369;
|
|
}
|
|
}
|
|
|
|
IL_039f:
|
|
{
|
|
// visited.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_195 = ___3_visited;
|
|
NullCheck(L_195);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_195, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_03a6:
|
|
{
|
|
// resultPos = bestPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_196 = ___2_resultPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_197 = V_3;
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_196 = L_197;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::InitSlicedFindPath(SharpNav.Pathfinding.NavPoint,SharpNav.Pathfinding.NavPoint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_InitSlicedFindPath_m41F79FDFBEA4EB0681455F64E348E726044C3C29 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_startPoint, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___1_endPoint, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// query = new QueryData();
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_0 = (&__this->___query_6);
|
|
il2cpp_codegen_initobj(L_0, sizeof(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6));
|
|
// query.Status = false;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_1 = (&__this->___query_6);
|
|
L_1->___Status_0 = (bool)0;
|
|
// query.StartRef = startPoint.Polygon;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_2 = (&__this->___query_6);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_3 = ___0_startPoint;
|
|
int32_t L_4 = L_3.___Polygon_1;
|
|
L_2->___StartRef_3 = L_4;
|
|
// query.EndRef = endPoint.Polygon;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_5 = (&__this->___query_6);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_6 = ___1_endPoint;
|
|
int32_t L_7 = L_6.___Polygon_1;
|
|
L_5->___EndRef_4 = L_7;
|
|
// query.StartPos = startPoint.Position;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_8 = (&__this->___query_6);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_9 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = L_9.___Position_2;
|
|
L_8->___StartPos_5 = L_10;
|
|
// query.EndPos = endPoint.Position;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_11 = (&__this->___query_6);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_12 = ___1_endPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = L_12.___Position_2;
|
|
L_11->___EndPos_6 = L_13;
|
|
// if (query.StartRef == 0 || query.EndRef == 0)
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_14 = (&__this->___query_6);
|
|
int32_t L_15 = L_14->___StartRef_3;
|
|
if (!L_15)
|
|
{
|
|
goto IL_0076;
|
|
}
|
|
}
|
|
{
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_16 = (&__this->___query_6);
|
|
int32_t L_17 = L_16->___EndRef_4;
|
|
if (L_17)
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
// if (!nav.IsValidPolyRef(startPoint.Polygon) || !nav.IsValidPolyRef(endPoint.Polygon))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_18 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_19 = ___0_startPoint;
|
|
int32_t L_20 = L_19.___Polygon_1;
|
|
NullCheck(L_18);
|
|
bool L_21;
|
|
L_21 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_18, L_20, NULL);
|
|
if (!L_21)
|
|
{
|
|
goto IL_009e;
|
|
}
|
|
}
|
|
{
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_22 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_23 = ___1_endPoint;
|
|
int32_t L_24 = L_23.___Polygon_1;
|
|
NullCheck(L_22);
|
|
bool L_25;
|
|
L_25 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_22, L_24, NULL);
|
|
if (L_25)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// if (startPoint.Polygon == endPoint.Polygon)
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_26 = ___0_startPoint;
|
|
int32_t L_27 = L_26.___Polygon_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_28 = ___1_endPoint;
|
|
int32_t L_29 = L_28.___Polygon_1;
|
|
if ((!(((uint32_t)L_27) == ((uint32_t)L_29))))
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
}
|
|
{
|
|
// query.Status = true;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_30 = (&__this->___query_6);
|
|
L_30->___Status_0 = (bool)1;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
// nodePool.Clear();
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_31 = __this->___nodePool_4;
|
|
NullCheck(L_31);
|
|
NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E(L_31, NULL);
|
|
// openList.Clear();
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_32 = __this->___openList_5;
|
|
NullCheck(L_32);
|
|
PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B(L_32, PriorityQueue_1_Clear_m6FA5ECED0158DFD4DB83375495EEF466D0618E5B_RuntimeMethod_var);
|
|
// Node startNode = nodePool.GetNode(startPoint.Polygon);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_33 = __this->___nodePool_4;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_34 = ___0_startPoint;
|
|
int32_t L_35 = L_34.___Polygon_1;
|
|
NullCheck(L_33);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_36;
|
|
L_36 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_33, L_35, NULL);
|
|
V_0 = L_36;
|
|
// startNode.Pos = startPoint.Position;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_37 = V_0;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_38 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39 = L_38.___Position_2;
|
|
NullCheck(L_37);
|
|
L_37->___Pos_0 = L_39;
|
|
// startNode.ParentIdx = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_40 = V_0;
|
|
NullCheck(L_40);
|
|
L_40->___ParentIdx_3 = 0;
|
|
// startNode.cost = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_41 = V_0;
|
|
NullCheck(L_41);
|
|
L_41->___cost_1 = (0.0f);
|
|
// startNode.total = (endPoint.Position - startPoint.Position).Length() * H_SCALE;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_42 = V_0;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_43 = ___1_endPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_44 = L_43.___Position_2;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_45 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_46 = L_45.___Position_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47;
|
|
L_47 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_44, L_46, NULL);
|
|
V_1 = L_47;
|
|
float L_48;
|
|
L_48 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_1), NULL);
|
|
NullCheck(L_42);
|
|
L_42->___total_2 = ((float)il2cpp_codegen_multiply(L_48, (0.999000013f)));
|
|
// startNode.Id = startPoint.Polygon;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_49 = V_0;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_50 = ___0_startPoint;
|
|
int32_t L_51 = L_50.___Polygon_1;
|
|
NullCheck(L_49);
|
|
L_49->___Id_5 = L_51;
|
|
// startNode.Flags = NodeFlags.Open;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_52 = V_0;
|
|
NullCheck(L_52);
|
|
L_52->___Flags_4 = 1;
|
|
// openList.Push(startNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_53 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_54 = V_0;
|
|
NullCheck(L_53);
|
|
PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803(L_53, L_54, PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
// query.Status = true;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_55 = (&__this->___query_6);
|
|
L_55->___Status_0 = (bool)1;
|
|
// query.LastBestNode = startNode;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_56 = (&__this->___query_6);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_57 = V_0;
|
|
L_56->___LastBestNode_1 = L_57;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_56->___LastBestNode_1), (void*)L_57);
|
|
// query.LastBestNodeCost = startNode.total;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_58 = (&__this->___query_6);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_59 = V_0;
|
|
NullCheck(L_59);
|
|
float L_60 = L_59->___total_2;
|
|
L_58->___LastBestNodeCost_2 = L_60;
|
|
// return query.Status;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_61 = (&__this->___query_6);
|
|
bool L_62 = L_61->___Status_0;
|
|
return L_62;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::UpdateSlicedFindPath(System.Int32,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_UpdateSlicedFindPath_m4B95AF2C2D0D29DF6A5F693C53B32B004247E468 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_maxIter, int32_t* ___1_doneIters, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_3 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_6 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_10 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_11 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_12 = NULL;
|
|
float V_13 = 0.0f;
|
|
float V_14 = 0.0f;
|
|
float V_15 = 0.0f;
|
|
float V_16 = 0.0f;
|
|
float V_17 = 0.0f;
|
|
float V_18 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
{
|
|
// if (query.Status != true)
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_0 = (&__this->___query_6);
|
|
bool L_1 = L_0->___Status_0;
|
|
if (L_1)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// return query.Status;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_2 = (&__this->___query_6);
|
|
bool L_3 = L_2->___Status_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// if (!nav.IsValidPolyRef(query.StartRef) || !nav.IsValidPolyRef(query.EndRef))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_4 = __this->___nav_1;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_5 = (&__this->___query_6);
|
|
int32_t L_6 = L_5->___StartRef_3;
|
|
NullCheck(L_4);
|
|
bool L_7;
|
|
L_7 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_4, L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0049;
|
|
}
|
|
}
|
|
{
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_8 = __this->___nav_1;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_9 = (&__this->___query_6);
|
|
int32_t L_10 = L_9->___EndRef_4;
|
|
NullCheck(L_8);
|
|
bool L_11;
|
|
L_11 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_8, L_10, NULL);
|
|
if (L_11)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// query.Status = false;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_12 = (&__this->___query_6);
|
|
L_12->___Status_0 = (bool)0;
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// int iter = 0;
|
|
V_0 = 0;
|
|
goto IL_0343;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// iter++;
|
|
int32_t L_13 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
// Node bestNode = openList.Pop();
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_14 = __this->___openList_5;
|
|
NullCheck(L_14);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_15;
|
|
L_15 = PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B(L_14, PriorityQueue_1_Pop_m41E50A9734A4ED57105AEB7FA3D1DF895A63AE8B_RuntimeMethod_var);
|
|
V_1 = L_15;
|
|
// SetNodeFlagClosed(ref bestNode);
|
|
NavMeshQuery_SetNodeFlagClosed_mACD538174081D501AB7E355086218D55A72B9A4C(__this, (&V_1), NULL);
|
|
// if (bestNode.Id == query.EndRef)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_16 = V_1;
|
|
NullCheck(L_16);
|
|
int32_t L_17 = L_16->___Id_5;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_18 = (&__this->___query_6);
|
|
int32_t L_19 = L_18->___EndRef_4;
|
|
if ((!(((uint32_t)L_17) == ((uint32_t)L_19))))
|
|
{
|
|
goto IL_00b0;
|
|
}
|
|
}
|
|
{
|
|
// query.LastBestNode = bestNode;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_20 = (&__this->___query_6);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_21 = V_1;
|
|
L_20->___LastBestNode_1 = L_21;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_20->___LastBestNode_1), (void*)L_21);
|
|
// query.Status = true;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_22 = (&__this->___query_6);
|
|
L_22->___Status_0 = (bool)1;
|
|
// doneIters = iter;
|
|
int32_t* L_23 = ___1_doneIters;
|
|
int32_t L_24 = V_0;
|
|
*((int32_t*)L_23) = (int32_t)L_24;
|
|
// return query.Status;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_25 = (&__this->___query_6);
|
|
bool L_26 = L_25->___Status_0;
|
|
return L_26;
|
|
}
|
|
|
|
IL_00b0:
|
|
{
|
|
// int bestRef = bestNode.Id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_27 = V_1;
|
|
NullCheck(L_27);
|
|
int32_t L_28 = L_27->___Id_5;
|
|
V_2 = L_28;
|
|
// if (nav.TryGetTileAndPolyByRef(bestRef, out bestTile, out bestPoly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_29 = __this->___nav_1;
|
|
int32_t L_30 = V_2;
|
|
NullCheck(L_29);
|
|
bool L_31;
|
|
L_31 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_29, L_30, (&V_3), (&V_4), NULL);
|
|
if (L_31)
|
|
{
|
|
goto IL_00e4;
|
|
}
|
|
}
|
|
{
|
|
// query.Status = false;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_32 = (&__this->___query_6);
|
|
L_32->___Status_0 = (bool)0;
|
|
// doneIters = iter;
|
|
int32_t* L_33 = ___1_doneIters;
|
|
int32_t L_34 = V_0;
|
|
*((int32_t*)L_33) = (int32_t)L_34;
|
|
// return query.Status;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_35 = (&__this->___query_6);
|
|
bool L_36 = L_35->___Status_0;
|
|
return L_36;
|
|
}
|
|
|
|
IL_00e4:
|
|
{
|
|
// int parentRef = 0;
|
|
V_5 = 0;
|
|
// if (bestNode.ParentIdx != 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_37 = V_1;
|
|
NullCheck(L_37);
|
|
int32_t L_38 = L_37->___ParentIdx_3;
|
|
if (!L_38)
|
|
{
|
|
goto IL_0107;
|
|
}
|
|
}
|
|
{
|
|
// parentRef = nodePool.GetNodeAtIdx(bestNode.ParentIdx).Id;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_39 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_40 = V_1;
|
|
NullCheck(L_40);
|
|
int32_t L_41 = L_40->___ParentIdx_3;
|
|
NullCheck(L_39);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_42;
|
|
L_42 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_39, L_41, NULL);
|
|
NullCheck(L_42);
|
|
int32_t L_43 = L_42->___Id_5;
|
|
V_5 = L_43;
|
|
}
|
|
|
|
IL_0107:
|
|
{
|
|
// if (parentRef != 0)
|
|
int32_t L_44 = V_5;
|
|
if (!L_44)
|
|
{
|
|
goto IL_0139;
|
|
}
|
|
}
|
|
{
|
|
// if (nav.TryGetTileAndPolyByRef(parentRef, out parentTile, out parentPoly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_45 = __this->___nav_1;
|
|
int32_t L_46 = V_5;
|
|
NullCheck(L_45);
|
|
bool L_47;
|
|
L_47 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_45, L_46, (&V_6), (&V_7), NULL);
|
|
if (L_47)
|
|
{
|
|
goto IL_0139;
|
|
}
|
|
}
|
|
{
|
|
// query.Status = false;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_48 = (&__this->___query_6);
|
|
L_48->___Status_0 = (bool)0;
|
|
// doneIters = iter;
|
|
int32_t* L_49 = ___1_doneIters;
|
|
int32_t L_50 = V_0;
|
|
*((int32_t*)L_49) = (int32_t)L_50;
|
|
// return query.Status;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_51 = (&__this->___query_6);
|
|
bool L_52 = L_51->___Status_0;
|
|
return L_52;
|
|
}
|
|
|
|
IL_0139:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_53 = V_4;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_53, NULL);
|
|
V_8 = L_54;
|
|
goto IL_033b;
|
|
}
|
|
|
|
IL_0147:
|
|
{
|
|
// int neighbourRef = bestTile.Links[i].Reference;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_55 = V_3;
|
|
NullCheck(L_55);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_56;
|
|
L_56 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_55, NULL);
|
|
int32_t L_57 = V_8;
|
|
NullCheck(L_56);
|
|
int32_t L_58 = L_57;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
|
|
NullCheck(L_59);
|
|
int32_t L_60;
|
|
L_60 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_59, NULL);
|
|
V_9 = L_60;
|
|
// if (neighbourRef == 0 || neighbourRef == parentRef)
|
|
int32_t L_61 = V_9;
|
|
if (!L_61)
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_62 = V_9;
|
|
int32_t L_63 = V_5;
|
|
if ((((int32_t)L_62) == ((int32_t)L_63)))
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(neighbourRef, out neighbourTile, out neighbourPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_64 = __this->___nav_1;
|
|
int32_t L_65 = V_9;
|
|
NullCheck(L_64);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_64, L_65, (&V_10), (&V_11), NULL);
|
|
// Node neighbourNode = nodePool.GetNode(neighbourRef);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_66 = __this->___nodePool_4;
|
|
int32_t L_67 = V_9;
|
|
NullCheck(L_66);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_68;
|
|
L_68 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_66, L_67, NULL);
|
|
V_12 = L_68;
|
|
// if (neighbourNode == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_69 = V_12;
|
|
if (!L_69)
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbourNode.Flags == 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_70 = V_12;
|
|
NullCheck(L_70);
|
|
int32_t L_71 = L_70->___Flags_4;
|
|
if (L_71)
|
|
{
|
|
goto IL_01af;
|
|
}
|
|
}
|
|
{
|
|
// GetEdgeMidPoint(bestRef, bestPoly, bestTile, neighbourRef, neighbourPoly, neighbourTile, ref neighbourNode.Pos);
|
|
int32_t L_72 = V_2;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_73 = V_4;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_74 = V_3;
|
|
int32_t L_75 = V_9;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_76 = V_11;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_77 = V_10;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_78 = V_12;
|
|
NullCheck(L_78);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_79 = (&L_78->___Pos_0);
|
|
bool L_80;
|
|
L_80 = NavMeshQuery_GetEdgeMidPoint_m3F18D7DF1F9D697CF4475A8939511AD49DAF288A(__this, L_72, L_73, L_74, L_75, L_76, L_77, L_79, NULL);
|
|
}
|
|
|
|
IL_01af:
|
|
{
|
|
// float cost = 0;
|
|
V_13 = (0.0f);
|
|
// float heuristic = 0;
|
|
V_14 = (0.0f);
|
|
// if (neighbourRef == query.EndRef)
|
|
int32_t L_81 = V_9;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_82 = (&__this->___query_6);
|
|
int32_t L_83 = L_82->___EndRef_4;
|
|
if ((!(((uint32_t)L_81) == ((uint32_t)L_83))))
|
|
{
|
|
goto IL_0216;
|
|
}
|
|
}
|
|
{
|
|
// float curCost = GetCost(bestNode.Pos, neighbourNode.Pos, bestPoly);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_84 = V_1;
|
|
NullCheck(L_84);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_85 = L_84->___Pos_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_86 = V_12;
|
|
NullCheck(L_86);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_87 = L_86->___Pos_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_88 = V_4;
|
|
float L_89;
|
|
L_89 = NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320(__this, L_85, L_87, L_88, NULL);
|
|
V_16 = L_89;
|
|
// float endCost = GetCost(neighbourNode.Pos, query.EndPos, neighbourPoly);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_90 = V_12;
|
|
NullCheck(L_90);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_91 = L_90->___Pos_0;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_92 = (&__this->___query_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_93 = L_92->___EndPos_6;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_94 = V_11;
|
|
float L_95;
|
|
L_95 = NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320(__this, L_91, L_93, L_94, NULL);
|
|
V_17 = L_95;
|
|
// cost = bestNode.cost + curCost + endCost;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_96 = V_1;
|
|
NullCheck(L_96);
|
|
float L_97 = L_96->___cost_1;
|
|
float L_98 = V_16;
|
|
float L_99 = V_17;
|
|
V_13 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_97, L_98)), L_99));
|
|
// heuristic = 0;
|
|
V_14 = (0.0f);
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_0216:
|
|
{
|
|
// float curCost = GetCost(bestNode.Pos, neighbourNode.Pos, bestPoly);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_100 = V_1;
|
|
NullCheck(L_100);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_101 = L_100->___Pos_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_102 = V_12;
|
|
NullCheck(L_102);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_103 = L_102->___Pos_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_104 = V_4;
|
|
float L_105;
|
|
L_105 = NavMeshQuery_GetCost_mD51943CF23A2AD37F132D238E6FAAEE99497A320(__this, L_101, L_103, L_104, NULL);
|
|
V_18 = L_105;
|
|
// cost = bestNode.cost + curCost;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_106 = V_1;
|
|
NullCheck(L_106);
|
|
float L_107 = L_106->___cost_1;
|
|
float L_108 = V_18;
|
|
V_13 = ((float)il2cpp_codegen_add(L_107, L_108));
|
|
// heuristic = (neighbourNode.Pos - query.EndPos).Length() * H_SCALE;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_109 = V_12;
|
|
NullCheck(L_109);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_110 = L_109->___Pos_0;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_111 = (&__this->___query_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_112 = L_111->___EndPos_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_113;
|
|
L_113 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_110, L_112, NULL);
|
|
V_19 = L_113;
|
|
float L_114;
|
|
L_114 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_19), NULL);
|
|
V_14 = ((float)il2cpp_codegen_multiply(L_114, (0.999000013f)));
|
|
}
|
|
|
|
IL_0260:
|
|
{
|
|
// float total = cost + heuristic;
|
|
float L_115 = V_13;
|
|
float L_116 = V_14;
|
|
V_15 = ((float)il2cpp_codegen_add(L_115, L_116));
|
|
// if (IsInOpenList(neighbourNode) && total >= neighbourNode.total)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_117 = V_12;
|
|
bool L_118;
|
|
L_118 = NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5(__this, L_117, NULL);
|
|
if (!L_118)
|
|
{
|
|
goto IL_027f;
|
|
}
|
|
}
|
|
{
|
|
float L_119 = V_15;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_120 = V_12;
|
|
NullCheck(L_120);
|
|
float L_121 = L_120->___total_2;
|
|
if ((((float)L_119) >= ((float)L_121)))
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
|
|
IL_027f:
|
|
{
|
|
// if (IsInClosedList(neighbourNode) && total >= neighbourNode.total)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_122 = V_12;
|
|
bool L_123;
|
|
L_123 = NavMeshQuery_IsInClosedList_m315AADA9E4B62356CBE5B2AAD76540A46465FCAB(__this, L_122, NULL);
|
|
if (!L_123)
|
|
{
|
|
goto IL_0297;
|
|
}
|
|
}
|
|
{
|
|
float L_124 = V_15;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_125 = V_12;
|
|
NullCheck(L_125);
|
|
float L_126 = L_125->___total_2;
|
|
if ((((float)L_124) >= ((float)L_126)))
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
|
|
IL_0297:
|
|
{
|
|
// neighbourNode.ParentIdx = nodePool.GetNodeIdx(bestNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_127 = V_12;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_128 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_129 = V_1;
|
|
NullCheck(L_128);
|
|
int32_t L_130;
|
|
L_130 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_128, L_129, NULL);
|
|
NullCheck(L_127);
|
|
L_127->___ParentIdx_3 = L_130;
|
|
// neighbourNode.Id = neighbourRef;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_131 = V_12;
|
|
int32_t L_132 = V_9;
|
|
NullCheck(L_131);
|
|
L_131->___Id_5 = L_132;
|
|
// neighbourNode.Flags = RemoveNodeFlagClosed(neighbourNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_133 = V_12;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_134 = V_12;
|
|
int32_t L_135;
|
|
L_135 = NavMeshQuery_RemoveNodeFlagClosed_mDE7ED34E72232971AC72D5AEA3A3F0361D451142(__this, L_134, NULL);
|
|
NullCheck(L_133);
|
|
L_133->___Flags_4 = L_135;
|
|
// neighbourNode.cost = cost;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_136 = V_12;
|
|
float L_137 = V_13;
|
|
NullCheck(L_136);
|
|
L_136->___cost_1 = L_137;
|
|
// neighbourNode.total = total;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_138 = V_12;
|
|
float L_139 = V_15;
|
|
NullCheck(L_138);
|
|
L_138->___total_2 = L_139;
|
|
// if (IsInOpenList(neighbourNode))
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_140 = V_12;
|
|
bool L_141;
|
|
L_141 = NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5(__this, L_140, NULL);
|
|
if (!L_141)
|
|
{
|
|
goto IL_02ed;
|
|
}
|
|
}
|
|
{
|
|
// openList.Modify(neighbourNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_142 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_143 = V_12;
|
|
NullCheck(L_142);
|
|
PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C(L_142, L_143, PriorityQueue_1_Modify_mC80A3E24BA09F74BA9CDB280D107FF7889AA415C_RuntimeMethod_var);
|
|
goto IL_0302;
|
|
}
|
|
|
|
IL_02ed:
|
|
{
|
|
// SetNodeFlagOpen(ref neighbourNode);
|
|
NavMeshQuery_SetNodeFlagOpen_m727984427980CF61D5B8610F3FF7D8553758E446(__this, (&V_12), NULL);
|
|
// openList.Push(neighbourNode);
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_144 = __this->___openList_5;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_145 = V_12;
|
|
NullCheck(L_144);
|
|
PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803(L_144, L_145, PriorityQueue_1_Push_mCCA8AA0407A129FB828A8CD519005FA118023803_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0302:
|
|
{
|
|
// if (heuristic < query.LastBestNodeCost)
|
|
float L_146 = V_14;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_147 = (&__this->___query_6);
|
|
float L_148 = L_147->___LastBestNodeCost_2;
|
|
if ((!(((float)L_146) < ((float)L_148))))
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
{
|
|
// query.LastBestNodeCost = heuristic;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_149 = (&__this->___query_6);
|
|
float L_150 = V_14;
|
|
L_149->___LastBestNodeCost_2 = L_150;
|
|
// query.LastBestNode = neighbourNode;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_151 = (&__this->___query_6);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_152 = V_12;
|
|
L_151->___LastBestNode_1 = L_152;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_151->___LastBestNode_1), (void*)L_152);
|
|
}
|
|
|
|
IL_032b:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_153 = V_3;
|
|
NullCheck(L_153);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_154;
|
|
L_154 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_153, NULL);
|
|
int32_t L_155 = V_8;
|
|
NullCheck(L_154);
|
|
int32_t L_156 = L_155;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_157 = (L_154)->GetAt(static_cast<il2cpp_array_size_t>(L_156));
|
|
NullCheck(L_157);
|
|
int32_t L_158;
|
|
L_158 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_157, NULL);
|
|
V_8 = L_158;
|
|
}
|
|
|
|
IL_033b:
|
|
{
|
|
// for (int i = bestPoly.FirstLink; i != Link.Null; i = bestTile.Links[i].Next)
|
|
int32_t L_159 = V_8;
|
|
if ((!(((uint32_t)L_159) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0147;
|
|
}
|
|
}
|
|
|
|
IL_0343:
|
|
{
|
|
// while (iter < maxIter && !openList.Empty())
|
|
int32_t L_160 = V_0;
|
|
int32_t L_161 = ___0_maxIter;
|
|
if ((((int32_t)L_160) >= ((int32_t)L_161)))
|
|
{
|
|
goto IL_0357;
|
|
}
|
|
}
|
|
{
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_162 = __this->___openList_5;
|
|
NullCheck(L_162);
|
|
bool L_163;
|
|
L_163 = PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C(L_162, PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C_RuntimeMethod_var);
|
|
if (!L_163)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
|
|
IL_0357:
|
|
{
|
|
// if (openList.Empty())
|
|
PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D* L_164 = __this->___openList_5;
|
|
NullCheck(L_164);
|
|
bool L_165;
|
|
L_165 = PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C(L_164, PriorityQueue_1_Empty_mA3BF54B590DB7E06B64CB969D32306D6303FAF1C_RuntimeMethod_var);
|
|
if (!L_165)
|
|
{
|
|
goto IL_0370;
|
|
}
|
|
}
|
|
{
|
|
// query.Status = true;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_166 = (&__this->___query_6);
|
|
L_166->___Status_0 = (bool)1;
|
|
}
|
|
|
|
IL_0370:
|
|
{
|
|
// doneIters = iter;
|
|
int32_t* L_167 = ___1_doneIters;
|
|
int32_t L_168 = V_0;
|
|
*((int32_t*)L_167) = (int32_t)L_168;
|
|
// return query.Status;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_169 = (&__this->___query_6);
|
|
bool L_170 = L_169->___Status_0;
|
|
return L_170;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::FinalizeSlicedFindPath(System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_FinalizeSlicedFindPath_mA7D52BFC5D4E1262670DEFDD2C79C143656E7E54 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_path, int32_t* ___1_pathCount, int32_t ___2_maxPath, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_1 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_2 = NULL;
|
|
{
|
|
// pathCount = 0;
|
|
int32_t* L_0 = ___1_pathCount;
|
|
*((int32_t*)L_0) = (int32_t)0;
|
|
// if (query.Status == false)
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_1 = (&__this->___query_6);
|
|
bool L_2 = L_1->___Status_0;
|
|
if (L_2)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// query = new QueryData();
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_3 = (&__this->___query_6);
|
|
il2cpp_codegen_initobj(L_3, sizeof(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6));
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// int n = 0;
|
|
V_0 = 0;
|
|
// if (query.StartRef == query.EndRef)
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_4 = (&__this->___query_6);
|
|
int32_t L_5 = L_4->___StartRef_3;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_6 = (&__this->___query_6);
|
|
int32_t L_7 = L_6->___EndRef_4;
|
|
if ((!(((uint32_t)L_5) == ((uint32_t)L_7))))
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// path[n++] = query.StartRef;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = ___0_path;
|
|
int32_t L_9 = V_0;
|
|
int32_t L_10 = L_9;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_11 = (&__this->___query_6);
|
|
int32_t L_12 = L_11->___StartRef_3;
|
|
NullCheck(L_8);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_10), (int32_t)L_12);
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// Node prev = null;
|
|
V_1 = (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
// Node node = query.LastBestNode;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_13 = (&__this->___query_6);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_14 = L_13->___LastBestNode_1;
|
|
V_2 = L_14;
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
// Node next = nodePool.GetNodeAtIdx(node.ParentIdx);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_15 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_16 = V_2;
|
|
NullCheck(L_16);
|
|
int32_t L_17 = L_16->___ParentIdx_3;
|
|
NullCheck(L_15);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_18;
|
|
L_18 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_15, L_17, NULL);
|
|
// node.ParentIdx = nodePool.GetNodeIdx(prev);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_19 = V_2;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_20 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_21 = V_1;
|
|
NullCheck(L_20);
|
|
int32_t L_22;
|
|
L_22 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_20, L_21, NULL);
|
|
NullCheck(L_19);
|
|
L_19->___ParentIdx_3 = L_22;
|
|
// prev = node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_23 = V_2;
|
|
V_1 = L_23;
|
|
// node = next;
|
|
V_2 = L_18;
|
|
// while (node != null);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_24 = V_2;
|
|
if (L_24)
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
// node = prev;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_25 = V_1;
|
|
V_2 = L_25;
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// path[n++] = node.Id;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26 = ___0_path;
|
|
int32_t L_27 = V_0;
|
|
int32_t L_28 = L_27;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_29 = V_2;
|
|
NullCheck(L_29);
|
|
int32_t L_30 = L_29->___Id_5;
|
|
NullCheck(L_26);
|
|
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(L_28), (int32_t)L_30);
|
|
// if (n >= maxPath)
|
|
int32_t L_31 = V_0;
|
|
int32_t L_32 = ___2_maxPath;
|
|
if ((((int32_t)L_31) >= ((int32_t)L_32)))
|
|
{
|
|
goto IL_00ab;
|
|
}
|
|
}
|
|
{
|
|
// node = nodePool.GetNodeAtIdx(node.ParentIdx);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_33 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_34 = V_2;
|
|
NullCheck(L_34);
|
|
int32_t L_35 = L_34->___ParentIdx_3;
|
|
NullCheck(L_33);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_36;
|
|
L_36 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_33, L_35, NULL);
|
|
V_2 = L_36;
|
|
// while (node != null);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_37 = V_2;
|
|
if (L_37)
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// query = new QueryData();
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_38 = (&__this->___query_6);
|
|
il2cpp_codegen_initobj(L_38, sizeof(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6));
|
|
// pathCount = n;
|
|
int32_t* L_39 = ___1_pathCount;
|
|
int32_t L_40 = V_0;
|
|
*((int32_t*)L_39) = (int32_t)L_40;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::FinalizedSlicedPathPartial(System.Int32[],System.Int32,System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_FinalizedSlicedPathPartial_mD6B9AD5495ABB66ECEC467B369A0070294B421E7 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_existing, int32_t ___1_existingSize, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___2_path, int32_t* ___3_pathCount, int32_t ___4_maxPath, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_1 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
{
|
|
// pathCount = 0;
|
|
int32_t* L_0 = ___3_pathCount;
|
|
*((int32_t*)L_0) = (int32_t)0;
|
|
// if (existingSize == 0)
|
|
int32_t L_1 = ___1_existingSize;
|
|
if (L_1)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (query.Status == false)
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_2 = (&__this->___query_6);
|
|
bool L_3 = L_2->___Status_0;
|
|
if (L_3)
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// query = new QueryData();
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_4 = (&__this->___query_6);
|
|
il2cpp_codegen_initobj(L_4, sizeof(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6));
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// int n = 0;
|
|
V_0 = 0;
|
|
// if (query.StartRef == query.EndRef)
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_5 = (&__this->___query_6);
|
|
int32_t L_6 = L_5->___StartRef_3;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_7 = (&__this->___query_6);
|
|
int32_t L_8 = L_7->___EndRef_4;
|
|
if ((!(((uint32_t)L_6) == ((uint32_t)L_8))))
|
|
{
|
|
goto IL_0055;
|
|
}
|
|
}
|
|
{
|
|
// path[n++] = query.StartRef;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = ___2_path;
|
|
int32_t L_10 = V_0;
|
|
int32_t L_11 = L_10;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_12 = (&__this->___query_6);
|
|
int32_t L_13 = L_12->___StartRef_3;
|
|
NullCheck(L_9);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (int32_t)L_13);
|
|
goto IL_00da;
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// Node prev = null;
|
|
V_1 = (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
// Node node = null;
|
|
V_2 = (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
// for (int i = existingSize - 1; i >= 0; i--)
|
|
int32_t L_14 = ___1_existingSize;
|
|
V_3 = ((int32_t)il2cpp_codegen_subtract(L_14, 1));
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// node = nodePool.FindNode(existing[i]);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_15 = __this->___nodePool_4;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16 = ___0_existing;
|
|
int32_t L_17 = V_3;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
int32_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
NullCheck(L_15);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_20;
|
|
L_20 = NodePool_FindNode_m5D282B3087A0628DA1C6E96D207240FC3601F092(L_15, L_19, NULL);
|
|
V_2 = L_20;
|
|
// if (node != null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_21 = V_2;
|
|
if (L_21)
|
|
{
|
|
goto IL_0079;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = existingSize - 1; i >= 0; i--)
|
|
int32_t L_22 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_subtract(L_22, 1));
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// for (int i = existingSize - 1; i >= 0; i--)
|
|
int32_t L_23 = V_3;
|
|
if ((((int32_t)L_23) >= ((int32_t)0)))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
|
|
IL_0079:
|
|
{
|
|
// if (node == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_24 = V_2;
|
|
if (L_24)
|
|
{
|
|
goto IL_0088;
|
|
}
|
|
}
|
|
{
|
|
// node = query.LastBestNode;
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_25 = (&__this->___query_6);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_26 = L_25->___LastBestNode_1;
|
|
V_2 = L_26;
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
// Node next = nodePool.GetNodeAtIdx(node.ParentIdx);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_27 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_28 = V_2;
|
|
NullCheck(L_28);
|
|
int32_t L_29 = L_28->___ParentIdx_3;
|
|
NullCheck(L_27);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_30;
|
|
L_30 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_27, L_29, NULL);
|
|
// node.ParentIdx = nodePool.GetNodeIdx(prev);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_31 = V_2;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_32 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_33 = V_1;
|
|
NullCheck(L_32);
|
|
int32_t L_34;
|
|
L_34 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_32, L_33, NULL);
|
|
NullCheck(L_31);
|
|
L_31->___ParentIdx_3 = L_34;
|
|
// prev = node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_35 = V_2;
|
|
V_1 = L_35;
|
|
// node = next;
|
|
V_2 = L_30;
|
|
// while (node != null);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_36 = V_2;
|
|
if (L_36)
|
|
{
|
|
goto IL_0088;
|
|
}
|
|
}
|
|
{
|
|
// node = prev;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_37 = V_1;
|
|
V_2 = L_37;
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
// path[n++] = node.Id;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = ___2_path;
|
|
int32_t L_39 = V_0;
|
|
int32_t L_40 = L_39;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_40, 1));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_41 = V_2;
|
|
NullCheck(L_41);
|
|
int32_t L_42 = L_41->___Id_5;
|
|
NullCheck(L_38);
|
|
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(L_40), (int32_t)L_42);
|
|
// if (n >= maxPath)
|
|
int32_t L_43 = V_0;
|
|
int32_t L_44 = ___4_maxPath;
|
|
if ((((int32_t)L_43) >= ((int32_t)L_44)))
|
|
{
|
|
goto IL_00da;
|
|
}
|
|
}
|
|
{
|
|
// node = nodePool.GetNodeAtIdx(node.ParentIdx);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_45 = __this->___nodePool_4;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_46 = V_2;
|
|
NullCheck(L_46);
|
|
int32_t L_47 = L_46->___ParentIdx_3;
|
|
NullCheck(L_45);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_48;
|
|
L_48 = NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6(L_45, L_47, NULL);
|
|
V_2 = L_48;
|
|
// while (node != null);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_49 = V_2;
|
|
if (L_49)
|
|
{
|
|
goto IL_00b3;
|
|
}
|
|
}
|
|
|
|
IL_00da:
|
|
{
|
|
// query = new QueryData();
|
|
QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6* L_50 = (&__this->___query_6);
|
|
il2cpp_codegen_initobj(L_50, sizeof(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6));
|
|
// pathCount = n;
|
|
int32_t* L_51 = ___3_pathCount;
|
|
int32_t L_52 = V_0;
|
|
*((int32_t*)L_51) = (int32_t)L_52;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::Raycast(SharpNav.Pathfinding.NavPoint,SharpNav.Geometry.Vector3,System.Single&,SharpNav.Geometry.Vector3&,System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_Raycast_m36DB07A43F0CD9E65955D782DD02B7F52760755F (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_startPoint, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_endPos, float* ___2_t, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_hitNormal, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___4_path, int32_t* ___5_pathCount, int32_t ___6_maxPath, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_3 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* V_13 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_14 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_15 = NULL;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
float V_20 = 0.0f;
|
|
float V_21 = 0.0f;
|
|
float V_22 = 0.0f;
|
|
float V_23 = 0.0f;
|
|
float V_24 = 0.0f;
|
|
float V_25 = 0.0f;
|
|
float V_26 = 0.0f;
|
|
float V_27 = 0.0f;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_30;
|
|
memset((&V_30), 0, sizeof(V_30));
|
|
float V_31 = 0.0f;
|
|
float V_32 = 0.0f;
|
|
int32_t G_B43_0 = 0;
|
|
{
|
|
// t = 0;
|
|
float* L_0 = ___2_t;
|
|
*((float*)L_0) = (float)(0.0f);
|
|
// pathCount = 0;
|
|
int32_t* L_1 = ___5_pathCount;
|
|
*((int32_t*)L_1) = (int32_t)0;
|
|
// if (startPoint.Polygon == 0 || !nav.IsValidPolyRef(startPoint.Polygon))
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_2 = ___0_startPoint;
|
|
int32_t L_3 = L_2.___Polygon_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_4 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_5 = ___0_startPoint;
|
|
int32_t L_6 = L_5.___Polygon_1;
|
|
NullCheck(L_4);
|
|
bool L_7;
|
|
L_7 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_4, L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// int curRef = startPoint.Polygon;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_8 = ___0_startPoint;
|
|
int32_t L_9 = L_8.___Polygon_1;
|
|
V_0 = L_9;
|
|
// Vector3[] verts = new Vector3[PathfindingCommon.VERTS_PER_POLYGON];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_10 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_1 = L_10;
|
|
// int n = 0;
|
|
V_2 = 0;
|
|
// hitNormal = new Vector3(0, 0, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___3_hitNormal;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_12), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_11 = L_12;
|
|
goto IL_03be;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(curRef, out tile, out poly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_13 = __this->___nav_1;
|
|
int32_t L_14 = V_0;
|
|
NullCheck(L_13);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_13, L_14, (&V_3), (&V_4), NULL);
|
|
// int nv = 0;
|
|
V_5 = 0;
|
|
// for (int i = 0; i < poly.VertCount; i++)
|
|
V_11 = 0;
|
|
goto IL_0099;
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// verts[nv] = tile.Verts[poly.Verts[i]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_15 = V_1;
|
|
int32_t L_16 = V_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_17 = V_3;
|
|
NullCheck(L_17);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_18;
|
|
L_18 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_17, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_19 = V_4;
|
|
NullCheck(L_19);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_20;
|
|
L_20 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_19, NULL);
|
|
int32_t L_21 = V_11;
|
|
NullCheck(L_20);
|
|
int32_t L_22 = L_21;
|
|
int32_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
NullCheck(L_18);
|
|
int32_t L_24 = L_23;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
NullCheck(L_15);
|
|
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(L_16), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_25);
|
|
// nv++;
|
|
int32_t L_26 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_26, 1));
|
|
// for (int i = 0; i < poly.VertCount; i++)
|
|
int32_t L_27 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_27, 1));
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// for (int i = 0; i < poly.VertCount; i++)
|
|
int32_t L_28 = V_11;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_29 = V_4;
|
|
NullCheck(L_29);
|
|
int32_t L_30;
|
|
L_30 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_29, NULL);
|
|
if ((((int32_t)L_28) < ((int32_t)L_30)))
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
// if (!Intersection.SegmentPoly2D(startPoint.Position, endPos, verts, nv, out tmin, out tmax, out segMin, out segMax))
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_31 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_32 = L_31.___Position_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = ___1_endPos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_34 = V_1;
|
|
int32_t L_35 = V_5;
|
|
bool L_36;
|
|
L_36 = Intersection_SegmentPoly2D_m5FFF68388EB971B4A5764219CE79A7374DDAA343(L_32, L_33, L_34, L_35, (&V_6), (&V_7), (&V_8), (&V_9), NULL);
|
|
if (L_36)
|
|
{
|
|
goto IL_00c3;
|
|
}
|
|
}
|
|
{
|
|
// pathCount = n;
|
|
int32_t* L_37 = ___5_pathCount;
|
|
int32_t L_38 = V_2;
|
|
*((int32_t*)L_37) = (int32_t)L_38;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// if (tmax > t)
|
|
float L_39 = V_7;
|
|
float* L_40 = ___2_t;
|
|
float L_41 = *((float*)L_40);
|
|
if ((!(((float)L_39) > ((float)L_41))))
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
{
|
|
// t = tmax;
|
|
float* L_42 = ___2_t;
|
|
float L_43 = V_7;
|
|
*((float*)L_42) = (float)L_43;
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// if (n < maxPath)
|
|
int32_t L_44 = V_2;
|
|
int32_t L_45 = ___6_maxPath;
|
|
if ((((int32_t)L_44) >= ((int32_t)L_45)))
|
|
{
|
|
goto IL_00db;
|
|
}
|
|
}
|
|
{
|
|
// path[n++] = curRef;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_46 = ___4_path;
|
|
int32_t L_47 = V_2;
|
|
int32_t L_48 = L_47;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_48, 1));
|
|
int32_t L_49 = V_0;
|
|
NullCheck(L_46);
|
|
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(L_48), (int32_t)L_49);
|
|
}
|
|
|
|
IL_00db:
|
|
{
|
|
// if (segMax == -1)
|
|
int32_t L_50 = V_9;
|
|
if ((!(((uint32_t)L_50) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// t = float.MaxValue;
|
|
float* L_51 = ___2_t;
|
|
*((float*)L_51) = (float)((std::numeric_limits<float>::max)());
|
|
// pathCount = n;
|
|
int32_t* L_52 = ___5_pathCount;
|
|
int32_t L_53 = V_2;
|
|
*((int32_t*)L_52) = (int32_t)L_53;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// int nextRef = 0;
|
|
V_10 = 0;
|
|
// for (int i = poly.FirstLink; i != Link.Null; i = tile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_54 = V_4;
|
|
NullCheck(L_54);
|
|
int32_t L_55;
|
|
L_55 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_54, NULL);
|
|
V_12 = L_55;
|
|
goto IL_033d;
|
|
}
|
|
|
|
IL_00fe:
|
|
{
|
|
// Link link = tile.Links[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_56 = V_3;
|
|
NullCheck(L_56);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_57;
|
|
L_57 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_56, NULL);
|
|
int32_t L_58 = V_12;
|
|
NullCheck(L_57);
|
|
int32_t L_59 = L_58;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_60 = (L_57)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
|
|
V_13 = L_60;
|
|
// if (link.Edge != segMax)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_61 = V_13;
|
|
NullCheck(L_61);
|
|
int32_t L_62;
|
|
L_62 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_61, NULL);
|
|
int32_t L_63 = V_9;
|
|
if ((!(((uint32_t)L_62) == ((uint32_t)L_63))))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(link.Reference, out nextTile, out nextPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_64 = __this->___nav_1;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_65 = V_13;
|
|
NullCheck(L_65);
|
|
int32_t L_66;
|
|
L_66 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_65, NULL);
|
|
NullCheck(L_64);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_64, L_66, (&V_14), (&V_15), NULL);
|
|
// if (nextPoly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_67 = V_15;
|
|
NullCheck(L_67);
|
|
uint8_t L_68;
|
|
L_68 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_67, NULL);
|
|
if ((((int32_t)L_68) == ((int32_t)1)))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
{
|
|
// if (link.Side == BoundarySide.Internal)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_69 = V_13;
|
|
NullCheck(L_69);
|
|
uint8_t L_70;
|
|
L_70 = Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline(L_69, NULL);
|
|
if ((!(((uint32_t)L_70) == ((uint32_t)((int32_t)255)))))
|
|
{
|
|
goto IL_0156;
|
|
}
|
|
}
|
|
{
|
|
// nextRef = link.Reference;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_71 = V_13;
|
|
NullCheck(L_71);
|
|
int32_t L_72;
|
|
L_72 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_71, NULL);
|
|
V_10 = L_72;
|
|
// break;
|
|
goto IL_0345;
|
|
}
|
|
|
|
IL_0156:
|
|
{
|
|
// if (link.BMin == 0 && link.BMax == 255)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_73 = V_13;
|
|
NullCheck(L_73);
|
|
int32_t L_74;
|
|
L_74 = Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline(L_73, NULL);
|
|
if (L_74)
|
|
{
|
|
goto IL_017b;
|
|
}
|
|
}
|
|
{
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_75 = V_13;
|
|
NullCheck(L_75);
|
|
int32_t L_76;
|
|
L_76 = Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline(L_75, NULL);
|
|
if ((!(((uint32_t)L_76) == ((uint32_t)((int32_t)255)))))
|
|
{
|
|
goto IL_017b;
|
|
}
|
|
}
|
|
{
|
|
// nextRef = link.Reference;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_77 = V_13;
|
|
NullCheck(L_77);
|
|
int32_t L_78;
|
|
L_78 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_77, NULL);
|
|
V_10 = L_78;
|
|
// break;
|
|
goto IL_0345;
|
|
}
|
|
|
|
IL_017b:
|
|
{
|
|
// int v0 = poly.Verts[link.Edge];
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_79 = V_4;
|
|
NullCheck(L_79);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_80;
|
|
L_80 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_79, NULL);
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_81 = V_13;
|
|
NullCheck(L_81);
|
|
int32_t L_82;
|
|
L_82 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_81, NULL);
|
|
NullCheck(L_80);
|
|
int32_t L_83 = L_82;
|
|
int32_t L_84 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_83));
|
|
V_16 = L_84;
|
|
// int v1 = poly.Verts[(link.Edge + 1) % poly.VertCount];
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_85 = V_4;
|
|
NullCheck(L_85);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_86;
|
|
L_86 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_85, NULL);
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_87 = V_13;
|
|
NullCheck(L_87);
|
|
int32_t L_88;
|
|
L_88 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_87, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_89 = V_4;
|
|
NullCheck(L_89);
|
|
int32_t L_90;
|
|
L_90 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_89, NULL);
|
|
NullCheck(L_86);
|
|
int32_t L_91 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_88, 1))%L_90));
|
|
int32_t L_92 = (L_86)->GetAt(static_cast<il2cpp_array_size_t>(L_91));
|
|
V_17 = L_92;
|
|
// Vector3 left = tile.Verts[v0];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_93 = V_3;
|
|
NullCheck(L_93);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_94;
|
|
L_94 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_93, NULL);
|
|
int32_t L_95 = V_16;
|
|
NullCheck(L_94);
|
|
int32_t L_96 = L_95;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_97 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
|
|
V_18 = L_97;
|
|
// Vector3 right = tile.Verts[v1];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_98 = V_3;
|
|
NullCheck(L_98);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_99;
|
|
L_99 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_98, NULL);
|
|
int32_t L_100 = V_17;
|
|
NullCheck(L_99);
|
|
int32_t L_101 = L_100;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_102 = (L_99)->GetAt(static_cast<il2cpp_array_size_t>(L_101));
|
|
V_19 = L_102;
|
|
// if (link.Side == BoundarySide.PlusX || link.Side == BoundarySide.MinusX)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_103 = V_13;
|
|
NullCheck(L_103);
|
|
uint8_t L_104;
|
|
L_104 = Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline(L_103, NULL);
|
|
if (!L_104)
|
|
{
|
|
goto IL_01db;
|
|
}
|
|
}
|
|
{
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_105 = V_13;
|
|
NullCheck(L_105);
|
|
uint8_t L_106;
|
|
L_106 = Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline(L_105, NULL);
|
|
if ((!(((uint32_t)L_106) == ((uint32_t)4))))
|
|
{
|
|
goto IL_027d;
|
|
}
|
|
}
|
|
|
|
IL_01db:
|
|
{
|
|
// float s = 1.0f / 255.0f;
|
|
V_20 = (0.00392156886f);
|
|
// float lmin = left.Z + (right.Z - left.Z) * (link.BMin * s);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_107 = V_18;
|
|
float L_108 = L_107.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_109 = V_19;
|
|
float L_110 = L_109.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_111 = V_18;
|
|
float L_112 = L_111.___Z_2;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_113 = V_13;
|
|
NullCheck(L_113);
|
|
int32_t L_114;
|
|
L_114 = Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline(L_113, NULL);
|
|
float L_115 = V_20;
|
|
V_21 = ((float)il2cpp_codegen_add(L_108, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_110, L_112)), ((float)il2cpp_codegen_multiply(((float)L_114), L_115))))));
|
|
// float lmax = left.Z + (right.Z - left.Z) * (link.BMax * s);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_116 = V_18;
|
|
float L_117 = L_116.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_118 = V_19;
|
|
float L_119 = L_118.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_120 = V_18;
|
|
float L_121 = L_120.___Z_2;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_122 = V_13;
|
|
NullCheck(L_122);
|
|
int32_t L_123;
|
|
L_123 = Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline(L_122, NULL);
|
|
float L_124 = V_20;
|
|
V_22 = ((float)il2cpp_codegen_add(L_117, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_119, L_121)), ((float)il2cpp_codegen_multiply(((float)L_123), L_124))))));
|
|
// if (lmin > lmax)
|
|
float L_125 = V_21;
|
|
float L_126 = V_22;
|
|
if ((!(((float)L_125) > ((float)L_126))))
|
|
{
|
|
goto IL_023a;
|
|
}
|
|
}
|
|
{
|
|
// float temp = lmin;
|
|
float L_127 = V_21;
|
|
// lmin = lmax;
|
|
float L_128 = V_22;
|
|
V_21 = L_128;
|
|
// lmax = temp;
|
|
V_22 = L_127;
|
|
}
|
|
|
|
IL_023a:
|
|
{
|
|
// float z = startPoint.Position.Z + (endPos.Z - startPoint.Position.Z) * tmax;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_129 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_130 = L_129.___Position_2;
|
|
float L_131 = L_130.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_132 = ___1_endPos;
|
|
float L_133 = L_132.___Z_2;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_134 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_135 = L_134.___Position_2;
|
|
float L_136 = L_135.___Z_2;
|
|
float L_137 = V_7;
|
|
V_23 = ((float)il2cpp_codegen_add(L_131, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_133, L_136)), L_137))));
|
|
// if (z >= lmin && z <= lmax)
|
|
float L_138 = V_23;
|
|
float L_139 = V_21;
|
|
if ((!(((float)L_138) >= ((float)L_139))))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
{
|
|
float L_140 = V_23;
|
|
float L_141 = V_22;
|
|
if ((!(((float)L_140) <= ((float)L_141))))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
{
|
|
// nextRef = link.Reference;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_142 = V_13;
|
|
NullCheck(L_142);
|
|
int32_t L_143;
|
|
L_143 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_142, NULL);
|
|
V_10 = L_143;
|
|
// break;
|
|
goto IL_0345;
|
|
}
|
|
|
|
IL_027d:
|
|
{
|
|
// else if (link.Side == BoundarySide.PlusZ || link.Side == BoundarySide.MinusZ)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_144 = V_13;
|
|
NullCheck(L_144);
|
|
uint8_t L_145;
|
|
L_145 = Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline(L_144, NULL);
|
|
if ((((int32_t)L_145) == ((int32_t)2)))
|
|
{
|
|
goto IL_0294;
|
|
}
|
|
}
|
|
{
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_146 = V_13;
|
|
NullCheck(L_146);
|
|
uint8_t L_147;
|
|
L_147 = Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline(L_146, NULL);
|
|
if ((!(((uint32_t)L_147) == ((uint32_t)6))))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
|
|
IL_0294:
|
|
{
|
|
// float s = 1.0f / 255.0f;
|
|
V_24 = (0.00392156886f);
|
|
// float lmin = left.X + (right.X - left.X) * (link.BMin * s);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_148 = V_18;
|
|
float L_149 = L_148.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_150 = V_19;
|
|
float L_151 = L_150.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_152 = V_18;
|
|
float L_153 = L_152.___X_0;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_154 = V_13;
|
|
NullCheck(L_154);
|
|
int32_t L_155;
|
|
L_155 = Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline(L_154, NULL);
|
|
float L_156 = V_24;
|
|
V_25 = ((float)il2cpp_codegen_add(L_149, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_151, L_153)), ((float)il2cpp_codegen_multiply(((float)L_155), L_156))))));
|
|
// float lmax = left.X + (right.X - left.X) * (link.BMax * s);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_157 = V_18;
|
|
float L_158 = L_157.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_159 = V_19;
|
|
float L_160 = L_159.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_161 = V_18;
|
|
float L_162 = L_161.___X_0;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_163 = V_13;
|
|
NullCheck(L_163);
|
|
int32_t L_164;
|
|
L_164 = Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline(L_163, NULL);
|
|
float L_165 = V_24;
|
|
V_26 = ((float)il2cpp_codegen_add(L_158, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_160, L_162)), ((float)il2cpp_codegen_multiply(((float)L_164), L_165))))));
|
|
// if (lmin > lmax)
|
|
float L_166 = V_25;
|
|
float L_167 = V_26;
|
|
if ((!(((float)L_166) > ((float)L_167))))
|
|
{
|
|
goto IL_02f3;
|
|
}
|
|
}
|
|
{
|
|
// float temp = lmin;
|
|
float L_168 = V_25;
|
|
// lmin = lmax;
|
|
float L_169 = V_26;
|
|
V_25 = L_169;
|
|
// lmax = temp;
|
|
V_26 = L_168;
|
|
}
|
|
|
|
IL_02f3:
|
|
{
|
|
// float x = startPoint.Position.X + (endPos.X - startPoint.Position.X) * tmax;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_170 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_171 = L_170.___Position_2;
|
|
float L_172 = L_171.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_173 = ___1_endPos;
|
|
float L_174 = L_173.___X_0;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_175 = ___0_startPoint;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_176 = L_175.___Position_2;
|
|
float L_177 = L_176.___X_0;
|
|
float L_178 = V_7;
|
|
V_27 = ((float)il2cpp_codegen_add(L_172, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_174, L_177)), L_178))));
|
|
// if (x >= lmin && x <= lmax)
|
|
float L_179 = V_27;
|
|
float L_180 = V_25;
|
|
if ((!(((float)L_179) >= ((float)L_180))))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
{
|
|
float L_181 = V_27;
|
|
float L_182 = V_26;
|
|
if ((!(((float)L_181) <= ((float)L_182))))
|
|
{
|
|
goto IL_032d;
|
|
}
|
|
}
|
|
{
|
|
// nextRef = link.Reference;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_183 = V_13;
|
|
NullCheck(L_183);
|
|
int32_t L_184;
|
|
L_184 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_183, NULL);
|
|
V_10 = L_184;
|
|
// break;
|
|
goto IL_0345;
|
|
}
|
|
|
|
IL_032d:
|
|
{
|
|
// for (int i = poly.FirstLink; i != Link.Null; i = tile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_185 = V_3;
|
|
NullCheck(L_185);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_186;
|
|
L_186 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_185, NULL);
|
|
int32_t L_187 = V_12;
|
|
NullCheck(L_186);
|
|
int32_t L_188 = L_187;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_189 = (L_186)->GetAt(static_cast<il2cpp_array_size_t>(L_188));
|
|
NullCheck(L_189);
|
|
int32_t L_190;
|
|
L_190 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_189, NULL);
|
|
V_12 = L_190;
|
|
}
|
|
|
|
IL_033d:
|
|
{
|
|
// for (int i = poly.FirstLink; i != Link.Null; i = tile.Links[i].Next)
|
|
int32_t L_191 = V_12;
|
|
if ((!(((uint32_t)L_191) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00fe;
|
|
}
|
|
}
|
|
|
|
IL_0345:
|
|
{
|
|
// if (nextRef == 0)
|
|
int32_t L_192 = V_10;
|
|
if (L_192)
|
|
{
|
|
goto IL_03bb;
|
|
}
|
|
}
|
|
{
|
|
// int a = segMax;
|
|
int32_t L_193 = V_9;
|
|
V_28 = L_193;
|
|
// int b = (segMax + 1) < nv ? segMax + 1 : 0;
|
|
int32_t L_194 = V_9;
|
|
int32_t L_195 = V_5;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_194, 1))) < ((int32_t)L_195)))
|
|
{
|
|
goto IL_0358;
|
|
}
|
|
}
|
|
{
|
|
G_B43_0 = 0;
|
|
goto IL_035c;
|
|
}
|
|
|
|
IL_0358:
|
|
{
|
|
int32_t L_196 = V_9;
|
|
G_B43_0 = ((int32_t)il2cpp_codegen_add(L_196, 1));
|
|
}
|
|
|
|
IL_035c:
|
|
{
|
|
V_29 = G_B43_0;
|
|
// Vector3 va = verts[a];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_197 = V_1;
|
|
int32_t L_198 = V_28;
|
|
NullCheck(L_197);
|
|
int32_t L_199 = L_198;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_200 = (L_197)->GetAt(static_cast<il2cpp_array_size_t>(L_199));
|
|
V_30 = L_200;
|
|
// Vector3 vb = verts[b];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_201 = V_1;
|
|
int32_t L_202 = V_29;
|
|
NullCheck(L_201);
|
|
int32_t L_203 = L_202;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_204 = (L_201)->GetAt(static_cast<il2cpp_array_size_t>(L_203));
|
|
// float dx = vb.X - va.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_205 = L_204;
|
|
float L_206 = L_205.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_207 = V_30;
|
|
float L_208 = L_207.___X_0;
|
|
V_31 = ((float)il2cpp_codegen_subtract(L_206, L_208));
|
|
// float dz = vb.Z - va.Z;
|
|
float L_209 = L_205.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_210 = V_30;
|
|
float L_211 = L_210.___Z_2;
|
|
V_32 = ((float)il2cpp_codegen_subtract(L_209, L_211));
|
|
// hitNormal.X = dz;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_212 = ___3_hitNormal;
|
|
float L_213 = V_32;
|
|
L_212->___X_0 = L_213;
|
|
// hitNormal.Y = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_214 = ___3_hitNormal;
|
|
L_214->___Y_1 = (0.0f);
|
|
// hitNormal.Z = -dx;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_215 = ___3_hitNormal;
|
|
float L_216 = V_31;
|
|
L_215->___Z_2 = ((-L_216));
|
|
// hitNormal.Normalize();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_217 = ___3_hitNormal;
|
|
Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505(L_217, NULL);
|
|
// pathCount = n;
|
|
int32_t* L_218 = ___5_pathCount;
|
|
int32_t L_219 = V_2;
|
|
*((int32_t*)L_218) = (int32_t)L_219;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_03bb:
|
|
{
|
|
// curRef = nextRef;
|
|
int32_t L_220 = V_10;
|
|
V_0 = L_220;
|
|
}
|
|
|
|
IL_03be:
|
|
{
|
|
// while (curRef != 0)
|
|
int32_t L_221 = V_0;
|
|
if (L_221)
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// pathCount = n;
|
|
int32_t* L_222 = ___5_pathCount;
|
|
int32_t L_223 = V_2;
|
|
*((int32_t*)L_222) = (int32_t)L_223;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::FindLocalNeighbourhood(SharpNav.Pathfinding.NavPoint,System.Single,System.Int32[],System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_FindLocalNeighbourhood_m34A5C44A13BE1729226E2043040D48181D6C1268 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___0_centerPoint, float ___1_radius, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___2_resultRef, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_resultParent, int32_t* ___4_resultCount, int32_t ___5_maxResult, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_3 = NULL;
|
|
float V_4 = 0.0f;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_5 = NULL;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_8 = NULL;
|
|
int32_t V_9 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_10 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_11 = NULL;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_15 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_16 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_17 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
float V_20 = 0.0f;
|
|
int32_t V_21 = 0;
|
|
bool V_22 = false;
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
int32_t V_25 = 0;
|
|
bool V_26 = false;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_27 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_28 = NULL;
|
|
int32_t V_29 = 0;
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
{
|
|
// resultCount = 0;
|
|
int32_t* L_0 = ___4_resultCount;
|
|
*((int32_t*)L_0) = (int32_t)0;
|
|
// if (centerPoint.Polygon == 0 || !nav.IsValidPolyRef(centerPoint.Polygon))
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_1 = ___0_centerPoint;
|
|
int32_t L_2 = L_1.___Polygon_1;
|
|
if (!L_2)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_3 = __this->___nav_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_4 = ___0_centerPoint;
|
|
int32_t L_5 = L_4.___Polygon_1;
|
|
NullCheck(L_3);
|
|
bool L_6;
|
|
L_6 = TiledNavMesh_IsValidPolyRef_mFD196DF82340F0651EF2AF26C9A0C0E02A5E59CB(L_3, L_5, NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// int MAX_STACK = 48;
|
|
V_0 = ((int32_t)48);
|
|
// Node[] stack = new Node[MAX_STACK];
|
|
int32_t L_7 = V_0;
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* L_8 = (NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39*)(NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39*)SZArrayNew(NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39_il2cpp_TypeInfo_var, (uint32_t)L_7);
|
|
V_1 = L_8;
|
|
// int nstack = 0;
|
|
V_2 = 0;
|
|
// tinyNodePool.Clear();
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_9 = __this->___tinyNodePool_3;
|
|
NullCheck(L_9);
|
|
NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E(L_9, NULL);
|
|
// Node startNode = tinyNodePool.GetNode(centerPoint.Polygon);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_10 = __this->___tinyNodePool_3;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_11 = ___0_centerPoint;
|
|
int32_t L_12 = L_11.___Polygon_1;
|
|
NullCheck(L_10);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_13;
|
|
L_13 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_10, L_12, NULL);
|
|
V_3 = L_13;
|
|
// startNode.ParentIdx = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_14 = V_3;
|
|
NullCheck(L_14);
|
|
L_14->___ParentIdx_3 = 0;
|
|
// startNode.Id = centerPoint.Polygon;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_15 = V_3;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_16 = ___0_centerPoint;
|
|
int32_t L_17 = L_16.___Polygon_1;
|
|
NullCheck(L_15);
|
|
L_15->___Id_5 = L_17;
|
|
// startNode.Flags = NodeFlags.Closed;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_18 = V_3;
|
|
NullCheck(L_18);
|
|
L_18->___Flags_4 = 2;
|
|
// stack[nstack++] = startNode;
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* L_19 = V_1;
|
|
int32_t L_20 = V_2;
|
|
int32_t L_21 = L_20;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_22 = V_3;
|
|
NullCheck(L_19);
|
|
ArrayElementTypeCheck (L_19, L_22);
|
|
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(L_21), (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)L_22);
|
|
// float radiusSqr = radius * radius;
|
|
float L_23 = ___1_radius;
|
|
float L_24 = ___1_radius;
|
|
V_4 = ((float)il2cpp_codegen_multiply(L_23, L_24));
|
|
// Vector3[] pa = new Vector3[PathfindingCommon.VERTS_PER_POLYGON];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_25 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_5 = L_25;
|
|
// Vector3[] pb = new Vector3[PathfindingCommon.VERTS_PER_POLYGON];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_26 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_6 = L_26;
|
|
// int n = 0;
|
|
V_7 = 0;
|
|
// if (n < maxResult)
|
|
int32_t L_27 = V_7;
|
|
int32_t L_28 = ___5_maxResult;
|
|
if ((((int32_t)L_27) >= ((int32_t)L_28)))
|
|
{
|
|
goto IL_02f0;
|
|
}
|
|
}
|
|
{
|
|
// resultRef[n] = startNode.Id;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_29 = ___2_resultRef;
|
|
int32_t L_30 = V_7;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_31 = V_3;
|
|
NullCheck(L_31);
|
|
int32_t L_32 = L_31->___Id_5;
|
|
NullCheck(L_29);
|
|
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(L_30), (int32_t)L_32);
|
|
// resultParent[n] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_33 = ___3_resultParent;
|
|
int32_t L_34 = V_7;
|
|
NullCheck(L_33);
|
|
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(L_34), (int32_t)0);
|
|
// ++n;
|
|
int32_t L_35 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_35, 1));
|
|
goto IL_02f0;
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// Node curNode = stack[0];
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* L_36 = V_1;
|
|
NullCheck(L_36);
|
|
int32_t L_37 = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
V_8 = L_38;
|
|
// for (int i = 0; i < nstack - 1; i++)
|
|
V_12 = 0;
|
|
goto IL_00c2;
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// stack[i] = stack[i + 1];
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* L_39 = V_1;
|
|
int32_t L_40 = V_12;
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* L_41 = V_1;
|
|
int32_t L_42 = V_12;
|
|
NullCheck(L_41);
|
|
int32_t L_43 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
|
|
NullCheck(L_39);
|
|
ArrayElementTypeCheck (L_39, L_44);
|
|
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(L_40), (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)L_44);
|
|
// for (int i = 0; i < nstack - 1; i++)
|
|
int32_t L_45 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_45, 1));
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// for (int i = 0; i < nstack - 1; i++)
|
|
int32_t L_46 = V_12;
|
|
int32_t L_47 = V_2;
|
|
if ((((int32_t)L_46) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_47, 1)))))
|
|
{
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
// nstack--;
|
|
int32_t L_48 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_48, 1));
|
|
// int curRef = curNode.Id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_49 = V_8;
|
|
NullCheck(L_49);
|
|
int32_t L_50 = L_49->___Id_5;
|
|
V_9 = L_50;
|
|
// nav.TryGetTileAndPolyByRefUnsafe(curRef, out curTile, out curPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_51 = __this->___nav_1;
|
|
int32_t L_52 = V_9;
|
|
NullCheck(L_51);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_51, L_52, (&V_10), (&V_11), NULL);
|
|
// for (int i = curPoly.FirstLink; i != Link.Null; i = curTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_53 = V_11;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_53, NULL);
|
|
V_13 = L_54;
|
|
goto IL_02e8;
|
|
}
|
|
|
|
IL_00f5:
|
|
{
|
|
// Link link = curTile.Links[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_55 = V_10;
|
|
NullCheck(L_55);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_56;
|
|
L_56 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_55, NULL);
|
|
int32_t L_57 = V_13;
|
|
NullCheck(L_56);
|
|
int32_t L_58 = L_57;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
|
|
// int neighbourRef = link.Reference;
|
|
NullCheck(L_59);
|
|
int32_t L_60;
|
|
L_60 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_59, NULL);
|
|
V_14 = L_60;
|
|
// if (neighbourRef == 0)
|
|
int32_t L_61 = V_14;
|
|
if (!L_61)
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// Node neighbourNode = tinyNodePool.GetNode(neighbourRef);
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_62 = __this->___tinyNodePool_3;
|
|
int32_t L_63 = V_14;
|
|
NullCheck(L_62);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_64;
|
|
L_64 = NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2(L_62, L_63, NULL);
|
|
V_15 = L_64;
|
|
// if (neighbourNode == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_65 = V_15;
|
|
if (!L_65)
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// if ((neighbourNode.Flags & NodeFlags.Closed) != 0)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_66 = V_15;
|
|
NullCheck(L_66);
|
|
int32_t L_67 = L_66->___Flags_4;
|
|
if (((int32_t)((int32_t)L_67&2)))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(neighbourRef, out neighbourTile, out neighbourPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_68 = __this->___nav_1;
|
|
int32_t L_69 = V_14;
|
|
NullCheck(L_68);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_68, L_69, (&V_16), (&V_17), NULL);
|
|
// if (neighbourPoly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_70 = V_17;
|
|
NullCheck(L_70);
|
|
uint8_t L_71;
|
|
L_71 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_70, NULL);
|
|
if ((((int32_t)L_71) == ((int32_t)1)))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 va = new Vector3();
|
|
il2cpp_codegen_initobj((&V_18), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// Vector3 vb = new Vector3();
|
|
il2cpp_codegen_initobj((&V_19), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// if (!GetPortalPoints(curRef, curPoly, curTile, neighbourRef, neighbourPoly, neighbourTile, ref va, ref vb))
|
|
int32_t L_72 = V_9;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_73 = V_11;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_74 = V_10;
|
|
int32_t L_75 = V_14;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_76 = V_17;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_77 = V_16;
|
|
bool L_78;
|
|
L_78 = NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6(__this, L_72, L_73, L_74, L_75, L_76, L_77, (&V_18), (&V_19), NULL);
|
|
if (!L_78)
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// float distSqr = Distance.PointToSegment2DSquared(ref centerPoint.Position, ref va, ref vb, out tseg);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_79 = (&(&___0_centerPoint)->___Position_2);
|
|
float L_80;
|
|
L_80 = Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B(L_79, (&V_18), (&V_19), (&V_20), NULL);
|
|
// if (distSqr > radiusSqr)
|
|
float L_81 = V_4;
|
|
if ((((float)L_80) > ((float)L_81)))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// neighbourNode.Flags |= NodeFlags.Closed;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_82 = V_15;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_83 = L_82;
|
|
NullCheck(L_83);
|
|
int32_t L_84 = L_83->___Flags_4;
|
|
NullCheck(L_83);
|
|
L_83->___Flags_4 = ((int32_t)((int32_t)L_84|2));
|
|
// neighbourNode.ParentIdx = tinyNodePool.GetNodeIdx(curNode);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_85 = V_15;
|
|
NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* L_86 = __this->___tinyNodePool_3;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_87 = V_8;
|
|
NullCheck(L_86);
|
|
int32_t L_88;
|
|
L_88 = NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271(L_86, L_87, NULL);
|
|
NullCheck(L_85);
|
|
L_85->___ParentIdx_3 = L_88;
|
|
// int npa = neighbourPoly.VertCount;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_89 = V_17;
|
|
NullCheck(L_89);
|
|
int32_t L_90;
|
|
L_90 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_89, NULL);
|
|
V_21 = L_90;
|
|
// for (int k = 0; k < npa; k++)
|
|
V_23 = 0;
|
|
goto IL_01e9;
|
|
}
|
|
|
|
IL_01c4:
|
|
{
|
|
// pa[k] = neighbourTile.Verts[neighbourPoly.Verts[k]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_91 = V_5;
|
|
int32_t L_92 = V_23;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_93 = V_16;
|
|
NullCheck(L_93);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_94;
|
|
L_94 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_93, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_95 = V_17;
|
|
NullCheck(L_95);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_96;
|
|
L_96 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_95, NULL);
|
|
int32_t L_97 = V_23;
|
|
NullCheck(L_96);
|
|
int32_t L_98 = L_97;
|
|
int32_t L_99 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_98));
|
|
NullCheck(L_94);
|
|
int32_t L_100 = L_99;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_101 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_100));
|
|
NullCheck(L_91);
|
|
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(L_92), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_101);
|
|
// for (int k = 0; k < npa; k++)
|
|
int32_t L_102 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_102, 1));
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// for (int k = 0; k < npa; k++)
|
|
int32_t L_103 = V_23;
|
|
int32_t L_104 = V_21;
|
|
if ((((int32_t)L_103) < ((int32_t)L_104)))
|
|
{
|
|
goto IL_01c4;
|
|
}
|
|
}
|
|
{
|
|
// bool overlap = false;
|
|
V_22 = (bool)0;
|
|
// for (int j = 0; j < n; j++)
|
|
V_24 = 0;
|
|
goto IL_02a4;
|
|
}
|
|
|
|
IL_01fa:
|
|
{
|
|
// int pastRef = resultRef[j];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_105 = ___2_resultRef;
|
|
int32_t L_106 = V_24;
|
|
NullCheck(L_105);
|
|
int32_t L_107 = L_106;
|
|
int32_t L_108 = (L_105)->GetAt(static_cast<il2cpp_array_size_t>(L_107));
|
|
V_25 = L_108;
|
|
// bool connected = false;
|
|
V_26 = (bool)0;
|
|
// for (int k = curPoly.FirstLink; k != Link.Null; k = curTile.Links[k].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_109 = V_11;
|
|
NullCheck(L_109);
|
|
int32_t L_110;
|
|
L_110 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_109, NULL);
|
|
V_30 = L_110;
|
|
goto IL_0237;
|
|
}
|
|
|
|
IL_020e:
|
|
{
|
|
// if (curTile.Links[k].Reference == pastRef)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_111 = V_10;
|
|
NullCheck(L_111);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_112;
|
|
L_112 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_111, NULL);
|
|
int32_t L_113 = V_30;
|
|
NullCheck(L_112);
|
|
int32_t L_114 = L_113;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_115 = (L_112)->GetAt(static_cast<il2cpp_array_size_t>(L_114));
|
|
NullCheck(L_115);
|
|
int32_t L_116;
|
|
L_116 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_115, NULL);
|
|
int32_t L_117 = V_25;
|
|
if ((!(((uint32_t)L_116) == ((uint32_t)L_117))))
|
|
{
|
|
goto IL_0226;
|
|
}
|
|
}
|
|
{
|
|
// connected = true;
|
|
V_26 = (bool)1;
|
|
// break;
|
|
goto IL_023c;
|
|
}
|
|
|
|
IL_0226:
|
|
{
|
|
// for (int k = curPoly.FirstLink; k != Link.Null; k = curTile.Links[k].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_118 = V_10;
|
|
NullCheck(L_118);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_119;
|
|
L_119 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_118, NULL);
|
|
int32_t L_120 = V_30;
|
|
NullCheck(L_119);
|
|
int32_t L_121 = L_120;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_122 = (L_119)->GetAt(static_cast<il2cpp_array_size_t>(L_121));
|
|
NullCheck(L_122);
|
|
int32_t L_123;
|
|
L_123 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_122, NULL);
|
|
V_30 = L_123;
|
|
}
|
|
|
|
IL_0237:
|
|
{
|
|
// for (int k = curPoly.FirstLink; k != Link.Null; k = curTile.Links[k].Next)
|
|
int32_t L_124 = V_30;
|
|
if ((!(((uint32_t)L_124) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_020e;
|
|
}
|
|
}
|
|
|
|
IL_023c:
|
|
{
|
|
// if (connected)
|
|
bool L_125 = V_26;
|
|
if (L_125)
|
|
{
|
|
goto IL_029e;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(pastRef, out pastTile, out pastPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_126 = __this->___nav_1;
|
|
int32_t L_127 = V_25;
|
|
NullCheck(L_126);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_126, L_127, (&V_27), (&V_28), NULL);
|
|
// int npb = pastPoly.VertCount;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_128 = V_28;
|
|
NullCheck(L_128);
|
|
int32_t L_129;
|
|
L_129 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_128, NULL);
|
|
V_29 = L_129;
|
|
// for (int k = 0; k < npb; k++)
|
|
V_31 = 0;
|
|
goto IL_0284;
|
|
}
|
|
|
|
IL_025f:
|
|
{
|
|
// pb[k] = pastTile.Verts[pastPoly.Verts[k]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_130 = V_6;
|
|
int32_t L_131 = V_31;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_132 = V_27;
|
|
NullCheck(L_132);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_133;
|
|
L_133 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_132, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_134 = V_28;
|
|
NullCheck(L_134);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_135;
|
|
L_135 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_134, NULL);
|
|
int32_t L_136 = V_31;
|
|
NullCheck(L_135);
|
|
int32_t L_137 = L_136;
|
|
int32_t L_138 = (L_135)->GetAt(static_cast<il2cpp_array_size_t>(L_137));
|
|
NullCheck(L_133);
|
|
int32_t L_139 = L_138;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_140 = (L_133)->GetAt(static_cast<il2cpp_array_size_t>(L_139));
|
|
NullCheck(L_130);
|
|
(L_130)->SetAt(static_cast<il2cpp_array_size_t>(L_131), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_140);
|
|
// for (int k = 0; k < npb; k++)
|
|
int32_t L_141 = V_31;
|
|
V_31 = ((int32_t)il2cpp_codegen_add(L_141, 1));
|
|
}
|
|
|
|
IL_0284:
|
|
{
|
|
// for (int k = 0; k < npb; k++)
|
|
int32_t L_142 = V_31;
|
|
int32_t L_143 = V_29;
|
|
if ((((int32_t)L_142) < ((int32_t)L_143)))
|
|
{
|
|
goto IL_025f;
|
|
}
|
|
}
|
|
{
|
|
// if (Intersection.PolyPoly2D(pa, npa, pb, npb))
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_144 = V_5;
|
|
int32_t L_145 = V_21;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_146 = V_6;
|
|
int32_t L_147 = V_29;
|
|
bool L_148;
|
|
L_148 = Intersection_PolyPoly2D_mF405BF3CBF8CB0726715B9905DCA48443670CBAB(L_144, L_145, L_146, L_147, NULL);
|
|
if (!L_148)
|
|
{
|
|
goto IL_029e;
|
|
}
|
|
}
|
|
{
|
|
// overlap = true;
|
|
V_22 = (bool)1;
|
|
// break;
|
|
goto IL_02ad;
|
|
}
|
|
|
|
IL_029e:
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_149 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_149, 1));
|
|
}
|
|
|
|
IL_02a4:
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_150 = V_24;
|
|
int32_t L_151 = V_7;
|
|
if ((((int32_t)L_150) < ((int32_t)L_151)))
|
|
{
|
|
goto IL_01fa;
|
|
}
|
|
}
|
|
|
|
IL_02ad:
|
|
{
|
|
// if (overlap)
|
|
bool L_152 = V_22;
|
|
if (L_152)
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// if (n < maxResult)
|
|
int32_t L_153 = V_7;
|
|
int32_t L_154 = ___5_maxResult;
|
|
if ((((int32_t)L_153) >= ((int32_t)L_154)))
|
|
{
|
|
goto IL_02ca;
|
|
}
|
|
}
|
|
{
|
|
// resultRef[n] = neighbourRef;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_155 = ___2_resultRef;
|
|
int32_t L_156 = V_7;
|
|
int32_t L_157 = V_14;
|
|
NullCheck(L_155);
|
|
(L_155)->SetAt(static_cast<il2cpp_array_size_t>(L_156), (int32_t)L_157);
|
|
// resultParent[n] = curRef;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_158 = ___3_resultParent;
|
|
int32_t L_159 = V_7;
|
|
int32_t L_160 = V_9;
|
|
NullCheck(L_158);
|
|
(L_158)->SetAt(static_cast<il2cpp_array_size_t>(L_159), (int32_t)L_160);
|
|
// ++n;
|
|
int32_t L_161 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_161, 1));
|
|
}
|
|
|
|
IL_02ca:
|
|
{
|
|
// if (nstack < MAX_STACK)
|
|
int32_t L_162 = V_2;
|
|
int32_t L_163 = V_0;
|
|
if ((((int32_t)L_162) >= ((int32_t)L_163)))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// stack[nstack++] = neighbourNode;
|
|
NodeU5BU5D_tC0F2EFB54A6B6294022D30FD00BB556A6020ED39* L_164 = V_1;
|
|
int32_t L_165 = V_2;
|
|
int32_t L_166 = L_165;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_166, 1));
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_167 = V_15;
|
|
NullCheck(L_164);
|
|
ArrayElementTypeCheck (L_164, L_167);
|
|
(L_164)->SetAt(static_cast<il2cpp_array_size_t>(L_166), (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)L_167);
|
|
}
|
|
|
|
IL_02d7:
|
|
{
|
|
// for (int i = curPoly.FirstLink; i != Link.Null; i = curTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_168 = V_10;
|
|
NullCheck(L_168);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_169;
|
|
L_169 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_168, NULL);
|
|
int32_t L_170 = V_13;
|
|
NullCheck(L_169);
|
|
int32_t L_171 = L_170;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_172 = (L_169)->GetAt(static_cast<il2cpp_array_size_t>(L_171));
|
|
NullCheck(L_172);
|
|
int32_t L_173;
|
|
L_173 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_172, NULL);
|
|
V_13 = L_173;
|
|
}
|
|
|
|
IL_02e8:
|
|
{
|
|
// for (int i = curPoly.FirstLink; i != Link.Null; i = curTile.Links[i].Next)
|
|
int32_t L_174 = V_13;
|
|
if ((!(((uint32_t)L_174) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00f5;
|
|
}
|
|
}
|
|
|
|
IL_02f0:
|
|
{
|
|
// while (nstack > 0)
|
|
int32_t L_175 = V_2;
|
|
if ((((int32_t)L_175) > ((int32_t)0)))
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// resultCount = n;
|
|
int32_t* L_176 = ___4_resultCount;
|
|
int32_t L_177 = V_7;
|
|
*((int32_t*)L_176) = (int32_t)L_177;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPolyWallSegments(System.Int32,SharpNav.Crowds.LocalBoundary/Segment[],System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPolyWallSegments_m6B962E54EC36648500889ACBD98C09EFBDCF6A97 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* ___1_segmentVerts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___2_segmentRefs, int32_t* ___3_segmentCount, int32_t ___4_maxSegments, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
bool V_6 = false;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
int32_t V_11 = 0;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* V_12 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_13 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
float V_22 = 0.0f;
|
|
float V_23 = 0.0f;
|
|
float V_24 = 0.0f;
|
|
float V_25 = 0.0f;
|
|
{
|
|
// segmentCount = 0;
|
|
int32_t* L_0 = ___3_segmentCount;
|
|
*((int32_t*)L_0) = (int32_t)0;
|
|
// if (nav.TryGetTileAndPolyByRef(reference, out tile, out poly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_1 = __this->___nav_1;
|
|
int32_t L_2 = ___0_reference;
|
|
NullCheck(L_1);
|
|
bool L_3;
|
|
L_3 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_1, L_2, (&V_0), (&V_1), NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// int n = 0;
|
|
V_2 = 0;
|
|
// int MAX_INTERVAL = 16;
|
|
V_3 = ((int32_t)16);
|
|
// SegInterval[] ints = new SegInterval[MAX_INTERVAL];
|
|
int32_t L_4 = V_3;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_5 = (SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB*)(SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB*)SZArrayNew(SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB_il2cpp_TypeInfo_var, (uint32_t)L_4);
|
|
V_4 = L_5;
|
|
// bool storePortals = segmentRefs.Length != 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = ___2_segmentRefs;
|
|
NullCheck(L_6);
|
|
V_6 = (bool)((!(((uint32_t)(((RuntimeArray*)L_6)->max_length)) <= ((uint32_t)0)))? 1 : 0);
|
|
// for (int i = 0, j = poly.VertCount - 1; i < poly.VertCount; j = i++)
|
|
V_7 = 0;
|
|
// for (int i = 0, j = poly.VertCount - 1; i < poly.VertCount; j = i++)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_7 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_7, NULL);
|
|
V_8 = ((int32_t)il2cpp_codegen_subtract(L_8, 1));
|
|
goto IL_02d6;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// nints = 0;
|
|
V_5 = 0;
|
|
// if ((poly.Neis[j] & Link.External) != 0)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_9 = V_1;
|
|
NullCheck(L_9);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10;
|
|
L_10 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_9, NULL);
|
|
int32_t L_11 = V_8;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
int32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
if (!((int32_t)(L_13&((int32_t)-2147483648LL))))
|
|
{
|
|
goto IL_00cb;
|
|
}
|
|
}
|
|
{
|
|
// for (int k = poly.FirstLink; k != Link.Null; k = tile.Links[k].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_14, NULL);
|
|
V_11 = L_15;
|
|
goto IL_00c1;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// Link link = tile.Links[k];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_16 = V_0;
|
|
NullCheck(L_16);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_17;
|
|
L_17 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_16, NULL);
|
|
int32_t L_18 = V_11;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = L_18;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
V_12 = L_20;
|
|
// if (link.Edge == j)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_21 = V_12;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_21, NULL);
|
|
int32_t L_23 = V_8;
|
|
if ((!(((uint32_t)L_22) == ((uint32_t)L_23))))
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// if (link.Reference != 0)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_24 = V_12;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_24, NULL);
|
|
if (!L_25)
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(link.Reference, out neiTile, out neiPoly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_26 = __this->___nav_1;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_27 = V_12;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_27, NULL);
|
|
NullCheck(L_26);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_26, L_28, (&V_13), (&V_14), NULL);
|
|
// InsertInterval(ints, ref nints, MAX_INTERVAL, link.BMin, link.BMax, link.Reference);
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_29 = V_4;
|
|
int32_t L_30 = V_3;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_31 = V_12;
|
|
NullCheck(L_31);
|
|
int32_t L_32;
|
|
L_32 = Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline(L_31, NULL);
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_33 = V_12;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline(L_33, NULL);
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_35 = V_12;
|
|
NullCheck(L_35);
|
|
int32_t L_36;
|
|
L_36 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_35, NULL);
|
|
NavMeshQuery_InsertInterval_m4DD96864C17D3220D27EA0104F8C2B2EC3365734(__this, L_29, (&V_5), L_30, L_32, L_34, L_36, NULL);
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// for (int k = poly.FirstLink; k != Link.Null; k = tile.Links[k].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_37 = V_0;
|
|
NullCheck(L_37);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_38;
|
|
L_38 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_37, NULL);
|
|
int32_t L_39 = V_11;
|
|
NullCheck(L_38);
|
|
int32_t L_40 = L_39;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
|
|
NullCheck(L_41);
|
|
int32_t L_42;
|
|
L_42 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_41, NULL);
|
|
V_11 = L_42;
|
|
}
|
|
|
|
IL_00c1:
|
|
{
|
|
// for (int k = poly.FirstLink; k != Link.Null; k = tile.Links[k].Next)
|
|
int32_t L_43 = V_11;
|
|
if ((!(((uint32_t)L_43) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0160;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// int neiRef = 0;
|
|
V_15 = 0;
|
|
// if (poly.Neis[j] != 0)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_44 = V_1;
|
|
NullCheck(L_44);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_45;
|
|
L_45 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_44, NULL);
|
|
int32_t L_46 = V_8;
|
|
NullCheck(L_45);
|
|
int32_t L_47 = L_46;
|
|
int32_t L_48 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
|
|
if (!L_48)
|
|
{
|
|
goto IL_00f7;
|
|
}
|
|
}
|
|
{
|
|
// int idx = poly.Neis[j] - 1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_49 = V_1;
|
|
NullCheck(L_49);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_50;
|
|
L_50 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_49, NULL);
|
|
int32_t L_51 = V_8;
|
|
NullCheck(L_50);
|
|
int32_t L_52 = L_51;
|
|
int32_t L_53 = (L_50)->GetAt(static_cast<il2cpp_array_size_t>(L_52));
|
|
V_16 = ((int32_t)il2cpp_codegen_subtract(L_53, 1));
|
|
// neiRef = nav.GetPolyRefBase(tile) | idx;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_54 = __this->___nav_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_55 = V_0;
|
|
NullCheck(L_54);
|
|
int32_t L_56;
|
|
L_56 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(L_54, L_55, NULL);
|
|
int32_t L_57 = V_16;
|
|
V_15 = ((int32_t)(L_56|L_57));
|
|
}
|
|
|
|
IL_00f7:
|
|
{
|
|
// if (neiRef != 0 && !storePortals)
|
|
int32_t L_58 = V_15;
|
|
if (!L_58)
|
|
{
|
|
goto IL_0102;
|
|
}
|
|
}
|
|
{
|
|
bool L_59 = V_6;
|
|
if (!L_59)
|
|
{
|
|
goto IL_02cd;
|
|
}
|
|
}
|
|
|
|
IL_0102:
|
|
{
|
|
// if (n < maxSegments)
|
|
int32_t L_60 = V_2;
|
|
int32_t L_61 = ___4_maxSegments;
|
|
if ((((int32_t)L_60) >= ((int32_t)L_61)))
|
|
{
|
|
goto IL_02cd;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 vj = tile.Verts[poly.Verts[j]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_62 = V_0;
|
|
NullCheck(L_62);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_63;
|
|
L_63 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_62, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_64 = V_1;
|
|
NullCheck(L_64);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_65;
|
|
L_65 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_64, NULL);
|
|
int32_t L_66 = V_8;
|
|
NullCheck(L_65);
|
|
int32_t L_67 = L_66;
|
|
int32_t L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
|
|
NullCheck(L_63);
|
|
int32_t L_69 = L_68;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_70 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
|
|
V_17 = L_70;
|
|
// Vector3 vi = tile.Verts[poly.Verts[i]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_71 = V_0;
|
|
NullCheck(L_71);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_72;
|
|
L_72 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_71, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_73 = V_1;
|
|
NullCheck(L_73);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_74;
|
|
L_74 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_73, NULL);
|
|
int32_t L_75 = V_7;
|
|
NullCheck(L_74);
|
|
int32_t L_76 = L_75;
|
|
int32_t L_77 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
|
|
NullCheck(L_72);
|
|
int32_t L_78 = L_77;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_79 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_78));
|
|
V_18 = L_79;
|
|
// segmentVerts[n].Start = vj;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_80 = ___1_segmentVerts;
|
|
int32_t L_81 = V_2;
|
|
NullCheck(L_80);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_82 = V_17;
|
|
((L_80)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_81)))->___Start_0 = L_82;
|
|
// segmentVerts[n].End = vi;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_83 = ___1_segmentVerts;
|
|
int32_t L_84 = V_2;
|
|
NullCheck(L_83);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_85 = V_18;
|
|
((L_83)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_84)))->___End_1 = L_85;
|
|
// segmentRefs[n] = neiRef;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_86 = ___2_segmentRefs;
|
|
int32_t L_87 = V_2;
|
|
int32_t L_88 = V_15;
|
|
NullCheck(L_86);
|
|
(L_86)->SetAt(static_cast<il2cpp_array_size_t>(L_87), (int32_t)L_88);
|
|
// n++; //could be n += 2, since segments have 2 vertices
|
|
int32_t L_89 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_89, 1));
|
|
// continue;
|
|
goto IL_02cd;
|
|
}
|
|
|
|
IL_0160:
|
|
{
|
|
// InsertInterval(ints, ref nints, MAX_INTERVAL, -1, 0, 0);
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_90 = V_4;
|
|
int32_t L_91 = V_3;
|
|
NavMeshQuery_InsertInterval_m4DD96864C17D3220D27EA0104F8C2B2EC3365734(__this, L_90, (&V_5), L_91, (-1), 0, 0, NULL);
|
|
// InsertInterval(ints, ref nints, MAX_INTERVAL, 255, 256, 0);
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_92 = V_4;
|
|
int32_t L_93 = V_3;
|
|
NavMeshQuery_InsertInterval_m4DD96864C17D3220D27EA0104F8C2B2EC3365734(__this, L_92, (&V_5), L_93, ((int32_t)255), ((int32_t)256), 0, NULL);
|
|
// Vector3 vj2 = tile.Verts[poly.Verts[j]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_94 = V_0;
|
|
NullCheck(L_94);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_95;
|
|
L_95 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_94, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_96 = V_1;
|
|
NullCheck(L_96);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_97;
|
|
L_97 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_96, NULL);
|
|
int32_t L_98 = V_8;
|
|
NullCheck(L_97);
|
|
int32_t L_99 = L_98;
|
|
int32_t L_100 = (L_97)->GetAt(static_cast<il2cpp_array_size_t>(L_99));
|
|
NullCheck(L_95);
|
|
int32_t L_101 = L_100;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_102 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_101));
|
|
V_9 = L_102;
|
|
// Vector3 vi2 = tile.Verts[poly.Verts[i]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_103 = V_0;
|
|
NullCheck(L_103);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_104;
|
|
L_104 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_103, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_105 = V_1;
|
|
NullCheck(L_105);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_106;
|
|
L_106 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_105, NULL);
|
|
int32_t L_107 = V_7;
|
|
NullCheck(L_106);
|
|
int32_t L_108 = L_107;
|
|
int32_t L_109 = (L_106)->GetAt(static_cast<il2cpp_array_size_t>(L_108));
|
|
NullCheck(L_104);
|
|
int32_t L_110 = L_109;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_111 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
|
|
V_10 = L_111;
|
|
// for (int k = 1; k < nints; k++)
|
|
V_19 = 1;
|
|
goto IL_02c4;
|
|
}
|
|
|
|
IL_01b8:
|
|
{
|
|
// if (storePortals && ints[k].Reference != 0)
|
|
bool L_112 = V_6;
|
|
if (!L_112)
|
|
{
|
|
goto IL_0245;
|
|
}
|
|
}
|
|
{
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_113 = V_4;
|
|
int32_t L_114 = V_19;
|
|
NullCheck(L_113);
|
|
int32_t L_115 = ((L_113)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_114)))->___Reference_0;
|
|
if (!L_115)
|
|
{
|
|
goto IL_0245;
|
|
}
|
|
}
|
|
{
|
|
// float tmin = ints[k].TMin / 255.0f;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_116 = V_4;
|
|
int32_t L_117 = V_19;
|
|
NullCheck(L_116);
|
|
int32_t L_118 = ((L_116)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_117)))->___TMin_1;
|
|
V_22 = ((float)(((float)L_118)/(255.0f)));
|
|
// float tmax = ints[k].TMax / 255.0f;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_119 = V_4;
|
|
int32_t L_120 = V_19;
|
|
NullCheck(L_119);
|
|
int32_t L_121 = ((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___TMax_2;
|
|
V_23 = ((float)(((float)L_121)/(255.0f)));
|
|
// if (n < maxSegments)
|
|
int32_t L_122 = V_2;
|
|
int32_t L_123 = ___4_maxSegments;
|
|
if ((((int32_t)L_122) >= ((int32_t)L_123)))
|
|
{
|
|
goto IL_0245;
|
|
}
|
|
}
|
|
{
|
|
// Vector3.Lerp(ref vj2, ref vi2, tmin, out segmentVerts[n].Start);
|
|
float L_124 = V_22;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_125 = ___1_segmentVerts;
|
|
int32_t L_126 = V_2;
|
|
NullCheck(L_125);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_127 = (&((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126)))->___Start_0);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5((&V_9), (&V_10), L_124, L_127, NULL);
|
|
// Vector3.Lerp(ref vj2, ref vi2, tmax, out segmentVerts[n].End);
|
|
float L_128 = V_23;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_129 = ___1_segmentVerts;
|
|
int32_t L_130 = V_2;
|
|
NullCheck(L_129);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_131 = (&((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130)))->___End_1);
|
|
Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5((&V_9), (&V_10), L_128, L_131, NULL);
|
|
// segmentRefs[n] = ints[k].Reference;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_132 = ___2_segmentRefs;
|
|
int32_t L_133 = V_2;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_134 = V_4;
|
|
int32_t L_135 = V_19;
|
|
NullCheck(L_134);
|
|
int32_t L_136 = ((L_134)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_135)))->___Reference_0;
|
|
NullCheck(L_132);
|
|
(L_132)->SetAt(static_cast<il2cpp_array_size_t>(L_133), (int32_t)L_136);
|
|
// n++;
|
|
int32_t L_137 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_137, 1));
|
|
}
|
|
|
|
IL_0245:
|
|
{
|
|
// int imin = ints[k - 1].TMax;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_138 = V_4;
|
|
int32_t L_139 = V_19;
|
|
NullCheck(L_138);
|
|
int32_t L_140 = ((L_138)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_139, 1)))))->___TMax_2;
|
|
V_20 = L_140;
|
|
// int imax = ints[k].TMin;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_141 = V_4;
|
|
int32_t L_142 = V_19;
|
|
NullCheck(L_141);
|
|
int32_t L_143 = ((L_141)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_142)))->___TMin_1;
|
|
V_21 = L_143;
|
|
// if (imin != imax)
|
|
int32_t L_144 = V_20;
|
|
int32_t L_145 = V_21;
|
|
if ((((int32_t)L_144) == ((int32_t)L_145)))
|
|
{
|
|
goto IL_02be;
|
|
}
|
|
}
|
|
{
|
|
// float tmin = imin / 255.0f;
|
|
int32_t L_146 = V_20;
|
|
V_24 = ((float)(((float)L_146)/(255.0f)));
|
|
// float tmax = imax / 255.0f;
|
|
int32_t L_147 = V_21;
|
|
V_25 = ((float)(((float)L_147)/(255.0f)));
|
|
// if (n < maxSegments)
|
|
int32_t L_148 = V_2;
|
|
int32_t L_149 = ___4_maxSegments;
|
|
if ((((int32_t)L_148) >= ((int32_t)L_149)))
|
|
{
|
|
goto IL_02be;
|
|
}
|
|
}
|
|
{
|
|
// Vector3.Lerp(ref vj2, ref vi2, tmin, out segmentVerts[n].Start);
|
|
float L_150 = V_24;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_151 = ___1_segmentVerts;
|
|
int32_t L_152 = V_2;
|
|
NullCheck(L_151);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_153 = (&((L_151)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_152)))->___Start_0);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5((&V_9), (&V_10), L_150, L_153, NULL);
|
|
// Vector3.Lerp(ref vj2, ref vi2, tmax, out segmentVerts[n].End);
|
|
float L_154 = V_25;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_155 = ___1_segmentVerts;
|
|
int32_t L_156 = V_2;
|
|
NullCheck(L_155);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_157 = (&((L_155)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_156)))->___End_1);
|
|
Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5((&V_9), (&V_10), L_154, L_157, NULL);
|
|
// segmentRefs[n] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_158 = ___2_segmentRefs;
|
|
int32_t L_159 = V_2;
|
|
NullCheck(L_158);
|
|
(L_158)->SetAt(static_cast<il2cpp_array_size_t>(L_159), (int32_t)0);
|
|
// n++;
|
|
int32_t L_160 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_160, 1));
|
|
}
|
|
|
|
IL_02be:
|
|
{
|
|
// for (int k = 1; k < nints; k++)
|
|
int32_t L_161 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_161, 1));
|
|
}
|
|
|
|
IL_02c4:
|
|
{
|
|
// for (int k = 1; k < nints; k++)
|
|
int32_t L_162 = V_19;
|
|
int32_t L_163 = V_5;
|
|
if ((((int32_t)L_162) < ((int32_t)L_163)))
|
|
{
|
|
goto IL_01b8;
|
|
}
|
|
}
|
|
|
|
IL_02cd:
|
|
{
|
|
// for (int i = 0, j = poly.VertCount - 1; i < poly.VertCount; j = i++)
|
|
int32_t L_164 = V_7;
|
|
int32_t L_165 = L_164;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_165, 1));
|
|
V_8 = L_165;
|
|
}
|
|
|
|
IL_02d6:
|
|
{
|
|
// for (int i = 0, j = poly.VertCount - 1; i < poly.VertCount; j = i++)
|
|
int32_t L_166 = V_7;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_167 = V_1;
|
|
NullCheck(L_167);
|
|
int32_t L_168;
|
|
L_168 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_167, NULL);
|
|
if ((((int32_t)L_166) < ((int32_t)L_168)))
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
// segmentCount = n;
|
|
int32_t* L_169 = ___3_segmentCount;
|
|
int32_t L_170 = V_2;
|
|
*((int32_t*)L_169) = (int32_t)L_170;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::InsertInterval(SharpNav.NavMeshQuery/SegInterval[],System.Int32&,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_InsertInterval_m4DD96864C17D3220D27EA0104F8C2B2EC3365734 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* ___0_ints, int32_t* ___1_nints, int32_t ___2_maxInts, int32_t ___3_tmin, int32_t ___4_tmax, int32_t ___5_reference, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (nints + 1 > maxInts)
|
|
int32_t* L_0 = ___1_nints;
|
|
int32_t L_1 = *((int32_t*)L_0);
|
|
int32_t L_2 = ___2_maxInts;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_1, 1))) <= ((int32_t)L_2)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// int idx = 0;
|
|
V_0 = 0;
|
|
goto IL_0020;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// if (tmax <= ints[idx].TMin)
|
|
int32_t L_3 = ___4_tmax;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_4 = ___0_ints;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->___TMin_1;
|
|
if ((((int32_t)L_3) <= ((int32_t)L_6)))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// idx++;
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// while (idx < nints)
|
|
int32_t L_8 = V_0;
|
|
int32_t* L_9 = ___1_nints;
|
|
int32_t L_10 = *((int32_t*)L_9);
|
|
if ((((int32_t)L_8) < ((int32_t)L_10)))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// if (nints - idx > 0)
|
|
int32_t* L_11 = ___1_nints;
|
|
int32_t L_12 = *((int32_t*)L_11);
|
|
int32_t L_13 = V_0;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_12, L_13))) <= ((int32_t)0)))
|
|
{
|
|
goto IL_004f;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nints - idx; i++)
|
|
V_1 = 0;
|
|
goto IL_0048;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// ints[idx + 1 + i] = ints[idx + i];
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_14 = ___0_ints;
|
|
int32_t L_15 = V_0;
|
|
int32_t L_16 = V_1;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_17 = ___0_ints;
|
|
int32_t L_18 = V_0;
|
|
int32_t L_19 = V_1;
|
|
NullCheck(L_17);
|
|
int32_t L_20 = ((int32_t)il2cpp_codegen_add(L_18, L_19));
|
|
SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550 L_21 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
NullCheck(L_14);
|
|
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_15, 1)), L_16))), (SegInterval_t489CCD0CBB27BF311647F465BDF4C8CC690B4550)L_21);
|
|
// for (int i = 0; i < nints - idx; i++)
|
|
int32_t L_22 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// for (int i = 0; i < nints - idx; i++)
|
|
int32_t L_23 = V_1;
|
|
int32_t* L_24 = ___1_nints;
|
|
int32_t L_25 = *((int32_t*)L_24);
|
|
int32_t L_26 = V_0;
|
|
if ((((int32_t)L_23) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_25, L_26)))))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
// ints[idx].Reference = reference;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_27 = ___0_ints;
|
|
int32_t L_28 = V_0;
|
|
NullCheck(L_27);
|
|
int32_t L_29 = ___5_reference;
|
|
((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_28)))->___Reference_0 = L_29;
|
|
// ints[idx].TMin = tmin;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_30 = ___0_ints;
|
|
int32_t L_31 = V_0;
|
|
NullCheck(L_30);
|
|
int32_t L_32 = ___3_tmin;
|
|
((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31)))->___TMin_1 = L_32;
|
|
// ints[idx].TMax = tmax;
|
|
SegIntervalU5BU5D_tC75D4C9D4367A32DB7C2EC746EFE973EE5115ADB* L_33 = ___0_ints;
|
|
int32_t L_34 = V_0;
|
|
NullCheck(L_33);
|
|
int32_t L_35 = ___4_tmax;
|
|
((L_33)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_34)))->___TMax_2 = L_35;
|
|
// nints++;
|
|
int32_t* L_36 = ___1_nints;
|
|
int32_t* L_37 = ___1_nints;
|
|
int32_t L_38 = *((int32_t*)L_37);
|
|
*((int32_t*)L_36) = (int32_t)((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::GetEdgeMidPoint(System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetEdgeMidPoint_m3F18D7DF1F9D697CF4475A8939511AD49DAF288A (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_from, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_fromPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___2_fromTile, int32_t ___3_to, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___4_toPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___5_toTile, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___6_mid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// Vector3 left = new Vector3();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// Vector3 right = new Vector3();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// if (!GetPortalPoints(from, fromPoly, fromTile, to, toPoly, toTile, ref left, ref right))
|
|
int32_t L_0 = ___0_from;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_1 = ___1_fromPoly;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_2 = ___2_fromTile;
|
|
int32_t L_3 = ___3_to;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_4 = ___4_toPoly;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = ___5_toTile;
|
|
bool L_6;
|
|
L_6 = NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6(__this, L_0, L_1, L_2, L_3, L_4, L_5, (&V_0), (&V_1), NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// mid = (left + right) * 0.5f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___6_mid;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10;
|
|
L_10 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_8, L_9, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11;
|
|
L_11 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_10, (0.5f), NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_7 = L_11;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPortalPoints(System.Int32,System.Int32,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Pathfinding.PolygonType&,SharpNav.Pathfinding.PolygonType&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPortalPoints_m3F4B1D6A7A26565017218498860F9B2B790AF349 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_from, int32_t ___1_to, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_right, uint8_t* ___4_fromType, uint8_t* ___5_toType, const RuntimeMethod* method)
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_2 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_3 = NULL;
|
|
{
|
|
// if (nav.TryGetTileAndPolyByRef(from, out fromTile, out fromPoly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
int32_t L_1 = ___0_from;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_0, L_1, (&V_0), (&V_1), NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// fromType = fromPoly.PolyType;
|
|
uint8_t* L_3 = ___4_fromType;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
uint8_t L_5;
|
|
L_5 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_4, NULL);
|
|
*((int8_t*)L_3) = (int8_t)L_5;
|
|
// if (nav.TryGetTileAndPolyByRef(to, out toTile, out toPoly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_6 = __this->___nav_1;
|
|
int32_t L_7 = ___1_to;
|
|
NullCheck(L_6);
|
|
bool L_8;
|
|
L_8 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_6, L_7, (&V_2), (&V_3), NULL);
|
|
if (L_8)
|
|
{
|
|
goto IL_0031;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
// toType = toPoly.PolyType;
|
|
uint8_t* L_9 = ___5_toType;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_10 = V_3;
|
|
NullCheck(L_10);
|
|
uint8_t L_11;
|
|
L_11 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_10, NULL);
|
|
*((int8_t*)L_9) = (int8_t)L_11;
|
|
// return GetPortalPoints(from, fromPoly, fromTile, to, toPoly, toTile, ref left, ref right);
|
|
int32_t L_12 = ___0_from;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_13 = V_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = V_0;
|
|
int32_t L_15 = ___1_to;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_16 = V_3;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_17 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___2_left;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = ___3_right;
|
|
bool L_20;
|
|
L_20 = NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6(__this, L_12, L_13, L_14, L_15, L_16, L_17, L_18, L_19, NULL);
|
|
return L_20;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPortalPoints(System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,System.Int32,SharpNav.Pathfinding.Poly,SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_from, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___1_fromPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___2_fromTile, int32_t ___3_to, Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* ___4_toPoly, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___5_toTile, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___6_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___7_right, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
float V_10 = 0.0f;
|
|
{
|
|
// Link link = null;
|
|
V_0 = (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1*)NULL;
|
|
// for (int i = fromPoly.FirstLink; i != Link.Null; i = fromTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_0 = ___1_fromPoly;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_0, NULL);
|
|
V_3 = L_1;
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (fromTile.Links[i].Reference == to)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_2 = ___2_fromTile;
|
|
NullCheck(L_2);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_3;
|
|
L_3 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_2, NULL);
|
|
int32_t L_4 = V_3;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_6, NULL);
|
|
int32_t L_8 = ___3_to;
|
|
if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// link = fromTile.Links[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_9 = ___2_fromTile;
|
|
NullCheck(L_9);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_10;
|
|
L_10 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_9, NULL);
|
|
int32_t L_11 = V_3;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
V_0 = L_13;
|
|
// break;
|
|
goto IL_0039;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// for (int i = fromPoly.FirstLink; i != Link.Null; i = fromTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = ___2_fromTile;
|
|
NullCheck(L_14);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_15;
|
|
L_15 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_14, NULL);
|
|
int32_t L_16 = V_3;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_18, NULL);
|
|
V_3 = L_19;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// for (int i = fromPoly.FirstLink; i != Link.Null; i = fromTile.Links[i].Next)
|
|
int32_t L_20 = V_3;
|
|
if ((!(((uint32_t)L_20) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// if (link == null)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_21 = V_0;
|
|
if (L_21)
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// if (fromPoly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_22 = ___1_fromPoly;
|
|
NullCheck(L_22);
|
|
uint8_t L_23;
|
|
L_23 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_22, NULL);
|
|
if ((!(((uint32_t)L_23) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = fromPoly.FirstLink; i != Link.Null; i = fromTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_24 = ___1_fromPoly;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_24, NULL);
|
|
V_4 = L_25;
|
|
goto IL_00bb;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// if (fromTile.Links[i].Reference == to)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_26 = ___2_fromTile;
|
|
NullCheck(L_26);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_27;
|
|
L_27 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_26, NULL);
|
|
int32_t L_28 = V_4;
|
|
NullCheck(L_27);
|
|
int32_t L_29 = L_28;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
NullCheck(L_30);
|
|
int32_t L_31;
|
|
L_31 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_30, NULL);
|
|
int32_t L_32 = ___3_to;
|
|
if ((!(((uint32_t)L_31) == ((uint32_t)L_32))))
|
|
{
|
|
goto IL_00ab;
|
|
}
|
|
}
|
|
{
|
|
// int v = fromTile.Links[i].Edge;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = ___2_fromTile;
|
|
NullCheck(L_33);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_34;
|
|
L_34 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_33, NULL);
|
|
int32_t L_35 = V_4;
|
|
NullCheck(L_34);
|
|
int32_t L_36 = L_35;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
NullCheck(L_37);
|
|
int32_t L_38;
|
|
L_38 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_37, NULL);
|
|
V_5 = L_38;
|
|
// left = fromTile.Verts[fromPoly.Verts[v]];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_39 = ___6_left;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_40 = ___2_fromTile;
|
|
NullCheck(L_40);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_41;
|
|
L_41 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_40, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_42 = ___1_fromPoly;
|
|
NullCheck(L_42);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_43;
|
|
L_43 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_42, NULL);
|
|
int32_t L_44 = V_5;
|
|
NullCheck(L_43);
|
|
int32_t L_45 = L_44;
|
|
int32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
|
|
NullCheck(L_41);
|
|
int32_t L_47 = L_46;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_48 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_39 = L_48;
|
|
// right = fromTile.Verts[fromPoly.Verts[v]];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_49 = ___7_right;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_50 = ___2_fromTile;
|
|
NullCheck(L_50);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_51;
|
|
L_51 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_50, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_52 = ___1_fromPoly;
|
|
NullCheck(L_52);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_53;
|
|
L_53 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_52, NULL);
|
|
int32_t L_54 = V_5;
|
|
NullCheck(L_53);
|
|
int32_t L_55 = L_54;
|
|
int32_t L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
|
|
NullCheck(L_51);
|
|
int32_t L_57 = L_56;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_49 = L_58;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// for (int i = fromPoly.FirstLink; i != Link.Null; i = fromTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_59 = ___2_fromTile;
|
|
NullCheck(L_59);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_60;
|
|
L_60 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_59, NULL);
|
|
int32_t L_61 = V_4;
|
|
NullCheck(L_60);
|
|
int32_t L_62 = L_61;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
|
|
NullCheck(L_63);
|
|
int32_t L_64;
|
|
L_64 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_63, NULL);
|
|
V_4 = L_64;
|
|
}
|
|
|
|
IL_00bb:
|
|
{
|
|
// for (int i = fromPoly.FirstLink; i != Link.Null; i = fromTile.Links[i].Next)
|
|
int32_t L_65 = V_4;
|
|
if ((!(((uint32_t)L_65) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// if (toPoly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_66 = ___4_toPoly;
|
|
NullCheck(L_66);
|
|
uint8_t L_67;
|
|
L_67 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_66, NULL);
|
|
if ((!(((uint32_t)L_67) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0151;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = toPoly.FirstLink; i != Link.Null; i = toTile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_68 = ___4_toPoly;
|
|
NullCheck(L_68);
|
|
int32_t L_69;
|
|
L_69 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_68, NULL);
|
|
V_6 = L_69;
|
|
goto IL_014a;
|
|
}
|
|
|
|
IL_00da:
|
|
{
|
|
// if (toTile.Links[i].Reference == from)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_70 = ___5_toTile;
|
|
NullCheck(L_70);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_71;
|
|
L_71 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_70, NULL);
|
|
int32_t L_72 = V_6;
|
|
NullCheck(L_71);
|
|
int32_t L_73 = L_72;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
|
|
NullCheck(L_74);
|
|
int32_t L_75;
|
|
L_75 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_74, NULL);
|
|
int32_t L_76 = ___0_from;
|
|
if ((!(((uint32_t)L_75) == ((uint32_t)L_76))))
|
|
{
|
|
goto IL_0139;
|
|
}
|
|
}
|
|
{
|
|
// int v = toTile.Links[i].Edge;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_77 = ___5_toTile;
|
|
NullCheck(L_77);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_78;
|
|
L_78 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_77, NULL);
|
|
int32_t L_79 = V_6;
|
|
NullCheck(L_78);
|
|
int32_t L_80 = L_79;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_81 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
|
|
NullCheck(L_81);
|
|
int32_t L_82;
|
|
L_82 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_81, NULL);
|
|
V_7 = L_82;
|
|
// left = toTile.Verts[toPoly.Verts[v]];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_83 = ___6_left;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_84 = ___5_toTile;
|
|
NullCheck(L_84);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_85;
|
|
L_85 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_84, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_86 = ___4_toPoly;
|
|
NullCheck(L_86);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_87;
|
|
L_87 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_86, NULL);
|
|
int32_t L_88 = V_7;
|
|
NullCheck(L_87);
|
|
int32_t L_89 = L_88;
|
|
int32_t L_90 = (L_87)->GetAt(static_cast<il2cpp_array_size_t>(L_89));
|
|
NullCheck(L_85);
|
|
int32_t L_91 = L_90;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_92 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_91));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_83 = L_92;
|
|
// right = toTile.Verts[toPoly.Verts[v]];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_93 = ___7_right;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_94 = ___5_toTile;
|
|
NullCheck(L_94);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_95;
|
|
L_95 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_94, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_96 = ___4_toPoly;
|
|
NullCheck(L_96);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_97;
|
|
L_97 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_96, NULL);
|
|
int32_t L_98 = V_7;
|
|
NullCheck(L_97);
|
|
int32_t L_99 = L_98;
|
|
int32_t L_100 = (L_97)->GetAt(static_cast<il2cpp_array_size_t>(L_99));
|
|
NullCheck(L_95);
|
|
int32_t L_101 = L_100;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_102 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_101));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_93 = L_102;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0139:
|
|
{
|
|
// for (int i = toPoly.FirstLink; i != Link.Null; i = toTile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_103 = ___5_toTile;
|
|
NullCheck(L_103);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_104;
|
|
L_104 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_103, NULL);
|
|
int32_t L_105 = V_6;
|
|
NullCheck(L_104);
|
|
int32_t L_106 = L_105;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_107 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_106));
|
|
NullCheck(L_107);
|
|
int32_t L_108;
|
|
L_108 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_107, NULL);
|
|
V_6 = L_108;
|
|
}
|
|
|
|
IL_014a:
|
|
{
|
|
// for (int i = toPoly.FirstLink; i != Link.Null; i = toTile.Links[i].Next)
|
|
int32_t L_109 = V_6;
|
|
if ((!(((uint32_t)L_109) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00da;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0151:
|
|
{
|
|
// int v0 = fromPoly.Verts[link.Edge];
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_110 = ___1_fromPoly;
|
|
NullCheck(L_110);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_111;
|
|
L_111 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_110, NULL);
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_112 = V_0;
|
|
NullCheck(L_112);
|
|
int32_t L_113;
|
|
L_113 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_112, NULL);
|
|
NullCheck(L_111);
|
|
int32_t L_114 = L_113;
|
|
int32_t L_115 = (L_111)->GetAt(static_cast<il2cpp_array_size_t>(L_114));
|
|
V_1 = L_115;
|
|
// int v1 = fromPoly.Verts[(link.Edge + 1) % fromPoly.VertCount];
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_116 = ___1_fromPoly;
|
|
NullCheck(L_116);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_117;
|
|
L_117 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_116, NULL);
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_118 = V_0;
|
|
NullCheck(L_118);
|
|
int32_t L_119;
|
|
L_119 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_118, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_120 = ___1_fromPoly;
|
|
NullCheck(L_120);
|
|
int32_t L_121;
|
|
L_121 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_120, NULL);
|
|
NullCheck(L_117);
|
|
int32_t L_122 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_119, 1))%L_121));
|
|
int32_t L_123 = (L_117)->GetAt(static_cast<il2cpp_array_size_t>(L_122));
|
|
V_2 = L_123;
|
|
// left = fromTile.Verts[v0];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_124 = ___6_left;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_125 = ___2_fromTile;
|
|
NullCheck(L_125);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_126;
|
|
L_126 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_125, NULL);
|
|
int32_t L_127 = V_1;
|
|
NullCheck(L_126);
|
|
int32_t L_128 = L_127;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_129 = (L_126)->GetAt(static_cast<il2cpp_array_size_t>(L_128));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_124 = L_129;
|
|
// right = fromTile.Verts[v1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_130 = ___7_right;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_131 = ___2_fromTile;
|
|
NullCheck(L_131);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_132;
|
|
L_132 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_131, NULL);
|
|
int32_t L_133 = V_2;
|
|
NullCheck(L_132);
|
|
int32_t L_134 = L_133;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_135 = (L_132)->GetAt(static_cast<il2cpp_array_size_t>(L_134));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_130 = L_135;
|
|
// if (link.Side != BoundarySide.Internal)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_136 = V_0;
|
|
NullCheck(L_136);
|
|
uint8_t L_137;
|
|
L_137 = Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline(L_136, NULL);
|
|
if ((((int32_t)L_137) == ((int32_t)((int32_t)255))))
|
|
{
|
|
goto IL_022c;
|
|
}
|
|
}
|
|
{
|
|
// if (link.BMin != 0 || link.BMax != 255)
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_138 = V_0;
|
|
NullCheck(L_138);
|
|
int32_t L_139;
|
|
L_139 = Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline(L_138, NULL);
|
|
if (L_139)
|
|
{
|
|
goto IL_01c1;
|
|
}
|
|
}
|
|
{
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_140 = V_0;
|
|
NullCheck(L_140);
|
|
int32_t L_141;
|
|
L_141 = Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline(L_140, NULL);
|
|
if ((((int32_t)L_141) == ((int32_t)((int32_t)255))))
|
|
{
|
|
goto IL_022c;
|
|
}
|
|
}
|
|
|
|
IL_01c1:
|
|
{
|
|
// float s = 1.0f / 255.0f;
|
|
V_8 = (0.00392156886f);
|
|
// float tmin = link.BMin * s;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_142 = V_0;
|
|
NullCheck(L_142);
|
|
int32_t L_143;
|
|
L_143 = Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline(L_142, NULL);
|
|
float L_144 = V_8;
|
|
V_9 = ((float)il2cpp_codegen_multiply(((float)L_143), L_144));
|
|
// float tmax = link.BMax * s;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_145 = V_0;
|
|
NullCheck(L_145);
|
|
int32_t L_146;
|
|
L_146 = Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline(L_145, NULL);
|
|
float L_147 = V_8;
|
|
V_10 = ((float)il2cpp_codegen_multiply(((float)L_146), L_147));
|
|
// left = Vector3.Lerp(fromTile.Verts[v0], fromTile.Verts[v1], tmin);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_148 = ___6_left;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_149 = ___2_fromTile;
|
|
NullCheck(L_149);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_150;
|
|
L_150 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_149, NULL);
|
|
int32_t L_151 = V_1;
|
|
NullCheck(L_150);
|
|
int32_t L_152 = L_151;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_153 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_154 = ___2_fromTile;
|
|
NullCheck(L_154);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_155;
|
|
L_155 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_154, NULL);
|
|
int32_t L_156 = V_2;
|
|
NullCheck(L_155);
|
|
int32_t L_157 = L_156;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_158 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
float L_159 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_160;
|
|
L_160 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_153, L_158, L_159, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_148 = L_160;
|
|
// right = Vector3.Lerp(fromTile.Verts[v0], fromTile.Verts[v1], tmax);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_161 = ___7_right;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_162 = ___2_fromTile;
|
|
NullCheck(L_162);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_163;
|
|
L_163 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_162, NULL);
|
|
int32_t L_164 = V_1;
|
|
NullCheck(L_163);
|
|
int32_t L_165 = L_164;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_166 = (L_163)->GetAt(static_cast<il2cpp_array_size_t>(L_165));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_167 = ___2_fromTile;
|
|
NullCheck(L_167);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_168;
|
|
L_168 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_167, NULL);
|
|
int32_t L_169 = V_2;
|
|
NullCheck(L_168);
|
|
int32_t L_170 = L_169;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_171 = (L_168)->GetAt(static_cast<il2cpp_array_size_t>(L_170));
|
|
float L_172 = V_10;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_173;
|
|
L_173 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_166, L_171, L_172, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_161 = L_173;
|
|
}
|
|
|
|
IL_022c:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::ClosestPointOnPoly(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_ClosestPointOnPoly_mF138CDB00AB46D7233B743CBB5A40861054D69A3 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method)
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
{
|
|
// if (nav == null)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// if (nav.TryGetTileAndPolyByRef(reference, out tile, out poly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_1 = __this->___nav_1;
|
|
int32_t L_2 = ___0_reference;
|
|
NullCheck(L_1);
|
|
bool L_3;
|
|
L_3 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_1, L_2, (&V_0), (&V_1), NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_4 = V_0;
|
|
if (L_4)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// tile.ClosestPointOnPoly(poly, pos, ref closest);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = V_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_6 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___2_closest;
|
|
NullCheck(L_5);
|
|
MeshTile_ClosestPointOnPoly_m65982F057621178CED19314BD802233EC77FF8E2(L_5, L_6, L_7, L_8, NULL);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::ClosestPointOnPoly(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_ClosestPointOnPoly_m4DBB76602E69374F8AD83E6ABA1F23D7726C395F (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, bool* ___3_posOverPoly, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_4 = NULL;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* V_5 = NULL;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_12;
|
|
memset((&V_12), 0, sizeof(V_12));
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
float V_15 = 0.0f;
|
|
int32_t V_16 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 V_21;
|
|
memset((&V_21), 0, sizeof(V_21));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_22;
|
|
memset((&V_22), 0, sizeof(V_22));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
float V_25 = 0.0f;
|
|
{
|
|
// posOverPoly = false;
|
|
bool* L_0 = ___3_posOverPoly;
|
|
*((int8_t*)L_0) = (int8_t)0;
|
|
// closest = Vector3.Zero;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___2_closest;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___Zero_6;
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_1 = L_2;
|
|
// if (!nav.TryGetTileAndPolyByRef(reference, out tile, out poly))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_3 = __this->___nav_1;
|
|
int32_t L_4 = ___0_reference;
|
|
NullCheck(L_3);
|
|
bool L_5;
|
|
L_5 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_3, L_4, (&V_0), (&V_1), NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_6 = V_0;
|
|
if (L_6)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// if (poly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_7 = V_1;
|
|
NullCheck(L_7);
|
|
uint8_t L_8;
|
|
L_8 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_7, NULL);
|
|
if ((!(((uint32_t)L_8) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 v0 = tile.Verts[poly.Verts[0]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_10;
|
|
L_10 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_9, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_11 = V_1;
|
|
NullCheck(L_11);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12;
|
|
L_12 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_11, NULL);
|
|
NullCheck(L_12);
|
|
int32_t L_13 = 0;
|
|
int32_t L_14 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
NullCheck(L_10);
|
|
int32_t L_15 = L_14;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
V_8 = L_16;
|
|
// Vector3 v1 = tile.Verts[poly.Verts[1]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_17 = V_0;
|
|
NullCheck(L_17);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_18;
|
|
L_18 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_17, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_19 = V_1;
|
|
NullCheck(L_19);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_20;
|
|
L_20 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_19, NULL);
|
|
NullCheck(L_20);
|
|
int32_t L_21 = 1;
|
|
int32_t L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
NullCheck(L_18);
|
|
int32_t L_23 = L_22;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
V_9 = L_24;
|
|
// float d0 = (pos - v0).Length();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = V_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27;
|
|
L_27 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_25, L_26, NULL);
|
|
V_12 = L_27;
|
|
float L_28;
|
|
L_28 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_12), NULL);
|
|
// float d1 = (pos - v1).Length();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30 = V_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31;
|
|
L_31 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_29, L_30, NULL);
|
|
V_12 = L_31;
|
|
float L_32;
|
|
L_32 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_12), NULL);
|
|
V_10 = L_32;
|
|
// float u = d0 / (d0 + d1);
|
|
float L_33 = L_28;
|
|
float L_34 = V_10;
|
|
V_11 = ((float)(L_33/((float)il2cpp_codegen_add(L_33, L_34))));
|
|
// closest = Vector3.Lerp(v0, v1, u);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_35 = ___2_closest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = V_8;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_37 = V_9;
|
|
float L_38 = V_11;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39;
|
|
L_39 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_36, L_37, L_38, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_35 = L_39;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// int indexPoly = 0;
|
|
V_2 = 0;
|
|
// for (int i = 0; i < tile.Polys.Length; i++)
|
|
V_13 = 0;
|
|
goto IL_00b7;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// if (tile.Polys[i] == poly)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_40 = V_0;
|
|
NullCheck(L_40);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_41;
|
|
L_41 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_40, NULL);
|
|
int32_t L_42 = V_13;
|
|
NullCheck(L_41);
|
|
int32_t L_43 = L_42;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_45 = V_1;
|
|
if ((!(((RuntimeObject*)(Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)L_44) == ((RuntimeObject*)(Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)L_45))))
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// indexPoly = i;
|
|
int32_t L_46 = V_13;
|
|
V_2 = L_46;
|
|
// break;
|
|
goto IL_00c3;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// for (int i = 0; i < tile.Polys.Length; i++)
|
|
int32_t L_47 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_47, 1));
|
|
}
|
|
|
|
IL_00b7:
|
|
{
|
|
// for (int i = 0; i < tile.Polys.Length; i++)
|
|
int32_t L_48 = V_13;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_49 = V_0;
|
|
NullCheck(L_49);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_50;
|
|
L_50 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_49, NULL);
|
|
NullCheck(L_50);
|
|
if ((((int32_t)L_48) < ((int32_t)((int32_t)(((RuntimeArray*)L_50)->max_length)))))
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// PolyMeshDetail.MeshData pd = tile.DetailMeshes[indexPoly];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_51 = V_0;
|
|
NullCheck(L_51);
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_52;
|
|
L_52 = MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313_inline(L_51, NULL);
|
|
int32_t L_53 = V_2;
|
|
NullCheck(L_52);
|
|
int32_t L_54 = L_53;
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
V_3 = L_55;
|
|
// Vector3[] verts = new Vector3[PathfindingCommon.VERTS_PER_POLYGON];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_56 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_4 = L_56;
|
|
// float[] edgeDistance = new float[PathfindingCommon.VERTS_PER_POLYGON];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_57 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_5 = L_57;
|
|
// float[] edgeT = new float[PathfindingCommon.VERTS_PER_POLYGON];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_58 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_6 = L_58;
|
|
// int numPolyVerts = poly.VertCount;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_59 = V_1;
|
|
NullCheck(L_59);
|
|
int32_t L_60;
|
|
L_60 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_59, NULL);
|
|
V_7 = L_60;
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
V_14 = 0;
|
|
goto IL_0118;
|
|
}
|
|
|
|
IL_00f5:
|
|
{
|
|
// verts[i] = tile.Verts[poly.Verts[i]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_61 = V_4;
|
|
int32_t L_62 = V_14;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_63 = V_0;
|
|
NullCheck(L_63);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_64;
|
|
L_64 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_63, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_65 = V_1;
|
|
NullCheck(L_65);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_66;
|
|
L_66 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_65, NULL);
|
|
int32_t L_67 = V_14;
|
|
NullCheck(L_66);
|
|
int32_t L_68 = L_67;
|
|
int32_t L_69 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
|
|
NullCheck(L_64);
|
|
int32_t L_70 = L_69;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_71 = (L_64)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
|
|
NullCheck(L_61);
|
|
(L_61)->SetAt(static_cast<il2cpp_array_size_t>(L_62), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_71);
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_72 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_0118:
|
|
{
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_73 = V_14;
|
|
int32_t L_74 = V_7;
|
|
if ((((int32_t)L_73) < ((int32_t)L_74)))
|
|
{
|
|
goto IL_00f5;
|
|
}
|
|
}
|
|
{
|
|
// closest = pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_75 = ___2_closest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_76 = ___1_pos;
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_75 = L_76;
|
|
// if (!Distance.PointToPolygonEdgeSquared(pos, verts, numPolyVerts, edgeDistance, edgeT))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_77 = ___1_pos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_78 = V_4;
|
|
int32_t L_79 = V_7;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_80 = V_5;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_81 = V_6;
|
|
bool L_82;
|
|
L_82 = Distance_PointToPolygonEdgeSquared_mCCC1FC8F6CB38CBD32CF06F8D031ACA920A962F4(L_77, L_78, L_79, L_80, L_81, NULL);
|
|
if (L_82)
|
|
{
|
|
goto IL_0195;
|
|
}
|
|
}
|
|
{
|
|
// float minDistance = float.MaxValue;
|
|
V_15 = ((std::numeric_limits<float>::max)());
|
|
// int minIndex = -1;
|
|
V_16 = (-1);
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
V_19 = 0;
|
|
goto IL_015e;
|
|
}
|
|
|
|
IL_0144:
|
|
{
|
|
// if (edgeDistance[i] < minDistance)
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_83 = V_5;
|
|
int32_t L_84 = V_19;
|
|
NullCheck(L_83);
|
|
int32_t L_85 = L_84;
|
|
float L_86 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
|
|
float L_87 = V_15;
|
|
if ((!(((float)L_86) < ((float)L_87))))
|
|
{
|
|
goto IL_0158;
|
|
}
|
|
}
|
|
{
|
|
// minDistance = edgeDistance[i];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_88 = V_5;
|
|
int32_t L_89 = V_19;
|
|
NullCheck(L_88);
|
|
int32_t L_90 = L_89;
|
|
float L_91 = (L_88)->GetAt(static_cast<il2cpp_array_size_t>(L_90));
|
|
V_15 = L_91;
|
|
// minIndex = i;
|
|
int32_t L_92 = V_19;
|
|
V_16 = L_92;
|
|
}
|
|
|
|
IL_0158:
|
|
{
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_93 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_93, 1));
|
|
}
|
|
|
|
IL_015e:
|
|
{
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_94 = V_19;
|
|
int32_t L_95 = V_7;
|
|
if ((((int32_t)L_94) < ((int32_t)L_95)))
|
|
{
|
|
goto IL_0144;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 va = verts[minIndex];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_96 = V_4;
|
|
int32_t L_97 = V_16;
|
|
NullCheck(L_96);
|
|
int32_t L_98 = L_97;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_99 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_98));
|
|
V_17 = L_99;
|
|
// Vector3 vb = verts[(minIndex + 1) % numPolyVerts];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_100 = V_4;
|
|
int32_t L_101 = V_16;
|
|
int32_t L_102 = V_7;
|
|
NullCheck(L_100);
|
|
int32_t L_103 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_101, 1))%L_102));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_104 = (L_100)->GetAt(static_cast<il2cpp_array_size_t>(L_103));
|
|
V_18 = L_104;
|
|
// closest = Vector3.Lerp(va, vb, edgeT[minIndex]);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_105 = ___2_closest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_106 = V_17;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_107 = V_18;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_108 = V_6;
|
|
int32_t L_109 = V_16;
|
|
NullCheck(L_108);
|
|
int32_t L_110 = L_109;
|
|
float L_111 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_112;
|
|
L_112 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_106, L_107, L_111, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_105 = L_112;
|
|
goto IL_0199;
|
|
}
|
|
|
|
IL_0195:
|
|
{
|
|
// posOverPoly = false;
|
|
bool* L_113 = ___3_posOverPoly;
|
|
*((int8_t*)L_113) = (int8_t)0;
|
|
}
|
|
|
|
IL_0199:
|
|
{
|
|
// for (int j = 0; j < tile.DetailMeshes[indexPoly].TriangleCount; j++)
|
|
V_20 = 0;
|
|
goto IL_02c1;
|
|
}
|
|
|
|
IL_01a1:
|
|
{
|
|
// PolyMeshDetail.TriangleData t = tile.DetailTris[pd.TriangleIndex + j];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_114 = V_0;
|
|
NullCheck(L_114);
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_115;
|
|
L_115 = MeshTile_get_DetailTris_mB7EA05A2BE99D85445EBB42CA787964D460D31B1_inline(L_114, NULL);
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_116 = V_3;
|
|
int32_t L_117 = L_116.___TriangleIndex_2;
|
|
int32_t L_118 = V_20;
|
|
NullCheck(L_115);
|
|
int32_t L_119 = ((int32_t)il2cpp_codegen_add(L_117, L_118));
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_120 = (L_115)->GetAt(static_cast<il2cpp_array_size_t>(L_119));
|
|
V_21 = L_120;
|
|
// if (t.VertexHash0 < poly.VertCount)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_121 = V_21;
|
|
int32_t L_122 = L_121.___VertexHash0_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_123 = V_1;
|
|
NullCheck(L_123);
|
|
int32_t L_124;
|
|
L_124 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_123, NULL);
|
|
if ((((int32_t)L_122) >= ((int32_t)L_124)))
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
{
|
|
// va = tile.Verts[poly.Verts[t.VertexHash0]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_125 = V_0;
|
|
NullCheck(L_125);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_126;
|
|
L_126 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_125, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_127 = V_1;
|
|
NullCheck(L_127);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_128;
|
|
L_128 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_127, NULL);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_129 = V_21;
|
|
int32_t L_130 = L_129.___VertexHash0_0;
|
|
NullCheck(L_128);
|
|
int32_t L_131 = L_130;
|
|
int32_t L_132 = (L_128)->GetAt(static_cast<il2cpp_array_size_t>(L_131));
|
|
NullCheck(L_126);
|
|
int32_t L_133 = L_132;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_134 = (L_126)->GetAt(static_cast<il2cpp_array_size_t>(L_133));
|
|
V_22 = L_134;
|
|
goto IL_0205;
|
|
}
|
|
|
|
IL_01e3:
|
|
{
|
|
// va = tile.DetailVerts[pd.VertexIndex + (t.VertexHash0 - poly.VertCount)];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_135 = V_0;
|
|
NullCheck(L_135);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_136;
|
|
L_136 = MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6_inline(L_135, NULL);
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_137 = V_3;
|
|
int32_t L_138 = L_137.___VertexIndex_0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_139 = V_21;
|
|
int32_t L_140 = L_139.___VertexHash0_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_141 = V_1;
|
|
NullCheck(L_141);
|
|
int32_t L_142;
|
|
L_142 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_141, NULL);
|
|
NullCheck(L_136);
|
|
int32_t L_143 = ((int32_t)il2cpp_codegen_add(L_138, ((int32_t)il2cpp_codegen_subtract(L_140, L_142))));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_144 = (L_136)->GetAt(static_cast<il2cpp_array_size_t>(L_143));
|
|
V_22 = L_144;
|
|
}
|
|
|
|
IL_0205:
|
|
{
|
|
// if (t.VertexHash1 < poly.VertCount)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_145 = V_21;
|
|
int32_t L_146 = L_145.___VertexHash1_1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_147 = V_1;
|
|
NullCheck(L_147);
|
|
int32_t L_148;
|
|
L_148 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_147, NULL);
|
|
if ((((int32_t)L_146) >= ((int32_t)L_148)))
|
|
{
|
|
goto IL_0231;
|
|
}
|
|
}
|
|
{
|
|
// vb = tile.Verts[poly.Verts[t.VertexHash1]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_149 = V_0;
|
|
NullCheck(L_149);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_150;
|
|
L_150 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_149, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_151 = V_1;
|
|
NullCheck(L_151);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_152;
|
|
L_152 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_151, NULL);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_153 = V_21;
|
|
int32_t L_154 = L_153.___VertexHash1_1;
|
|
NullCheck(L_152);
|
|
int32_t L_155 = L_154;
|
|
int32_t L_156 = (L_152)->GetAt(static_cast<il2cpp_array_size_t>(L_155));
|
|
NullCheck(L_150);
|
|
int32_t L_157 = L_156;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_158 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
V_23 = L_158;
|
|
goto IL_0253;
|
|
}
|
|
|
|
IL_0231:
|
|
{
|
|
// vb = tile.DetailVerts[pd.VertexIndex + (t.VertexHash1 - poly.VertCount)];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_159 = V_0;
|
|
NullCheck(L_159);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_160;
|
|
L_160 = MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6_inline(L_159, NULL);
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_161 = V_3;
|
|
int32_t L_162 = L_161.___VertexIndex_0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_163 = V_21;
|
|
int32_t L_164 = L_163.___VertexHash1_1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_165 = V_1;
|
|
NullCheck(L_165);
|
|
int32_t L_166;
|
|
L_166 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_165, NULL);
|
|
NullCheck(L_160);
|
|
int32_t L_167 = ((int32_t)il2cpp_codegen_add(L_162, ((int32_t)il2cpp_codegen_subtract(L_164, L_166))));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_168 = (L_160)->GetAt(static_cast<il2cpp_array_size_t>(L_167));
|
|
V_23 = L_168;
|
|
}
|
|
|
|
IL_0253:
|
|
{
|
|
// if (t.VertexHash2 < poly.VertCount)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_169 = V_21;
|
|
int32_t L_170 = L_169.___VertexHash2_2;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_171 = V_1;
|
|
NullCheck(L_171);
|
|
int32_t L_172;
|
|
L_172 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_171, NULL);
|
|
if ((((int32_t)L_170) >= ((int32_t)L_172)))
|
|
{
|
|
goto IL_027f;
|
|
}
|
|
}
|
|
{
|
|
// vc = tile.Verts[poly.Verts[t.VertexHash2]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_173 = V_0;
|
|
NullCheck(L_173);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_174;
|
|
L_174 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_173, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_175 = V_1;
|
|
NullCheck(L_175);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_176;
|
|
L_176 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_175, NULL);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_177 = V_21;
|
|
int32_t L_178 = L_177.___VertexHash2_2;
|
|
NullCheck(L_176);
|
|
int32_t L_179 = L_178;
|
|
int32_t L_180 = (L_176)->GetAt(static_cast<il2cpp_array_size_t>(L_179));
|
|
NullCheck(L_174);
|
|
int32_t L_181 = L_180;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_182 = (L_174)->GetAt(static_cast<il2cpp_array_size_t>(L_181));
|
|
V_24 = L_182;
|
|
goto IL_02a1;
|
|
}
|
|
|
|
IL_027f:
|
|
{
|
|
// vc = tile.DetailVerts[pd.VertexIndex + (t.VertexHash2 - poly.VertCount)];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_183 = V_0;
|
|
NullCheck(L_183);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_184;
|
|
L_184 = MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6_inline(L_183, NULL);
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_185 = V_3;
|
|
int32_t L_186 = L_185.___VertexIndex_0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_187 = V_21;
|
|
int32_t L_188 = L_187.___VertexHash2_2;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_189 = V_1;
|
|
NullCheck(L_189);
|
|
int32_t L_190;
|
|
L_190 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_189, NULL);
|
|
NullCheck(L_184);
|
|
int32_t L_191 = ((int32_t)il2cpp_codegen_add(L_186, ((int32_t)il2cpp_codegen_subtract(L_188, L_190))));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_192 = (L_184)->GetAt(static_cast<il2cpp_array_size_t>(L_191));
|
|
V_24 = L_192;
|
|
}
|
|
|
|
IL_02a1:
|
|
{
|
|
// if (Distance.PointToTriangle(pos, va, vb, vc, out h))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_193 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_194 = V_22;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_195 = V_23;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_196 = V_24;
|
|
bool L_197;
|
|
L_197 = Distance_PointToTriangle_m8AD07917E1B86AD86D685541373F9D3D46007182(L_193, L_194, L_195, L_196, (&V_25), NULL);
|
|
if (!L_197)
|
|
{
|
|
goto IL_02bb;
|
|
}
|
|
}
|
|
{
|
|
// closest.Y = h;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_198 = ___2_closest;
|
|
float L_199 = V_25;
|
|
L_198->___Y_1 = L_199;
|
|
// break;
|
|
goto IL_02d9;
|
|
}
|
|
|
|
IL_02bb:
|
|
{
|
|
// for (int j = 0; j < tile.DetailMeshes[indexPoly].TriangleCount; j++)
|
|
int32_t L_200 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_200, 1));
|
|
}
|
|
|
|
IL_02c1:
|
|
{
|
|
// for (int j = 0; j < tile.DetailMeshes[indexPoly].TriangleCount; j++)
|
|
int32_t L_201 = V_20;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_202 = V_0;
|
|
NullCheck(L_202);
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_203;
|
|
L_203 = MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313_inline(L_202, NULL);
|
|
int32_t L_204 = V_2;
|
|
NullCheck(L_203);
|
|
int32_t L_205 = ((L_203)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_204)))->___TriangleCount_3;
|
|
if ((((int32_t)L_201) < ((int32_t)L_205)))
|
|
{
|
|
goto IL_01a1;
|
|
}
|
|
}
|
|
|
|
IL_02d9:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::ClosestPointOnPolyBoundary(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_ClosestPointOnPolyBoundary_m91AF6E68D84BECE791DA2C87AD4EE0EF738128DA (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method)
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
{
|
|
// if (nav.TryGetTileAndPolyByRef(reference, out tile, out poly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
int32_t L_1 = ___0_reference;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_0, L_1, (&V_0), (&V_1), NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// tile.ClosestPointOnPolyBoundary(poly, pos, out closest);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = V_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_4 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___2_closest;
|
|
NullCheck(L_3);
|
|
MeshTile_ClosestPointOnPolyBoundary_m4D67B72E2EED036B11D0296B4D7034E5535182BA(L_3, L_4, L_5, L_6, NULL);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::AppendVertex(SharpNav.Geometry.Vector3,System.Int32,System.Int32,SharpNav.Geometry.Vector3[],System.Int32[],System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, int32_t ___1_flags, int32_t ___2_reference, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___3_straightPath, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___4_straightPathFlags, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___5_straightPathRefs, int32_t* ___6_straightPathCount, int32_t ___7_maxStraightPath, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (straightPathCount > 0 && straightPath[straightPathCount - 1] == pos)
|
|
int32_t* L_0 = ___6_straightPathCount;
|
|
int32_t L_1 = *((int32_t*)L_0);
|
|
if ((((int32_t)L_1) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = ___3_straightPath;
|
|
int32_t* L_3 = ___6_straightPathCount;
|
|
int32_t L_4 = *((int32_t*)L_3);
|
|
NullCheck(L_2);
|
|
int32_t L_5 = ((int32_t)il2cpp_codegen_subtract(L_4, 1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___0_pos;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = Vector3_op_Equality_m41A1B32923C878889867DD904C6615F8218B4BCC(L_6, L_7, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
// if (straightPathFlags.Length != 0)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = ___4_straightPathFlags;
|
|
NullCheck(L_9);
|
|
if (!(((RuntimeArray*)L_9)->max_length))
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// straightPathFlags[straightPathCount - 1] = flags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = ___4_straightPathFlags;
|
|
int32_t* L_11 = ___6_straightPathCount;
|
|
int32_t L_12 = *((int32_t*)L_11);
|
|
int32_t L_13 = ___1_flags;
|
|
NullCheck(L_10);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_12, 1))), (int32_t)L_13);
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// if (straightPathRefs.Length != 0)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_14 = ___5_straightPathRefs;
|
|
NullCheck(L_14);
|
|
if (!(((RuntimeArray*)L_14)->max_length))
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
// straightPathRefs[straightPathCount - 1] = reference;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15 = ___5_straightPathRefs;
|
|
int32_t* L_16 = ___6_straightPathCount;
|
|
int32_t L_17 = *((int32_t*)L_16);
|
|
int32_t L_18 = ___2_reference;
|
|
NullCheck(L_15);
|
|
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_17, 1))), (int32_t)L_18);
|
|
goto IL_0070;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// straightPath[straightPathCount] = pos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_19 = ___3_straightPath;
|
|
int32_t* L_20 = ___6_straightPathCount;
|
|
int32_t L_21 = *((int32_t*)L_20);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22 = ___0_pos;
|
|
NullCheck(L_19);
|
|
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(L_21), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_22);
|
|
// if (straightPathFlags.Length != 0)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = ___4_straightPathFlags;
|
|
NullCheck(L_23);
|
|
if (!(((RuntimeArray*)L_23)->max_length))
|
|
{
|
|
goto IL_004f;
|
|
}
|
|
}
|
|
{
|
|
// straightPathFlags[straightPathCount] = flags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_24 = ___4_straightPathFlags;
|
|
int32_t* L_25 = ___6_straightPathCount;
|
|
int32_t L_26 = *((int32_t*)L_25);
|
|
int32_t L_27 = ___1_flags;
|
|
NullCheck(L_24);
|
|
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (int32_t)L_27);
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
// if (straightPathRefs.Length != 0)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_28 = ___5_straightPathRefs;
|
|
NullCheck(L_28);
|
|
if (!(((RuntimeArray*)L_28)->max_length))
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
// straightPathRefs[straightPathCount] = reference;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_29 = ___5_straightPathRefs;
|
|
int32_t* L_30 = ___6_straightPathCount;
|
|
int32_t L_31 = *((int32_t*)L_30);
|
|
int32_t L_32 = ___2_reference;
|
|
NullCheck(L_29);
|
|
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(L_31), (int32_t)L_32);
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// straightPathCount++;
|
|
int32_t* L_33 = ___6_straightPathCount;
|
|
int32_t* L_34 = ___6_straightPathCount;
|
|
int32_t L_35 = *((int32_t*)L_34);
|
|
*((int32_t*)L_33) = (int32_t)((int32_t)il2cpp_codegen_add(L_35, 1));
|
|
// if (flags == PathfindingCommon.STRAIGHTPATH_END || straightPathCount >= maxStraightPath)
|
|
int32_t L_36 = ___1_flags;
|
|
if ((((int32_t)L_36) == ((int32_t)2)))
|
|
{
|
|
goto IL_006e;
|
|
}
|
|
}
|
|
{
|
|
int32_t* L_37 = ___6_straightPathCount;
|
|
int32_t L_38 = *((int32_t*)L_37);
|
|
int32_t L_39 = ___7_maxStraightPath;
|
|
if ((((int32_t)L_38) < ((int32_t)L_39)))
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::AppendPortals(System.Int32,System.Int32,SharpNav.Geometry.Vector3,System.Int32[],SharpNav.Geometry.Vector3[],System.Int32[],System.Int32[],System.Int32&,System.Int32,SharpNav.Pathfinding.PathBuildFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_AppendPortals_mBD00E03649425CC4DCA51AA85FBB236C63577A09 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_startIdx, int32_t ___1_endIdx, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_endPos, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_path, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___4_straightPath, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___5_straightPathFlags, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___6_straightPathRefs, int32_t* ___7_straightPathCount, int32_t ___8_maxStraightPath, int32_t ___9_options, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_3 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_6 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_7 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_12;
|
|
memset((&V_12), 0, sizeof(V_12));
|
|
{
|
|
// Vector3 startPos = straightPath[straightPathCount - 1];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___4_straightPath;
|
|
int32_t* L_1 = ___7_straightPathCount;
|
|
int32_t L_2 = *((int32_t*)L_1);
|
|
NullCheck(L_0);
|
|
int32_t L_3 = ((int32_t)il2cpp_codegen_subtract(L_2, 1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
V_0 = L_4;
|
|
// for (int i = startIdx; i < endIdx; i++)
|
|
int32_t L_5 = ___0_startIdx;
|
|
V_1 = L_5;
|
|
goto IL_00cc;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// int from = path[i];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = ___3_path;
|
|
int32_t L_7 = V_1;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
int32_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
V_2 = L_9;
|
|
// if (nav.TryGetTileAndPolyByRef(from, out fromTile, out fromPoly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_10 = __this->___nav_1;
|
|
int32_t L_11 = V_2;
|
|
NullCheck(L_10);
|
|
bool L_12;
|
|
L_12 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_10, L_11, (&V_3), (&V_4), NULL);
|
|
if (L_12)
|
|
{
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// int to = path[i + 1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ___3_path;
|
|
int32_t L_14 = V_1;
|
|
NullCheck(L_13);
|
|
int32_t L_15 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
int32_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
V_5 = L_16;
|
|
// if (nav.TryGetTileAndPolyByRef(to, out toTile, out toPoly) == false)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_17 = __this->___nav_1;
|
|
int32_t L_18 = V_5;
|
|
NullCheck(L_17);
|
|
bool L_19;
|
|
L_19 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_17, L_18, (&V_6), (&V_7), NULL);
|
|
if (L_19)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// Vector3 left = new Vector3();
|
|
il2cpp_codegen_initobj((&V_8), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// Vector3 right = new Vector3();
|
|
il2cpp_codegen_initobj((&V_9), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// if (GetPortalPoints(from, fromPoly, fromTile, to, toPoly, toTile, ref left, ref right) == false)
|
|
int32_t L_20 = V_2;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_21 = V_4;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_22 = V_3;
|
|
int32_t L_23 = V_5;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_24 = V_7;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_25 = V_6;
|
|
bool L_26;
|
|
L_26 = NavMeshQuery_GetPortalPoints_m680D27906089ECCAE41F6117CC7C96393E66F8C6(__this, L_20, L_21, L_22, L_23, L_24, L_25, (&V_8), (&V_9), NULL);
|
|
if (!L_26)
|
|
{
|
|
goto IL_00d3;
|
|
}
|
|
}
|
|
{
|
|
// if ((options & PathBuildFlags.AreaCrossingVertices) != 0)
|
|
int32_t L_27 = ___9_options;
|
|
if (!((int32_t)((int32_t)L_27&1)))
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
// if (fromPoly.Area == toPoly.Area)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_28 = V_4;
|
|
NullCheck(L_28);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_29;
|
|
L_29 = Poly_get_Area_m76E86CA64BCA6789358D39A854C2A328F2B398AB_inline(L_28, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_30 = V_7;
|
|
NullCheck(L_30);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_31;
|
|
L_31 = Poly_get_Area_m76E86CA64BCA6789358D39A854C2A328F2B398AB_inline(L_30, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
bool L_32;
|
|
L_32 = Area_op_Equality_mAC5EBF358CF6BD0390AAC8418EDE4E2D78F59D3C(L_29, L_31, NULL);
|
|
if (L_32)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// if (Intersection.SegmentSegment2D(ref startPos, ref endPos, ref left, ref right, out s, out t))
|
|
bool L_33;
|
|
L_33 = Intersection_SegmentSegment2D_mD371D063BC76CCD3035D76D80673E12D36C5928F((&V_0), (&___2_endPos), (&V_8), (&V_9), (&V_10), (&V_11), NULL);
|
|
if (!L_33)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 pt = Vector3.Lerp(left, right, t);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = V_8;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35 = V_9;
|
|
float L_36 = V_11;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_37;
|
|
L_37 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_34, L_35, L_36, NULL);
|
|
V_12 = L_37;
|
|
// stat = AppendVertex(pt, 0, path[i + 1], straightPath, straightPathFlags, straightPathRefs, ref straightPathCount, maxStraightPath);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_38 = V_12;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_39 = ___3_path;
|
|
int32_t L_40 = V_1;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = ((int32_t)il2cpp_codegen_add(L_40, 1));
|
|
int32_t L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_43 = ___4_straightPath;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_44 = ___5_straightPathFlags;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_45 = ___6_straightPathRefs;
|
|
int32_t* L_46 = ___7_straightPathCount;
|
|
int32_t L_47 = ___8_maxStraightPath;
|
|
bool L_48;
|
|
L_48 = NavMeshQuery_AppendVertex_mF43B061DFF15139588E74A9A074626CFFF25D3FE(__this, L_38, 0, L_42, L_43, L_44, L_45, L_46, L_47, NULL);
|
|
// if (stat != true)
|
|
if (L_48)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00c8:
|
|
{
|
|
// for (int i = startIdx; i < endIdx; i++)
|
|
int32_t L_49 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_49, 1));
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// for (int i = startIdx; i < endIdx; i++)
|
|
int32_t L_50 = V_1;
|
|
int32_t L_51 = ___1_endIdx;
|
|
if ((((int32_t)L_50) < ((int32_t)L_51)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::GetPolyHeight(System.Int32,SharpNav.Geometry.Vector3,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_GetPolyHeight_m7EE85BBA53B65E9F9073726FC2BDD249C424D8B2 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, float* ___2_height, const RuntimeMethod* method)
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
{
|
|
// if (nav == null)
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// if (!nav.TryGetTileAndPolyByRef(reference, out tile, out poly))
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_1 = __this->___nav_1;
|
|
int32_t L_2 = ___0_reference;
|
|
NullCheck(L_1);
|
|
bool L_3;
|
|
L_3 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_1, L_2, (&V_0), (&V_1), NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// if (poly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
uint8_t L_5;
|
|
L_5 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_4, NULL);
|
|
if ((!(((uint32_t)L_5) == ((uint32_t)1))))
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// tile.ClosestPointOnPolyOffMeshConnection(poly, pos, out closest);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_6 = V_0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_7 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___1_pos;
|
|
NullCheck(L_6);
|
|
MeshTile_ClosestPointOnPolyOffMeshConnection_m30992CEF71F93504108AAD5C0E1518EBDE7A4996(L_6, L_7, L_8, (&V_2), NULL);
|
|
// height = closest.Y;
|
|
float* L_9 = ___2_height;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = V_2;
|
|
float L_11 = L_10.___Y_1;
|
|
*((float*)L_9) = (float)L_11;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// int indexPoly = 0;
|
|
V_3 = 0;
|
|
// for (int i = 0; i < tile.Polys.Length; i++)
|
|
V_5 = 0;
|
|
goto IL_0059;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// if (tile.Polys[i] == poly)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_12 = V_0;
|
|
NullCheck(L_12);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_13;
|
|
L_13 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_12, NULL);
|
|
int32_t L_14 = V_5;
|
|
NullCheck(L_13);
|
|
int32_t L_15 = L_14;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_17 = V_1;
|
|
if ((!(((RuntimeObject*)(Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)L_16) == ((RuntimeObject*)(Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)L_17))))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// indexPoly = i;
|
|
int32_t L_18 = V_5;
|
|
V_3 = L_18;
|
|
// break;
|
|
goto IL_0065;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// for (int i = 0; i < tile.Polys.Length; i++)
|
|
int32_t L_19 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_19, 1));
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// for (int i = 0; i < tile.Polys.Length; i++)
|
|
int32_t L_20 = V_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_21 = V_0;
|
|
NullCheck(L_21);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_22;
|
|
L_22 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_21, NULL);
|
|
NullCheck(L_22);
|
|
if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// float h = 0;
|
|
V_4 = (0.0f);
|
|
// if (tile.ClosestHeight(indexPoly, pos, out h))
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_23 = V_0;
|
|
int32_t L_24 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = ___1_pos;
|
|
NullCheck(L_23);
|
|
bool L_26;
|
|
L_26 = MeshTile_ClosestHeight_m0108A5CD3275E0211FDFFF0BF3C7A8E0D8FF63A9(L_23, L_24, L_25, (&V_4), NULL);
|
|
if (!L_26)
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// height = h;
|
|
float* L_27 = ___2_height;
|
|
float L_28 = V_4;
|
|
*((float*)L_27) = (float)L_28;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.NavPoint SharpNav.NavMeshQuery::FindNearestPoly(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 NavMeshQuery_FindNearestPoly_m55301E695B88DE5A539554F9C1B9C05A665B373B (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_extents, const RuntimeMethod* method)
|
|
{
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// this.FindNearestPoly(ref center, ref extents, out result);
|
|
NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE(__this, (&___0_center), (&___1_extents), (&V_0), NULL);
|
|
// return result;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::FindNearestPoly(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Pathfinding.NavPoint&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_extents, NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* ___2_nearestPt, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
bool V_5 = false;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
float V_7 = 0.0f;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_8 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_9 = NULL;
|
|
float G_B7_0 = 0.0f;
|
|
{
|
|
// nearestPt = NavPoint.Null;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_0 = ___2_nearestPt;
|
|
il2cpp_codegen_runtime_class_init_inline(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_il2cpp_TypeInfo_var);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_1 = ((NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_StaticFields*)il2cpp_codegen_static_fields_for(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_il2cpp_TypeInfo_var))->___Null_0;
|
|
*(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364*)L_0 = L_1;
|
|
// List<int> polys = new List<int>(128);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_2 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98(L_2, ((int32_t)128), List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
V_0 = L_2;
|
|
// if (!QueryPolygons(ref center, ref extents, polys))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___0_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_extents;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_5 = V_0;
|
|
bool L_6;
|
|
L_6 = NavMeshQuery_QueryPolygons_mCAB91D162B50A3B59989652A4EC69587120BF3B9(__this, L_3, L_4, L_5, NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// throw new InvalidOperationException("no nearby polys?");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_7 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_7);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_7, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral9CCE2C72D1E92AB258C83A51C62232ACD18AB0AD)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// float nearestDistanceSqr = float.MaxValue;
|
|
V_1 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_2 = 0;
|
|
goto IL_00da;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// int reference = polys[i];
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_8 = V_0;
|
|
int32_t L_9 = V_2;
|
|
NullCheck(L_8);
|
|
int32_t L_10;
|
|
L_10 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_8, L_9, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
V_3 = L_10;
|
|
// ClosestPointOnPoly(reference, center, out closestPtPoly, out posOverPoly);
|
|
int32_t L_11 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___0_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_12);
|
|
bool L_14;
|
|
L_14 = NavMeshQuery_ClosestPointOnPoly_m4DBB76602E69374F8AD83E6ABA1F23D7726C395F(__this, L_11, L_13, (&V_4), (&V_5), NULL);
|
|
// Vector3 diff = center - closestPtPoly;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_15 = ___0_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18;
|
|
L_18 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_16, L_17, NULL);
|
|
V_6 = L_18;
|
|
// float d = 0;
|
|
V_7 = (0.0f);
|
|
// if (posOverPoly)
|
|
bool L_19 = V_5;
|
|
if (!L_19)
|
|
{
|
|
goto IL_00b7;
|
|
}
|
|
}
|
|
{
|
|
// nav.TryGetTileAndPolyByRefUnsafe(polys[i], out tile, out poly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_20 = __this->___nav_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = V_0;
|
|
int32_t L_22 = V_2;
|
|
NullCheck(L_21);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_21, L_22, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
TiledNavMesh_TryGetTileAndPolyByRefUnsafe_m8EF438EBFF62E0FE24BA104C492701F26C90ADAC(L_20, L_23, (&V_8), (&V_9), NULL);
|
|
// d = Math.Abs(diff.Y) - tile.Header.WalkableClimb;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = V_6;
|
|
float L_25 = L_24.___Y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_26;
|
|
L_26 = fabsf(L_25);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_27 = V_8;
|
|
NullCheck(L_27);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_28;
|
|
L_28 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_27, NULL);
|
|
NullCheck(L_28);
|
|
float L_29 = L_28->___WalkableClimb_14;
|
|
V_7 = ((float)il2cpp_codegen_subtract(L_26, L_29));
|
|
// d = d > 0 ? d * d : 0;
|
|
float L_30 = V_7;
|
|
if ((((float)L_30) > ((float)(0.0f))))
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
G_B7_0 = (0.0f);
|
|
goto IL_00b3;
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
float L_31 = V_7;
|
|
float L_32 = V_7;
|
|
G_B7_0 = ((float)il2cpp_codegen_multiply(L_31, L_32));
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
V_7 = G_B7_0;
|
|
goto IL_00c0;
|
|
}
|
|
|
|
IL_00b7:
|
|
{
|
|
// d = diff.LengthSquared();
|
|
float L_33;
|
|
L_33 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_6), NULL);
|
|
V_7 = L_33;
|
|
}
|
|
|
|
IL_00c0:
|
|
{
|
|
// if (d < nearestDistanceSqr)
|
|
float L_34 = V_7;
|
|
float L_35 = V_1;
|
|
if ((!(((float)L_34) < ((float)L_35))))
|
|
{
|
|
goto IL_00d6;
|
|
}
|
|
}
|
|
{
|
|
// nearestDistanceSqr = d;
|
|
float L_36 = V_7;
|
|
V_1 = L_36;
|
|
// nearestPt = new NavPoint(reference, closestPtPoly);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* L_37 = ___2_nearestPt;
|
|
int32_t L_38 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39 = V_4;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_40;
|
|
memset((&L_40), 0, sizeof(L_40));
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0((&L_40), L_38, L_39, /*hidden argument*/NULL);
|
|
*(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364*)L_37 = L_40;
|
|
}
|
|
|
|
IL_00d6:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_41 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_41, 1));
|
|
}
|
|
|
|
IL_00da:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_42 = V_2;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_43 = V_0;
|
|
NullCheck(L_43);
|
|
int32_t L_44;
|
|
L_44 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_43, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_42) < ((int32_t)L_44)))
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::QueryPolygons(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_QueryPolygons_mCAB91D162B50A3B59989652A4EC69587120BF3B9 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_extent, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_polys, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* V_6 = NULL;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
{
|
|
// Vector3 bmin = center - extent;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_extent;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_2);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
L_4 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_1, L_3, NULL);
|
|
V_0 = L_4;
|
|
// Vector3 bmax = center + extent;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_5);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_extent;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_7);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9;
|
|
L_9 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_6, L_8, NULL);
|
|
V_1 = L_9;
|
|
// nav.CalcTileLoc(ref bmin, out minx, out miny);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_10 = __this->___nav_1;
|
|
NullCheck(L_10);
|
|
TiledNavMesh_CalcTileLoc_mECC555B7DD82158ABDEC03E9ECA281979CDE3821(L_10, (&V_0), (&V_2), (&V_3), NULL);
|
|
// nav.CalcTileLoc(ref bmax, out maxx, out maxy);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_11 = __this->___nav_1;
|
|
NullCheck(L_11);
|
|
TiledNavMesh_CalcTileLoc_mECC555B7DD82158ABDEC03E9ECA281979CDE3821(L_11, (&V_1), (&V_4), (&V_5), NULL);
|
|
// MeshTile[] neis = new MeshTile[32];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_12 = (MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)SZArrayNew(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
|
|
V_6 = L_12;
|
|
// BBox3 bounds = new BBox3(bmin, bmax);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = V_1;
|
|
BBox3__ctor_m67BCA5F0DB7313A7AFBFF35F2EF6B73B3B09CF8B((&V_7), L_13, L_14, NULL);
|
|
// int n = 0;
|
|
V_8 = 0;
|
|
// for (int y = miny; y <= maxy; y++)
|
|
int32_t L_15 = V_3;
|
|
V_9 = L_15;
|
|
goto IL_00bf;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// for (int x = minx; x <= maxx; x++)
|
|
int32_t L_16 = V_2;
|
|
V_10 = L_16;
|
|
goto IL_00b3;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// int nneis = nav.GetTilesAt(x, y, neis);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_17 = __this->___nav_1;
|
|
int32_t L_18 = V_10;
|
|
int32_t L_19 = V_9;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_20 = V_6;
|
|
NullCheck(L_17);
|
|
int32_t L_21;
|
|
L_21 = TiledNavMesh_GetTilesAt_mC346933EF7F678906466E1AD61AB36203766A2B0(L_17, L_18, L_19, L_20, NULL);
|
|
V_11 = L_21;
|
|
// for (int j = 0; j < nneis; j++)
|
|
V_12 = 0;
|
|
goto IL_00a7;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// n += nav.QueryPolygonsInTile(neis[j], bounds, polys);
|
|
int32_t L_22 = V_8;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_23 = __this->___nav_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_24 = V_6;
|
|
int32_t L_25 = V_12;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_28 = V_7;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_29 = ___2_polys;
|
|
NullCheck(L_23);
|
|
int32_t L_30;
|
|
L_30 = TiledNavMesh_QueryPolygonsInTile_mF3733AB2C2702B1EAD3ED15E79228249C848B2E2(L_23, L_27, L_28, L_29, NULL);
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_22, L_30));
|
|
// if (n >= polys.Capacity)
|
|
int32_t L_31 = V_8;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_32 = ___2_polys;
|
|
NullCheck(L_32);
|
|
int32_t L_33;
|
|
L_33 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_32, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_31) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// for (int j = 0; j < nneis; j++)
|
|
int32_t L_34 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// for (int j = 0; j < nneis; j++)
|
|
int32_t L_35 = V_12;
|
|
int32_t L_36 = V_11;
|
|
if ((((int32_t)L_35) < ((int32_t)L_36)))
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = minx; x <= maxx; x++)
|
|
int32_t L_37 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
// for (int x = minx; x <= maxx; x++)
|
|
int32_t L_38 = V_10;
|
|
int32_t L_39 = V_4;
|
|
if ((((int32_t)L_38) <= ((int32_t)L_39)))
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// for (int y = miny; y <= maxy; y++)
|
|
int32_t L_40 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_40, 1));
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
// for (int y = miny; y <= maxy; y++)
|
|
int32_t L_41 = V_9;
|
|
int32_t L_42 = V_5;
|
|
if ((((int32_t)L_41) <= ((int32_t)L_42)))
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// return polys.Count != 0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_43 = ___2_polys;
|
|
NullCheck(L_43);
|
|
int32_t L_44;
|
|
L_44 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_43, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
return (bool)((!(((uint32_t)L_44) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::IsValidPolyRef(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_IsValidPolyRef_m5DF99AC93B0982F80A3AE6D9B02F821C4917510F (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, int32_t ___0_reference, const RuntimeMethod* method)
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_0 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_1 = NULL;
|
|
{
|
|
// bool status = nav.TryGetTileAndPolyByRef(reference, out tile, out poly);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_0 = __this->___nav_1;
|
|
int32_t L_1 = ___0_reference;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = TiledNavMesh_TryGetTileAndPolyByRef_m2087AC35CA1F1D6C6A89E776AC175CBE737CFDBB(L_0, L_1, (&V_0), (&V_1), NULL);
|
|
// if (status == false)
|
|
if (L_2)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::IsInOpenList(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_IsInOpenList_m9B47BA725AA8D768E71624C3EE97A904C4CE4CE5 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (node.Flags & NodeFlags.Open) != 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1 = L_0->___Flags_4;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_1&1))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NavMeshQuery::IsInClosedList(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavMeshQuery_IsInClosedList_m315AADA9E4B62356CBE5B2AAD76540A46465FCAB (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (node.Flags & NodeFlags.Closed) != 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1 = L_0->___Flags_4;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_1&2))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::SetNodeFlagOpen(SharpNav.Node&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_SetNodeFlagOpen_m727984427980CF61D5B8610F3FF7D8553758E446 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// node.Flags |= NodeFlags.Open;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** L_0 = ___0_node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_1 = *((Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9**)L_0);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_2 = L_1;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___Flags_4;
|
|
NullCheck(L_2);
|
|
L_2->___Flags_4 = ((int32_t)((int32_t)L_3|1));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NavMeshQuery::SetNodeFlagClosed(SharpNav.Node&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshQuery_SetNodeFlagClosed_mACD538174081D501AB7E355086218D55A72B9A4C (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// node.Flags &= ~NodeFlags.Open;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** L_0 = ___0_node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_1 = *((Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9**)L_0);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_2 = L_1;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___Flags_4;
|
|
NullCheck(L_2);
|
|
L_2->___Flags_4 = ((int32_t)((int32_t)L_3&((int32_t)-2)));
|
|
// node.Flags |= NodeFlags.Closed;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9** L_4 = ___0_node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_5 = *((Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9**)L_4);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_6 = L_5;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___Flags_4;
|
|
NullCheck(L_6);
|
|
L_6->___Flags_4 = ((int32_t)((int32_t)L_7|2));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.NodeFlags SharpNav.NavMeshQuery::RemoveNodeFlagClosed(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavMeshQuery_RemoveNodeFlagClosed_mDE7ED34E72232971AC72D5AEA3A3F0361D451142 (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return node.Flags & ~NodeFlags.Closed;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1 = L_0->___Flags_4;
|
|
return (int32_t)(((int32_t)((int32_t)L_1&((int32_t)-3))));
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// Conversion methods for marshalling of: SharpNav.NavMeshQuery/QueryData
|
|
IL2CPP_EXTERN_C void QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshal_pinvoke(const QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6& unmarshaled, QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_pinvoke& marshaled)
|
|
{
|
|
Exception_t* ___LastBestNode_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'LastBestNode' of type 'QueryData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___LastBestNode_1Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshal_pinvoke_back(const QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_pinvoke& marshaled, QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6& unmarshaled)
|
|
{
|
|
Exception_t* ___LastBestNode_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'LastBestNode' of type 'QueryData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___LastBestNode_1Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: SharpNav.NavMeshQuery/QueryData
|
|
IL2CPP_EXTERN_C void QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshal_pinvoke_cleanup(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
// Conversion methods for marshalling of: SharpNav.NavMeshQuery/QueryData
|
|
IL2CPP_EXTERN_C void QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshal_com(const QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6& unmarshaled, QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_com& marshaled)
|
|
{
|
|
Exception_t* ___LastBestNode_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'LastBestNode' of type 'QueryData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___LastBestNode_1Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshal_com_back(const QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_com& marshaled, QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6& unmarshaled)
|
|
{
|
|
Exception_t* ___LastBestNode_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'LastBestNode' of type 'QueryData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___LastBestNode_1Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: SharpNav.NavMeshQuery/QueryData
|
|
IL2CPP_EXTERN_C void QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshal_com_cleanup(QueryData_tFF98F117B2D264A40EC2B87B6EF9FB0456CC05D6_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Single SharpNav.Node::get_Cost()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Node_get_Cost_m292EB0723F506344D745AA881B1E9971873E0CC5 (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return total;
|
|
float L_0 = __this->___total_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Node::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Node__ctor_mEEC72D8131A78C39E9E34E87E2E32A84DB8FA5AF (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int ParentIdx = 30; //index to parent node
|
|
__this->___ParentIdx_3 = ((int32_t)30);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.NodePool::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NodePool__ctor_mA13D578CFE1E15E3C3FB30B39765858885CA84D9 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_maxNodes, int32_t ___1_hashSize, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m0814AB5075ED6B9F033C2116D50A2DC8DC8DF54F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m0272462D39FB633159D6C89F72FA8BB514E2D8B7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public NodePool(int maxNodes, int hashSize)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.maxNodes = maxNodes;
|
|
int32_t L_0 = ___0_maxNodes;
|
|
__this->___maxNodes_2 = L_0;
|
|
// nodes = new List<Node>(maxNodes);
|
|
int32_t L_1 = ___0_maxNodes;
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_2 = (List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939*)il2cpp_codegen_object_new(List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m0272462D39FB633159D6C89F72FA8BB514E2D8B7(L_2, L_1, List_1__ctor_m0272462D39FB633159D6C89F72FA8BB514E2D8B7_RuntimeMethod_var);
|
|
__this->___nodes_0 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_0), (void*)L_2);
|
|
// nodeDict = new Dictionary<int, Node>(new IntNodeIdComparer(hashSize));
|
|
int32_t L_3 = ___1_hashSize;
|
|
IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D* L_4 = (IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D*)il2cpp_codegen_object_new(IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
IntNodeIdComparer__ctor_m5FB7C134FA22A832287865EAD261323499D6A548(L_4, L_3, NULL);
|
|
Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* L_5 = (Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00*)il2cpp_codegen_object_new(Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
Dictionary_2__ctor_m0814AB5075ED6B9F033C2116D50A2DC8DC8DF54F(L_5, L_4, Dictionary_2__ctor_m0814AB5075ED6B9F033C2116D50A2DC8DC8DF54F_RuntimeMethod_var);
|
|
__this->___nodeDict_1 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodeDict_1), (void*)L_5);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.NodePool::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NodePool_Clear_m791F99015B43610F9261189CFB5661DBC511668E (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Clear_mF48591DE3AC1CC42E833D719D05A580728F61FE3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mB923C63CBB254001A3638CFCD98ED55973FE6366_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// nodes.Clear();
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_0 = __this->___nodes_0;
|
|
NullCheck(L_0);
|
|
List_1_Clear_mB923C63CBB254001A3638CFCD98ED55973FE6366_inline(L_0, List_1_Clear_mB923C63CBB254001A3638CFCD98ED55973FE6366_RuntimeMethod_var);
|
|
// nodeDict.Clear();
|
|
Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* L_1 = __this->___nodeDict_1;
|
|
NullCheck(L_1);
|
|
Dictionary_2_Clear_mF48591DE3AC1CC42E833D719D05A580728F61FE3(L_1, Dictionary_2_Clear_mF48591DE3AC1CC42E833D719D05A580728F61FE3_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Node SharpNav.NodePool::FindNode(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* NodePool_FindNode_m5D282B3087A0628DA1C6E96D207240FC3601F092 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_id, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_0 = NULL;
|
|
{
|
|
// if (nodeDict.TryGetValue(id, out node))
|
|
Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* L_0 = __this->___nodeDict_1;
|
|
int32_t L_1 = ___0_id;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// return node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// return null;
|
|
return (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
}
|
|
}
|
|
// SharpNav.Node SharpNav.NodePool::GetNode(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* NodePool_GetNode_m8FEBD911DA79BCF22FD946358FE7A2041A709FA2 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_id, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m0B32233F837031C2F349BA82671AD99CEBA6A60F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m96D47E2C7B7E90F1FE9C68D874790D4F7B2BEB36_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_0 = NULL;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* V_1 = NULL;
|
|
{
|
|
// if (nodeDict.TryGetValue(id, out node))
|
|
Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* L_0 = __this->___nodeDict_1;
|
|
int32_t L_1 = ___0_id;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_m47B6A7C8D4A125F1311289D5025B5729521A5A5E_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// return node;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// if (nodes.Count >= maxNodes)
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_4 = __this->___nodes_0;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_inline(L_4, List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var);
|
|
int32_t L_6 = __this->___maxNodes_2;
|
|
if ((((int32_t)L_5) < ((int32_t)L_6)))
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// return null;
|
|
return (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// Node newNode = new Node();
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_7 = (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)il2cpp_codegen_object_new(Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
Node__ctor_mEEC72D8131A78C39E9E34E87E2E32A84DB8FA5AF(L_7, NULL);
|
|
V_1 = L_7;
|
|
// newNode.ParentIdx = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_8 = V_1;
|
|
NullCheck(L_8);
|
|
L_8->___ParentIdx_3 = 0;
|
|
// newNode.cost = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_9 = V_1;
|
|
NullCheck(L_9);
|
|
L_9->___cost_1 = (0.0f);
|
|
// newNode.total = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_10 = V_1;
|
|
NullCheck(L_10);
|
|
L_10->___total_2 = (0.0f);
|
|
// newNode.Id = id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_11 = V_1;
|
|
int32_t L_12 = ___0_id;
|
|
NullCheck(L_11);
|
|
L_11->___Id_5 = L_12;
|
|
// newNode.Flags = 0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_13 = V_1;
|
|
NullCheck(L_13);
|
|
L_13->___Flags_4 = 0;
|
|
// nodes.Add(newNode);
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_14 = __this->___nodes_0;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_15 = V_1;
|
|
NullCheck(L_14);
|
|
List_1_Add_m96D47E2C7B7E90F1FE9C68D874790D4F7B2BEB36_inline(L_14, L_15, List_1_Add_m96D47E2C7B7E90F1FE9C68D874790D4F7B2BEB36_RuntimeMethod_var);
|
|
// nodeDict.Add(id, newNode);
|
|
Dictionary_2_tB682F4157DB349092AE6022886F2B4FA0A579C00* L_16 = __this->___nodeDict_1;
|
|
int32_t L_17 = ___0_id;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_18 = V_1;
|
|
NullCheck(L_16);
|
|
Dictionary_2_Add_m0B32233F837031C2F349BA82671AD99CEBA6A60F(L_16, L_17, L_18, Dictionary_2_Add_m0B32233F837031C2F349BA82671AD99CEBA6A60F_RuntimeMethod_var);
|
|
// return newNode;
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_19 = V_1;
|
|
return L_19;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.NodePool::GetNodeIdx(SharpNav.Node)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NodePool_GetNodeIdx_m376598341EAB66B17D50AEA9538AC7830B582271 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (node == null)
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_0 = ___0_node;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// for (int i = 0; i < nodes.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0020;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (nodes[i] == node)
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_1 = __this->___nodes_0;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_3;
|
|
L_3 = List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0(L_1, L_2, List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0_RuntimeMethod_var);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_4 = ___0_node;
|
|
if ((!(((RuntimeObject*)(Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)L_3) == ((RuntimeObject*)(Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)L_4))))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// return i + 1;
|
|
int32_t L_5 = V_0;
|
|
return ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// for (int i = 0; i < nodes.Count; i++)
|
|
int32_t L_6 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// for (int i = 0; i < nodes.Count; i++)
|
|
int32_t L_7 = V_0;
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_8 = __this->___nodes_0;
|
|
NullCheck(L_8);
|
|
int32_t L_9;
|
|
L_9 = List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_inline(L_8, List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var);
|
|
if ((((int32_t)L_7) < ((int32_t)L_9)))
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// SharpNav.Node SharpNav.NodePool::GetNodeAtIdx(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* NodePool_GetNodeAtIdx_m2E2E6EACD874F32863E5F8FC79B62A904C2394F6 (NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D* __this, int32_t ___0_idx, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (idx <= 0 || idx > nodes.Count)
|
|
int32_t L_0 = ___0_idx;
|
|
if ((((int32_t)L_0) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___0_idx;
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_2 = __this->___nodes_0;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_inline(L_2, List_1_get_Count_m021DE7A653C90ED50862F5C6902CD5FF33AC225D_RuntimeMethod_var);
|
|
if ((((int32_t)L_1) <= ((int32_t)L_3)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// return null;
|
|
return (Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9*)NULL;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// return nodes[idx - 1];
|
|
List_1_tF3D063ACE44F7DB70528F5BF50F3EA2FED9FC939* L_4 = __this->___nodes_0;
|
|
int32_t L_5 = ___0_idx;
|
|
NullCheck(L_4);
|
|
Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9* L_6;
|
|
L_6 = List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0(L_4, ((int32_t)il2cpp_codegen_subtract(L_5, 1)), List_1_get_Item_m541BBFC0C2553AB02BD5F3BE42FBB81E35FBF9A0_RuntimeMethod_var);
|
|
return L_6;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.NodePool/IntNodeIdComparer::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IntNodeIdComparer__ctor_m5FB7C134FA22A832287865EAD261323499D6A548 (IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D* __this, int32_t ___0_hashSize, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public IntNodeIdComparer(int hashSize)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.hashSize = hashSize;
|
|
int32_t L_0 = ___0_hashSize;
|
|
__this->___hashSize_0 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.NodePool/IntNodeIdComparer::Equals(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntNodeIdComparer_Equals_mAFD3F29F022491AAE51CC3717C2ABDC42CAE90FD (IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D* __this, int32_t ___0_left, int32_t ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left == right;
|
|
int32_t L_0 = ___0_left;
|
|
int32_t L_1 = ___1_right;
|
|
return (bool)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.NodePool/IntNodeIdComparer::GetHashCode(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IntNodeIdComparer_GetHashCode_mF4FFF5A72E7DC4C067B703D0279DA171BAA11AEB (IntNodeIdComparer_t852417B49FC39533DC0830F3EE49577504AA629D* __this, int32_t ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// obj += ~(obj << 15);
|
|
int32_t L_0 = ___0_obj;
|
|
int32_t L_1 = ___0_obj;
|
|
___0_obj = ((int32_t)il2cpp_codegen_add(L_0, ((~((int32_t)(L_1<<((int32_t)15)))))));
|
|
// obj ^= obj >> 10;
|
|
int32_t L_2 = ___0_obj;
|
|
int32_t L_3 = ___0_obj;
|
|
___0_obj = ((int32_t)(L_2^((int32_t)(L_3>>((int32_t)10)))));
|
|
// obj += obj << 3;
|
|
int32_t L_4 = ___0_obj;
|
|
int32_t L_5 = ___0_obj;
|
|
___0_obj = ((int32_t)il2cpp_codegen_add(L_4, ((int32_t)(L_5<<3))));
|
|
// obj ^= obj >> 6;
|
|
int32_t L_6 = ___0_obj;
|
|
int32_t L_7 = ___0_obj;
|
|
___0_obj = ((int32_t)(L_6^((int32_t)(L_7>>6))));
|
|
// obj += ~(obj << 11);
|
|
int32_t L_8 = ___0_obj;
|
|
int32_t L_9 = ___0_obj;
|
|
___0_obj = ((int32_t)il2cpp_codegen_add(L_8, ((~((int32_t)(L_9<<((int32_t)11)))))));
|
|
// obj ^= obj >> 16;
|
|
int32_t L_10 = ___0_obj;
|
|
int32_t L_11 = ___0_obj;
|
|
___0_obj = ((int32_t)(L_10^((int32_t)(L_11>>((int32_t)16)))));
|
|
// return obj & (hashSize - 1);
|
|
int32_t L_12 = ___0_obj;
|
|
int32_t L_13 = __this->___hashSize_0;
|
|
return ((int32_t)(L_12&((int32_t)il2cpp_codegen_subtract(L_13, 1))));
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.PolyBounds::.ctor(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyBounds__ctor_mEFE21AD277C4E15328AF8BAC9D520617693C6CE5 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_min, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_max, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Min = min;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = ___0_min;
|
|
__this->___Min_0 = L_0;
|
|
// Max = max;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_1 = ___1_max;
|
|
__this->___Max_1 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void PolyBounds__ctor_mEFE21AD277C4E15328AF8BAC9D520617693C6CE5_AdjustorThunk (RuntimeObject* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_min, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_max, const RuntimeMethod* method)
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261*>(__this + _offset);
|
|
PolyBounds__ctor_mEFE21AD277C4E15328AF8BAC9D520617693C6CE5(_thisAdjusted, ___0_min, ___1_max, method);
|
|
}
|
|
// System.Boolean SharpNav.PolyBounds::Overlapping(SharpNav.PolyBounds&,SharpNav.PolyBounds&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_Overlapping_m0385E163B1053A07714751587321C848FAE701E2 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* ___0_a, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* ___1_b, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !(a.Min.X > b.Max.X || a.Max.X < b.Min.X
|
|
// || a.Min.Y > b.Max.Y || a.Max.Y < b.Min.Y
|
|
// || a.Min.Z > b.Max.Z || a.Max.Z < b.Min.Z);
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_0 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = (&L_0->___Min_0);
|
|
int32_t L_2 = L_1->___X_0;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_3 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_4 = (&L_3->___Max_1);
|
|
int32_t L_5 = L_4->___X_0;
|
|
if ((((int32_t)L_2) > ((int32_t)L_5)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_6 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_7 = (&L_6->___Max_1);
|
|
int32_t L_8 = L_7->___X_0;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_9 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_10 = (&L_9->___Min_0);
|
|
int32_t L_11 = L_10->___X_0;
|
|
if ((((int32_t)L_8) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_12 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_13 = (&L_12->___Min_0);
|
|
int32_t L_14 = L_13->___Y_1;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_15 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_16 = (&L_15->___Max_1);
|
|
int32_t L_17 = L_16->___Y_1;
|
|
if ((((int32_t)L_14) > ((int32_t)L_17)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_18 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_19 = (&L_18->___Max_1);
|
|
int32_t L_20 = L_19->___Y_1;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_21 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_22 = (&L_21->___Min_0);
|
|
int32_t L_23 = L_22->___Y_1;
|
|
if ((((int32_t)L_20) < ((int32_t)L_23)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_24 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_25 = (&L_24->___Min_0);
|
|
int32_t L_26 = L_25->___Z_2;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_27 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_28 = (&L_27->___Max_1);
|
|
int32_t L_29 = L_28->___Z_2;
|
|
if ((((int32_t)L_26) > ((int32_t)L_29)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_30 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_31 = (&L_30->___Max_1);
|
|
int32_t L_32 = L_31->___Z_2;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_33 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_34 = (&L_33->___Min_0);
|
|
int32_t L_35 = L_34->___Z_2;
|
|
return (bool)((((int32_t)((((int32_t)L_32) < ((int32_t)L_35))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyBounds::op_Equality(SharpNav.PolyBounds,SharpNav.PolyBounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_op_Equality_m706EE0FBF77704D2B3259A0B007870AF2ADC0578 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___0_left, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = PolyBounds_Equals_m5E75633F368B3E32B13B6428FC693780DDE41A0C((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyBounds::op_Inequality(SharpNav.PolyBounds,SharpNav.PolyBounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_op_Inequality_m2BF3FF608E2CEADDFC022359FB9EB2A3D5D94AC1 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___0_left, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !(left == right);
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 L_0 = ___0_left;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 L_1 = ___1_right;
|
|
bool L_2;
|
|
L_2 = PolyBounds_op_Equality_m706EE0FBF77704D2B3259A0B007870AF2ADC0578(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyBounds::Equals(SharpNav.PolyBounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_Equals_m5E75633F368B3E32B13B6428FC693780DDE41A0C (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Min == other.Min && Max == other.Max;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = __this->___Min_0;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 L_1 = ___0_other;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_2 = L_1.___Min_0;
|
|
bool L_3;
|
|
L_3 = PolyVertex_op_Equality_m7D6F2EBA891252DC922B76EDD0A1601C2803CB17(L_0, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_4 = __this->___Max_1;
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 L_5 = ___0_other;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_6 = L_5.___Max_1;
|
|
bool L_7;
|
|
L_7 = PolyVertex_op_Equality_m7D6F2EBA891252DC922B76EDD0A1601C2803CB17(L_4, L_6, NULL);
|
|
return L_7;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool PolyBounds_Equals_m5E75633F368B3E32B13B6428FC693780DDE41A0C_AdjustorThunk (RuntimeObject* __this, PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = PolyBounds_Equals_m5E75633F368B3E32B13B6428FC693780DDE41A0C(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.PolyBounds::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyBounds_Equals_m1896172D1FA1F4F139D6F7D28AA41B6CBD12F384 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void* L_1 = alloca(sizeof(Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208));
|
|
Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// PolyBounds? b = obj as PolyBounds?;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_0, Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208_il2cpp_TypeInfo_var)), Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208_il2cpp_TypeInfo_var, L_1);
|
|
V_0 = ((*(Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208*)((Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208*)(Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208*)L_1)));
|
|
// if (b.HasValue)
|
|
bool L_2;
|
|
L_2 = Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_inline((&V_0), Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(b.Value);
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 L_3;
|
|
L_3 = Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251((&V_0), Nullable_1_get_Value_mCA5861B1337426FF9BB502A579D0196CE0030251_RuntimeMethod_var);
|
|
bool L_4;
|
|
L_4 = PolyBounds_Equals_m5E75633F368B3E32B13B6428FC693780DDE41A0C(__this, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool PolyBounds_Equals_m1896172D1FA1F4F139D6F7D28AA41B6CBD12F384_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = PolyBounds_Equals_m1896172D1FA1F4F139D6F7D28AA41B6CBD12F384(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.PolyBounds::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyBounds_GetHashCode_mD30C3B4CB5D2AC66577BEF724F5C8774DEE6097A (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Min.GetHashCode() ^ Max.GetHashCode();
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = (&__this->___Min_0);
|
|
int32_t L_1;
|
|
L_1 = PolyVertex_GetHashCode_m9E76ECBCC360A706BCD83171B606737D62E4E2EC(L_0, NULL);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = (&__this->___Max_1);
|
|
int32_t L_3;
|
|
L_3 = PolyVertex_GetHashCode_m9E76ECBCC360A706BCD83171B606737D62E4E2EC(L_2, NULL);
|
|
return ((int32_t)(L_1^L_3));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t PolyBounds_GetHashCode_mD30C3B4CB5D2AC66577BEF724F5C8774DEE6097A_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = PolyBounds_GetHashCode_mD30C3B4CB5D2AC66577BEF724F5C8774DEE6097A(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String SharpNav.PolyBounds::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PolyBounds_ToString_mFE86BF70868EFCD089D06271DFC255A8ACA69AE7 (PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9691C4FD8A1F6B09DB1147CA32B442772FB46A1);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE166C9564FBDE461738077E3B1B506525EB6ACCC);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "[" + Min.ToString() + ", " + Max.ToString() + "]";
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
ArrayElementTypeCheck (L_1, _stringLiteralD9691C4FD8A1F6B09DB1147CA32B442772FB46A1);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralD9691C4FD8A1F6B09DB1147CA32B442772FB46A1);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_3 = (&__this->___Min_0);
|
|
String_t* L_4;
|
|
L_4 = PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11(L_3, NULL);
|
|
NullCheck(L_2);
|
|
ArrayElementTypeCheck (L_2, L_4);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_4);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_2;
|
|
NullCheck(L_5);
|
|
ArrayElementTypeCheck (L_5, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = L_5;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_7 = (&__this->___Max_1);
|
|
String_t* L_8;
|
|
L_8 = PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11(L_7, NULL);
|
|
NullCheck(L_6);
|
|
ArrayElementTypeCheck (L_6, L_8);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_8);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_9 = L_6;
|
|
NullCheck(L_9);
|
|
ArrayElementTypeCheck (L_9, _stringLiteralE166C9564FBDE461738077E3B1B506525EB6ACCC);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralE166C9564FBDE461738077E3B1B506525EB6ACCC);
|
|
String_t* L_10;
|
|
L_10 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_9, NULL);
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* PolyBounds_ToString_mFE86BF70868EFCD089D06271DFC255A8ACA69AE7_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = PolyBounds_ToString_mFE86BF70868EFCD089D06271DFC255A8ACA69AE7(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.PolyMesh::.ctor(SharpNav.ContourSet,SharpNav.NavMeshGenerationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh__ctor_mBB38C84DCDEBBEE3AC6E4F1944AF26F66C244A9E (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* ___0_contSet, NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* ___1_settings, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// : this(contSet, settings.CellSize, settings.CellHeight, 0, settings.VertsPerPoly)
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_0 = ___0_contSet;
|
|
NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* L_1 = ___1_settings;
|
|
NullCheck(L_1);
|
|
float L_2;
|
|
L_2 = NavMeshGenerationSettings_get_CellSize_mFF20B4412972B4ABB7CC750703346419F3677433_inline(L_1, NULL);
|
|
NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* L_3 = ___1_settings;
|
|
NullCheck(L_3);
|
|
float L_4;
|
|
L_4 = NavMeshGenerationSettings_get_CellHeight_m430E34FA32288DE4C407CC897037C65A42828D31_inline(L_3, NULL);
|
|
NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* L_5 = ___1_settings;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = NavMeshGenerationSettings_get_VertsPerPoly_m85E5AE5F164F11B1622A89BA3572A05B5A3C91BE_inline(L_5, NULL);
|
|
PolyMesh__ctor_mE835D4D3F59D987F9C3F7FD35C4EB7FA0749367B(__this, L_0, L_2, L_4, 0, L_6, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh::.ctor(SharpNav.ContourSet,System.Single,System.Single,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh__ctor_mE835D4D3F59D987F9C3F7FD35C4EB7FA0749367B (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* ___0_contSet, float ___1_cellSize, float ___2_cellHeight, int32_t ___3_borderSize, int32_t ___4_numVertsPerPoly, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_t4FA063BFCA025A8B3C50C3C11FBC753055F94E61_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m6158FC7DD991D6A7EA164B04D9DD674CDC762620_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mA09EF4722BC67430E3C0F4B5CDEDB023B5FEB350_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* V_3 = NULL;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* V_4 = NULL;
|
|
Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* V_5 = NULL;
|
|
Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* V_6 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_7 = NULL;
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* V_8 = NULL;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* V_9 = NULL;
|
|
RuntimeObject* V_10 = NULL;
|
|
int32_t V_11 = 0;
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* V_12 = NULL;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
int32_t V_17 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_21 = NULL;
|
|
int32_t V_22 = 0;
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
int32_t V_25 = 0;
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
int32_t V_32 = 0;
|
|
int32_t V_33 = 0;
|
|
int32_t V_34 = 0;
|
|
int32_t V_35 = 0;
|
|
int32_t V_36 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_37 = NULL;
|
|
int32_t V_38 = 0;
|
|
int32_t V_39 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_40 = NULL;
|
|
int32_t V_41 = 0;
|
|
int32_t V_42 = 0;
|
|
int32_t V_43 = 0;
|
|
int32_t V_44 = 0;
|
|
{
|
|
// public PolyMesh(ContourSet contSet, float cellSize, float cellHeight, int borderSize, int numVertsPerPoly)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.bounds = contSet.Bounds;
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_0 = ___0_contSet;
|
|
NullCheck(L_0);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_1;
|
|
L_1 = ContourSet_get_Bounds_m3134B9AB97FF4CDDABE1BFC575451BD9135EB283_inline(L_0, NULL);
|
|
__this->___bounds_6 = L_1;
|
|
// this.cellSize = cellSize;
|
|
float L_2 = ___1_cellSize;
|
|
__this->___cellSize_7 = L_2;
|
|
// this.cellHeight = cellHeight;
|
|
float L_3 = ___2_cellHeight;
|
|
__this->___cellHeight_8 = L_3;
|
|
// this.borderSize = borderSize;
|
|
int32_t L_4 = ___3_borderSize;
|
|
__this->___borderSize_9 = L_4;
|
|
// int maxVertices = 0;
|
|
V_0 = 0;
|
|
// int maxTris = 0;
|
|
V_1 = 0;
|
|
// int maxVertsPerCont = 0;
|
|
V_2 = 0;
|
|
// foreach (var cont in contSet)
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_5 = ___0_contSet;
|
|
NullCheck(L_5);
|
|
RuntimeObject* L_6;
|
|
L_6 = ContourSet_GetEnumerator_mBD959430410633D8009B3B25F5F73A08A4F412AA(L_5, NULL);
|
|
V_10 = L_6;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_006d:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
RuntimeObject* L_7 = V_10;
|
|
if (!L_7)
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_8 = V_10;
|
|
NullCheck(L_8);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_8);
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_0062_1;
|
|
}
|
|
|
|
IL_0038_1:
|
|
{
|
|
// foreach (var cont in contSet)
|
|
RuntimeObject* L_9 = V_10;
|
|
NullCheck(L_9);
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_10;
|
|
L_10 = InterfaceFuncInvoker0< Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<SharpNav.Contour>::get_Current() */, IEnumerator_1_t4FA063BFCA025A8B3C50C3C11FBC753055F94E61_il2cpp_TypeInfo_var, L_9);
|
|
// int vertCount = cont.Vertices.Length;
|
|
NullCheck(L_10);
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_11;
|
|
L_11 = Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline(L_10, NULL);
|
|
NullCheck(L_11);
|
|
V_11 = ((int32_t)(((RuntimeArray*)L_11)->max_length));
|
|
// if (vertCount < 3)
|
|
int32_t L_12 = V_11;
|
|
if ((((int32_t)L_12) < ((int32_t)3)))
|
|
{
|
|
goto IL_0062_1;
|
|
}
|
|
}
|
|
{
|
|
// maxVertices += vertCount;
|
|
int32_t L_13 = V_0;
|
|
int32_t L_14 = V_11;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_13, L_14));
|
|
// maxTris += vertCount - 2;
|
|
int32_t L_15 = V_1;
|
|
int32_t L_16 = V_11;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_15, ((int32_t)il2cpp_codegen_subtract(L_16, 2))));
|
|
// maxVertsPerCont = Math.Max(maxVertsPerCont, vertCount);
|
|
int32_t L_17 = V_2;
|
|
int32_t L_18 = V_11;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_19;
|
|
L_19 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_17, L_18, NULL);
|
|
V_2 = L_19;
|
|
}
|
|
|
|
IL_0062_1:
|
|
{
|
|
// foreach (var cont in contSet)
|
|
RuntimeObject* L_20 = V_10;
|
|
NullCheck(L_20);
|
|
bool L_21;
|
|
L_21 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_20);
|
|
if (L_21)
|
|
{
|
|
goto IL_0038_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0079;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0079:
|
|
{
|
|
// var verts = new List<PolyVertex>(maxVertices);
|
|
int32_t L_22 = V_0;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_23 = (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*)il2cpp_codegen_object_new(List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05_il2cpp_TypeInfo_var);
|
|
NullCheck(L_23);
|
|
List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022(L_23, L_22, List_1__ctor_mA0E2C225828B8D29E597ABC1A485218FA4592022_RuntimeMethod_var);
|
|
V_3 = L_23;
|
|
// var polys = new List<Polygon>(maxTris);
|
|
int32_t L_24 = V_1;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_25 = (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*)il2cpp_codegen_object_new(List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_25);
|
|
List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B(L_25, L_24, List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B_RuntimeMethod_var);
|
|
V_4 = L_25;
|
|
// Queue<int> vertRemoveQueue = new Queue<int>(maxVertices);
|
|
int32_t L_26 = V_0;
|
|
Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* L_27 = (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E*)il2cpp_codegen_object_new(Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_27);
|
|
Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D(L_27, L_26, Queue_1__ctor_mCFBB78D8B30A0F7F62B7B13B48794314CF472D4D_RuntimeMethod_var);
|
|
V_5 = L_27;
|
|
// this.numVertsPerPoly = numVertsPerPoly;
|
|
int32_t L_28 = ___4_numVertsPerPoly;
|
|
__this->___numVertsPerPoly_5 = L_28;
|
|
// var vertDict = new Dictionary<PolyVertex, int>(new PolyVertex.RoughYEqualityComparer(2));
|
|
RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA* L_29 = (RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA*)il2cpp_codegen_object_new(RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA_il2cpp_TypeInfo_var);
|
|
NullCheck(L_29);
|
|
RoughYEqualityComparer__ctor_mF682128888E82DC9FD3B8A49AFE6F5B97F7EA7AC(L_29, 2, NULL);
|
|
Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* L_30 = (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739*)il2cpp_codegen_object_new(Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739_il2cpp_TypeInfo_var);
|
|
NullCheck(L_30);
|
|
Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7(L_30, L_29, Dictionary_2__ctor_m8201A7141A4E425276BBE584AE7F212891D943F7_RuntimeMethod_var);
|
|
V_6 = L_30;
|
|
// int[] indices = new int[maxVertsPerCont]; //keep track of vertex hash codes
|
|
int32_t L_31 = V_2;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_32 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_31);
|
|
V_7 = L_32;
|
|
// Triangle[] tris = new Triangle[maxVertsPerCont];
|
|
int32_t L_33 = V_2;
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_34 = (TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC*)(TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC*)SZArrayNew(TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC_il2cpp_TypeInfo_var, (uint32_t)L_33);
|
|
V_8 = L_34;
|
|
// List<Polygon> contPolys = new List<Polygon>(maxVertsPerCont + 1);
|
|
int32_t L_35 = V_2;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_36 = (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*)il2cpp_codegen_object_new(List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_36);
|
|
List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B(L_36, ((int32_t)il2cpp_codegen_add(L_35, 1)), List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B_RuntimeMethod_var);
|
|
V_9 = L_36;
|
|
// foreach (Contour cont in contSet)
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_37 = ___0_contSet;
|
|
NullCheck(L_37);
|
|
RuntimeObject* L_38;
|
|
L_38 = ContourSet_GetEnumerator_mBD959430410633D8009B3B25F5F73A08A4F412AA(L_37, NULL);
|
|
V_10 = L_38;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_03b6:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
RuntimeObject* L_39 = V_10;
|
|
if (!L_39)
|
|
{
|
|
goto IL_03c1;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_40 = V_10;
|
|
NullCheck(L_40);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_40);
|
|
}
|
|
|
|
IL_03c1:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_03a8_1;
|
|
}
|
|
|
|
IL_00cc_1:
|
|
{
|
|
// foreach (Contour cont in contSet)
|
|
RuntimeObject* L_41 = V_10;
|
|
NullCheck(L_41);
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_42;
|
|
L_42 = InterfaceFuncInvoker0< Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<SharpNav.Contour>::get_Current() */, IEnumerator_1_t4FA063BFCA025A8B3C50C3C11FBC753055F94E61_il2cpp_TypeInfo_var, L_41);
|
|
V_12 = L_42;
|
|
// if (cont.IsNull)
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_43 = V_12;
|
|
NullCheck(L_43);
|
|
bool L_44;
|
|
L_44 = Contour_get_IsNull_mE141724B0AEB1ED762849F3FFA5F9E0AE989E7D0(L_43, NULL);
|
|
if (L_44)
|
|
{
|
|
goto IL_03a8_1;
|
|
}
|
|
}
|
|
{
|
|
// PolyVertex[] vertices = new PolyVertex[cont.Vertices.Length];
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_45 = V_12;
|
|
NullCheck(L_45);
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_46;
|
|
L_46 = Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline(L_45, NULL);
|
|
NullCheck(L_46);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_47 = (PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397*)(PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397*)SZArrayNew(PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_46)->max_length)));
|
|
V_13 = L_47;
|
|
// for (int i = 0; i < cont.Vertices.Length; i++)
|
|
V_15 = 0;
|
|
goto IL_0136_1;
|
|
}
|
|
|
|
IL_00f6_1:
|
|
{
|
|
// var cv = cont.Vertices[i];
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_48 = V_12;
|
|
NullCheck(L_48);
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_49;
|
|
L_49 = Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline(L_48, NULL);
|
|
int32_t L_50 = V_15;
|
|
NullCheck(L_49);
|
|
int32_t L_51 = L_50;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
|
|
V_16 = L_52;
|
|
// vertices[i] = new PolyVertex(cv.X, cv.Y, cv.Z);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_53 = V_13;
|
|
int32_t L_54 = V_15;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD L_55 = V_16;
|
|
int32_t L_56 = L_55.___X_0;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD L_57 = V_16;
|
|
int32_t L_58 = L_57.___Y_1;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD L_59 = V_16;
|
|
int32_t L_60 = L_59.___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_61;
|
|
memset((&L_61), 0, sizeof(L_61));
|
|
PolyVertex__ctor_m91E8C7EBFFEA955B19DAECF5D85F233A36048F8C((&L_61), L_56, L_58, L_60, /*hidden argument*/NULL);
|
|
NullCheck(L_53);
|
|
(L_53)->SetAt(static_cast<il2cpp_array_size_t>(L_54), (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA)L_61);
|
|
// indices[i] = i;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_62 = V_7;
|
|
int32_t L_63 = V_15;
|
|
int32_t L_64 = V_15;
|
|
NullCheck(L_62);
|
|
(L_62)->SetAt(static_cast<il2cpp_array_size_t>(L_63), (int32_t)L_64);
|
|
// for (int i = 0; i < cont.Vertices.Length; i++)
|
|
int32_t L_65 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_65, 1));
|
|
}
|
|
|
|
IL_0136_1:
|
|
{
|
|
// for (int i = 0; i < cont.Vertices.Length; i++)
|
|
int32_t L_66 = V_15;
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_67 = V_12;
|
|
NullCheck(L_67);
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_68;
|
|
L_68 = Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline(L_67, NULL);
|
|
NullCheck(L_68);
|
|
if ((((int32_t)L_66) < ((int32_t)((int32_t)(((RuntimeArray*)L_68)->max_length)))))
|
|
{
|
|
goto IL_00f6_1;
|
|
}
|
|
}
|
|
{
|
|
// int ntris = Triangulate(vertices, indices, tris);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_69 = V_13;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_70 = V_7;
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_71 = V_8;
|
|
int32_t L_72;
|
|
L_72 = PolyMesh_Triangulate_mC21B4661AD6338DB3EBDFDBD88263007F3FCAC05(L_69, L_70, L_71, NULL);
|
|
V_14 = L_72;
|
|
// if (ntris <= 0) //TODO notify user when this happens. Logging?
|
|
int32_t L_73 = V_14;
|
|
if ((((int32_t)L_73) > ((int32_t)0)))
|
|
{
|
|
goto IL_015a_1;
|
|
}
|
|
}
|
|
{
|
|
// ntris = -ntris;
|
|
int32_t L_74 = V_14;
|
|
V_14 = ((-L_74));
|
|
}
|
|
|
|
IL_015a_1:
|
|
{
|
|
// for (int i = 0; i < cont.Vertices.Length; i++)
|
|
V_17 = 0;
|
|
goto IL_01aa_1;
|
|
}
|
|
|
|
IL_015f_1:
|
|
{
|
|
// var cv = cont.Vertices[i];
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_75 = V_12;
|
|
NullCheck(L_75);
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_76;
|
|
L_76 = Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline(L_75, NULL);
|
|
int32_t L_77 = V_17;
|
|
NullCheck(L_76);
|
|
int32_t L_78 = L_77;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD L_79 = (L_76)->GetAt(static_cast<il2cpp_array_size_t>(L_78));
|
|
// var pv = vertices[i];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_80 = V_13;
|
|
int32_t L_81 = V_17;
|
|
NullCheck(L_80);
|
|
int32_t L_82 = L_81;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_83 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
|
|
V_18 = L_83;
|
|
// indices[i] = AddVertex(vertDict, pv, verts);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_84 = V_7;
|
|
int32_t L_85 = V_17;
|
|
Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* L_86 = V_6;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_87 = V_18;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_88 = V_3;
|
|
int32_t L_89;
|
|
L_89 = PolyMesh_AddVertex_m5A1A539B2261FFAC55A120F7AE77CFD9589AEFA2(L_86, L_87, L_88, NULL);
|
|
NullCheck(L_84);
|
|
(L_84)->SetAt(static_cast<il2cpp_array_size_t>(L_85), (int32_t)L_89);
|
|
// if (RegionId.HasFlags(cv.RegionId, RegionFlags.VertexBorder))
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_90 = L_79.___RegionId_3;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_91;
|
|
L_91 = RegionId_HasFlags_mC8E454383DD8FE0352AD73E402D93C88FAC651B7(L_90, ((int32_t)1073741824), NULL);
|
|
if (!L_91)
|
|
{
|
|
goto IL_01a4_1;
|
|
}
|
|
}
|
|
{
|
|
// vertRemoveQueue.Enqueue(indices[i]);
|
|
Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* L_92 = V_5;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_93 = V_7;
|
|
int32_t L_94 = V_17;
|
|
NullCheck(L_93);
|
|
int32_t L_95 = L_94;
|
|
int32_t L_96 = (L_93)->GetAt(static_cast<il2cpp_array_size_t>(L_95));
|
|
NullCheck(L_92);
|
|
Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A(L_92, L_96, Queue_1_Enqueue_mD0BFD1A401EF2D3489D09B60C30E3468601BBA0A_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01a4_1:
|
|
{
|
|
// for (int i = 0; i < cont.Vertices.Length; i++)
|
|
int32_t L_97 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_97, 1));
|
|
}
|
|
|
|
IL_01aa_1:
|
|
{
|
|
// for (int i = 0; i < cont.Vertices.Length; i++)
|
|
int32_t L_98 = V_17;
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_99 = V_12;
|
|
NullCheck(L_99);
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_100;
|
|
L_100 = Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline(L_99, NULL);
|
|
NullCheck(L_100);
|
|
if ((((int32_t)L_98) < ((int32_t)((int32_t)(((RuntimeArray*)L_100)->max_length)))))
|
|
{
|
|
goto IL_015f_1;
|
|
}
|
|
}
|
|
{
|
|
// contPolys.Clear();
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_101 = V_9;
|
|
NullCheck(L_101);
|
|
List_1_Clear_m6158FC7DD991D6A7EA164B04D9DD674CDC762620_inline(L_101, List_1_Clear_m6158FC7DD991D6A7EA164B04D9DD674CDC762620_RuntimeMethod_var);
|
|
// for (int i = 0; i < ntris; i++)
|
|
V_19 = 0;
|
|
goto IL_026f_1;
|
|
}
|
|
|
|
IL_01c6_1:
|
|
{
|
|
// Triangle ti = tris[i];
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_102 = V_8;
|
|
int32_t L_103 = V_19;
|
|
NullCheck(L_102);
|
|
int32_t L_104 = L_103;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
|
|
V_20 = L_105;
|
|
// if (ti.Index0 == ti.Index1
|
|
// || ti.Index0 == ti.Index2
|
|
// || ti.Index1 == ti.Index2)
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_106 = V_20;
|
|
int32_t L_107 = L_106.___Index0_0;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_108 = V_20;
|
|
int32_t L_109 = L_108.___Index1_1;
|
|
if ((((int32_t)L_107) == ((int32_t)L_109)))
|
|
{
|
|
goto IL_0269_1;
|
|
}
|
|
}
|
|
{
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_110 = V_20;
|
|
int32_t L_111 = L_110.___Index0_0;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_112 = V_20;
|
|
int32_t L_113 = L_112.___Index2_2;
|
|
if ((((int32_t)L_111) == ((int32_t)L_113)))
|
|
{
|
|
goto IL_0269_1;
|
|
}
|
|
}
|
|
{
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_114 = V_20;
|
|
int32_t L_115 = L_114.___Index1_1;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_116 = V_20;
|
|
int32_t L_117 = L_116.___Index2_2;
|
|
if ((((int32_t)L_115) == ((int32_t)L_117)))
|
|
{
|
|
goto IL_0269_1;
|
|
}
|
|
}
|
|
{
|
|
// Polygon p = new Polygon(numVertsPerPoly, Area.Null, RegionId.Null, 0);
|
|
int32_t L_118 = ___4_numVertsPerPoly;
|
|
il2cpp_codegen_runtime_class_init_inline(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_119 = ((Area_t9E8E008D1CF28697728310B3039944F3C2777E47_StaticFields*)il2cpp_codegen_static_fields_for(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var))->___Null_0;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_120 = ((RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_StaticFields*)il2cpp_codegen_static_fields_for(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var))->___Null_0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_121 = (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF*)il2cpp_codegen_object_new(Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_121);
|
|
Polygon__ctor_m80D9008B7773671CC0CACFFE616B47B28C449A62(L_121, L_118, L_119, L_120, 0, NULL);
|
|
V_21 = L_121;
|
|
// p.Vertices[0] = RemoveDiagonalFlag(indices[ti.Index0]);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_122 = V_21;
|
|
NullCheck(L_122);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_123;
|
|
L_123 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_122, NULL);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_124 = V_7;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_125 = V_20;
|
|
int32_t L_126 = L_125.___Index0_0;
|
|
NullCheck(L_124);
|
|
int32_t L_127 = L_126;
|
|
int32_t L_128 = (L_124)->GetAt(static_cast<il2cpp_array_size_t>(L_127));
|
|
int32_t L_129;
|
|
L_129 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_128, NULL);
|
|
NullCheck(L_123);
|
|
(L_123)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)L_129);
|
|
// p.Vertices[1] = RemoveDiagonalFlag(indices[ti.Index1]);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_130 = V_21;
|
|
NullCheck(L_130);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_131;
|
|
L_131 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_130, NULL);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_132 = V_7;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_133 = V_20;
|
|
int32_t L_134 = L_133.___Index1_1;
|
|
NullCheck(L_132);
|
|
int32_t L_135 = L_134;
|
|
int32_t L_136 = (L_132)->GetAt(static_cast<il2cpp_array_size_t>(L_135));
|
|
int32_t L_137;
|
|
L_137 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_136, NULL);
|
|
NullCheck(L_131);
|
|
(L_131)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)L_137);
|
|
// p.Vertices[2] = RemoveDiagonalFlag(indices[ti.Index2]);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_138 = V_21;
|
|
NullCheck(L_138);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_139;
|
|
L_139 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_138, NULL);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_140 = V_7;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_141 = V_20;
|
|
int32_t L_142 = L_141.___Index2_2;
|
|
NullCheck(L_140);
|
|
int32_t L_143 = L_142;
|
|
int32_t L_144 = (L_140)->GetAt(static_cast<il2cpp_array_size_t>(L_143));
|
|
int32_t L_145;
|
|
L_145 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_144, NULL);
|
|
NullCheck(L_139);
|
|
(L_139)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)L_145);
|
|
// contPolys.Add(p);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_146 = V_9;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_147 = V_21;
|
|
NullCheck(L_146);
|
|
List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_inline(L_146, L_147, List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0269_1:
|
|
{
|
|
// for (int i = 0; i < ntris; i++)
|
|
int32_t L_148 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_148, 1));
|
|
}
|
|
|
|
IL_026f_1:
|
|
{
|
|
// for (int i = 0; i < ntris; i++)
|
|
int32_t L_149 = V_19;
|
|
int32_t L_150 = V_14;
|
|
if ((((int32_t)L_149) < ((int32_t)L_150)))
|
|
{
|
|
goto IL_01c6_1;
|
|
}
|
|
}
|
|
{
|
|
// if (contPolys.Count == 0)
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_151 = V_9;
|
|
NullCheck(L_151);
|
|
int32_t L_152;
|
|
L_152 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_151, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if (!L_152)
|
|
{
|
|
goto IL_03a8_1;
|
|
}
|
|
}
|
|
{
|
|
// if (numVertsPerPoly > 3)
|
|
int32_t L_153 = ___4_numVertsPerPoly;
|
|
if ((((int32_t)L_153) <= ((int32_t)3)))
|
|
{
|
|
goto IL_0351_1;
|
|
}
|
|
}
|
|
|
|
IL_028c_1:
|
|
{
|
|
// int bestMergeVal = 0;
|
|
V_22 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEdgeA = 0, bestEdgeB = 0;
|
|
V_23 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEdgeA = 0, bestEdgeB = 0;
|
|
V_24 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEdgeA = 0, bestEdgeB = 0;
|
|
V_25 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEdgeA = 0, bestEdgeB = 0;
|
|
V_26 = 0;
|
|
// for (int i = 0; i < contPolys.Count - 1; i++)
|
|
V_27 = 0;
|
|
goto IL_02f9_1;
|
|
}
|
|
|
|
IL_02a0_1:
|
|
{
|
|
// int pj = i;
|
|
int32_t L_154 = V_27;
|
|
V_28 = L_154;
|
|
// for (int j = i + 1; j < contPolys.Count; j++)
|
|
int32_t L_155 = V_27;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_155, 1));
|
|
goto IL_02e8_1;
|
|
}
|
|
|
|
IL_02ac_1:
|
|
{
|
|
// int pk = j;
|
|
int32_t L_156 = V_29;
|
|
V_30 = L_156;
|
|
// int ea = 0, eb = 0;
|
|
V_31 = 0;
|
|
// int ea = 0, eb = 0;
|
|
V_32 = 0;
|
|
// int v = GetPolyMergeValue(contPolys, pj, pk, verts, out ea, out eb);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_157 = V_9;
|
|
int32_t L_158 = V_28;
|
|
int32_t L_159 = V_30;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_160 = V_3;
|
|
int32_t L_161;
|
|
L_161 = PolyMesh_GetPolyMergeValue_m0C4B4D1CD0ED64EDAD9FC0F9B07F1EDC2DDC9AAC(L_157, L_158, L_159, L_160, (&V_31), (&V_32), NULL);
|
|
V_33 = L_161;
|
|
// if (v > bestMergeVal)
|
|
int32_t L_162 = V_33;
|
|
int32_t L_163 = V_22;
|
|
if ((((int32_t)L_162) <= ((int32_t)L_163)))
|
|
{
|
|
goto IL_02e2_1;
|
|
}
|
|
}
|
|
{
|
|
// bestMergeVal = v;
|
|
int32_t L_164 = V_33;
|
|
V_22 = L_164;
|
|
// bestPolyA = i;
|
|
int32_t L_165 = V_27;
|
|
V_23 = L_165;
|
|
// bestPolyB = j;
|
|
int32_t L_166 = V_29;
|
|
V_24 = L_166;
|
|
// bestEdgeA = ea;
|
|
int32_t L_167 = V_31;
|
|
V_25 = L_167;
|
|
// bestEdgeB = eb;
|
|
int32_t L_168 = V_32;
|
|
V_26 = L_168;
|
|
}
|
|
|
|
IL_02e2_1:
|
|
{
|
|
// for (int j = i + 1; j < contPolys.Count; j++)
|
|
int32_t L_169 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_169, 1));
|
|
}
|
|
|
|
IL_02e8_1:
|
|
{
|
|
// for (int j = i + 1; j < contPolys.Count; j++)
|
|
int32_t L_170 = V_29;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_171 = V_9;
|
|
NullCheck(L_171);
|
|
int32_t L_172;
|
|
L_172 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_171, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_170) < ((int32_t)L_172)))
|
|
{
|
|
goto IL_02ac_1;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < contPolys.Count - 1; i++)
|
|
int32_t L_173 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_173, 1));
|
|
}
|
|
|
|
IL_02f9_1:
|
|
{
|
|
// for (int i = 0; i < contPolys.Count - 1; i++)
|
|
int32_t L_174 = V_27;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_175 = V_9;
|
|
NullCheck(L_175);
|
|
int32_t L_176;
|
|
L_176 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_175, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_174) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_176, 1)))))
|
|
{
|
|
goto IL_02a0_1;
|
|
}
|
|
}
|
|
{
|
|
// if (bestMergeVal > 0)
|
|
int32_t L_177 = V_22;
|
|
if ((((int32_t)L_177) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0351_1;
|
|
}
|
|
}
|
|
{
|
|
// int pa = bestPolyA;
|
|
int32_t L_178 = V_23;
|
|
V_34 = L_178;
|
|
// int pb = bestPolyB;
|
|
int32_t L_179 = V_24;
|
|
V_35 = L_179;
|
|
// MergePolys(contPolys, pa, pb, bestEdgeA, bestEdgeB);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_180 = V_9;
|
|
int32_t L_181 = V_34;
|
|
int32_t L_182 = V_35;
|
|
int32_t L_183 = V_25;
|
|
int32_t L_184 = V_26;
|
|
PolyMesh_MergePolys_m2FFE2F7DBB94B76BBF43ACFA07DE2F09F4D7D957(__this, L_180, L_181, L_182, L_183, L_184, NULL);
|
|
// contPolys[pb] = contPolys[contPolys.Count - 1];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_185 = V_9;
|
|
int32_t L_186 = V_35;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_187 = V_9;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_188 = V_9;
|
|
NullCheck(L_188);
|
|
int32_t L_189;
|
|
L_189 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_188, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
NullCheck(L_187);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_190;
|
|
L_190 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_187, ((int32_t)il2cpp_codegen_subtract(L_189, 1)), List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_185);
|
|
List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939(L_185, L_186, L_190, List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939_RuntimeMethod_var);
|
|
// contPolys.RemoveAt(contPolys.Count - 1);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_191 = V_9;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_192 = V_9;
|
|
NullCheck(L_192);
|
|
int32_t L_193;
|
|
L_193 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_192, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
NullCheck(L_191);
|
|
List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D(L_191, ((int32_t)il2cpp_codegen_subtract(L_193, 1)), List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D_RuntimeMethod_var);
|
|
goto IL_028c_1;
|
|
}
|
|
|
|
IL_0351_1:
|
|
{
|
|
// for (int i = 0; i < contPolys.Count; i++)
|
|
V_36 = 0;
|
|
goto IL_039d_1;
|
|
}
|
|
|
|
IL_0356_1:
|
|
{
|
|
// Polygon p = contPolys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_194 = V_9;
|
|
int32_t L_195 = V_36;
|
|
NullCheck(L_194);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_196;
|
|
L_196 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_194, L_195, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
// Polygon p2 = new Polygon(numVertsPerPoly, cont.Area, cont.RegionId, 0);
|
|
int32_t L_197 = ___4_numVertsPerPoly;
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_198 = V_12;
|
|
NullCheck(L_198);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_199;
|
|
L_199 = Contour_get_Area_mA7438872D999F0B590565C4CEF6D5430CCE83D9F_inline(L_198, NULL);
|
|
Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* L_200 = V_12;
|
|
NullCheck(L_200);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_201;
|
|
L_201 = Contour_get_RegionId_mE20B6B5BB7A3257D323FA6A26CCCC2B19ACE5AF7_inline(L_200, NULL);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_202 = (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF*)il2cpp_codegen_object_new(Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_202);
|
|
Polygon__ctor_m80D9008B7773671CC0CACFFE616B47B28C449A62(L_202, L_197, L_199, L_201, 0, NULL);
|
|
V_37 = L_202;
|
|
// Buffer.BlockCopy(p.Vertices, 0, p2.Vertices, 0, numVertsPerPoly * sizeof(int));
|
|
NullCheck(L_196);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_203;
|
|
L_203 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_196, NULL);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_204 = V_37;
|
|
NullCheck(L_204);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_205;
|
|
L_205 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_204, NULL);
|
|
int32_t L_206 = ___4_numVertsPerPoly;
|
|
Buffer_BlockCopy_m2F7BC0C5BA97C500E3F87D5008718F797E02B358((RuntimeArray*)L_203, 0, (RuntimeArray*)L_205, 0, ((int32_t)il2cpp_codegen_multiply(L_206, 4)), NULL);
|
|
// polys.Add(p2);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_207 = V_4;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_208 = V_37;
|
|
NullCheck(L_207);
|
|
List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_inline(L_207, L_208, List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_RuntimeMethod_var);
|
|
// for (int i = 0; i < contPolys.Count; i++)
|
|
int32_t L_209 = V_36;
|
|
V_36 = ((int32_t)il2cpp_codegen_add(L_209, 1));
|
|
}
|
|
|
|
IL_039d_1:
|
|
{
|
|
// for (int i = 0; i < contPolys.Count; i++)
|
|
int32_t L_210 = V_36;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_211 = V_9;
|
|
NullCheck(L_211);
|
|
int32_t L_212;
|
|
L_212 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_211, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_210) < ((int32_t)L_212)))
|
|
{
|
|
goto IL_0356_1;
|
|
}
|
|
}
|
|
|
|
IL_03a8_1:
|
|
{
|
|
// foreach (Contour cont in contSet)
|
|
RuntimeObject* L_213 = V_10;
|
|
NullCheck(L_213);
|
|
bool L_214;
|
|
L_214 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_213);
|
|
if (L_214)
|
|
{
|
|
goto IL_00cc_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_03e1;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_03c2:
|
|
{
|
|
// int i = vertRemoveQueue.Dequeue();
|
|
Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* L_215 = V_5;
|
|
NullCheck(L_215);
|
|
int32_t L_216;
|
|
L_216 = Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650(L_215, Queue_1_Dequeue_mF8CBF6CA268A863994D198E7FB69116D39C9D650_RuntimeMethod_var);
|
|
V_38 = L_216;
|
|
// if (CanRemoveVertex(polys, i))
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_217 = V_4;
|
|
int32_t L_218 = V_38;
|
|
bool L_219;
|
|
L_219 = PolyMesh_CanRemoveVertex_mA29D7BBA0D05DE2809987283B1C6D816455CEB5C(L_217, L_218, NULL);
|
|
if (!L_219)
|
|
{
|
|
goto IL_03e1;
|
|
}
|
|
}
|
|
{
|
|
// RemoveVertex(verts, polys, i);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_220 = V_3;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_221 = V_4;
|
|
int32_t L_222 = V_38;
|
|
PolyMesh_RemoveVertex_m511C9D9AFEE151207F0359448711EAF08486B904(__this, L_220, L_221, L_222, NULL);
|
|
}
|
|
|
|
IL_03e1:
|
|
{
|
|
// while (vertRemoveQueue.Count > 0)
|
|
Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* L_223 = V_5;
|
|
NullCheck(L_223);
|
|
int32_t L_224;
|
|
L_224 = Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_inline(L_223, Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_RuntimeMethod_var);
|
|
if ((((int32_t)L_224) > ((int32_t)0)))
|
|
{
|
|
goto IL_03c2;
|
|
}
|
|
}
|
|
{
|
|
// BuildMeshAdjacency(verts, polys, numVertsPerPoly);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_225 = V_3;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_226 = V_4;
|
|
int32_t L_227 = ___4_numVertsPerPoly;
|
|
PolyMesh_BuildMeshAdjacency_m026DF8B92B1699C55B0A9B85A0EBECE38C0276A7(L_225, L_226, L_227, NULL);
|
|
// if (this.borderSize > 0)
|
|
int32_t L_228 = __this->___borderSize_9;
|
|
if ((((int32_t)L_228) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0568;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_39 = 0;
|
|
goto IL_055a;
|
|
}
|
|
|
|
IL_0409:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_229 = V_4;
|
|
int32_t L_230 = V_39;
|
|
NullCheck(L_229);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_231;
|
|
L_231 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_229, L_230, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_40 = L_231;
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
V_41 = 0;
|
|
goto IL_054b;
|
|
}
|
|
|
|
IL_041c:
|
|
{
|
|
// if (p.Vertices[j] == NullId)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_232 = V_40;
|
|
NullCheck(L_232);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_233;
|
|
L_233 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_232, NULL);
|
|
int32_t L_234 = V_41;
|
|
NullCheck(L_233);
|
|
int32_t L_235 = L_234;
|
|
int32_t L_236 = (L_233)->GetAt(static_cast<il2cpp_array_size_t>(L_235));
|
|
if ((((int32_t)L_236) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0554;
|
|
}
|
|
}
|
|
{
|
|
// if (p.NeighborEdges[j] != NullId)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_237 = V_40;
|
|
NullCheck(L_237);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_238;
|
|
L_238 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_237, NULL);
|
|
int32_t L_239 = V_41;
|
|
NullCheck(L_238);
|
|
int32_t L_240 = L_239;
|
|
int32_t L_241 = (L_238)->GetAt(static_cast<il2cpp_array_size_t>(L_240));
|
|
if ((!(((uint32_t)L_241) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0545;
|
|
}
|
|
}
|
|
{
|
|
// int nj = j + 1;
|
|
int32_t L_242 = V_41;
|
|
V_42 = ((int32_t)il2cpp_codegen_add(L_242, 1));
|
|
// if (nj >= numVertsPerPoly || p.Vertices[nj] == NullId)
|
|
int32_t L_243 = V_42;
|
|
int32_t L_244 = ___4_numVertsPerPoly;
|
|
if ((((int32_t)L_243) >= ((int32_t)L_244)))
|
|
{
|
|
goto IL_0455;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_245 = V_40;
|
|
NullCheck(L_245);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_246;
|
|
L_246 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_245, NULL);
|
|
int32_t L_247 = V_42;
|
|
NullCheck(L_246);
|
|
int32_t L_248 = L_247;
|
|
int32_t L_249 = (L_246)->GetAt(static_cast<il2cpp_array_size_t>(L_248));
|
|
if ((!(((uint32_t)L_249) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0458;
|
|
}
|
|
}
|
|
|
|
IL_0455:
|
|
{
|
|
// nj = 0;
|
|
V_42 = 0;
|
|
}
|
|
|
|
IL_0458:
|
|
{
|
|
// int va = p.Vertices[j];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_250 = V_40;
|
|
NullCheck(L_250);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_251;
|
|
L_251 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_250, NULL);
|
|
int32_t L_252 = V_41;
|
|
NullCheck(L_251);
|
|
int32_t L_253 = L_252;
|
|
int32_t L_254 = (L_251)->GetAt(static_cast<il2cpp_array_size_t>(L_253));
|
|
V_43 = L_254;
|
|
// int vb = p.Vertices[nj];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_255 = V_40;
|
|
NullCheck(L_255);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_256;
|
|
L_256 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_255, NULL);
|
|
int32_t L_257 = V_42;
|
|
NullCheck(L_256);
|
|
int32_t L_258 = L_257;
|
|
int32_t L_259 = (L_256)->GetAt(static_cast<il2cpp_array_size_t>(L_258));
|
|
V_44 = L_259;
|
|
// if (verts[va].X == 0 && verts[vb].X == 0)
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_260 = V_3;
|
|
int32_t L_261 = V_43;
|
|
NullCheck(L_260);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_262;
|
|
L_262 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_260, L_261, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_263 = L_262.___X_0;
|
|
if (L_263)
|
|
{
|
|
goto IL_04a2;
|
|
}
|
|
}
|
|
{
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_264 = V_3;
|
|
int32_t L_265 = V_44;
|
|
NullCheck(L_264);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_266;
|
|
L_266 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_264, L_265, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_267 = L_266.___X_0;
|
|
if (L_267)
|
|
{
|
|
goto IL_04a2;
|
|
}
|
|
}
|
|
{
|
|
// p.NeighborEdges[j] = NeighborEdgeFlag | 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_268 = V_40;
|
|
NullCheck(L_268);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_269;
|
|
L_269 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_268, NULL);
|
|
int32_t L_270 = V_41;
|
|
NullCheck(L_269);
|
|
(L_269)->SetAt(static_cast<il2cpp_array_size_t>(L_270), (int32_t)((int32_t)-2147483648LL));
|
|
goto IL_0545;
|
|
}
|
|
|
|
IL_04a2:
|
|
{
|
|
// else if (verts[va].Z == contSet.Height && verts[vb].Z == contSet.Height)
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_271 = V_3;
|
|
int32_t L_272 = V_43;
|
|
NullCheck(L_271);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_273;
|
|
L_273 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_271, L_272, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_274 = L_273.___Z_2;
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_275 = ___0_contSet;
|
|
NullCheck(L_275);
|
|
int32_t L_276;
|
|
L_276 = ContourSet_get_Height_m1D63DEA246371E09FC2FD1358851783CDA06CC54_inline(L_275, NULL);
|
|
if ((!(((uint32_t)L_274) == ((uint32_t)L_276))))
|
|
{
|
|
goto IL_04dd;
|
|
}
|
|
}
|
|
{
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_277 = V_3;
|
|
int32_t L_278 = V_44;
|
|
NullCheck(L_277);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_279;
|
|
L_279 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_277, L_278, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_280 = L_279.___Z_2;
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_281 = ___0_contSet;
|
|
NullCheck(L_281);
|
|
int32_t L_282;
|
|
L_282 = ContourSet_get_Height_m1D63DEA246371E09FC2FD1358851783CDA06CC54_inline(L_281, NULL);
|
|
if ((!(((uint32_t)L_280) == ((uint32_t)L_282))))
|
|
{
|
|
goto IL_04dd;
|
|
}
|
|
}
|
|
{
|
|
// p.NeighborEdges[j] = NeighborEdgeFlag | 1;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_283 = V_40;
|
|
NullCheck(L_283);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_284;
|
|
L_284 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_283, NULL);
|
|
int32_t L_285 = V_41;
|
|
NullCheck(L_284);
|
|
(L_284)->SetAt(static_cast<il2cpp_array_size_t>(L_285), (int32_t)((int32_t)-2147483647));
|
|
goto IL_0545;
|
|
}
|
|
|
|
IL_04dd:
|
|
{
|
|
// else if (verts[va].X == contSet.Width && verts[vb].X == contSet.Width)
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_286 = V_3;
|
|
int32_t L_287 = V_43;
|
|
NullCheck(L_286);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_288;
|
|
L_288 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_286, L_287, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_289 = L_288.___X_0;
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_290 = ___0_contSet;
|
|
NullCheck(L_290);
|
|
int32_t L_291;
|
|
L_291 = ContourSet_get_Width_m5C38C58FB1CBAA8B16D5C745853DFCA19F5DB864_inline(L_290, NULL);
|
|
if ((!(((uint32_t)L_289) == ((uint32_t)L_291))))
|
|
{
|
|
goto IL_0518;
|
|
}
|
|
}
|
|
{
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_292 = V_3;
|
|
int32_t L_293 = V_44;
|
|
NullCheck(L_292);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_294;
|
|
L_294 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_292, L_293, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_295 = L_294.___X_0;
|
|
ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* L_296 = ___0_contSet;
|
|
NullCheck(L_296);
|
|
int32_t L_297;
|
|
L_297 = ContourSet_get_Width_m5C38C58FB1CBAA8B16D5C745853DFCA19F5DB864_inline(L_296, NULL);
|
|
if ((!(((uint32_t)L_295) == ((uint32_t)L_297))))
|
|
{
|
|
goto IL_0518;
|
|
}
|
|
}
|
|
{
|
|
// p.NeighborEdges[j] = NeighborEdgeFlag | 2;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_298 = V_40;
|
|
NullCheck(L_298);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_299;
|
|
L_299 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_298, NULL);
|
|
int32_t L_300 = V_41;
|
|
NullCheck(L_299);
|
|
(L_299)->SetAt(static_cast<il2cpp_array_size_t>(L_300), (int32_t)((int32_t)-2147483646));
|
|
goto IL_0545;
|
|
}
|
|
|
|
IL_0518:
|
|
{
|
|
// else if (verts[va].Z == 0 && verts[vb].Z == 0)
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_301 = V_3;
|
|
int32_t L_302 = V_43;
|
|
NullCheck(L_301);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_303;
|
|
L_303 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_301, L_302, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_304 = L_303.___Z_2;
|
|
if (L_304)
|
|
{
|
|
goto IL_0545;
|
|
}
|
|
}
|
|
{
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_305 = V_3;
|
|
int32_t L_306 = V_44;
|
|
NullCheck(L_305);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_307;
|
|
L_307 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_305, L_306, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_308 = L_307.___Z_2;
|
|
if (L_308)
|
|
{
|
|
goto IL_0545;
|
|
}
|
|
}
|
|
{
|
|
// p.NeighborEdges[j] = NeighborEdgeFlag | 3;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_309 = V_40;
|
|
NullCheck(L_309);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_310;
|
|
L_310 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_309, NULL);
|
|
int32_t L_311 = V_41;
|
|
NullCheck(L_310);
|
|
(L_310)->SetAt(static_cast<il2cpp_array_size_t>(L_311), (int32_t)((int32_t)-2147483645));
|
|
}
|
|
|
|
IL_0545:
|
|
{
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
int32_t L_312 = V_41;
|
|
V_41 = ((int32_t)il2cpp_codegen_add(L_312, 1));
|
|
}
|
|
|
|
IL_054b:
|
|
{
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
int32_t L_313 = V_41;
|
|
int32_t L_314 = ___4_numVertsPerPoly;
|
|
if ((((int32_t)L_313) < ((int32_t)L_314)))
|
|
{
|
|
goto IL_041c;
|
|
}
|
|
}
|
|
|
|
IL_0554:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_315 = V_39;
|
|
V_39 = ((int32_t)il2cpp_codegen_add(L_315, 1));
|
|
}
|
|
|
|
IL_055a:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_316 = V_39;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_317 = V_4;
|
|
NullCheck(L_317);
|
|
int32_t L_318;
|
|
L_318 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_317, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_316) < ((int32_t)L_318)))
|
|
{
|
|
goto IL_0409;
|
|
}
|
|
}
|
|
|
|
IL_0568:
|
|
{
|
|
// this.vertices = verts.ToArray();
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_319 = V_3;
|
|
NullCheck(L_319);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_320;
|
|
L_320 = List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0(L_319, List_1_ToArray_mD914124DA2A2EE1B9053AB339C41C9BCC97A2AD0_RuntimeMethod_var);
|
|
__this->___vertices_3 = L_320;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___vertices_3), (void*)L_320);
|
|
// this.polygons = polys.ToArray();
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_321 = V_4;
|
|
NullCheck(L_321);
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* L_322;
|
|
L_322 = List_1_ToArray_mA09EF4722BC67430E3C0F4B5CDEDB023B5FEB350(L_321, List_1_ToArray_mA09EF4722BC67430E3C0F4B5CDEDB023B5FEB350_RuntimeMethod_var);
|
|
__this->___polygons_4 = L_322;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___polygons_4), (void*)L_322);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::get_VertCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_get_VertCount_m44263F7006E8541735F6137DBAD2E119F528E016 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return vertices.Length;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_0 = __this->___vertices_3;
|
|
NullCheck(L_0);
|
|
return ((int32_t)(((RuntimeArray*)L_0)->max_length));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::get_PolyCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return polygons.Length;
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* L_0 = __this->___polygons_4;
|
|
NullCheck(L_0);
|
|
return ((int32_t)(((RuntimeArray*)L_0)->max_length));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::get_NumVertsPerPoly()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_get_NumVertsPerPoly_mD6EADD017666916BCD27C42FB26243D45E22AAF2 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return numVertsPerPoly;
|
|
int32_t L_0 = __this->___numVertsPerPoly_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.PolyVertex[] SharpNav.PolyMesh::get_Verts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* PolyMesh_get_Verts_m8E70C4668DBF43B5EABC76321A6C95E27520E6A7 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return vertices;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_0 = __this->___vertices_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.PolyMesh/Polygon[] SharpNav.PolyMesh::get_Polys()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* PolyMesh_get_Polys_mD2449B557BCB34CB4FBAEF716B17D8F0173C1450 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return polygons;
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* L_0 = __this->___polygons_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.BBox3 SharpNav.PolyMesh::get_Bounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C PolyMesh_get_Bounds_m5A245DCBAA724C658E65CE1967A134E7F13ECC2A (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return bounds;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_0 = __this->___bounds_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Single SharpNav.PolyMesh::get_CellSize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMesh_get_CellSize_mB308A77ADDB9D1E4D8D6B73140E34ABA03D6E6F5 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cellSize;
|
|
float L_0 = __this->___cellSize_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Single SharpNav.PolyMesh::get_CellHeight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMesh_get_CellHeight_mEE72069AC5EB220C1E54DCE14DAE8020D2466663 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cellHeight;
|
|
float L_0 = __this->___cellHeight_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::get_BorderSize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_get_BorderSize_m8DEF8D4D6EF6B3E4A95F8A98389DBCF40CA6C750 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return borderSize;
|
|
int32_t L_0 = __this->___borderSize_9;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::IsBoundaryEdge(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsBoundaryEdge_mA998AFB9A179235175B0724E9147D5AC069CB405 (int32_t ___0_flag, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flag & NeighborEdgeFlag) != 0;
|
|
int32_t L_0 = ___0_flag;
|
|
return (bool)((!(((uint32_t)((int32_t)(L_0&((int32_t)-2147483648LL)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::IsInteriorEdge(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsInteriorEdge_m161C161A64E585B466811BE3D382D7BB82CE38F0 (int32_t ___0_flag, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flag & NeighborEdgeFlag) == 0;
|
|
int32_t L_0 = ___0_flag;
|
|
return (bool)((((int32_t)((int32_t)(L_0&((int32_t)-2147483648LL)))) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::HasDiagonalFlag(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_HasDiagonalFlag_mE8F6154C56B3F1D06105FD5A6D9C1B70A6A70ECC (int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (index & DiagonalFlag) != 0;
|
|
int32_t L_0 = ___0_index;
|
|
return (bool)((!(((uint32_t)((int32_t)(L_0&((int32_t)-2147483648LL)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::Diagonal(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_Diagonal_m57D3078D690DFFC8CB77199F6670B312773C0B93 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return InCone(i, j, verts, indices) && Diagonalie(i, j, verts, indices);
|
|
int32_t L_0 = ___0_i;
|
|
int32_t L_1 = ___1_j;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_2 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = ___3_indices;
|
|
bool L_4;
|
|
L_4 = PolyMesh_InCone_mAF7CBF7CC64AE429AC08BF82B7D0395154852F09(L_0, L_1, L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = ___0_i;
|
|
int32_t L_6 = ___1_j;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_7 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = ___3_indices;
|
|
bool L_9;
|
|
L_9 = PolyMesh_Diagonalie_m02B5DC749783001CEA861563EC1C79B121EB3D2C(L_5, L_6, L_7, L_8, NULL);
|
|
return L_9;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::InCone(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_InCone_mAF7CBF7CC64AE429AC08BF82B7D0395154852F09 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
{
|
|
// int pi = RemoveDiagonalFlag(indices[i]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___3_indices;
|
|
int32_t L_1 = ___0_i;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
int32_t L_4;
|
|
L_4 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_3, NULL);
|
|
V_0 = L_4;
|
|
// int pj = RemoveDiagonalFlag(indices[j]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5 = ___3_indices;
|
|
int32_t L_6 = ___1_j;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
int32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
int32_t L_9;
|
|
L_9 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_8, NULL);
|
|
V_1 = L_9;
|
|
// int pi1 = RemoveDiagonalFlag(indices[Next(i, verts.Length)]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = ___3_indices;
|
|
int32_t L_11 = ___0_i;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_12 = ___2_verts;
|
|
NullCheck(L_12);
|
|
int32_t L_13;
|
|
L_13 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_11, ((int32_t)(((RuntimeArray*)L_12)->max_length)), NULL);
|
|
NullCheck(L_10);
|
|
int32_t L_14 = L_13;
|
|
int32_t L_15 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
int32_t L_16;
|
|
L_16 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_15, NULL);
|
|
V_2 = L_16;
|
|
// int pin1 = RemoveDiagonalFlag(indices[Prev(i, verts.Length)]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = ___3_indices;
|
|
int32_t L_18 = ___0_i;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_19 = ___2_verts;
|
|
NullCheck(L_19);
|
|
int32_t L_20;
|
|
L_20 = PolyMesh_Prev_m44D4253FA3C9396AE73CEDA6A523113432F9E83C(L_18, ((int32_t)(((RuntimeArray*)L_19)->max_length)), NULL);
|
|
NullCheck(L_17);
|
|
int32_t L_21 = L_20;
|
|
int32_t L_22 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
int32_t L_23;
|
|
L_23 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_22, NULL);
|
|
V_3 = L_23;
|
|
// if (PolyVertex.IsLeftOn(ref verts[pin1], ref verts[pi], ref verts[pi1]))
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_24 = ___2_verts;
|
|
int32_t L_25 = V_3;
|
|
NullCheck(L_24);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_26 = ___2_verts;
|
|
int32_t L_27 = V_0;
|
|
NullCheck(L_26);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_28 = ___2_verts;
|
|
int32_t L_29 = V_2;
|
|
NullCheck(L_28);
|
|
bool L_30;
|
|
L_30 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872(((L_24)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_25))), ((L_26)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_27))), ((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29))), NULL);
|
|
if (!L_30)
|
|
{
|
|
goto IL_0089;
|
|
}
|
|
}
|
|
{
|
|
// return PolyVertex.IsLeft(ref verts[pi], ref verts[pj], ref verts[pin1]) && PolyVertex.IsLeft(ref verts[pj], ref verts[pi], ref verts[pi1]);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_31 = ___2_verts;
|
|
int32_t L_32 = V_0;
|
|
NullCheck(L_31);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_33 = ___2_verts;
|
|
int32_t L_34 = V_1;
|
|
NullCheck(L_33);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_35 = ___2_verts;
|
|
int32_t L_36 = V_3;
|
|
NullCheck(L_35);
|
|
bool L_37;
|
|
L_37 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(((L_31)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_32))), ((L_33)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_34))), ((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_36))), NULL);
|
|
if (!L_37)
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_38 = ___2_verts;
|
|
int32_t L_39 = V_1;
|
|
NullCheck(L_38);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_40 = ___2_verts;
|
|
int32_t L_41 = V_0;
|
|
NullCheck(L_40);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_42 = ___2_verts;
|
|
int32_t L_43 = V_2;
|
|
NullCheck(L_42);
|
|
bool L_44;
|
|
L_44 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(((L_38)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_39))), ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41))), ((L_42)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_43))), NULL);
|
|
return L_44;
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0089:
|
|
{
|
|
// return !(PolyVertex.IsLeftOn(ref verts[pi], ref verts[pj], ref verts[pi1]) && PolyVertex.IsLeftOn(ref verts[pj], ref verts[pi], ref verts[pin1]));
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_45 = ___2_verts;
|
|
int32_t L_46 = V_0;
|
|
NullCheck(L_45);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_47 = ___2_verts;
|
|
int32_t L_48 = V_1;
|
|
NullCheck(L_47);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_49 = ___2_verts;
|
|
int32_t L_50 = V_2;
|
|
NullCheck(L_49);
|
|
bool L_51;
|
|
L_51 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872(((L_45)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_46))), ((L_47)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_48))), ((L_49)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_50))), NULL);
|
|
if (!L_51)
|
|
{
|
|
goto IL_00c3;
|
|
}
|
|
}
|
|
{
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_52 = ___2_verts;
|
|
int32_t L_53 = V_1;
|
|
NullCheck(L_52);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_54 = ___2_verts;
|
|
int32_t L_55 = V_0;
|
|
NullCheck(L_54);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_56 = ___2_verts;
|
|
int32_t L_57 = V_3;
|
|
NullCheck(L_56);
|
|
bool L_58;
|
|
L_58 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872(((L_52)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_53))), ((L_54)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_55))), ((L_56)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_57))), NULL);
|
|
return (bool)((((int32_t)L_58) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::Diagonalie(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_Diagonalie_m02B5DC749783001CEA861563EC1C79B121EB3D2C (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
{
|
|
// int d0 = RemoveDiagonalFlag(indices[i]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___3_indices;
|
|
int32_t L_1 = ___0_i;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
int32_t L_4;
|
|
L_4 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_3, NULL);
|
|
V_0 = L_4;
|
|
// int d1 = RemoveDiagonalFlag(indices[j]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5 = ___3_indices;
|
|
int32_t L_6 = ___1_j;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
int32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
int32_t L_9;
|
|
L_9 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_8, NULL);
|
|
V_1 = L_9;
|
|
// for (int k = 0; k < verts.Length; k++)
|
|
V_2 = 0;
|
|
goto IL_00d6;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// int k1 = Next(k, verts.Length);
|
|
int32_t L_10 = V_2;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_11 = ___2_verts;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_10, ((int32_t)(((RuntimeArray*)L_11)->max_length)), NULL);
|
|
V_3 = L_12;
|
|
// if (!((k == i) || (k1 == i) || (k == j) || (k1 == j)))
|
|
int32_t L_13 = V_2;
|
|
int32_t L_14 = ___0_i;
|
|
if ((((int32_t)L_13) == ((int32_t)L_14)))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_15 = V_3;
|
|
int32_t L_16 = ___0_i;
|
|
if ((((int32_t)L_15) == ((int32_t)L_16)))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_17 = V_2;
|
|
int32_t L_18 = ___1_j;
|
|
if ((((int32_t)L_17) == ((int32_t)L_18)))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_19 = V_3;
|
|
int32_t L_20 = ___1_j;
|
|
if ((((int32_t)L_19) == ((int32_t)L_20)))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// int p0 = RemoveDiagonalFlag(indices[k]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_21 = ___3_indices;
|
|
int32_t L_22 = V_2;
|
|
NullCheck(L_21);
|
|
int32_t L_23 = L_22;
|
|
int32_t L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
int32_t L_25;
|
|
L_25 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_24, NULL);
|
|
V_4 = L_25;
|
|
// int p1 = RemoveDiagonalFlag(indices[k1]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26 = ___3_indices;
|
|
int32_t L_27 = V_3;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
int32_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
int32_t L_30;
|
|
L_30 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_29, NULL);
|
|
V_5 = L_30;
|
|
// if (PolyVertex.Equal2D(ref verts[d0], ref verts[p0]) ||
|
|
// PolyVertex.Equal2D(ref verts[d1], ref verts[p0]) ||
|
|
// PolyVertex.Equal2D(ref verts[d0], ref verts[p1]) ||
|
|
// PolyVertex.Equal2D(ref verts[d1], ref verts[p1]))
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_31 = ___2_verts;
|
|
int32_t L_32 = V_0;
|
|
NullCheck(L_31);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_33 = ___2_verts;
|
|
int32_t L_34 = V_4;
|
|
NullCheck(L_33);
|
|
bool L_35;
|
|
L_35 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69(((L_31)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_32))), ((L_33)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_34))), NULL);
|
|
if (L_35)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_36 = ___2_verts;
|
|
int32_t L_37 = V_1;
|
|
NullCheck(L_36);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_38 = ___2_verts;
|
|
int32_t L_39 = V_4;
|
|
NullCheck(L_38);
|
|
bool L_40;
|
|
L_40 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69(((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_37))), ((L_38)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_39))), NULL);
|
|
if (L_40)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_41 = ___2_verts;
|
|
int32_t L_42 = V_0;
|
|
NullCheck(L_41);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_43 = ___2_verts;
|
|
int32_t L_44 = V_5;
|
|
NullCheck(L_43);
|
|
bool L_45;
|
|
L_45 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69(((L_41)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_42))), ((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44))), NULL);
|
|
if (L_45)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_46 = ___2_verts;
|
|
int32_t L_47 = V_1;
|
|
NullCheck(L_46);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_48 = ___2_verts;
|
|
int32_t L_49 = V_5;
|
|
NullCheck(L_48);
|
|
bool L_50;
|
|
L_50 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69(((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47))), ((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49))), NULL);
|
|
if (L_50)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// if (PolyVertex.Intersect(ref verts[d0], ref verts[d1], ref verts[p0], ref verts[p1]))
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_51 = ___2_verts;
|
|
int32_t L_52 = V_0;
|
|
NullCheck(L_51);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_53 = ___2_verts;
|
|
int32_t L_54 = V_1;
|
|
NullCheck(L_53);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_55 = ___2_verts;
|
|
int32_t L_56 = V_4;
|
|
NullCheck(L_55);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_57 = ___2_verts;
|
|
int32_t L_58 = V_5;
|
|
NullCheck(L_57);
|
|
bool L_59;
|
|
L_59 = PolyVertex_Intersect_mE4B226DB9BBC447089FC16B0F5751AD51181EC54(((L_51)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_52))), ((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54))), ((L_55)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_56))), ((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_58))), NULL);
|
|
if (!L_59)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00d2:
|
|
{
|
|
// for (int k = 0; k < verts.Length; k++)
|
|
int32_t L_60 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_60, 1));
|
|
}
|
|
|
|
IL_00d6:
|
|
{
|
|
// for (int k = 0; k < verts.Length; k++)
|
|
int32_t L_61 = V_2;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_62 = ___2_verts;
|
|
NullCheck(L_62);
|
|
if ((((int32_t)L_61) < ((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)))))
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::Prev(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_Prev_m44D4253FA3C9396AE73CEDA6A523113432F9E83C (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return i - 1 >= 0 ? i - 1 : n - 1;
|
|
int32_t L_0 = ___0_i;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_0, 1))) >= ((int32_t)0)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___1_n;
|
|
return ((int32_t)il2cpp_codegen_subtract(L_1, 1));
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_2 = ___0_i;
|
|
return ((int32_t)il2cpp_codegen_subtract(L_2, 1));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::Next(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return i + 1 < n ? i + 1 : 0;
|
|
int32_t L_0 = ___0_i;
|
|
int32_t L_1 = ___1_n;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_0, 1))) < ((int32_t)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_2 = ___0_i;
|
|
return ((int32_t)il2cpp_codegen_add(L_2, 1));
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::ULeft(SharpNav.PolyVertex,SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_ULeft_mF8CFF217258C1F93D24C0D2627EBB4007BC437A9 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___2_c, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (b.X - a.X) * (c.Z - a.Z) -
|
|
// (c.X - a.X) * (b.Z - a.Z) < 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = ___1_b;
|
|
int32_t L_1 = L_0.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_2 = ___0_a;
|
|
int32_t L_3 = L_2.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_4 = ___2_c;
|
|
int32_t L_5 = L_4.___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_6 = ___0_a;
|
|
int32_t L_7 = L_6.___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_8 = ___2_c;
|
|
int32_t L_9 = L_8.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_10 = ___0_a;
|
|
int32_t L_11 = L_10.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_12 = ___1_b;
|
|
int32_t L_13 = L_12.___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_14 = ___0_a;
|
|
int32_t L_15 = L_14.___Z_2;
|
|
return (bool)((((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_1, L_3)), ((int32_t)il2cpp_codegen_subtract(L_5, L_7)))), ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_9, L_11)), ((int32_t)il2cpp_codegen_subtract(L_13, L_15))))))) < ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh::SetDiagonalFlag(System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_SetDiagonalFlag_mD4FCB9B3D6C4B21A02C4AB443E73C354F3FF7878 (int32_t* ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// index |= DiagonalFlag;
|
|
int32_t* L_0 = ___0_index;
|
|
int32_t* L_1 = ___0_index;
|
|
int32_t L_2 = *((int32_t*)L_1);
|
|
*((int32_t*)L_0) = (int32_t)((int32_t)(L_2|((int32_t)-2147483648LL)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::RemoveDiagonalFlag(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6 (int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return index & ~DiagonalFlag;
|
|
int32_t L_0 = ___0_index;
|
|
return ((int32_t)(L_0&((int32_t)2147483647LL)));
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh::RemoveDiagonalFlag(System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_RemoveDiagonalFlag_mCA0B81DCED6D4D9BDD8135983E9E5631594F6820 (int32_t* ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// index &= ~DiagonalFlag;
|
|
int32_t* L_0 = ___0_index;
|
|
int32_t* L_1 = ___0_index;
|
|
int32_t L_2 = *((int32_t*)L_1);
|
|
*((int32_t*)L_0) = (int32_t)((int32_t)(L_2&((int32_t)2147483647LL)));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::Triangulate(SharpNav.PolyVertex[],System.Int32[],SharpNav.PolyMesh/Triangle[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_Triangulate_mC21B4661AD6338DB3EBDFDBD88263007F3FCAC05 (PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___0_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_indices, TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* ___2_tris, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
{
|
|
// int ntris = 0;
|
|
V_0 = 0;
|
|
// int n = verts.Length;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_0 = ___0_verts;
|
|
NullCheck(L_0);
|
|
V_1 = ((int32_t)(((RuntimeArray*)L_0)->max_length));
|
|
// for (int i = 0; i < n; i++)
|
|
V_2 = 0;
|
|
goto IL_0037;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// int i1 = Next(i, n);
|
|
int32_t L_1 = V_2;
|
|
int32_t L_2 = V_1;
|
|
int32_t L_3;
|
|
L_3 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_1, L_2, NULL);
|
|
V_3 = L_3;
|
|
// int i2 = Next(i1, n);
|
|
int32_t L_4 = V_3;
|
|
int32_t L_5 = V_1;
|
|
int32_t L_6;
|
|
L_6 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_4, L_5, NULL);
|
|
V_4 = L_6;
|
|
// if (Diagonal(i, i2, verts, indices))
|
|
int32_t L_7 = V_2;
|
|
int32_t L_8 = V_4;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_9 = ___0_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = ___1_indices;
|
|
bool L_11;
|
|
L_11 = PolyMesh_Diagonal_m57D3078D690DFFC8CB77199F6670B312773C0B93(L_7, L_8, L_9, L_10, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
// SetDiagonalFlag(ref indices[i1]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = ___1_indices;
|
|
int32_t L_13 = V_3;
|
|
NullCheck(L_12);
|
|
PolyMesh_SetDiagonalFlag_mD4FCB9B3D6C4B21A02C4AB443E73C354F3FF7878(((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13))), NULL);
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// for (int i = 0; i < n; i++)
|
|
int32_t L_14 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// for (int i = 0; i < n; i++)
|
|
int32_t L_15 = V_2;
|
|
int32_t L_16 = V_1;
|
|
if ((((int32_t)L_15) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0287;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// int minLen = -1;
|
|
V_5 = (-1);
|
|
// int minIndex = -1;
|
|
V_6 = (-1);
|
|
// for (int i = 0; i < n; i++)
|
|
V_10 = 0;
|
|
goto IL_00da;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// int i1 = Next(i, n);
|
|
int32_t L_17 = V_10;
|
|
int32_t L_18 = V_1;
|
|
int32_t L_19;
|
|
L_19 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_17, L_18, NULL);
|
|
V_11 = L_19;
|
|
// if (HasDiagonalFlag(indices[i1]))
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_20 = ___1_indices;
|
|
int32_t L_21 = V_11;
|
|
NullCheck(L_20);
|
|
int32_t L_22 = L_21;
|
|
int32_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
bool L_24;
|
|
L_24 = PolyMesh_HasDiagonalFlag_mE8F6154C56B3F1D06105FD5A6D9C1B70A6A70ECC(L_23, NULL);
|
|
if (!L_24)
|
|
{
|
|
goto IL_00d4;
|
|
}
|
|
}
|
|
{
|
|
// int p0 = RemoveDiagonalFlag(indices[i]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_25 = ___1_indices;
|
|
int32_t L_26 = V_10;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
int32_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
int32_t L_29;
|
|
L_29 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_28, NULL);
|
|
V_12 = L_29;
|
|
// int p2 = RemoveDiagonalFlag(indices[Next(i1, n)]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_30 = ___1_indices;
|
|
int32_t L_31 = V_11;
|
|
int32_t L_32 = V_1;
|
|
int32_t L_33;
|
|
L_33 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_31, L_32, NULL);
|
|
NullCheck(L_30);
|
|
int32_t L_34 = L_33;
|
|
int32_t L_35 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
int32_t L_36;
|
|
L_36 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_35, NULL);
|
|
V_13 = L_36;
|
|
// int dx = verts[p2].X - verts[p0].X;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_37 = ___0_verts;
|
|
int32_t L_38 = V_13;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = ((L_37)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_38)))->___X_0;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_40 = ___0_verts;
|
|
int32_t L_41 = V_12;
|
|
NullCheck(L_40);
|
|
int32_t L_42 = ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)))->___X_0;
|
|
// int dy = verts[p2].Z - verts[p0].Z;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_43 = ___0_verts;
|
|
int32_t L_44 = V_13;
|
|
NullCheck(L_43);
|
|
int32_t L_45 = ((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44)))->___Z_2;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_46 = ___0_verts;
|
|
int32_t L_47 = V_12;
|
|
NullCheck(L_46);
|
|
int32_t L_48 = ((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47)))->___Z_2;
|
|
V_14 = ((int32_t)il2cpp_codegen_subtract(L_45, L_48));
|
|
// int len = dx * dx + dy * dy;
|
|
int32_t L_49 = ((int32_t)il2cpp_codegen_subtract(L_39, L_42));
|
|
int32_t L_50 = V_14;
|
|
int32_t L_51 = V_14;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_49, L_49)), ((int32_t)il2cpp_codegen_multiply(L_50, L_51))));
|
|
// if (minLen < 0 || len < minLen)
|
|
int32_t L_52 = V_5;
|
|
if ((((int32_t)L_52) < ((int32_t)0)))
|
|
{
|
|
goto IL_00cc;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_53 = V_15;
|
|
int32_t L_54 = V_5;
|
|
if ((((int32_t)L_53) >= ((int32_t)L_54)))
|
|
{
|
|
goto IL_00d4;
|
|
}
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// minLen = len;
|
|
int32_t L_55 = V_15;
|
|
V_5 = L_55;
|
|
// minIndex = i;
|
|
int32_t L_56 = V_10;
|
|
V_6 = L_56;
|
|
}
|
|
|
|
IL_00d4:
|
|
{
|
|
// for (int i = 0; i < n; i++)
|
|
int32_t L_57 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_57, 1));
|
|
}
|
|
|
|
IL_00da:
|
|
{
|
|
// for (int i = 0; i < n; i++)
|
|
int32_t L_58 = V_10;
|
|
int32_t L_59 = V_1;
|
|
if ((((int32_t)L_58) < ((int32_t)L_59)))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// if (minIndex == -1)
|
|
int32_t L_60 = V_6;
|
|
if ((!(((uint32_t)L_60) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0190;
|
|
}
|
|
}
|
|
{
|
|
// minLen = -1;
|
|
V_5 = (-1);
|
|
// minIndex = -1;
|
|
V_6 = (-1);
|
|
// for (int i = 0; i < n; i++)
|
|
V_16 = 0;
|
|
goto IL_0180;
|
|
}
|
|
|
|
IL_00f8:
|
|
{
|
|
// int i1 = Next(i, n);
|
|
int32_t L_61 = V_16;
|
|
int32_t L_62 = V_1;
|
|
int32_t L_63;
|
|
L_63 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_61, L_62, NULL);
|
|
// int i2 = Next(i1, n);
|
|
int32_t L_64 = V_1;
|
|
int32_t L_65;
|
|
L_65 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_63, L_64, NULL);
|
|
V_17 = L_65;
|
|
// if (IsDiagonalLoose(i, i2, verts, indices))
|
|
int32_t L_66 = V_16;
|
|
int32_t L_67 = V_17;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_68 = ___0_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_69 = ___1_indices;
|
|
bool L_70;
|
|
L_70 = PolyMesh_IsDiagonalLoose_m5745CCC9C6D0A6DBC1790A7ED205C2213F734389(L_66, L_67, L_68, L_69, NULL);
|
|
if (!L_70)
|
|
{
|
|
goto IL_017a;
|
|
}
|
|
}
|
|
{
|
|
// var p0 = verts[RemoveDiagonalFlag(indices[i])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_71 = ___0_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_72 = ___1_indices;
|
|
int32_t L_73 = V_16;
|
|
NullCheck(L_72);
|
|
int32_t L_74 = L_73;
|
|
int32_t L_75 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_74));
|
|
int32_t L_76;
|
|
L_76 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_75, NULL);
|
|
NullCheck(L_71);
|
|
int32_t L_77 = L_76;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_78 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_77));
|
|
V_18 = L_78;
|
|
// var p2 = verts[RemoveDiagonalFlag(indices[Next(i2, n)])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_79 = ___0_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_80 = ___1_indices;
|
|
int32_t L_81 = V_17;
|
|
int32_t L_82 = V_1;
|
|
int32_t L_83;
|
|
L_83 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_81, L_82, NULL);
|
|
NullCheck(L_80);
|
|
int32_t L_84 = L_83;
|
|
int32_t L_85 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
|
|
int32_t L_86;
|
|
L_86 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_85, NULL);
|
|
NullCheck(L_79);
|
|
int32_t L_87 = L_86;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_88 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_87));
|
|
// var dx = p2.X - p0.X;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_89 = L_88;
|
|
int32_t L_90 = L_89.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_91 = V_18;
|
|
int32_t L_92 = L_91.___X_0;
|
|
V_19 = ((int32_t)il2cpp_codegen_subtract(L_90, L_92));
|
|
// var dy = p2.Z - p0.Z;
|
|
int32_t L_93 = L_89.___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_94 = V_18;
|
|
int32_t L_95 = L_94.___Z_2;
|
|
V_20 = ((int32_t)il2cpp_codegen_subtract(L_93, L_95));
|
|
// var len = dx * dx + dy * dy;
|
|
int32_t L_96 = V_19;
|
|
int32_t L_97 = V_19;
|
|
int32_t L_98 = V_20;
|
|
int32_t L_99 = V_20;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_96, L_97)), ((int32_t)il2cpp_codegen_multiply(L_98, L_99))));
|
|
// if (minLen < 0 || len < minLen)
|
|
int32_t L_100 = V_5;
|
|
if ((((int32_t)L_100) < ((int32_t)0)))
|
|
{
|
|
goto IL_0172;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_101 = V_21;
|
|
int32_t L_102 = V_5;
|
|
if ((((int32_t)L_101) >= ((int32_t)L_102)))
|
|
{
|
|
goto IL_017a;
|
|
}
|
|
}
|
|
|
|
IL_0172:
|
|
{
|
|
// minLen = len;
|
|
int32_t L_103 = V_21;
|
|
V_5 = L_103;
|
|
// minIndex = i;
|
|
int32_t L_104 = V_16;
|
|
V_6 = L_104;
|
|
}
|
|
|
|
IL_017a:
|
|
{
|
|
// for (int i = 0; i < n; i++)
|
|
int32_t L_105 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_105, 1));
|
|
}
|
|
|
|
IL_0180:
|
|
{
|
|
// for (int i = 0; i < n; i++)
|
|
int32_t L_106 = V_16;
|
|
int32_t L_107 = V_1;
|
|
if ((((int32_t)L_106) < ((int32_t)L_107)))
|
|
{
|
|
goto IL_00f8;
|
|
}
|
|
}
|
|
{
|
|
// if (minIndex == -1)
|
|
int32_t L_108 = V_6;
|
|
if ((!(((uint32_t)L_108) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0190;
|
|
}
|
|
}
|
|
{
|
|
// return -ntris;
|
|
int32_t L_109 = V_0;
|
|
return ((-L_109));
|
|
}
|
|
|
|
IL_0190:
|
|
{
|
|
// int mi = minIndex;
|
|
int32_t L_110 = V_6;
|
|
V_7 = L_110;
|
|
// int mi1 = Next(mi, n);
|
|
int32_t L_111 = V_7;
|
|
int32_t L_112 = V_1;
|
|
int32_t L_113;
|
|
L_113 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_111, L_112, NULL);
|
|
V_8 = L_113;
|
|
// int mi2 = Next(mi1, n);
|
|
int32_t L_114 = V_8;
|
|
int32_t L_115 = V_1;
|
|
int32_t L_116;
|
|
L_116 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_114, L_115, NULL);
|
|
V_9 = L_116;
|
|
// tris[ntris] = new Triangle();
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_117 = ___2_tris;
|
|
int32_t L_118 = V_0;
|
|
NullCheck(L_117);
|
|
il2cpp_codegen_initobj(((L_117)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_118))), sizeof(Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E));
|
|
// tris[ntris].Index0 = RemoveDiagonalFlag(indices[mi]);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_119 = ___2_tris;
|
|
int32_t L_120 = V_0;
|
|
NullCheck(L_119);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_121 = ___1_indices;
|
|
int32_t L_122 = V_7;
|
|
NullCheck(L_121);
|
|
int32_t L_123 = L_122;
|
|
int32_t L_124 = (L_121)->GetAt(static_cast<il2cpp_array_size_t>(L_123));
|
|
int32_t L_125;
|
|
L_125 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_124, NULL);
|
|
((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->___Index0_0 = L_125;
|
|
// tris[ntris].Index1 = RemoveDiagonalFlag(indices[mi1]);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_126 = ___2_tris;
|
|
int32_t L_127 = V_0;
|
|
NullCheck(L_126);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_128 = ___1_indices;
|
|
int32_t L_129 = V_8;
|
|
NullCheck(L_128);
|
|
int32_t L_130 = L_129;
|
|
int32_t L_131 = (L_128)->GetAt(static_cast<il2cpp_array_size_t>(L_130));
|
|
int32_t L_132;
|
|
L_132 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_131, NULL);
|
|
((L_126)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_127)))->___Index1_1 = L_132;
|
|
// tris[ntris].Index2 = RemoveDiagonalFlag(indices[mi2]);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_133 = ___2_tris;
|
|
int32_t L_134 = V_0;
|
|
NullCheck(L_133);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_135 = ___1_indices;
|
|
int32_t L_136 = V_9;
|
|
NullCheck(L_135);
|
|
int32_t L_137 = L_136;
|
|
int32_t L_138 = (L_135)->GetAt(static_cast<il2cpp_array_size_t>(L_137));
|
|
int32_t L_139;
|
|
L_139 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_138, NULL);
|
|
((L_133)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_134)))->___Index2_2 = L_139;
|
|
// ntris++;
|
|
int32_t L_140 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_140, 1));
|
|
// n--;
|
|
int32_t L_141 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_141, 1));
|
|
// for (int k = mi1; k < n; k++)
|
|
int32_t L_142 = V_8;
|
|
V_22 = L_142;
|
|
goto IL_0212;
|
|
}
|
|
|
|
IL_0202:
|
|
{
|
|
// indices[k] = indices[k + 1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_143 = ___1_indices;
|
|
int32_t L_144 = V_22;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_145 = ___1_indices;
|
|
int32_t L_146 = V_22;
|
|
NullCheck(L_145);
|
|
int32_t L_147 = ((int32_t)il2cpp_codegen_add(L_146, 1));
|
|
int32_t L_148 = (L_145)->GetAt(static_cast<il2cpp_array_size_t>(L_147));
|
|
NullCheck(L_143);
|
|
(L_143)->SetAt(static_cast<il2cpp_array_size_t>(L_144), (int32_t)L_148);
|
|
// for (int k = mi1; k < n; k++)
|
|
int32_t L_149 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_149, 1));
|
|
}
|
|
|
|
IL_0212:
|
|
{
|
|
// for (int k = mi1; k < n; k++)
|
|
int32_t L_150 = V_22;
|
|
int32_t L_151 = V_1;
|
|
if ((((int32_t)L_150) < ((int32_t)L_151)))
|
|
{
|
|
goto IL_0202;
|
|
}
|
|
}
|
|
{
|
|
// if (mi1 >= n) mi1 = 0;
|
|
int32_t L_152 = V_8;
|
|
int32_t L_153 = V_1;
|
|
if ((((int32_t)L_152) < ((int32_t)L_153)))
|
|
{
|
|
goto IL_021f;
|
|
}
|
|
}
|
|
{
|
|
// if (mi1 >= n) mi1 = 0;
|
|
V_8 = 0;
|
|
}
|
|
|
|
IL_021f:
|
|
{
|
|
// mi = Prev(mi1, n);
|
|
int32_t L_154 = V_8;
|
|
int32_t L_155 = V_1;
|
|
int32_t L_156;
|
|
L_156 = PolyMesh_Prev_m44D4253FA3C9396AE73CEDA6A523113432F9E83C(L_154, L_155, NULL);
|
|
V_7 = L_156;
|
|
// if (Diagonal(Prev(mi, n), mi1, verts, indices))
|
|
int32_t L_157 = V_7;
|
|
int32_t L_158 = V_1;
|
|
int32_t L_159;
|
|
L_159 = PolyMesh_Prev_m44D4253FA3C9396AE73CEDA6A523113432F9E83C(L_157, L_158, NULL);
|
|
int32_t L_160 = V_8;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_161 = ___0_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_162 = ___1_indices;
|
|
bool L_163;
|
|
L_163 = PolyMesh_Diagonal_m57D3078D690DFFC8CB77199F6670B312773C0B93(L_159, L_160, L_161, L_162, NULL);
|
|
if (!L_163)
|
|
{
|
|
goto IL_024b;
|
|
}
|
|
}
|
|
{
|
|
// SetDiagonalFlag(ref indices[mi]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_164 = ___1_indices;
|
|
int32_t L_165 = V_7;
|
|
NullCheck(L_164);
|
|
PolyMesh_SetDiagonalFlag_mD4FCB9B3D6C4B21A02C4AB443E73C354F3FF7878(((L_164)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_165))), NULL);
|
|
goto IL_0258;
|
|
}
|
|
|
|
IL_024b:
|
|
{
|
|
// RemoveDiagonalFlag(ref indices[mi]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_166 = ___1_indices;
|
|
int32_t L_167 = V_7;
|
|
NullCheck(L_166);
|
|
PolyMesh_RemoveDiagonalFlag_mCA0B81DCED6D4D9BDD8135983E9E5631594F6820(((L_166)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_167))), NULL);
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// if (Diagonal(mi, Next(mi1, n), verts, indices))
|
|
int32_t L_168 = V_7;
|
|
int32_t L_169 = V_8;
|
|
int32_t L_170 = V_1;
|
|
int32_t L_171;
|
|
L_171 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_169, L_170, NULL);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_172 = ___0_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_173 = ___1_indices;
|
|
bool L_174;
|
|
L_174 = PolyMesh_Diagonal_m57D3078D690DFFC8CB77199F6670B312773C0B93(L_168, L_171, L_172, L_173, NULL);
|
|
if (!L_174)
|
|
{
|
|
goto IL_027a;
|
|
}
|
|
}
|
|
{
|
|
// SetDiagonalFlag(ref indices[mi1]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_175 = ___1_indices;
|
|
int32_t L_176 = V_8;
|
|
NullCheck(L_175);
|
|
PolyMesh_SetDiagonalFlag_mD4FCB9B3D6C4B21A02C4AB443E73C354F3FF7878(((L_175)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_176))), NULL);
|
|
goto IL_0287;
|
|
}
|
|
|
|
IL_027a:
|
|
{
|
|
// RemoveDiagonalFlag(ref indices[mi1]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_177 = ___1_indices;
|
|
int32_t L_178 = V_8;
|
|
NullCheck(L_177);
|
|
PolyMesh_RemoveDiagonalFlag_mCA0B81DCED6D4D9BDD8135983E9E5631594F6820(((L_177)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_178))), NULL);
|
|
}
|
|
|
|
IL_0287:
|
|
{
|
|
// while (n > 3)
|
|
int32_t L_179 = V_1;
|
|
if ((((int32_t)L_179) > ((int32_t)3)))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// tris[ntris] = new Triangle();
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_180 = ___2_tris;
|
|
int32_t L_181 = V_0;
|
|
NullCheck(L_180);
|
|
il2cpp_codegen_initobj(((L_180)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_181))), sizeof(Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E));
|
|
// tris[ntris].Index0 = RemoveDiagonalFlag(indices[0]);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_182 = ___2_tris;
|
|
int32_t L_183 = V_0;
|
|
NullCheck(L_182);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_184 = ___1_indices;
|
|
NullCheck(L_184);
|
|
int32_t L_185 = 0;
|
|
int32_t L_186 = (L_184)->GetAt(static_cast<il2cpp_array_size_t>(L_185));
|
|
int32_t L_187;
|
|
L_187 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_186, NULL);
|
|
((L_182)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_183)))->___Index0_0 = L_187;
|
|
// tris[ntris].Index1 = RemoveDiagonalFlag(indices[1]);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_188 = ___2_tris;
|
|
int32_t L_189 = V_0;
|
|
NullCheck(L_188);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_190 = ___1_indices;
|
|
NullCheck(L_190);
|
|
int32_t L_191 = 1;
|
|
int32_t L_192 = (L_190)->GetAt(static_cast<il2cpp_array_size_t>(L_191));
|
|
int32_t L_193;
|
|
L_193 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_192, NULL);
|
|
((L_188)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_189)))->___Index1_1 = L_193;
|
|
// tris[ntris].Index2 = RemoveDiagonalFlag(indices[2]);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_194 = ___2_tris;
|
|
int32_t L_195 = V_0;
|
|
NullCheck(L_194);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_196 = ___1_indices;
|
|
NullCheck(L_196);
|
|
int32_t L_197 = 2;
|
|
int32_t L_198 = (L_196)->GetAt(static_cast<il2cpp_array_size_t>(L_197));
|
|
int32_t L_199;
|
|
L_199 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_198, NULL);
|
|
((L_194)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_195)))->___Index2_2 = L_199;
|
|
// ntris++;
|
|
int32_t L_200 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_200, 1));
|
|
// return ntris;
|
|
int32_t L_201 = V_0;
|
|
return L_201;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::IsInConeLoose(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsInConeLoose_m3177707B590D52B165B2C89E749884D69FCFE806 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// var n = verts.Length;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_0 = ___2_verts;
|
|
NullCheck(L_0);
|
|
V_0 = ((int32_t)(((RuntimeArray*)L_0)->max_length));
|
|
// var pi = verts[RemoveDiagonalFlag(indices[i])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_1 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = ___3_indices;
|
|
int32_t L_3 = ___0_i;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
int32_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
int32_t L_6;
|
|
L_6 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_5, NULL);
|
|
NullCheck(L_1);
|
|
int32_t L_7 = L_6;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_8 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_1 = L_8;
|
|
// var pj = verts[RemoveDiagonalFlag(indices[j])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_9 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = ___3_indices;
|
|
int32_t L_11 = ___1_j;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
int32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
int32_t L_14;
|
|
L_14 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_13, NULL);
|
|
NullCheck(L_9);
|
|
int32_t L_15 = L_14;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_16 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
V_2 = L_16;
|
|
// var pi1 = verts[RemoveDiagonalFlag(indices[Next(i, n)])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_17 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_18 = ___3_indices;
|
|
int32_t L_19 = ___0_i;
|
|
int32_t L_20 = V_0;
|
|
int32_t L_21;
|
|
L_21 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_19, L_20, NULL);
|
|
NullCheck(L_18);
|
|
int32_t L_22 = L_21;
|
|
int32_t L_23 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
int32_t L_24;
|
|
L_24 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_23, NULL);
|
|
NullCheck(L_17);
|
|
int32_t L_25 = L_24;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_26 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
|
|
V_3 = L_26;
|
|
// var pin1 = verts[RemoveDiagonalFlag(indices[Prev(i, n)])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_27 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_28 = ___3_indices;
|
|
int32_t L_29 = ___0_i;
|
|
int32_t L_30 = V_0;
|
|
int32_t L_31;
|
|
L_31 = PolyMesh_Prev_m44D4253FA3C9396AE73CEDA6A523113432F9E83C(L_29, L_30, NULL);
|
|
NullCheck(L_28);
|
|
int32_t L_32 = L_31;
|
|
int32_t L_33 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
|
|
int32_t L_34;
|
|
L_34 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_33, NULL);
|
|
NullCheck(L_27);
|
|
int32_t L_35 = L_34;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_36 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
V_4 = L_36;
|
|
// if (PolyVertex.IsLeftOn(ref pin1, ref pi, ref pi1))
|
|
bool L_37;
|
|
L_37 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872((&V_4), (&V_1), (&V_3), NULL);
|
|
if (!L_37)
|
|
{
|
|
goto IL_0075;
|
|
}
|
|
}
|
|
{
|
|
// return PolyVertex.IsLeftOn(ref pi, ref pj, ref pin1) && PolyVertex.IsLeftOn(ref pj, ref pi, ref pi1);
|
|
bool L_38;
|
|
L_38 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872((&V_1), (&V_2), (&V_4), NULL);
|
|
if (!L_38)
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
bool L_39;
|
|
L_39 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872((&V_2), (&V_1), (&V_3), NULL);
|
|
return L_39;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// return !(PolyVertex.IsLeftOn(ref pi, ref pj, ref pi1) && PolyVertex.IsLeftOn(ref pj, ref pi, ref pin1));
|
|
bool L_40;
|
|
L_40 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872((&V_1), (&V_2), (&V_3), NULL);
|
|
if (!L_40)
|
|
{
|
|
goto IL_0091;
|
|
}
|
|
}
|
|
{
|
|
bool L_41;
|
|
L_41 = PolyVertex_IsLeftOn_m7ED94954D222738681934E40831FFC0095086872((&V_2), (&V_1), (&V_4), NULL);
|
|
return (bool)((((int32_t)L_41) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::IsDiagonalLoose(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsDiagonalLoose_m5745CCC9C6D0A6DBC1790A7ED205C2213F734389 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return IsInConeLoose(i, j, verts, indices) && IsDiagonalieLoose(i, j, verts, indices);
|
|
int32_t L_0 = ___0_i;
|
|
int32_t L_1 = ___1_j;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_2 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = ___3_indices;
|
|
bool L_4;
|
|
L_4 = PolyMesh_IsInConeLoose_m3177707B590D52B165B2C89E749884D69FCFE806(L_0, L_1, L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = ___0_i;
|
|
int32_t L_6 = ___1_j;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_7 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = ___3_indices;
|
|
bool L_9;
|
|
L_9 = PolyMesh_IsDiagonalieLoose_mB30936E9DB268C83F022FF9D1AC53CA7A8D86788(L_5, L_6, L_7, L_8, NULL);
|
|
return L_9;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::IsDiagonalieLoose(System.Int32,System.Int32,SharpNav.PolyVertex[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsDiagonalieLoose_mB30936E9DB268C83F022FF9D1AC53CA7A8D86788 (int32_t ___0_i, int32_t ___1_j, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_indices, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// var n = verts.Length;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_0 = ___2_verts;
|
|
NullCheck(L_0);
|
|
V_0 = ((int32_t)(((RuntimeArray*)L_0)->max_length));
|
|
// var d0 = verts[RemoveDiagonalFlag(indices[i])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_1 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = ___3_indices;
|
|
int32_t L_3 = ___0_i;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
int32_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
int32_t L_6;
|
|
L_6 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_5, NULL);
|
|
NullCheck(L_1);
|
|
int32_t L_7 = L_6;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_8 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_1 = L_8;
|
|
// var d1 = verts[RemoveDiagonalFlag(indices[j])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_9 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = ___3_indices;
|
|
int32_t L_11 = ___1_j;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
int32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
int32_t L_14;
|
|
L_14 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_13, NULL);
|
|
NullCheck(L_9);
|
|
int32_t L_15 = L_14;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_16 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
V_2 = L_16;
|
|
// for (int k = 0; k < n; k++)
|
|
V_3 = 0;
|
|
goto IL_00a3;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// int k1 = Next(k, n);
|
|
int32_t L_17 = V_3;
|
|
int32_t L_18 = V_0;
|
|
int32_t L_19;
|
|
L_19 = PolyMesh_Next_m70B0B1C2B5484FECC41EE47D9A438C2376AEBFFD(L_17, L_18, NULL);
|
|
V_4 = L_19;
|
|
// if (!((k == i) || (k1 == i) || (k == j) || (k1 == j)))
|
|
int32_t L_20 = V_3;
|
|
int32_t L_21 = ___0_i;
|
|
if ((((int32_t)L_20) == ((int32_t)L_21)))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_22 = V_4;
|
|
int32_t L_23 = ___0_i;
|
|
if ((((int32_t)L_22) == ((int32_t)L_23)))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_24 = V_3;
|
|
int32_t L_25 = ___1_j;
|
|
if ((((int32_t)L_24) == ((int32_t)L_25)))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_26 = V_4;
|
|
int32_t L_27 = ___1_j;
|
|
if ((((int32_t)L_26) == ((int32_t)L_27)))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// var p0 = verts[RemoveDiagonalFlag(indices[k])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_28 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_29 = ___3_indices;
|
|
int32_t L_30 = V_3;
|
|
NullCheck(L_29);
|
|
int32_t L_31 = L_30;
|
|
int32_t L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
|
|
int32_t L_33;
|
|
L_33 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_32, NULL);
|
|
NullCheck(L_28);
|
|
int32_t L_34 = L_33;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_35 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
V_5 = L_35;
|
|
// var p1 = verts[RemoveDiagonalFlag(indices[k1])];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_36 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_37 = ___3_indices;
|
|
int32_t L_38 = V_4;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
int32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
int32_t L_41;
|
|
L_41 = PolyMesh_RemoveDiagonalFlag_m6B90EF9ECA1A6C8DFE8ECE31B87FD0C26D1CF5C6(L_40, NULL);
|
|
NullCheck(L_36);
|
|
int32_t L_42 = L_41;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_43 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
|
|
V_6 = L_43;
|
|
// if (PolyVertex.Equal2D(ref d0, ref p0) ||
|
|
// PolyVertex.Equal2D(ref d1, ref p0) ||
|
|
// PolyVertex.Equal2D(ref d0, ref p1) ||
|
|
// PolyVertex.Equal2D(ref d1, ref p1))
|
|
bool L_44;
|
|
L_44 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69((&V_1), (&V_5), NULL);
|
|
if (L_44)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
bool L_45;
|
|
L_45 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69((&V_2), (&V_5), NULL);
|
|
if (L_45)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
bool L_46;
|
|
L_46 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69((&V_1), (&V_6), NULL);
|
|
if (L_46)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
bool L_47;
|
|
L_47 = PolyVertex_Equal2D_m84DEF90DC00F60AD2261C9B7C8AB823BF8B0AD69((&V_2), (&V_6), NULL);
|
|
if (L_47)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// if (IsIntersectProp(ref d0, ref d1, ref p0, ref p1))
|
|
bool L_48;
|
|
L_48 = PolyMesh_IsIntersectProp_m1F873984100A56D80D95693D9AAA954C238213BA((&V_1), (&V_2), (&V_5), (&V_6), NULL);
|
|
if (!L_48)
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_009f:
|
|
{
|
|
// for (int k = 0; k < n; k++)
|
|
int32_t L_49 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_49, 1));
|
|
}
|
|
|
|
IL_00a3:
|
|
{
|
|
// for (int k = 0; k < n; k++)
|
|
int32_t L_50 = V_3;
|
|
int32_t L_51 = V_0;
|
|
if ((((int32_t)L_50) < ((int32_t)L_51)))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::xorb(System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_xorb_m05AE0CC8151517C11B3D6A9233BB9F2BA3E9819F (bool ___0_x, bool ___1_y, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !x ^ !y;
|
|
bool L_0 = ___0_x;
|
|
bool L_1 = ___1_y;
|
|
return (bool)((int32_t)(((((int32_t)L_0) == ((int32_t)0))? 1 : 0)^((((int32_t)L_1) == ((int32_t)0))? 1 : 0)));
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::IsIntersectProp(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_IsIntersectProp_m1F873984100A56D80D95693D9AAA954C238213BA (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___3_d, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (PolyVertex.IsCollinear(ref a, ref b, ref c) || PolyVertex.IsCollinear(ref a, ref b, ref d) ||
|
|
// PolyVertex.IsCollinear(ref c, ref d, ref a) || PolyVertex.IsCollinear(ref c, ref d, ref b))
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = ___2_c;
|
|
bool L_3;
|
|
L_3 = PolyVertex_IsCollinear_m525E97F79EE22A6F20FD09CC684A15664E21FB38(L_0, L_1, L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_4 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_5 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_6 = ___3_d;
|
|
bool L_7;
|
|
L_7 = PolyVertex_IsCollinear_m525E97F79EE22A6F20FD09CC684A15664E21FB38(L_4, L_5, L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_8 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_9 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_10 = ___0_a;
|
|
bool L_11;
|
|
L_11 = PolyVertex_IsCollinear_m525E97F79EE22A6F20FD09CC684A15664E21FB38(L_8, L_9, L_10, NULL);
|
|
if (L_11)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_12 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_13 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_14 = ___1_b;
|
|
bool L_15;
|
|
L_15 = PolyVertex_IsCollinear_m525E97F79EE22A6F20FD09CC684A15664E21FB38(L_12, L_13, L_14, NULL);
|
|
if (!L_15)
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// return xorb(PolyVertex.IsLeft(ref a, ref b, ref c), PolyVertex.IsLeft(ref a, ref b, ref d)) &&
|
|
// xorb(PolyVertex.IsLeft(ref c, ref d, ref a), PolyVertex.IsLeft(ref c, ref d, ref b));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_16 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_17 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_18 = ___2_c;
|
|
bool L_19;
|
|
L_19 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(L_16, L_17, L_18, NULL);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_20 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_21 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_22 = ___3_d;
|
|
bool L_23;
|
|
L_23 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(L_20, L_21, L_22, NULL);
|
|
bool L_24;
|
|
L_24 = PolyMesh_xorb_m05AE0CC8151517C11B3D6A9233BB9F2BA3E9819F(L_19, L_23, NULL);
|
|
if (!L_24)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_25 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_26 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_27 = ___0_a;
|
|
bool L_28;
|
|
L_28 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(L_25, L_26, L_27, NULL);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_29 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_30 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_31 = ___1_b;
|
|
bool L_32;
|
|
L_32 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(L_29, L_30, L_31, NULL);
|
|
bool L_33;
|
|
L_33 = PolyMesh_xorb_m05AE0CC8151517C11B3D6A9233BB9F2BA3E9819F(L_28, L_32, NULL);
|
|
return L_33;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::AddVertex(System.Collections.Generic.Dictionary`2<SharpNav.PolyVertex,System.Int32>,SharpNav.PolyVertex,System.Collections.Generic.List`1<SharpNav.PolyVertex>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_AddVertex_m5A1A539B2261FFAC55A120F7AE77CFD9589AEFA2 (Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* ___0_vertDict, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_v, List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___2_verts, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (vertDict.TryGetValue(v, out index))
|
|
Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* L_0 = ___0_vertDict;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_1 = ___1_v;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_mD2AAAD79C6ABF08825E5975E460E75D575531B42_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return index;
|
|
int32_t L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// index = verts.Count;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_4 = ___2_verts;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_inline(L_4, List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var);
|
|
V_0 = L_5;
|
|
// verts.Add(v);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_6 = ___2_verts;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_7 = ___1_v;
|
|
NullCheck(L_6);
|
|
List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_inline(L_6, L_7, List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_RuntimeMethod_var);
|
|
// vertDict.Add(v, index);
|
|
Dictionary_2_t23351D513C1B70AABFBE0C782D7F91A1C68D3739* L_8 = ___0_vertDict;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_9 = ___1_v;
|
|
int32_t L_10 = V_0;
|
|
NullCheck(L_8);
|
|
Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C(L_8, L_9, L_10, Dictionary_2_Add_mE75358D9CE09C4E6FC403B205C3E1F176E90F05C_RuntimeMethod_var);
|
|
// return index;
|
|
int32_t L_11 = V_0;
|
|
return L_11;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh::GetPolyMergeValue(System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32,System.Int32,System.Collections.Generic.List`1<SharpNav.PolyVertex>,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMesh_GetPolyMergeValue_m0C4B4D1CD0ED64EDAD9FC0F9B07F1EDC2DDC9AAC (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___0_polys, int32_t ___1_polyA, int32_t ___2_polyB, List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___3_verts, int32_t* ___4_edgeA, int32_t* ___5_edgeB, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
{
|
|
// int numVertsA = polys[polyA].VertexCount;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_0 = ___0_polys;
|
|
int32_t L_1 = ___1_polyA;
|
|
NullCheck(L_0);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_2;
|
|
L_2 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_0, L_1, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_2, NULL);
|
|
V_0 = L_3;
|
|
// int numVertsB = polys[polyB].VertexCount;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_4 = ___0_polys;
|
|
int32_t L_5 = ___2_polyB;
|
|
NullCheck(L_4);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_6;
|
|
L_6 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_4, L_5, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_6, NULL);
|
|
V_1 = L_7;
|
|
// edgeA = -1;
|
|
int32_t* L_8 = ___4_edgeA;
|
|
*((int32_t*)L_8) = (int32_t)(-1);
|
|
// edgeB = -1;
|
|
int32_t* L_9 = ___5_edgeB;
|
|
*((int32_t*)L_9) = (int32_t)(-1);
|
|
// if (numVertsA + numVertsB - 2 > polys[polyA].Vertices.Length)
|
|
int32_t L_10 = V_0;
|
|
int32_t L_11 = V_1;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_12 = ___0_polys;
|
|
int32_t L_13 = ___1_polyA;
|
|
NullCheck(L_12);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_14;
|
|
L_14 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_12, L_13, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_14);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15;
|
|
L_15 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_14, NULL);
|
|
NullCheck(L_15);
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_10, L_11)), 2))) <= ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// for (int i = 0; i < numVertsA; i++)
|
|
V_6 = 0;
|
|
goto IL_00d7;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// int va0 = polys[polyA].Vertices[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_16 = ___0_polys;
|
|
int32_t L_17 = ___1_polyA;
|
|
NullCheck(L_16);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_18;
|
|
L_18 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_16, L_17, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_18);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19;
|
|
L_19 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_18, NULL);
|
|
int32_t L_20 = V_6;
|
|
NullCheck(L_19);
|
|
int32_t L_21 = L_20;
|
|
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_7 = L_22;
|
|
// int va1 = polys[polyA].Vertices[(i + 1) % numVertsA];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_23 = ___0_polys;
|
|
int32_t L_24 = ___1_polyA;
|
|
NullCheck(L_23);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_25;
|
|
L_25 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_23, L_24, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_25);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26;
|
|
L_26 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_25, NULL);
|
|
int32_t L_27 = V_6;
|
|
int32_t L_28 = V_0;
|
|
NullCheck(L_26);
|
|
int32_t L_29 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_27, 1))%L_28));
|
|
int32_t L_30 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
V_8 = L_30;
|
|
// if (va0 > va1)
|
|
int32_t L_31 = V_7;
|
|
int32_t L_32 = V_8;
|
|
if ((((int32_t)L_31) <= ((int32_t)L_32)))
|
|
{
|
|
goto IL_0075;
|
|
}
|
|
}
|
|
{
|
|
// int temp = va0;
|
|
int32_t L_33 = V_7;
|
|
// va0 = va1;
|
|
int32_t L_34 = V_8;
|
|
V_7 = L_34;
|
|
// va1 = temp;
|
|
V_8 = L_33;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// for (int j = 0; j < numVertsB; j++)
|
|
V_9 = 0;
|
|
goto IL_00cc;
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// int vb0 = polys[polyB].Vertices[j];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_35 = ___0_polys;
|
|
int32_t L_36 = ___2_polyB;
|
|
NullCheck(L_35);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_37;
|
|
L_37 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_35, L_36, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_37);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38;
|
|
L_38 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_37, NULL);
|
|
int32_t L_39 = V_9;
|
|
NullCheck(L_38);
|
|
int32_t L_40 = L_39;
|
|
int32_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
|
|
V_10 = L_41;
|
|
// int vb1 = polys[polyB].Vertices[(j + 1) % numVertsB];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_42 = ___0_polys;
|
|
int32_t L_43 = ___2_polyB;
|
|
NullCheck(L_42);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_44;
|
|
L_44 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_42, L_43, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_44);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_45;
|
|
L_45 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_44, NULL);
|
|
int32_t L_46 = V_9;
|
|
int32_t L_47 = V_1;
|
|
NullCheck(L_45);
|
|
int32_t L_48 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_46, 1))%L_47));
|
|
int32_t L_49 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
|
|
V_11 = L_49;
|
|
// if (vb0 > vb1)
|
|
int32_t L_50 = V_10;
|
|
int32_t L_51 = V_11;
|
|
if ((((int32_t)L_50) <= ((int32_t)L_51)))
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
// int temp = vb0;
|
|
int32_t L_52 = V_10;
|
|
// vb0 = vb1;
|
|
int32_t L_53 = V_11;
|
|
V_10 = L_53;
|
|
// vb1 = temp;
|
|
V_11 = L_52;
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// if (va0 == vb0 && va1 == vb1)
|
|
int32_t L_54 = V_7;
|
|
int32_t L_55 = V_10;
|
|
if ((!(((uint32_t)L_54) == ((uint32_t)L_55))))
|
|
{
|
|
goto IL_00c6;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_56 = V_8;
|
|
int32_t L_57 = V_11;
|
|
if ((!(((uint32_t)L_56) == ((uint32_t)L_57))))
|
|
{
|
|
goto IL_00c6;
|
|
}
|
|
}
|
|
{
|
|
// edgeA = i;
|
|
int32_t* L_58 = ___4_edgeA;
|
|
int32_t L_59 = V_6;
|
|
*((int32_t*)L_58) = (int32_t)L_59;
|
|
// edgeB = j;
|
|
int32_t* L_60 = ___5_edgeB;
|
|
int32_t L_61 = V_9;
|
|
*((int32_t*)L_60) = (int32_t)L_61;
|
|
// break;
|
|
goto IL_00d1;
|
|
}
|
|
|
|
IL_00c6:
|
|
{
|
|
// for (int j = 0; j < numVertsB; j++)
|
|
int32_t L_62 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_62, 1));
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// for (int j = 0; j < numVertsB; j++)
|
|
int32_t L_63 = V_9;
|
|
int32_t L_64 = V_1;
|
|
if ((((int32_t)L_63) < ((int32_t)L_64)))
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// for (int i = 0; i < numVertsA; i++)
|
|
int32_t L_65 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_65, 1));
|
|
}
|
|
|
|
IL_00d7:
|
|
{
|
|
// for (int i = 0; i < numVertsA; i++)
|
|
int32_t L_66 = V_6;
|
|
int32_t L_67 = V_0;
|
|
if ((((int32_t)L_66) < ((int32_t)L_67)))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
// if (edgeA == -1 || edgeB == -1)
|
|
int32_t* L_68 = ___4_edgeA;
|
|
int32_t L_69 = *((int32_t*)L_68);
|
|
if ((((int32_t)L_69) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_00eb;
|
|
}
|
|
}
|
|
{
|
|
int32_t* L_70 = ___5_edgeB;
|
|
int32_t L_71 = *((int32_t*)L_70);
|
|
if ((!(((uint32_t)L_71) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// vertA = polys[polyA].Vertices[(edgeA + numVertsA - 1) % numVertsA];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_72 = ___0_polys;
|
|
int32_t L_73 = ___1_polyA;
|
|
NullCheck(L_72);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_74;
|
|
L_74 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_72, L_73, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_74);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_75;
|
|
L_75 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_74, NULL);
|
|
int32_t* L_76 = ___4_edgeA;
|
|
int32_t L_77 = *((int32_t*)L_76);
|
|
int32_t L_78 = V_0;
|
|
int32_t L_79 = V_0;
|
|
NullCheck(L_75);
|
|
int32_t L_80 = ((int32_t)(((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_77, L_78)), 1))%L_79));
|
|
int32_t L_81 = (L_75)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
|
|
V_2 = L_81;
|
|
// vertB = polys[polyA].Vertices[edgeA];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_82 = ___0_polys;
|
|
int32_t L_83 = ___1_polyA;
|
|
NullCheck(L_82);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_84;
|
|
L_84 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_82, L_83, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_84);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_85;
|
|
L_85 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_84, NULL);
|
|
int32_t* L_86 = ___4_edgeA;
|
|
int32_t L_87 = *((int32_t*)L_86);
|
|
NullCheck(L_85);
|
|
int32_t L_88 = L_87;
|
|
int32_t L_89 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
|
|
V_3 = L_89;
|
|
// vertC = polys[polyB].Vertices[(edgeB + 2) % numVertsB];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_90 = ___0_polys;
|
|
int32_t L_91 = ___2_polyB;
|
|
NullCheck(L_90);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_92;
|
|
L_92 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_90, L_91, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_92);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_93;
|
|
L_93 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_92, NULL);
|
|
int32_t* L_94 = ___5_edgeB;
|
|
int32_t L_95 = *((int32_t*)L_94);
|
|
int32_t L_96 = V_1;
|
|
NullCheck(L_93);
|
|
int32_t L_97 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_95, 2))%L_96));
|
|
int32_t L_98 = (L_93)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
|
|
V_4 = L_98;
|
|
// if (!ULeft(verts[vertA], verts[vertB], verts[vertC]))
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_99 = ___3_verts;
|
|
int32_t L_100 = V_2;
|
|
NullCheck(L_99);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_101;
|
|
L_101 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_99, L_100, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_102 = ___3_verts;
|
|
int32_t L_103 = V_3;
|
|
NullCheck(L_102);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_104;
|
|
L_104 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_102, L_103, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_105 = ___3_verts;
|
|
int32_t L_106 = V_4;
|
|
NullCheck(L_105);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_107;
|
|
L_107 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_105, L_106, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
bool L_108;
|
|
L_108 = PolyMesh_ULeft_mF8CFF217258C1F93D24C0D2627EBB4007BC437A9(L_101, L_104, L_107, NULL);
|
|
if (L_108)
|
|
{
|
|
goto IL_014a;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_014a:
|
|
{
|
|
// vertA = polys[polyB].Vertices[(edgeB + numVertsB - 1) % numVertsB];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_109 = ___0_polys;
|
|
int32_t L_110 = ___2_polyB;
|
|
NullCheck(L_109);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_111;
|
|
L_111 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_109, L_110, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_111);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_112;
|
|
L_112 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_111, NULL);
|
|
int32_t* L_113 = ___5_edgeB;
|
|
int32_t L_114 = *((int32_t*)L_113);
|
|
int32_t L_115 = V_1;
|
|
int32_t L_116 = V_1;
|
|
NullCheck(L_112);
|
|
int32_t L_117 = ((int32_t)(((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_114, L_115)), 1))%L_116));
|
|
int32_t L_118 = (L_112)->GetAt(static_cast<il2cpp_array_size_t>(L_117));
|
|
V_2 = L_118;
|
|
// vertB = polys[polyB].Vertices[edgeB];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_119 = ___0_polys;
|
|
int32_t L_120 = ___2_polyB;
|
|
NullCheck(L_119);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_121;
|
|
L_121 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_119, L_120, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_121);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_122;
|
|
L_122 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_121, NULL);
|
|
int32_t* L_123 = ___5_edgeB;
|
|
int32_t L_124 = *((int32_t*)L_123);
|
|
NullCheck(L_122);
|
|
int32_t L_125 = L_124;
|
|
int32_t L_126 = (L_122)->GetAt(static_cast<il2cpp_array_size_t>(L_125));
|
|
V_3 = L_126;
|
|
// vertC = polys[polyA].Vertices[(edgeA + 2) % numVertsA];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_127 = ___0_polys;
|
|
int32_t L_128 = ___1_polyA;
|
|
NullCheck(L_127);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_129;
|
|
L_129 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_127, L_128, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_129);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_130;
|
|
L_130 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_129, NULL);
|
|
int32_t* L_131 = ___4_edgeA;
|
|
int32_t L_132 = *((int32_t*)L_131);
|
|
int32_t L_133 = V_0;
|
|
NullCheck(L_130);
|
|
int32_t L_134 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_132, 2))%L_133));
|
|
int32_t L_135 = (L_130)->GetAt(static_cast<il2cpp_array_size_t>(L_134));
|
|
V_4 = L_135;
|
|
// if (!ULeft(verts[vertA], verts[vertB], verts[vertC]))
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_136 = ___3_verts;
|
|
int32_t L_137 = V_2;
|
|
NullCheck(L_136);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_138;
|
|
L_138 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_136, L_137, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_139 = ___3_verts;
|
|
int32_t L_140 = V_3;
|
|
NullCheck(L_139);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_141;
|
|
L_141 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_139, L_140, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_142 = ___3_verts;
|
|
int32_t L_143 = V_4;
|
|
NullCheck(L_142);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_144;
|
|
L_144 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_142, L_143, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
bool L_145;
|
|
L_145 = PolyMesh_ULeft_mF8CFF217258C1F93D24C0D2627EBB4007BC437A9(L_138, L_141, L_144, NULL);
|
|
if (L_145)
|
|
{
|
|
goto IL_01a7;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_01a7:
|
|
{
|
|
// vertA = polys[polyA].Vertices[edgeA];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_146 = ___0_polys;
|
|
int32_t L_147 = ___1_polyA;
|
|
NullCheck(L_146);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_148;
|
|
L_148 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_146, L_147, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_148);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_149;
|
|
L_149 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_148, NULL);
|
|
int32_t* L_150 = ___4_edgeA;
|
|
int32_t L_151 = *((int32_t*)L_150);
|
|
NullCheck(L_149);
|
|
int32_t L_152 = L_151;
|
|
int32_t L_153 = (L_149)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
|
|
V_2 = L_153;
|
|
// vertB = polys[polyA].Vertices[(edgeA + 1) % numVertsA];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_154 = ___0_polys;
|
|
int32_t L_155 = ___1_polyA;
|
|
NullCheck(L_154);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_156;
|
|
L_156 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_154, L_155, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_156);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_157;
|
|
L_157 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_156, NULL);
|
|
int32_t* L_158 = ___4_edgeA;
|
|
int32_t L_159 = *((int32_t*)L_158);
|
|
int32_t L_160 = V_0;
|
|
NullCheck(L_157);
|
|
int32_t L_161 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_159, 1))%L_160));
|
|
int32_t L_162 = (L_157)->GetAt(static_cast<il2cpp_array_size_t>(L_161));
|
|
V_3 = L_162;
|
|
// int dx = (int)(verts[vertA].X - verts[vertB].X);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_163 = ___3_verts;
|
|
int32_t L_164 = V_2;
|
|
NullCheck(L_163);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_165;
|
|
L_165 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_163, L_164, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_166 = L_165.___X_0;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_167 = ___3_verts;
|
|
int32_t L_168 = V_3;
|
|
NullCheck(L_167);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_169;
|
|
L_169 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_167, L_168, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_170 = L_169.___X_0;
|
|
// int dy = (int)(verts[vertA].Z - verts[vertB].Z);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_171 = ___3_verts;
|
|
int32_t L_172 = V_2;
|
|
NullCheck(L_171);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_173;
|
|
L_173 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_171, L_172, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_174 = L_173.___Z_2;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_175 = ___3_verts;
|
|
int32_t L_176 = V_3;
|
|
NullCheck(L_175);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_177;
|
|
L_177 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_175, L_176, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
int32_t L_178 = L_177.___Z_2;
|
|
V_5 = ((int32_t)il2cpp_codegen_subtract(L_174, L_178));
|
|
// return dx * dx + dy * dy;
|
|
int32_t L_179 = ((int32_t)il2cpp_codegen_subtract(L_166, L_170));
|
|
int32_t L_180 = V_5;
|
|
int32_t L_181 = V_5;
|
|
return ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_179, L_179)), ((int32_t)il2cpp_codegen_multiply(L_180, L_181))));
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh::CanRemoveVertex(System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMesh_CanRemoveVertex_mA29D7BBA0D05DE2809987283B1C6D816455CEB5C (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___0_polys, int32_t ___1_remove, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
int32_t V_18 = 0;
|
|
bool V_19 = false;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
int32_t V_23 = 0;
|
|
{
|
|
// int numRemovedVerts = 0;
|
|
V_0 = 0;
|
|
// int numTouchedVerts = 0;
|
|
V_1 = 0;
|
|
// int numRemainingEdges = 0;
|
|
V_2 = 0;
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_6 = 0;
|
|
goto IL_006c;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_0 = ___0_polys;
|
|
int32_t L_1 = V_6;
|
|
NullCheck(L_0);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_2;
|
|
L_2 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_0, L_1, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_7 = L_2;
|
|
// int nv = p.VertexCount;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_3 = V_7;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_3, NULL);
|
|
V_8 = L_4;
|
|
// int numRemoved = 0;
|
|
V_9 = 0;
|
|
// int numVerts = 0;
|
|
V_10 = 0;
|
|
// for (int j = 0; j < nv; j++)
|
|
V_11 = 0;
|
|
goto IL_004c;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// if (p.Vertices[j] == remove)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_5 = V_7;
|
|
NullCheck(L_5);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6;
|
|
L_6 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_5, NULL);
|
|
int32_t L_7 = V_11;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
int32_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
int32_t L_10 = ___1_remove;
|
|
if ((!(((uint32_t)L_9) == ((uint32_t)L_10))))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// numTouchedVerts++;
|
|
int32_t L_11 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
// numRemoved++;
|
|
int32_t L_12 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// numVerts++;
|
|
int32_t L_13 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
// for (int j = 0; j < nv; j++)
|
|
int32_t L_14 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// for (int j = 0; j < nv; j++)
|
|
int32_t L_15 = V_11;
|
|
int32_t L_16 = V_8;
|
|
if ((((int32_t)L_15) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// if (numRemoved > 0)
|
|
int32_t L_17 = V_9;
|
|
if ((((int32_t)L_17) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// numRemovedVerts += numRemoved;
|
|
int32_t L_18 = V_0;
|
|
int32_t L_19 = V_9;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_18, L_19));
|
|
// numRemainingEdges += numVerts - (numRemoved + 1);
|
|
int32_t L_20 = V_2;
|
|
int32_t L_21 = V_10;
|
|
int32_t L_22 = V_9;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_20, ((int32_t)il2cpp_codegen_subtract(L_21, ((int32_t)il2cpp_codegen_add(L_22, 1))))));
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_23 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_23, 1));
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_24 = V_6;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_25 = ___0_polys;
|
|
NullCheck(L_25);
|
|
int32_t L_26;
|
|
L_26 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_25, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_24) < ((int32_t)L_26)))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (numRemainingEdges <= 2)
|
|
int32_t L_27 = V_2;
|
|
if ((((int32_t)L_27) > ((int32_t)2)))
|
|
{
|
|
goto IL_007c;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_007c:
|
|
{
|
|
// int maxEdges = numTouchedVerts * 2;
|
|
int32_t L_28 = V_1;
|
|
// int nedges = 0;
|
|
V_3 = 0;
|
|
// int[] edges = new int[maxEdges * 3];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_29 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_multiply(L_28, 2)), 3)));
|
|
V_4 = L_29;
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_12 = 0;
|
|
goto IL_0169;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_30 = ___0_polys;
|
|
int32_t L_31 = V_12;
|
|
NullCheck(L_30);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_32;
|
|
L_32 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_30, L_31, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_13 = L_32;
|
|
// int nv = p.VertexCount;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_33 = V_13;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_33, NULL);
|
|
V_14 = L_34;
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
V_15 = 0;
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
int32_t L_35 = V_14;
|
|
V_16 = ((int32_t)il2cpp_codegen_subtract(L_35, 1));
|
|
goto IL_015a;
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
// if (p.Vertices[j] == remove || p.Vertices[k] == remove)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_36 = V_13;
|
|
NullCheck(L_36);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_37;
|
|
L_37 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_36, NULL);
|
|
int32_t L_38 = V_15;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
int32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
int32_t L_41 = ___1_remove;
|
|
if ((((int32_t)L_40) == ((int32_t)L_41)))
|
|
{
|
|
goto IL_00d0;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_42 = V_13;
|
|
NullCheck(L_42);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_43;
|
|
L_43 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_42, NULL);
|
|
int32_t L_44 = V_16;
|
|
NullCheck(L_43);
|
|
int32_t L_45 = L_44;
|
|
int32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
|
|
int32_t L_47 = ___1_remove;
|
|
if ((!(((uint32_t)L_46) == ((uint32_t)L_47))))
|
|
{
|
|
goto IL_0151;
|
|
}
|
|
}
|
|
|
|
IL_00d0:
|
|
{
|
|
// int a = p.Vertices[j], b = p.Vertices[k];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_48 = V_13;
|
|
NullCheck(L_48);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49;
|
|
L_49 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_48, NULL);
|
|
int32_t L_50 = V_15;
|
|
NullCheck(L_49);
|
|
int32_t L_51 = L_50;
|
|
int32_t L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
|
|
V_17 = L_52;
|
|
// int a = p.Vertices[j], b = p.Vertices[k];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_53 = V_13;
|
|
NullCheck(L_53);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_54;
|
|
L_54 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_53, NULL);
|
|
int32_t L_55 = V_16;
|
|
NullCheck(L_54);
|
|
int32_t L_56 = L_55;
|
|
int32_t L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
|
|
V_18 = L_57;
|
|
// if (b == remove)
|
|
int32_t L_58 = V_18;
|
|
int32_t L_59 = ___1_remove;
|
|
if ((!(((uint32_t)L_58) == ((uint32_t)L_59))))
|
|
{
|
|
goto IL_00f5;
|
|
}
|
|
}
|
|
{
|
|
// int temp = a;
|
|
int32_t L_60 = V_17;
|
|
// a = b;
|
|
int32_t L_61 = V_18;
|
|
V_17 = L_61;
|
|
// b = temp;
|
|
V_18 = L_60;
|
|
}
|
|
|
|
IL_00f5:
|
|
{
|
|
// bool exists = false;
|
|
V_19 = (bool)0;
|
|
// for (int m = 0; m < nedges; m++)
|
|
V_20 = 0;
|
|
goto IL_0127;
|
|
}
|
|
|
|
IL_00fd:
|
|
{
|
|
// int e = m * 3;
|
|
int32_t L_62 = V_20;
|
|
V_21 = ((int32_t)il2cpp_codegen_multiply(L_62, 3));
|
|
// if (edges[e + 1] == b)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_63 = V_4;
|
|
int32_t L_64 = V_21;
|
|
NullCheck(L_63);
|
|
int32_t L_65 = ((int32_t)il2cpp_codegen_add(L_64, 1));
|
|
int32_t L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
|
|
int32_t L_67 = V_18;
|
|
if ((!(((uint32_t)L_66) == ((uint32_t)L_67))))
|
|
{
|
|
goto IL_0121;
|
|
}
|
|
}
|
|
{
|
|
// edges[e + 2]++;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_68 = V_4;
|
|
int32_t L_69 = V_21;
|
|
NullCheck(L_68);
|
|
int32_t* L_70 = ((L_68)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_69, 2)))));
|
|
int32_t L_71 = *((int32_t*)L_70);
|
|
*((int32_t*)L_70) = (int32_t)((int32_t)il2cpp_codegen_add(L_71, 1));
|
|
// exists = true;
|
|
V_19 = (bool)1;
|
|
}
|
|
|
|
IL_0121:
|
|
{
|
|
// for (int m = 0; m < nedges; m++)
|
|
int32_t L_72 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_0127:
|
|
{
|
|
// for (int m = 0; m < nedges; m++)
|
|
int32_t L_73 = V_20;
|
|
int32_t L_74 = V_3;
|
|
if ((((int32_t)L_73) < ((int32_t)L_74)))
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
// if (!exists)
|
|
bool L_75 = V_19;
|
|
if (L_75)
|
|
{
|
|
goto IL_0151;
|
|
}
|
|
}
|
|
{
|
|
// int e = nedges * 3;
|
|
int32_t L_76 = V_3;
|
|
V_22 = ((int32_t)il2cpp_codegen_multiply(L_76, 3));
|
|
// edges[e + 0] = a;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_77 = V_4;
|
|
int32_t L_78 = V_22;
|
|
int32_t L_79 = V_17;
|
|
NullCheck(L_77);
|
|
(L_77)->SetAt(static_cast<il2cpp_array_size_t>(L_78), (int32_t)L_79);
|
|
// edges[e + 1] = b;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_80 = V_4;
|
|
int32_t L_81 = V_22;
|
|
int32_t L_82 = V_18;
|
|
NullCheck(L_80);
|
|
(L_80)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_81, 1))), (int32_t)L_82);
|
|
// edges[e + 2] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_83 = V_4;
|
|
int32_t L_84 = V_22;
|
|
NullCheck(L_83);
|
|
(L_83)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_84, 2))), (int32_t)1);
|
|
// nedges++;
|
|
int32_t L_85 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_85, 1));
|
|
}
|
|
|
|
IL_0151:
|
|
{
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
int32_t L_86 = V_15;
|
|
int32_t L_87 = L_86;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_87, 1));
|
|
V_16 = L_87;
|
|
}
|
|
|
|
IL_015a:
|
|
{
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
int32_t L_88 = V_15;
|
|
int32_t L_89 = V_14;
|
|
if ((((int32_t)L_88) < ((int32_t)L_89)))
|
|
{
|
|
goto IL_00b3;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_90 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_90, 1));
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_91 = V_12;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_92 = ___0_polys;
|
|
NullCheck(L_92);
|
|
int32_t L_93;
|
|
L_93 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_92, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_91) < ((int32_t)L_93)))
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// int numOpenEdges = 0;
|
|
V_5 = 0;
|
|
// for (int i = 0; i < nedges; i++)
|
|
V_23 = 0;
|
|
goto IL_0196;
|
|
}
|
|
|
|
IL_017e:
|
|
{
|
|
// if (edges[i * 3 + 2] < 2)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_94 = V_4;
|
|
int32_t L_95 = V_23;
|
|
NullCheck(L_94);
|
|
int32_t L_96 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_95, 3)), 2));
|
|
int32_t L_97 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
|
|
if ((((int32_t)L_97) >= ((int32_t)2)))
|
|
{
|
|
goto IL_0190;
|
|
}
|
|
}
|
|
{
|
|
// numOpenEdges++;
|
|
int32_t L_98 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_98, 1));
|
|
}
|
|
|
|
IL_0190:
|
|
{
|
|
// for (int i = 0; i < nedges; i++)
|
|
int32_t L_99 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_99, 1));
|
|
}
|
|
|
|
IL_0196:
|
|
{
|
|
// for (int i = 0; i < nedges; i++)
|
|
int32_t L_100 = V_23;
|
|
int32_t L_101 = V_3;
|
|
if ((((int32_t)L_100) < ((int32_t)L_101)))
|
|
{
|
|
goto IL_017e;
|
|
}
|
|
}
|
|
{
|
|
// if (numOpenEdges > 2)
|
|
int32_t L_102 = V_5;
|
|
if ((((int32_t)L_102) <= ((int32_t)2)))
|
|
{
|
|
goto IL_01a2;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_01a2:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh::BuildMeshAdjacency(System.Collections.Generic.List`1<SharpNav.PolyVertex>,System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_BuildMeshAdjacency_m026DF8B92B1699C55B0A9B85A0EBECE38C0276A7 (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___0_vertices, List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___1_polys, int32_t ___2_numVertsPerPoly, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
int32_t V_11 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
int32_t V_18 = 0;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
int32_t G_B10_0 = 0;
|
|
int32_t G_B23_0 = 0;
|
|
{
|
|
// int maxEdgeCount = polys.Count * numVertsPerPoly;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_0 = ___1_polys;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_0, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
int32_t L_2 = ___2_numVertsPerPoly;
|
|
V_0 = ((int32_t)il2cpp_codegen_multiply(L_1, L_2));
|
|
// int[] firstEdge = new int[vertices.Count + maxEdgeCount];
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_3 = ___0_vertices;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_inline(L_3, List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var);
|
|
int32_t L_5 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(L_4, L_5)));
|
|
V_1 = L_6;
|
|
// int nextEdge = vertices.Count;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_7 = ___0_vertices;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_inline(L_7, List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var);
|
|
V_2 = L_8;
|
|
// List<AdjacencyEdge> edges = new List<AdjacencyEdge>(maxEdgeCount);
|
|
int32_t L_9 = V_0;
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_10 = (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*)il2cpp_codegen_object_new(List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00(L_10, L_9, List_1__ctor_m06CA33ACA045EB2F5787726349F48C7ECE329A00_RuntimeMethod_var);
|
|
V_3 = L_10;
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// firstEdge[i] = NullId;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = V_1;
|
|
int32_t L_12 = V_4;
|
|
NullCheck(L_11);
|
|
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (int32_t)(-1));
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
int32_t L_13 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
int32_t L_14 = V_4;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_15 = ___0_vertices;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_inline(L_15, List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_RuntimeMethod_var);
|
|
if ((((int32_t)L_14) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_5 = 0;
|
|
goto IL_0113;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_17 = ___1_polys;
|
|
int32_t L_18 = V_5;
|
|
NullCheck(L_17);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_19;
|
|
L_19 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_17, L_18, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_6 = L_19;
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
V_7 = 0;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// if (p.Vertices[j] == NullId)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_20 = V_6;
|
|
NullCheck(L_20);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_21;
|
|
L_21 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_20, NULL);
|
|
int32_t L_22 = V_7;
|
|
NullCheck(L_21);
|
|
int32_t L_23 = L_22;
|
|
int32_t L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
if ((((int32_t)L_24) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_010d;
|
|
}
|
|
}
|
|
{
|
|
// int v0 = p.Vertices[j];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_25 = V_6;
|
|
NullCheck(L_25);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26;
|
|
L_26 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_25, NULL);
|
|
int32_t L_27 = V_7;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
int32_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
V_8 = L_29;
|
|
// int v1 = (j + 1 >= numVertsPerPoly || p.Vertices[j + 1] == NullId) ? p.Vertices[0] : p.Vertices[j + 1];
|
|
int32_t L_30 = V_7;
|
|
int32_t L_31 = ___2_numVertsPerPoly;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_30, 1))) >= ((int32_t)L_31)))
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_32 = V_6;
|
|
NullCheck(L_32);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_33;
|
|
L_33 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_32, NULL);
|
|
int32_t L_34 = V_7;
|
|
NullCheck(L_33);
|
|
int32_t L_35 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
int32_t L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
if ((((int32_t)L_36) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_37 = V_6;
|
|
NullCheck(L_37);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38;
|
|
L_38 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_37, NULL);
|
|
int32_t L_39 = V_7;
|
|
NullCheck(L_38);
|
|
int32_t L_40 = ((int32_t)il2cpp_codegen_add(L_39, 1));
|
|
int32_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
|
|
G_B10_0 = L_41;
|
|
goto IL_00a2;
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_42 = V_6;
|
|
NullCheck(L_42);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_43;
|
|
L_43 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_42, NULL);
|
|
NullCheck(L_43);
|
|
int32_t L_44 = 0;
|
|
int32_t L_45 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
|
|
G_B10_0 = L_45;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
V_9 = G_B10_0;
|
|
// if (v0 < v1)
|
|
int32_t L_46 = V_8;
|
|
int32_t L_47 = V_9;
|
|
if ((((int32_t)L_46) >= ((int32_t)L_47)))
|
|
{
|
|
goto IL_00ff;
|
|
}
|
|
}
|
|
{
|
|
// edge.Vert0 = v0;
|
|
int32_t L_48 = V_8;
|
|
(&V_10)->___Vert0_0 = L_48;
|
|
// edge.Vert1 = v1;
|
|
int32_t L_49 = V_9;
|
|
(&V_10)->___Vert1_1 = L_49;
|
|
// edge.Poly0 = i;
|
|
int32_t L_50 = V_5;
|
|
(&V_10)->___Poly0_4 = L_50;
|
|
// edge.PolyEdge0 = j;
|
|
int32_t L_51 = V_7;
|
|
(&V_10)->___PolyEdge0_2 = L_51;
|
|
// edge.Poly1 = i;
|
|
int32_t L_52 = V_5;
|
|
(&V_10)->___Poly1_5 = L_52;
|
|
// edge.PolyEdge1 = 0;
|
|
(&V_10)->___PolyEdge1_3 = 0;
|
|
// firstEdge[nextEdge + edges.Count] = firstEdge[v0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_53 = V_1;
|
|
int32_t L_54 = V_2;
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_55 = V_3;
|
|
NullCheck(L_55);
|
|
int32_t L_56;
|
|
L_56 = List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_inline(L_55, List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_RuntimeMethod_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_57 = V_1;
|
|
int32_t L_58 = V_8;
|
|
NullCheck(L_57);
|
|
int32_t L_59 = L_58;
|
|
int32_t L_60 = (L_57)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
|
|
NullCheck(L_53);
|
|
(L_53)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_54, L_56))), (int32_t)L_60);
|
|
// firstEdge[v0] = edges.Count;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_61 = V_1;
|
|
int32_t L_62 = V_8;
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_63 = V_3;
|
|
NullCheck(L_63);
|
|
int32_t L_64;
|
|
L_64 = List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_inline(L_63, List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_RuntimeMethod_var);
|
|
NullCheck(L_61);
|
|
(L_61)->SetAt(static_cast<il2cpp_array_size_t>(L_62), (int32_t)L_64);
|
|
// edges.Add(edge);
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_65 = V_3;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_66 = V_10;
|
|
NullCheck(L_65);
|
|
List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_inline(L_65, L_66, List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00ff:
|
|
{
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
int32_t L_67 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_67, 1));
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
int32_t L_68 = V_7;
|
|
int32_t L_69 = ___2_numVertsPerPoly;
|
|
if ((((int32_t)L_68) < ((int32_t)L_69)))
|
|
{
|
|
goto IL_0059;
|
|
}
|
|
}
|
|
|
|
IL_010d:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_70 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_70, 1));
|
|
}
|
|
|
|
IL_0113:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_71 = V_5;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_72 = ___1_polys;
|
|
NullCheck(L_72);
|
|
int32_t L_73;
|
|
L_73 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_72, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_71) < ((int32_t)L_73)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_11 = 0;
|
|
goto IL_01f7;
|
|
}
|
|
|
|
IL_0128:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_74 = ___1_polys;
|
|
int32_t L_75 = V_11;
|
|
NullCheck(L_74);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_76;
|
|
L_76 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_74, L_75, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_12 = L_76;
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
V_13 = 0;
|
|
goto IL_01e9;
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// if (p.Vertices[j] == NullId)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_77 = V_12;
|
|
NullCheck(L_77);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_78;
|
|
L_78 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_77, NULL);
|
|
int32_t L_79 = V_13;
|
|
NullCheck(L_78);
|
|
int32_t L_80 = L_79;
|
|
int32_t L_81 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
|
|
if ((((int32_t)L_81) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_01f1;
|
|
}
|
|
}
|
|
{
|
|
// int v0 = p.Vertices[j];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_82 = V_12;
|
|
NullCheck(L_82);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_83;
|
|
L_83 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_82, NULL);
|
|
int32_t L_84 = V_13;
|
|
NullCheck(L_83);
|
|
int32_t L_85 = L_84;
|
|
int32_t L_86 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
|
|
V_14 = L_86;
|
|
// int v1 = (j + 1 >= numVertsPerPoly || p.Vertices[j + 1] == NullId) ? p.Vertices[0] : p.Vertices[j + 1];
|
|
int32_t L_87 = V_13;
|
|
int32_t L_88 = ___2_numVertsPerPoly;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_87, 1))) >= ((int32_t)L_88)))
|
|
{
|
|
goto IL_017a;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_89 = V_12;
|
|
NullCheck(L_89);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_90;
|
|
L_90 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_89, NULL);
|
|
int32_t L_91 = V_13;
|
|
NullCheck(L_90);
|
|
int32_t L_92 = ((int32_t)il2cpp_codegen_add(L_91, 1));
|
|
int32_t L_93 = (L_90)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
|
|
if ((((int32_t)L_93) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_017a;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_94 = V_12;
|
|
NullCheck(L_94);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_95;
|
|
L_95 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_94, NULL);
|
|
int32_t L_96 = V_13;
|
|
NullCheck(L_95);
|
|
int32_t L_97 = ((int32_t)il2cpp_codegen_add(L_96, 1));
|
|
int32_t L_98 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
|
|
G_B23_0 = L_98;
|
|
goto IL_0183;
|
|
}
|
|
|
|
IL_017a:
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_99 = V_12;
|
|
NullCheck(L_99);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_100;
|
|
L_100 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_99, NULL);
|
|
NullCheck(L_100);
|
|
int32_t L_101 = 0;
|
|
int32_t L_102 = (L_100)->GetAt(static_cast<il2cpp_array_size_t>(L_101));
|
|
G_B23_0 = L_102;
|
|
}
|
|
|
|
IL_0183:
|
|
{
|
|
V_15 = G_B23_0;
|
|
// if (v0 > v1)
|
|
int32_t L_103 = V_14;
|
|
int32_t L_104 = V_15;
|
|
if ((((int32_t)L_103) <= ((int32_t)L_104)))
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
{
|
|
// for (int e = firstEdge[v1]; e != NullId; e = firstEdge[nextEdge + e])
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_105 = V_1;
|
|
int32_t L_106 = V_15;
|
|
NullCheck(L_105);
|
|
int32_t L_107 = L_106;
|
|
int32_t L_108 = (L_105)->GetAt(static_cast<il2cpp_array_size_t>(L_107));
|
|
V_16 = L_108;
|
|
goto IL_01de;
|
|
}
|
|
|
|
IL_0193:
|
|
{
|
|
// AdjacencyEdge edge = edges[e];
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_109 = V_3;
|
|
int32_t L_110 = V_16;
|
|
NullCheck(L_109);
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_111;
|
|
L_111 = List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C(L_109, L_110, List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C_RuntimeMethod_var);
|
|
V_17 = L_111;
|
|
// if (edge.Vert1 == v0 && edge.Poly0 == edge.Poly1)
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_112 = V_17;
|
|
int32_t L_113 = L_112.___Vert1_1;
|
|
int32_t L_114 = V_14;
|
|
if ((!(((uint32_t)L_113) == ((uint32_t)L_114))))
|
|
{
|
|
goto IL_01d6;
|
|
}
|
|
}
|
|
{
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_115 = V_17;
|
|
int32_t L_116 = L_115.___Poly0_4;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_117 = V_17;
|
|
int32_t L_118 = L_117.___Poly1_5;
|
|
if ((!(((uint32_t)L_116) == ((uint32_t)L_118))))
|
|
{
|
|
goto IL_01d6;
|
|
}
|
|
}
|
|
{
|
|
// edge.Poly1 = i;
|
|
int32_t L_119 = V_11;
|
|
(&V_17)->___Poly1_5 = L_119;
|
|
// edge.PolyEdge1 = j;
|
|
int32_t L_120 = V_13;
|
|
(&V_17)->___PolyEdge1_3 = L_120;
|
|
// edges[e] = edge;
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_121 = V_3;
|
|
int32_t L_122 = V_16;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_123 = V_17;
|
|
NullCheck(L_121);
|
|
List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B(L_121, L_122, L_123, List_1_set_Item_m8CEE641C5F1EB66D3B1C5F51DE523896E797F65B_RuntimeMethod_var);
|
|
// break;
|
|
goto IL_01e3;
|
|
}
|
|
|
|
IL_01d6:
|
|
{
|
|
// for (int e = firstEdge[v1]; e != NullId; e = firstEdge[nextEdge + e])
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_124 = V_1;
|
|
int32_t L_125 = V_2;
|
|
int32_t L_126 = V_16;
|
|
NullCheck(L_124);
|
|
int32_t L_127 = ((int32_t)il2cpp_codegen_add(L_125, L_126));
|
|
int32_t L_128 = (L_124)->GetAt(static_cast<il2cpp_array_size_t>(L_127));
|
|
V_16 = L_128;
|
|
}
|
|
|
|
IL_01de:
|
|
{
|
|
// for (int e = firstEdge[v1]; e != NullId; e = firstEdge[nextEdge + e])
|
|
int32_t L_129 = V_16;
|
|
if ((!(((uint32_t)L_129) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0193;
|
|
}
|
|
}
|
|
|
|
IL_01e3:
|
|
{
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
int32_t L_130 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_130, 1));
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// for (int j = 0; j < numVertsPerPoly; j++)
|
|
int32_t L_131 = V_13;
|
|
int32_t L_132 = ___2_numVertsPerPoly;
|
|
if ((((int32_t)L_131) < ((int32_t)L_132)))
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
|
|
IL_01f1:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_133 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_133, 1));
|
|
}
|
|
|
|
IL_01f7:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_134 = V_11;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_135 = ___1_polys;
|
|
NullCheck(L_135);
|
|
int32_t L_136;
|
|
L_136 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_135, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_134) < ((int32_t)L_136)))
|
|
{
|
|
goto IL_0128;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_18 = 0;
|
|
goto IL_026b;
|
|
}
|
|
|
|
IL_0209:
|
|
{
|
|
// AdjacencyEdge e = edges[i];
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_137 = V_3;
|
|
int32_t L_138 = V_18;
|
|
NullCheck(L_137);
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_139;
|
|
L_139 = List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C(L_137, L_138, List_1_get_Item_mCF7D7B7DA6003179D21EE34D00F0417EC346074C_RuntimeMethod_var);
|
|
V_19 = L_139;
|
|
// if (e.Poly0 != e.Poly1)
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_140 = V_19;
|
|
int32_t L_141 = L_140.___Poly0_4;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_142 = V_19;
|
|
int32_t L_143 = L_142.___Poly1_5;
|
|
if ((((int32_t)L_141) == ((int32_t)L_143)))
|
|
{
|
|
goto IL_0265;
|
|
}
|
|
}
|
|
{
|
|
// polys[e.Poly0].NeighborEdges[e.PolyEdge0] = e.Poly1;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_144 = ___1_polys;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_145 = V_19;
|
|
int32_t L_146 = L_145.___Poly0_4;
|
|
NullCheck(L_144);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_147;
|
|
L_147 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_144, L_146, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_147);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_148;
|
|
L_148 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_147, NULL);
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_149 = V_19;
|
|
int32_t L_150 = L_149.___PolyEdge0_2;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_151 = V_19;
|
|
int32_t L_152 = L_151.___Poly1_5;
|
|
NullCheck(L_148);
|
|
(L_148)->SetAt(static_cast<il2cpp_array_size_t>(L_150), (int32_t)L_152);
|
|
// polys[e.Poly1].NeighborEdges[e.PolyEdge1] = e.Poly0;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_153 = ___1_polys;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_154 = V_19;
|
|
int32_t L_155 = L_154.___Poly1_5;
|
|
NullCheck(L_153);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_156;
|
|
L_156 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_153, L_155, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_156);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_157;
|
|
L_157 = Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline(L_156, NULL);
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_158 = V_19;
|
|
int32_t L_159 = L_158.___PolyEdge1_3;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_160 = V_19;
|
|
int32_t L_161 = L_160.___Poly0_4;
|
|
NullCheck(L_157);
|
|
(L_157)->SetAt(static_cast<il2cpp_array_size_t>(L_159), (int32_t)L_161);
|
|
}
|
|
|
|
IL_0265:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_162 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_162, 1));
|
|
}
|
|
|
|
IL_026b:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_163 = V_18;
|
|
List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* L_164 = V_3;
|
|
NullCheck(L_164);
|
|
int32_t L_165;
|
|
L_165 = List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_inline(L_164, List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_RuntimeMethod_var);
|
|
if ((((int32_t)L_163) < ((int32_t)L_165)))
|
|
{
|
|
goto IL_0209;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh::MergePolys(System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_MergePolys_m2FFE2F7DBB94B76BBF43ACFA07DE2F09F4D7D957 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___0_polys, int32_t ___1_polyA, int32_t ___2_polyB, int32_t ___3_edgeA, int32_t ___4_edgeB, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
{
|
|
// int numA = polys[polyA].VertexCount;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_0 = ___0_polys;
|
|
int32_t L_1 = ___1_polyA;
|
|
NullCheck(L_0);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_2;
|
|
L_2 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_0, L_1, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_2, NULL);
|
|
V_0 = L_3;
|
|
// int numB = polys[polyB].VertexCount;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_4 = ___0_polys;
|
|
int32_t L_5 = ___2_polyB;
|
|
NullCheck(L_4);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_6;
|
|
L_6 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_4, L_5, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_6, NULL);
|
|
V_1 = L_7;
|
|
// int[] temp = new int[numA + numB];
|
|
int32_t L_8 = V_0;
|
|
int32_t L_9 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add(L_8, L_9)));
|
|
V_2 = L_10;
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
V_4 = 0;
|
|
goto IL_0033;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// temp[i] = NullId;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = V_2;
|
|
int32_t L_12 = V_4;
|
|
NullCheck(L_11);
|
|
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (int32_t)(-1));
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
int32_t L_13 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
int32_t L_14 = V_4;
|
|
int32_t L_15 = __this->___numVertsPerPoly_5;
|
|
if ((((int32_t)L_14) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// int n = 0;
|
|
V_3 = 0;
|
|
// for (int i = 0; i < numA - 1; i++)
|
|
V_5 = 0;
|
|
goto IL_0067;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// temp[n++] = polys[polyA].Vertices[(edgeA + 1 + i) % numA];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16 = V_2;
|
|
int32_t L_17 = V_3;
|
|
int32_t L_18 = L_17;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_18, 1));
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_19 = ___0_polys;
|
|
int32_t L_20 = ___1_polyA;
|
|
NullCheck(L_19);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_21;
|
|
L_21 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_19, L_20, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_21);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_22;
|
|
L_22 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_21, NULL);
|
|
int32_t L_23 = ___3_edgeA;
|
|
int32_t L_24 = V_5;
|
|
int32_t L_25 = V_0;
|
|
NullCheck(L_22);
|
|
int32_t L_26 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_23, 1)), L_24))%L_25));
|
|
int32_t L_27 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
NullCheck(L_16);
|
|
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (int32_t)L_27);
|
|
// for (int i = 0; i < numA - 1; i++)
|
|
int32_t L_28 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// for (int i = 0; i < numA - 1; i++)
|
|
int32_t L_29 = V_5;
|
|
int32_t L_30 = V_0;
|
|
if ((((int32_t)L_29) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_30, 1)))))
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numB - 1; i++)
|
|
V_6 = 0;
|
|
goto IL_0096;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// temp[n++] = polys[polyB].Vertices[(edgeB + 1 + i) % numB];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31 = V_2;
|
|
int32_t L_32 = V_3;
|
|
int32_t L_33 = L_32;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_33, 1));
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_34 = ___0_polys;
|
|
int32_t L_35 = ___2_polyB;
|
|
NullCheck(L_34);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_36;
|
|
L_36 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_34, L_35, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_36);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_37;
|
|
L_37 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_36, NULL);
|
|
int32_t L_38 = ___4_edgeB;
|
|
int32_t L_39 = V_6;
|
|
int32_t L_40 = V_1;
|
|
NullCheck(L_37);
|
|
int32_t L_41 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_38, 1)), L_39))%L_40));
|
|
int32_t L_42 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
NullCheck(L_31);
|
|
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(L_33), (int32_t)L_42);
|
|
// for (int i = 0; i < numB - 1; i++)
|
|
int32_t L_43 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_43, 1));
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
// for (int i = 0; i < numB - 1; i++)
|
|
int32_t L_44 = V_6;
|
|
int32_t L_45 = V_1;
|
|
if ((((int32_t)L_44) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_45, 1)))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
V_7 = 0;
|
|
goto IL_00bb;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// polys[polyA].Vertices[i] = temp[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_46 = ___0_polys;
|
|
int32_t L_47 = ___1_polyA;
|
|
NullCheck(L_46);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_48;
|
|
L_48 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_46, L_47, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_48);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49;
|
|
L_49 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_48, NULL);
|
|
int32_t L_50 = V_7;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_51 = V_2;
|
|
int32_t L_52 = V_7;
|
|
NullCheck(L_51);
|
|
int32_t L_53 = L_52;
|
|
int32_t L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
|
|
NullCheck(L_49);
|
|
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(L_50), (int32_t)L_54);
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
int32_t L_55 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_00bb:
|
|
{
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
int32_t L_56 = V_7;
|
|
int32_t L_57 = __this->___numVertsPerPoly_5;
|
|
if ((((int32_t)L_56) < ((int32_t)L_57)))
|
|
{
|
|
goto IL_00a2;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh::RemoveVertex(System.Collections.Generic.List`1<SharpNav.PolyVertex>,System.Collections.Generic.List`1<SharpNav.PolyMesh/Polygon>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMesh_RemoveVertex_m511C9D9AFEE151207F0359448711EAF08486B904 (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* ___0_verts, List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* ___1_polys, int32_t ___2_vertex, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_AddRange_m22A22BEB3E509EC035D62FE3643E7352AFA9D70E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* V_2 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_3 = NULL;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* V_4 = NULL;
|
|
List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* V_5 = NULL;
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* V_6 = NULL;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* V_7 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_8 = NULL;
|
|
int32_t V_9 = 0;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* V_10 = NULL;
|
|
int32_t V_11 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_15 = NULL;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
int32_t V_18 = 0;
|
|
int32_t V_19 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_20 = NULL;
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
bool V_24 = false;
|
|
int32_t V_25 = 0;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E V_26;
|
|
memset((&V_26), 0, sizeof(V_26));
|
|
bool V_27 = false;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
int32_t V_30 = 0;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E V_31;
|
|
memset((&V_31), 0, sizeof(V_31));
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_32 = NULL;
|
|
int32_t V_33 = 0;
|
|
int32_t V_34 = 0;
|
|
int32_t V_35 = 0;
|
|
int32_t V_36 = 0;
|
|
int32_t V_37 = 0;
|
|
int32_t V_38 = 0;
|
|
int32_t V_39 = 0;
|
|
int32_t V_40 = 0;
|
|
int32_t V_41 = 0;
|
|
int32_t V_42 = 0;
|
|
int32_t V_43 = 0;
|
|
int32_t V_44 = 0;
|
|
int32_t V_45 = 0;
|
|
int32_t V_46 = 0;
|
|
{
|
|
// int numVertsPerPoly = this.numVertsPerPoly;
|
|
int32_t L_0 = __this->___numVertsPerPoly_5;
|
|
V_0 = L_0;
|
|
// int numRemovedVerts = 0;
|
|
V_1 = 0;
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_11 = 0;
|
|
goto IL_0045;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_1 = ___1_polys;
|
|
int32_t L_2 = V_11;
|
|
NullCheck(L_1);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_3;
|
|
L_3 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_1, L_2, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_12 = L_3;
|
|
// for (int j = 0; j < p.VertexCount; j++)
|
|
V_13 = 0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// if (p.Vertices[j] == vertex)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_4 = V_12;
|
|
NullCheck(L_4);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5;
|
|
L_5 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_4, NULL);
|
|
int32_t L_6 = V_13;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
int32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
int32_t L_9 = ___2_vertex;
|
|
if ((!(((uint32_t)L_8) == ((uint32_t)L_9))))
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// numRemovedVerts++;
|
|
int32_t L_10 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// for (int j = 0; j < p.VertexCount; j++)
|
|
int32_t L_11 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// for (int j = 0; j < p.VertexCount; j++)
|
|
int32_t L_12 = V_13;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_13 = V_12;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_13, NULL);
|
|
if ((((int32_t)L_12) < ((int32_t)L_14)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_15 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_16 = V_11;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_17 = ___1_polys;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_17, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_16) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// List<Edge> edges = new List<Edge>(numRemovedVerts * numVertsPerPoly);
|
|
int32_t L_19 = V_1;
|
|
int32_t L_20 = V_0;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_21 = (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*)il2cpp_codegen_object_new(List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278_il2cpp_TypeInfo_var);
|
|
NullCheck(L_21);
|
|
List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136(L_21, ((int32_t)il2cpp_codegen_multiply(L_19, L_20)), List_1__ctor_m2F726049335B08C730F203362AFBD34B99CF0136_RuntimeMethod_var);
|
|
V_2 = L_21;
|
|
// List<int> hole = new List<int>(numRemovedVerts * numVertsPerPoly);
|
|
int32_t L_22 = V_1;
|
|
int32_t L_23 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_24 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_24);
|
|
List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98(L_24, ((int32_t)il2cpp_codegen_multiply(L_22, L_23)), List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
V_3 = L_24;
|
|
// List<RegionId> regions = new List<RegionId>(numRemovedVerts * numVertsPerPoly);
|
|
int32_t L_25 = V_1;
|
|
int32_t L_26 = V_0;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_27 = (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*)il2cpp_codegen_object_new(List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
NullCheck(L_27);
|
|
List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF(L_27, ((int32_t)il2cpp_codegen_multiply(L_25, L_26)), List_1__ctor_m4D1F9D67A0133227A41D6154295D1FE5B2A25FBF_RuntimeMethod_var);
|
|
V_4 = L_27;
|
|
// List<Area> areas = new List<Area>(numRemovedVerts * numVertsPerPoly);
|
|
int32_t L_28 = V_1;
|
|
int32_t L_29 = V_0;
|
|
List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* L_30 = (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950*)il2cpp_codegen_object_new(List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950_il2cpp_TypeInfo_var);
|
|
NullCheck(L_30);
|
|
List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D(L_30, ((int32_t)il2cpp_codegen_multiply(L_28, L_29)), List_1__ctor_mC4AFD49690DAD974755DA391109A051DD41B259D_RuntimeMethod_var);
|
|
V_5 = L_30;
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_14 = 0;
|
|
goto IL_012e;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_31 = ___1_polys;
|
|
int32_t L_32 = V_14;
|
|
NullCheck(L_31);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_33;
|
|
L_33 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_31, L_32, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_15 = L_33;
|
|
// if (p.ContainsVertex(vertex))
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_34 = V_15;
|
|
int32_t L_35 = ___2_vertex;
|
|
NullCheck(L_34);
|
|
bool L_36;
|
|
L_36 = Polygon_ContainsVertex_m6D41FADAEF529AAB4090E55AC96DEF088CD8A46B(L_34, L_35, NULL);
|
|
if (!L_36)
|
|
{
|
|
goto IL_0128;
|
|
}
|
|
}
|
|
{
|
|
// int nv = p.VertexCount;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_37 = V_15;
|
|
NullCheck(L_37);
|
|
int32_t L_38;
|
|
L_38 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_37, NULL);
|
|
V_16 = L_38;
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
V_17 = 0;
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
int32_t L_39 = V_16;
|
|
V_18 = ((int32_t)il2cpp_codegen_subtract(L_39, 1));
|
|
goto IL_00f8;
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// if (p.Vertices[j] != vertex && p.Vertices[k] != vertex)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_40 = V_15;
|
|
NullCheck(L_40);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_41;
|
|
L_41 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_40, NULL);
|
|
int32_t L_42 = V_17;
|
|
NullCheck(L_41);
|
|
int32_t L_43 = L_42;
|
|
int32_t L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
|
|
int32_t L_45 = ___2_vertex;
|
|
if ((((int32_t)L_44) == ((int32_t)L_45)))
|
|
{
|
|
goto IL_00ef;
|
|
}
|
|
}
|
|
{
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_46 = V_15;
|
|
NullCheck(L_46);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_47;
|
|
L_47 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_46, NULL);
|
|
int32_t L_48 = V_18;
|
|
NullCheck(L_47);
|
|
int32_t L_49 = L_48;
|
|
int32_t L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
|
|
int32_t L_51 = ___2_vertex;
|
|
if ((((int32_t)L_50) == ((int32_t)L_51)))
|
|
{
|
|
goto IL_00ef;
|
|
}
|
|
}
|
|
{
|
|
// edges.Add(new Edge(p.Vertices[k], p.Vertices[j], p.RegionId, p.Area));
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_52 = V_2;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_53 = V_15;
|
|
NullCheck(L_53);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_54;
|
|
L_54 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_53, NULL);
|
|
int32_t L_55 = V_18;
|
|
NullCheck(L_54);
|
|
int32_t L_56 = L_55;
|
|
int32_t L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_58 = V_15;
|
|
NullCheck(L_58);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_59;
|
|
L_59 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_58, NULL);
|
|
int32_t L_60 = V_17;
|
|
NullCheck(L_59);
|
|
int32_t L_61 = L_60;
|
|
int32_t L_62 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_63 = V_15;
|
|
NullCheck(L_63);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_64;
|
|
L_64 = Polygon_get_RegionId_m9E5FDBF8432D77751B51C631AB401A1878ECF5D4_inline(L_63, NULL);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_65 = V_15;
|
|
NullCheck(L_65);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_66;
|
|
L_66 = Polygon_get_Area_m0975F5C5F92A629242CFFA81AED2EC09CE9A2E7A_inline(L_65, NULL);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_67;
|
|
memset((&L_67), 0, sizeof(L_67));
|
|
Edge__ctor_m657FAA8FF32F64917CC0F7D1FCBEB1F26DA0AFD1((&L_67), L_57, L_62, L_64, L_66, /*hidden argument*/NULL);
|
|
NullCheck(L_52);
|
|
List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_inline(L_52, L_67, List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00ef:
|
|
{
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
int32_t L_68 = V_17;
|
|
int32_t L_69 = L_68;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_69, 1));
|
|
V_18 = L_69;
|
|
}
|
|
|
|
IL_00f8:
|
|
{
|
|
// for (int j = 0, k = nv - 1; j < nv; k = j++)
|
|
int32_t L_70 = V_17;
|
|
int32_t L_71 = V_16;
|
|
if ((((int32_t)L_70) < ((int32_t)L_71)))
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// polys[i] = polys[polys.Count - 1];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_72 = ___1_polys;
|
|
int32_t L_73 = V_14;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_74 = ___1_polys;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_75 = ___1_polys;
|
|
NullCheck(L_75);
|
|
int32_t L_76;
|
|
L_76 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_75, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
NullCheck(L_74);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_77;
|
|
L_77 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_74, ((int32_t)il2cpp_codegen_subtract(L_76, 1)), List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_72);
|
|
List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939(L_72, L_73, L_77, List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939_RuntimeMethod_var);
|
|
// polys.RemoveAt(polys.Count - 1);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_78 = ___1_polys;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_79 = ___1_polys;
|
|
NullCheck(L_79);
|
|
int32_t L_80;
|
|
L_80 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_79, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
NullCheck(L_78);
|
|
List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D(L_78, ((int32_t)il2cpp_codegen_subtract(L_80, 1)), List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D_RuntimeMethod_var);
|
|
// i--;
|
|
int32_t L_81 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_subtract(L_81, 1));
|
|
}
|
|
|
|
IL_0128:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_82 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_82, 1));
|
|
}
|
|
|
|
IL_012e:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_83 = V_14;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_84 = ___1_polys;
|
|
NullCheck(L_84);
|
|
int32_t L_85;
|
|
L_85 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_84, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_83) < ((int32_t)L_85)))
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
// verts.RemoveAt(vertex);
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_86 = ___0_verts;
|
|
int32_t L_87 = ___2_vertex;
|
|
NullCheck(L_86);
|
|
List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4(L_86, L_87, List_1_RemoveAt_m18D3E46C4D877B6DE058300CE626DD22F9E64BA4_RuntimeMethod_var);
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
V_19 = 0;
|
|
goto IL_018d;
|
|
}
|
|
|
|
IL_0147:
|
|
{
|
|
// Polygon p = polys[i];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_88 = ___1_polys;
|
|
int32_t L_89 = V_19;
|
|
NullCheck(L_88);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_90;
|
|
L_90 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_88, L_89, List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
V_20 = L_90;
|
|
// for (int j = 0; j < p.VertexCount; j++)
|
|
V_21 = 0;
|
|
goto IL_017c;
|
|
}
|
|
|
|
IL_0156:
|
|
{
|
|
// if (p.Vertices[j] > vertex)
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_91 = V_20;
|
|
NullCheck(L_91);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_92;
|
|
L_92 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_91, NULL);
|
|
int32_t L_93 = V_21;
|
|
NullCheck(L_92);
|
|
int32_t L_94 = L_93;
|
|
int32_t L_95 = (L_92)->GetAt(static_cast<il2cpp_array_size_t>(L_94));
|
|
int32_t L_96 = ___2_vertex;
|
|
if ((((int32_t)L_95) <= ((int32_t)L_96)))
|
|
{
|
|
goto IL_0176;
|
|
}
|
|
}
|
|
{
|
|
// p.Vertices[j]--;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_97 = V_20;
|
|
NullCheck(L_97);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_98;
|
|
L_98 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_97, NULL);
|
|
int32_t L_99 = V_21;
|
|
NullCheck(L_98);
|
|
int32_t* L_100 = ((L_98)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_99)));
|
|
int32_t L_101 = *((int32_t*)L_100);
|
|
*((int32_t*)L_100) = (int32_t)((int32_t)il2cpp_codegen_subtract(L_101, 1));
|
|
}
|
|
|
|
IL_0176:
|
|
{
|
|
// for (int j = 0; j < p.VertexCount; j++)
|
|
int32_t L_102 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_102, 1));
|
|
}
|
|
|
|
IL_017c:
|
|
{
|
|
// for (int j = 0; j < p.VertexCount; j++)
|
|
int32_t L_103 = V_21;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_104 = V_20;
|
|
NullCheck(L_104);
|
|
int32_t L_105;
|
|
L_105 = Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93(L_104, NULL);
|
|
if ((((int32_t)L_103) < ((int32_t)L_105)))
|
|
{
|
|
goto IL_0156;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_106 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_106, 1));
|
|
}
|
|
|
|
IL_018d:
|
|
{
|
|
// for (int i = 0; i < polys.Count; i++)
|
|
int32_t L_107 = V_19;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_108 = ___1_polys;
|
|
NullCheck(L_108);
|
|
int32_t L_109;
|
|
L_109 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_108, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_107) < ((int32_t)L_109)))
|
|
{
|
|
goto IL_0147;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_22 = 0;
|
|
goto IL_01e2;
|
|
}
|
|
|
|
IL_019c:
|
|
{
|
|
// Edge edge = edges[i];
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_110 = V_2;
|
|
int32_t L_111 = V_22;
|
|
NullCheck(L_110);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_112;
|
|
L_112 = List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF(L_110, L_111, List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
V_23 = L_112;
|
|
// if (edge.Vert0 > vertex)
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_113 = V_23;
|
|
int32_t L_114 = L_113.___Vert0_0;
|
|
int32_t L_115 = ___2_vertex;
|
|
if ((((int32_t)L_114) <= ((int32_t)L_115)))
|
|
{
|
|
goto IL_01bc;
|
|
}
|
|
}
|
|
{
|
|
// edge.Vert0--;
|
|
int32_t* L_116 = (&(&V_23)->___Vert0_0);
|
|
int32_t* L_117 = L_116;
|
|
int32_t L_118 = *((int32_t*)L_117);
|
|
*((int32_t*)L_117) = (int32_t)((int32_t)il2cpp_codegen_subtract(L_118, 1));
|
|
}
|
|
|
|
IL_01bc:
|
|
{
|
|
// if (edge.Vert1 > vertex)
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_119 = V_23;
|
|
int32_t L_120 = L_119.___Vert1_1;
|
|
int32_t L_121 = ___2_vertex;
|
|
if ((((int32_t)L_120) <= ((int32_t)L_121)))
|
|
{
|
|
goto IL_01d2;
|
|
}
|
|
}
|
|
{
|
|
// edge.Vert1--;
|
|
int32_t* L_122 = (&(&V_23)->___Vert1_1);
|
|
int32_t* L_123 = L_122;
|
|
int32_t L_124 = *((int32_t*)L_123);
|
|
*((int32_t*)L_123) = (int32_t)((int32_t)il2cpp_codegen_subtract(L_124, 1));
|
|
}
|
|
|
|
IL_01d2:
|
|
{
|
|
// edges[i] = edge;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_125 = V_2;
|
|
int32_t L_126 = V_22;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_127 = V_23;
|
|
NullCheck(L_125);
|
|
List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065(L_125, L_126, L_127, List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065_RuntimeMethod_var);
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_128 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_128, 1));
|
|
}
|
|
|
|
IL_01e2:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_129 = V_22;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_130 = V_2;
|
|
NullCheck(L_130);
|
|
int32_t L_131;
|
|
L_131 = List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline(L_130, List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
if ((((int32_t)L_129) < ((int32_t)L_131)))
|
|
{
|
|
goto IL_019c;
|
|
}
|
|
}
|
|
{
|
|
// if (edges.Count == 0)
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_132 = V_2;
|
|
NullCheck(L_132);
|
|
int32_t L_133;
|
|
L_133 = List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline(L_132, List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
if (L_133)
|
|
{
|
|
goto IL_01f5;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_01f5:
|
|
{
|
|
// hole.Add(edges[0].Vert0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_134 = V_3;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_135 = V_2;
|
|
NullCheck(L_135);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_136;
|
|
L_136 = List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF(L_135, 0, List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
int32_t L_137 = L_136.___Vert0_0;
|
|
NullCheck(L_134);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_134, L_137, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// regions.Add(edges[0].Region);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_138 = V_4;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_139 = V_2;
|
|
NullCheck(L_139);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_140;
|
|
L_140 = List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF(L_139, 0, List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_141 = L_140.___Region_2;
|
|
NullCheck(L_138);
|
|
List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline(L_138, L_141, List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
// areas.Add(edges[0].Area);
|
|
List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* L_142 = V_5;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_143 = V_2;
|
|
NullCheck(L_143);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_144;
|
|
L_144 = List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF(L_143, 0, List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_145 = L_144.___Area_3;
|
|
NullCheck(L_142);
|
|
List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_inline(L_142, L_145, List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_RuntimeMethod_var);
|
|
goto IL_0316;
|
|
}
|
|
|
|
IL_0232:
|
|
{
|
|
// bool match = false;
|
|
V_24 = (bool)0;
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_25 = 0;
|
|
goto IL_0305;
|
|
}
|
|
|
|
IL_023d:
|
|
{
|
|
// Edge edge = edges[i];
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_146 = V_2;
|
|
int32_t L_147 = V_25;
|
|
NullCheck(L_146);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_148;
|
|
L_148 = List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF(L_146, L_147, List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
V_26 = L_148;
|
|
// bool add = false;
|
|
V_27 = (bool)0;
|
|
// if (hole[0] == edge.Vert1)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_149 = V_3;
|
|
NullCheck(L_149);
|
|
int32_t L_150;
|
|
L_150 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_149, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_151 = V_26;
|
|
int32_t L_152 = L_151.___Vert1_1;
|
|
if ((!(((uint32_t)L_150) == ((uint32_t)L_152))))
|
|
{
|
|
goto IL_028b;
|
|
}
|
|
}
|
|
{
|
|
// hole.Insert(0, edge.Vert0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_153 = V_3;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_154 = V_26;
|
|
int32_t L_155 = L_154.___Vert0_0;
|
|
NullCheck(L_153);
|
|
List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE(L_153, 0, L_155, List_1_Insert_mC1B6D4E6CC94D8BA82A60B2F80CE9684D9345AAE_RuntimeMethod_var);
|
|
// regions.Insert(0, edge.Region);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_156 = V_4;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_157 = V_26;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_158 = L_157.___Region_2;
|
|
NullCheck(L_156);
|
|
List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799(L_156, 0, L_158, List_1_Insert_m9906EA9849C856E14BCA6EC1180E8ECDF62E5799_RuntimeMethod_var);
|
|
// areas.Insert(0, edge.Area);
|
|
List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* L_159 = V_5;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_160 = V_26;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_161 = L_160.___Area_3;
|
|
NullCheck(L_159);
|
|
List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A(L_159, 0, L_161, List_1_Insert_mC00DC2BA72DB8C991212AA8FCD8D9B4DD8FCBC9A_RuntimeMethod_var);
|
|
// add = true;
|
|
V_27 = (bool)1;
|
|
goto IL_02ce;
|
|
}
|
|
|
|
IL_028b:
|
|
{
|
|
// else if (hole[hole.Count - 1] == edge.Vert0)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_162 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_163 = V_3;
|
|
NullCheck(L_163);
|
|
int32_t L_164;
|
|
L_164 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_163, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_162);
|
|
int32_t L_165;
|
|
L_165 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_162, ((int32_t)il2cpp_codegen_subtract(L_164, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_166 = V_26;
|
|
int32_t L_167 = L_166.___Vert0_0;
|
|
if ((!(((uint32_t)L_165) == ((uint32_t)L_167))))
|
|
{
|
|
goto IL_02ce;
|
|
}
|
|
}
|
|
{
|
|
// hole.Add(edge.Vert1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_168 = V_3;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_169 = V_26;
|
|
int32_t L_170 = L_169.___Vert1_1;
|
|
NullCheck(L_168);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_168, L_170, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// regions.Add(edge.Region);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_171 = V_4;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_172 = V_26;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_173 = L_172.___Region_2;
|
|
NullCheck(L_171);
|
|
List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline(L_171, L_173, List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
// areas.Add(edge.Area);
|
|
List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* L_174 = V_5;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_175 = V_26;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_176 = L_175.___Area_3;
|
|
NullCheck(L_174);
|
|
List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_inline(L_174, L_176, List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_RuntimeMethod_var);
|
|
// add = true;
|
|
V_27 = (bool)1;
|
|
}
|
|
|
|
IL_02ce:
|
|
{
|
|
// if (add)
|
|
bool L_177 = V_27;
|
|
if (!L_177)
|
|
{
|
|
goto IL_02ff;
|
|
}
|
|
}
|
|
{
|
|
// edges[i] = edges[edges.Count - 1];
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_178 = V_2;
|
|
int32_t L_179 = V_25;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_180 = V_2;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_181 = V_2;
|
|
NullCheck(L_181);
|
|
int32_t L_182;
|
|
L_182 = List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline(L_181, List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
NullCheck(L_180);
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_183;
|
|
L_183 = List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF(L_180, ((int32_t)il2cpp_codegen_subtract(L_182, 1)), List_1_get_Item_m08BD88399E66E2CA9E860E93B01D97390742EDFF_RuntimeMethod_var);
|
|
NullCheck(L_178);
|
|
List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065(L_178, L_179, L_183, List_1_set_Item_mF25E049CB71740D4EA06AA9D56418AFF1325B065_RuntimeMethod_var);
|
|
// edges.RemoveAt(edges.Count - 1);
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_184 = V_2;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_185 = V_2;
|
|
NullCheck(L_185);
|
|
int32_t L_186;
|
|
L_186 = List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline(L_185, List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
NullCheck(L_184);
|
|
List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1(L_184, ((int32_t)il2cpp_codegen_subtract(L_186, 1)), List_1_RemoveAt_m0E438F7613BB5E962132B868A400351A840F3CB1_RuntimeMethod_var);
|
|
// match = true;
|
|
V_24 = (bool)1;
|
|
// i--;
|
|
int32_t L_187 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_subtract(L_187, 1));
|
|
}
|
|
|
|
IL_02ff:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_188 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_188, 1));
|
|
}
|
|
|
|
IL_0305:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_189 = V_25;
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_190 = V_2;
|
|
NullCheck(L_190);
|
|
int32_t L_191;
|
|
L_191 = List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline(L_190, List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
if ((((int32_t)L_189) < ((int32_t)L_191)))
|
|
{
|
|
goto IL_023d;
|
|
}
|
|
}
|
|
{
|
|
// if (!match)
|
|
bool L_192 = V_24;
|
|
if (!L_192)
|
|
{
|
|
goto IL_0322;
|
|
}
|
|
}
|
|
|
|
IL_0316:
|
|
{
|
|
// while (edges.Count > 0)
|
|
List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* L_193 = V_2;
|
|
NullCheck(L_193);
|
|
int32_t L_194;
|
|
L_194 = List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_inline(L_193, List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_RuntimeMethod_var);
|
|
if ((((int32_t)L_194) > ((int32_t)0)))
|
|
{
|
|
goto IL_0232;
|
|
}
|
|
}
|
|
|
|
IL_0322:
|
|
{
|
|
// var tris = new Triangle[hole.Count];
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_195 = V_3;
|
|
NullCheck(L_195);
|
|
int32_t L_196;
|
|
L_196 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_195, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_197 = (TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC*)(TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC*)SZArrayNew(TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC_il2cpp_TypeInfo_var, (uint32_t)L_196);
|
|
V_6 = L_197;
|
|
// var tverts = new PolyVertex[hole.Count];
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_198 = V_3;
|
|
NullCheck(L_198);
|
|
int32_t L_199;
|
|
L_199 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_198, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_200 = (PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397*)(PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397*)SZArrayNew(PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397_il2cpp_TypeInfo_var, (uint32_t)L_199);
|
|
V_7 = L_200;
|
|
// var thole = new int[hole.Count];
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_201 = V_3;
|
|
NullCheck(L_201);
|
|
int32_t L_202;
|
|
L_202 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_201, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_203 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_202);
|
|
V_8 = L_203;
|
|
// for (int i = 0; i < hole.Count; i++)
|
|
V_28 = 0;
|
|
goto IL_0376;
|
|
}
|
|
|
|
IL_034e:
|
|
{
|
|
// int polyIndex = hole[i];
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_204 = V_3;
|
|
int32_t L_205 = V_28;
|
|
NullCheck(L_204);
|
|
int32_t L_206;
|
|
L_206 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_204, L_205, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
V_29 = L_206;
|
|
// tverts[i] = verts[polyIndex];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_207 = V_7;
|
|
int32_t L_208 = V_28;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_209 = ___0_verts;
|
|
int32_t L_210 = V_29;
|
|
NullCheck(L_209);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_211;
|
|
L_211 = List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2(L_209, L_210, List_1_get_Item_m08F2E6A658A4C2FC4812F17850D93EB624F05AA2_RuntimeMethod_var);
|
|
NullCheck(L_207);
|
|
(L_207)->SetAt(static_cast<il2cpp_array_size_t>(L_208), (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA)L_211);
|
|
// thole[i] = i;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_212 = V_8;
|
|
int32_t L_213 = V_28;
|
|
int32_t L_214 = V_28;
|
|
NullCheck(L_212);
|
|
(L_212)->SetAt(static_cast<il2cpp_array_size_t>(L_213), (int32_t)L_214);
|
|
// for (int i = 0; i < hole.Count; i++)
|
|
int32_t L_215 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_215, 1));
|
|
}
|
|
|
|
IL_0376:
|
|
{
|
|
// for (int i = 0; i < hole.Count; i++)
|
|
int32_t L_216 = V_28;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_217 = V_3;
|
|
NullCheck(L_217);
|
|
int32_t L_218;
|
|
L_218 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_217, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_216) < ((int32_t)L_218)))
|
|
{
|
|
goto IL_034e;
|
|
}
|
|
}
|
|
{
|
|
// int ntris = Triangulate(tverts, thole, tris);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_219 = V_7;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_220 = V_8;
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_221 = V_6;
|
|
int32_t L_222;
|
|
L_222 = PolyMesh_Triangulate_mC21B4661AD6338DB3EBDFDBD88263007F3FCAC05(L_219, L_220, L_221, NULL);
|
|
V_9 = L_222;
|
|
// if (ntris < 0)
|
|
int32_t L_223 = V_9;
|
|
if ((((int32_t)L_223) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0397;
|
|
}
|
|
}
|
|
{
|
|
// ntris = -ntris;
|
|
int32_t L_224 = V_9;
|
|
V_9 = ((-L_224));
|
|
}
|
|
|
|
IL_0397:
|
|
{
|
|
// List<Polygon> mergePolys = new List<Polygon>(ntris + 1);
|
|
int32_t L_225 = V_9;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_226 = (List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0*)il2cpp_codegen_object_new(List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_226);
|
|
List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B(L_226, ((int32_t)il2cpp_codegen_add(L_225, 1)), List_1__ctor_m1586C90993B1938D49C33A106D6CD37D7C8A663B_RuntimeMethod_var);
|
|
V_10 = L_226;
|
|
// for (int j = 0; j < ntris; j++)
|
|
V_30 = 0;
|
|
goto IL_0461;
|
|
}
|
|
|
|
IL_03aa:
|
|
{
|
|
// Triangle t = tris[j];
|
|
TriangleU5BU5D_t493A43935A17C7201FC7B86309168BBFE087D9AC* L_227 = V_6;
|
|
int32_t L_228 = V_30;
|
|
NullCheck(L_227);
|
|
int32_t L_229 = L_228;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_230 = (L_227)->GetAt(static_cast<il2cpp_array_size_t>(L_229));
|
|
V_31 = L_230;
|
|
// if (t.Index0 != t.Index1 && t.Index0 != t.Index2 && t.Index1 != t.Index2)
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_231 = V_31;
|
|
int32_t L_232 = L_231.___Index0_0;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_233 = V_31;
|
|
int32_t L_234 = L_233.___Index1_1;
|
|
if ((((int32_t)L_232) == ((int32_t)L_234)))
|
|
{
|
|
goto IL_045b;
|
|
}
|
|
}
|
|
{
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_235 = V_31;
|
|
int32_t L_236 = L_235.___Index0_0;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_237 = V_31;
|
|
int32_t L_238 = L_237.___Index2_2;
|
|
if ((((int32_t)L_236) == ((int32_t)L_238)))
|
|
{
|
|
goto IL_045b;
|
|
}
|
|
}
|
|
{
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_239 = V_31;
|
|
int32_t L_240 = L_239.___Index1_1;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_241 = V_31;
|
|
int32_t L_242 = L_241.___Index2_2;
|
|
if ((((int32_t)L_240) == ((int32_t)L_242)))
|
|
{
|
|
goto IL_045b;
|
|
}
|
|
}
|
|
{
|
|
// Polygon p = new Polygon(numVertsPerPoly, areas[t.Index0], regions[t.Index0], 0);
|
|
int32_t L_243 = V_0;
|
|
List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* L_244 = V_5;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_245 = V_31;
|
|
int32_t L_246 = L_245.___Index0_0;
|
|
NullCheck(L_244);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_247;
|
|
L_247 = List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3(L_244, L_246, List_1_get_Item_mFEACE5551CEC1E956B9BDB311EE7B736A96E6EB3_RuntimeMethod_var);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_248 = V_4;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_249 = V_31;
|
|
int32_t L_250 = L_249.___Index0_0;
|
|
NullCheck(L_248);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_251;
|
|
L_251 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_248, L_250, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_252 = (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF*)il2cpp_codegen_object_new(Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_252);
|
|
Polygon__ctor_m80D9008B7773671CC0CACFFE616B47B28C449A62(L_252, L_243, L_247, L_251, 0, NULL);
|
|
V_32 = L_252;
|
|
// p.Vertices[0] = hole[t.Index0];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_253 = V_32;
|
|
NullCheck(L_253);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_254;
|
|
L_254 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_253, NULL);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_255 = V_3;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_256 = V_31;
|
|
int32_t L_257 = L_256.___Index0_0;
|
|
NullCheck(L_255);
|
|
int32_t L_258;
|
|
L_258 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_255, L_257, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_254);
|
|
(L_254)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)L_258);
|
|
// p.Vertices[1] = hole[t.Index1];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_259 = V_32;
|
|
NullCheck(L_259);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_260;
|
|
L_260 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_259, NULL);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_261 = V_3;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_262 = V_31;
|
|
int32_t L_263 = L_262.___Index1_1;
|
|
NullCheck(L_261);
|
|
int32_t L_264;
|
|
L_264 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_261, L_263, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_260);
|
|
(L_260)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)L_264);
|
|
// p.Vertices[2] = hole[t.Index2];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_265 = V_32;
|
|
NullCheck(L_265);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_266;
|
|
L_266 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_265, NULL);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_267 = V_3;
|
|
Triangle_t777F7510A4B3E2854DB564A52162F2C7AC3E636E L_268 = V_31;
|
|
int32_t L_269 = L_268.___Index2_2;
|
|
NullCheck(L_267);
|
|
int32_t L_270;
|
|
L_270 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_267, L_269, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_266);
|
|
(L_266)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)L_270);
|
|
// mergePolys.Add(p);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_271 = V_10;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_272 = V_32;
|
|
NullCheck(L_271);
|
|
List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_inline(L_271, L_272, List_1_Add_m6B908F1BEE422F38304966E3FE32C9508C91E312_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_045b:
|
|
{
|
|
// for (int j = 0; j < ntris; j++)
|
|
int32_t L_273 = V_30;
|
|
V_30 = ((int32_t)il2cpp_codegen_add(L_273, 1));
|
|
}
|
|
|
|
IL_0461:
|
|
{
|
|
// for (int j = 0; j < ntris; j++)
|
|
int32_t L_274 = V_30;
|
|
int32_t L_275 = V_9;
|
|
if ((((int32_t)L_274) < ((int32_t)L_275)))
|
|
{
|
|
goto IL_03aa;
|
|
}
|
|
}
|
|
{
|
|
// if (mergePolys.Count == 0)
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_276 = V_10;
|
|
NullCheck(L_276);
|
|
int32_t L_277;
|
|
L_277 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_276, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if (L_277)
|
|
{
|
|
goto IL_0474;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0474:
|
|
{
|
|
// if (numVertsPerPoly > 3)
|
|
int32_t L_278 = V_0;
|
|
if ((((int32_t)L_278) <= ((int32_t)3)))
|
|
{
|
|
goto IL_053a;
|
|
}
|
|
}
|
|
|
|
IL_047b:
|
|
{
|
|
// int bestMergeVal = 0;
|
|
V_33 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEa = 0, bestEb = 0;
|
|
V_34 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEa = 0, bestEb = 0;
|
|
V_35 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEa = 0, bestEb = 0;
|
|
V_36 = 0;
|
|
// int bestPolyA = 0, bestPolyB = 0, bestEa = 0, bestEb = 0;
|
|
V_37 = 0;
|
|
// for (int j = 0; j < mergePolys.Count - 1; j++)
|
|
V_38 = 0;
|
|
goto IL_04e2;
|
|
}
|
|
|
|
IL_048f:
|
|
{
|
|
// int pj = j;
|
|
int32_t L_279 = V_38;
|
|
V_39 = L_279;
|
|
// for (int k = j + 1; k < mergePolys.Count; k++)
|
|
int32_t L_280 = V_38;
|
|
V_40 = ((int32_t)il2cpp_codegen_add(L_280, 1));
|
|
goto IL_04d1;
|
|
}
|
|
|
|
IL_049b:
|
|
{
|
|
// int pk = k;
|
|
int32_t L_281 = V_40;
|
|
V_41 = L_281;
|
|
// int v = GetPolyMergeValue(mergePolys, pj, pk, verts, out edgeA, out edgeB);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_282 = V_10;
|
|
int32_t L_283 = V_39;
|
|
int32_t L_284 = V_41;
|
|
List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* L_285 = ___0_verts;
|
|
int32_t L_286;
|
|
L_286 = PolyMesh_GetPolyMergeValue_m0C4B4D1CD0ED64EDAD9FC0F9B07F1EDC2DDC9AAC(L_282, L_283, L_284, L_285, (&V_42), (&V_43), NULL);
|
|
V_44 = L_286;
|
|
// if (v > bestMergeVal)
|
|
int32_t L_287 = V_44;
|
|
int32_t L_288 = V_33;
|
|
if ((((int32_t)L_287) <= ((int32_t)L_288)))
|
|
{
|
|
goto IL_04cb;
|
|
}
|
|
}
|
|
{
|
|
// bestMergeVal = v;
|
|
int32_t L_289 = V_44;
|
|
V_33 = L_289;
|
|
// bestPolyA = j;
|
|
int32_t L_290 = V_38;
|
|
V_34 = L_290;
|
|
// bestPolyB = k;
|
|
int32_t L_291 = V_40;
|
|
V_35 = L_291;
|
|
// bestEa = edgeA;
|
|
int32_t L_292 = V_42;
|
|
V_36 = L_292;
|
|
// bestEb = edgeB;
|
|
int32_t L_293 = V_43;
|
|
V_37 = L_293;
|
|
}
|
|
|
|
IL_04cb:
|
|
{
|
|
// for (int k = j + 1; k < mergePolys.Count; k++)
|
|
int32_t L_294 = V_40;
|
|
V_40 = ((int32_t)il2cpp_codegen_add(L_294, 1));
|
|
}
|
|
|
|
IL_04d1:
|
|
{
|
|
// for (int k = j + 1; k < mergePolys.Count; k++)
|
|
int32_t L_295 = V_40;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_296 = V_10;
|
|
NullCheck(L_296);
|
|
int32_t L_297;
|
|
L_297 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_296, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_295) < ((int32_t)L_297)))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < mergePolys.Count - 1; j++)
|
|
int32_t L_298 = V_38;
|
|
V_38 = ((int32_t)il2cpp_codegen_add(L_298, 1));
|
|
}
|
|
|
|
IL_04e2:
|
|
{
|
|
// for (int j = 0; j < mergePolys.Count - 1; j++)
|
|
int32_t L_299 = V_38;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_300 = V_10;
|
|
NullCheck(L_300);
|
|
int32_t L_301;
|
|
L_301 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_300, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
if ((((int32_t)L_299) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_301, 1)))))
|
|
{
|
|
goto IL_048f;
|
|
}
|
|
}
|
|
{
|
|
// if (bestMergeVal > 0)
|
|
int32_t L_302 = V_33;
|
|
if ((((int32_t)L_302) <= ((int32_t)0)))
|
|
{
|
|
goto IL_053a;
|
|
}
|
|
}
|
|
{
|
|
// int polyA = bestPolyA;
|
|
int32_t L_303 = V_34;
|
|
V_45 = L_303;
|
|
// int polyB = bestPolyB;
|
|
int32_t L_304 = V_35;
|
|
V_46 = L_304;
|
|
// MergePolys(mergePolys, polyA, polyB, bestEa, bestEb);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_305 = V_10;
|
|
int32_t L_306 = V_45;
|
|
int32_t L_307 = V_46;
|
|
int32_t L_308 = V_36;
|
|
int32_t L_309 = V_37;
|
|
PolyMesh_MergePolys_m2FFE2F7DBB94B76BBF43ACFA07DE2F09F4D7D957(__this, L_305, L_306, L_307, L_308, L_309, NULL);
|
|
// mergePolys[polyB] = mergePolys[mergePolys.Count - 1];
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_310 = V_10;
|
|
int32_t L_311 = V_46;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_312 = V_10;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_313 = V_10;
|
|
NullCheck(L_313);
|
|
int32_t L_314;
|
|
L_314 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_313, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
NullCheck(L_312);
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_315;
|
|
L_315 = List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6(L_312, ((int32_t)il2cpp_codegen_subtract(L_314, 1)), List_1_get_Item_m1D4EF4019B65C78E579DB5FDA98AF877FE713ED6_RuntimeMethod_var);
|
|
NullCheck(L_310);
|
|
List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939(L_310, L_311, L_315, List_1_set_Item_m7CEEE5E2DD0EBC47BCCD9D8AAE3335AA0BFE3939_RuntimeMethod_var);
|
|
// mergePolys.RemoveAt(mergePolys.Count - 1);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_316 = V_10;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_317 = V_10;
|
|
NullCheck(L_317);
|
|
int32_t L_318;
|
|
L_318 = List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_inline(L_317, List_1_get_Count_mD73EE5DFA368F077C6CD6DE63718AADC00F8750C_RuntimeMethod_var);
|
|
NullCheck(L_316);
|
|
List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D(L_316, ((int32_t)il2cpp_codegen_subtract(L_318, 1)), List_1_RemoveAt_mCE6EBB1536F5A289E54222D7A66237A26EB9AB1D_RuntimeMethod_var);
|
|
goto IL_047b;
|
|
}
|
|
|
|
IL_053a:
|
|
{
|
|
// polys.AddRange(mergePolys);
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_319 = ___1_polys;
|
|
List_1_t9255AAD3F8E800DFEEF4A34609B2084470129CE0* L_320 = V_10;
|
|
NullCheck(L_319);
|
|
List_1_AddRange_m22A22BEB3E509EC035D62FE3643E7352AFA9D70E(L_319, L_320, List_1_AddRange_m22A22BEB3E509EC035D62FE3643E7352AFA9D70E_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.PolyMesh/Edge::.ctor(System.Int32,System.Int32,SharpNav.RegionId,SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Edge__ctor_m657FAA8FF32F64917CC0F7D1FCBEB1F26DA0AFD1 (Edge_t5BB71DEFECE7290EB599134445761BB2F904534E* __this, int32_t ___0_vert0, int32_t ___1_vert1, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___2_region, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___3_area, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Vert0 = vert0;
|
|
int32_t L_0 = ___0_vert0;
|
|
__this->___Vert0_0 = L_0;
|
|
// Vert1 = vert1;
|
|
int32_t L_1 = ___1_vert1;
|
|
__this->___Vert1_1 = L_1;
|
|
// Region = region;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_2 = ___2_region;
|
|
__this->___Region_2 = L_2;
|
|
// Area = area;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_3 = ___3_area;
|
|
__this->___Area_3 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Edge__ctor_m657FAA8FF32F64917CC0F7D1FCBEB1F26DA0AFD1_AdjustorThunk (RuntimeObject* __this, int32_t ___0_vert0, int32_t ___1_vert1, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___2_region, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___3_area, const RuntimeMethod* method)
|
|
{
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Edge_t5BB71DEFECE7290EB599134445761BB2F904534E*>(__this + _offset);
|
|
Edge__ctor_m657FAA8FF32F64917CC0F7D1FCBEB1F26DA0AFD1(_thisAdjusted, ___0_vert0, ___1_vert1, ___2_region, ___3_area, method);
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.PolyMesh/Polygon::.ctor(System.Int32,SharpNav.Area,SharpNav.RegionId,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon__ctor_m80D9008B7773671CC0CACFFE616B47B28C449A62 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, int32_t ___0_numVertsPerPoly, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___1_area, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___2_regionId, int32_t ___3_flags, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// public Polygon(int numVertsPerPoly, Area area, RegionId regionId, int flags)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// vertices = new int[numVertsPerPoly];
|
|
int32_t L_0 = ___0_numVertsPerPoly;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_0);
|
|
__this->___vertices_0 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___vertices_0), (void*)L_1);
|
|
// neighborEdges = new int[numVertsPerPoly];
|
|
int32_t L_2 = ___0_numVertsPerPoly;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_2);
|
|
__this->___neighborEdges_1 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___neighborEdges_1), (void*)L_3);
|
|
// this.area = area;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_4 = ___1_area;
|
|
__this->___area_2 = L_4;
|
|
// this.regionId = regionId;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_5 = ___2_regionId;
|
|
__this->___regionId_3 = L_5;
|
|
// this.flags = flags;
|
|
int32_t L_6 = ___3_flags;
|
|
__this->___flags_4 = L_6;
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
V_0 = 0;
|
|
goto IL_004e;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// vertices[i] = NullId;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___vertices_0;
|
|
int32_t L_8 = V_0;
|
|
NullCheck(L_7);
|
|
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(L_8), (int32_t)(-1));
|
|
// neighborEdges[i] = NullId;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = __this->___neighborEdges_1;
|
|
int32_t L_10 = V_0;
|
|
NullCheck(L_9);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(L_10), (int32_t)(-1));
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
int32_t L_11 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// for (int i = 0; i < numVertsPerPoly; i++)
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13 = ___0_numVertsPerPoly;
|
|
if ((((int32_t)L_12) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32[] SharpNav.PolyMesh/Polygon::get_Vertices()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return vertices;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___vertices_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32[] SharpNav.PolyMesh/Polygon::get_NeighborEdges()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return neighborEdges;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___neighborEdges_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Area SharpNav.PolyMesh/Polygon::get_Area()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Polygon_get_Area_m0975F5C5F92A629242CFFA81AED2EC09CE9A2E7A (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return area;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___area_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh/Polygon::set_Area(SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon_set_Area_mB4E6989546A74935766A31809E8701AF2FF69C77 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// area = value;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = ___0_value;
|
|
__this->___area_2 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.RegionId SharpNav.PolyMesh/Polygon::get_RegionId()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Polygon_get_RegionId_m9E5FDBF8432D77751B51C631AB401A1878ECF5D4 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return regionId;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = __this->___regionId_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh/Polygon::set_RegionId(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon_set_RegionId_mFFE41C54BAFB91E027EA1948A44D630AFFE9E694 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// regionId = value;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = ___0_value;
|
|
__this->___regionId_3 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh/Polygon::get_Flags()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Polygon_get_Flags_mDCEFBC03384FDBC7DBED322E43636026A263B59F (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return flags;
|
|
int32_t L_0 = __this->___flags_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMesh/Polygon::set_Flags(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Polygon_set_Flags_m7249D6E491B17C707D36F8773BA1F90CD9A085C6 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___flags_4 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMesh/Polygon::get_VertexCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Polygon_get_VertexCount_mB3D040DFECFE5067A75744A90D48F61147004B93 (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < vertices.Length; i++)
|
|
V_0 = 0;
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// if (vertices[i] == NullId)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___vertices_0;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// return i;
|
|
int32_t L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// for (int i = 0; i < vertices.Length; i++)
|
|
int32_t L_5 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// for (int i = 0; i < vertices.Length; i++)
|
|
int32_t L_6 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___vertices_0;
|
|
NullCheck(L_7);
|
|
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return vertices.Length;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = __this->___vertices_0;
|
|
NullCheck(L_8);
|
|
return ((int32_t)(((RuntimeArray*)L_8)->max_length));
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMesh/Polygon::ContainsVertex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Polygon_ContainsVertex_m6D41FADAEF529AAB4090E55AC96DEF088CD8A46B (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, int32_t ___0_vertex, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// for (int i = 0; i < vertices.Length; i++)
|
|
V_0 = 0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// int v = vertices[i];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___vertices_0;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
V_1 = L_3;
|
|
// if (v == vertex)
|
|
int32_t L_4 = V_1;
|
|
int32_t L_5 = ___0_vertex;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// else if (v == NullId)
|
|
int32_t L_6 = V_1;
|
|
if ((!(((uint32_t)L_6) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// for (int i = 0; i < vertices.Length; i++)
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int i = 0; i < vertices.Length; i++)
|
|
int32_t L_8 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9 = __this->___vertices_0;
|
|
NullCheck(L_9);
|
|
if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void SharpNav.PolyMeshDetail::.ctor(SharpNav.PolyMesh,SharpNav.CompactHeightfield,SharpNav.NavMeshGenerationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail__ctor_mCD73F90CD6B658E4D1849F91326D4CCB0988FDC5 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* ___0_mesh, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___1_compactField, NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* ___2_settings, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// : this(mesh, compactField, settings.SampleDistance, settings.MaxSampleError)
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_0 = ___0_mesh;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_1 = ___1_compactField;
|
|
NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* L_2 = ___2_settings;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = NavMeshGenerationSettings_get_SampleDistance_m04D07D244790C6EF77291373D4F6E5614656DF3C_inline(L_2, NULL);
|
|
NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* L_4 = ___2_settings;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = NavMeshGenerationSettings_get_MaxSampleError_m2A20E7A4E11967E23FFC1AA4995F69F45FC98F52_inline(L_4, NULL);
|
|
PolyMeshDetail__ctor_m961A7DE079E47764BE57986583DF993E818AFA44(__this, L_0, L_1, ((float)L_3), ((float)L_5), NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::.ctor(SharpNav.PolyMesh,SharpNav.CompactHeightfield,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail__ctor_m961A7DE079E47764BE57986583DF993E818AFA44 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* ___0_mesh, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___1_compactField, float ___2_sampleDist, float ___3_sampleMaxError, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tF922D3843C83052A9745AB290FA26E6B776A705D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11* V_3 = NULL;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_4 = NULL;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* V_5 = NULL;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* V_6 = NULL;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_9 = NULL;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
int32_t V_17 = 0;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* V_18 = NULL;
|
|
int32_t V_19 = 0;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* V_21 = NULL;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* V_22 = NULL;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* V_23 = NULL;
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* V_24 = NULL;
|
|
int32_t V_25 = 0;
|
|
int32_t V_26 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_27;
|
|
memset((&V_27), 0, sizeof(V_27));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_28;
|
|
memset((&V_28), 0, sizeof(V_28));
|
|
int32_t V_29 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_30;
|
|
memset((&V_30), 0, sizeof(V_30));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_31;
|
|
memset((&V_31), 0, sizeof(V_31));
|
|
int32_t V_32 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_33;
|
|
memset((&V_33), 0, sizeof(V_33));
|
|
int32_t V_34 = 0;
|
|
{
|
|
// public PolyMeshDetail(PolyMesh mesh, CompactHeightfield compactField, float sampleDist, float sampleMaxError)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// if (mesh.VertCount == 0 || mesh.PolyCount == 0)
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = PolyMesh_get_VertCount_m44263F7006E8541735F6137DBAD2E119F528E016(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_2 = ___0_mesh;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67(L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// Vector3 origin = mesh.Bounds.Min;
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_4 = ___0_mesh;
|
|
NullCheck(L_4);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_5;
|
|
L_5 = PolyMesh_get_Bounds_m5A245DCBAA724C658E65CE1967A134E7F13ECC2A_inline(L_4, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = L_5.___Min_0;
|
|
V_0 = L_6;
|
|
// int maxhw = 0, maxhh = 0;
|
|
V_1 = 0;
|
|
// int maxhw = 0, maxhh = 0;
|
|
V_2 = 0;
|
|
// BBox2i[] bounds = new BBox2i[mesh.PolyCount];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_7 = ___0_mesh;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67(L_7, NULL);
|
|
BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11* L_9 = (BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11*)(BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11*)SZArrayNew(BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11_il2cpp_TypeInfo_var, (uint32_t)L_8);
|
|
V_3 = L_9;
|
|
// Vector3[] poly = new Vector3[mesh.NumVertsPerPoly];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_10 = ___0_mesh;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = PolyMesh_get_NumVertsPerPoly_mD6EADD017666916BCD27C42FB26243D45E22AAF2_inline(L_10, NULL);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_12 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)L_11);
|
|
V_4 = L_12;
|
|
// var storedVertices = new List<Vector3>();
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_13 = (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*)il2cpp_codegen_object_new(List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_13);
|
|
List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58(L_13, List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58_RuntimeMethod_var);
|
|
V_5 = L_13;
|
|
// var storedTriangles = new List<TriangleData>();
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_14 = (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*)il2cpp_codegen_object_new(List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6_il2cpp_TypeInfo_var);
|
|
NullCheck(L_14);
|
|
List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0(L_14, List_1__ctor_m96370897A944D510AD2C54DE6516605D820437B0_RuntimeMethod_var);
|
|
V_6 = L_14;
|
|
// for (int i = 0; i < mesh.PolyCount; i++)
|
|
V_8 = 0;
|
|
goto IL_0165;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// var p = mesh.Polys[i];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_15 = ___0_mesh;
|
|
NullCheck(L_15);
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* L_16;
|
|
L_16 = PolyMesh_get_Polys_mD2449B557BCB34CB4FBAEF716B17D8F0173C1450_inline(L_15, NULL);
|
|
int32_t L_17 = V_8;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
V_9 = L_19;
|
|
// int xmin = compactField.Width;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_20 = ___1_compactField;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_20, NULL);
|
|
V_10 = L_21;
|
|
// int xmax = 0;
|
|
V_11 = 0;
|
|
// int zmin = compactField.Length;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_22 = ___1_compactField;
|
|
NullCheck(L_22);
|
|
int32_t L_23;
|
|
L_23 = CompactHeightfield_get_Length_m94D8CE11F65057730993AC4B770DC7CCB7C8E78B_inline(L_22, NULL);
|
|
V_12 = L_23;
|
|
// int zmax = 0;
|
|
V_13 = 0;
|
|
// for (int j = 0; j < mesh.NumVertsPerPoly; j++)
|
|
V_14 = 0;
|
|
goto IL_00e2;
|
|
}
|
|
|
|
IL_007c:
|
|
{
|
|
// var pj = p.Vertices[j];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_24 = V_9;
|
|
NullCheck(L_24);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_25;
|
|
L_25 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_24, NULL);
|
|
int32_t L_26 = V_14;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
int32_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
V_15 = L_28;
|
|
// if (pj == PolyMesh.NullId)
|
|
int32_t L_29 = V_15;
|
|
if ((((int32_t)L_29) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_00ec;
|
|
}
|
|
}
|
|
{
|
|
// var v = mesh.Verts[pj];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_30 = ___0_mesh;
|
|
NullCheck(L_30);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_31;
|
|
L_31 = PolyMesh_get_Verts_m8E70C4668DBF43B5EABC76321A6C95E27520E6A7_inline(L_30, NULL);
|
|
int32_t L_32 = V_15;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = L_32;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
V_16 = L_34;
|
|
// xmin = Math.Min(xmin, v.X);
|
|
int32_t L_35 = V_10;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_36 = V_16;
|
|
int32_t L_37 = L_36.___X_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_38;
|
|
L_38 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_35, L_37, NULL);
|
|
V_10 = L_38;
|
|
// xmax = Math.Max(xmax, v.X);
|
|
int32_t L_39 = V_11;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_40 = V_16;
|
|
int32_t L_41 = L_40.___X_0;
|
|
int32_t L_42;
|
|
L_42 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_39, L_41, NULL);
|
|
V_11 = L_42;
|
|
// zmin = Math.Min(zmin, v.Z);
|
|
int32_t L_43 = V_12;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_44 = V_16;
|
|
int32_t L_45 = L_44.___Z_2;
|
|
int32_t L_46;
|
|
L_46 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_43, L_45, NULL);
|
|
V_12 = L_46;
|
|
// zmax = Math.Max(zmax, v.Z);
|
|
int32_t L_47 = V_13;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_48 = V_16;
|
|
int32_t L_49 = L_48.___Z_2;
|
|
int32_t L_50;
|
|
L_50 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_47, L_49, NULL);
|
|
V_13 = L_50;
|
|
// for (int j = 0; j < mesh.NumVertsPerPoly; j++)
|
|
int32_t L_51 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_51, 1));
|
|
}
|
|
|
|
IL_00e2:
|
|
{
|
|
// for (int j = 0; j < mesh.NumVertsPerPoly; j++)
|
|
int32_t L_52 = V_14;
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_53 = ___0_mesh;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = PolyMesh_get_NumVertsPerPoly_mD6EADD017666916BCD27C42FB26243D45E22AAF2_inline(L_53, NULL);
|
|
if ((((int32_t)L_52) < ((int32_t)L_54)))
|
|
{
|
|
goto IL_007c;
|
|
}
|
|
}
|
|
|
|
IL_00ec:
|
|
{
|
|
// xmin = Math.Max(0, xmin - 1);
|
|
int32_t L_55 = V_10;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_56;
|
|
L_56 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(0, ((int32_t)il2cpp_codegen_subtract(L_55, 1)), NULL);
|
|
V_10 = L_56;
|
|
// xmax = Math.Min(compactField.Width, xmax + 1);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_57 = ___1_compactField;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_57, NULL);
|
|
int32_t L_59 = V_11;
|
|
int32_t L_60;
|
|
L_60 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_58, ((int32_t)il2cpp_codegen_add(L_59, 1)), NULL);
|
|
V_11 = L_60;
|
|
// zmin = Math.Max(0, zmin - 1);
|
|
int32_t L_61 = V_12;
|
|
int32_t L_62;
|
|
L_62 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(0, ((int32_t)il2cpp_codegen_subtract(L_61, 1)), NULL);
|
|
V_12 = L_62;
|
|
// zmax = Math.Min(compactField.Length, zmax + 1);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_63 = ___1_compactField;
|
|
NullCheck(L_63);
|
|
int32_t L_64;
|
|
L_64 = CompactHeightfield_get_Length_m94D8CE11F65057730993AC4B770DC7CCB7C8E78B_inline(L_63, NULL);
|
|
int32_t L_65 = V_13;
|
|
int32_t L_66;
|
|
L_66 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_64, ((int32_t)il2cpp_codegen_add(L_65, 1)), NULL);
|
|
V_13 = L_66;
|
|
// if (xmin >= xmax || zmin >= zmax)
|
|
int32_t L_67 = V_10;
|
|
int32_t L_68 = V_11;
|
|
if ((((int32_t)L_67) >= ((int32_t)L_68)))
|
|
{
|
|
goto IL_015f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_69 = V_12;
|
|
int32_t L_70 = V_13;
|
|
if ((((int32_t)L_69) >= ((int32_t)L_70)))
|
|
{
|
|
goto IL_015f;
|
|
}
|
|
}
|
|
{
|
|
// maxhw = Math.Max(maxhw, xmax - xmin);
|
|
int32_t L_71 = V_1;
|
|
int32_t L_72 = V_11;
|
|
int32_t L_73 = V_10;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_74;
|
|
L_74 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_71, ((int32_t)il2cpp_codegen_subtract(L_72, L_73)), NULL);
|
|
V_1 = L_74;
|
|
// maxhh = Math.Max(maxhh, zmax - zmin);
|
|
int32_t L_75 = V_2;
|
|
int32_t L_76 = V_13;
|
|
int32_t L_77 = V_12;
|
|
int32_t L_78;
|
|
L_78 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_75, ((int32_t)il2cpp_codegen_subtract(L_76, L_77)), NULL);
|
|
V_2 = L_78;
|
|
// bounds[i] = new BBox2i(xmin, zmin, xmax, zmax);
|
|
BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11* L_79 = V_3;
|
|
int32_t L_80 = V_8;
|
|
int32_t L_81 = V_10;
|
|
int32_t L_82 = V_12;
|
|
int32_t L_83 = V_11;
|
|
int32_t L_84 = V_13;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_85;
|
|
memset((&L_85), 0, sizeof(L_85));
|
|
BBox2i__ctor_m6A387BDE3B1C895622DF621A35B19888048395A7((&L_85), L_81, L_82, L_83, L_84, /*hidden argument*/NULL);
|
|
NullCheck(L_79);
|
|
(L_79)->SetAt(static_cast<il2cpp_array_size_t>(L_80), (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945)L_85);
|
|
}
|
|
|
|
IL_015f:
|
|
{
|
|
// for (int i = 0; i < mesh.PolyCount; i++)
|
|
int32_t L_86 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_86, 1));
|
|
}
|
|
|
|
IL_0165:
|
|
{
|
|
// for (int i = 0; i < mesh.PolyCount; i++)
|
|
int32_t L_87 = V_8;
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_88 = ___0_mesh;
|
|
NullCheck(L_88);
|
|
int32_t L_89;
|
|
L_89 = PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67(L_88, NULL);
|
|
if ((((int32_t)L_87) < ((int32_t)L_89)))
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// HeightPatch hp = new HeightPatch(0, 0, maxhw, maxhh);
|
|
int32_t L_90 = V_1;
|
|
int32_t L_91 = V_2;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_92 = (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916*)il2cpp_codegen_object_new(HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916_il2cpp_TypeInfo_var);
|
|
NullCheck(L_92);
|
|
HeightPatch__ctor_m415B859EE9D5206F778FC52D23CC826D87BE9391(L_92, 0, 0, L_90, L_91, NULL);
|
|
V_7 = L_92;
|
|
// this.meshes = new MeshData[mesh.PolyCount];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_93 = ___0_mesh;
|
|
NullCheck(L_93);
|
|
int32_t L_94;
|
|
L_94 = PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67(L_93, NULL);
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_95 = (MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1*)(MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1*)SZArrayNew(MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1_il2cpp_TypeInfo_var, (uint32_t)L_94);
|
|
__this->___meshes_1 = L_95;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___meshes_1), (void*)L_95);
|
|
// for (int i = 0; i < mesh.PolyCount; i++)
|
|
V_17 = 0;
|
|
goto IL_0469;
|
|
}
|
|
|
|
IL_0196:
|
|
{
|
|
// var p = mesh.Polys[i];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_96 = ___0_mesh;
|
|
NullCheck(L_96);
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* L_97;
|
|
L_97 = PolyMesh_get_Polys_mD2449B557BCB34CB4FBAEF716B17D8F0173C1450_inline(L_96, NULL);
|
|
int32_t L_98 = V_17;
|
|
NullCheck(L_97);
|
|
int32_t L_99 = L_98;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_100 = (L_97)->GetAt(static_cast<il2cpp_array_size_t>(L_99));
|
|
V_18 = L_100;
|
|
// int npoly = 0;
|
|
V_19 = 0;
|
|
// for (int j = 0; j < mesh.NumVertsPerPoly; j++)
|
|
V_25 = 0;
|
|
goto IL_0238;
|
|
}
|
|
|
|
IL_01ac:
|
|
{
|
|
// int pvi = p.Vertices[j];
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_101 = V_18;
|
|
NullCheck(L_101);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_102;
|
|
L_102 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_101, NULL);
|
|
int32_t L_103 = V_25;
|
|
NullCheck(L_102);
|
|
int32_t L_104 = L_103;
|
|
int32_t L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
|
|
V_26 = L_105;
|
|
// if (pvi == PolyMesh.NullId)
|
|
int32_t L_106 = V_26;
|
|
if ((((int32_t)L_106) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0245;
|
|
}
|
|
}
|
|
{
|
|
// PolyVertex pv = mesh.Verts[pvi];
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_107 = ___0_mesh;
|
|
NullCheck(L_107);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_108;
|
|
L_108 = PolyMesh_get_Verts_m8E70C4668DBF43B5EABC76321A6C95E27520E6A7_inline(L_107, NULL);
|
|
int32_t L_109 = V_26;
|
|
NullCheck(L_108);
|
|
int32_t L_110 = L_109;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_111 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
|
|
V_27 = L_111;
|
|
// Vector3 v = new Vector3(pv.X, pv.Y, pv.Z);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_112 = V_27;
|
|
int32_t L_113 = L_112.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_114 = V_27;
|
|
int32_t L_115 = L_114.___Y_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_116 = V_27;
|
|
int32_t L_117 = L_116.___Z_2;
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_28), ((float)L_113), ((float)L_115), ((float)L_117), NULL);
|
|
// v.X *= mesh.CellSize;
|
|
float* L_118 = (&(&V_28)->___X_0);
|
|
float* L_119 = L_118;
|
|
float L_120 = *((float*)L_119);
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_121 = ___0_mesh;
|
|
NullCheck(L_121);
|
|
float L_122;
|
|
L_122 = PolyMesh_get_CellSize_mB308A77ADDB9D1E4D8D6B73140E34ABA03D6E6F5_inline(L_121, NULL);
|
|
*((float*)L_119) = (float)((float)il2cpp_codegen_multiply(L_120, L_122));
|
|
// v.Y *= mesh.CellHeight;
|
|
float* L_123 = (&(&V_28)->___Y_1);
|
|
float* L_124 = L_123;
|
|
float L_125 = *((float*)L_124);
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_126 = ___0_mesh;
|
|
NullCheck(L_126);
|
|
float L_127;
|
|
L_127 = PolyMesh_get_CellHeight_mEE72069AC5EB220C1E54DCE14DAE8020D2466663_inline(L_126, NULL);
|
|
*((float*)L_124) = (float)((float)il2cpp_codegen_multiply(L_125, L_127));
|
|
// v.Z *= mesh.CellSize;
|
|
float* L_128 = (&(&V_28)->___Z_2);
|
|
float* L_129 = L_128;
|
|
float L_130 = *((float*)L_129);
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_131 = ___0_mesh;
|
|
NullCheck(L_131);
|
|
float L_132;
|
|
L_132 = PolyMesh_get_CellSize_mB308A77ADDB9D1E4D8D6B73140E34ABA03D6E6F5_inline(L_131, NULL);
|
|
*((float*)L_129) = (float)((float)il2cpp_codegen_multiply(L_130, L_132));
|
|
// poly[j] = v;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_133 = V_4;
|
|
int32_t L_134 = V_25;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_135 = V_28;
|
|
NullCheck(L_133);
|
|
(L_133)->SetAt(static_cast<il2cpp_array_size_t>(L_134), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_135);
|
|
// npoly++;
|
|
int32_t L_136 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_136, 1));
|
|
// for (int j = 0; j < mesh.NumVertsPerPoly; j++)
|
|
int32_t L_137 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_137, 1));
|
|
}
|
|
|
|
IL_0238:
|
|
{
|
|
// for (int j = 0; j < mesh.NumVertsPerPoly; j++)
|
|
int32_t L_138 = V_25;
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_139 = ___0_mesh;
|
|
NullCheck(L_139);
|
|
int32_t L_140;
|
|
L_140 = PolyMesh_get_NumVertsPerPoly_mD6EADD017666916BCD27C42FB26243D45E22AAF2_inline(L_139, NULL);
|
|
if ((((int32_t)L_138) < ((int32_t)L_140)))
|
|
{
|
|
goto IL_01ac;
|
|
}
|
|
}
|
|
|
|
IL_0245:
|
|
{
|
|
// BBox2i bound = bounds[i];
|
|
BBox2iU5BU5D_tF9B252258106C92F6ECC862C3CC22CCD8B5CDB11* L_141 = V_3;
|
|
int32_t L_142 = V_17;
|
|
NullCheck(L_141);
|
|
int32_t L_143 = L_142;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_144 = (L_141)->GetAt(static_cast<il2cpp_array_size_t>(L_143));
|
|
V_20 = L_144;
|
|
// hp.Resize(bound.Min.X, bound.Min.Y, bound.Max.X - bound.Min.X, bound.Max.Y - bound.Min.Y);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_145 = V_7;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_146 = V_20;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_147 = L_146.___Min_0;
|
|
int32_t L_148 = L_147.___X_3;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_149 = V_20;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_150 = L_149.___Min_0;
|
|
int32_t L_151 = L_150.___Y_4;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_152 = V_20;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_153 = L_152.___Max_1;
|
|
int32_t L_154 = L_153.___X_3;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_155 = V_20;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_156 = L_155.___Min_0;
|
|
int32_t L_157 = L_156.___X_3;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_158 = V_20;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_159 = L_158.___Max_1;
|
|
int32_t L_160 = L_159.___Y_4;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_161 = V_20;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_162 = L_161.___Min_0;
|
|
int32_t L_163 = L_162.___Y_4;
|
|
NullCheck(L_145);
|
|
HeightPatch_Resize_m90D9E046480D2C4577EB781B4E459E8A60641953(L_145, L_148, L_151, ((int32_t)il2cpp_codegen_subtract(L_154, L_157)), ((int32_t)il2cpp_codegen_subtract(L_160, L_163)), NULL);
|
|
// GetHeightData(compactField, p, npoly, mesh.Verts, mesh.BorderSize, hp);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_164 = ___1_compactField;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_165 = V_18;
|
|
int32_t L_166 = V_19;
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_167 = ___0_mesh;
|
|
NullCheck(L_167);
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_168;
|
|
L_168 = PolyMesh_get_Verts_m8E70C4668DBF43B5EABC76321A6C95E27520E6A7_inline(L_167, NULL);
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_169 = ___0_mesh;
|
|
NullCheck(L_169);
|
|
int32_t L_170;
|
|
L_170 = PolyMesh_get_BorderSize_m8DEF8D4D6EF6B3E4A95F8A98389DBCF40CA6C750_inline(L_169, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_171 = V_7;
|
|
PolyMeshDetail_GetHeightData_mE306B023D2E229F0BDA0FEA7CB394355DC059760(__this, L_164, L_165, L_166, L_168, L_170, L_171, NULL);
|
|
// List<Vector3> tempVerts = new List<Vector3>();
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_172 = (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*)il2cpp_codegen_object_new(List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_172);
|
|
List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58(L_172, List_1__ctor_m27EEF3D07EEFA922D8C70C9E696D1140E3742E58_RuntimeMethod_var);
|
|
V_21 = L_172;
|
|
// List<TriangleData> tempTris = new List<TriangleData>(128);
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_173 = (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*)il2cpp_codegen_object_new(List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6_il2cpp_TypeInfo_var);
|
|
NullCheck(L_173);
|
|
List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319(L_173, ((int32_t)128), List_1__ctor_m5CF72FEA1C0EA7EF9CF200E4C09C6CC4EC9AE319_RuntimeMethod_var);
|
|
V_22 = L_173;
|
|
// List<EdgeInfo> edges = new List<EdgeInfo>(16);
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_174 = (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*)il2cpp_codegen_object_new(List_1_tF922D3843C83052A9745AB290FA26E6B776A705D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_174);
|
|
List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551(L_174, ((int32_t)16), List_1__ctor_mAF01CC3C1741EE90595FABECF7AF6F88931C1551_RuntimeMethod_var);
|
|
V_23 = L_174;
|
|
// List<SamplingData> samples = new List<SamplingData>(128);
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_175 = (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*)il2cpp_codegen_object_new(List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932_il2cpp_TypeInfo_var);
|
|
NullCheck(L_175);
|
|
List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D(L_175, ((int32_t)128), List_1__ctor_mD8540F699B004706C2DD8F61BE5FF7493C9F855D_RuntimeMethod_var);
|
|
V_24 = L_175;
|
|
// BuildPolyDetail(poly, npoly, sampleDist, sampleMaxError, compactField, hp, tempVerts, tempTris, edges, samples);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_176 = V_4;
|
|
int32_t L_177 = V_19;
|
|
float L_178 = ___2_sampleDist;
|
|
float L_179 = ___3_sampleMaxError;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_180 = ___1_compactField;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_181 = V_7;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_182 = V_21;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_183 = V_22;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_184 = V_23;
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_185 = V_24;
|
|
PolyMeshDetail_BuildPolyDetail_m60FE5E04D5D67C2EF7D71FD321B95F89FC321D92(__this, L_176, L_177, L_178, L_179, L_180, L_181, L_182, L_183, L_184, L_185, NULL);
|
|
// for (int j = 0; j < tempVerts.Count; j++)
|
|
V_29 = 0;
|
|
goto IL_0360;
|
|
}
|
|
|
|
IL_02fe:
|
|
{
|
|
// Vector3 tv = tempVerts[j];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_186 = V_21;
|
|
int32_t L_187 = V_29;
|
|
NullCheck(L_186);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_188;
|
|
L_188 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_186, L_187, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_30 = L_188;
|
|
// v.X = tv.X + origin.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_189 = V_30;
|
|
float L_190 = L_189.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_191 = V_0;
|
|
float L_192 = L_191.___X_0;
|
|
(&V_31)->___X_0 = ((float)il2cpp_codegen_add(L_190, L_192));
|
|
// v.Y = tv.Y + origin.Y + compactField.CellHeight;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_193 = V_30;
|
|
float L_194 = L_193.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_195 = V_0;
|
|
float L_196 = L_195.___Y_1;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_197 = ___1_compactField;
|
|
NullCheck(L_197);
|
|
float L_198;
|
|
L_198 = CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline(L_197, NULL);
|
|
(&V_31)->___Y_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_194, L_196)), L_198));
|
|
// v.Z = tv.Z + origin.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_199 = V_30;
|
|
float L_200 = L_199.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_201 = V_0;
|
|
float L_202 = L_201.___Z_2;
|
|
(&V_31)->___Z_2 = ((float)il2cpp_codegen_add(L_200, L_202));
|
|
// tempVerts[j] = v;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_203 = V_21;
|
|
int32_t L_204 = V_29;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_205 = V_31;
|
|
NullCheck(L_203);
|
|
List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2(L_203, L_204, L_205, List_1_set_Item_m9D68BEEE3E20CB5897F7442A78994A55095B4CD2_RuntimeMethod_var);
|
|
// for (int j = 0; j < tempVerts.Count; j++)
|
|
int32_t L_206 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_206, 1));
|
|
}
|
|
|
|
IL_0360:
|
|
{
|
|
// for (int j = 0; j < tempVerts.Count; j++)
|
|
int32_t L_207 = V_29;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_208 = V_21;
|
|
NullCheck(L_208);
|
|
int32_t L_209;
|
|
L_209 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_208, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
if ((((int32_t)L_207) < ((int32_t)L_209)))
|
|
{
|
|
goto IL_02fe;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < npoly; j++)
|
|
V_32 = 0;
|
|
goto IL_03bf;
|
|
}
|
|
|
|
IL_0370:
|
|
{
|
|
// Vector3 po = poly[j];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_210 = V_4;
|
|
int32_t L_211 = V_32;
|
|
NullCheck(L_210);
|
|
int32_t L_212 = L_211;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_213 = (L_210)->GetAt(static_cast<il2cpp_array_size_t>(L_212));
|
|
V_33 = L_213;
|
|
// po.X += origin.X;
|
|
float* L_214 = (&(&V_33)->___X_0);
|
|
float* L_215 = L_214;
|
|
float L_216 = *((float*)L_215);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_217 = V_0;
|
|
float L_218 = L_217.___X_0;
|
|
*((float*)L_215) = (float)((float)il2cpp_codegen_add(L_216, L_218));
|
|
// po.Y += origin.Y;
|
|
float* L_219 = (&(&V_33)->___Y_1);
|
|
float* L_220 = L_219;
|
|
float L_221 = *((float*)L_220);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_222 = V_0;
|
|
float L_223 = L_222.___Y_1;
|
|
*((float*)L_220) = (float)((float)il2cpp_codegen_add(L_221, L_223));
|
|
// po.Z += origin.Z;
|
|
float* L_224 = (&(&V_33)->___Z_2);
|
|
float* L_225 = L_224;
|
|
float L_226 = *((float*)L_225);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_227 = V_0;
|
|
float L_228 = L_227.___Z_2;
|
|
*((float*)L_225) = (float)((float)il2cpp_codegen_add(L_226, L_228));
|
|
// poly[j] = po;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_229 = V_4;
|
|
int32_t L_230 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_231 = V_33;
|
|
NullCheck(L_229);
|
|
(L_229)->SetAt(static_cast<il2cpp_array_size_t>(L_230), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_231);
|
|
// for (int j = 0; j < npoly; j++)
|
|
int32_t L_232 = V_32;
|
|
V_32 = ((int32_t)il2cpp_codegen_add(L_232, 1));
|
|
}
|
|
|
|
IL_03bf:
|
|
{
|
|
// for (int j = 0; j < npoly; j++)
|
|
int32_t L_233 = V_32;
|
|
int32_t L_234 = V_19;
|
|
if ((((int32_t)L_233) < ((int32_t)L_234)))
|
|
{
|
|
goto IL_0370;
|
|
}
|
|
}
|
|
{
|
|
// this.meshes[i].VertexIndex = storedVertices.Count;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_235 = __this->___meshes_1;
|
|
int32_t L_236 = V_17;
|
|
NullCheck(L_235);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_237 = V_5;
|
|
NullCheck(L_237);
|
|
int32_t L_238;
|
|
L_238 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_237, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
((L_235)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_236)))->___VertexIndex_0 = L_238;
|
|
// this.meshes[i].VertexCount = tempVerts.Count;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_239 = __this->___meshes_1;
|
|
int32_t L_240 = V_17;
|
|
NullCheck(L_239);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_241 = V_21;
|
|
NullCheck(L_241);
|
|
int32_t L_242;
|
|
L_242 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_241, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
((L_239)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_240)))->___VertexCount_1 = L_242;
|
|
// this.meshes[i].TriangleIndex = storedTriangles.Count;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_243 = __this->___meshes_1;
|
|
int32_t L_244 = V_17;
|
|
NullCheck(L_243);
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_245 = V_6;
|
|
NullCheck(L_245);
|
|
int32_t L_246;
|
|
L_246 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_245, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
((L_243)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_244)))->___TriangleIndex_2 = L_246;
|
|
// this.meshes[i].TriangleCount = tempTris.Count;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_247 = __this->___meshes_1;
|
|
int32_t L_248 = V_17;
|
|
NullCheck(L_247);
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_249 = V_22;
|
|
NullCheck(L_249);
|
|
int32_t L_250;
|
|
L_250 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_249, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
((L_247)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_248)))->___TriangleCount_3 = L_250;
|
|
// storedVertices.AddRange(tempVerts);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_251 = V_5;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_252 = V_21;
|
|
NullCheck(L_251);
|
|
List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD(L_251, L_252, List_1_AddRange_m0341285830304BB2849A02F9DA6C635E7270FFBD_RuntimeMethod_var);
|
|
// for (int j = 0; j < tempTris.Count; j++)
|
|
V_34 = 0;
|
|
goto IL_0458;
|
|
}
|
|
|
|
IL_0437:
|
|
{
|
|
// storedTriangles.Add(new TriangleData(tempTris[j], tempVerts, poly, npoly));
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_253 = V_6;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_254 = V_22;
|
|
int32_t L_255 = V_34;
|
|
NullCheck(L_254);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_256;
|
|
L_256 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_254, L_255, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_257 = V_21;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_258 = V_4;
|
|
int32_t L_259 = V_19;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_260;
|
|
memset((&L_260), 0, sizeof(L_260));
|
|
TriangleData__ctor_mED87A855256790D23DE1631A639C709DC6B2FB9A((&L_260), L_256, L_257, L_258, L_259, /*hidden argument*/NULL);
|
|
NullCheck(L_253);
|
|
List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_inline(L_253, L_260, List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
// for (int j = 0; j < tempTris.Count; j++)
|
|
int32_t L_261 = V_34;
|
|
V_34 = ((int32_t)il2cpp_codegen_add(L_261, 1));
|
|
}
|
|
|
|
IL_0458:
|
|
{
|
|
// for (int j = 0; j < tempTris.Count; j++)
|
|
int32_t L_262 = V_34;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_263 = V_22;
|
|
NullCheck(L_263);
|
|
int32_t L_264;
|
|
L_264 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_263, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
if ((((int32_t)L_262) < ((int32_t)L_264)))
|
|
{
|
|
goto IL_0437;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < mesh.PolyCount; i++)
|
|
int32_t L_265 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_265, 1));
|
|
}
|
|
|
|
IL_0469:
|
|
{
|
|
// for (int i = 0; i < mesh.PolyCount; i++)
|
|
int32_t L_266 = V_17;
|
|
PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* L_267 = ___0_mesh;
|
|
NullCheck(L_267);
|
|
int32_t L_268;
|
|
L_268 = PolyMesh_get_PolyCount_mFA4A58D1831622E3E3022EA2CF8DA8EE87D39B67(L_267, NULL);
|
|
if ((((int32_t)L_266) < ((int32_t)L_268)))
|
|
{
|
|
goto IL_0196;
|
|
}
|
|
}
|
|
{
|
|
// this.verts = storedVertices.ToArray();
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_269 = V_5;
|
|
NullCheck(L_269);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_270;
|
|
L_270 = List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099(L_269, List_1_ToArray_m8EB921848D07465DA325F688B85F1B9687177099_RuntimeMethod_var);
|
|
__this->___verts_2 = L_270;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___verts_2), (void*)L_270);
|
|
// this.tris = storedTriangles.ToArray();
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_271 = V_6;
|
|
NullCheck(L_271);
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_272;
|
|
L_272 = List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51(L_271, List_1_ToArray_mF319F81AB846AFD49E513366E069EABD05995E51_RuntimeMethod_var);
|
|
__this->___tris_3 = L_272;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tris_3), (void*)L_272);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::get_MeshCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_get_MeshCount_m4D24B2C0A26308AB3B59277DDB80DAA636DCD89B (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (meshes == null)
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = __this->___meshes_1;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// return meshes.Length;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_1 = __this->___meshes_1;
|
|
NullCheck(L_1);
|
|
return ((int32_t)(((RuntimeArray*)L_1)->max_length));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::get_VertCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_get_VertCount_mBDA7169BF770DD597EFB5E4DF78D0C2253C3B952 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (verts == null)
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___verts_2;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// return verts.Length;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = __this->___verts_2;
|
|
NullCheck(L_1);
|
|
return ((int32_t)(((RuntimeArray*)L_1)->max_length));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::get_TrisCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_get_TrisCount_mFEB92B632F53BC1B9140651F0D1692D080471CF1 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (tris == null)
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = __this->___tris_3;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// return tris.Length;
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_1 = __this->___tris_3;
|
|
NullCheck(L_1);
|
|
return ((int32_t)(((RuntimeArray*)L_1)->max_length));
|
|
}
|
|
}
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.PolyMeshDetail::get_Meshes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* PolyMeshDetail_get_Meshes_m7BB0D3423460F91B17EC52A11D19983EA377045E (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return meshes;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = __this->___meshes_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3[] SharpNav.PolyMeshDetail::get_Verts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* PolyMeshDetail_get_Verts_mCDFE26966BDFC4CA567A16C07FFDEF4DFBECDF9B (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return verts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___verts_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.PolyMeshDetail::get_Tris()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* PolyMeshDetail_get_Tris_mEE2E9F733A944849C6E4F0063F6970C031420F96 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return tris;
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = __this->___tris_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Single SharpNav.PolyMeshDetail::GetJitterX(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_GetJitterX_m462D0C86AB5C470FC1EAC03838624D4621D0383E (int32_t ___0_i, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (((i * 0x8da6b343) & 0xffff) / 65535.0f * 2.0f) - 1.0f;
|
|
int32_t L_0 = ___0_i;
|
|
return ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(((float)(((float)((int64_t)(((int64_t)il2cpp_codegen_multiply(((int64_t)L_0), ((int64_t)(uint64_t)((uint32_t)((int32_t)-1918454973)))))&((int64_t)((int32_t)65535)))))/(65535.0f))), (2.0f))), (1.0f)));
|
|
}
|
|
}
|
|
// System.Single SharpNav.PolyMeshDetail::GetJitterY(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_GetJitterY_m289F4D49FA3615C5CAAD3F5D30CE9DDF462ED0D5 (int32_t ___0_i, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (((i * 0xd8163841) & 0xffff) / 65535.0f * 2.0f) - 1.0f;
|
|
int32_t L_0 = ___0_i;
|
|
return ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(((float)(((float)((int64_t)(((int64_t)il2cpp_codegen_multiply(((int64_t)L_0), ((int64_t)(uint64_t)((uint32_t)((int32_t)-669632447)))))&((int64_t)((int32_t)65535)))))/(65535.0f))), (2.0f))), (1.0f)));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::GetEdgeFlags(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_GetEdgeFlags_mE419AE8E99DB449781858214F07346E8ECDECB73 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vb, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_vpoly, int32_t ___3_npoly, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// float thrSqr = 0.001f * 0.001f;
|
|
V_0 = (1.00000011E-06f);
|
|
// for (int i = 0, j = npoly - 1; i < npoly; j = i++)
|
|
V_1 = 0;
|
|
// for (int i = 0, j = npoly - 1; i < npoly; j = i++)
|
|
int32_t L_0 = ___3_npoly;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
|
|
goto IL_004b;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// Vector3 pt1 = va;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_va;
|
|
V_3 = L_1;
|
|
// Vector3 pt2 = vb;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_vb;
|
|
V_4 = L_2;
|
|
// if (Distance.PointToSegment2DSquared(ref pt1, ref vpoly[j], ref vpoly[i]) < thrSqr
|
|
// && Distance.PointToSegment2DSquared(ref pt2, ref vpoly[j], ref vpoly[i]) < thrSqr)
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_3 = ___2_vpoly;
|
|
int32_t L_4 = V_2;
|
|
NullCheck(L_3);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = ___2_vpoly;
|
|
int32_t L_6 = V_1;
|
|
NullCheck(L_5);
|
|
float L_7;
|
|
L_7 = Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106((&V_3), ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4))), ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6))), NULL);
|
|
float L_8 = V_0;
|
|
if ((!(((float)L_7) < ((float)L_8))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_9 = ___2_vpoly;
|
|
int32_t L_10 = V_2;
|
|
NullCheck(L_9);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_11 = ___2_vpoly;
|
|
int32_t L_12 = V_1;
|
|
NullCheck(L_11);
|
|
float L_13;
|
|
L_13 = Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106((&V_4), ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10))), ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12))), NULL);
|
|
float L_14 = V_0;
|
|
if ((!(((float)L_13) < ((float)L_14))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// return 1;
|
|
return 1;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// for (int i = 0, j = npoly - 1; i < npoly; j = i++)
|
|
int32_t L_15 = V_1;
|
|
int32_t L_16 = L_15;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_16, 1));
|
|
V_2 = L_16;
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// for (int i = 0, j = npoly - 1; i < npoly; j = i++)
|
|
int32_t L_17 = V_1;
|
|
int32_t L_18 = ___3_npoly;
|
|
if ((((int32_t)L_17) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::GetHeightData(SharpNav.CompactHeightfield,SharpNav.PolyMesh/Polygon,System.Int32,SharpNav.PolyVertex[],System.Int32,SharpNav.HeightPatch)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_GetHeightData_mE306B023D2E229F0BDA0FEA7CB394355DC059760 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___0_compactField, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* ___1_poly, int32_t ___2_polyCount, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___3_verts, int32_t ___4_borderSize, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___5_hp, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DirectionExtensions_t1843D176007819AD9058F1D2AA15E93C4EFEC65C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* V_0 = NULL;
|
|
bool V_1 = false;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
bool V_11 = false;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
int32_t V_18 = 0;
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
int32_t V_25 = 0;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE V_26;
|
|
memset((&V_26), 0, sizeof(V_26));
|
|
{
|
|
// var stack = new List<CompactSpanReference>();
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_0 = (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*)il2cpp_codegen_object_new(List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666(L_0, List_1__ctor_m08F4C296B68812024B10EF70ED4496A96B477666_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// bool empty = true;
|
|
V_1 = (bool)1;
|
|
// hp.Clear();
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_1 = ___5_hp;
|
|
NullCheck(L_1);
|
|
HeightPatch_Clear_m1D082890BFDC0FEEB89EE6C3ADEF82C48A0D7BAD(L_1, NULL);
|
|
// for (int y = 0; y < hp.Length; y++)
|
|
V_3 = 0;
|
|
goto IL_016c;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// int hy = hp.Y + y + borderSize;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_2 = ___5_hp;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_2, NULL);
|
|
int32_t L_4 = V_3;
|
|
int32_t L_5 = ___4_borderSize;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_3, L_4)), L_5));
|
|
// for (int x = 0; x < hp.Width; x++)
|
|
V_5 = 0;
|
|
goto IL_015a;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// int hx = hp.X + x + borderSize;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_6 = ___5_hp;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_6, NULL);
|
|
int32_t L_8 = V_5;
|
|
int32_t L_9 = ___4_borderSize;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_7, L_8)), L_9));
|
|
// var cells = compactField.Cells[hy * compactField.Width + hx];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_10 = ___0_compactField;
|
|
NullCheck(L_10);
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* L_11;
|
|
L_11 = CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline(L_10, NULL);
|
|
int32_t L_12 = V_4;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_13 = ___0_compactField;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_13, NULL);
|
|
int32_t L_15 = V_6;
|
|
NullCheck(L_11);
|
|
int32_t L_16 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_12, L_14)), L_15));
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_17 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
|
|
V_7 = L_17;
|
|
// for (int i = cells.StartIndex, end = cells.StartIndex + cells.Count; i < end; i++)
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_18 = V_7;
|
|
int32_t L_19 = L_18.___StartIndex_0;
|
|
V_8 = L_19;
|
|
// for (int i = cells.StartIndex, end = cells.StartIndex + cells.Count; i < end; i++)
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_20 = V_7;
|
|
int32_t L_21 = L_20.___StartIndex_0;
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_22 = V_7;
|
|
int32_t L_23 = L_22.___Count_1;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_21, L_23));
|
|
goto IL_014b;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// var span = compactField.Spans[i];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_24 = ___0_compactField;
|
|
NullCheck(L_24);
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* L_25;
|
|
L_25 = CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline(L_24, NULL);
|
|
int32_t L_26 = V_8;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
V_10 = L_28;
|
|
// if (span.Region == poly.RegionId)
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_29 = V_10;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_30 = L_29.___Region_6;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_31 = ___1_poly;
|
|
NullCheck(L_31);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_32;
|
|
L_32 = Polygon_get_RegionId_m9E5FDBF8432D77751B51C631AB401A1878ECF5D4_inline(L_31, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_33;
|
|
L_33 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_30, L_32, NULL);
|
|
if (!L_33)
|
|
{
|
|
goto IL_0145;
|
|
}
|
|
}
|
|
{
|
|
// hp[x, y] = span.Minimum;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_34 = ___5_hp;
|
|
int32_t L_35 = V_5;
|
|
int32_t L_36 = V_3;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_37 = V_10;
|
|
int32_t L_38 = L_37.___Minimum_0;
|
|
NullCheck(L_34);
|
|
HeightPatch_set_Item_m5A25ACFC9264F2DBE54B289FF86B5988694683AD(L_34, L_35, L_36, L_38, NULL);
|
|
// empty = false;
|
|
V_1 = (bool)0;
|
|
// bool border = false;
|
|
V_11 = (bool)0;
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
V_12 = 0;
|
|
goto IL_0129;
|
|
}
|
|
|
|
IL_00b4:
|
|
{
|
|
// if (span.IsConnected(dir))
|
|
int32_t L_39 = V_12;
|
|
bool L_40;
|
|
L_40 = CompactSpan_IsConnected_mFCB5DCC3B238E20C5BEF41F6C2F804CADA65EA73((&V_10), L_39, NULL);
|
|
if (!L_40)
|
|
{
|
|
goto IL_0123;
|
|
}
|
|
}
|
|
{
|
|
// int ax = hx + dir.GetHorizontalOffset();
|
|
int32_t L_41 = V_6;
|
|
int32_t L_42 = V_12;
|
|
il2cpp_codegen_runtime_class_init_inline(DirectionExtensions_t1843D176007819AD9058F1D2AA15E93C4EFEC65C_il2cpp_TypeInfo_var);
|
|
int32_t L_43;
|
|
L_43 = DirectionExtensions_GetHorizontalOffset_m6EF99D2A005D9B63E45D4F200E6F5761DE7AC089(L_42, NULL);
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_41, L_43));
|
|
// int ay = hy + dir.GetVerticalOffset();
|
|
int32_t L_44 = V_4;
|
|
int32_t L_45 = V_12;
|
|
int32_t L_46;
|
|
L_46 = DirectionExtensions_GetVerticalOffset_m154FE77EC095586AB97080D7B64938EE300911C5(L_45, NULL);
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_44, L_46));
|
|
// int ai = compactField.Cells[ay * compactField.Width + ax].StartIndex + CompactSpan.GetConnection(ref span, dir);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_47 = ___0_compactField;
|
|
NullCheck(L_47);
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* L_48;
|
|
L_48 = CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline(L_47, NULL);
|
|
int32_t L_49 = V_14;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_50 = ___0_compactField;
|
|
NullCheck(L_50);
|
|
int32_t L_51;
|
|
L_51 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_50, NULL);
|
|
int32_t L_52 = V_13;
|
|
NullCheck(L_48);
|
|
int32_t L_53 = ((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_49, L_51)), L_52)))))->___StartIndex_0;
|
|
int32_t L_54 = V_12;
|
|
int32_t L_55;
|
|
L_55 = CompactSpan_GetConnection_mD199DEBEEA495B2BFAD643B28B6FBA294041C60D((&V_10), L_54, NULL);
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_53, L_55));
|
|
// if (compactField.Spans[ai].Region != poly.RegionId)
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_56 = ___0_compactField;
|
|
NullCheck(L_56);
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* L_57;
|
|
L_57 = CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline(L_56, NULL);
|
|
int32_t L_58 = V_15;
|
|
NullCheck(L_57);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_59 = ((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_58)))->___Region_6;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_60 = ___1_poly;
|
|
NullCheck(L_60);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_61;
|
|
L_61 = Polygon_get_RegionId_m9E5FDBF8432D77751B51C631AB401A1878ECF5D4_inline(L_60, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_62;
|
|
L_62 = RegionId_op_Inequality_m7529FE0F094FE8F3AB6C7E45935562313DC410F5(L_59, L_61, NULL);
|
|
if (!L_62)
|
|
{
|
|
goto IL_0123;
|
|
}
|
|
}
|
|
{
|
|
// border = true;
|
|
V_11 = (bool)1;
|
|
// break;
|
|
goto IL_012e;
|
|
}
|
|
|
|
IL_0123:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
int32_t L_63 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_63, 1));
|
|
}
|
|
|
|
IL_0129:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
int32_t L_64 = V_12;
|
|
if ((((int32_t)L_64) <= ((int32_t)3)))
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
}
|
|
|
|
IL_012e:
|
|
{
|
|
// if (border)
|
|
bool L_65 = V_11;
|
|
if (!L_65)
|
|
{
|
|
goto IL_0154;
|
|
}
|
|
}
|
|
{
|
|
// stack.Add(new CompactSpanReference(hx, hy, i));
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_66 = V_0;
|
|
int32_t L_67 = V_6;
|
|
int32_t L_68 = V_4;
|
|
int32_t L_69 = V_8;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_70;
|
|
memset((&L_70), 0, sizeof(L_70));
|
|
CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9((&L_70), L_67, L_68, L_69, /*hidden argument*/NULL);
|
|
NullCheck(L_66);
|
|
List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_inline(L_66, L_70, List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
// break;
|
|
goto IL_0154;
|
|
}
|
|
|
|
IL_0145:
|
|
{
|
|
// for (int i = cells.StartIndex, end = cells.StartIndex + cells.Count; i < end; i++)
|
|
int32_t L_71 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_71, 1));
|
|
}
|
|
|
|
IL_014b:
|
|
{
|
|
// for (int i = cells.StartIndex, end = cells.StartIndex + cells.Count; i < end; i++)
|
|
int32_t L_72 = V_8;
|
|
int32_t L_73 = V_9;
|
|
if ((((int32_t)L_72) < ((int32_t)L_73)))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
|
|
IL_0154:
|
|
{
|
|
// for (int x = 0; x < hp.Width; x++)
|
|
int32_t L_74 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_74, 1));
|
|
}
|
|
|
|
IL_015a:
|
|
{
|
|
// for (int x = 0; x < hp.Width; x++)
|
|
int32_t L_75 = V_5;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_76 = ___5_hp;
|
|
NullCheck(L_76);
|
|
int32_t L_77;
|
|
L_77 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_76, NULL);
|
|
if ((((int32_t)L_75) < ((int32_t)L_77)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// for (int y = 0; y < hp.Length; y++)
|
|
int32_t L_78 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_78, 1));
|
|
}
|
|
|
|
IL_016c:
|
|
{
|
|
// for (int y = 0; y < hp.Length; y++)
|
|
int32_t L_79 = V_3;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_80 = ___5_hp;
|
|
NullCheck(L_80);
|
|
int32_t L_81;
|
|
L_81 = HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline(L_80, NULL);
|
|
if ((((int32_t)L_79) < ((int32_t)L_81)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// if (empty)
|
|
bool L_82 = V_1;
|
|
if (!L_82)
|
|
{
|
|
goto IL_018c;
|
|
}
|
|
}
|
|
{
|
|
// GetHeightDataSeedsFromVertices(compactField, poly, polyCount, verts, borderSize, hp, stack);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_83 = ___0_compactField;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_84 = ___1_poly;
|
|
int32_t L_85 = ___2_polyCount;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_86 = ___3_verts;
|
|
int32_t L_87 = ___4_borderSize;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_88 = ___5_hp;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_89 = V_0;
|
|
PolyMeshDetail_GetHeightDataSeedsFromVertices_m1B1BBF3EF5599011D49FC6609FC23F6B32CBCCC4(__this, L_83, L_84, L_85, L_86, L_87, L_88, L_89, NULL);
|
|
}
|
|
|
|
IL_018c:
|
|
{
|
|
// int head = 0;
|
|
V_2 = 0;
|
|
goto IL_0314;
|
|
}
|
|
|
|
IL_0193:
|
|
{
|
|
// var cell = stack[head++];
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_90 = V_0;
|
|
int32_t L_91 = V_2;
|
|
int32_t L_92 = L_91;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_92, 1));
|
|
NullCheck(L_90);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_93;
|
|
L_93 = List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2(L_90, L_92, List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var);
|
|
V_16 = L_93;
|
|
// var cs = compactField[cell];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_94 = ___0_compactField;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_95 = V_16;
|
|
NullCheck(L_94);
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_96;
|
|
L_96 = CompactHeightfield_get_Item_m0E7CA21ABFCF77163123A89576BA9E942F4722FF(L_94, L_95, NULL);
|
|
V_17 = L_96;
|
|
// if (head >= RetractSize)
|
|
int32_t L_97 = V_2;
|
|
if ((((int32_t)L_97) < ((int32_t)((int32_t)256))))
|
|
{
|
|
goto IL_021a;
|
|
}
|
|
}
|
|
{
|
|
// head = 0;
|
|
V_2 = 0;
|
|
// if (stack.Count > RetractSize)
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_98 = V_0;
|
|
NullCheck(L_98);
|
|
int32_t L_99;
|
|
L_99 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_98, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
if ((((int32_t)L_99) <= ((int32_t)((int32_t)256))))
|
|
{
|
|
goto IL_01f2;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < stack.Count - RetractSize; i++)
|
|
V_19 = 0;
|
|
goto IL_01e2;
|
|
}
|
|
|
|
IL_01c6:
|
|
{
|
|
// stack[i] = stack[i + RetractSize];
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_100 = V_0;
|
|
int32_t L_101 = V_19;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_102 = V_0;
|
|
int32_t L_103 = V_19;
|
|
NullCheck(L_102);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_104;
|
|
L_104 = List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2(L_102, ((int32_t)il2cpp_codegen_add(L_103, ((int32_t)256))), List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var);
|
|
NullCheck(L_100);
|
|
List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782(L_100, L_101, L_104, List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_RuntimeMethod_var);
|
|
// for (int i = 0; i < stack.Count - RetractSize; i++)
|
|
int32_t L_105 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_105, 1));
|
|
}
|
|
|
|
IL_01e2:
|
|
{
|
|
// for (int i = 0; i < stack.Count - RetractSize; i++)
|
|
int32_t L_106 = V_19;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_107 = V_0;
|
|
NullCheck(L_107);
|
|
int32_t L_108;
|
|
L_108 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_107, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
if ((((int32_t)L_106) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_108, ((int32_t)256))))))
|
|
{
|
|
goto IL_01c6;
|
|
}
|
|
}
|
|
|
|
IL_01f2:
|
|
{
|
|
// int targetSize = stack.Count % RetractSize;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_109 = V_0;
|
|
NullCheck(L_109);
|
|
int32_t L_110;
|
|
L_110 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_109, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
V_18 = ((int32_t)(L_110%((int32_t)256)));
|
|
goto IL_0210;
|
|
}
|
|
|
|
IL_0202:
|
|
{
|
|
// stack.RemoveAt(stack.Count - 1);
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_111 = V_0;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_112 = V_0;
|
|
NullCheck(L_112);
|
|
int32_t L_113;
|
|
L_113 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_112, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
NullCheck(L_111);
|
|
List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3(L_111, ((int32_t)il2cpp_codegen_subtract(L_113, 1)), List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0210:
|
|
{
|
|
// while (stack.Count > targetSize)
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_114 = V_0;
|
|
NullCheck(L_114);
|
|
int32_t L_115;
|
|
L_115 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_114, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
int32_t L_116 = V_18;
|
|
if ((((int32_t)L_115) > ((int32_t)L_116)))
|
|
{
|
|
goto IL_0202;
|
|
}
|
|
}
|
|
|
|
IL_021a:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
V_20 = 0;
|
|
goto IL_030c;
|
|
}
|
|
|
|
IL_0222:
|
|
{
|
|
// if (!cs.IsConnected(dir))
|
|
int32_t L_117 = V_20;
|
|
bool L_118;
|
|
L_118 = CompactSpan_IsConnected_mFCB5DCC3B238E20C5BEF41F6C2F804CADA65EA73((&V_17), L_117, NULL);
|
|
if (!L_118)
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
// int ax = cell.X + dir.GetHorizontalOffset();
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_119 = V_16;
|
|
int32_t L_120 = L_119.___X_1;
|
|
int32_t L_121 = V_20;
|
|
il2cpp_codegen_runtime_class_init_inline(DirectionExtensions_t1843D176007819AD9058F1D2AA15E93C4EFEC65C_il2cpp_TypeInfo_var);
|
|
int32_t L_122;
|
|
L_122 = DirectionExtensions_GetHorizontalOffset_m6EF99D2A005D9B63E45D4F200E6F5761DE7AC089(L_121, NULL);
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_120, L_122));
|
|
// int ay = cell.Y + dir.GetVerticalOffset();
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_123 = V_16;
|
|
int32_t L_124 = L_123.___Y_2;
|
|
int32_t L_125 = V_20;
|
|
int32_t L_126;
|
|
L_126 = DirectionExtensions_GetVerticalOffset_m154FE77EC095586AB97080D7B64938EE300911C5(L_125, NULL);
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_124, L_126));
|
|
// int hx = ax - hp.X - borderSize;
|
|
int32_t L_127 = V_21;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_128 = ___5_hp;
|
|
NullCheck(L_128);
|
|
int32_t L_129;
|
|
L_129 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_128, NULL);
|
|
int32_t L_130 = ___4_borderSize;
|
|
V_23 = ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(L_127, L_129)), L_130));
|
|
// int hy = ay - hp.Y - borderSize;
|
|
int32_t L_131 = V_22;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_132 = ___5_hp;
|
|
NullCheck(L_132);
|
|
int32_t L_133;
|
|
L_133 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_132, NULL);
|
|
int32_t L_134 = ___4_borderSize;
|
|
V_24 = ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(L_131, L_133)), L_134));
|
|
// if (hx < 0 || hx >= hp.Width || hy < 0 || hy >= hp.Length)
|
|
int32_t L_135 = V_23;
|
|
if ((((int32_t)L_135) < ((int32_t)0)))
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_136 = V_23;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_137 = ___5_hp;
|
|
NullCheck(L_137);
|
|
int32_t L_138;
|
|
L_138 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_137, NULL);
|
|
if ((((int32_t)L_136) >= ((int32_t)L_138)))
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_139 = V_24;
|
|
if ((((int32_t)L_139) < ((int32_t)0)))
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_140 = V_24;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_141 = ___5_hp;
|
|
NullCheck(L_141);
|
|
int32_t L_142;
|
|
L_142 = HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline(L_141, NULL);
|
|
if ((((int32_t)L_140) >= ((int32_t)L_142)))
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
// if (hp.IsSet(hy * hp.Width + hx))
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_143 = ___5_hp;
|
|
int32_t L_144 = V_24;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_145 = ___5_hp;
|
|
NullCheck(L_145);
|
|
int32_t L_146;
|
|
L_146 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_145, NULL);
|
|
int32_t L_147 = V_23;
|
|
NullCheck(L_143);
|
|
bool L_148;
|
|
L_148 = HeightPatch_IsSet_m36D51B4661D4ABFBC86BCC5E6FC63CF11144CDD6(L_143, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_144, L_146)), L_147)), NULL);
|
|
if (L_148)
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
// int ai = compactField.Cells[ay * compactField.Width + ax].StartIndex + CompactSpan.GetConnection(ref cs, dir);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_149 = ___0_compactField;
|
|
NullCheck(L_149);
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* L_150;
|
|
L_150 = CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline(L_149, NULL);
|
|
int32_t L_151 = V_22;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_152 = ___0_compactField;
|
|
NullCheck(L_152);
|
|
int32_t L_153;
|
|
L_153 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_152, NULL);
|
|
int32_t L_154 = V_21;
|
|
NullCheck(L_150);
|
|
int32_t L_155 = ((L_150)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_151, L_153)), L_154)))))->___StartIndex_0;
|
|
int32_t L_156 = V_20;
|
|
int32_t L_157;
|
|
L_157 = CompactSpan_GetConnection_mD199DEBEEA495B2BFAD643B28B6FBA294041C60D((&V_17), L_156, NULL);
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_155, L_157));
|
|
// CompactSpan ds = compactField.Spans[ai];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_158 = ___0_compactField;
|
|
NullCheck(L_158);
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* L_159;
|
|
L_159 = CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline(L_158, NULL);
|
|
int32_t L_160 = V_25;
|
|
NullCheck(L_159);
|
|
int32_t L_161 = L_160;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_162 = (L_159)->GetAt(static_cast<il2cpp_array_size_t>(L_161));
|
|
V_26 = L_162;
|
|
// hp[hx, hy] = ds.Minimum;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_163 = ___5_hp;
|
|
int32_t L_164 = V_23;
|
|
int32_t L_165 = V_24;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_166 = V_26;
|
|
int32_t L_167 = L_166.___Minimum_0;
|
|
NullCheck(L_163);
|
|
HeightPatch_set_Item_m5A25ACFC9264F2DBE54B289FF86B5988694683AD(L_163, L_164, L_165, L_167, NULL);
|
|
// stack.Add(new CompactSpanReference(ax, ay, ai));
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_168 = V_0;
|
|
int32_t L_169 = V_21;
|
|
int32_t L_170 = V_22;
|
|
int32_t L_171 = V_25;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_172;
|
|
memset((&L_172), 0, sizeof(L_172));
|
|
CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9((&L_172), L_169, L_170, L_171, /*hidden argument*/NULL);
|
|
NullCheck(L_168);
|
|
List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_inline(L_168, L_172, List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0306:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
int32_t L_173 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add((int32_t)L_173, 1));
|
|
}
|
|
|
|
IL_030c:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
int32_t L_174 = V_20;
|
|
if ((((int32_t)L_174) <= ((int32_t)3)))
|
|
{
|
|
goto IL_0222;
|
|
}
|
|
}
|
|
|
|
IL_0314:
|
|
{
|
|
// while (head < stack.Count)
|
|
int32_t L_175 = V_2;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_176 = V_0;
|
|
NullCheck(L_176);
|
|
int32_t L_177;
|
|
L_177 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_176, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
if ((((int32_t)L_175) < ((int32_t)L_177)))
|
|
{
|
|
goto IL_0193;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::GetHeightDataSeedsFromVertices(SharpNav.CompactHeightfield,SharpNav.PolyMesh/Polygon,System.Int32,SharpNav.PolyVertex[],System.Int32,SharpNav.HeightPatch,System.Collections.Generic.List`1<SharpNav.CompactSpanReference>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_GetHeightDataSeedsFromVertices_m1B1BBF3EF5599011D49FC6609FC23F6B32CBCCC4 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___0_compactField, Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* ___1_poly, int32_t ___2_polyCount, PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* ___3_verts, int32_t ___4_borderSize, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___5_hp, List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* ___6_stack, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DirectionExtensions_t1843D176007819AD9058F1D2AA15E93C4EFEC65C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
int32_t V_4 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE V_21;
|
|
memset((&V_21), 0, sizeof(V_21));
|
|
int32_t V_22 = 0;
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
int32_t V_25 = 0;
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 V_28;
|
|
memset((&V_28), 0, sizeof(V_28));
|
|
int32_t V_29 = 0;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE V_30;
|
|
memset((&V_30), 0, sizeof(V_30));
|
|
{
|
|
// hp.SetAll(0);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_0 = ___5_hp;
|
|
NullCheck(L_0);
|
|
HeightPatch_SetAll_m9D791D939BB7C968B9EFB7BDE023FB5E45D1F22B(L_0, 0, NULL);
|
|
// for (int j = 0; j < polyCount; j++)
|
|
V_2 = 0;
|
|
goto IL_0153;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// var csr = new CompactSpanReference(0, 0, -1);
|
|
CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9((&V_3), 0, 0, (-1), NULL);
|
|
// int dmin = int.MaxValue;
|
|
V_4 = ((int32_t)2147483647LL);
|
|
// var v = verts[poly.Vertices[j]];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_1 = ___3_verts;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_2 = ___1_poly;
|
|
NullCheck(L_2);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3;
|
|
L_3 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_2, NULL);
|
|
int32_t L_4 = V_2;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
int32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
NullCheck(L_1);
|
|
int32_t L_7 = L_6;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_8 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_5 = L_8;
|
|
// for (int k = 0; k < 9; k++)
|
|
V_6 = 0;
|
|
goto IL_0135;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// int ax = v.X + VertexOffset[k * 2 + 0];
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_9 = V_5;
|
|
int32_t L_10 = L_9.___X_0;
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = ((PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_StaticFields*)il2cpp_codegen_static_fields_for(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var))->___VertexOffset_0;
|
|
int32_t L_12 = V_6;
|
|
NullCheck(L_11);
|
|
int32_t L_13 = ((int32_t)il2cpp_codegen_multiply(L_12, 2));
|
|
int32_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_10, L_14));
|
|
// int ay = v.Y;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_15 = V_5;
|
|
int32_t L_16 = L_15.___Y_1;
|
|
V_8 = L_16;
|
|
// int az = v.Z + VertexOffset[k * 2 + 1];
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_17 = V_5;
|
|
int32_t L_18 = L_17.___Z_2;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = ((PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_StaticFields*)il2cpp_codegen_static_fields_for(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var))->___VertexOffset_0;
|
|
int32_t L_20 = V_6;
|
|
NullCheck(L_19);
|
|
int32_t L_21 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_20, 2)), 1));
|
|
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_18, L_22));
|
|
// if (ax < hp.X || ax >= hp.X + hp.Width || az < hp.Y || az >= hp.Y + hp.Length)
|
|
int32_t L_23 = V_7;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_24 = ___5_hp;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_24, NULL);
|
|
if ((((int32_t)L_23) < ((int32_t)L_25)))
|
|
{
|
|
goto IL_012f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_26 = V_7;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_27 = ___5_hp;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_27, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_29 = ___5_hp;
|
|
NullCheck(L_29);
|
|
int32_t L_30;
|
|
L_30 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_29, NULL);
|
|
if ((((int32_t)L_26) >= ((int32_t)((int32_t)il2cpp_codegen_add(L_28, L_30)))))
|
|
{
|
|
goto IL_012f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_31 = V_9;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_32 = ___5_hp;
|
|
NullCheck(L_32);
|
|
int32_t L_33;
|
|
L_33 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_32, NULL);
|
|
if ((((int32_t)L_31) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_012f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_34 = V_9;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_35 = ___5_hp;
|
|
NullCheck(L_35);
|
|
int32_t L_36;
|
|
L_36 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_35, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_37 = ___5_hp;
|
|
NullCheck(L_37);
|
|
int32_t L_38;
|
|
L_38 = HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline(L_37, NULL);
|
|
if ((((int32_t)L_34) >= ((int32_t)((int32_t)il2cpp_codegen_add(L_36, L_38)))))
|
|
{
|
|
goto IL_012f;
|
|
}
|
|
}
|
|
{
|
|
// CompactCell c = compactField.Cells[(az + borderSize) * compactField.Width + (ax + borderSize)];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_39 = ___0_compactField;
|
|
NullCheck(L_39);
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* L_40;
|
|
L_40 = CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline(L_39, NULL);
|
|
int32_t L_41 = V_9;
|
|
int32_t L_42 = ___4_borderSize;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_43 = ___0_compactField;
|
|
NullCheck(L_43);
|
|
int32_t L_44;
|
|
L_44 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_43, NULL);
|
|
int32_t L_45 = V_7;
|
|
int32_t L_46 = ___4_borderSize;
|
|
NullCheck(L_40);
|
|
int32_t L_47 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_41, L_42)), L_44)), ((int32_t)il2cpp_codegen_add(L_45, L_46))));
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_48 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
|
|
V_10 = L_48;
|
|
// for (int i = c.StartIndex, end = c.StartIndex + c.Count; i < end; i++)
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_49 = V_10;
|
|
int32_t L_50 = L_49.___StartIndex_0;
|
|
V_11 = L_50;
|
|
// for (int i = c.StartIndex, end = c.StartIndex + c.Count; i < end; i++)
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_51 = V_10;
|
|
int32_t L_52 = L_51.___StartIndex_0;
|
|
CompactCell_t7706C727FB9E8E6E6E79B0544BE5BF55B8ED8AC6 L_53 = V_10;
|
|
int32_t L_54 = L_53.___Count_1;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_52, L_54));
|
|
goto IL_0129;
|
|
}
|
|
|
|
IL_00ec:
|
|
{
|
|
// CompactSpan s = compactField.Spans[i];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_55 = ___0_compactField;
|
|
NullCheck(L_55);
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* L_56;
|
|
L_56 = CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline(L_55, NULL);
|
|
int32_t L_57 = V_11;
|
|
NullCheck(L_56);
|
|
int32_t L_58 = L_57;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
|
|
V_13 = L_59;
|
|
// int d = Math.Abs(ay - s.Minimum);
|
|
int32_t L_60 = V_8;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_61 = V_13;
|
|
int32_t L_62 = L_61.___Minimum_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_63;
|
|
L_63 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_60, L_62)));
|
|
V_14 = L_63;
|
|
// if (d < dmin)
|
|
int32_t L_64 = V_14;
|
|
int32_t L_65 = V_4;
|
|
if ((((int32_t)L_64) >= ((int32_t)L_65)))
|
|
{
|
|
goto IL_0123;
|
|
}
|
|
}
|
|
{
|
|
// csr = new CompactSpanReference(ax, az, i);
|
|
int32_t L_66 = V_7;
|
|
int32_t L_67 = V_9;
|
|
int32_t L_68 = V_11;
|
|
CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9((&V_3), L_66, L_67, L_68, NULL);
|
|
// dmin = d;
|
|
int32_t L_69 = V_14;
|
|
V_4 = L_69;
|
|
}
|
|
|
|
IL_0123:
|
|
{
|
|
// for (int i = c.StartIndex, end = c.StartIndex + c.Count; i < end; i++)
|
|
int32_t L_70 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_70, 1));
|
|
}
|
|
|
|
IL_0129:
|
|
{
|
|
// for (int i = c.StartIndex, end = c.StartIndex + c.Count; i < end; i++)
|
|
int32_t L_71 = V_11;
|
|
int32_t L_72 = V_12;
|
|
if ((((int32_t)L_71) < ((int32_t)L_72)))
|
|
{
|
|
goto IL_00ec;
|
|
}
|
|
}
|
|
|
|
IL_012f:
|
|
{
|
|
// for (int k = 0; k < 9; k++)
|
|
int32_t L_73 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_73, 1));
|
|
}
|
|
|
|
IL_0135:
|
|
{
|
|
// for (int k = 0; k < 9; k++)
|
|
int32_t L_74 = V_6;
|
|
if ((((int32_t)L_74) < ((int32_t)((int32_t)9))))
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// if (csr.Index != -1)
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_75 = V_3;
|
|
int32_t L_76 = L_75.___Index_3;
|
|
if ((((int32_t)L_76) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_014f;
|
|
}
|
|
}
|
|
{
|
|
// stack.Add(csr);
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_77 = ___6_stack;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_78 = V_3;
|
|
NullCheck(L_77);
|
|
List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_inline(L_77, L_78, List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_014f:
|
|
{
|
|
// for (int j = 0; j < polyCount; j++)
|
|
int32_t L_79 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_79, 1));
|
|
}
|
|
|
|
IL_0153:
|
|
{
|
|
// for (int j = 0; j < polyCount; j++)
|
|
int32_t L_80 = V_2;
|
|
int32_t L_81 = ___2_polyCount;
|
|
if ((((int32_t)L_80) < ((int32_t)L_81)))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// int pcx = 0, pcz = 0;
|
|
V_0 = 0;
|
|
// int pcx = 0, pcz = 0;
|
|
V_1 = 0;
|
|
// for (int j = 0; j < polyCount; j++)
|
|
V_15 = 0;
|
|
goto IL_018f;
|
|
}
|
|
|
|
IL_0163:
|
|
{
|
|
// var v = verts[poly.Vertices[j]];
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_82 = ___3_verts;
|
|
Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* L_83 = ___1_poly;
|
|
NullCheck(L_83);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_84;
|
|
L_84 = Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline(L_83, NULL);
|
|
int32_t L_85 = V_15;
|
|
NullCheck(L_84);
|
|
int32_t L_86 = L_85;
|
|
int32_t L_87 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
|
|
NullCheck(L_82);
|
|
int32_t L_88 = L_87;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_89 = (L_82)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
|
|
V_16 = L_89;
|
|
// pcx += v.X;
|
|
int32_t L_90 = V_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_91 = V_16;
|
|
int32_t L_92 = L_91.___X_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_90, L_92));
|
|
// pcz += v.Z;
|
|
int32_t L_93 = V_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_94 = V_16;
|
|
int32_t L_95 = L_94.___Z_2;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_93, L_95));
|
|
// for (int j = 0; j < polyCount; j++)
|
|
int32_t L_96 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_96, 1));
|
|
}
|
|
|
|
IL_018f:
|
|
{
|
|
// for (int j = 0; j < polyCount; j++)
|
|
int32_t L_97 = V_15;
|
|
int32_t L_98 = ___2_polyCount;
|
|
if ((((int32_t)L_97) < ((int32_t)L_98)))
|
|
{
|
|
goto IL_0163;
|
|
}
|
|
}
|
|
{
|
|
// pcx /= polyCount;
|
|
int32_t L_99 = V_0;
|
|
int32_t L_100 = ___2_polyCount;
|
|
V_0 = ((int32_t)(L_99/L_100));
|
|
// pcz /= polyCount;
|
|
int32_t L_101 = V_1;
|
|
int32_t L_102 = ___2_polyCount;
|
|
V_1 = ((int32_t)(L_101/L_102));
|
|
// foreach (var cell in stack)
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_103 = ___6_stack;
|
|
NullCheck(L_103);
|
|
Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99 L_104;
|
|
L_104 = List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4(L_103, List_1_GetEnumerator_m6CA1AA1D01D07991E9F2B1AE9CBB80D2E61718D4_RuntimeMethod_var);
|
|
V_17 = L_104;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_01f1:
|
|
{// begin finally (depth: 1)
|
|
Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72((&V_17), Enumerator_Dispose_m89DEA1914682E92B3A4AB9F2E8F53B5255DA1E72_RuntimeMethod_var);
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_01e3_1;
|
|
}
|
|
|
|
IL_01a7_1:
|
|
{
|
|
// foreach (var cell in stack)
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_105;
|
|
L_105 = Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_inline((&V_17), Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_RuntimeMethod_var);
|
|
V_18 = L_105;
|
|
// int idx = (cell.Y - hp.Y) * hp.Width + (cell.X - hp.X);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_106 = V_18;
|
|
int32_t L_107 = L_106.___Y_2;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_108 = ___5_hp;
|
|
NullCheck(L_108);
|
|
int32_t L_109;
|
|
L_109 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_108, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_110 = ___5_hp;
|
|
NullCheck(L_110);
|
|
int32_t L_111;
|
|
L_111 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_110, NULL);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_112 = V_18;
|
|
int32_t L_113 = L_112.___X_1;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_114 = ___5_hp;
|
|
NullCheck(L_114);
|
|
int32_t L_115;
|
|
L_115 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_114, NULL);
|
|
V_19 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_107, L_109)), L_111)), ((int32_t)il2cpp_codegen_subtract(L_113, L_115))));
|
|
// hp[idx] = 1;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_116 = ___5_hp;
|
|
int32_t L_117 = V_19;
|
|
NullCheck(L_116);
|
|
HeightPatch_set_Item_mCB66A6FFA2C91686127E0BF5E867C0C8D3244E0A(L_116, L_117, 1, NULL);
|
|
}
|
|
|
|
IL_01e3_1:
|
|
{
|
|
// foreach (var cell in stack)
|
|
bool L_118;
|
|
L_118 = Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C((&V_17), Enumerator_MoveNext_m06127B0C1F64DAA6D41D8D79DB4BC8D02D6C757C_RuntimeMethod_var);
|
|
if (L_118)
|
|
{
|
|
goto IL_01a7_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_037f;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_01ff:
|
|
{
|
|
// var cell = stack[stack.Count - 1];
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_119 = ___6_stack;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_120 = ___6_stack;
|
|
NullCheck(L_120);
|
|
int32_t L_121;
|
|
L_121 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_120, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
NullCheck(L_119);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_122;
|
|
L_122 = List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2(L_119, ((int32_t)il2cpp_codegen_subtract(L_121, 1)), List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var);
|
|
V_20 = L_122;
|
|
// stack.RemoveAt(stack.Count - 1);
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_123 = ___6_stack;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_124 = ___6_stack;
|
|
NullCheck(L_124);
|
|
int32_t L_125;
|
|
L_125 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_124, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
NullCheck(L_123);
|
|
List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3(L_123, ((int32_t)il2cpp_codegen_subtract(L_125, 1)), List_1_RemoveAt_m6E689063796E30F18A26B4F9FE91797F739007C3_RuntimeMethod_var);
|
|
// if (Math.Abs(cell.X - pcx) <= 1 && Math.Abs(cell.Y - pcz) <= 1)
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_126 = V_20;
|
|
int32_t L_127 = L_126.___X_1;
|
|
int32_t L_128 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_129;
|
|
L_129 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_127, L_128)));
|
|
if ((((int32_t)L_129) > ((int32_t)1)))
|
|
{
|
|
goto IL_0258;
|
|
}
|
|
}
|
|
{
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_130 = V_20;
|
|
int32_t L_131 = L_130.___Y_2;
|
|
int32_t L_132 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_133;
|
|
L_133 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_131, L_132)));
|
|
if ((((int32_t)L_133) > ((int32_t)1)))
|
|
{
|
|
goto IL_0258;
|
|
}
|
|
}
|
|
{
|
|
// stack.Clear();
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_134 = ___6_stack;
|
|
NullCheck(L_134);
|
|
List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_inline(L_134, List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_RuntimeMethod_var);
|
|
// stack.Add(cell);
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_135 = ___6_stack;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_136 = V_20;
|
|
NullCheck(L_135);
|
|
List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_inline(L_135, L_136, List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
// break;
|
|
goto IL_038c;
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// CompactSpan cs = compactField[cell];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_137 = ___0_compactField;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_138 = V_20;
|
|
NullCheck(L_137);
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_139;
|
|
L_139 = CompactHeightfield_get_Item_m0E7CA21ABFCF77163123A89576BA9E942F4722FF(L_137, L_138, NULL);
|
|
V_21 = L_139;
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
V_22 = 0;
|
|
goto IL_0377;
|
|
}
|
|
|
|
IL_026a:
|
|
{
|
|
// if (!cs.IsConnected(dir))
|
|
int32_t L_140 = V_22;
|
|
bool L_141;
|
|
L_141 = CompactSpan_IsConnected_mFCB5DCC3B238E20C5BEF41F6C2F804CADA65EA73((&V_21), L_140, NULL);
|
|
if (!L_141)
|
|
{
|
|
goto IL_0371;
|
|
}
|
|
}
|
|
{
|
|
// int ax = cell.X + dir.GetHorizontalOffset();
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_142 = V_20;
|
|
int32_t L_143 = L_142.___X_1;
|
|
int32_t L_144 = V_22;
|
|
il2cpp_codegen_runtime_class_init_inline(DirectionExtensions_t1843D176007819AD9058F1D2AA15E93C4EFEC65C_il2cpp_TypeInfo_var);
|
|
int32_t L_145;
|
|
L_145 = DirectionExtensions_GetHorizontalOffset_m6EF99D2A005D9B63E45D4F200E6F5761DE7AC089(L_144, NULL);
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_143, L_145));
|
|
// int ay = cell.Y + dir.GetVerticalOffset();
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_146 = V_20;
|
|
int32_t L_147 = L_146.___Y_2;
|
|
int32_t L_148 = V_22;
|
|
int32_t L_149;
|
|
L_149 = DirectionExtensions_GetVerticalOffset_m154FE77EC095586AB97080D7B64938EE300911C5(L_148, NULL);
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_147, L_149));
|
|
// if (ax < hp.X || ax >= (hp.X + hp.Width) || ay < hp.Y || ay >= (hp.Y + hp.Length))
|
|
int32_t L_150 = V_23;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_151 = ___5_hp;
|
|
NullCheck(L_151);
|
|
int32_t L_152;
|
|
L_152 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_151, NULL);
|
|
if ((((int32_t)L_150) < ((int32_t)L_152)))
|
|
{
|
|
goto IL_0371;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_153 = V_23;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_154 = ___5_hp;
|
|
NullCheck(L_154);
|
|
int32_t L_155;
|
|
L_155 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_154, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_156 = ___5_hp;
|
|
NullCheck(L_156);
|
|
int32_t L_157;
|
|
L_157 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_156, NULL);
|
|
if ((((int32_t)L_153) >= ((int32_t)((int32_t)il2cpp_codegen_add(L_155, L_157)))))
|
|
{
|
|
goto IL_0371;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_158 = V_24;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_159 = ___5_hp;
|
|
NullCheck(L_159);
|
|
int32_t L_160;
|
|
L_160 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_159, NULL);
|
|
if ((((int32_t)L_158) < ((int32_t)L_160)))
|
|
{
|
|
goto IL_0371;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_161 = V_24;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_162 = ___5_hp;
|
|
NullCheck(L_162);
|
|
int32_t L_163;
|
|
L_163 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_162, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_164 = ___5_hp;
|
|
NullCheck(L_164);
|
|
int32_t L_165;
|
|
L_165 = HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline(L_164, NULL);
|
|
if ((((int32_t)L_161) >= ((int32_t)((int32_t)il2cpp_codegen_add(L_163, L_165)))))
|
|
{
|
|
goto IL_0371;
|
|
}
|
|
}
|
|
{
|
|
// if (hp[(ay - hp.Y) * hp.Width + (ax - hp.X)] != 0)
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_166 = ___5_hp;
|
|
int32_t L_167 = V_24;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_168 = ___5_hp;
|
|
NullCheck(L_168);
|
|
int32_t L_169;
|
|
L_169 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_168, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_170 = ___5_hp;
|
|
NullCheck(L_170);
|
|
int32_t L_171;
|
|
L_171 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_170, NULL);
|
|
int32_t L_172 = V_23;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_173 = ___5_hp;
|
|
NullCheck(L_173);
|
|
int32_t L_174;
|
|
L_174 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_173, NULL);
|
|
NullCheck(L_166);
|
|
int32_t L_175;
|
|
L_175 = HeightPatch_get_Item_mE7EE69D656D9498D495862C4831E0DBD1D7CFE98(L_166, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_167, L_169)), L_171)), ((int32_t)il2cpp_codegen_subtract(L_172, L_174)))), NULL);
|
|
if (L_175)
|
|
{
|
|
goto IL_0371;
|
|
}
|
|
}
|
|
{
|
|
// int ai = compactField.Cells[(ay + borderSize) * compactField.Width + (ax + borderSize)].StartIndex + CompactSpan.GetConnection(ref cs, dir);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_176 = ___0_compactField;
|
|
NullCheck(L_176);
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* L_177;
|
|
L_177 = CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline(L_176, NULL);
|
|
int32_t L_178 = V_24;
|
|
int32_t L_179 = ___4_borderSize;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_180 = ___0_compactField;
|
|
NullCheck(L_180);
|
|
int32_t L_181;
|
|
L_181 = CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline(L_180, NULL);
|
|
int32_t L_182 = V_23;
|
|
int32_t L_183 = ___4_borderSize;
|
|
NullCheck(L_177);
|
|
int32_t L_184 = ((L_177)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_178, L_179)), L_181)), ((int32_t)il2cpp_codegen_add(L_182, L_183)))))))->___StartIndex_0;
|
|
int32_t L_185 = V_22;
|
|
int32_t L_186;
|
|
L_186 = CompactSpan_GetConnection_mD199DEBEEA495B2BFAD643B28B6FBA294041C60D((&V_21), L_185, NULL);
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_184, L_186));
|
|
// int idx = (ay - hp.Y) * hp.Width + (ax - hp.X);
|
|
int32_t L_187 = V_24;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_188 = ___5_hp;
|
|
NullCheck(L_188);
|
|
int32_t L_189;
|
|
L_189 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_188, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_190 = ___5_hp;
|
|
NullCheck(L_190);
|
|
int32_t L_191;
|
|
L_191 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_190, NULL);
|
|
int32_t L_192 = V_23;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_193 = ___5_hp;
|
|
NullCheck(L_193);
|
|
int32_t L_194;
|
|
L_194 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_193, NULL);
|
|
V_26 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_187, L_189)), L_191)), ((int32_t)il2cpp_codegen_subtract(L_192, L_194))));
|
|
// hp[idx] = 1;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_195 = ___5_hp;
|
|
int32_t L_196 = V_26;
|
|
NullCheck(L_195);
|
|
HeightPatch_set_Item_mCB66A6FFA2C91686127E0BF5E867C0C8D3244E0A(L_195, L_196, 1, NULL);
|
|
// stack.Add(new CompactSpanReference(ax, ay, ai));
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_197 = ___6_stack;
|
|
int32_t L_198 = V_23;
|
|
int32_t L_199 = V_24;
|
|
int32_t L_200 = V_25;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_201;
|
|
memset((&L_201), 0, sizeof(L_201));
|
|
CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9((&L_201), L_198, L_199, L_200, /*hidden argument*/NULL);
|
|
NullCheck(L_197);
|
|
List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_inline(L_197, L_201, List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0371:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
int32_t L_202 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add((int32_t)L_202, 1));
|
|
}
|
|
|
|
IL_0377:
|
|
{
|
|
// for (var dir = Direction.West; dir <= Direction.South; dir++)
|
|
int32_t L_203 = V_22;
|
|
if ((((int32_t)L_203) <= ((int32_t)3)))
|
|
{
|
|
goto IL_026a;
|
|
}
|
|
}
|
|
|
|
IL_037f:
|
|
{
|
|
// while (stack.Count > 0)
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_204 = ___6_stack;
|
|
NullCheck(L_204);
|
|
int32_t L_205;
|
|
L_205 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_204, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
if ((((int32_t)L_205) > ((int32_t)0)))
|
|
{
|
|
goto IL_01ff;
|
|
}
|
|
}
|
|
|
|
IL_038c:
|
|
{
|
|
// hp.Clear();
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_206 = ___5_hp;
|
|
NullCheck(L_206);
|
|
HeightPatch_Clear_m1D082890BFDC0FEEB89EE6C3ADEF82C48A0D7BAD(L_206, NULL);
|
|
// for (int i = 0; i < stack.Count; i++)
|
|
V_27 = 0;
|
|
goto IL_0422;
|
|
}
|
|
|
|
IL_039b:
|
|
{
|
|
// var c = stack[i];
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_207 = ___6_stack;
|
|
int32_t L_208 = V_27;
|
|
NullCheck(L_207);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_209;
|
|
L_209 = List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2(L_207, L_208, List_1_get_Item_m65C9C89FECB5459F2C94159D6779AAD581B885A2_RuntimeMethod_var);
|
|
V_28 = L_209;
|
|
// int idx = (c.Y - hp.Y) * hp.Width + (c.X - hp.X);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_210 = V_28;
|
|
int32_t L_211 = L_210.___Y_2;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_212 = ___5_hp;
|
|
NullCheck(L_212);
|
|
int32_t L_213;
|
|
L_213 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_212, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_214 = ___5_hp;
|
|
NullCheck(L_214);
|
|
int32_t L_215;
|
|
L_215 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_214, NULL);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_216 = V_28;
|
|
int32_t L_217 = L_216.___X_1;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_218 = ___5_hp;
|
|
NullCheck(L_218);
|
|
int32_t L_219;
|
|
L_219 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_218, NULL);
|
|
V_29 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_211, L_213)), L_215)), ((int32_t)il2cpp_codegen_subtract(L_217, L_219))));
|
|
// CompactSpan cs = compactField.Spans[c.Index];
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_220 = ___0_compactField;
|
|
NullCheck(L_220);
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* L_221;
|
|
L_221 = CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline(L_220, NULL);
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_222 = V_28;
|
|
int32_t L_223 = L_222.___Index_3;
|
|
NullCheck(L_221);
|
|
int32_t L_224 = L_223;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_225 = (L_221)->GetAt(static_cast<il2cpp_array_size_t>(L_224));
|
|
V_30 = L_225;
|
|
// hp[idx] = cs.Minimum;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_226 = ___5_hp;
|
|
int32_t L_227 = V_29;
|
|
CompactSpan_t729C0438C192A7729A5EC9550F027D8A0188A2CE L_228 = V_30;
|
|
int32_t L_229 = L_228.___Minimum_0;
|
|
NullCheck(L_226);
|
|
HeightPatch_set_Item_mCB66A6FFA2C91686127E0BF5E867C0C8D3244E0A(L_226, L_227, L_229, NULL);
|
|
// stack[i] = new CompactSpanReference(c.X + borderSize, c.Y + borderSize, c.Index);
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_230 = ___6_stack;
|
|
int32_t L_231 = V_27;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_232 = V_28;
|
|
int32_t L_233 = L_232.___X_1;
|
|
int32_t L_234 = ___4_borderSize;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_235 = V_28;
|
|
int32_t L_236 = L_235.___Y_2;
|
|
int32_t L_237 = ___4_borderSize;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_238 = V_28;
|
|
int32_t L_239 = L_238.___Index_3;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_240;
|
|
memset((&L_240), 0, sizeof(L_240));
|
|
CompactSpanReference__ctor_m6B2E46977BD7F41C2D3DF49348C25CEE2F9CF3F9((&L_240), ((int32_t)il2cpp_codegen_add(L_233, L_234)), ((int32_t)il2cpp_codegen_add(L_236, L_237)), L_239, /*hidden argument*/NULL);
|
|
NullCheck(L_230);
|
|
List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782(L_230, L_231, L_240, List_1_set_Item_m177269CE51AE978864DAFE5ABEA1BD76E618D782_RuntimeMethod_var);
|
|
// for (int i = 0; i < stack.Count; i++)
|
|
int32_t L_241 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_241, 1));
|
|
}
|
|
|
|
IL_0422:
|
|
{
|
|
// for (int i = 0; i < stack.Count; i++)
|
|
int32_t L_242 = V_27;
|
|
List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* L_243 = ___6_stack;
|
|
NullCheck(L_243);
|
|
int32_t L_244;
|
|
L_244 = List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_inline(L_243, List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_RuntimeMethod_var);
|
|
if ((((int32_t)L_242) < ((int32_t)L_244)))
|
|
{
|
|
goto IL_039b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.PolyMeshDetail::PolyMinExtent(SharpNav.Geometry.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_PolyMinExtent_mBB9E192FE6BBAC9C1646555AEE8C06A5A8414A2B (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_verts, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
float V_5 = 0.0f;
|
|
int32_t V_6 = 0;
|
|
float V_7 = 0.0f;
|
|
{
|
|
// float minDist = float.MaxValue;
|
|
V_0 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < verts.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_0071;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// int ni = (i + 1) % verts.Length;
|
|
int32_t L_0 = V_1;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = ___0_verts;
|
|
NullCheck(L_1);
|
|
V_2 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_0, 1))%((int32_t)(((RuntimeArray*)L_1)->max_length))));
|
|
// Vector3 p0 = verts[i];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = ___0_verts;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_3 = L_5;
|
|
// Vector3 p1 = verts[ni];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_6 = ___0_verts;
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
V_4 = L_9;
|
|
// float maxEdgeDist = 0;
|
|
V_5 = (0.0f);
|
|
// for (int j = 0; j < verts.Length; j++)
|
|
V_6 = 0;
|
|
goto IL_005d;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// if (j == i || j == ni)
|
|
int32_t L_10 = V_6;
|
|
int32_t L_11 = V_1;
|
|
if ((((int32_t)L_10) == ((int32_t)L_11)))
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_12 = V_6;
|
|
int32_t L_13 = V_2;
|
|
if ((((int32_t)L_12) == ((int32_t)L_13)))
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// float d = Distance.PointToSegment2DSquared(ref verts[j], ref p0, ref p1);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_14 = ___0_verts;
|
|
int32_t L_15 = V_6;
|
|
NullCheck(L_14);
|
|
float L_16;
|
|
L_16 = Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106(((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15))), (&V_3), (&V_4), NULL);
|
|
V_7 = L_16;
|
|
// maxEdgeDist = Math.Max(maxEdgeDist, d);
|
|
float L_17 = V_5;
|
|
float L_18 = V_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_19;
|
|
L_19 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_17, L_18, NULL);
|
|
V_5 = L_19;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// for (int j = 0; j < verts.Length; j++)
|
|
int32_t L_20 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// for (int j = 0; j < verts.Length; j++)
|
|
int32_t L_21 = V_6;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_22 = ___0_verts;
|
|
NullCheck(L_22);
|
|
if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// minDist = Math.Min(minDist, maxEdgeDist);
|
|
float L_23 = V_0;
|
|
float L_24 = V_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_25;
|
|
L_25 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_23, L_24, NULL);
|
|
V_0 = L_25;
|
|
// for (int i = 0; i < verts.Length; i++)
|
|
int32_t L_26 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_26, 1));
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// for (int i = 0; i < verts.Length; i++)
|
|
int32_t L_27 = V_1;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_28 = ___0_verts;
|
|
NullCheck(L_28);
|
|
if ((((int32_t)L_27) < ((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return (float)Math.Sqrt(minDist);
|
|
float L_29 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_30;
|
|
L_30 = sqrt(((double)L_29));
|
|
return ((float)L_30);
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::BuildPolyDetail(SharpNav.Geometry.Vector3[],System.Int32,System.Single,System.Single,SharpNav.CompactHeightfield,SharpNav.HeightPatch,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/SamplingData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_BuildPolyDetail_m60FE5E04D5D67C2EF7D71FD321B95F89FC321D92 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_polyMeshVerts, int32_t ___1_numMeshVerts, float ___2_sampleDist, float ___3_sampleMaxError, CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* ___4_compactField, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___5_hp, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___6_verts, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___7_tris, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___8_edges, List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* ___9_samples, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Console_t5EDF9498D011BD48287171978EDBBA6964829C3E_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8E515499DC1CCB78AADD7996F58FF33557E3FA31);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_0 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_1 = NULL;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
bool V_10 = false;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
float V_12 = 0.0f;
|
|
int32_t V_13 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
float V_17 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
float V_25 = 0.0f;
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
float V_28 = 0.0f;
|
|
int32_t V_29 = 0;
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C V_32;
|
|
memset((&V_32), 0, sizeof(V_32));
|
|
int32_t V_33 = 0;
|
|
int32_t V_34 = 0;
|
|
int32_t V_35 = 0;
|
|
int32_t V_36 = 0;
|
|
int32_t V_37 = 0;
|
|
int32_t V_38 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_39;
|
|
memset((&V_39), 0, sizeof(V_39));
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 V_40;
|
|
memset((&V_40), 0, sizeof(V_40));
|
|
int32_t V_41 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_42;
|
|
memset((&V_42), 0, sizeof(V_42));
|
|
float V_43 = 0.0f;
|
|
int32_t V_44 = 0;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 V_45;
|
|
memset((&V_45), 0, sizeof(V_45));
|
|
int32_t V_46 = 0;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 V_47;
|
|
memset((&V_47), 0, sizeof(V_47));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_48;
|
|
memset((&V_48), 0, sizeof(V_48));
|
|
float V_49 = 0.0f;
|
|
{
|
|
// Vector3[] edge = new Vector3[MAX_VERTS_PER_EDGE + 1];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)((int32_t)33));
|
|
V_0 = L_0;
|
|
// List<int> hull = new List<int>(MAX_VERTS);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_1 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98(L_1, ((int32_t)127), List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
V_1 = L_1;
|
|
// for (int i = 0; i < numMeshVerts; ++i)
|
|
V_5 = 0;
|
|
goto IL_002a;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// verts.Add(polyMeshVerts[i]);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_2 = ___6_verts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_3 = ___0_polyMeshVerts;
|
|
int32_t L_4 = V_5;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
NullCheck(L_2);
|
|
List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_inline(L_2, L_6, List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_RuntimeMethod_var);
|
|
// for (int i = 0; i < numMeshVerts; ++i)
|
|
int32_t L_7 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// for (int i = 0; i < numMeshVerts; ++i)
|
|
int32_t L_8 = V_5;
|
|
int32_t L_9 = ___1_numMeshVerts;
|
|
if ((((int32_t)L_8) < ((int32_t)L_9)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// float cs = compactField.CellSize;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_10 = ___4_compactField;
|
|
NullCheck(L_10);
|
|
float L_11;
|
|
L_11 = CompactHeightfield_get_CellSize_mDA6E6900AF35EB4311B4817B86A9250D7D28D8DC_inline(L_10, NULL);
|
|
V_2 = L_11;
|
|
// float ics = 1.0f / cs;
|
|
float L_12 = V_2;
|
|
V_3 = ((float)((1.0f)/L_12));
|
|
// float minExtent = PolyMinExtent(polyMeshVerts);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_13 = ___0_polyMeshVerts;
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
float L_14;
|
|
L_14 = PolyMeshDetail_PolyMinExtent_mBB9E192FE6BBAC9C1646555AEE8C06A5A8414A2B(L_13, NULL);
|
|
V_4 = L_14;
|
|
// if (sampleDist > 0)
|
|
float L_15 = ___2_sampleDist;
|
|
if ((!(((float)L_15) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_02ec;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0, j = verts.Count - 1; i < verts.Count; j = i++)
|
|
V_6 = 0;
|
|
// for (int i = 0, j = verts.Count - 1; i < verts.Count; j = i++)
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_16 = ___6_verts;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_16, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
V_7 = ((int32_t)il2cpp_codegen_subtract(L_17, 1));
|
|
goto IL_02de;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// Vector3 vi = verts[i];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_18 = ___6_verts;
|
|
int32_t L_19 = V_6;
|
|
NullCheck(L_18);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20;
|
|
L_20 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_18, L_19, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_8 = L_20;
|
|
// Vector3 vj = verts[j];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_21 = ___6_verts;
|
|
int32_t L_22 = V_7;
|
|
NullCheck(L_21);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23;
|
|
L_23 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_21, L_22, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_9 = L_23;
|
|
// bool swapped = false;
|
|
V_10 = (bool)0;
|
|
// if (Math.Abs(vj.X - vi.X) < 1E-06f)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = V_9;
|
|
float L_25 = L_24.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = V_8;
|
|
float L_27 = L_26.___X_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_28;
|
|
L_28 = fabsf(((float)il2cpp_codegen_subtract(L_25, L_27)));
|
|
if ((!(((float)L_28) < ((float)(9.99999997E-07f)))))
|
|
{
|
|
goto IL_00b6;
|
|
}
|
|
}
|
|
{
|
|
// if (vj.Z > vi.Z)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_9;
|
|
float L_30 = L_29.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = V_8;
|
|
float L_32 = L_31.___Z_2;
|
|
if ((!(((float)L_30) > ((float)L_32))))
|
|
{
|
|
goto IL_00d1;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 temp = vj;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = V_9;
|
|
// vj = vi;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = V_8;
|
|
V_9 = L_34;
|
|
// vi = temp;
|
|
V_8 = L_33;
|
|
// swapped = true;
|
|
V_10 = (bool)1;
|
|
goto IL_00d1;
|
|
}
|
|
|
|
IL_00b6:
|
|
{
|
|
// else if (vj.X > vi.X)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35 = V_9;
|
|
float L_36 = L_35.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_37 = V_8;
|
|
float L_38 = L_37.___X_0;
|
|
if ((!(((float)L_36) > ((float)L_38))))
|
|
{
|
|
goto IL_00d1;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 temp = vj;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39 = V_9;
|
|
// vj = vi;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = V_8;
|
|
V_9 = L_40;
|
|
// vi = temp;
|
|
V_8 = L_39;
|
|
// swapped = true;
|
|
V_10 = (bool)1;
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// Vector3.Subtract(ref vi, ref vj, out dv);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B((&V_8), (&V_9), (&V_11), NULL);
|
|
// float d = (float)Math.Sqrt(dv.X * dv.X + dv.Z * dv.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_41 = V_11;
|
|
float L_42 = L_41.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_43 = V_11;
|
|
float L_44 = L_43.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_45 = V_11;
|
|
float L_46 = L_45.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47 = V_11;
|
|
float L_48 = L_47.___Z_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_49;
|
|
L_49 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_42, L_44)), ((float)il2cpp_codegen_multiply(L_46, L_48))))));
|
|
V_12 = ((float)L_49);
|
|
// int nn = 1 + (int)Math.Floor(d / sampleDist);
|
|
float L_50 = V_12;
|
|
float L_51 = ___2_sampleDist;
|
|
double L_52;
|
|
L_52 = floor(((double)((float)(L_50/L_51))));
|
|
V_13 = ((int32_t)il2cpp_codegen_add(1, il2cpp_codegen_cast_double_to_int<int32_t>(L_52)));
|
|
// if (nn >= MAX_VERTS_PER_EDGE)
|
|
int32_t L_53 = V_13;
|
|
if ((((int32_t)L_53) < ((int32_t)((int32_t)32))))
|
|
{
|
|
goto IL_011d;
|
|
}
|
|
}
|
|
{
|
|
// nn = MAX_VERTS_PER_EDGE - 1;
|
|
V_13 = ((int32_t)31);
|
|
}
|
|
|
|
IL_011d:
|
|
{
|
|
// if (verts.Count + nn >= MAX_VERTS)
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_54 = ___6_verts;
|
|
NullCheck(L_54);
|
|
int32_t L_55;
|
|
L_55 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_54, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
int32_t L_56 = V_13;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_55, L_56))) < ((int32_t)((int32_t)127))))
|
|
{
|
|
goto IL_0137;
|
|
}
|
|
}
|
|
{
|
|
// nn = MAX_VERTS - 1 - verts.Count;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_57 = ___6_verts;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_57, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
V_13 = ((int32_t)il2cpp_codegen_subtract(((int32_t)126), L_58));
|
|
}
|
|
|
|
IL_0137:
|
|
{
|
|
// for (int k = 0; k <= nn; k++)
|
|
V_16 = 0;
|
|
goto IL_018d;
|
|
}
|
|
|
|
IL_013c:
|
|
{
|
|
// float u = (float)k / (float)nn;
|
|
int32_t L_59 = V_16;
|
|
int32_t L_60 = V_13;
|
|
V_17 = ((float)(((float)L_59)/((float)L_60)));
|
|
// Vector3.Multiply(ref dv, u, out tmp);
|
|
float L_61 = V_17;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Multiply_m900A64E4C00A5437F53345FA29B45BD9DC720A3C((&V_11), L_61, (&V_19), NULL);
|
|
// Vector3.Add(ref vj, ref tmp, out pos);
|
|
Vector3_Add_mBE225178E91F5C8006F10FF5FE8B81D43C60EC08((&V_9), (&V_19), (&V_18), NULL);
|
|
// pos.Y = GetHeight(pos, ics, compactField.CellHeight, hp) * compactField.CellHeight;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_62 = V_18;
|
|
float L_63 = V_3;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_64 = ___4_compactField;
|
|
NullCheck(L_64);
|
|
float L_65;
|
|
L_65 = CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline(L_64, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_66 = ___5_hp;
|
|
int32_t L_67;
|
|
L_67 = PolyMeshDetail_GetHeight_m3DCD45E0C7A014EAAA43E1D07A07E56AE9DF7945(__this, L_62, L_63, L_65, L_66, NULL);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_68 = ___4_compactField;
|
|
NullCheck(L_68);
|
|
float L_69;
|
|
L_69 = CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline(L_68, NULL);
|
|
(&V_18)->___Y_1 = ((float)il2cpp_codegen_multiply(((float)L_67), L_69));
|
|
// edge[k] = pos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_70 = V_0;
|
|
int32_t L_71 = V_16;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_72 = V_18;
|
|
NullCheck(L_70);
|
|
(L_70)->SetAt(static_cast<il2cpp_array_size_t>(L_71), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_72);
|
|
// for (int k = 0; k <= nn; k++)
|
|
int32_t L_73 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_73, 1));
|
|
}
|
|
|
|
IL_018d:
|
|
{
|
|
// for (int k = 0; k <= nn; k++)
|
|
int32_t L_74 = V_16;
|
|
int32_t L_75 = V_13;
|
|
if ((((int32_t)L_74) <= ((int32_t)L_75)))
|
|
{
|
|
goto IL_013c;
|
|
}
|
|
}
|
|
{
|
|
// int[] idx = new int[MAX_VERTS_PER_EDGE];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_76 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
|
|
V_14 = L_76;
|
|
// idx[0] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_77 = V_14;
|
|
NullCheck(L_77);
|
|
(L_77)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)0);
|
|
// idx[1] = nn;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_78 = V_14;
|
|
int32_t L_79 = V_13;
|
|
NullCheck(L_78);
|
|
(L_78)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)L_79);
|
|
// int nidx = 2;
|
|
V_15 = 2;
|
|
// for (int k = 0; k < nidx - 1;)
|
|
V_20 = 0;
|
|
goto IL_0258;
|
|
}
|
|
|
|
IL_01b2:
|
|
{
|
|
// int a = idx[k];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_80 = V_14;
|
|
int32_t L_81 = V_20;
|
|
NullCheck(L_80);
|
|
int32_t L_82 = L_81;
|
|
int32_t L_83 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
|
|
V_21 = L_83;
|
|
// int b = idx[k + 1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_84 = V_14;
|
|
int32_t L_85 = V_20;
|
|
NullCheck(L_84);
|
|
int32_t L_86 = ((int32_t)il2cpp_codegen_add(L_85, 1));
|
|
int32_t L_87 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
|
|
V_22 = L_87;
|
|
// Vector3 va = edge[a];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_88 = V_0;
|
|
int32_t L_89 = V_21;
|
|
NullCheck(L_88);
|
|
int32_t L_90 = L_89;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_91 = (L_88)->GetAt(static_cast<il2cpp_array_size_t>(L_90));
|
|
V_23 = L_91;
|
|
// Vector3 vb = edge[b];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_92 = V_0;
|
|
int32_t L_93 = V_22;
|
|
NullCheck(L_92);
|
|
int32_t L_94 = L_93;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_95 = (L_92)->GetAt(static_cast<il2cpp_array_size_t>(L_94));
|
|
V_24 = L_95;
|
|
// float maxd = 0;
|
|
V_25 = (0.0f);
|
|
// int maxi = -1;
|
|
V_26 = (-1);
|
|
// for (int m = a + 1; m < b; m++)
|
|
int32_t L_96 = V_21;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_96, 1));
|
|
goto IL_020f;
|
|
}
|
|
|
|
IL_01e8:
|
|
{
|
|
// float dev = Distance.PointToSegmentSquared(ref edge[m], ref va, ref vb);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_97 = V_0;
|
|
int32_t L_98 = V_27;
|
|
NullCheck(L_97);
|
|
float L_99;
|
|
L_99 = Distance_PointToSegmentSquared_mBCB461E90C5E01507A3DB6D157B6E7E0B5473DA4(((L_97)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_98))), (&V_23), (&V_24), NULL);
|
|
V_28 = L_99;
|
|
// if (dev > maxd)
|
|
float L_100 = V_28;
|
|
float L_101 = V_25;
|
|
if ((!(((float)L_100) > ((float)L_101))))
|
|
{
|
|
goto IL_0209;
|
|
}
|
|
}
|
|
{
|
|
// maxd = dev;
|
|
float L_102 = V_28;
|
|
V_25 = L_102;
|
|
// maxi = m;
|
|
int32_t L_103 = V_27;
|
|
V_26 = L_103;
|
|
}
|
|
|
|
IL_0209:
|
|
{
|
|
// for (int m = a + 1; m < b; m++)
|
|
int32_t L_104 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_104, 1));
|
|
}
|
|
|
|
IL_020f:
|
|
{
|
|
// for (int m = a + 1; m < b; m++)
|
|
int32_t L_105 = V_27;
|
|
int32_t L_106 = V_22;
|
|
if ((((int32_t)L_105) < ((int32_t)L_106)))
|
|
{
|
|
goto IL_01e8;
|
|
}
|
|
}
|
|
{
|
|
// if (maxi != -1 && maxd > (sampleMaxError * sampleMaxError))
|
|
int32_t L_107 = V_26;
|
|
if ((((int32_t)L_107) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0252;
|
|
}
|
|
}
|
|
{
|
|
float L_108 = V_25;
|
|
float L_109 = ___3_sampleMaxError;
|
|
float L_110 = ___3_sampleMaxError;
|
|
if ((!(((float)L_108) > ((float)((float)il2cpp_codegen_multiply(L_109, L_110))))))
|
|
{
|
|
goto IL_0252;
|
|
}
|
|
}
|
|
{
|
|
// for (int m = nidx; m > k; m--)
|
|
int32_t L_111 = V_15;
|
|
V_29 = L_111;
|
|
goto IL_023b;
|
|
}
|
|
|
|
IL_0229:
|
|
{
|
|
// idx[m] = idx[m - 1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_112 = V_14;
|
|
int32_t L_113 = V_29;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_114 = V_14;
|
|
int32_t L_115 = V_29;
|
|
NullCheck(L_114);
|
|
int32_t L_116 = ((int32_t)il2cpp_codegen_subtract(L_115, 1));
|
|
int32_t L_117 = (L_114)->GetAt(static_cast<il2cpp_array_size_t>(L_116));
|
|
NullCheck(L_112);
|
|
(L_112)->SetAt(static_cast<il2cpp_array_size_t>(L_113), (int32_t)L_117);
|
|
// for (int m = nidx; m > k; m--)
|
|
int32_t L_118 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_subtract(L_118, 1));
|
|
}
|
|
|
|
IL_023b:
|
|
{
|
|
// for (int m = nidx; m > k; m--)
|
|
int32_t L_119 = V_29;
|
|
int32_t L_120 = V_20;
|
|
if ((((int32_t)L_119) > ((int32_t)L_120)))
|
|
{
|
|
goto IL_0229;
|
|
}
|
|
}
|
|
{
|
|
// idx[k + 1] = maxi;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_121 = V_14;
|
|
int32_t L_122 = V_20;
|
|
int32_t L_123 = V_26;
|
|
NullCheck(L_121);
|
|
(L_121)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_122, 1))), (int32_t)L_123);
|
|
// nidx++;
|
|
int32_t L_124 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_124, 1));
|
|
goto IL_0258;
|
|
}
|
|
|
|
IL_0252:
|
|
{
|
|
// k++;
|
|
int32_t L_125 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_125, 1));
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// for (int k = 0; k < nidx - 1;)
|
|
int32_t L_126 = V_20;
|
|
int32_t L_127 = V_15;
|
|
if ((((int32_t)L_126) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_127, 1)))))
|
|
{
|
|
goto IL_01b2;
|
|
}
|
|
}
|
|
{
|
|
// hull.Add(j);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_128 = V_1;
|
|
int32_t L_129 = V_7;
|
|
NullCheck(L_128);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_128, L_129, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (swapped)
|
|
bool L_130 = V_10;
|
|
if (!L_130)
|
|
{
|
|
goto IL_02a3;
|
|
}
|
|
}
|
|
{
|
|
// for (int k = nidx - 2; k > 0; k--)
|
|
int32_t L_131 = V_15;
|
|
V_30 = ((int32_t)il2cpp_codegen_subtract(L_131, 2));
|
|
goto IL_029c;
|
|
}
|
|
|
|
IL_0277:
|
|
{
|
|
// hull.Add(verts.Count);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_132 = V_1;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_133 = ___6_verts;
|
|
NullCheck(L_133);
|
|
int32_t L_134;
|
|
L_134 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_133, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
NullCheck(L_132);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_132, L_134, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// verts.Add(edge[idx[k]]);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_135 = ___6_verts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_136 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_137 = V_14;
|
|
int32_t L_138 = V_30;
|
|
NullCheck(L_137);
|
|
int32_t L_139 = L_138;
|
|
int32_t L_140 = (L_137)->GetAt(static_cast<il2cpp_array_size_t>(L_139));
|
|
NullCheck(L_136);
|
|
int32_t L_141 = L_140;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_142 = (L_136)->GetAt(static_cast<il2cpp_array_size_t>(L_141));
|
|
NullCheck(L_135);
|
|
List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_inline(L_135, L_142, List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_RuntimeMethod_var);
|
|
// for (int k = nidx - 2; k > 0; k--)
|
|
int32_t L_143 = V_30;
|
|
V_30 = ((int32_t)il2cpp_codegen_subtract(L_143, 1));
|
|
}
|
|
|
|
IL_029c:
|
|
{
|
|
// for (int k = nidx - 2; k > 0; k--)
|
|
int32_t L_144 = V_30;
|
|
if ((((int32_t)L_144) > ((int32_t)0)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
goto IL_02d5;
|
|
}
|
|
|
|
IL_02a3:
|
|
{
|
|
// for (int k = 1; k < nidx - 1; k++)
|
|
V_31 = 1;
|
|
goto IL_02cd;
|
|
}
|
|
|
|
IL_02a8:
|
|
{
|
|
// hull.Add(verts.Count);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_145 = V_1;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_146 = ___6_verts;
|
|
NullCheck(L_146);
|
|
int32_t L_147;
|
|
L_147 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_146, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
NullCheck(L_145);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_145, L_147, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// verts.Add(edge[idx[k]]);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_148 = ___6_verts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_149 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_150 = V_14;
|
|
int32_t L_151 = V_31;
|
|
NullCheck(L_150);
|
|
int32_t L_152 = L_151;
|
|
int32_t L_153 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
|
|
NullCheck(L_149);
|
|
int32_t L_154 = L_153;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_155 = (L_149)->GetAt(static_cast<il2cpp_array_size_t>(L_154));
|
|
NullCheck(L_148);
|
|
List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_inline(L_148, L_155, List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_RuntimeMethod_var);
|
|
// for (int k = 1; k < nidx - 1; k++)
|
|
int32_t L_156 = V_31;
|
|
V_31 = ((int32_t)il2cpp_codegen_add(L_156, 1));
|
|
}
|
|
|
|
IL_02cd:
|
|
{
|
|
// for (int k = 1; k < nidx - 1; k++)
|
|
int32_t L_157 = V_31;
|
|
int32_t L_158 = V_15;
|
|
if ((((int32_t)L_157) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_158, 1)))))
|
|
{
|
|
goto IL_02a8;
|
|
}
|
|
}
|
|
|
|
IL_02d5:
|
|
{
|
|
// for (int i = 0, j = verts.Count - 1; i < verts.Count; j = i++)
|
|
int32_t L_159 = V_6;
|
|
int32_t L_160 = L_159;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_160, 1));
|
|
V_7 = L_160;
|
|
}
|
|
|
|
IL_02de:
|
|
{
|
|
// for (int i = 0, j = verts.Count - 1; i < verts.Count; j = i++)
|
|
int32_t L_161 = V_6;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_162 = ___6_verts;
|
|
NullCheck(L_162);
|
|
int32_t L_163;
|
|
L_163 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_162, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
if ((((int32_t)L_161) < ((int32_t)L_163)))
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
|
|
IL_02ec:
|
|
{
|
|
// edges.Clear();
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_164 = ___8_edges;
|
|
NullCheck(L_164);
|
|
List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_inline(L_164, List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_RuntimeMethod_var);
|
|
// tris.Clear();
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_165 = ___7_tris;
|
|
NullCheck(L_165);
|
|
List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_inline(L_165, List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_RuntimeMethod_var);
|
|
// if (minExtent < sampleDist * 2)
|
|
float L_166 = V_4;
|
|
float L_167 = ___2_sampleDist;
|
|
if ((!(((float)L_166) < ((float)((float)il2cpp_codegen_multiply(L_167, (2.0f)))))))
|
|
{
|
|
goto IL_0311;
|
|
}
|
|
}
|
|
{
|
|
// TriangulateHull(verts, hull, tris);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_168 = ___6_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_169 = V_1;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_170 = ___7_tris;
|
|
PolyMeshDetail_TriangulateHull_mA8C820DE4FFE3F693A92012A51575B2869965241(__this, L_168, L_169, L_170, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0311:
|
|
{
|
|
// TriangulateHull(verts, hull, tris);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_171 = ___6_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_172 = V_1;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_173 = ___7_tris;
|
|
PolyMeshDetail_TriangulateHull_mA8C820DE4FFE3F693A92012A51575B2869965241(__this, L_171, L_172, L_173, NULL);
|
|
// if (tris.Count == 0)
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_174 = ___7_tris;
|
|
NullCheck(L_174);
|
|
int32_t L_175;
|
|
L_175 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_174, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
if (L_175)
|
|
{
|
|
goto IL_0330;
|
|
}
|
|
}
|
|
{
|
|
// Console.WriteLine("Can't triangulate polygon, adding default data.");
|
|
il2cpp_codegen_runtime_class_init_inline(Console_t5EDF9498D011BD48287171978EDBBA6964829C3E_il2cpp_TypeInfo_var);
|
|
Console_WriteLine_m77CEDA0C084428F0D6220988DA66992EC1925AEA(_stringLiteral8E515499DC1CCB78AADD7996F58FF33557E3FA31, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0330:
|
|
{
|
|
// if (sampleDist > 0)
|
|
float L_176 = ___2_sampleDist;
|
|
if ((!(((float)L_176) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_05e1;
|
|
}
|
|
}
|
|
{
|
|
// BBox3 bounds = new BBox3();
|
|
il2cpp_codegen_initobj((&V_32), sizeof(BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C));
|
|
// bounds.Min = polyMeshVerts[0];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_177 = ___0_polyMeshVerts;
|
|
NullCheck(L_177);
|
|
int32_t L_178 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_179 = (L_177)->GetAt(static_cast<il2cpp_array_size_t>(L_178));
|
|
(&V_32)->___Min_0 = L_179;
|
|
// bounds.Max = polyMeshVerts[0];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_180 = ___0_polyMeshVerts;
|
|
NullCheck(L_180);
|
|
int32_t L_181 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_182 = (L_180)->GetAt(static_cast<il2cpp_array_size_t>(L_181));
|
|
(&V_32)->___Max_1 = L_182;
|
|
// for (int i = 1; i < numMeshVerts; i++)
|
|
V_36 = 1;
|
|
goto IL_03a0;
|
|
}
|
|
|
|
IL_0364:
|
|
{
|
|
// Vector3Extensions.ComponentMin(ref bounds.Min, ref polyMeshVerts[i], out bounds.Min);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_183 = (&(&V_32)->___Min_0);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_184 = ___0_polyMeshVerts;
|
|
int32_t L_185 = V_36;
|
|
NullCheck(L_184);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_186 = (&(&V_32)->___Min_0);
|
|
Vector3Extensions_ComponentMin_m74282A434FB0B0FBB3EBB5C065A1B5126E806F6C(L_183, ((L_184)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_185))), L_186, NULL);
|
|
// Vector3Extensions.ComponentMax(ref bounds.Max, ref polyMeshVerts[i], out bounds.Max);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_187 = (&(&V_32)->___Max_1);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_188 = ___0_polyMeshVerts;
|
|
int32_t L_189 = V_36;
|
|
NullCheck(L_188);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_190 = (&(&V_32)->___Max_1);
|
|
Vector3Extensions_ComponentMax_mAF445BD4FE84CE16F5F32E4D9E87BB463BC782CD(L_187, ((L_188)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_189))), L_190, NULL);
|
|
// for (int i = 1; i < numMeshVerts; i++)
|
|
int32_t L_191 = V_36;
|
|
V_36 = ((int32_t)il2cpp_codegen_add(L_191, 1));
|
|
}
|
|
|
|
IL_03a0:
|
|
{
|
|
// for (int i = 1; i < numMeshVerts; i++)
|
|
int32_t L_192 = V_36;
|
|
int32_t L_193 = ___1_numMeshVerts;
|
|
if ((((int32_t)L_192) < ((int32_t)L_193)))
|
|
{
|
|
goto IL_0364;
|
|
}
|
|
}
|
|
{
|
|
// int x0 = (int)Math.Floor(bounds.Min.X / sampleDist);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_194 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_195 = L_194.___Min_0;
|
|
float L_196 = L_195.___X_0;
|
|
float L_197 = ___2_sampleDist;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_198;
|
|
L_198 = floor(((double)((float)(L_196/L_197))));
|
|
V_33 = il2cpp_codegen_cast_double_to_int<int32_t>(L_198);
|
|
// int x1 = (int)Math.Ceiling(bounds.Max.X / sampleDist);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_199 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_200 = L_199.___Max_1;
|
|
float L_201 = L_200.___X_0;
|
|
float L_202 = ___2_sampleDist;
|
|
double L_203;
|
|
L_203 = ceil(((double)((float)(L_201/L_202))));
|
|
V_34 = il2cpp_codegen_cast_double_to_int<int32_t>(L_203);
|
|
// int z0 = (int)Math.Floor(bounds.Min.Z / sampleDist);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_204 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_205 = L_204.___Min_0;
|
|
float L_206 = L_205.___Z_2;
|
|
float L_207 = ___2_sampleDist;
|
|
double L_208;
|
|
L_208 = floor(((double)((float)(L_206/L_207))));
|
|
// int z1 = (int)Math.Ceiling(bounds.Max.Z / sampleDist);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_209 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_210 = L_209.___Max_1;
|
|
float L_211 = L_210.___Z_2;
|
|
float L_212 = ___2_sampleDist;
|
|
double L_213;
|
|
L_213 = ceil(((double)((float)(L_211/L_212))));
|
|
V_35 = il2cpp_codegen_cast_double_to_int<int32_t>(L_213);
|
|
// samples.Clear();
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_214 = ___9_samples;
|
|
NullCheck(L_214);
|
|
List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_inline(L_214, List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_RuntimeMethod_var);
|
|
// for (int z = z0; z < z1; z++)
|
|
V_37 = il2cpp_codegen_cast_double_to_int<int32_t>(L_208);
|
|
goto IL_048f;
|
|
}
|
|
|
|
IL_040d:
|
|
{
|
|
// for (int x = x0; x < x1; x++)
|
|
int32_t L_215 = V_33;
|
|
V_38 = L_215;
|
|
goto IL_0483;
|
|
}
|
|
|
|
IL_0413:
|
|
{
|
|
// Vector3 pt = new Vector3(x * sampleDist, (bounds.Max.Y + bounds.Min.Y) * 0.5f, z * sampleDist);
|
|
int32_t L_216 = V_38;
|
|
float L_217 = ___2_sampleDist;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_218 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_219 = L_218.___Max_1;
|
|
float L_220 = L_219.___Y_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_221 = V_32;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_222 = L_221.___Min_0;
|
|
float L_223 = L_222.___Y_1;
|
|
int32_t L_224 = V_37;
|
|
float L_225 = ___2_sampleDist;
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_39), ((float)il2cpp_codegen_multiply(((float)L_216), L_217)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_220, L_223)), (0.5f))), ((float)il2cpp_codegen_multiply(((float)L_224), L_225)), NULL);
|
|
// if (Distance.PointToPolygonSquared(pt, polyMeshVerts, numMeshVerts) > -sampleDist * 0.5f)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_226 = V_39;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_227 = ___0_polyMeshVerts;
|
|
int32_t L_228 = ___1_numMeshVerts;
|
|
float L_229;
|
|
L_229 = Distance_PointToPolygonSquared_mE1CAF292BE6EC518039DBBD1B8911384299BC67B(L_226, L_227, L_228, NULL);
|
|
float L_230 = ___2_sampleDist;
|
|
if ((((float)L_229) > ((float)((float)il2cpp_codegen_multiply(((-L_230)), (0.5f))))))
|
|
{
|
|
goto IL_047d;
|
|
}
|
|
}
|
|
{
|
|
// SamplingData sd = new SamplingData(x, GetHeight(pt, ics, compactField.CellHeight, hp), z, false);
|
|
int32_t L_231 = V_38;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_232 = V_39;
|
|
float L_233 = V_3;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_234 = ___4_compactField;
|
|
NullCheck(L_234);
|
|
float L_235;
|
|
L_235 = CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline(L_234, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_236 = ___5_hp;
|
|
int32_t L_237;
|
|
L_237 = PolyMeshDetail_GetHeight_m3DCD45E0C7A014EAAA43E1D07A07E56AE9DF7945(__this, L_232, L_233, L_235, L_236, NULL);
|
|
int32_t L_238 = V_37;
|
|
SamplingData__ctor_mA474DBE80B76EE56EE44C73FB77A6BF0B2938C7C((&V_40), L_231, L_237, L_238, (bool)0, NULL);
|
|
// samples.Add(sd);
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_239 = ___9_samples;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_240 = V_40;
|
|
NullCheck(L_239);
|
|
List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_inline(L_239, L_240, List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_047d:
|
|
{
|
|
// for (int x = x0; x < x1; x++)
|
|
int32_t L_241 = V_38;
|
|
V_38 = ((int32_t)il2cpp_codegen_add(L_241, 1));
|
|
}
|
|
|
|
IL_0483:
|
|
{
|
|
// for (int x = x0; x < x1; x++)
|
|
int32_t L_242 = V_38;
|
|
int32_t L_243 = V_34;
|
|
if ((((int32_t)L_242) < ((int32_t)L_243)))
|
|
{
|
|
goto IL_0413;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = z0; z < z1; z++)
|
|
int32_t L_244 = V_37;
|
|
V_37 = ((int32_t)il2cpp_codegen_add(L_244, 1));
|
|
}
|
|
|
|
IL_048f:
|
|
{
|
|
// for (int z = z0; z < z1; z++)
|
|
int32_t L_245 = V_37;
|
|
int32_t L_246 = V_35;
|
|
if ((((int32_t)L_245) < ((int32_t)L_246)))
|
|
{
|
|
goto IL_040d;
|
|
}
|
|
}
|
|
{
|
|
// for (int iter = 0; iter < samples.Count; iter++)
|
|
V_41 = 0;
|
|
goto IL_05d3;
|
|
}
|
|
|
|
IL_04a0:
|
|
{
|
|
// if (verts.Count >= MAX_VERTS)
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_247 = ___6_verts;
|
|
NullCheck(L_247);
|
|
int32_t L_248;
|
|
L_248 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_247, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
if ((((int32_t)L_248) >= ((int32_t)((int32_t)127))))
|
|
{
|
|
goto IL_05e1;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 bestPt = Vector3.Zero;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_249 = ((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___Zero_6;
|
|
V_42 = L_249;
|
|
// float bestDistance = 0;
|
|
V_43 = (0.0f);
|
|
// int bestIndex = -1;
|
|
V_44 = (-1);
|
|
// for (int i = 0; i < samples.Count; i++)
|
|
V_46 = 0;
|
|
goto IL_0572;
|
|
}
|
|
|
|
IL_04c7:
|
|
{
|
|
// SamplingData sd = samples[i];
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_250 = ___9_samples;
|
|
int32_t L_251 = V_46;
|
|
NullCheck(L_250);
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_252;
|
|
L_252 = List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25(L_250, L_251, List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25_RuntimeMethod_var);
|
|
V_47 = L_252;
|
|
// if (sd.IsSampled)
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_253 = V_47;
|
|
bool L_254 = L_253.___IsSampled_3;
|
|
if (L_254)
|
|
{
|
|
goto IL_056c;
|
|
}
|
|
}
|
|
{
|
|
// pt.X = sd.X * sampleDist + GetJitterX(i) * compactField.CellSize * 0.1f;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_255 = V_47;
|
|
int32_t L_256 = L_255.___X_0;
|
|
float L_257 = ___2_sampleDist;
|
|
int32_t L_258 = V_46;
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
float L_259;
|
|
L_259 = PolyMeshDetail_GetJitterX_m462D0C86AB5C470FC1EAC03838624D4621D0383E(L_258, NULL);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_260 = ___4_compactField;
|
|
NullCheck(L_260);
|
|
float L_261;
|
|
L_261 = CompactHeightfield_get_CellSize_mDA6E6900AF35EB4311B4817B86A9250D7D28D8DC_inline(L_260, NULL);
|
|
(&V_48)->___X_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)L_256), L_257)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_259, L_261)), (0.100000001f)))));
|
|
// pt.Y = sd.Y * compactField.CellHeight;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_262 = V_47;
|
|
int32_t L_263 = L_262.___Y_1;
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_264 = ___4_compactField;
|
|
NullCheck(L_264);
|
|
float L_265;
|
|
L_265 = CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline(L_264, NULL);
|
|
(&V_48)->___Y_1 = ((float)il2cpp_codegen_multiply(((float)L_263), L_265));
|
|
// pt.Z = sd.Z * sampleDist + GetJitterY(i) * compactField.CellSize * 0.1f;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_266 = V_47;
|
|
int32_t L_267 = L_266.___Z_2;
|
|
float L_268 = ___2_sampleDist;
|
|
int32_t L_269 = V_46;
|
|
float L_270;
|
|
L_270 = PolyMeshDetail_GetJitterY_m289F4D49FA3615C5CAAD3F5D30CE9DDF462ED0D5(L_269, NULL);
|
|
CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* L_271 = ___4_compactField;
|
|
NullCheck(L_271);
|
|
float L_272;
|
|
L_272 = CompactHeightfield_get_CellSize_mDA6E6900AF35EB4311B4817B86A9250D7D28D8DC_inline(L_271, NULL);
|
|
(&V_48)->___Z_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)L_267), L_268)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_270, L_272)), (0.100000001f)))));
|
|
// float d = DistanceToTriMesh(pt, verts, tris);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_273 = V_48;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_274 = ___6_verts;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_275 = ___7_tris;
|
|
float L_276;
|
|
L_276 = PolyMeshDetail_DistanceToTriMesh_m0A85B68EC27A0F79FABE0744332FA4B5CBBA8022(__this, L_273, L_274, L_275, NULL);
|
|
V_49 = L_276;
|
|
// if (d < 0)
|
|
float L_277 = V_49;
|
|
if ((((float)L_277) < ((float)(0.0f))))
|
|
{
|
|
goto IL_056c;
|
|
}
|
|
}
|
|
{
|
|
// if (d > bestDistance)
|
|
float L_278 = V_49;
|
|
float L_279 = V_43;
|
|
if ((!(((float)L_278) > ((float)L_279))))
|
|
{
|
|
goto IL_056c;
|
|
}
|
|
}
|
|
{
|
|
// bestDistance = d;
|
|
float L_280 = V_49;
|
|
V_43 = L_280;
|
|
// bestIndex = i;
|
|
int32_t L_281 = V_46;
|
|
V_44 = L_281;
|
|
// bestPt = pt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_282 = V_48;
|
|
V_42 = L_282;
|
|
}
|
|
|
|
IL_056c:
|
|
{
|
|
// for (int i = 0; i < samples.Count; i++)
|
|
int32_t L_283 = V_46;
|
|
V_46 = ((int32_t)il2cpp_codegen_add(L_283, 1));
|
|
}
|
|
|
|
IL_0572:
|
|
{
|
|
// for (int i = 0; i < samples.Count; i++)
|
|
int32_t L_284 = V_46;
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_285 = ___9_samples;
|
|
NullCheck(L_285);
|
|
int32_t L_286;
|
|
L_286 = List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_inline(L_285, List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_RuntimeMethod_var);
|
|
if ((((int32_t)L_284) < ((int32_t)L_286)))
|
|
{
|
|
goto IL_04c7;
|
|
}
|
|
}
|
|
{
|
|
// if (bestDistance <= sampleMaxError || bestIndex == -1)
|
|
float L_287 = V_43;
|
|
float L_288 = ___3_sampleMaxError;
|
|
if ((((float)L_287) <= ((float)L_288)))
|
|
{
|
|
goto IL_05e1;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_289 = V_44;
|
|
if ((((int32_t)L_289) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_05e1;
|
|
}
|
|
}
|
|
{
|
|
// SamplingData bsd = samples[bestIndex];
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_290 = ___9_samples;
|
|
int32_t L_291 = V_44;
|
|
NullCheck(L_290);
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_292;
|
|
L_292 = List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25(L_290, L_291, List_1_get_Item_mE30ACEA2DD09C92B42A1A91698F471ADC1B39B25_RuntimeMethod_var);
|
|
V_45 = L_292;
|
|
// bsd.IsSampled = true;
|
|
(&V_45)->___IsSampled_3 = (bool)1;
|
|
// samples[bestIndex] = bsd;
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_293 = ___9_samples;
|
|
int32_t L_294 = V_44;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_295 = V_45;
|
|
NullCheck(L_293);
|
|
List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D(L_293, L_294, L_295, List_1_set_Item_mEAD33906AF1AEDF175DAE8E5AE81F861F4B1054D_RuntimeMethod_var);
|
|
// verts.Add(bestPt);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_296 = ___6_verts;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_297 = V_42;
|
|
NullCheck(L_296);
|
|
List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_inline(L_296, L_297, List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_RuntimeMethod_var);
|
|
// edges.Clear();
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_298 = ___8_edges;
|
|
NullCheck(L_298);
|
|
List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_inline(L_298, List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_RuntimeMethod_var);
|
|
// tris.Clear();
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_299 = ___7_tris;
|
|
NullCheck(L_299);
|
|
List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_inline(L_299, List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_RuntimeMethod_var);
|
|
// DelaunayHull(verts, hull, tris, edges);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_300 = ___6_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_301 = V_1;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_302 = ___7_tris;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_303 = ___8_edges;
|
|
PolyMeshDetail_DelaunayHull_m6098C757B97EB30654803CCB328A74E064CDA514(__this, L_300, L_301, L_302, L_303, NULL);
|
|
// for (int iter = 0; iter < samples.Count; iter++)
|
|
int32_t L_304 = V_41;
|
|
V_41 = ((int32_t)il2cpp_codegen_add(L_304, 1));
|
|
}
|
|
|
|
IL_05d3:
|
|
{
|
|
// for (int iter = 0; iter < samples.Count; iter++)
|
|
int32_t L_305 = V_41;
|
|
List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* L_306 = ___9_samples;
|
|
NullCheck(L_306);
|
|
int32_t L_307;
|
|
L_307 = List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_inline(L_306, List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_RuntimeMethod_var);
|
|
if ((((int32_t)L_305) < ((int32_t)L_307)))
|
|
{
|
|
goto IL_04a0;
|
|
}
|
|
}
|
|
|
|
IL_05e1:
|
|
{
|
|
// int ntris = tris.Count;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_308 = ___7_tris;
|
|
NullCheck(L_308);
|
|
int32_t L_309;
|
|
L_309 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_308, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
// if (ntris > MAX_TRIS)
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::GetHeight(SharpNav.Geometry.Vector3,System.Single,System.Single,SharpNav.HeightPatch)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_GetHeight_m3DCD45E0C7A014EAAA43E1D07A07E56AE9DF7945 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_loc, float ___1_invCellSize, float ___2_cellHeight, HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* ___3_hp, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_tC9E5EE95B9D6A7499EECF71A1A7C49FEEB5A2BC5____20BA2A5A9B0F14A09F1041D9777D4939DEE4A99BCD886EAF042AFA8F88FE4EAC_0_FieldInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_3 = NULL;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
float V_9 = 0.0f;
|
|
{
|
|
// int ix = (int)Math.Floor(loc.X * invCellSize + 0.01f);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_loc;
|
|
float L_1 = L_0.___X_0;
|
|
float L_2 = ___1_invCellSize;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_3;
|
|
L_3 = floor(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_2)), (0.00999999978f)))));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_3);
|
|
// int iz = (int)Math.Floor(loc.Z * invCellSize + 0.01f);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_loc;
|
|
float L_5 = L_4.___Z_2;
|
|
float L_6 = ___1_invCellSize;
|
|
double L_7;
|
|
L_7 = floor(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_5, L_6)), (0.00999999978f)))));
|
|
V_1 = il2cpp_codegen_cast_double_to_int<int32_t>(L_7);
|
|
// ix = MathHelper.Clamp(ix - hp.X, 0, hp.Width - 1);
|
|
int32_t L_8 = V_0;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_9 = ___3_hp;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline(L_9, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_11 = ___3_hp;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_11, NULL);
|
|
int32_t L_13;
|
|
L_13 = MathHelper_Clamp_mCA54969185976817ACC9C60D3C06999EB585305E(((int32_t)il2cpp_codegen_subtract(L_8, L_10)), 0, ((int32_t)il2cpp_codegen_subtract(L_12, 1)), NULL);
|
|
V_0 = L_13;
|
|
// iz = MathHelper.Clamp(iz - hp.Y, 0, hp.Length - 1);
|
|
int32_t L_14 = V_1;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_15 = ___3_hp;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline(L_15, NULL);
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_17 = ___3_hp;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline(L_17, NULL);
|
|
int32_t L_19;
|
|
L_19 = MathHelper_Clamp_mCA54969185976817ACC9C60D3C06999EB585305E(((int32_t)il2cpp_codegen_subtract(L_14, L_16)), 0, ((int32_t)il2cpp_codegen_subtract(L_18, 1)), NULL);
|
|
V_1 = L_19;
|
|
// if (!hp.TryGetHeight(ix, iz, out h))
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_20 = ___3_hp;
|
|
int32_t L_21 = V_0;
|
|
int32_t L_22 = V_1;
|
|
NullCheck(L_20);
|
|
bool L_23;
|
|
L_23 = HeightPatch_TryGetHeight_m322E48BDE03DFEB6BFB806479FF8684AD457B011(L_20, L_21, L_22, (&V_2), NULL);
|
|
if (L_23)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
// int[] off =
|
|
// {
|
|
// -1, 0,
|
|
// -1, -1,
|
|
// 0, -1,
|
|
// 1, -1,
|
|
// 1, 0,
|
|
// 1, 1,
|
|
// 0, 1,
|
|
// -1, 1
|
|
// };
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_24 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_25 = L_24;
|
|
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_26 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tC9E5EE95B9D6A7499EECF71A1A7C49FEEB5A2BC5____20BA2A5A9B0F14A09F1041D9777D4939DEE4A99BCD886EAF042AFA8F88FE4EAC_0_FieldInfo_var) };
|
|
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_25, L_26, NULL);
|
|
V_3 = L_25;
|
|
// float dmin = float.MaxValue;
|
|
V_4 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < 8; i++)
|
|
V_5 = 0;
|
|
goto IL_00f8;
|
|
}
|
|
|
|
IL_008d:
|
|
{
|
|
// int nx = ix + off[i * 2 + 0];
|
|
int32_t L_27 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_28 = V_3;
|
|
int32_t L_29 = V_5;
|
|
NullCheck(L_28);
|
|
int32_t L_30 = ((int32_t)il2cpp_codegen_multiply(L_29, 2));
|
|
int32_t L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_27, L_31));
|
|
// int nz = iz + off[i * 2 + 1];
|
|
int32_t L_32 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_33 = V_3;
|
|
int32_t L_34 = V_5;
|
|
NullCheck(L_33);
|
|
int32_t L_35 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_34, 2)), 1));
|
|
int32_t L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_32, L_36));
|
|
// if (nx < 0 || nz < 0 || nx >= hp.Width || nz >= hp.Length)
|
|
int32_t L_37 = V_6;
|
|
if ((((int32_t)L_37) < ((int32_t)0)))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_38 = V_7;
|
|
if ((((int32_t)L_38) < ((int32_t)0)))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_39 = V_6;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_40 = ___3_hp;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline(L_40, NULL);
|
|
if ((((int32_t)L_39) >= ((int32_t)L_41)))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_42 = V_7;
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_43 = ___3_hp;
|
|
NullCheck(L_43);
|
|
int32_t L_44;
|
|
L_44 = HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline(L_43, NULL);
|
|
if ((((int32_t)L_42) >= ((int32_t)L_44)))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
// if (!hp.TryGetHeight(nx, nz, out nh))
|
|
HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* L_45 = ___3_hp;
|
|
int32_t L_46 = V_6;
|
|
int32_t L_47 = V_7;
|
|
NullCheck(L_45);
|
|
bool L_48;
|
|
L_48 = HeightPatch_TryGetHeight_m322E48BDE03DFEB6BFB806479FF8684AD457B011(L_45, L_46, L_47, (&V_8), NULL);
|
|
if (!L_48)
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
// float d = Math.Abs(nh * cellHeight - loc.Y);
|
|
int32_t L_49 = V_8;
|
|
float L_50 = ___2_cellHeight;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_51 = ___0_loc;
|
|
float L_52 = L_51.___Y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_53;
|
|
L_53 = fabsf(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(((float)L_49), L_50)), L_52)));
|
|
V_9 = L_53;
|
|
// if (d < dmin)
|
|
float L_54 = V_9;
|
|
float L_55 = V_4;
|
|
if ((!(((float)L_54) < ((float)L_55))))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
// h = nh;
|
|
int32_t L_56 = V_8;
|
|
V_2 = L_56;
|
|
// dmin = d;
|
|
float L_57 = V_9;
|
|
V_4 = L_57;
|
|
}
|
|
|
|
IL_00f2:
|
|
{
|
|
// for (int i = 0; i < 8; i++)
|
|
int32_t L_58 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_58, 1));
|
|
}
|
|
|
|
IL_00f8:
|
|
{
|
|
// for (int i = 0; i < 8; i++)
|
|
int32_t L_59 = V_5;
|
|
if ((((int32_t)L_59) < ((int32_t)8)))
|
|
{
|
|
goto IL_008d;
|
|
}
|
|
}
|
|
|
|
IL_00fd:
|
|
{
|
|
// return h;
|
|
int32_t L_60 = V_2;
|
|
return L_60;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::Prev(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_Prev_mB213F510885DC70BB0F795D1CFC6F1BAED3CB281 (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return i - 1 >= 0 ? i - 1 : n - 1;
|
|
int32_t L_0 = ___0_i;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_0, 1))) >= ((int32_t)0)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___1_n;
|
|
return ((int32_t)il2cpp_codegen_subtract(L_1, 1));
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_2 = ___0_i;
|
|
return ((int32_t)il2cpp_codegen_subtract(L_2, 1));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::Next(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_Next_mFD4C2E518B69FFB3BF6A8A18F93116FE941B8373 (int32_t ___0_i, int32_t ___1_n, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return i + 1 < n ? i + 1 : 0;
|
|
int32_t L_0 = ___0_i;
|
|
int32_t L_1 = ___1_n;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_0, 1))) < ((int32_t)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_2 = ___0_i;
|
|
return ((int32_t)il2cpp_codegen_add(L_2, 1));
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::TriangulateHull(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_TriangulateHull_mA8C820DE4FFE3F693A92012A51575B2869965241 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_hull, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___2_tris, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
float V_3 = 0.0f;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
float V_18 = 0.0f;
|
|
float V_19 = 0.0f;
|
|
{
|
|
// int start = 0, left = 1, right = hull.Count - 1;
|
|
V_0 = 0;
|
|
// int start = 0, left = 1, right = hull.Count - 1;
|
|
V_1 = 1;
|
|
// int start = 0, left = 1, right = hull.Count - 1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_0 = ___1_hull;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_0, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_1, 1));
|
|
// float dmin = 0;
|
|
V_3 = (0.0f);
|
|
// for (int i = 0; i < hull.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_00bd;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// int pi = Prev(i, hull.Count);
|
|
int32_t L_2 = V_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_3 = ___1_hull;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_3, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
int32_t L_5;
|
|
L_5 = PolyMeshDetail_Prev_mB213F510885DC70BB0F795D1CFC6F1BAED3CB281(L_2, L_4, NULL);
|
|
V_5 = L_5;
|
|
// int ni = Next(i, hull.Count);
|
|
int32_t L_6 = V_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_7 = ___1_hull;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_7, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
int32_t L_9;
|
|
L_9 = PolyMeshDetail_Next_mFD4C2E518B69FFB3BF6A8A18F93116FE941B8373(L_6, L_8, NULL);
|
|
V_6 = L_9;
|
|
// Vector3 pv = pts[hull[pi]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_10 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = ___1_hull;
|
|
int32_t L_12 = V_5;
|
|
NullCheck(L_11);
|
|
int32_t L_13;
|
|
L_13 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_11, L_12, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_10);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14;
|
|
L_14 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_10, L_13, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_7 = L_14;
|
|
// Vector3 cv = pts[hull[i]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_15 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_16 = ___1_hull;
|
|
int32_t L_17 = V_4;
|
|
NullCheck(L_16);
|
|
int32_t L_18;
|
|
L_18 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_16, L_17, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19;
|
|
L_19 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_15, L_18, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_8 = L_19;
|
|
// Vector3 nv = pts[hull[ni]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_20 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = ___1_hull;
|
|
int32_t L_22 = V_6;
|
|
NullCheck(L_21);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_21, L_22, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24;
|
|
L_24 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_20, L_23, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_9 = L_24;
|
|
// float d = 0;
|
|
V_10 = (0.0f);
|
|
// Vector3Extensions.Distance2D(ref pv, ref cv, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_7), (&V_8), (&V_11), NULL);
|
|
// d += dtmp;
|
|
float L_25 = V_10;
|
|
float L_26 = V_11;
|
|
V_10 = ((float)il2cpp_codegen_add(L_25, L_26));
|
|
// Vector3Extensions.Distance2D(ref cv, ref nv, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_8), (&V_9), (&V_11), NULL);
|
|
// d += dtmp;
|
|
float L_27 = V_10;
|
|
float L_28 = V_11;
|
|
V_10 = ((float)il2cpp_codegen_add(L_27, L_28));
|
|
// Vector3Extensions.Distance2D(ref nv, ref pv, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_9), (&V_7), (&V_11), NULL);
|
|
// d += dtmp;
|
|
float L_29 = V_10;
|
|
float L_30 = V_11;
|
|
V_10 = ((float)il2cpp_codegen_add(L_29, L_30));
|
|
// if (d < dmin)
|
|
float L_31 = V_10;
|
|
float L_32 = V_3;
|
|
if ((!(((float)L_31) < ((float)L_32))))
|
|
{
|
|
goto IL_00b7;
|
|
}
|
|
}
|
|
{
|
|
// start = i;
|
|
int32_t L_33 = V_4;
|
|
V_0 = L_33;
|
|
// left = ni;
|
|
int32_t L_34 = V_6;
|
|
V_1 = L_34;
|
|
// right = pi;
|
|
int32_t L_35 = V_5;
|
|
V_2 = L_35;
|
|
// dmin = d;
|
|
float L_36 = V_10;
|
|
V_3 = L_36;
|
|
}
|
|
|
|
IL_00b7:
|
|
{
|
|
// for (int i = 0; i < hull.Count; i++)
|
|
int32_t L_37 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// for (int i = 0; i < hull.Count; i++)
|
|
int32_t L_38 = V_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = ___1_hull;
|
|
NullCheck(L_39);
|
|
int32_t L_40;
|
|
L_40 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_39, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_38) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(new TriangleData(hull[start], hull[left], hull[right], 0));
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_41 = ___2_tris;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_42 = ___1_hull;
|
|
int32_t L_43 = V_0;
|
|
NullCheck(L_42);
|
|
int32_t L_44;
|
|
L_44 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_42, L_43, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_45 = ___1_hull;
|
|
int32_t L_46 = V_1;
|
|
NullCheck(L_45);
|
|
int32_t L_47;
|
|
L_47 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_45, L_46, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_48 = ___1_hull;
|
|
int32_t L_49 = V_2;
|
|
NullCheck(L_48);
|
|
int32_t L_50;
|
|
L_50 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_48, L_49, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_51;
|
|
memset((&L_51), 0, sizeof(L_51));
|
|
TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C((&L_51), L_44, L_47, L_50, 0, /*hidden argument*/NULL);
|
|
NullCheck(L_41);
|
|
List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_inline(L_41, L_51, List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
goto IL_01e6;
|
|
}
|
|
|
|
IL_00f0:
|
|
{
|
|
// int nleft = Next(left, hull.Count);
|
|
int32_t L_52 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_53 = ___1_hull;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_53, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
int32_t L_55;
|
|
L_55 = PolyMeshDetail_Next_mFD4C2E518B69FFB3BF6A8A18F93116FE941B8373(L_52, L_54, NULL);
|
|
V_12 = L_55;
|
|
// int nright = Prev(right, hull.Count);
|
|
int32_t L_56 = V_2;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_57 = ___1_hull;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_57, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
int32_t L_59;
|
|
L_59 = PolyMeshDetail_Prev_mB213F510885DC70BB0F795D1CFC6F1BAED3CB281(L_56, L_58, NULL);
|
|
V_13 = L_59;
|
|
// Vector3 cvleft = pts[hull[left]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_60 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_61 = ___1_hull;
|
|
int32_t L_62 = V_1;
|
|
NullCheck(L_61);
|
|
int32_t L_63;
|
|
L_63 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_61, L_62, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_60);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_64;
|
|
L_64 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_60, L_63, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_14 = L_64;
|
|
// Vector3 nvleft = pts[hull[nleft]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_65 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_66 = ___1_hull;
|
|
int32_t L_67 = V_12;
|
|
NullCheck(L_66);
|
|
int32_t L_68;
|
|
L_68 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_66, L_67, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_65);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_69;
|
|
L_69 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_65, L_68, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_15 = L_69;
|
|
// Vector3 cvright = pts[hull[right]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_70 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_71 = ___1_hull;
|
|
int32_t L_72 = V_2;
|
|
NullCheck(L_71);
|
|
int32_t L_73;
|
|
L_73 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_71, L_72, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_70);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_74;
|
|
L_74 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_70, L_73, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_16 = L_74;
|
|
// Vector3 nvright = pts[hull[nright]];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_75 = ___0_pts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_76 = ___1_hull;
|
|
int32_t L_77 = V_13;
|
|
NullCheck(L_76);
|
|
int32_t L_78;
|
|
L_78 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_76, L_77, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_75);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_79;
|
|
L_79 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_75, L_78, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_17 = L_79;
|
|
// float dleft = 0, dright = 0;
|
|
// float dleft = 0, dright = 0;
|
|
V_18 = (0.0f);
|
|
// Vector3Extensions.Distance2D(ref cvleft, ref nvleft, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_14), (&V_15), (&V_19), NULL);
|
|
// dleft += dtmp;
|
|
float L_80 = V_19;
|
|
// Vector3Extensions.Distance2D(ref nvleft, ref cvright, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_15), (&V_16), (&V_19), NULL);
|
|
// dleft += dtmp;
|
|
float L_81 = V_19;
|
|
// Vector3Extensions.Distance2D(ref cvright, ref nvright, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_16), (&V_17), (&V_19), NULL);
|
|
// dright += dtmp;
|
|
float L_82 = V_18;
|
|
float L_83 = V_19;
|
|
V_18 = ((float)il2cpp_codegen_add(L_82, L_83));
|
|
// Vector3Extensions.Distance2D(ref cvleft, ref nvright, out dtmp);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&V_14), (&V_17), (&V_19), NULL);
|
|
// dright += dtmp;
|
|
float L_84 = V_18;
|
|
float L_85 = V_19;
|
|
V_18 = ((float)il2cpp_codegen_add(L_84, L_85));
|
|
// if (dleft < dright)
|
|
float L_86 = V_18;
|
|
if ((!(((float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add((0.0f), L_80)), L_81))) < ((float)L_86))))
|
|
{
|
|
goto IL_01c1;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(new TriangleData(hull[left], hull[nleft], hull[right], 0));
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_87 = ___2_tris;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_88 = ___1_hull;
|
|
int32_t L_89 = V_1;
|
|
NullCheck(L_88);
|
|
int32_t L_90;
|
|
L_90 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_88, L_89, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_91 = ___1_hull;
|
|
int32_t L_92 = V_12;
|
|
NullCheck(L_91);
|
|
int32_t L_93;
|
|
L_93 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_91, L_92, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_94 = ___1_hull;
|
|
int32_t L_95 = V_2;
|
|
NullCheck(L_94);
|
|
int32_t L_96;
|
|
L_96 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_94, L_95, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_97;
|
|
memset((&L_97), 0, sizeof(L_97));
|
|
TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C((&L_97), L_90, L_93, L_96, 0, /*hidden argument*/NULL);
|
|
NullCheck(L_87);
|
|
List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_inline(L_87, L_97, List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
// left = nleft;
|
|
int32_t L_98 = V_12;
|
|
V_1 = L_98;
|
|
goto IL_01e6;
|
|
}
|
|
|
|
IL_01c1:
|
|
{
|
|
// tris.Add(new TriangleData(hull[left], hull[nright], hull[right], 0));
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_99 = ___2_tris;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_100 = ___1_hull;
|
|
int32_t L_101 = V_1;
|
|
NullCheck(L_100);
|
|
int32_t L_102;
|
|
L_102 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_100, L_101, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_103 = ___1_hull;
|
|
int32_t L_104 = V_13;
|
|
NullCheck(L_103);
|
|
int32_t L_105;
|
|
L_105 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_103, L_104, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_106 = ___1_hull;
|
|
int32_t L_107 = V_2;
|
|
NullCheck(L_106);
|
|
int32_t L_108;
|
|
L_108 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_106, L_107, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_109;
|
|
memset((&L_109), 0, sizeof(L_109));
|
|
TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C((&L_109), L_102, L_105, L_108, 0, /*hidden argument*/NULL);
|
|
NullCheck(L_99);
|
|
List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_inline(L_99, L_109, List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
// right = nright;
|
|
int32_t L_110 = V_13;
|
|
V_2 = L_110;
|
|
}
|
|
|
|
IL_01e6:
|
|
{
|
|
// while (Next(left, hull.Count) != right)
|
|
int32_t L_111 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_112 = ___1_hull;
|
|
NullCheck(L_112);
|
|
int32_t L_113;
|
|
L_113 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_112, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
int32_t L_114;
|
|
L_114 = PolyMeshDetail_Next_mFD4C2E518B69FFB3BF6A8A18F93116FE941B8373(L_111, L_113, NULL);
|
|
int32_t L_115 = V_2;
|
|
if ((!(((uint32_t)L_114) == ((uint32_t)L_115))))
|
|
{
|
|
goto IL_00f0;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::DelaunayHull(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_DelaunayHull_m6098C757B97EB30654803CCB328A74E064CDA514 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_hull, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___2_tris, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___3_edges, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Console_t5EDF9498D011BD48287171978EDBBA6964829C3E_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3A905720095043D99FC746A13C7FC347A22B4E7A);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
int32_t V_9 = 0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
{
|
|
// int nfaces = 0;
|
|
V_0 = 0;
|
|
// edges.Clear();
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_0 = ___3_edges;
|
|
NullCheck(L_0);
|
|
List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_inline(L_0, List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_RuntimeMethod_var);
|
|
// for (int i = 0, j = hull.Count - 1; i < hull.Count; j = i++)
|
|
V_1 = 0;
|
|
// for (int i = 0, j = hull.Count - 1; i < hull.Count; j = i++)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_1 = ___1_hull;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_1, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_2, 1));
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// AddEdge(edges, hull[j], hull[i], (int)EdgeValues.Hull, (int)EdgeValues.Undefined);
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_3 = ___3_edges;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_4 = ___1_hull;
|
|
int32_t L_5 = V_2;
|
|
NullCheck(L_4);
|
|
int32_t L_6;
|
|
L_6 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_4, L_5, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_7 = ___1_hull;
|
|
int32_t L_8 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_9;
|
|
L_9 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_7, L_8, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_10;
|
|
L_10 = PolyMeshDetail_AddEdge_m4D2967D57572993D6BD26B93204D8C23A0423267(__this, L_3, L_6, L_9, ((int32_t)-2), (-1), NULL);
|
|
// for (int i = 0, j = hull.Count - 1; i < hull.Count; j = i++)
|
|
int32_t L_11 = V_1;
|
|
int32_t L_12 = L_11;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
V_2 = L_12;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// for (int i = 0, j = hull.Count - 1; i < hull.Count; j = i++)
|
|
int32_t L_13 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_14 = ___1_hull;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_14, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_13) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_3 = 0;
|
|
goto IL_007f;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// if (edges[i].LeftFace == (int)EdgeValues.Undefined)
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_16 = ___3_edges;
|
|
int32_t L_17 = V_3;
|
|
NullCheck(L_16);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_18;
|
|
L_18 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_16, L_17, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
int32_t L_19 = L_18.___LeftFace_3;
|
|
if ((!(((uint32_t)L_19) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// CompleteFacet(pts, edges, ref nfaces, i);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_20 = ___0_pts;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_21 = ___3_edges;
|
|
int32_t L_22 = V_3;
|
|
PolyMeshDetail_CompleteFacet_m9600865B2870C2EA8663CAD349EFDE5B1D651491(__this, L_20, L_21, (&V_0), L_22, NULL);
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// if (edges[i].RightFace == (int)EdgeValues.Undefined)
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_23 = ___3_edges;
|
|
int32_t L_24 = V_3;
|
|
NullCheck(L_23);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_25;
|
|
L_25 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_23, L_24, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
int32_t L_26 = L_25.___RightFace_2;
|
|
if ((!(((uint32_t)L_26) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_007b;
|
|
}
|
|
}
|
|
{
|
|
// CompleteFacet(pts, edges, ref nfaces, i);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_27 = ___0_pts;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_28 = ___3_edges;
|
|
int32_t L_29 = V_3;
|
|
PolyMeshDetail_CompleteFacet_m9600865B2870C2EA8663CAD349EFDE5B1D651491(__this, L_27, L_28, (&V_0), L_29, NULL);
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_30 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_007f:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_31 = V_3;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_32 = ___3_edges;
|
|
NullCheck(L_32);
|
|
int32_t L_33;
|
|
L_33 = List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_inline(L_32, List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
if ((((int32_t)L_31) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
// tris.Clear();
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_34 = ___2_tris;
|
|
NullCheck(L_34);
|
|
List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_inline(L_34, List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_RuntimeMethod_var);
|
|
// for (int i = 0; i < nfaces; i++)
|
|
V_4 = 0;
|
|
goto IL_00a9;
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
// tris.Add(new TriangleData(-1, -1, -1, -1));
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_35 = ___2_tris;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_36;
|
|
memset((&L_36), 0, sizeof(L_36));
|
|
TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C((&L_36), (-1), (-1), (-1), (-1), /*hidden argument*/NULL);
|
|
NullCheck(L_35);
|
|
List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_inline(L_35, L_36, List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_RuntimeMethod_var);
|
|
// for (int i = 0; i < nfaces; i++)
|
|
int32_t L_37 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00a9:
|
|
{
|
|
// for (int i = 0; i < nfaces; i++)
|
|
int32_t L_38 = V_4;
|
|
int32_t L_39 = V_0;
|
|
if ((((int32_t)L_38) < ((int32_t)L_39)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_5 = 0;
|
|
goto IL_01e9;
|
|
}
|
|
|
|
IL_00b6:
|
|
{
|
|
// EdgeInfo e = edges[i];
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_40 = ___3_edges;
|
|
int32_t L_41 = V_5;
|
|
NullCheck(L_40);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_42;
|
|
L_42 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_40, L_41, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
V_6 = L_42;
|
|
// if (e.RightFace >= 0)
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_43 = V_6;
|
|
int32_t L_44 = L_43.___RightFace_2;
|
|
if ((((int32_t)L_44) < ((int32_t)0)))
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
// var tri = tris[e.RightFace];
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_45 = ___2_tris;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_46 = V_6;
|
|
int32_t L_47 = L_46.___RightFace_2;
|
|
NullCheck(L_45);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_48;
|
|
L_48 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_45, L_47, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
V_7 = L_48;
|
|
// if (tri.VertexHash0 == -1)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_49 = V_7;
|
|
int32_t L_50 = L_49.___VertexHash0_0;
|
|
if ((!(((uint32_t)L_50) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// tri.VertexHash0 = e.EndPt0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_51 = V_6;
|
|
int32_t L_52 = L_51.___EndPt0_0;
|
|
(&V_7)->___VertexHash0_0 = L_52;
|
|
// tri.VertexHash1 = e.EndPt1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_53 = V_6;
|
|
int32_t L_54 = L_53.___EndPt1_1;
|
|
(&V_7)->___VertexHash1_1 = L_54;
|
|
goto IL_0143;
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// else if (tri.VertexHash0 == e.EndPt1)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_55 = V_7;
|
|
int32_t L_56 = L_55.___VertexHash0_0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_57 = V_6;
|
|
int32_t L_58 = L_57.___EndPt1_1;
|
|
if ((!(((uint32_t)L_56) == ((uint32_t)L_58))))
|
|
{
|
|
goto IL_0125;
|
|
}
|
|
}
|
|
{
|
|
// tri.VertexHash2 = e.EndPt0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_59 = V_6;
|
|
int32_t L_60 = L_59.___EndPt0_0;
|
|
(&V_7)->___VertexHash2_2 = L_60;
|
|
goto IL_0143;
|
|
}
|
|
|
|
IL_0125:
|
|
{
|
|
// else if (tri.VertexHash1 == e.EndPt0)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_61 = V_7;
|
|
int32_t L_62 = L_61.___VertexHash1_1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_63 = V_6;
|
|
int32_t L_64 = L_63.___EndPt0_0;
|
|
if ((!(((uint32_t)L_62) == ((uint32_t)L_64))))
|
|
{
|
|
goto IL_0143;
|
|
}
|
|
}
|
|
{
|
|
// tri.VertexHash2 = e.EndPt1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_65 = V_6;
|
|
int32_t L_66 = L_65.___EndPt1_1;
|
|
(&V_7)->___VertexHash2_2 = L_66;
|
|
}
|
|
|
|
IL_0143:
|
|
{
|
|
// tris[e.RightFace] = tri;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_67 = ___2_tris;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_68 = V_6;
|
|
int32_t L_69 = L_68.___RightFace_2;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_70 = V_7;
|
|
NullCheck(L_67);
|
|
List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A(L_67, L_69, L_70, List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0152:
|
|
{
|
|
// if (e.LeftFace >= 0)
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_71 = V_6;
|
|
int32_t L_72 = L_71.___LeftFace_3;
|
|
if ((((int32_t)L_72) < ((int32_t)0)))
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
{
|
|
// var tri = tris[e.LeftFace];
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_73 = ___2_tris;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_74 = V_6;
|
|
int32_t L_75 = L_74.___LeftFace_3;
|
|
NullCheck(L_73);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_76;
|
|
L_76 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_73, L_75, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
V_8 = L_76;
|
|
// if (tri.VertexHash0 == -1)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_77 = V_8;
|
|
int32_t L_78 = L_77.___VertexHash0_0;
|
|
if ((!(((uint32_t)L_78) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0196;
|
|
}
|
|
}
|
|
{
|
|
// tri.VertexHash0 = e.EndPt1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_79 = V_6;
|
|
int32_t L_80 = L_79.___EndPt1_1;
|
|
(&V_8)->___VertexHash0_0 = L_80;
|
|
// tri.VertexHash1 = e.EndPt0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_81 = V_6;
|
|
int32_t L_82 = L_81.___EndPt0_0;
|
|
(&V_8)->___VertexHash1_1 = L_82;
|
|
goto IL_01d4;
|
|
}
|
|
|
|
IL_0196:
|
|
{
|
|
// else if (tri.VertexHash0 == e.EndPt0)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_83 = V_8;
|
|
int32_t L_84 = L_83.___VertexHash0_0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_85 = V_6;
|
|
int32_t L_86 = L_85.___EndPt0_0;
|
|
if ((!(((uint32_t)L_84) == ((uint32_t)L_86))))
|
|
{
|
|
goto IL_01b6;
|
|
}
|
|
}
|
|
{
|
|
// tri.VertexHash2 = e.EndPt1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_87 = V_6;
|
|
int32_t L_88 = L_87.___EndPt1_1;
|
|
(&V_8)->___VertexHash2_2 = L_88;
|
|
goto IL_01d4;
|
|
}
|
|
|
|
IL_01b6:
|
|
{
|
|
// else if (tri.VertexHash1 == e.EndPt1)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_89 = V_8;
|
|
int32_t L_90 = L_89.___VertexHash1_1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_91 = V_6;
|
|
int32_t L_92 = L_91.___EndPt1_1;
|
|
if ((!(((uint32_t)L_90) == ((uint32_t)L_92))))
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
{
|
|
// tri.VertexHash2 = e.EndPt0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_93 = V_6;
|
|
int32_t L_94 = L_93.___EndPt0_0;
|
|
(&V_8)->___VertexHash2_2 = L_94;
|
|
}
|
|
|
|
IL_01d4:
|
|
{
|
|
// tris[e.LeftFace] = tri;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_95 = ___2_tris;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_96 = V_6;
|
|
int32_t L_97 = L_96.___LeftFace_3;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_98 = V_8;
|
|
NullCheck(L_95);
|
|
List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A(L_95, L_97, L_98, List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01e3:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_99 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_99, 1));
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_100 = V_5;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_101 = ___3_edges;
|
|
NullCheck(L_101);
|
|
int32_t L_102;
|
|
L_102 = List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_inline(L_101, List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
if ((((int32_t)L_100) < ((int32_t)L_102)))
|
|
{
|
|
goto IL_00b6;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < tris.Count; i++)
|
|
V_9 = 0;
|
|
goto IL_025e;
|
|
}
|
|
|
|
IL_01fc:
|
|
{
|
|
// var t = tris[i];
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_103 = ___2_tris;
|
|
int32_t L_104 = V_9;
|
|
NullCheck(L_103);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_105;
|
|
L_105 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_103, L_104, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
V_10 = L_105;
|
|
// if (t.VertexHash0 == -1 || t.VertexHash1 == -1 || t.VertexHash2 == -1)
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_106 = V_10;
|
|
int32_t L_107 = L_106.___VertexHash0_0;
|
|
if ((((int32_t)L_107) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0224;
|
|
}
|
|
}
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_108 = V_10;
|
|
int32_t L_109 = L_108.___VertexHash1_1;
|
|
if ((((int32_t)L_109) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0224;
|
|
}
|
|
}
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_110 = V_10;
|
|
int32_t L_111 = L_110.___VertexHash2_2;
|
|
if ((!(((uint32_t)L_111) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0258;
|
|
}
|
|
}
|
|
|
|
IL_0224:
|
|
{
|
|
// Console.WriteLine("WARNING: removing dangling face.");
|
|
il2cpp_codegen_runtime_class_init_inline(Console_t5EDF9498D011BD48287171978EDBBA6964829C3E_il2cpp_TypeInfo_var);
|
|
Console_WriteLine_m77CEDA0C084428F0D6220988DA66992EC1925AEA(_stringLiteral3A905720095043D99FC746A13C7FC347A22B4E7A, NULL);
|
|
// tris[i] = tris[tris.Count - 1];
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_112 = ___2_tris;
|
|
int32_t L_113 = V_9;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_114 = ___2_tris;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_115 = ___2_tris;
|
|
NullCheck(L_115);
|
|
int32_t L_116;
|
|
L_116 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_115, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
NullCheck(L_114);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_117;
|
|
L_117 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_114, ((int32_t)il2cpp_codegen_subtract(L_116, 1)), List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
NullCheck(L_112);
|
|
List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A(L_112, L_113, L_117, List_1_set_Item_m0F6A80D1A7DD764FD6B0F01FC246DD37A153487A_RuntimeMethod_var);
|
|
// tris.RemoveAt(tris.Count - 1);
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_118 = ___2_tris;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_119 = ___2_tris;
|
|
NullCheck(L_119);
|
|
int32_t L_120;
|
|
L_120 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_119, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
NullCheck(L_118);
|
|
List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650(L_118, ((int32_t)il2cpp_codegen_subtract(L_120, 1)), List_1_RemoveAt_m176765E357FDEAE9628B611F60EB2EF8EC934650_RuntimeMethod_var);
|
|
// i--;
|
|
int32_t L_121 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_subtract(L_121, 1));
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// for (int i = 0; i < tris.Count; i++)
|
|
int32_t L_122 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_122, 1));
|
|
}
|
|
|
|
IL_025e:
|
|
{
|
|
// for (int i = 0; i < tris.Count; i++)
|
|
int32_t L_123 = V_9;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_124 = ___2_tris;
|
|
NullCheck(L_124);
|
|
int32_t L_125;
|
|
L_125 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_124, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
if ((((int32_t)L_123) < ((int32_t)L_125)))
|
|
{
|
|
goto IL_01fc;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::CompleteFacet(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail_CompleteFacet_m9600865B2870C2EA8663CAD349EFDE5B1D651491 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___1_edges, int32_t* ___2_nfaces, int32_t ___3_curEdge, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
float V_5 = 0.0f;
|
|
int32_t V_6 = 0;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
{
|
|
// EdgeInfo e = edges[curEdge];
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_0 = ___1_edges;
|
|
int32_t L_1 = ___3_curEdge;
|
|
NullCheck(L_0);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_2;
|
|
L_2 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_0, L_1, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
V_0 = L_2;
|
|
// if (e.LeftFace == (int)EdgeValues.Undefined)
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_3 = V_0;
|
|
int32_t L_4 = L_3.___LeftFace_3;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// s = e.EndPt0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_5 = V_0;
|
|
int32_t L_6 = L_5.___EndPt0_0;
|
|
V_1 = L_6;
|
|
// t = e.EndPt1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_7 = V_0;
|
|
int32_t L_8 = L_7.___EndPt1_1;
|
|
V_2 = L_8;
|
|
goto IL_003c;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// else if (e.RightFace == (int)EdgeValues.Undefined)
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_9 = V_0;
|
|
int32_t L_10 = L_9.___RightFace_2;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// s = e.EndPt1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_11 = V_0;
|
|
int32_t L_12 = L_11.___EndPt1_1;
|
|
V_1 = L_12;
|
|
// t = e.EndPt0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_13 = V_0;
|
|
int32_t L_14 = L_13.___EndPt0_0;
|
|
V_2 = L_14;
|
|
goto IL_003c;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// int pt = pts.Count;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_15 = ___0_pts;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_15, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
V_3 = L_16;
|
|
// Vector3 c = Vector3.Zero;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = ((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___Zero_6;
|
|
V_4 = L_17;
|
|
// float r = -1;
|
|
V_5 = (-1.0f);
|
|
// for (int u = 0; u < pts.Count; u++)
|
|
V_6 = 0;
|
|
goto IL_0160;
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// if (u == s || u == t)
|
|
int32_t L_18 = V_6;
|
|
int32_t L_19 = V_1;
|
|
if ((((int32_t)L_18) == ((int32_t)L_19)))
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_20 = V_6;
|
|
int32_t L_21 = V_2;
|
|
if ((((int32_t)L_20) == ((int32_t)L_21)))
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// cross = Vector3Extensions.Cross2D(pts[s], pts[t], pts[u]);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_22 = ___0_pts;
|
|
int32_t L_23 = V_1;
|
|
NullCheck(L_22);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24;
|
|
L_24 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_22, L_23, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_25 = ___0_pts;
|
|
int32_t L_26 = V_2;
|
|
NullCheck(L_25);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27;
|
|
L_27 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_25, L_26, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_28 = ___0_pts;
|
|
int32_t L_29 = V_6;
|
|
NullCheck(L_28);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30;
|
|
L_30 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_28, L_29, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
float L_31;
|
|
L_31 = Vector3Extensions_Cross2D_mEC81FE18486FB5C84569CCD9AABBF86C0B00FB4A(L_24, L_27, L_30, NULL);
|
|
// if (cross > EPS)
|
|
if ((!(((float)L_31) > ((float)(9.99999975E-06f)))))
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// if (r < 0)
|
|
float L_32 = V_5;
|
|
if ((!(((float)L_32) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_00c0;
|
|
}
|
|
}
|
|
{
|
|
// pt = u;
|
|
int32_t L_33 = V_6;
|
|
V_3 = L_33;
|
|
// CircumCircle(pts[s], pts[t], pts[u], ref c, out r);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_34 = ___0_pts;
|
|
int32_t L_35 = V_1;
|
|
NullCheck(L_34);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36;
|
|
L_36 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_34, L_35, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_37 = ___0_pts;
|
|
int32_t L_38 = V_2;
|
|
NullCheck(L_37);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39;
|
|
L_39 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_37, L_38, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_40 = ___0_pts;
|
|
int32_t L_41 = V_6;
|
|
NullCheck(L_40);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42;
|
|
L_42 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_40, L_41, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
bool L_43;
|
|
L_43 = PolyMeshDetail_CircumCircle_mFCE72D889609138516CFF5A2CC414780010F16EF(__this, L_36, L_39, L_42, (&V_4), (&V_5), NULL);
|
|
// continue;
|
|
goto IL_015a;
|
|
}
|
|
|
|
IL_00c0:
|
|
{
|
|
// float d = Vector3Extensions.Distance2D(c, pts[u]);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_44 = V_4;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_45 = ___0_pts;
|
|
int32_t L_46 = V_6;
|
|
NullCheck(L_45);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47;
|
|
L_47 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_45, L_46, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
float L_48;
|
|
L_48 = Vector3Extensions_Distance2D_m9565801B48A602A308799D21592DCABFACAF020A(L_44, L_47, NULL);
|
|
V_7 = L_48;
|
|
// float tol = 0.001f;
|
|
V_8 = (0.00100000005f);
|
|
// if (d > r * (1 + tol))
|
|
float L_49 = V_7;
|
|
float L_50 = V_5;
|
|
float L_51 = V_8;
|
|
if ((((float)L_49) > ((float)((float)il2cpp_codegen_multiply(L_50, ((float)il2cpp_codegen_add((1.0f), L_51)))))))
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// else if (d < r * (1 - tol))
|
|
float L_52 = V_7;
|
|
float L_53 = V_5;
|
|
float L_54 = V_8;
|
|
if ((!(((float)L_52) < ((float)((float)il2cpp_codegen_multiply(L_53, ((float)il2cpp_codegen_subtract((1.0f), L_54))))))))
|
|
{
|
|
goto IL_011c;
|
|
}
|
|
}
|
|
{
|
|
// pt = u;
|
|
int32_t L_55 = V_6;
|
|
V_3 = L_55;
|
|
// CircumCircle(pts[s], pts[t], pts[u], ref c, out r);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_56 = ___0_pts;
|
|
int32_t L_57 = V_1;
|
|
NullCheck(L_56);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58;
|
|
L_58 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_56, L_57, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_59 = ___0_pts;
|
|
int32_t L_60 = V_2;
|
|
NullCheck(L_59);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_61;
|
|
L_61 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_59, L_60, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_62 = ___0_pts;
|
|
int32_t L_63 = V_6;
|
|
NullCheck(L_62);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_64;
|
|
L_64 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_62, L_63, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
bool L_65;
|
|
L_65 = PolyMeshDetail_CircumCircle_mFCE72D889609138516CFF5A2CC414780010F16EF(__this, L_58, L_61, L_64, (&V_4), (&V_5), NULL);
|
|
goto IL_015a;
|
|
}
|
|
|
|
IL_011c:
|
|
{
|
|
// if (OverlapEdges(pts, edges, s, u))
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_66 = ___0_pts;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_67 = ___1_edges;
|
|
int32_t L_68 = V_1;
|
|
int32_t L_69 = V_6;
|
|
bool L_70;
|
|
L_70 = PolyMeshDetail_OverlapEdges_m377A490DAA08E7C02DF92F6B6CDF3F13BF85714B(__this, L_66, L_67, L_68, L_69, NULL);
|
|
if (L_70)
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// if (OverlapEdges(pts, edges, t, u))
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_71 = ___0_pts;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_72 = ___1_edges;
|
|
int32_t L_73 = V_2;
|
|
int32_t L_74 = V_6;
|
|
bool L_75;
|
|
L_75 = PolyMeshDetail_OverlapEdges_m377A490DAA08E7C02DF92F6B6CDF3F13BF85714B(__this, L_71, L_72, L_73, L_74, NULL);
|
|
if (L_75)
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// pt = u;
|
|
int32_t L_76 = V_6;
|
|
V_3 = L_76;
|
|
// CircumCircle(pts[s], pts[t], pts[u], ref c, out r);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_77 = ___0_pts;
|
|
int32_t L_78 = V_1;
|
|
NullCheck(L_77);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_79;
|
|
L_79 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_77, L_78, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_80 = ___0_pts;
|
|
int32_t L_81 = V_2;
|
|
NullCheck(L_80);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_82;
|
|
L_82 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_80, L_81, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_83 = ___0_pts;
|
|
int32_t L_84 = V_6;
|
|
NullCheck(L_83);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_85;
|
|
L_85 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_83, L_84, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
bool L_86;
|
|
L_86 = PolyMeshDetail_CircumCircle_mFCE72D889609138516CFF5A2CC414780010F16EF(__this, L_79, L_82, L_85, (&V_4), (&V_5), NULL);
|
|
}
|
|
|
|
IL_015a:
|
|
{
|
|
// for (int u = 0; u < pts.Count; u++)
|
|
int32_t L_87 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_87, 1));
|
|
}
|
|
|
|
IL_0160:
|
|
{
|
|
// for (int u = 0; u < pts.Count; u++)
|
|
int32_t L_88 = V_6;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_89 = ___0_pts;
|
|
NullCheck(L_89);
|
|
int32_t L_90;
|
|
L_90 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_89, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
if ((((int32_t)L_88) < ((int32_t)L_90)))
|
|
{
|
|
goto IL_0059;
|
|
}
|
|
}
|
|
{
|
|
// if (pt < pts.Count)
|
|
int32_t L_91 = V_3;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_92 = ___0_pts;
|
|
NullCheck(L_92);
|
|
int32_t L_93;
|
|
L_93 = List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_inline(L_92, List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_RuntimeMethod_var);
|
|
if ((((int32_t)L_91) >= ((int32_t)L_93)))
|
|
{
|
|
goto IL_01f1;
|
|
}
|
|
}
|
|
{
|
|
// EdgeInfo.UpdateLeftFace(ref e, s, t, nfaces);
|
|
int32_t L_94 = V_1;
|
|
int32_t L_95 = V_2;
|
|
int32_t* L_96 = ___2_nfaces;
|
|
int32_t L_97 = *((int32_t*)L_96);
|
|
EdgeInfo_UpdateLeftFace_m94F82B20E43B3972C70BFB15CE036DB195E99D5D((&V_0), L_94, L_95, L_97, NULL);
|
|
// edges[curEdge] = e;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_98 = ___1_edges;
|
|
int32_t L_99 = ___3_curEdge;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_100 = V_0;
|
|
NullCheck(L_98);
|
|
List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE(L_98, L_99, L_100, List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_RuntimeMethod_var);
|
|
// curEdge = AddEdge(edges, pt, s, nfaces, (int)EdgeValues.Undefined);
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_101 = ___1_edges;
|
|
int32_t L_102 = V_3;
|
|
int32_t L_103 = V_1;
|
|
int32_t* L_104 = ___2_nfaces;
|
|
int32_t L_105 = *((int32_t*)L_104);
|
|
int32_t L_106;
|
|
L_106 = PolyMeshDetail_AddEdge_m4D2967D57572993D6BD26B93204D8C23A0423267(__this, L_101, L_102, L_103, L_105, (-1), NULL);
|
|
___3_curEdge = L_106;
|
|
// if (curEdge != (int)EdgeValues.Undefined)
|
|
int32_t L_107 = ___3_curEdge;
|
|
if ((((int32_t)L_107) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_01ba;
|
|
}
|
|
}
|
|
{
|
|
// e = edges[curEdge];
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_108 = ___1_edges;
|
|
int32_t L_109 = ___3_curEdge;
|
|
NullCheck(L_108);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_110;
|
|
L_110 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_108, L_109, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
V_0 = L_110;
|
|
// EdgeInfo.UpdateLeftFace(ref e, pt, s, nfaces);
|
|
int32_t L_111 = V_3;
|
|
int32_t L_112 = V_1;
|
|
int32_t* L_113 = ___2_nfaces;
|
|
int32_t L_114 = *((int32_t*)L_113);
|
|
EdgeInfo_UpdateLeftFace_m94F82B20E43B3972C70BFB15CE036DB195E99D5D((&V_0), L_111, L_112, L_114, NULL);
|
|
// edges[curEdge] = e;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_115 = ___1_edges;
|
|
int32_t L_116 = ___3_curEdge;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_117 = V_0;
|
|
NullCheck(L_115);
|
|
List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE(L_115, L_116, L_117, List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01ba:
|
|
{
|
|
// curEdge = AddEdge(edges, t, pt, nfaces, (int)EdgeValues.Undefined);
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_118 = ___1_edges;
|
|
int32_t L_119 = V_2;
|
|
int32_t L_120 = V_3;
|
|
int32_t* L_121 = ___2_nfaces;
|
|
int32_t L_122 = *((int32_t*)L_121);
|
|
int32_t L_123;
|
|
L_123 = PolyMeshDetail_AddEdge_m4D2967D57572993D6BD26B93204D8C23A0423267(__this, L_118, L_119, L_120, L_122, (-1), NULL);
|
|
___3_curEdge = L_123;
|
|
// if (curEdge != (int)EdgeValues.Undefined)
|
|
int32_t L_124 = ___3_curEdge;
|
|
if ((((int32_t)L_124) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_01ea;
|
|
}
|
|
}
|
|
{
|
|
// e = edges[curEdge];
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_125 = ___1_edges;
|
|
int32_t L_126 = ___3_curEdge;
|
|
NullCheck(L_125);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_127;
|
|
L_127 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_125, L_126, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
V_0 = L_127;
|
|
// EdgeInfo.UpdateLeftFace(ref e, t, pt, nfaces);
|
|
int32_t L_128 = V_2;
|
|
int32_t L_129 = V_3;
|
|
int32_t* L_130 = ___2_nfaces;
|
|
int32_t L_131 = *((int32_t*)L_130);
|
|
EdgeInfo_UpdateLeftFace_m94F82B20E43B3972C70BFB15CE036DB195E99D5D((&V_0), L_128, L_129, L_131, NULL);
|
|
// edges[curEdge] = e;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_132 = ___1_edges;
|
|
int32_t L_133 = ___3_curEdge;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_134 = V_0;
|
|
NullCheck(L_132);
|
|
List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE(L_132, L_133, L_134, List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01ea:
|
|
{
|
|
// nfaces++;
|
|
int32_t* L_135 = ___2_nfaces;
|
|
int32_t* L_136 = ___2_nfaces;
|
|
int32_t L_137 = *((int32_t*)L_136);
|
|
*((int32_t*)L_135) = (int32_t)((int32_t)il2cpp_codegen_add(L_137, 1));
|
|
return;
|
|
}
|
|
|
|
IL_01f1:
|
|
{
|
|
// e = edges[curEdge];
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_138 = ___1_edges;
|
|
int32_t L_139 = ___3_curEdge;
|
|
NullCheck(L_138);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_140;
|
|
L_140 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_138, L_139, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
V_0 = L_140;
|
|
// EdgeInfo.UpdateLeftFace(ref e, s, t, (int)EdgeValues.Hull);
|
|
int32_t L_141 = V_1;
|
|
int32_t L_142 = V_2;
|
|
EdgeInfo_UpdateLeftFace_m94F82B20E43B3972C70BFB15CE036DB195E99D5D((&V_0), L_141, L_142, ((int32_t)-2), NULL);
|
|
// edges[curEdge] = e;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_143 = ___1_edges;
|
|
int32_t L_144 = ___3_curEdge;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_145 = V_0;
|
|
NullCheck(L_143);
|
|
List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE(L_143, L_144, L_145, List_1_set_Item_m28F1ED679C700E9EBFDCDDD74279DCA7F9AA23CE_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::AddEdge(System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_AddEdge_m4D2967D57572993D6BD26B93204D8C23A0423267 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___0_edges, int32_t ___1_s, int32_t ___2_t, int32_t ___3_leftFace, int32_t ___4_rightFace, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// int e = FindEdge(edges, s, t);
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_0 = ___0_edges;
|
|
int32_t L_1 = ___1_s;
|
|
int32_t L_2 = ___2_t;
|
|
int32_t L_3;
|
|
L_3 = PolyMeshDetail_FindEdge_mB80F0A41EDBA7651B06C15E4689C2362D16F51FF(__this, L_0, L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// if (e == -1)
|
|
int32_t L_4 = V_0;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// EdgeInfo edge = new EdgeInfo(s, t, rightFace, leftFace);
|
|
int32_t L_5 = ___1_s;
|
|
int32_t L_6 = ___2_t;
|
|
int32_t L_7 = ___4_rightFace;
|
|
int32_t L_8 = ___3_leftFace;
|
|
EdgeInfo__ctor_mB425EDB809A5B35E6586CECD8D8E87908B7D1EE1((&V_1), L_5, L_6, L_7, L_8, NULL);
|
|
// edges.Add(edge);
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_9 = ___0_edges;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_10 = V_1;
|
|
NullCheck(L_9);
|
|
List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_inline(L_9, L_10, List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_RuntimeMethod_var);
|
|
// return edges.Count - 1;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_11 = ___0_edges;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_inline(L_11, List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
return ((int32_t)il2cpp_codegen_subtract(L_12, 1));
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// return e;
|
|
int32_t L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail::FindEdge(System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyMeshDetail_FindEdge_mB80F0A41EDBA7651B06C15E4689C2362D16F51FF (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___0_edges, int32_t ___1_s, int32_t ___2_t, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// EdgeInfo e = edges[i];
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_0 = ___0_edges;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_2;
|
|
L_2 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_0, L_1, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
V_1 = L_2;
|
|
// if ((e.EndPt0 == s && e.EndPt1 == t) || (e.EndPt0 == t && e.EndPt1 == s))
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_3 = V_1;
|
|
int32_t L_4 = L_3.___EndPt0_0;
|
|
int32_t L_5 = ___1_s;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_6 = V_1;
|
|
int32_t L_7 = L_6.___EndPt1_1;
|
|
int32_t L_8 = ___2_t;
|
|
if ((((int32_t)L_7) == ((int32_t)L_8)))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_9 = V_1;
|
|
int32_t L_10 = L_9.___EndPt0_0;
|
|
int32_t L_11 = ___2_t;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)L_11))))
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_12 = V_1;
|
|
int32_t L_13 = L_12.___EndPt1_1;
|
|
int32_t L_14 = ___1_s;
|
|
if ((!(((uint32_t)L_13) == ((uint32_t)L_14))))
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// return i;
|
|
int32_t L_15 = V_0;
|
|
return L_15;
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_16 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_16, 1));
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_17 = V_0;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_18 = ___0_edges;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_inline(L_18, List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
if ((((int32_t)L_17) < ((int32_t)L_19)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMeshDetail::OverlapEdges(System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/EdgeInfo>,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMeshDetail_OverlapEdges_m377A490DAA08E7C02DF92F6B6CDF3F13BF85714B (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___0_pts, List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* ___1_edges, int32_t ___2_s1, int32_t ___3_t1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// Vector3 ps1 = pts[s1], pt1 = pts[t1];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_0 = ___0_pts;
|
|
int32_t L_1 = ___2_s1;
|
|
NullCheck(L_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
L_2 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_0, L_1, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_0 = L_2;
|
|
// Vector3 ps1 = pts[s1], pt1 = pts[t1];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_3 = ___0_pts;
|
|
int32_t L_4 = ___3_t1;
|
|
NullCheck(L_3);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_3, L_4, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_1 = L_5;
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
V_2 = 0;
|
|
goto IL_006c;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// int s0 = edges[i].EndPt0;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_6 = ___1_edges;
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_6);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_8;
|
|
L_8 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_6, L_7, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
int32_t L_9 = L_8.___EndPt0_0;
|
|
V_3 = L_9;
|
|
// int t0 = edges[i].EndPt1;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_10 = ___1_edges;
|
|
int32_t L_11 = V_2;
|
|
NullCheck(L_10);
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_12;
|
|
L_12 = List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0(L_10, L_11, List_1_get_Item_m9B22B7BB9617372D85050268BDC868F266B5F7A0_RuntimeMethod_var);
|
|
int32_t L_13 = L_12.___EndPt1_1;
|
|
V_4 = L_13;
|
|
// if (s0 == s1 || s0 == t1 || t0 == s1 || t0 == t1)
|
|
int32_t L_14 = V_3;
|
|
int32_t L_15 = ___2_s1;
|
|
if ((((int32_t)L_14) == ((int32_t)L_15)))
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_16 = V_3;
|
|
int32_t L_17 = ___3_t1;
|
|
if ((((int32_t)L_16) == ((int32_t)L_17)))
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_18 = V_4;
|
|
int32_t L_19 = ___2_s1;
|
|
if ((((int32_t)L_18) == ((int32_t)L_19)))
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_20 = V_4;
|
|
int32_t L_21 = ___3_t1;
|
|
if ((((int32_t)L_20) == ((int32_t)L_21)))
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 ps0 = pts[s0], pt0 = pts[t0];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_22 = ___0_pts;
|
|
int32_t L_23 = V_3;
|
|
NullCheck(L_22);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24;
|
|
L_24 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_22, L_23, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_5 = L_24;
|
|
// Vector3 ps0 = pts[s0], pt0 = pts[t0];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_25 = ___0_pts;
|
|
int32_t L_26 = V_4;
|
|
NullCheck(L_25);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27;
|
|
L_27 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_25, L_26, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_6 = L_27;
|
|
// if (Intersection.SegmentSegment2D(ref ps0, ref pt0, ref ps1, ref pt1))
|
|
bool L_28;
|
|
L_28 = Intersection_SegmentSegment2D_m7B8AA6BC6F2BF895EF8D9C1FE9B9DD23693934FB((&V_5), (&V_6), (&V_0), (&V_1), NULL);
|
|
if (!L_28)
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0068:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_29 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_29, 1));
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// for (int i = 0; i < edges.Count; i++)
|
|
int32_t L_30 = V_2;
|
|
List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* L_31 = ___1_edges;
|
|
NullCheck(L_31);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_inline(L_31, List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_RuntimeMethod_var);
|
|
if ((((int32_t)L_30) < ((int32_t)L_32)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyMeshDetail::CircumCircle(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyMeshDetail_CircumCircle_mFCE72D889609138516CFF5A2CC414780010F16EF (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p1, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_p2, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_p3, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_c, float* ___4_r, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
{
|
|
// Vector3Extensions.Cross2D(ref p1, ref p2, ref p3, out cp);
|
|
Vector3Extensions_Cross2D_m160A41D103A6262332002C40811ACD6D07718295((&___0_p1), (&___1_p2), (&___2_p3), (&V_0), NULL);
|
|
// if (Math.Abs(cp) > EPS)
|
|
float L_0 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_1;
|
|
L_1 = fabsf(L_0);
|
|
if ((!(((float)L_1) > ((float)(9.99999997E-07f)))))
|
|
{
|
|
goto IL_00f1;
|
|
}
|
|
}
|
|
{
|
|
// Vector3Extensions.Dot2D(ref p1, ref p1, out p1sq);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&___0_p1), (&___0_p1), (&V_1), NULL);
|
|
// Vector3Extensions.Dot2D(ref p2, ref p2, out p2sq);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&___1_p2), (&___1_p2), (&V_2), NULL);
|
|
// Vector3Extensions.Dot2D(ref p3, ref p3, out p3sq);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&___2_p3), (&___2_p3), (&V_3), NULL);
|
|
// c.X = (p1sq * (p2.Z - p3.Z) + p2sq * (p3.Z - p1.Z) + p3sq * (p1.Z - p2.Z)) / (2 * cp);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___3_c;
|
|
float L_3 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_p2;
|
|
float L_5 = L_4.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___2_p3;
|
|
float L_7 = L_6.___Z_2;
|
|
float L_8 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = ___2_p3;
|
|
float L_10 = L_9.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = ___0_p1;
|
|
float L_12 = L_11.___Z_2;
|
|
float L_13 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___0_p1;
|
|
float L_15 = L_14.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = ___1_p2;
|
|
float L_17 = L_16.___Z_2;
|
|
float L_18 = V_0;
|
|
L_2->___X_0 = ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_3, ((float)il2cpp_codegen_subtract(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_8, ((float)il2cpp_codegen_subtract(L_10, L_12)))))), ((float)il2cpp_codegen_multiply(L_13, ((float)il2cpp_codegen_subtract(L_15, L_17))))))/((float)il2cpp_codegen_multiply((2.0f), L_18))));
|
|
// c.Z = (p1sq * (p3.X - p2.X) + p2sq * (p1.X - p3.X) + p3sq * (p2.X - p1.X)) / (2 * cp);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = ___3_c;
|
|
float L_20 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = ___2_p3;
|
|
float L_22 = L_21.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = ___1_p2;
|
|
float L_24 = L_23.___X_0;
|
|
float L_25 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = ___0_p1;
|
|
float L_27 = L_26.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28 = ___2_p3;
|
|
float L_29 = L_28.___X_0;
|
|
float L_30 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = ___1_p2;
|
|
float L_32 = L_31.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = ___0_p1;
|
|
float L_34 = L_33.___X_0;
|
|
float L_35 = V_0;
|
|
L_19->___Z_2 = ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_20, ((float)il2cpp_codegen_subtract(L_22, L_24)))), ((float)il2cpp_codegen_multiply(L_25, ((float)il2cpp_codegen_subtract(L_27, L_29)))))), ((float)il2cpp_codegen_multiply(L_30, ((float)il2cpp_codegen_subtract(L_32, L_34))))))/((float)il2cpp_codegen_multiply((2.0f), L_35))));
|
|
// float dx = p1.X - c.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = ___0_p1;
|
|
float L_37 = L_36.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_38 = ___3_c;
|
|
float L_39 = L_38->___X_0;
|
|
V_4 = ((float)il2cpp_codegen_subtract(L_37, L_39));
|
|
// float dy = p1.Z - c.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = ___0_p1;
|
|
float L_41 = L_40.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_42 = ___3_c;
|
|
float L_43 = L_42->___Z_2;
|
|
V_5 = ((float)il2cpp_codegen_subtract(L_41, L_43));
|
|
// r = (float)Math.Sqrt(dx * dx + dy * dy);
|
|
float* L_44 = ___4_r;
|
|
float L_45 = V_4;
|
|
float L_46 = V_4;
|
|
float L_47 = V_5;
|
|
float L_48 = V_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_49;
|
|
L_49 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_45, L_46)), ((float)il2cpp_codegen_multiply(L_47, L_48))))));
|
|
*((float*)L_44) = (float)((float)L_49);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00f1:
|
|
{
|
|
// c.X = p1.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_50 = ___3_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_51 = ___0_p1;
|
|
float L_52 = L_51.___X_0;
|
|
L_50->___X_0 = L_52;
|
|
// c.Z = p1.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_53 = ___3_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_54 = ___0_p1;
|
|
float L_55 = L_54.___Z_2;
|
|
L_53->___Z_2 = L_55;
|
|
// r = 0;
|
|
float* L_56 = ___4_r;
|
|
*((float*)L_56) = (float)(0.0f);
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Single SharpNav.PolyMeshDetail::DistanceToTriMesh(SharpNav.Geometry.Vector3,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,System.Collections.Generic.List`1<SharpNav.PolyMeshDetail/TriangleData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PolyMeshDetail_DistanceToTriMesh_m0A85B68EC27A0F79FABE0744332FA4B5CBBA8022 (PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___1_verts, List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* ___2_tris, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
int32_t V_1 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
float V_5 = 0.0f;
|
|
{
|
|
// float dmin = float.MaxValue;
|
|
V_0 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < tris.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_005c;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// Vector3 va = verts[tris[i].VertexHash0];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_0 = ___1_verts;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_1 = ___2_tris;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_3;
|
|
L_3 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_1, L_2, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
int32_t L_4 = L_3.___VertexHash0_0;
|
|
NullCheck(L_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_0, L_4, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_2 = L_5;
|
|
// Vector3 vb = verts[tris[i].VertexHash1];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_6 = ___1_verts;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_7 = ___2_tris;
|
|
int32_t L_8 = V_1;
|
|
NullCheck(L_7);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_9;
|
|
L_9 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_7, L_8, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
int32_t L_10 = L_9.___VertexHash1_1;
|
|
NullCheck(L_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11;
|
|
L_11 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_6, L_10, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_3 = L_11;
|
|
// Vector3 vc = verts[tris[i].VertexHash2];
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_12 = ___1_verts;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_13 = ___2_tris;
|
|
int32_t L_14 = V_1;
|
|
NullCheck(L_13);
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_15;
|
|
L_15 = List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A(L_13, L_14, List_1_get_Item_mA1517EF48741A13764A71D30AEF681B1637FEC5A_RuntimeMethod_var);
|
|
int32_t L_16 = L_15.___VertexHash2_2;
|
|
NullCheck(L_12);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17;
|
|
L_17 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_12, L_16, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
V_4 = L_17;
|
|
// float d = Distance.PointToTriangle(p, va, vb, vc);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___0_p;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = V_4;
|
|
float L_22;
|
|
L_22 = Distance_PointToTriangle_mA49EC7A21C9706B7BECB1AF98ED76E616C37516B(L_18, L_19, L_20, L_21, NULL);
|
|
V_5 = L_22;
|
|
// if (d < dmin)
|
|
float L_23 = V_5;
|
|
float L_24 = V_0;
|
|
if ((!(((float)L_23) < ((float)L_24))))
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// dmin = d;
|
|
float L_25 = V_5;
|
|
V_0 = L_25;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// for (int i = 0; i < tris.Count; i++)
|
|
int32_t L_26 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_26, 1));
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// for (int i = 0; i < tris.Count; i++)
|
|
int32_t L_27 = V_1;
|
|
List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* L_28 = ___2_tris;
|
|
NullCheck(L_28);
|
|
int32_t L_29;
|
|
L_29 = List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_inline(L_28, List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_RuntimeMethod_var);
|
|
if ((((int32_t)L_27) < ((int32_t)L_29)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (dmin == float.MaxValue)
|
|
float L_30 = V_0;
|
|
if ((!(((float)L_30) == ((float)((std::numeric_limits<float>::max)())))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1.0f);
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// return dmin;
|
|
float L_31 = V_0;
|
|
return L_31;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyMeshDetail::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyMeshDetail__cctor_m9E09B77169A04087605E443759CAADE8BB787F5B (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_tC9E5EE95B9D6A7499EECF71A1A7C49FEEB5A2BC5____59BB880FFDB62657EF545B3D28A8F499E40D63558A468B3C8DF30DA447BC8C96_1_FieldInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// private static readonly int[] VertexOffset =
|
|
// {
|
|
// 0, 0,
|
|
// -1, -1,
|
|
// 0, -1,
|
|
// 1, -1,
|
|
// 1, 0,
|
|
// 1, 1,
|
|
// 0, 1,
|
|
// -1, 1,
|
|
// -1, 0
|
|
// };
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)18));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = L_0;
|
|
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tC9E5EE95B9D6A7499EECF71A1A7C49FEEB5A2BC5____59BB880FFDB62657EF545B3D28A8F499E40D63558A468B3C8DF30DA447BC8C96_1_FieldInfo_var) };
|
|
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_1, L_2, NULL);
|
|
((PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_StaticFields*)il2cpp_codegen_static_fields_for(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var))->___VertexOffset_0 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_StaticFields*)il2cpp_codegen_static_fields_for(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var))->___VertexOffset_0), (void*)L_1);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Poly_get_Area_m76E86CA64BCA6789358D39A854C2A328F2B398AB_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Area Area { get; set; }
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___U3CAreaU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] Verts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___U3CVertsU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int[] Verts { get; set; }
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___U3CVertsU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int VertCount { get; set; }
|
|
int32_t L_0 = __this->___U3CVertCountU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathfindingCommon.NavMeshInfo Header { get; set; }
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_0 = __this->___U3CHeaderU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t TiledNavMesh_get_TileCount_m66562B555E19A6EA7C9F509675A1102AAF9E512D_inline (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return maxTiles;
|
|
int32_t L_0 = __this->___maxTiles_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Poly[] Polys { get; set; }
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0 = __this->___U3CPolysU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return polyType;
|
|
uint8_t L_0 = __this->___polyType_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int FirstLink { get; set; }
|
|
int32_t L_0 = __this->___U3CFirstLinkU3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Link[] Links { get; set; }
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_0 = __this->___U3CLinksU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Reference { get; set; }
|
|
int32_t L_0 = __this->___U3CReferenceU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Next { get; set; }
|
|
int32_t L_0 = __this->___U3CNextU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int[] Neis { get; set; }
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___U3CNeisU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Edge { get; set; }
|
|
int32_t L_0 = __this->___U3CEdgeU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BoundarySide Side { get; set; }
|
|
uint8_t L_0 = __this->___U3CSideU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMin { get; set; }
|
|
int32_t L_0 = __this->___U3CBMinU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMax { get; set; }
|
|
int32_t L_0 = __this->___U3CBMaxU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.MeshData[] DetailMeshes { get; set; }
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = __this->___U3CDetailMeshesU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* MeshTile_get_DetailTris_mB7EA05A2BE99D85445EBB42CA787964D460D31B1_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.TriangleData[] DetailTris { get; set; }
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = __this->___U3CDetailTrisU3Ek__BackingField_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] DetailVerts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___U3CDetailVertsU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float NavMeshGenerationSettings_get_CellSize_mFF20B4412972B4ABB7CC750703346419F3677433_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float CellSize { get; set; }
|
|
float L_0 = __this->___U3CCellSizeU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float NavMeshGenerationSettings_get_CellHeight_m430E34FA32288DE4C407CC897037C65A42828D31_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float CellHeight { get; set; }
|
|
float L_0 = __this->___U3CCellHeightU3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NavMeshGenerationSettings_get_VertsPerPoly_m85E5AE5F164F11B1622A89BA3572A05B5A3C91BE_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int VertsPerPoly { get; set; }
|
|
int32_t L_0 = __this->___U3CVertsPerPolyU3Ek__BackingField_10;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ContourSet_get_Bounds_m3134B9AB97FF4CDDABE1BFC575451BD9135EB283_inline (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return bounds;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_0 = __this->___bounds_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* Contour_get_Vertices_m56F25D57B3C048B7BC6E911978D95FE604DE45D0_inline (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return vertices;
|
|
ContourVertexU5BU5D_tA2F00F8EEC9EA0781784349C7D3494598983CB16* L_0 = __this->___vertices_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Polygon_get_Vertices_mF305C0CB0FD3E7173652741B7327587A73794E7E_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return vertices;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___vertices_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Contour_get_Area_mA7438872D999F0B590565C4CEF6D5430CCE83D9F_inline (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return area;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___area_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Contour_get_RegionId_mE20B6B5BB7A3257D323FA6A26CCCC2B19ACE5AF7_inline (Contour_t97F8DBBB797B9FE95A646CD7C1992D9B282AF318* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return regionId;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = __this->___regionId_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Polygon_get_NeighborEdges_mE432A83EBD394D98F5DCDE186415942B0736DA03_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return neighborEdges;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___neighborEdges_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ContourSet_get_Height_m1D63DEA246371E09FC2FD1358851783CDA06CC54_inline (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return height;
|
|
int32_t L_0 = __this->___height_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ContourSet_get_Width_m5C38C58FB1CBAA8B16D5C745853DFCA19F5DB864_inline (ContourSet_tA791242ECB5F4D8C1366D87774489EF30F5A158C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return width;
|
|
int32_t L_0 = __this->___width_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Polygon_get_RegionId_m9E5FDBF8432D77751B51C631AB401A1878ECF5D4_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return regionId;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = __this->___regionId_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Polygon_get_Area_m0975F5C5F92A629242CFFA81AED2EC09CE9A2E7A_inline (Polygon_t3F4040619F32A2C9336FBBA4E9D98D9CE94786CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return area;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___area_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NavMeshGenerationSettings_get_SampleDistance_m04D07D244790C6EF77291373D4F6E5614656DF3C_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int SampleDistance { get; set; }
|
|
int32_t L_0 = __this->___U3CSampleDistanceU3Ek__BackingField_11;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t NavMeshGenerationSettings_get_MaxSampleError_m2A20E7A4E11967E23FFC1AA4995F69F45FC98F52_inline (NavMeshGenerationSettings_tB890C98CEBC3F858492AC511F01BDB83E45834EC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int MaxSampleError { get; set; }
|
|
int32_t L_0 = __this->___U3CMaxSampleErrorU3Ek__BackingField_12;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C PolyMesh_get_Bounds_m5A245DCBAA724C658E65CE1967A134E7F13ECC2A_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return bounds;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_0 = __this->___bounds_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PolyMesh_get_NumVertsPerPoly_mD6EADD017666916BCD27C42FB26243D45E22AAF2_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return numVertsPerPoly;
|
|
int32_t L_0 = __this->___numVertsPerPoly_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* PolyMesh_get_Polys_mD2449B557BCB34CB4FBAEF716B17D8F0173C1450_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return polygons;
|
|
PolygonU5BU5D_t1C721536FE866F7CB4CE13C0013FF8C8765F784D* L_0 = __this->___polygons_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t CompactHeightfield_get_Width_m4A2864809C34FAF33B76CC66D1ECE7084F01D596_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return width;
|
|
int32_t L_0 = __this->___width_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t CompactHeightfield_get_Length_m94D8CE11F65057730993AC4B770DC7CCB7C8E78B_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return length;
|
|
int32_t L_0 = __this->___length_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* PolyMesh_get_Verts_m8E70C4668DBF43B5EABC76321A6C95E27520E6A7_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return vertices;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_0 = __this->___vertices_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float PolyMesh_get_CellSize_mB308A77ADDB9D1E4D8D6B73140E34ABA03D6E6F5_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cellSize;
|
|
float L_0 = __this->___cellSize_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float PolyMesh_get_CellHeight_mEE72069AC5EB220C1E54DCE14DAE8020D2466663_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cellHeight;
|
|
float L_0 = __this->___cellHeight_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PolyMesh_get_BorderSize_m8DEF8D4D6EF6B3E4A95F8A98389DBCF40CA6C750_inline (PolyMesh_t62FDDF5B45037AC3B59ABD0B825EFEFE8D9C4E98* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return borderSize;
|
|
int32_t L_0 = __this->___borderSize_9;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float CompactHeightfield_get_CellHeight_m921E233EF5BC7D35AFE2250A8C9E17E3556450E7_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cellHeight;
|
|
float L_0 = __this->___cellHeight_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Y_m0063AA92BFF90160C9AE2D72F1251F175E9A23E5_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return ymin;
|
|
int32_t L_0 = __this->___ymin_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_X_mB9D8349B1BDA85F28DF58F23DC2AEB382CC4ACC2_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return xmin;
|
|
int32_t L_0 = __this->___xmin_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* CompactHeightfield_get_Cells_mB6996E472ED426DF328B90AC8AEFF9FE1D871882_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cells;
|
|
CompactCellU5BU5D_t9D6F164FAA0C92301E5183804B3305C69E80FA86* L_0 = __this->___cells_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* CompactHeightfield_get_Spans_mFA26BB59A3F382D0E4ED575618FEED165774FEC9_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return spans;
|
|
CompactSpanU5BU5D_tAA0E53805A6302285E92151F8DECDBE62F899AE9* L_0 = __this->___spans_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Width_m37A8F7A3BCD717048514597B300F1996FBFD1CFF_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return width;
|
|
int32_t L_0 = __this->___width_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t HeightPatch_get_Length_mCA5711E21B7F0FAB260B7ADB1824EDC1BB5F4183_inline (HeightPatch_t01CB91B4F066880891691AA7C9B375FE1E169916* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return length;
|
|
int32_t L_0 = __this->___length_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float CompactHeightfield_get_CellSize_mDA6E6900AF35EB4311B4817B86A9250D7D28D8DC_inline (CompactHeightfield_tB522089AD568896F567BFC3408D483A2153C2577* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return cellSize;
|
|
float L_0 = __this->___cellSize_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PriorityQueue_1_get_Count_m1EB4A8F2EBCE56ADF511210EAF9E73C69E6F7A76_gshared_inline (PriorityQueue_1_t72FEA514DF9FEE6C849CEBB985979FE357337A99* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return size;
|
|
int32_t L_0 = (int32_t)__this->___size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
int32_t L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (int32_t)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
int32_t L_9 = ___0_item;
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Queue_1_get_Count_m1768ADA9855B7CDA14C9C42E098A287F1A39C3A2_gshared_inline (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!true)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_3 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
RuntimeObject* L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (RuntimeObject*)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
RuntimeObject* L_9 = ___0_item;
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, RuntimeObject*, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_mC48F6DFAAD7CBA7BE32628671D7A51A562114026_gshared_inline (Nullable_1_t3A8E91AA3055A946362D8313AC8C09CC61B73208* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Queue_1_get_Count_mC5E49C471693AD17FDBA87D8532FB0676AC0BB75_gshared_inline (Queue_1_tCA24E420CB13C6411AEFC3ECE9E62219F7937A1E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mD04666803188EBEABC99A0B315BA580919AE0967_gshared_inline (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB474712EF35AB7F2FA081980A16DB8CB73807324_gshared_inline (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_item, const RuntimeMethod* method)
|
|
{
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_1 = (PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
PolyVertexU5BU5D_t8BFACC5B97130D85ED7AE5C9C8D5255EE1D64397* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_9 = ___0_item;
|
|
(( void (*) (List_1_tE5A6E213D1D5E96E95C30D81055510E36F027B05*, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m3C452E48380C64B784603ABE24F5DC658ED6ED7F_gshared_inline (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mA97EB55A37388682A2AA83D408652AC0A5C56A36_gshared_inline (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05* __this, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F ___0_item, const RuntimeMethod* method)
|
|
{
|
|
AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4* L_1 = (AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
AdjacencyEdgeU5BU5D_t39394C09737F5D989A1C8704A0DAE0B29C05CCA4* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F L_9 = ___0_item;
|
|
(( void (*) (List_1_t57CEF199FBDB995A8BD546633BDBEE0CE706EA05*, AdjacencyEdge_tBA6BAD0DD3CB7FD3B437BBB3A1C11682FEFC4E1F, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m05D315370308E45C250EAEF0FD5DC0A3B67E6168_gshared_inline (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E ___0_item, const RuntimeMethod* method)
|
|
{
|
|
EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1* L_1 = (EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
EdgeU5BU5D_t0796B229A7DE413E40B0014333DB0FF4B7DE91B1* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Edge_t5BB71DEFECE7290EB599134445761BB2F904534E)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Edge_t5BB71DEFECE7290EB599134445761BB2F904534E L_9 = ___0_item;
|
|
(( void (*) (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278*, Edge_t5BB71DEFECE7290EB599134445761BB2F904534E, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2C2B2A9F069638A5AB83EF4BCB47BC7ED7148181_gshared_inline (List_1_t32DEBCF64237D176F431F336567D47CFF9EAF278* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_gshared_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_item, const RuntimeMethod* method)
|
|
{
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* L_1 = (RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_9 = ___0_item;
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m9AFA7A76B3271AFA1D81F8DC43C1098720C6987C_gshared_inline (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950* __this, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* L_1 = (AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
AreaU5BU5D_tBAAB621C9BD0F77B7793F52E6696F2AD03BA3BBD* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Area_t9E8E008D1CF28697728310B3039944F3C2777E47)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_9 = ___0_item;
|
|
(( void (*) (List_1_t50FA8BD0B863AB829D6182CED69D2393FAA29950*, Area_t9E8E008D1CF28697728310B3039944F3C2777E47, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mFA405401CC90B5345EF74F2EC67E0A24951B9911_gshared_inline (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m510DDF2E9EEB39724BD4CEA15F9D6EB6FA2DD1FF_gshared_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m5AD3CCE348C5FF2A962B536621368A1E63E7AABA_gshared_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_1 = (TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_9 = ___0_item;
|
|
(( void (*) (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6*, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB01CDABD7A074BE58160751F80D04D9E9EF1D833_gshared_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* L_1 = (CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_9 = ___0_item;
|
|
(( void (*) (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6*, CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m1A9A34BE6E8C85BA9CBA4C09C2969CE9D51A80E5_gshared_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 Enumerator_get_Current_m758AF7A4B03BC2267C81B8E01EB75487CC026199_gshared_inline (Enumerator_t9AB739CA93D7BFE89F223F0FB790FD6280A6EB99* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5 L_0 = (CompactSpanReference_t2053F55F63F76CE10873B5CC097AAA9421D589D5)__this->____current_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m28CB65F7B20C0152D2E6CCB978D8FD64FA7BBAA0_gshared_inline (List_1_tFC0D0F77E3F2676188FA6797364B3052A5C1E8A6* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E* L_3 = (CompactSpanReferenceU5BU5D_t1DA05E583FB6147C6C3E0AB3E5A1E8193AE9455E*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m272C6A5A3620E81931888D90AA9E9524D5C55214_gshared_inline (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = ___0_item;
|
|
(( void (*) (List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D*, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m96843CF7E233830FD06AFF01A34694BB185415E0_gshared_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* L_3 = (EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m8873E4B038293C069DD161EBEFC51DBB4ADEA6CA_gshared_inline (List_1_tA3554C70BB1AE17DA4B4DA2AAACC7778446084F6* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_3 = (TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m7EC5010BDE68C244E15BB463678F1A08ACC73D07_gshared_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* L_3 = (SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m8769F356F770CF3C712202A3685F2000D66496EF_gshared_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* L_1 = (SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
SamplingDataU5BU5D_tFDE154327ED821E5ACD1E193CDB844C39EAACC17* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406 L_9 = ___0_item;
|
|
(( void (*) (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932*, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m3FCF2AE15F6092BF55767E99AFEA56ED134D197B_gshared_inline (List_1_tCACA9A5CF38DA57EC1A6859BE0463FE778099932* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mB5958EE690BE1BC684525720DE2037F5AFB5EBA7_gshared_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB563BECDD58CEF0714166F3A1D6C1EFB5AE99607_gshared_inline (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D* __this, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* L_1 = (EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
EdgeInfoU5BU5D_t2CFF468B676714A753D5C0E7349376610BF32C8C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258 L_9 = ___0_item;
|
|
(( void (*) (List_1_tF922D3843C83052A9745AB290FA26E6B776A705D*, EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|