33025 lines
1.4 MiB
33025 lines
1.4 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,System.Globalization.CultureInfo>
|
|
struct Dictionary_2_t9FA6D82CAFC18769F7515BB51D1C56DAE09381C3;
|
|
// System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo>
|
|
struct Dictionary_2_tE1603CE612C16451D1E56FF4D4859D4FE4087C28;
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3>
|
|
struct IEnumerable_1_tA8A937F9C165E75401EA151B1E931B7CF40C4B93;
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Vector3>
|
|
struct IEnumerable_1_t9E2774F577334D1C2B3BC9BB4E27B22E933C9B8E;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3>
|
|
struct IEnumerator_1_t17EEB4D4C1C3553585755D0B87E7F91FAEA4329B;
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId>
|
|
struct List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179;
|
|
// System.Collections.Generic.List`1<System.Single>
|
|
struct List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918;
|
|
// System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>
|
|
struct List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D;
|
|
// SharpNav.Collections.Generic.PriorityQueue`1<SharpNav.Node>
|
|
struct PriorityQueue_1_tDAFF5A46B51D194C5600ACC2992AEE432ED1862D;
|
|
// SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>
|
|
struct ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B;
|
|
// SharpNav.Collections.Generic.ProximityGrid`1<System.Object>
|
|
struct ProximityGrid_1_t6EB3960354ABC8EC5C15FC278DD0879E3C47368A;
|
|
// SharpNav.Collections.Generic.ProximityGrid`1/Item<SharpNav.Crowds.Agent>[]
|
|
struct ItemU5BU5D_t85643518AB390DAAC78B22111C665D3C591DF325;
|
|
// SharpNav.Crowds.Agent[]
|
|
struct AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125;
|
|
// SharpNav.Crowds.AgentAnimation[]
|
|
struct AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918;
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
// System.Char[]
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
// SharpNav.Crowds.CrowdNeighbor[]
|
|
struct CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// SharpNav.Pathfinding.Link[]
|
|
struct LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4;
|
|
// SharpNav.Pathfinding.MeshTile[]
|
|
struct MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// SharpNav.Pathfinding.OffMeshConnection[]
|
|
struct OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923;
|
|
// SharpNav.Pathfinding.Poly[]
|
|
struct PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812;
|
|
// SharpNav.RegionId[]
|
|
struct RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6;
|
|
// System.Single[]
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
// SharpNav.Geometry.Triangle3[]
|
|
struct Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C;
|
|
// SharpNav.Geometry.Vector3[]
|
|
struct Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3;
|
|
// SharpNav.Collections.BVTree/Node[]
|
|
struct NodeU5BU5D_t75E724E5D73A79F4AC55DFFD4062865029405FB0;
|
|
// SharpNav.Crowds.LocalBoundary/Segment[]
|
|
struct SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams[]
|
|
struct ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleCircle[]
|
|
struct ObstacleCircleU5BU5D_tF04CEC09F867C17D2EB4F00AFDA549D50A710AA3;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleSegment[]
|
|
struct ObstacleSegmentU5BU5D_tA56A9F60E25E4F687A9C851F8A2E153F544B3EEC;
|
|
// SharpNav.Crowds.PathQueue/PathQuery[]
|
|
struct PathQueryU5BU5D_tB2685D7CF87591D6D5C4FE0159437C6913DFEF99;
|
|
// SharpNav.PolyMeshDetail/MeshData[]
|
|
struct MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1;
|
|
// SharpNav.PolyMeshDetail/TriangleData[]
|
|
struct TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484;
|
|
// SharpNav.Crowds.Agent
|
|
struct Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9;
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
|
|
// System.ArgumentOutOfRangeException
|
|
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
|
|
// SharpNav.Collections.BVTree
|
|
struct BVTree_t626E20B2799F0707AB781431B7ED171053FC9966;
|
|
// System.Globalization.Calendar
|
|
struct Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B;
|
|
// System.Globalization.CompareInfo
|
|
struct CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57;
|
|
// SharpNav.Crowds.Crowd
|
|
struct Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E;
|
|
// System.Globalization.CultureData
|
|
struct CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D;
|
|
// System.Globalization.CultureInfo
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0;
|
|
// System.Globalization.DateTimeFormatInfo
|
|
struct DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A;
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// System.Collections.IEnumerator
|
|
struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
|
|
// System.IndexOutOfRangeException
|
|
struct IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82;
|
|
// SharpNav.Pathfinding.Link
|
|
struct Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1;
|
|
// SharpNav.Crowds.LocalBoundary
|
|
struct LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429;
|
|
// SharpNav.Pathfinding.MeshTile
|
|
struct MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705;
|
|
// SharpNav.NavMeshBuilder
|
|
struct NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358;
|
|
// SharpNav.NavMeshQuery
|
|
struct NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9;
|
|
// SharpNav.Node
|
|
struct Node_t76EA16C5443D796CC693D1FE0C68B9FE42759CE9;
|
|
// SharpNav.NodePool
|
|
struct NodePool_t171D656A620ED6862C2181316D1B9B750E8B8A6D;
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
|
|
// System.Globalization.NumberFormatInfo
|
|
struct NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery
|
|
struct ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD;
|
|
// SharpNav.Pathfinding.OffMeshConnection
|
|
struct OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E;
|
|
// SharpNav.Crowds.PathCorridor
|
|
struct PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760;
|
|
// SharpNav.Crowds.PathQueue
|
|
struct PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D;
|
|
// SharpNav.Pathfinding.PathfindingCommon
|
|
struct PathfindingCommon_t53A8646E5E8202EF1642F78A8187D810238A3166;
|
|
// SharpNav.Pathfinding.Poly
|
|
struct Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E;
|
|
// System.Random
|
|
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8;
|
|
// SharpNav.Region
|
|
struct Region_tA2C133553645AE18A23159FEE070519055CA99AF;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// System.String
|
|
struct String_t;
|
|
// System.Globalization.TextInfo
|
|
struct TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4;
|
|
// SharpNav.TiledNavMesh
|
|
struct TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF;
|
|
// System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
struct NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4;
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
struct RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA;
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2
|
|
struct U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E;
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4
|
|
struct U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574;
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3
|
|
struct U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5;
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0
|
|
struct U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3;
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1
|
|
struct U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769;
|
|
// SharpNav.Collections.BVTree/Node/CompareX
|
|
struct CompareX_tBC8AB67ABE4853903403A1AE8E033F1C91EE96B7;
|
|
// SharpNav.Collections.BVTree/Node/CompareY
|
|
struct CompareY_tDC3045B91007D1DB44ADCAB5BE039AA009D5B2AF;
|
|
// SharpNav.Collections.BVTree/Node/CompareZ
|
|
struct CompareZ_t5A57F6664F1F4AB3A57395E24DA179A2A0171F66;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9_il2cpp_TypeInfo_var;
|
|
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* BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_t9E2774F577334D1C2B3BC9BB4E27B22E933C9B8E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_tA8A937F9C165E75401EA151B1E931B7CF40C4B93_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_t17EEB4D4C1C3553585755D0B87E7F91FAEA4329B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_tFFA77A16DB3E55535387825C4F54E249CD85095A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_tA1C5173173244040E009490118CB7D92233346D7_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RegionFlags_t5F4D2577AE0094763D0AD4DCDB101F3278818DDA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral04B19EA6DD8B22EF3FE31F40502F6087A1389155;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0A273177CF6AA9BE6A555A4091172C88BD968A3F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral191F077951843ECB50AF027A0C627A35A304CD7B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral21EE367ABB11BEF0B9CF540FDB7EDD91C1A579A9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral4D8D9C94AC5DA5FCED2EC8A64E10E714A2515C30;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral54A5516FEEADDD9BAA7B4809CC706272FC2FE5B6;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral56E8B8AA35387D33D9D74E42B55118DA2CFC3917;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7D75D5884F9E9E34453F5314049FD1BC60BA2A42;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral80A75177AEE09C94944052B7950607896A0B4144;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral996E5360F80E16B2189CC1E536C91CE68083F694;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralBC514205F86F83C2C8B30BF005ABEB327BE428CF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD849EC3A4047CBF0EF6D6807E5A08FFE1B8106E8;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE8FDBBA5D9EA79751DDA519E9D6286CA2CC3347D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFCAD6572759BA264A7B9B9106CCB401DB355CAD7;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Crowd_AddNeighbour_m8730C0F8516A598B8FA7870265989667739C4B8A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ProximityGrid_1_AddItem_m2D91E3157EC546988F45B5E092C80B48AEF4DA60_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ProximityGrid_1_Clear_mC2D60C98829F49AAE0E7036868FA38F54A8D1C28_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ProximityGrid_1_QueryItems_m64ACF8218B001A3C12E1EBE08F8326CAC4A5050A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ProximityGrid_1__ctor_m6DA531CC311138D42F0D2AEB8229042872928810_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* RegionId_WithFlags_mF89F81A66AB68F72E520E1B651BD6C581452247F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* RegionId_WithoutFlags_m4ABE1F052B232AB4B9E298669D033C52ED186859_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CFromFloatU3Ed__2_System_Collections_IEnumerator_Reset_m7988672C2D96C94CFB43F6F35C99A4845E6D09C8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CFromIndexedFloatU3Ed__4_System_Collections_IEnumerator_Reset_mF895565DE765C5B70A7DF71F1F0F90868E4282CC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CFromIndexedVector3U3Ed__3_System_Collections_IEnumerator_Reset_m71DF58346A723603F0A48ED0775365B69B2D47AF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CFromTriangleU3Ed__0_System_Collections_IEnumerator_Reset_m1B64445F3A54F3AD5BF63995B585EF11830A87E0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CFromVector3U3Ed__1_System_Collections_IEnumerator_Reset_mDE1615E4B023E0D6CF3ED2131D1B04C58B072B1E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Vector2_get_Item_m7D399D8C10C3F98C7174F2F99267834C2A784A56_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Vector2_set_Item_m2A6F69DD888D8BFE1D79FC88282E351859AE9D0E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Vector3_get_Item_m95F8CDA96342BE16730F139066C0DD99E70DD9EA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Vector3_set_Item_m22C301D698B8464EEE8387B1615A40FF81073B4D_RuntimeMethod_var;
|
|
struct CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_com;
|
|
struct CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_pinvoke;
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_com;
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_pinvoke;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125;
|
|
struct AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918;
|
|
struct CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938;
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
struct LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4;
|
|
struct MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923;
|
|
struct PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812;
|
|
struct RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6;
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
struct Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C;
|
|
struct Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3;
|
|
struct SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0;
|
|
struct ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F;
|
|
struct MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1;
|
|
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.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.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<System.Single>
|
|
struct List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ____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;
|
|
};
|
|
|
|
// SharpNav.Collections.BVTree
|
|
struct BVTree_t626E20B2799F0707AB781431B7ED171053FC9966 : public RuntimeObject
|
|
{
|
|
// SharpNav.Collections.BVTree/Node[] SharpNav.Collections.BVTree::nodes
|
|
NodeU5BU5D_t75E724E5D73A79F4AC55DFFD4062865029405FB0* ___nodes_3;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.BoundarySideExtensions
|
|
struct BoundarySideExtensions_t7ADFF3746C5C566F917C77C6EC217A5C42125D51 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// SharpNav.Geometry.Containment
|
|
struct Containment_tD0747D53D06DE2D310EF53DB93316A2858A49F6C : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// System.Globalization.CultureInfo
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0 : public RuntimeObject
|
|
{
|
|
// System.Boolean System.Globalization.CultureInfo::m_isReadOnly
|
|
bool ___m_isReadOnly_3;
|
|
// System.Int32 System.Globalization.CultureInfo::cultureID
|
|
int32_t ___cultureID_4;
|
|
// System.Int32 System.Globalization.CultureInfo::parent_lcid
|
|
int32_t ___parent_lcid_5;
|
|
// System.Int32 System.Globalization.CultureInfo::datetime_index
|
|
int32_t ___datetime_index_6;
|
|
// System.Int32 System.Globalization.CultureInfo::number_index
|
|
int32_t ___number_index_7;
|
|
// System.Int32 System.Globalization.CultureInfo::default_calendar_type
|
|
int32_t ___default_calendar_type_8;
|
|
// System.Boolean System.Globalization.CultureInfo::m_useUserOverride
|
|
bool ___m_useUserOverride_9;
|
|
// System.Globalization.NumberFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::numInfo
|
|
NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472* ___numInfo_10;
|
|
// System.Globalization.DateTimeFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::dateTimeInfo
|
|
DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A* ___dateTimeInfo_11;
|
|
// System.Globalization.TextInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::textInfo
|
|
TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___textInfo_12;
|
|
// System.String System.Globalization.CultureInfo::m_name
|
|
String_t* ___m_name_13;
|
|
// System.String System.Globalization.CultureInfo::englishname
|
|
String_t* ___englishname_14;
|
|
// System.String System.Globalization.CultureInfo::nativename
|
|
String_t* ___nativename_15;
|
|
// System.String System.Globalization.CultureInfo::iso3lang
|
|
String_t* ___iso3lang_16;
|
|
// System.String System.Globalization.CultureInfo::iso2lang
|
|
String_t* ___iso2lang_17;
|
|
// System.String System.Globalization.CultureInfo::win3lang
|
|
String_t* ___win3lang_18;
|
|
// System.String System.Globalization.CultureInfo::territory
|
|
String_t* ___territory_19;
|
|
// System.String[] System.Globalization.CultureInfo::native_calendar_names
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___native_calendar_names_20;
|
|
// System.Globalization.CompareInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::compareInfo
|
|
CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57* ___compareInfo_21;
|
|
// System.Void* System.Globalization.CultureInfo::textinfo_data
|
|
void* ___textinfo_data_22;
|
|
// System.Int32 System.Globalization.CultureInfo::m_dataItem
|
|
int32_t ___m_dataItem_23;
|
|
// System.Globalization.Calendar System.Globalization.CultureInfo::calendar
|
|
Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B* ___calendar_24;
|
|
// System.Globalization.CultureInfo System.Globalization.CultureInfo::parent_culture
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___parent_culture_25;
|
|
// System.Boolean System.Globalization.CultureInfo::constructed
|
|
bool ___constructed_26;
|
|
// System.Byte[] System.Globalization.CultureInfo::cached_serialized_form
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___cached_serialized_form_27;
|
|
// System.Globalization.CultureData System.Globalization.CultureInfo::m_cultureData
|
|
CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D* ___m_cultureData_28;
|
|
// System.Boolean System.Globalization.CultureInfo::m_isInherited
|
|
bool ___m_isInherited_29;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Globalization.CultureInfo
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_pinvoke
|
|
{
|
|
int32_t ___m_isReadOnly_3;
|
|
int32_t ___cultureID_4;
|
|
int32_t ___parent_lcid_5;
|
|
int32_t ___datetime_index_6;
|
|
int32_t ___number_index_7;
|
|
int32_t ___default_calendar_type_8;
|
|
int32_t ___m_useUserOverride_9;
|
|
NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472* ___numInfo_10;
|
|
DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A* ___dateTimeInfo_11;
|
|
TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___textInfo_12;
|
|
char* ___m_name_13;
|
|
char* ___englishname_14;
|
|
char* ___nativename_15;
|
|
char* ___iso3lang_16;
|
|
char* ___iso2lang_17;
|
|
char* ___win3lang_18;
|
|
char* ___territory_19;
|
|
char** ___native_calendar_names_20;
|
|
CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57* ___compareInfo_21;
|
|
void* ___textinfo_data_22;
|
|
int32_t ___m_dataItem_23;
|
|
Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B* ___calendar_24;
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_pinvoke* ___parent_culture_25;
|
|
int32_t ___constructed_26;
|
|
Il2CppSafeArray/*NONE*/* ___cached_serialized_form_27;
|
|
CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_pinvoke* ___m_cultureData_28;
|
|
int32_t ___m_isInherited_29;
|
|
};
|
|
// Native definition for COM marshalling of System.Globalization.CultureInfo
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_com
|
|
{
|
|
int32_t ___m_isReadOnly_3;
|
|
int32_t ___cultureID_4;
|
|
int32_t ___parent_lcid_5;
|
|
int32_t ___datetime_index_6;
|
|
int32_t ___number_index_7;
|
|
int32_t ___default_calendar_type_8;
|
|
int32_t ___m_useUserOverride_9;
|
|
NumberFormatInfo_t8E26808B202927FEBF9064FCFEEA4D6E076E6472* ___numInfo_10;
|
|
DateTimeFormatInfo_t0457520F9FA7B5C8EAAEB3AD50413B6AEEB7458A* ___dateTimeInfo_11;
|
|
TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___textInfo_12;
|
|
Il2CppChar* ___m_name_13;
|
|
Il2CppChar* ___englishname_14;
|
|
Il2CppChar* ___nativename_15;
|
|
Il2CppChar* ___iso3lang_16;
|
|
Il2CppChar* ___iso2lang_17;
|
|
Il2CppChar* ___win3lang_18;
|
|
Il2CppChar* ___territory_19;
|
|
Il2CppChar** ___native_calendar_names_20;
|
|
CompareInfo_t1B1A6AC3486B570C76ABA52149C9BD4CD82F9E57* ___compareInfo_21;
|
|
void* ___textinfo_data_22;
|
|
int32_t ___m_dataItem_23;
|
|
Calendar_t0A117CC7532A54C17188C2EFEA1F79DB20DF3A3B* ___calendar_24;
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_marshaled_com* ___parent_culture_25;
|
|
int32_t ___constructed_26;
|
|
Il2CppSafeArray/*NONE*/* ___cached_serialized_form_27;
|
|
CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D_marshaled_com* ___m_cultureData_28;
|
|
int32_t ___m_isInherited_29;
|
|
};
|
|
|
|
// SharpNav.Geometry.Distance
|
|
struct Distance_tC8C70652668EB6182AE7BD0A6A612F208EAC2E7C : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// SharpNav.Geometry.Intersection
|
|
struct Intersection_t490C4DCC9D72084B89FEAA9D7315FC763DEF5FE4 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// 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.NavMeshBuilder
|
|
struct NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358 : public RuntimeObject
|
|
{
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo SharpNav.NavMeshBuilder::header
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* ___header_0;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.NavMeshBuilder::navVerts
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___navVerts_1;
|
|
// SharpNav.Pathfinding.Poly[] SharpNav.NavMeshBuilder::navPolys
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* ___navPolys_2;
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.NavMeshBuilder::navDMeshes
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* ___navDMeshes_3;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.NavMeshBuilder::navDVerts
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___navDVerts_4;
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.NavMeshBuilder::navDTris
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___navDTris_5;
|
|
// SharpNav.Collections.BVTree SharpNav.NavMeshBuilder::navBvTree
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* ___navBvTree_6;
|
|
// SharpNav.Pathfinding.OffMeshConnection[] SharpNav.NavMeshBuilder::offMeshConnections
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* ___offMeshConnections_7;
|
|
};
|
|
|
|
// SharpNav.Crowds.PathQueue
|
|
struct PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D : public RuntimeObject
|
|
{
|
|
// SharpNav.Crowds.PathQueue/PathQuery[] SharpNav.Crowds.PathQueue::queue
|
|
PathQueryU5BU5D_tB2685D7CF87591D6D5C4FE0159437C6913DFEF99* ___queue_2;
|
|
// System.Int32 SharpNav.Crowds.PathQueue::nextHandle
|
|
int32_t ___nextHandle_3;
|
|
// System.Int32 SharpNav.Crowds.PathQueue::maxPathSize
|
|
int32_t ___maxPathSize_4;
|
|
// System.Int32 SharpNav.Crowds.PathQueue::queueHead
|
|
int32_t ___queueHead_5;
|
|
// SharpNav.NavMeshQuery SharpNav.Crowds.PathQueue::navquery
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___navquery_6;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon
|
|
struct PathfindingCommon_t53A8646E5E8202EF1642F78A8187D810238A3166 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable
|
|
struct TriangleEnumerable_t7E7965E50FCD1371AA0226E2C3672E4873A023C3 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// 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.Geometry.Vector3Extensions
|
|
struct Vector3Extensions_tC590C7110D95E3D4AAF6D201D28BCBE68D8177FC : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
struct RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.PolyVertex/RoughYEqualityComparer::epsilonY
|
|
int32_t ___epsilonY_2;
|
|
};
|
|
|
|
// System.Nullable`1<System.Boolean>
|
|
struct Nullable_1_t78F453FADB4A9F50F267A4E349019C34410D1A01
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
bool ___value_1;
|
|
};
|
|
|
|
// System.Nullable`1<System.Int32>
|
|
struct Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
int32_t ___value_1;
|
|
};
|
|
|
|
// SharpNav.Crowds.AgentParams
|
|
struct AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3
|
|
{
|
|
// System.Single SharpNav.Crowds.AgentParams::Radius
|
|
float ___Radius_0;
|
|
// System.Single SharpNav.Crowds.AgentParams::Height
|
|
float ___Height_1;
|
|
// System.Single SharpNav.Crowds.AgentParams::MaxAcceleration
|
|
float ___MaxAcceleration_2;
|
|
// System.Single SharpNav.Crowds.AgentParams::MaxSpeed
|
|
float ___MaxSpeed_3;
|
|
// System.Single SharpNav.Crowds.AgentParams::CollisionQueryRange
|
|
float ___CollisionQueryRange_4;
|
|
// System.Single SharpNav.Crowds.AgentParams::PathOptimizationRange
|
|
float ___PathOptimizationRange_5;
|
|
// System.Single SharpNav.Crowds.AgentParams::SeparationWeight
|
|
float ___SeparationWeight_6;
|
|
// SharpNav.Crowds.UpdateFlags SharpNav.Crowds.AgentParams::UpdateFlags
|
|
int32_t ___UpdateFlags_7;
|
|
// System.Byte SharpNav.Crowds.AgentParams::ObstacleAvoidanceType
|
|
uint8_t ___ObstacleAvoidanceType_8;
|
|
// System.Byte SharpNav.Crowds.AgentParams::QueryFilterType
|
|
uint8_t ___QueryFilterType_9;
|
|
};
|
|
|
|
// 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.Crowds.CrowdNeighbor
|
|
struct CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212
|
|
{
|
|
// System.Int32 SharpNav.Crowds.CrowdNeighbor::Index
|
|
int32_t ___Index_0;
|
|
// System.Single SharpNav.Crowds.CrowdNeighbor::Distance
|
|
float ___Distance_1;
|
|
};
|
|
|
|
// System.Double
|
|
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
|
|
{
|
|
// System.Double System.Double::m_value
|
|
double ___m_value_0;
|
|
};
|
|
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
|
|
{
|
|
};
|
|
|
|
// 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.SpanReference
|
|
struct SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793
|
|
{
|
|
// System.Int32 SharpNav.SpanReference::x
|
|
int32_t ___x_0;
|
|
// System.Int32 SharpNav.SpanReference::y
|
|
int32_t ___y_1;
|
|
// System.Int32 SharpNav.SpanReference::index
|
|
int32_t ___index_2;
|
|
};
|
|
|
|
// System.UInt32
|
|
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
|
|
{
|
|
// System.UInt32 System.UInt32::m_value
|
|
uint32_t ___m_value_0;
|
|
};
|
|
|
|
// SharpNav.Geometry.Vector2
|
|
struct Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2
|
|
{
|
|
// System.Single SharpNav.Geometry.Vector2::X
|
|
float ___X_1;
|
|
// System.Single SharpNav.Geometry.Vector2::Y
|
|
float ___Y_2;
|
|
};
|
|
|
|
// 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.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams
|
|
struct ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136
|
|
{
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::VelBias
|
|
float ___VelBias_0;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::WeightDesVel
|
|
float ___WeightDesVel_1;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::WeightCurVel
|
|
float ___WeightCurVel_2;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::WeightSide
|
|
float ___WeightSide_3;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::WeightToi
|
|
float ___WeightToi_4;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::HorizTime
|
|
float ___HorizTime_5;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::GridSize
|
|
int32_t ___GridSize_6;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::AdaptiveDivs
|
|
int32_t ___AdaptiveDivs_7;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::AdaptiveRings
|
|
int32_t ___AdaptiveRings_8;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams::AdaptiveDepth
|
|
int32_t ___AdaptiveDepth_9;
|
|
};
|
|
|
|
// 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.Nullable`1<SharpNav.PolyVertex>
|
|
struct Nullable_1_tA1C5173173244040E009490118CB7D92233346D7
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___value_1;
|
|
};
|
|
|
|
// System.Nullable`1<SharpNav.RegionId>
|
|
struct Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___value_1;
|
|
};
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.Vector2i>
|
|
struct Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___value_1;
|
|
};
|
|
|
|
// SharpNav.Crowds.Agent
|
|
struct Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9 : public RuntimeObject
|
|
{
|
|
// System.Boolean SharpNav.Crowds.Agent::active
|
|
bool ___active_2;
|
|
// SharpNav.Crowds.AgentState SharpNav.Crowds.Agent::state
|
|
int32_t ___state_3;
|
|
// System.Boolean SharpNav.Crowds.Agent::partial
|
|
bool ___partial_4;
|
|
// SharpNav.Crowds.PathCorridor SharpNav.Crowds.Agent::corridor
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* ___corridor_5;
|
|
// SharpNav.Crowds.LocalBoundary SharpNav.Crowds.Agent::boundary
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* ___boundary_6;
|
|
// System.Single SharpNav.Crowds.Agent::topologyOptTime
|
|
float ___topologyOptTime_7;
|
|
// SharpNav.Crowds.CrowdNeighbor[] SharpNav.Crowds.Agent::neighbors
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* ___neighbors_8;
|
|
// System.Int32 SharpNav.Crowds.Agent::numNeis
|
|
int32_t ___numNeis_9;
|
|
// System.Single SharpNav.Crowds.Agent::DesiredSpeed
|
|
float ___DesiredSpeed_10;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::currentPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___currentPos_11;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::Disp
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Disp_12;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::DesiredVel
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___DesiredVel_13;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::NVel
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___NVel_14;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::Vel
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___Vel_15;
|
|
// SharpNav.Crowds.AgentParams SharpNav.Crowds.Agent::Parameters
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 ___Parameters_16;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Crowds.Agent::CornerVerts
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___CornerVerts_17;
|
|
// System.Int32[] SharpNav.Crowds.Agent::CornerFlags
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___CornerFlags_18;
|
|
// System.Int32[] SharpNav.Crowds.Agent::CornerPolys
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___CornerPolys_19;
|
|
// System.Int32 SharpNav.Crowds.Agent::numCorners
|
|
int32_t ___numCorners_20;
|
|
// SharpNav.Crowds.TargetState SharpNav.Crowds.Agent::targetState
|
|
int32_t ___targetState_21;
|
|
// System.Int32 SharpNav.Crowds.Agent::TargetRef
|
|
int32_t ___TargetRef_22;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::targetPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___targetPos_23;
|
|
// System.Int32 SharpNav.Crowds.Agent::TargetPathqRef
|
|
int32_t ___TargetPathqRef_24;
|
|
// System.Boolean SharpNav.Crowds.Agent::TargetReplan
|
|
bool ___TargetReplan_25;
|
|
// System.Single SharpNav.Crowds.Agent::TargetReplanTime
|
|
float ___TargetReplanTime_26;
|
|
// System.Int32 SharpNav.Crowds.Agent::agentIndex
|
|
int32_t ___agentIndex_27;
|
|
};
|
|
|
|
// SharpNav.Crowds.AgentAnimation
|
|
struct AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5
|
|
{
|
|
// System.Boolean SharpNav.Crowds.AgentAnimation::<Active>k__BackingField
|
|
bool ___U3CActiveU3Ek__BackingField_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.AgentAnimation::InitPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___InitPos_1;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.AgentAnimation::StartPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___StartPos_2;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.AgentAnimation::EndPos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___EndPos_3;
|
|
// System.Int32 SharpNav.Crowds.AgentAnimation::PolyRef
|
|
int32_t ___PolyRef_4;
|
|
// System.Single SharpNav.Crowds.AgentAnimation::T
|
|
float ___T_5;
|
|
// System.Single SharpNav.Crowds.AgentAnimation::TMax
|
|
float ___TMax_6;
|
|
};
|
|
// Native definition for P/Invoke marshalling of SharpNav.Crowds.AgentAnimation
|
|
struct AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5_marshaled_pinvoke
|
|
{
|
|
int32_t ___U3CActiveU3Ek__BackingField_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___InitPos_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___StartPos_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___EndPos_3;
|
|
int32_t ___PolyRef_4;
|
|
float ___T_5;
|
|
float ___TMax_6;
|
|
};
|
|
// Native definition for COM marshalling of SharpNav.Crowds.AgentAnimation
|
|
struct AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5_marshaled_com
|
|
{
|
|
int32_t ___U3CActiveU3Ek__BackingField_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___InitPos_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___StartPos_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___EndPos_3;
|
|
int32_t ___PolyRef_4;
|
|
float ___T_5;
|
|
float ___TMax_6;
|
|
};
|
|
|
|
// 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.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;
|
|
};
|
|
|
|
// SharpNav.Crowds.Crowd
|
|
struct Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Crowds.Crowd::maxAgents
|
|
int32_t ___maxAgents_4;
|
|
// SharpNav.Crowds.Agent[] SharpNav.Crowds.Crowd::agents
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___agents_5;
|
|
// SharpNav.Crowds.AgentAnimation[] SharpNav.Crowds.Crowd::agentAnims
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* ___agentAnims_6;
|
|
// SharpNav.Crowds.PathQueue SharpNav.Crowds.Crowd::pathq
|
|
PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* ___pathq_7;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams[] SharpNav.Crowds.Crowd::obstacleQueryParams
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* ___obstacleQueryParams_8;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery SharpNav.Crowds.Crowd::obstacleQuery
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* ___obstacleQuery_9;
|
|
// SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent> SharpNav.Crowds.Crowd::grid
|
|
ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* ___grid_10;
|
|
// System.Int32[] SharpNav.Crowds.Crowd::pathResult
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___pathResult_11;
|
|
// System.Int32 SharpNav.Crowds.Crowd::maxPathResult
|
|
int32_t ___maxPathResult_12;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Crowd::ext
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___ext_13;
|
|
// System.Int32 SharpNav.Crowds.Crowd::velocitySampleCount
|
|
int32_t ___velocitySampleCount_14;
|
|
// SharpNav.NavMeshQuery SharpNav.Crowds.Crowd::navQuery
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___navQuery_15;
|
|
};
|
|
|
|
// 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.Crowds.LocalBoundary
|
|
struct LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429 : public RuntimeObject
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.LocalBoundary::center
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___center_2;
|
|
// SharpNav.Crowds.LocalBoundary/Segment[] SharpNav.Crowds.LocalBoundary::segs
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* ___segs_3;
|
|
// System.Int32 SharpNav.Crowds.LocalBoundary::segCount
|
|
int32_t ___segCount_4;
|
|
// System.Int32[] SharpNav.Crowds.LocalBoundary::polys
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___polys_5;
|
|
// System.Int32 SharpNav.Crowds.LocalBoundary::numPolys
|
|
int32_t ___numPolys_6;
|
|
};
|
|
|
|
// 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.Crowds.ObstacleAvoidanceQuery
|
|
struct ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD : public RuntimeObject
|
|
{
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams SharpNav.Crowds.ObstacleAvoidanceQuery::parameters
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 ___parameters_2;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery::invHorizTime
|
|
float ___invHorizTime_3;
|
|
// System.Single SharpNav.Crowds.ObstacleAvoidanceQuery::invVmax
|
|
float ___invVmax_4;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery::maxCircles
|
|
int32_t ___maxCircles_5;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleCircle[] SharpNav.Crowds.ObstacleAvoidanceQuery::circles
|
|
ObstacleCircleU5BU5D_tF04CEC09F867C17D2EB4F00AFDA549D50A710AA3* ___circles_6;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery::numCircles
|
|
int32_t ___numCircles_7;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery::maxSegments
|
|
int32_t ___maxSegments_8;
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleSegment[] SharpNav.Crowds.ObstacleAvoidanceQuery::segments
|
|
ObstacleSegmentU5BU5D_tA56A9F60E25E4F687A9C851F8A2E153F544B3EEC* ___segments_9;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery::numSegments
|
|
int32_t ___numSegments_10;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.OffMeshConnection
|
|
struct OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E : public RuntimeObject
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.OffMeshConnection::<Pos0>k__BackingField
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___U3CPos0U3Ek__BackingField_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.OffMeshConnection::<Pos1>k__BackingField
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___U3CPos1U3Ek__BackingField_1;
|
|
// System.Single SharpNav.Pathfinding.OffMeshConnection::<Radius>k__BackingField
|
|
float ___U3CRadiusU3Ek__BackingField_2;
|
|
// System.Int32 SharpNav.Pathfinding.OffMeshConnection::<Poly>k__BackingField
|
|
int32_t ___U3CPolyU3Ek__BackingField_3;
|
|
// SharpNav.Pathfinding.OffMeshConnectionFlags SharpNav.Pathfinding.OffMeshConnection::<Flags>k__BackingField
|
|
uint8_t ___U3CFlagsU3Ek__BackingField_4;
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.OffMeshConnection::<Side>k__BackingField
|
|
uint8_t ___U3CSideU3Ek__BackingField_5;
|
|
// System.Object SharpNav.Pathfinding.OffMeshConnection::<Tag>k__BackingField
|
|
RuntimeObject* ___U3CTagU3Ek__BackingField_6;
|
|
};
|
|
|
|
// SharpNav.Crowds.PathCorridor
|
|
struct PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760 : public RuntimeObject
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.PathCorridor::pos
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___pos_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.PathCorridor::target
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___target_1;
|
|
// System.Int32[] SharpNav.Crowds.PathCorridor::path
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___path_2;
|
|
// System.Int32 SharpNav.Crowds.PathCorridor::pathCount
|
|
int32_t ___pathCount_3;
|
|
// System.Int32 SharpNav.Crowds.PathCorridor::maxPath
|
|
int32_t ___maxPath_4;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// SharpNav.Region
|
|
struct Region_tA2C133553645AE18A23159FEE070519055CA99AF : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Region::spanCount
|
|
int32_t ___spanCount_0;
|
|
// SharpNav.RegionId SharpNav.Region::id
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___id_1;
|
|
// SharpNav.Area SharpNav.Region::areaType
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___areaType_2;
|
|
// System.Boolean SharpNav.Region::remap
|
|
bool ___remap_3;
|
|
// System.Boolean SharpNav.Region::visited
|
|
bool ___visited_4;
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId> SharpNav.Region::connections
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* ___connections_5;
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId> SharpNav.Region::floors
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* ___floors_6;
|
|
};
|
|
|
|
// SharpNav.Span
|
|
struct Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0
|
|
{
|
|
// System.Int32 SharpNav.Span::Minimum
|
|
int32_t ___Minimum_0;
|
|
// System.Int32 SharpNav.Span::Maximum
|
|
int32_t ___Maximum_1;
|
|
// SharpNav.Area SharpNav.Span::Area
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___Area_2;
|
|
};
|
|
|
|
// System.Globalization.TextInfo
|
|
struct TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4 : public RuntimeObject
|
|
{
|
|
// System.String System.Globalization.TextInfo::m_listSeparator
|
|
String_t* ___m_listSeparator_0;
|
|
// System.Boolean System.Globalization.TextInfo::m_isReadOnly
|
|
bool ___m_isReadOnly_1;
|
|
// System.String System.Globalization.TextInfo::m_cultureName
|
|
String_t* ___m_cultureName_2;
|
|
// System.Globalization.CultureData System.Globalization.TextInfo::m_cultureData
|
|
CultureData_tEEFDCF4ECA1BBF6C0C8C94EB3541657245598F9D* ___m_cultureData_3;
|
|
// System.String System.Globalization.TextInfo::m_textInfoName
|
|
String_t* ___m_textInfoName_4;
|
|
// System.Nullable`1<System.Boolean> System.Globalization.TextInfo::m_IsAsciiCasingSameAsInvariant
|
|
Nullable_1_t78F453FADB4A9F50F267A4E349019C34410D1A01 ___m_IsAsciiCasingSameAsInvariant_5;
|
|
// System.String System.Globalization.TextInfo::customCultureName
|
|
String_t* ___customCultureName_7;
|
|
// System.Int32 System.Globalization.TextInfo::m_nDataItem
|
|
int32_t ___m_nDataItem_8;
|
|
// System.Boolean System.Globalization.TextInfo::m_useUserOverride
|
|
bool ___m_useUserOverride_9;
|
|
// System.Int32 System.Globalization.TextInfo::m_win32LangID
|
|
int32_t ___m_win32LangID_10;
|
|
};
|
|
|
|
// SharpNav.Geometry.Triangle3
|
|
#pragma pack(push, tp, 1)
|
|
struct Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB
|
|
{
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::A
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___A_0;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::B
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___B_1;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::C
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___C_2;
|
|
};
|
|
#pragma pack(pop, tp)
|
|
|
|
// 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.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.Geometry.BBox2i>
|
|
struct Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___value_1;
|
|
};
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.Triangle3>
|
|
struct Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___value_1;
|
|
};
|
|
|
|
// SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>
|
|
struct ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B : public RuntimeObject
|
|
{
|
|
// System.Single SharpNav.Collections.Generic.ProximityGrid`1::invCellSize
|
|
float ___invCellSize_1;
|
|
// SharpNav.Collections.Generic.ProximityGrid`1/Item<T>[] SharpNav.Collections.Generic.ProximityGrid`1::pool
|
|
ItemU5BU5D_t85643518AB390DAAC78B22111C665D3C591DF325* ___pool_2;
|
|
// System.Int32 SharpNav.Collections.Generic.ProximityGrid`1::poolHead
|
|
int32_t ___poolHead_3;
|
|
// System.Int32[] SharpNav.Collections.Generic.ProximityGrid`1::buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___buckets_4;
|
|
// SharpNav.Geometry.BBox2i SharpNav.Collections.Generic.ProximityGrid`1::bounds
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___bounds_5;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// 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.Collections.BVTree/Node
|
|
struct Node_t7C791277DE530777708834350121D282BCF6062E
|
|
{
|
|
// SharpNav.PolyBounds SharpNav.Collections.BVTree/Node::Bounds
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 ___Bounds_0;
|
|
// System.Int32 SharpNav.Collections.BVTree/Node::Index
|
|
int32_t ___Index_1;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2
|
|
struct U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>2__current
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___U3CU3E2__current_1;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>l__initialThreadId
|
|
int32_t ___U3CU3El__initialThreadId_2;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::floatStride
|
|
int32_t ___floatStride_3;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>3__floatStride
|
|
int32_t ___U3CU3E3__floatStride_4;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::floatOffset
|
|
int32_t ___floatOffset_5;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>3__floatOffset
|
|
int32_t ___U3CU3E3__floatOffset_6;
|
|
// System.Single[] SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::vertices
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___vertices_7;
|
|
// System.Single[] SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>3__vertices
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___U3CU3E3__vertices_8;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::triCount
|
|
int32_t ___triCount_9;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<>3__triCount
|
|
int32_t ___U3CU3E3__triCount_10;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::<i>5__2
|
|
int32_t ___U3CiU3E5__2_11;
|
|
};
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4
|
|
struct U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>2__current
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___U3CU3E2__current_1;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>l__initialThreadId
|
|
int32_t ___U3CU3El__initialThreadId_2;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::floatOffset
|
|
int32_t ___floatOffset_3;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>3__floatOffset
|
|
int32_t ___U3CU3E3__floatOffset_4;
|
|
// System.Int32[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::indices
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___indices_5;
|
|
// System.Int32[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>3__indices
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___U3CU3E3__indices_6;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::indexOffset
|
|
int32_t ___indexOffset_7;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>3__indexOffset
|
|
int32_t ___U3CU3E3__indexOffset_8;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::floatStride
|
|
int32_t ___floatStride_9;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>3__floatStride
|
|
int32_t ___U3CU3E3__floatStride_10;
|
|
// System.Single[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::vertices
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___vertices_11;
|
|
// System.Single[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>3__vertices
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___U3CU3E3__vertices_12;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::triCount
|
|
int32_t ___triCount_13;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<>3__triCount
|
|
int32_t ___U3CU3E3__triCount_14;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::<i>5__2
|
|
int32_t ___U3CiU3E5__2_15;
|
|
};
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3
|
|
struct U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>2__current
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___U3CU3E2__current_1;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>l__initialThreadId
|
|
int32_t ___U3CU3El__initialThreadId_2;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::vertOffset
|
|
int32_t ___vertOffset_3;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>3__vertOffset
|
|
int32_t ___U3CU3E3__vertOffset_4;
|
|
// System.Int32[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::indices
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___indices_5;
|
|
// System.Int32[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>3__indices
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___U3CU3E3__indices_6;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::indexOffset
|
|
int32_t ___indexOffset_7;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>3__indexOffset
|
|
int32_t ___U3CU3E3__indexOffset_8;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::vertStride
|
|
int32_t ___vertStride_9;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>3__vertStride
|
|
int32_t ___U3CU3E3__vertStride_10;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::vertices
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___vertices_11;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>3__vertices
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___U3CU3E3__vertices_12;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::triCount
|
|
int32_t ___triCount_13;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<>3__triCount
|
|
int32_t ___U3CU3E3__triCount_14;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::<i>5__2
|
|
int32_t ___U3CiU3E5__2_15;
|
|
};
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0
|
|
struct U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<>2__current
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___U3CU3E2__current_1;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<>l__initialThreadId
|
|
int32_t ___U3CU3El__initialThreadId_2;
|
|
// SharpNav.Geometry.Triangle3[] SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::triangles
|
|
Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C* ___triangles_3;
|
|
// SharpNav.Geometry.Triangle3[] SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<>3__triangles
|
|
Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C* ___U3CU3E3__triangles_4;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::triOffset
|
|
int32_t ___triOffset_5;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<>3__triOffset
|
|
int32_t ___U3CU3E3__triOffset_6;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::triCount
|
|
int32_t ___triCount_7;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<>3__triCount
|
|
int32_t ___U3CU3E3__triCount_8;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::<i>5__2
|
|
int32_t ___U3CiU3E5__2_9;
|
|
};
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1
|
|
struct U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769 : public RuntimeObject
|
|
{
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>2__current
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___U3CU3E2__current_1;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>l__initialThreadId
|
|
int32_t ___U3CU3El__initialThreadId_2;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::vertStride
|
|
int32_t ___vertStride_3;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>3__vertStride
|
|
int32_t ___U3CU3E3__vertStride_4;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::vertices
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___vertices_5;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>3__vertices
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___U3CU3E3__vertices_6;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::vertOffset
|
|
int32_t ___vertOffset_7;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>3__vertOffset
|
|
int32_t ___U3CU3E3__vertOffset_8;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::triCount
|
|
int32_t ___triCount_9;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<>3__triCount
|
|
int32_t ___U3CU3E3__triCount_10;
|
|
// System.Int32 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::<i>5__2
|
|
int32_t ___U3CiU3E5__2_11;
|
|
};
|
|
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
// System.String System.ArgumentException::_paramName
|
|
String_t* ____paramName_18;
|
|
};
|
|
|
|
// System.IndexOutOfRangeException
|
|
struct IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
|
|
{
|
|
// System.Object System.ArgumentOutOfRangeException::_actualValue
|
|
RuntimeObject* ____actualValue_19;
|
|
};
|
|
|
|
// 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.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<System.Single>
|
|
struct List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Single>
|
|
|
|
// 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>
|
|
|
|
// SharpNav.Collections.BVTree
|
|
struct BVTree_t626E20B2799F0707AB781431B7ED171053FC9966_StaticFields
|
|
{
|
|
// SharpNav.Collections.BVTree/Node/CompareX SharpNav.Collections.BVTree::XComparer
|
|
CompareX_tBC8AB67ABE4853903403A1AE8E033F1C91EE96B7* ___XComparer_0;
|
|
// SharpNav.Collections.BVTree/Node/CompareY SharpNav.Collections.BVTree::YComparer
|
|
CompareY_tDC3045B91007D1DB44ADCAB5BE039AA009D5B2AF* ___YComparer_1;
|
|
// SharpNav.Collections.BVTree/Node/CompareZ SharpNav.Collections.BVTree::ZComparer
|
|
CompareZ_t5A57F6664F1F4AB3A57395E24DA179A2A0171F66* ___ZComparer_2;
|
|
};
|
|
|
|
// SharpNav.Collections.BVTree
|
|
|
|
// SharpNav.Pathfinding.BoundarySideExtensions
|
|
|
|
// SharpNav.Pathfinding.BoundarySideExtensions
|
|
|
|
// SharpNav.Geometry.Containment
|
|
|
|
// SharpNav.Geometry.Containment
|
|
|
|
// System.Globalization.CultureInfo
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_StaticFields
|
|
{
|
|
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::invariant_culture_info
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___invariant_culture_info_0;
|
|
// System.Object System.Globalization.CultureInfo::shared_table_lock
|
|
RuntimeObject* ___shared_table_lock_1;
|
|
// System.Globalization.CultureInfo System.Globalization.CultureInfo::default_current_culture
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___default_current_culture_2;
|
|
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentUICulture
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___s_DefaultThreadCurrentUICulture_34;
|
|
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentCulture
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___s_DefaultThreadCurrentCulture_35;
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_number
|
|
Dictionary_2_t9FA6D82CAFC18769F7515BB51D1C56DAE09381C3* ___shared_by_number_36;
|
|
// System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_name
|
|
Dictionary_2_tE1603CE612C16451D1E56FF4D4859D4FE4087C28* ___shared_by_name_37;
|
|
// System.Globalization.CultureInfo System.Globalization.CultureInfo::s_UserPreferredCultureInfoInAppX
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___s_UserPreferredCultureInfoInAppX_38;
|
|
// System.Boolean System.Globalization.CultureInfo::IsTaiwanSku
|
|
bool ___IsTaiwanSku_39;
|
|
};
|
|
|
|
// System.Globalization.CultureInfo
|
|
|
|
// SharpNav.Geometry.Distance
|
|
|
|
// SharpNav.Geometry.Distance
|
|
|
|
// SharpNav.Geometry.Intersection
|
|
|
|
// SharpNav.Geometry.Intersection
|
|
|
|
// SharpNav.Pathfinding.Link
|
|
|
|
// SharpNav.Pathfinding.Link
|
|
|
|
// SharpNav.Pathfinding.MeshTile
|
|
|
|
// SharpNav.Pathfinding.MeshTile
|
|
|
|
// SharpNav.NavMeshBuilder
|
|
|
|
// SharpNav.NavMeshBuilder
|
|
|
|
// SharpNav.Crowds.PathQueue
|
|
|
|
// SharpNav.Crowds.PathQueue
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable
|
|
|
|
// System.ValueType
|
|
|
|
// System.ValueType
|
|
|
|
// SharpNav.Geometry.Vector3Extensions
|
|
|
|
// SharpNav.Geometry.Vector3Extensions
|
|
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
|
|
// SharpNav.PolyVertex/RoughYEqualityComparer
|
|
|
|
// System.Nullable`1<System.Boolean>
|
|
|
|
// System.Nullable`1<System.Boolean>
|
|
|
|
// System.Nullable`1<System.Int32>
|
|
|
|
// System.Nullable`1<System.Int32>
|
|
|
|
// SharpNav.Crowds.AgentParams
|
|
|
|
// SharpNav.Crowds.AgentParams
|
|
|
|
// 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.Crowds.CrowdNeighbor
|
|
|
|
// SharpNav.Crowds.CrowdNeighbor
|
|
|
|
// System.Double
|
|
|
|
// System.Double
|
|
|
|
// System.Enum
|
|
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_StaticFields
|
|
{
|
|
// System.Char[] System.Enum::enumSeperatorCharArray
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___enumSeperatorCharArray_0;
|
|
};
|
|
|
|
// System.Enum
|
|
|
|
// 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.SpanReference
|
|
|
|
// SharpNav.SpanReference
|
|
|
|
// System.UInt32
|
|
|
|
// System.UInt32
|
|
|
|
// SharpNav.Geometry.Vector2
|
|
struct Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields
|
|
{
|
|
// System.String SharpNav.Geometry.Vector2::listSeparator
|
|
String_t* ___listSeparator_0;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::UnitX
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___UnitX_3;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::UnitY
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___UnitY_4;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Zero
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___Zero_5;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::One
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___One_6;
|
|
};
|
|
|
|
// SharpNav.Geometry.Vector2
|
|
|
|
// 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.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams
|
|
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams
|
|
|
|
// 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.Nullable`1<SharpNav.PolyVertex>
|
|
|
|
// System.Nullable`1<SharpNav.PolyVertex>
|
|
|
|
// System.Nullable`1<SharpNav.RegionId>
|
|
|
|
// System.Nullable`1<SharpNav.RegionId>
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.Vector2i>
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.Vector2i>
|
|
|
|
// SharpNav.Crowds.Agent
|
|
|
|
// SharpNav.Crowds.Agent
|
|
|
|
// SharpNav.Crowds.AgentAnimation
|
|
|
|
// SharpNav.Crowds.AgentAnimation
|
|
|
|
// SharpNav.Geometry.BBox2i
|
|
|
|
// SharpNav.Geometry.BBox2i
|
|
|
|
// SharpNav.Geometry.BBox3
|
|
|
|
// SharpNav.Geometry.BBox3
|
|
|
|
// SharpNav.ContourVertex
|
|
|
|
// SharpNav.ContourVertex
|
|
|
|
// SharpNav.Crowds.Crowd
|
|
|
|
// SharpNav.Crowds.Crowd
|
|
|
|
// System.Exception
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
|
|
// System.Exception
|
|
|
|
// SharpNav.Crowds.LocalBoundary
|
|
|
|
// SharpNav.Crowds.LocalBoundary
|
|
|
|
// SharpNav.Pathfinding.NavPoint
|
|
struct NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_StaticFields
|
|
{
|
|
// SharpNav.Pathfinding.NavPoint SharpNav.Pathfinding.NavPoint::Null
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 ___Null_0;
|
|
};
|
|
|
|
// SharpNav.Pathfinding.NavPoint
|
|
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery
|
|
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery
|
|
|
|
// SharpNav.Pathfinding.OffMeshConnection
|
|
|
|
// SharpNav.Pathfinding.OffMeshConnection
|
|
|
|
// SharpNav.Crowds.PathCorridor
|
|
|
|
// SharpNav.Crowds.PathCorridor
|
|
|
|
// SharpNav.Pathfinding.Poly
|
|
|
|
// SharpNav.Pathfinding.Poly
|
|
|
|
// SharpNav.PolyBounds
|
|
|
|
// SharpNav.PolyBounds
|
|
|
|
// SharpNav.Region
|
|
|
|
// SharpNav.Region
|
|
|
|
// SharpNav.Span
|
|
|
|
// SharpNav.Span
|
|
|
|
// System.Globalization.TextInfo
|
|
struct TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4_StaticFields
|
|
{
|
|
// System.Globalization.TextInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.TextInfo::s_Invariant
|
|
TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* ___s_Invariant_6;
|
|
};
|
|
|
|
// System.Globalization.TextInfo
|
|
|
|
// SharpNav.Geometry.Triangle3
|
|
|
|
// SharpNav.Geometry.Triangle3
|
|
|
|
// SharpNav.Crowds.LocalBoundary/Segment
|
|
|
|
// SharpNav.Crowds.LocalBoundary/Segment
|
|
|
|
// SharpNav.NavMeshQuery/QueryData
|
|
|
|
// SharpNav.NavMeshQuery/QueryData
|
|
|
|
// SharpNav.TiledNavMesh/TiledNavMeshParams
|
|
|
|
// SharpNav.TiledNavMesh/TiledNavMeshParams
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.BBox2i>
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.BBox2i>
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.Triangle3>
|
|
|
|
// System.Nullable`1<SharpNav.Geometry.Triangle3>
|
|
|
|
// SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>
|
|
|
|
// SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>
|
|
|
|
// SharpNav.NavMeshQuery
|
|
|
|
// SharpNav.NavMeshQuery
|
|
|
|
// System.SystemException
|
|
|
|
// System.SystemException
|
|
|
|
// SharpNav.TiledNavMesh
|
|
|
|
// SharpNav.TiledNavMesh
|
|
|
|
// SharpNav.Collections.BVTree/Node
|
|
|
|
// SharpNav.Collections.BVTree/Node
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1
|
|
|
|
// SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.IndexOutOfRangeException
|
|
|
|
// System.IndexOutOfRangeException
|
|
|
|
// System.NotSupportedException
|
|
|
|
// System.NotSupportedException
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// 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.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.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);
|
|
}
|
|
};
|
|
// 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.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.OffMeshConnection[]
|
|
struct OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* m_Items[1];
|
|
|
|
inline OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E** 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, OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* 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);
|
|
}
|
|
};
|
|
// 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;
|
|
}
|
|
};
|
|
// 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.Triangle3[]
|
|
struct Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB m_Items[1];
|
|
|
|
inline Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* 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, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB 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.Crowds.CrowdNeighbor[]
|
|
struct CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 m_Items[1];
|
|
|
|
inline CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212* 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, CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams[]
|
|
struct ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 m_Items[1];
|
|
|
|
inline ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136* 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, ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// SharpNav.Crowds.Agent[]
|
|
struct AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* m_Items[1];
|
|
|
|
inline Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9** 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, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// SharpNav.Crowds.AgentAnimation[]
|
|
struct AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5 m_Items[1];
|
|
|
|
inline AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5* 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, AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5 value)
|
|
{
|
|
m_Items[index] = 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.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;
|
|
}
|
|
};
|
|
|
|
|
|
// 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.Boolean System.Nullable`1<SharpNav.PolyVertex>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_gshared_inline (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7* __this, const RuntimeMethod* method) ;
|
|
// T System.Nullable`1<SharpNav.PolyVertex>::get_Value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD_gshared (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.RegionId>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_gshared_inline (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC* __this, const RuntimeMethod* method) ;
|
|
// T System.Nullable`1<SharpNav.RegionId>::get_Value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0_gshared (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<System.Int32>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_gshared_inline (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28* __this, const RuntimeMethod* method) ;
|
|
// T System.Nullable`1<System.Int32>::get_Value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA_gshared (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.RegionId>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_gshared_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, 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<SharpNav.RegionId>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_value, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<SharpNav.RegionId>::Contains(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_gshared (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_item, 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.RegionId>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_gshared_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __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) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Single>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12_gshared (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __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) ;
|
|
// T System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_gshared (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __this, int32_t ___0_index, 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.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.Single>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_gshared_inline (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __this, float ___0_item, 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.Boolean System.Nullable`1<SharpNav.Geometry.BBox2i>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_gshared_inline (Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.Geometry.Triangle3>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_gshared_inline (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6* __this, const RuntimeMethod* method) ;
|
|
// T System.Nullable`1<SharpNav.Geometry.Triangle3>::get_Value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B_gshared (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.Geometry.Vector2i>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_gshared_inline (Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.ProximityGrid`1<System.Object>::.ctor(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProximityGrid_1__ctor_m287F4CE64E543AD899CF31D3B6607E36399AEF70_gshared (ProximityGrid_1_t6EB3960354ABC8EC5C15FC278DD0879E3C47368A* __this, int32_t ___0_poolSize, float ___1_cellSize, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.ProximityGrid`1<System.Object>::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProximityGrid_1_Clear_m7D8704828195BBDEEA259D2EC954C02BEAAA47FE_gshared (ProximityGrid_1_t6EB3960354ABC8EC5C15FC278DD0879E3C47368A* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.ProximityGrid`1<System.Object>::AddItem(T,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ProximityGrid_1_AddItem_m90EA61A141B03F1868E2859B0F4647350B8116CE_gshared (ProximityGrid_1_t6EB3960354ABC8EC5C15FC278DD0879E3C47368A* __this, RuntimeObject* ___0_value, float ___1_minX, float ___2_minY, float ___3_maxX, float ___4_maxY, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Collections.Generic.ProximityGrid`1<System.Object>::QueryItems(System.Single,System.Single,System.Single,System.Single,T[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ProximityGrid_1_QueryItems_mCBEA971F225BD500F9147075E44296334868FD91_gshared (ProximityGrid_1_t6EB3960354ABC8EC5C15FC278DD0879E3C47368A* __this, float ___0_minX, float ___1_minY, float ___2_maxX, float ___3_maxY, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___4_values, int32_t ___5_maxVals, const RuntimeMethod* method) ;
|
|
|
|
// System.Void SharpNav.PolyMeshDetail/TriangleData::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleData__ctor_mE933394FF931E81C79CEDC7BE74173EBB947B7AA (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* __this, int32_t ___0_hash0, int32_t ___1_hash1, int32_t ___2_hash2, 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/TriangleData::GetTriFlags(SharpNav.PolyMeshDetail/TriangleData&,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleData_GetTriFlags_m918C5A10D33F6ACB870E42E33D9804D6CF36C50A (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* ___0_t, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___1_verts, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_vpoly, int32_t ___3_npoly, const RuntimeMethod* 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.Int32 SharpNav.PolyMeshDetail/TriangleData::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05 (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* __this, int32_t ___0_index, 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.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) ;
|
|
// 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 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 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.Void SharpNav.PolyVertex::ComponentMin(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_ComponentMin_mC6CD0BDD4905211F4C12E68194704C2093D523F5 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyVertex::ComponentMax(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_ComponentMax_mE9341EEF78FB48ACE734955300C924E59EBB7C2F (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.PolyVertex::Area2D(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_Area2D_m6AF45A792BC977461F873AFFC9FA461485195CB9 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, int32_t* ___3_area, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::IntersectProp(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IntersectProp_mF5BEAE5121E78989C6BC697997D612708600C5CF (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___3_d, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.PolyVertex::IsBetween(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IsBetween_mB119827883B4DB4355F78CF5DF356C6FF7CCA73A (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, 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.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::Equals(SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_Equals_mD2EB7355E68DEF466047E4F4D79BAD04C530C827 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_other, 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.PolyVertex>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_inline (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7*, const RuntimeMethod*))Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Nullable`1<SharpNav.PolyVertex>::get_Value()
|
|
inline PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA (*) (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7*, const RuntimeMethod*))Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_Equals_m52D6202057967CE6093D9AA20E54A378AC330A82 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Int32::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int32_GetHashCode_m253D60FF7527A483E91004B7A2366F13E225E295 (int32_t* __this, 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.String System.Int32::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __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.PolyVertex::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.RegionId::.ctor(System.Int32,SharpNav.RegionFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, int32_t ___0_id, int32_t ___1_flags, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.RegionId::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionId__ctor_mABF20B538252EC0BCD20E526F051EB44056F64C7 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, int32_t ___0_id, 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.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.Int32 SharpNav.RegionId::get_Id()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_get_Id_m4BF724F42EBF1F34DAECF0800D2D1CA6254B76CC (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.RegionFlags SharpNav.RegionId::get_Flags()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::get_IsNull()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.RegionId SharpNav.RegionId::FromRawBits(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D RegionId_FromRawBits_m50ADF2E5B2E24CF825319A80571A8B4A09E9BBB2 (int32_t ___0_bits, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::Equals(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_Equals_m9B069752DD11B97A2E719303D364EC9C612B2A0B (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, int32_t ___0_other, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::op_Equality(SharpNav.RegionId,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_op_Equality_m34A7713EF3286A7C6721174113EF904093079AE9 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_left, int32_t ___1_right, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.RegionId::Equals(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_other, 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.Boolean System.Nullable`1<SharpNav.RegionId>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_inline (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC*, const RuntimeMethod*))Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Nullable`1<SharpNav.RegionId>::get_Value()
|
|
inline RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0 (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D (*) (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC*, const RuntimeMethod*))Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0_gshared)(__this, method);
|
|
}
|
|
// System.Boolean System.Nullable`1<System.Int32>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_inline (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28*, const RuntimeMethod*))Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Nullable`1<System.Int32>::get_Value()
|
|
inline int32_t Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28*, const RuntimeMethod*))Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.RegionId::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_Equals_mB6FB4F2FF3321E3A78CC768DCB2F85574B429A29 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.RegionId::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_GetHashCode_mD3E83CA027E61844115FA338AEBEAC911BD0406F (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method) ;
|
|
// System.String System.Enum::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.RegionId::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionId_ToString_mBC22857655BD736F008B23F67154216AE5A81B4D (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Area SharpNav.Area::op_Implicit(System.Byte)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Area_op_Implicit_m86A988D06C20C2843BDC3981FECA5BCE41479DBD (uint8_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::.ctor()
|
|
inline void List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, const RuntimeMethod*))List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_gshared)(__this, 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.Boolean SharpNav.Region::get_IsBorder()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_get_IsBorder_mDA75074D98375CA310220B0E1DCA5E7B96229470 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<SharpNav.RegionId>::get_Count()
|
|
inline int32_t List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, const RuntimeMethod*))List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_gshared_inline)(__this, 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.RegionId>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7 (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, int32_t, const RuntimeMethod*))List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, int32_t ___0_index, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, int32_t, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D, const RuntimeMethod*))List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void SharpNav.Region::RemoveAdjacentNeighbours()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_RemoveAdjacentNeighbours_mC249D71C56A899A05FDA4B197FECC8EF32F0F835 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Area::op_Inequality(SharpNav.Area,SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Area_op_Inequality_mE5896F6717659B531C86E74BBFA4B388E5E69DEC (Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_left, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<SharpNav.RegionId>::Contains(T)
|
|
inline bool List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924 (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D, const RuntimeMethod*))List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_gshared)(__this, ___0_item, 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 SharpNav.Region::AddUniqueFloorRegion(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_AddUniqueFloorRegion_m892256A0A7A03E140855170EC6DA248287508AEA (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_n, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<SharpNav.RegionId>::Clear()
|
|
inline void List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*, const RuntimeMethod*))List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void SharpNav.Span::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Span__ctor_m2DC659B5C489590982F2B3DB13F750BAC9A4DDA4 (Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Span::.ctor(System.Int32,System.Int32,SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Span__ctor_mDE494DD7FDD8C7807A31C21C677D477D2B37ECF8 (Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* __this, int32_t ___0_min, int32_t ___1_max, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___2_area, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Span::get_Height()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Span_get_Height_mE8B91595E86472608FA35E1922731CB5DDF450F0 (Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.SpanReference::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpanReference__ctor_mA238044744F9491AD86C41E8CEC45DABA89BAE8F (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_i, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.SpanReference::get_X()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SpanReference_get_X_m6075F6AC90FAAAE15AF0C383D81EEF43252FC4B8_inline (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.SpanReference::get_Y()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SpanReference_get_Y_mBB0719B9ED32F95D0DEE98A8FE002EEDA95314C7_inline (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.SpanReference::get_Index()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SpanReference_get_Index_m36A5829E5B6709DCA22CFCA750389E57053AE106_inline (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo SharpNav.NavMeshBuilder::get_Header()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.TiledNavMesh::InitTileNavMesh(SharpNav.TiledNavMesh/TiledNavMeshParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_InitTileNavMesh_m23D54225194F7DB411CF77901CD961CBD5286476 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 ___0_parameters, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::AddTile(SharpNav.NavMeshBuilder,System.Int32,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_AddTile_mBAF286D9E9626A1B507F992F39A3AC1E51D044EA (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___0_data, int32_t ___1_lastRef, int32_t* ___2_result, 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.Pathfinding.MeshTile::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile__ctor_m089A9244276FE1F18600AA08A4B0427723604608 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Salt(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Salt_m7456EB81089AEFB511A446DE1ABDE81A6942B97F_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Next(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.MathHelper::Log2(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MathHelper_Log2_m843CEB787F15823CEDA43B868BD92272B6D7588A (int32_t ___0_v, 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) ;
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.TiledNavMesh::GetTileAt(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* TiledNavMesh_GetTileAt_mB24138CB6D80A70E0C2B7129C51D069F0DFA965D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_layer, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.Pathfinding.MeshTile::get_Next()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::DecodePolyIdTile(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_DecodePolyIdTile_mD6CA537716063373E68B8B9B63444C0755B78F9A (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::DecodePolyIdSalt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_DecodePolyIdSalt_mD1AF8302B0751A6B7D27AD3D80948374F9129A82 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::ComputeTileHash(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_ComputeTileHash_mEC9A422455E3C4547CF468C3454C09FAB8FA355E (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_mask, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_BVTree(SharpNav.Collections.BVTree)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_BVTree_mB6BF3F891F94BE1A4952BF33F0699D017B4B996A_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.NavMeshBuilder::get_NavVerts()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* NavMeshBuilder_get_NavVerts_mFCF96AB968B51C25093B36610D9969184916C979_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Verts(SharpNav.Geometry.Vector3[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Verts_m533F049E16AE0AE4D3FC4C644648591FF39C0DAA_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.Poly[] SharpNav.NavMeshBuilder::get_NavPolys()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* NavMeshBuilder_get_NavPolys_m7D12F8373AB61EBF0865BD6D36948A0F4FB42391_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Polys(SharpNav.Pathfinding.Poly[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Polys_m6418A6BADD4D3F1B1444B587055DDD0840F4263E_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.NavMeshBuilder::get_NavDMeshes()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* NavMeshBuilder_get_NavDMeshes_m24BB8E6147E51D36977C60A4F3F1BFC7E14C9995_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_DetailMeshes(SharpNav.PolyMeshDetail/MeshData[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_DetailMeshes_m3B0F63AC02DC0CBDCDC8CF8BCC0BB584E1C71B70_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3[] SharpNav.NavMeshBuilder::get_NavDVerts()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* NavMeshBuilder_get_NavDVerts_mB495039E468BF43B2BDE170B643F7E2F5B8F8324_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_DetailVerts(SharpNav.Geometry.Vector3[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_DetailVerts_m0D5118BAB3E89F8FF114C595B709134777E3A14E_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.NavMeshBuilder::get_NavDTris()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* NavMeshBuilder_get_NavDTris_m7E2646D1F882F0EAD9D771BED65C53C8A072DFCE_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_DetailTris(SharpNav.PolyMeshDetail/TriangleData[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_DetailTris_mE5EDAFF101DB29DABC32A9AEEF25A656B149DC0C_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Collections.BVTree SharpNav.NavMeshBuilder::get_NavBvTree()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* NavMeshBuilder_get_NavBvTree_m2FF510CDFD4BAE7B83D551D9C592CD9391BBA9C4_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.OffMeshConnection[] SharpNav.NavMeshBuilder::get_OffMeshCons()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* NavMeshBuilder_get_OffMeshCons_m447FF778FBB80881F4892F237CEBB83768D24964_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_OffMeshConnections(SharpNav.Pathfinding.OffMeshConnection[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_OffMeshConnections_m193E1D8D3F4A0ABAB20D4F255776C144DBCA307C_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_LinksFreeList(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_LinksFreeList_m559269D6AF09FC42099C7EE584549AB79D18718D_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Links(SharpNav.Pathfinding.Link[])
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Links_m40DD71D8F54BE2DA1EF0E2E9F217934A2A55B145_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* ___0_value, 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.Void SharpNav.Pathfinding.Link::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link__ctor_m51774694836E5F206002FED6F4C37A081B283F8B (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.Link::set_Next(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Header(SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Header_m565B49C9E9A5D38EEAE203037E734CB032587F99_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Data(SharpNav.NavMeshBuilder)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Data_m991E6E92D44F357888C4E5AB75B03C9AAEE9E4A6_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::ConnectIntLinks(SharpNav.Pathfinding.MeshTile&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_ConnectIntLinks_mFC4E821BEF460547AD5B6EBB8F65162A8A48FF07 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::BaseOffMeshLinks(SharpNav.Pathfinding.MeshTile&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_BaseOffMeshLinks_mDF9A254543C63109597957296BE31EF69E97FEC5 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, 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.Void SharpNav.TiledNavMesh::ConnectExtLinks(SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_ConnectExtLinks_m106F11E0BE221987B5A9E443D20251B94A37AA5D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___1_target, uint8_t ___2_side, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::ConnectExtOffMeshLinks(SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_ConnectExtOffMeshLinks_mB899EB0AD95FDF57D3AB4909169E57030BA24CCA (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___1_target, uint8_t ___2_side, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.BoundarySideExtensions::GetOpposite(SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t BoundarySideExtensions_GetOpposite_mDE68950F42206A09D7578ECBF9C30D5C82F2020B (uint8_t ___0_side, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::GetNeighbourTilesAt(System.Int32,System.Int32,SharpNav.Pathfinding.BoundarySide,SharpNav.Pathfinding.MeshTile[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetNeighbourTilesAt_mD3CD26E8E9785170B2025625474949A05753E4C8 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, uint8_t ___2_side, MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* ___3_tiles, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::GetTileRef(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetTileRef_mAA54B0F07FBB52516960B1309B915255DB5A0D72 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, 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) ;
|
|
// System.Void SharpNav.Pathfinding.Poly::set_FirstLink(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, int32_t ___0_value, 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.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.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.Boolean SharpNav.TiledNavMesh::IsExternalLink(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_IsExternalLink_m33CF96AA9F68DD1AFE9BAE11576DB771AF7E119D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_neighbor, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::AllocLink(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.TiledNavMesh::IsLinkAllocated(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::GetReference(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_polyBase, int32_t ___1_poly, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.Link::set_Reference(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.Link::set_Edge(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.Link::set_Side(SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, uint8_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.Link::set_BMax(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Pathfinding.Link::set_BMin(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, 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.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) ;
|
|
// SharpNav.Pathfinding.OffMeshConnection[] SharpNav.Pathfinding.MeshTile::get_OffMeshConnections()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.OffMeshConnection::get_Poly()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Pathfinding.OffMeshConnection::get_Radius()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, 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) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.OffMeshConnection::get_Pos0()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 OffMeshConnection_get_Pos0_mDA7968E73F0CDF830560A8A6586BD1140BD72DE2_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::FindNearestPolyInTile(SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_FindNearestPolyInTile_mDB93C292D4CB21D1B24A28D9F2C68B70D2C5510F (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_extents, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_nearestPt, 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.TiledNavMesh::DecodePolyIdPoly(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_DecodePolyIdPoly_m86661E7FB94D2C49F2B3DB1A85891121035ECA22 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, 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.Void System.Collections.Generic.List`1<System.Single>::.ctor(System.Int32)
|
|
inline void List_1__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12 (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __this, int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918*, int32_t, const RuntimeMethod*))List_1__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12_gshared)(__this, ___0_capacity, method);
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::FindConnectingPolys(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Pathfinding.MeshTile,SharpNav.Pathfinding.BoundarySide,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Single>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_FindConnectingPolys_m753690840F6D241D47C079D12CBF9E28BD03C0AC (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vb, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___2_tile, uint8_t ___3_side, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___4_con, List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* ___5_conarea, 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);
|
|
}
|
|
// T System.Collections.Generic.List`1<System.Single>::get_Item(System.Int32)
|
|
inline float List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50 (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( float (*) (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918*, int32_t, const RuntimeMethod*))List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single SharpNav.MathHelper::Clamp(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836 (float ___0_val, float ___1_min, float ___2_max, 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);
|
|
}
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.OffMeshConnection::get_Side()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t OffMeshConnection_get_Side_m687D62165751425B9AC8FBB3C453B133C8A0CBA2_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.OffMeshConnection::get_Pos1()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 OffMeshConnection_get_Pos1_m2DB4368C858878A28033160710AA94356438375E_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Pathfinding.OffMeshConnectionFlags SharpNav.Pathfinding.OffMeshConnection::get_Flags()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t OffMeshConnection_get_Flags_m01EB461FB11075226D79DE4CBF24AC0393F3B2F3_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.TiledNavMesh::DecodePolyId(System.Int32,System.Int32&,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_DecodePolyId_m40C4858A745D0EAAEB8DCF7C4D50E1F90FEB01D0 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, int32_t* ___1_salt, int32_t* ___2_indexTile, int32_t* ___3_indexPoly, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.MeshTile::get_Salt()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __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) ;
|
|
// 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.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.Void SharpNav.TiledNavMesh::CalcSlabEndPoints(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_CalcSlabEndPoints_mA1CBEC46F4420C44EA161F99470065C526E54D11 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vb, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___2_bmin, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___3_bmax, uint8_t ___4_side, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.TiledNavMesh::GetSlabCoord(SharpNav.Geometry.Vector3,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TiledNavMesh_GetSlabCoord_mA1F870A96857FA1E2BD1EAA35221FD394CDCBA59 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, uint8_t ___1_side, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.TiledNavMesh::OverlapSlabs(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_OverlapSlabs_mB22B31FC1944B8E543EDBA8CB1C43BB66BACFECA (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_amin, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_amax, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___2_bmin, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___3_bmax, float ___4_px, float ___5_py, const RuntimeMethod* 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.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.Void System.Collections.Generic.List`1<System.Single>::Add(T)
|
|
inline void List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_inline (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __this, float ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918*, float, const RuntimeMethod*))List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_gshared_inline)(__this, ___0_item, 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<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);
|
|
}
|
|
// 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) ;
|
|
// 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) ;
|
|
// 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 SharpNav.Pathfinding.MeshTile::ClosestPointOnPoly(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_ClosestPointOnPoly_mCF58F50F45693D8B884B8E1CE4DD18F3776C2DCF (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_indexPoly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, 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) ;
|
|
// SharpNav.Collections.BVTree SharpNav.Pathfinding.MeshTile::get_BVTree()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* MeshTile_get_BVTree_mF0BCC3124AEF370311A0BFB0EA97BBE7813F5094_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Collections.BVTree::get_Count()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BVTree_get_Count_mD53B8B3AF69C66500D2E3327AB0C561A2818971B (BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Collections.BVTree/Node SharpNav.Collections.BVTree::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t7C791277DE530777708834350121D282BCF6062E BVTree_get_Item_m2D2796DB9E0CE542A720839F99211158FC960AC8 (BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* __this, int32_t ___0_index, const RuntimeMethod* 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) ;
|
|
// 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.Boolean SharpNav.Geometry.BBox3::Overlapping(SharpNav.Geometry.BBox3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_Overlapping_m6A9D5A5FCDD446D3E2B29EF0D7AEB3025F4205A9 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___0_a, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Pathfinding.MeshTile::get_LinksFreeList()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t MeshTile_get_LinksFreeList_m05D9E7AA0E79D4D96838CD67B354CFA0FD8D8D73_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.TiledNavMesh::EncodePolyId(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_EncodePolyId_mB330DCABC8D94B0F095F6FDC39EABBE36AB81D99 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_salt, int32_t ___1_indexTile, int32_t ___2_indexPoly, 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.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.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.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.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) ;
|
|
// 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) ;
|
|
// 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.Single SharpNav.Geometry.Vector3::Length()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, 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.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) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Multiply(System.Single,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE (float ___0_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vec, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.BBox2i::.ctor(SharpNav.Geometry.Vector2i,SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBox2i__ctor_mF368A9811BB365844A5FD12EE47AB2A57C992974 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_min, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___1_max, 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.Boolean SharpNav.Geometry.BBox2i::Equals(SharpNav.Geometry.BBox2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_Equals_m98F9EA407F9701935A86A9199154C882E49F9737 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___0_other, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.BBox2i::op_Equality(SharpNav.Geometry.BBox2i,SharpNav.Geometry.BBox2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_op_Equality_m02214D23F77C43EDEBBE9AD97AD9F59941CE9C21 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___0_left, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___1_right, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.Geometry.Vector2i::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Vector2i_ToString_m21EBD3202FD4CE47B65ABB08E005CD3DF00F7758 (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.Geometry.BBox2i::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BBox2i_ToString_mA74312365ECABEE5B7334C40CFE82B30E2953C5B (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Geometry.Vector2i::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector2i_GetHashCode_m23ED08EED7425664614183535362084BCB93077D (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Geometry.BBox2i::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBox2i_GetHashCode_m477A9FE73F142912E6D0C06903237072180CD2A8 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.Geometry.BBox2i>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_inline (Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57*, const RuntimeMethod*))Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox2i::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_Equals_m12A5862663FE89B74DAA27E9B27BEAF27280FF79 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector2i::op_Equality(SharpNav.Geometry.Vector2i,SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_op_Equality_mDE95656FD3721D05D5EF1F2356C705C2DBD9477E (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_left, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___1_right, 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.Void SharpNav.Geometry.BBox3::.ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBox3__ctor_m4BEFA5F06F5381252A7FE203EC8129F8ED0E2355 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, float ___0_minX, float ___1_minY, float ___2_minZ, float ___3_maxX, float ___4_maxY, float ___5_maxZ, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Division(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Division_m5465263174E47C63AF8713E2B5BBD6956A4F9970 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, float ___1_scale, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.BBox3::get_Center()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 BBox3_get_Center_mA91DA5F96947A24B6A2F622A28ACB9AC20EB5658 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.BBox3::get_Size()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 BBox3_get_Size_m59570A93B983801AC72CE2E6CBA7BA0BEA4854FF (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Single::IsNaN(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.BBox3::Equals(SharpNav.Geometry.BBox3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_Equals_m4E66E0C2D76286E5627FE795A7D90DBD8E54B4F0 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___0_other, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.BBox3::op_Equality(SharpNav.Geometry.BBox3,SharpNav.Geometry.BBox3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_op_Equality_mD54F4126187D60019C1B87B408932ABA5A99EADB (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___0_left, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___1_right, 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.Boolean SharpNav.Geometry.BBox3::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_Equals_mA3C3ECFD9711CB55C9D6A0194AB1BCED3D14DE9F (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Geometry.Vector3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Geometry.BBox3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBox3_GetHashCode_m7B4758F6EF8A0B6A618A982CD9C2885C7C3B3D3A (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.Geometry.Vector3::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.Geometry.BBox3::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BBox3_ToString_mB1D874DC926131C5C68E03C43EE69D7CCFAAA6AF (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, 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.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.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 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.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::PerpDotXZ(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_PerpDotXZ_m81D1D8B1F955CFAB509D871CC74107484BD69BE6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, float* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Intersection::ProjectPoly(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32,System.Single&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Intersection_ProjectPoly_mD7971246DBEF5EE354165A675452E26CDBB9E9E4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_axis, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___1_poly, int32_t ___2_npoly, float* ___3_rmin, float* ___4_rmax, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Intersection::OverlapRange(System.Single,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Intersection_OverlapRange_mB62796C949D63011FAEB95AC4524704581BE58FB (float ___0_amin, float ___1_amax, float ___2_bmin, float ___3_bmax, float ___4_eps, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Triangle3::.ctor(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3__ctor_mE3A051C362CD6284A554EDA55439AB1D9B447ADE (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_c, 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) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_AB()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_AC()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_BA()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_BA_m2C95666EDC718F386225F240C11ECE73FDE08D43 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_BC()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_BC_mA119438EE9EF3725DEB49805C54994749C28ED5E (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_CA()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_CA_m03D6F40EAFD23FCE255BE2050CAB72CAE79BF0CE (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_CB()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_CB_m543246F3FD826973D71972CC2A1F59E3B0E615F2 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Cross(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Cross_m928F39B378B976766902C0D5DC1B57CA2D93A690 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Triangle3::get_Area()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Triangle3_get_Area_mE2EE48B874CC86B53EF57A20A2242C5EF7408CC7 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Triangle3::get_Perimeter()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Triangle3_get_Perimeter_m6D290B3A11909C8488C23C93C150B80CFC8674ED (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_Centroid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_Centroid_mD1E145D9C20503E6405AF4FE9A6AAF698B887729 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Normalize(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Normalize_m5A2DB0842584EB3B69CC62CA80B84F218D4A1AF6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_Normal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_Normal_m5FCB2296505CEBA6BEB12D48F3258E33C6298A38 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Triangle3::Equals(SharpNav.Geometry.Triangle3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___0_other, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Triangle3::GetBoundingBox(SharpNav.Geometry.Triangle3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3_GetBoundingBox_m04F528207F81BE01E034302085EB21EC58AE63C6 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* ___0_tri, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_bbox, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Triangle3::GetBoundingBox(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3_GetBoundingBox_mF2E17A14617624FAD5FD65265D9DC4EA1A3EF22A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_c, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___3_bbox, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector3::Equals(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_other, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.Geometry.Triangle3>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_inline (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6*, const RuntimeMethod*))Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Nullable`1<SharpNav.Geometry.Triangle3>::get_Value()
|
|
inline Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB (*) (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6*, const RuntimeMethod*))Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B_gshared)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Triangle3::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Triangle3_Equals_mD19CA67BD8A55C18D325192BEA4C4F45473F50E6 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Geometry.Triangle3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Triangle3_GetHashCode_mA6EE2191CF2E8726F4B3C9367D8698908A4B5561 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.Geometry.Triangle3::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Triangle3_ToString_mEDDCE5CD011E2FF6FEEA8242D854AACAC42E355B (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromTriangleU3Ed__0__ctor_mDE190D3748B298A76442724D07BBD37294325414 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromVector3U3Ed__1__ctor_mB77B34454444A789ECE656E3F54BF1D1105B28A6 (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromFloatU3Ed__2__ctor_mAEFD9C5D7827797F1CF91B97877FC17E223F6250 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedVector3U3Ed__3__ctor_m08284E6B163B093FB10BF6EF57509E48A1874435 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedFloatU3Ed__4__ctor_mE9A5FD9CBC3A28F0825F6FC0AE18CA3CC78A3090 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.BBox3 SharpNav.Geometry.TriangleEnumerable::GetBoundingBox(System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3>,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C TriangleEnumerable_GetBoundingBox_m5CE4D0A2F5D6E9230565E3F46BE63A1BD4ADCEAD (RuntimeObject* ___0_tris, float ___1_padding, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable::ApplyVertexToBounds(SharpNav.Geometry.Vector3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleEnumerable_ApplyVertexToBounds_m13744AB9EAB5A2E97B54A1465985CFBCEE728F10 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_v, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable::ApplyPaddingToBounds(System.Single,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleEnumerable_ApplyPaddingToBounds_mCD2C2D53352F2A77D069C0346EE085A98AEA31D0 (float ___0_pad, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Environment::get_CurrentManagedThreadId()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF (const RuntimeMethod* method) ;
|
|
// System.Void System.NotSupportedException::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromTriangleU3Ed__0_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mC42FEC76A8A14FB619EF79889DC76BA9AF50E8E5 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromVector3U3Ed__1_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_m5DB9625C6453315AA20AF20606620EB136231F5C (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromFloatU3Ed__2_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mFB91F0DC7B3AD03DE560EA5E8ACEC3D4AF9567E9 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedVector3U3Ed__3_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mC5D59EDEC66512A77E73D9D069704319DCAFEB59 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedFloatU3Ed__4_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_m4D181D1A0569338ADD4D97E50E6E2DE8C55F4FC2 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_mCC42BA3CEF943BD18E8FBDF273FCC2B0675A6464 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_m31483AC36F55C6E2C95AC602C15E56BF068E70FB (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_v, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_m9773911EEFA069C4F7A0FFA13EC7D0B4D08D9009 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_v, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector2::get_Length()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector2::get_LengthSquared()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::get_PerpendicularRight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_PerpendicularRight_m0064738B60204A626ABD242B416E441D73C2CE7E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::get_PerpendicularLeft()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_PerpendicularLeft_m4E55C2C4B3209E5AE2D2D45E8721FAE78A328E7A (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___0_str0, String_t* ___1_str1, const RuntimeMethod* method) ;
|
|
// System.Void System.IndexOutOfRangeException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexOutOfRangeException__ctor_mFD06819F05B815BE2D6E826D4E04F4C449D0A425 (IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82* __this, String_t* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector2::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_get_Item_m7D399D8C10C3F98C7174F2F99267834C2A784A56 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::set_Item(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_set_Item_m2A6F69DD888D8BFE1D79FC88282E351859AE9D0E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, int32_t ___0_index, float ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Normalize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Normalize_m1A098ECCBD64165D30C6E96B45E2A30B800F97D6 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Normalized()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Normalized_m1E0F0E8F3A1C480E6E17779428B20D1AA3FFDE0E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Add(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Add_m6BBB82D476F3892D93F0ECF468864BD15C73186B (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Subtract(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Subtract_m7880EF2A0A41FDBE58BABC5BA8B2FCD63907FD21 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Multiply(SharpNav.Geometry.Vector2&,System.Single,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Multiply_m91E41D510AA22BBBFE945946DB95A4F464A83932 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, float ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Multiply(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Multiply_mA4F9D960A4D7E06606DE2D033D1513EE46566958 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Divide(SharpNav.Geometry.Vector2&,System.Single,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Divide_m062C6E34DBA07029AAE1E03DF0163EB966425A10 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, float ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::Divide(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Divide_m2BF260F4B18213420A4A83FA97E47328E10BDC37 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Subtraction(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Subtraction_mB4B8317EE4139FFBE57378440786B3A9F7FC6986 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Multiply(System.Single,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Multiply_m28703A5C4FF9283B7B4F4BD0D5E4AD42A1FF2725 (float ___0_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_vec, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Addition(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Addition_m061FC53B1E96FC753312DB5946F24411A9E7DC06 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::get_Yx()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_Yx_m4AF2FBDC490C1A0A4681CE3061125586336D3B3F (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2::set_Yx(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_set_Yx_m089A67AB1DF7D3BEFBFBCC1E0679955563EF54C9 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector2::Equals(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_other, const RuntimeMethod* method) ;
|
|
// System.String System.String::Format(System.String,System.Object,System.Object,System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mA0534D6E2AE4D67A6BD8D45B3321323930EB930C (String_t* ___0_format, RuntimeObject* ___1_arg0, RuntimeObject* ___2_arg1, RuntimeObject* ___3_arg2, const RuntimeMethod* method) ;
|
|
// System.String SharpNav.Geometry.Vector2::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Vector2_ToString_m8F4A03F94D0EC7E6BFE86D50F19178309CE58ECD (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Single::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Single_GetHashCode_mC3F1E099D1CF165C2D71FBCC5EF6A6792F9021D2 (float* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Geometry.Vector2::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector2_GetHashCode_m2A14C87437757850AD368D128DE8303470B6A685 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector2::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_Equals_m79983F08D5E084A184C1D3F11D0A00DE837D03C2 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_CurrentCulture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* CultureInfo_get_CurrentCulture_m8A4580F49DDD7E9DB34C699965423DB8E3BBA9A5 (const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector2i::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector2i::Equals(SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_Equals_mC72CB8CC3397FAB7EAB1CB3961CCF5E93FDDAD51 (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_other, const RuntimeMethod* method) ;
|
|
// System.Int32 System.ValueType::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ValueType_GetHashCode_m3B47C72EA1FA846D9B0DFF3C444AB2BFA22CF3CE (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Nullable`1<SharpNav.Geometry.Vector2i>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_inline (Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250*, const RuntimeMethod*))Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2i::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_Equals_mB6FE954C1D402CEF043C330E0499C05549EF9F34 (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::.ctor(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3__ctor_m3E068D03E7A99E5BE7F32CACFDC03ED07E966D04 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::.ctor(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3__ctor_m4A68DF6C037E57B84B09D3289E44F1FD7B2377ED (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_v, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Set(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Set_m6B95184668D4E8EA89BE9BCBA7E68AACE6B3A3BD (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector3::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_get_Item_m95F8CDA96342BE16730F139066C0DD99E70DD9EA (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::set_Item(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Item_m22C301D698B8464EEE8387B1615A40FF81073B4D (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, int32_t ___0_index, float ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Add(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Add_m04904F307A5D58BDEF82B46CABFFF2BA883D3BC3 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Add(SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Add_mBDC20F9EB9FC835A0E2D60D4372DED2E72B8D94E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Sub(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Sub_mBDDEBC715C3C2F92020EB3BB84A055EF8281F3F6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Sub(SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Sub_m1E6138A8D61FDB14B2A33A780E351ED58FA9CD28 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Mult(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Mult_m31E5D647867A333243B14E682D21B3306AF9BDB4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Div(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Div_m5783F95B6444F9AD48D296021401BD8815350F40 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_f, 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) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Normalized()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Normalized_mBDE031096436D5C35CADCEED4F43CD2FB8B4F010 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Scale(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Scale_m8E67301C64AEA07FDEEE5FB3BA717103076FA3A1 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_sx, float ___1_sy, float ___2_sz, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Scale(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Scale_m1055F8C17C7C3CE87F7608A97125A65C8BF66268 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_scale, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Scale(SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Scale_mEBFFB4B01B9E0C82EB2117462FC421AFE719AF36 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_scale, 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.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::Multiply(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Multiply_m4A3D053A19DF2C3752528719AA019597C2A97AA4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Divide(SharpNav.Geometry.Vector3&,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Divide_mD7E7A2688C4C0A08C2212FD858BA92F37EAF84CE (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, float ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Divide(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Divide_mAD0E504BEFB3F84CE2F451F56AE008366D87FCFC (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Cross(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Cross_m27951B1F1BF0063CED3D5C9B682DDF4DAFCD0D29 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Vector3::Dot(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_Dot_m25372F645C1E343F62BA0377FC9E324797A29F4C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::Dot(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Dot_mE571ABE3572CD97C8357D8A4E6BD76E5F1188B13 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, float* ___2_result, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Xzy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Xzy_m5E7A894ACA11F040EB385754CFFF842043F0EEBB (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::set_Xzy(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Xzy_m52179C0FAADFFD3C02D3F221B7256ABAAFB914A0 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Yxz()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Yxz_mC47DD34080835383AE9FFB8A8F25847E9D1B8C86 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::set_Yxz(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Yxz_m7666A124AD81905DA156909E1C4CC13A9A797EC0 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Yzx()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Yzx_m308ED0C8FB9B4EA59EC312308FDD6AF564391A15 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::set_Yzx(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Yzx_m03EA68B5F81D0FBFC5D61F1A778A677F8CF2558C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Zxy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Zxy_m7771F451D1606EE4C0A9CAF4FC8E4BA7B78BC3F9 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::set_Zxy(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Zxy_mA1FD7D2D52795C80F47D75488180E2E57AEA2817 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Zyx()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Zyx_mE3066FC792219864C61C8AA56B728C2BA15C8675 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Geometry.Vector3::set_Zyx(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Zyx_m163FCE27FA2409C9860ACB25E1793E0CAE2B47A6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// System.String System.String::Format(System.String,System.Object[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m918500C1EFB475181349A79989BB79BB36102894 (String_t* ___0_format, ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___1_args, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Geometry.Vector3::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector3_Equals_mE77202253637B874ACB09BBF3334CE162541C14E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Min(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Min_mB4917C6B16285E98F9BBCC865BFA291A03C168E1 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, 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.Crowds.PathCorridor::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathCorridor__ctor_m6CF9E9223757380F8B1F46E41ECF87053E8B0443 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, int32_t ___0_maxPath, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.LocalBoundary::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalBoundary__ctor_mB81A034D4D771EBD6CD8F341E02850BAFFA5AB07 (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.PathCorridor::Reset(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathCorridor_Reset_m4AE10C5B75356546CBAF6BE51D31D45CD9AF83CD (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.LocalBoundary::Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalBoundary_Reset_m8E2E3A7BF654BE3692315EA0E6700A10407380F6 (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_TargetState(SharpNav.Crowds.TargetState)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.Agent::Equals(SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_Equals_m82F3B2305BC3D8BECB7D3605E26E527B9C13D49F (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_other, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.Agent::op_Equality(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_op_Equality_mFA90467E04255792F9FE0E79DB9195409EAB3904 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_left, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___1_right, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Agent::get_AgentIndex()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_AgentIndex_m41B7CEAC7217B93ED7C75645F971C4596F0D7058_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.Agent::op_Inequality(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_op_Inequality_mE495A95A594BBC56A0FCE696D61BF6D531DC9513 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_left, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___1_right, const RuntimeMethod* method) ;
|
|
// System.String System.Object::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_ToString_mF8AC1EB9D85AB52EC8FD8B8BDD131E855E69673F (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>::.ctor(System.Int32,System.Single)
|
|
inline void ProximityGrid_1__ctor_m6DA531CC311138D42F0D2AEB8229042872928810 (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* __this, int32_t ___0_poolSize, float ___1_cellSize, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B*, int32_t, float, const RuntimeMethod*))ProximityGrid_1__ctor_m287F4CE64E543AD899CF31D3B6607E36399AEF70_gshared)(__this, ___0_poolSize, ___1_cellSize, method);
|
|
}
|
|
// System.Void SharpNav.Crowds.ObstacleAvoidanceQuery::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObstacleAvoidanceQuery__ctor_m2B0C08A3F03CCD8DE76EAD351DA210B400485FD6 (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* __this, int32_t ___0_maxCircles, int32_t ___1_maxSegments, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.PathQueue::.ctor(System.Int32,System.Int32,SharpNav.TiledNavMesh&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathQueue__ctor_m1EC4A59038D072CB3580797727D6B3884CBE4B59 (PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* __this, int32_t ___0_maxPathSize, int32_t ___1_maxSearchNodeCount, TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF** ___2_nav, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent__ctor_m68F10298CB6A168F51DD036BB7A6612EFD1BC93D (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_maxPath, int32_t ___1_agentIndex, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.AgentAnimation::set_Active(System.Boolean)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void AgentAnimation_set_Active_mC8DA5BB97C3D057651BB2B118C9CD9736FDFE8D3_inline (AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// 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) ;
|
|
// System.Boolean SharpNav.Crowds.Agent::get_IsActive()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::UpdateAgentParameters(SharpNav.Crowds.AgentParams)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_UpdateAgentParameters_m54B147182D4371B587A357189E2E0253C1AA30DC_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 ___0_parameters, 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.Void SharpNav.Crowds.Agent::Reset(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_Reset_m06C84F921EB0EF3D947E6B6C1276C56EC3D9226E (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_nearest, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_IsActive(System.Boolean)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_IsActive_mD24FB44798F9E71B55664F6AEB3558D22713CDBC_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetActiveAgents(SharpNav.Crowds.Agent[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetActiveAgents_m17FD460435ADC9E306998D441A341C4F792BD812 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___0_agents, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Crowd::CheckPathValidity(SharpNav.Crowds.Agent[],System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_CheckPathValidity_mEC9FB636F10A170F3EE52C9E7DBD71F397E1FA34 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___0_agents, int32_t ___1_agentCount, float ___2_dt, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Crowd::UpdateMoveRequest()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_UpdateMoveRequest_m185093358D152460DAEE407649890B2EB9C67826 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Crowd::UpdateTopologyOptimization(SharpNav.Crowds.Agent[],System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_UpdateTopologyOptimization_m6C94D858F982C5B210E7A4B3DEFE0B4A4CD4C8EE (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___0_agents, int32_t ___1_numAgents, float ___2_dt, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>::Clear()
|
|
inline void ProximityGrid_1_Clear_mC2D60C98829F49AAE0E7036868FA38F54A8D1C28 (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B*, const RuntimeMethod*))ProximityGrid_1_Clear_m7D8704828195BBDEEA259D2EC954C02BEAAA47FE_gshared)(__this, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::get_Position()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>::AddItem(T,System.Single,System.Single,System.Single,System.Single)
|
|
inline void ProximityGrid_1_AddItem_m2D91E3157EC546988F45B5E092C80B48AEF4DA60 (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_value, float ___1_minX, float ___2_minY, float ___3_maxX, float ___4_maxY, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B*, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*, float, float, float, float, const RuntimeMethod*))ProximityGrid_1_AddItem_m90EA61A141B03F1868E2859B0F4647350B8116CE_gshared)(__this, ___0_value, ___1_minX, ___2_minY, ___3_maxX, ___4_maxY, method);
|
|
}
|
|
// SharpNav.Crowds.AgentState SharpNav.Crowds.Agent::get_State()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Crowds.LocalBoundary SharpNav.Crowds.Agent::get_Boundary()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.LocalBoundary::get_Center()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 LocalBoundary_get_Center_m84D386C10AD19F31AF2D6094695272DE897F34E8_inline (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, 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.Crowds.LocalBoundary::IsValid(SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool LocalBoundary_IsValid_mF2E865C45603620F8F69FC9C6B679EDD700EA831 (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___0_navquery, const RuntimeMethod* method) ;
|
|
// SharpNav.Crowds.PathCorridor SharpNav.Crowds.Agent::get_Corridor()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.PathCorridor::GetFirstPoly()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathCorridor_GetFirstPoly_m279430F9458518C663651ABBC86478FF3923F027 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.LocalBoundary::Update(System.Int32,SharpNav.Geometry.Vector3,System.Single,SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LocalBoundary_Update_m9937B02CD9E58C3DCD0A77FFD173FE13A622CED2 (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, float ___2_collisionQueryRange, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___3_navquery, const RuntimeMethod* method) ;
|
|
// SharpNav.Crowds.CrowdNeighbor[] SharpNav.Crowds.Agent::get_Neighbors()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetNeighbours(SharpNav.Geometry.Vector3,System.Single,System.Single,SharpNav.Crowds.Agent,SharpNav.Crowds.CrowdNeighbor[],System.Int32,SharpNav.Crowds.Agent[],SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetNeighbours_m12D8449B7EEC475440BEEE7BB99C73C38D8EC8ED (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, float ___1_height, float ___2_range, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___3_skip, CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* ___4_result, int32_t ___5_maxResult, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___6_agents, ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* ___7_grid, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_NeighborCount(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_NeighborCount_mC9DC461D3E4F7D64CE553A736107860BB66EE943_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetAgentIndex(SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetAgentIndex_mF03B3AB1D7C61F53DEB66268A0C35B63E608998A (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_agent, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Agent::get_NeighborCount()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Crowds.TargetState SharpNav.Crowds.Agent::get_TargetState()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.PathCorridor::FindCorners(SharpNav.Geometry.Vector3[],System.Int32[],System.Int32[],System.Int32,SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathCorridor_FindCorners_mB38A0112028C0C5CE5C68B5D4A917F369F06E9E5 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_cornerVerts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_cornerFlags, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___2_cornerPolys, int32_t ___3_maxCorners, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___4_navquery, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_CornerCount(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_CornerCount_mD5B216F4C815BBA6091AE530BC621DD84A5CF16D_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Agent::get_CornerCount()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.PathCorridor::OptimizePathVisibility(SharpNav.Geometry.Vector3,System.Single,SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathCorridor_OptimizePathVisibility_mEA3DAAB751FE469F80E9804108131EE6FFF2449B (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_next, float ___1_pathOptimizationRange, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___2_navquery, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.Crowd::OverOffmeshConnection(SharpNav.Crowds.Agent,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Crowd_OverOffmeshConnection_m9704D0FC6C96125363D21F8D592EFD4BB327F9FC (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, float ___1_radius, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.PathCorridor::MoveOverOffmeshConnection(System.Int32,System.Int32[],SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathCorridor_MoveOverOffmeshConnection_m4AB7C2B85C25E5A7960F67751E727DBAEA8D0576 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, int32_t ___0_offMeshConRef, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_refs, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_startPos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_endPos, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___4_navquery, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_State(SharpNav.Crowds.AgentState)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_State_mA6E561DE916B35B5347C6143B16EC9559DFE251A_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::get_TargetPosition()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Crowd::CalcSmoothSteerDirection(SharpNav.Crowds.Agent,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_CalcSmoothSteerDirection_mA73417661695F581C1A3BCDA553EFA159513582E (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_dir, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Crowd::CalcStraightSteerDirection(SharpNav.Crowds.Agent,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_CalcStraightSteerDirection_mAC77EAE986F9521D8293D3F4A42127B00FFDF613 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_dir, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Crowds.Crowd::GetDistanceToGoal(SharpNav.Crowds.Agent,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Crowd_GetDistanceToGoal_m817C8BD694CC867BFA727CAC446A57C65247EC8B (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, float ___1_range, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.ObstacleAvoidanceQuery::Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObstacleAvoidanceQuery_Reset_m9AAA020171AE2D7F0CD9A79F30776297886DC96C (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.ObstacleAvoidanceQuery::AddCircle(SharpNav.Geometry.Vector3,System.Single,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObstacleAvoidanceQuery_AddCircle_mA4561231391E71B4A4B644B6426B291E5D226FB4 (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, float ___1_rad, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_vel, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___3_dvel, const RuntimeMethod* method) ;
|
|
// SharpNav.Crowds.LocalBoundary/Segment[] SharpNav.Crowds.LocalBoundary::get_Segs()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* LocalBoundary_get_Segs_mC89DBE7EE6C3F53A8C26A5370C00101CB2CEE5D5_inline (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.Geometry.Triangle3::Area2D(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Triangle3_Area2D_m49AA6800CC487F8ECCF4C25F3FFF9A9F7EC9B391 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_c, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.ObstacleAvoidanceQuery::AddSegment(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObstacleAvoidanceQuery_AddSegment_mD90EC58A1DB7DAAFB2FDA2100CE799349A9F795D (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_p, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_q, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.LocalBoundary::get_SegCount()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t LocalBoundary_get_SegCount_m769740AEA77E864DCB79B0E7BDC44FD4102BA7AD_inline (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery::SampleVelocityAdaptive(SharpNav.Geometry.Vector3,System.Single,System.Single,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ObstacleAvoidanceQuery_SampleVelocityAdaptive_mD06FD1B27EEE536EA90E74A991CF32EBFA3F7569 (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_position, float ___1_radius, float ___2_vmax, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___3_vel, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___4_desiredVel, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___5_nvel, ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 ___6_parameters, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.ObstacleAvoidanceQuery::SampleVelocityGrid(SharpNav.Geometry.Vector3,System.Single,System.Single,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&,SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ObstacleAvoidanceQuery_SampleVelocityGrid_m01E853D38877DEB86F7B2637672E463700A46AAD (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, float ___1_rad, float ___2_vmax, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___3_vel, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___4_desiredVel, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___5_nvel, ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 ___6_parameters, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::Integrate(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_Integrate_m2F11F8189651AC1107D4C2CF6512D95C2D4EDB7A (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, float ___0_dt, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.PathCorridor::MovePosition(SharpNav.Geometry.Vector3,SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathCorridor_MovePosition_m5BEA2B566245865EFD5591F48C8257E6AAC7CFBF (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_npos, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___1_navquery, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.PathCorridor::get_Pos()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 PathCorridor_get_Pos_m01A00EDC84FA975B7D5B78908772806B1BEC25CF_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_Position(SharpNav.Geometry.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_IsPartial(System.Boolean)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.AgentAnimation::get_Active()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool AgentAnimation_get_Active_m1F5CE9F49D2522F725A0CF9BA6002C3BA60F46D4_inline (AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5* __this, const RuntimeMethod* method) ;
|
|
// System.Single SharpNav.MathHelper::Normalize(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float MathHelper_Normalize_m80648F8AFD8BA219C548E8D0B6659C722C984626 (float ___0_t, float ___1_t0, float ___2_t1, 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) ;
|
|
// System.Int32[] SharpNav.Crowds.PathCorridor::get_Path()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* PathCorridor_get_Path_m96318A10B64F76F90FF960C98B061FDEF037271F_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.PathCorridor::get_PathCount()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PathCorridor_get_PathCount_m1734ED9D5D9A0688B57C0B94CD31B4778F21ED81_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method) ;
|
|
// 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) ;
|
|
// 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) ;
|
|
// 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) ;
|
|
// SharpNav.Crowds.Status SharpNav.Crowds.StatusExtensions::ToStatus(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t StatusExtensions_ToStatus_mA40985BC1ED839B91461C539903752444410AAB9 (bool ___0_variable, const RuntimeMethod* method) ;
|
|
// 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) ;
|
|
// 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.Void SharpNav.Crowds.PathCorridor::SetCorridor(SharpNav.Geometry.Vector3,System.Int32[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathCorridor_SetCorridor_m38750A090B7A707B90B7A32FC4EFFD49E2A23362 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_target, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_path, int32_t ___2_npath, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddToPathQueue(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddToPathQueue_m31C607A6CD71D2B892E2F94CFAF739E19EE0B13E (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_newag, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___1_agents, int32_t ___2_numAgents, int32_t ___3_maxAgents, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.PathCorridor::GetLastPoly()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathCorridor_GetLastPoly_mD6BD4318CF607CDC264DCE7057C626118CBE3096 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method) ;
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.PathCorridor::get_Target()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 PathCorridor_get_Target_m184F80726BFEBFBB81B3C04EB02FBB9F0E0EF8D5_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.PathQueue::Request(System.Int32,System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathQueue_Request_mF8569DD8FCFC5ECDEFF514BE15B0B063B74F8E42 (PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* __this, int32_t ___0_startRef, int32_t ___1_endRef, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_startPos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___3_endPos, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.PathQueue::Update(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathQueue_Update_m2A2A28D327C89DBABA992428F70E7B5AFF23E6DB (PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* __this, int32_t ___0_maxIters, const RuntimeMethod* method) ;
|
|
// SharpNav.Crowds.Status SharpNav.Crowds.PathQueue::GetRequestStatus(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathQueue_GetRequestStatus_mEC5EFFB4756E8ADA16DA9E6079CD0470671F18E4 (PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* __this, int32_t ___0_reference, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.PathQueue::GetPathResult(System.Int32,System.Int32[],System.Int32&,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathQueue_GetPathResult_mC51FD52918730F630DAC3F9B5958CC8E11558365 (PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* __this, int32_t ___0_reference, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_path, int32_t* ___2_pathSize, int32_t ___3_maxPath, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddToOptQueue(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddToOptQueue_mFC551CE30DC4D04202ED52709B48AA700665E05B (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_newag, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___1_agents, int32_t ___2_numAgents, int32_t ___3_maxAgents, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.PathCorridor::OptimizePathTopology(SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathCorridor_OptimizePathTopology_m8C4D9161565FD74EDAB1DB446F8596B0A5F77734 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___0_navquery, const RuntimeMethod* method) ;
|
|
// 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) ;
|
|
// System.Boolean SharpNav.Crowds.PathCorridor::FixPathStart(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathCorridor_FixPathStart_mA1B25A1A024DFA8F26156C133118C585C83492F8 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, int32_t ___0_safeRef, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_safePos, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::set_TargetPosition(SharpNav.Geometry.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_TargetPosition_mC9A632C5F683FB35666CBAB9E92C184599AA6016_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean SharpNav.Crowds.PathCorridor::IsValid(System.Int32,SharpNav.NavMeshQuery)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathCorridor_IsValid_m2987EE0BF57506730E86C8B295350A015ABBAE25 (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, int32_t ___0_maxLookAhead, NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* ___1_navquery, const RuntimeMethod* method) ;
|
|
// System.Void SharpNav.Crowds.Agent::RequestMoveTargetReplan(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_RequestMoveTargetReplan_mDF72267903110D23A9E4329408B3203F55AB772E (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, const RuntimeMethod* method) ;
|
|
// System.Int32 SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>::QueryItems(System.Single,System.Single,System.Single,System.Single,T[],System.Int32)
|
|
inline int32_t ProximityGrid_1_QueryItems_m64ACF8218B001A3C12E1EBE08F8326CAC4A5050A (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* __this, float ___0_minX, float ___1_minY, float ___2_maxX, float ___3_maxY, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___4_values, int32_t ___5_maxVals, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B*, float, float, float, float, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*, int32_t, const RuntimeMethod*))ProximityGrid_1_QueryItems_mCBEA971F225BD500F9147075E44296334868FD91_gshared)(__this, ___0_minX, ___1_minY, ___2_maxX, ___3_maxY, ___4_values, ___5_maxVals, method);
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddNeighbour(SharpNav.Crowds.Agent,System.Single,SharpNav.Crowds.CrowdNeighbor[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddNeighbour_m8730C0F8516A598B8FA7870265989667739C4B8A (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_agent, float ___1_dist, CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* ___2_neis, int32_t ___3_nneis, int32_t ___4_maxNeis, const RuntimeMethod* method) ;
|
|
// System.Int32 System.BitConverter::SingleToInt32Bits(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BitConverter_SingleToInt32Bits_mC760C7CFC89725E3CF68DC45BE3A9A42A7E7DA73_inline (float ___0_value, 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
|
|
#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/TriangleData::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleData__ctor_mE933394FF931E81C79CEDC7BE74173EBB947B7AA (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* __this, int32_t ___0_hash0, int32_t ___1_hash1, int32_t ___2_hash2, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// VertexHash0 = hash0;
|
|
int32_t L_0 = ___0_hash0;
|
|
__this->___VertexHash0_0 = L_0;
|
|
// VertexHash1 = hash1;
|
|
int32_t L_1 = ___1_hash1;
|
|
__this->___VertexHash1_1 = L_1;
|
|
// VertexHash2 = hash2;
|
|
int32_t L_2 = ___2_hash2;
|
|
__this->___VertexHash2_2 = L_2;
|
|
// Flags = 0;
|
|
__this->___Flags_3 = 0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void TriangleData__ctor_mE933394FF931E81C79CEDC7BE74173EBB947B7AA_AdjustorThunk (RuntimeObject* __this, int32_t ___0_hash0, int32_t ___1_hash1, int32_t ___2_hash2, const RuntimeMethod* method)
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7*>(__this + _offset);
|
|
TriangleData__ctor_mE933394FF931E81C79CEDC7BE74173EBB947B7AA(_thisAdjusted, ___0_hash0, ___1_hash1, ___2_hash2, 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)
|
|
{
|
|
{
|
|
// VertexHash0 = hash0;
|
|
int32_t L_0 = ___0_hash0;
|
|
__this->___VertexHash0_0 = L_0;
|
|
// VertexHash1 = hash1;
|
|
int32_t L_1 = ___1_hash1;
|
|
__this->___VertexHash1_1 = L_1;
|
|
// VertexHash2 = hash2;
|
|
int32_t L_2 = ___2_hash2;
|
|
__this->___VertexHash2_2 = L_2;
|
|
// Flags = flags;
|
|
int32_t L_3 = ___3_flags;
|
|
__this->___Flags_3 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C_AdjustorThunk (RuntimeObject* __this, int32_t ___0_hash0, int32_t ___1_hash1, int32_t ___2_hash2, int32_t ___3_flags, const RuntimeMethod* method)
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7*>(__this + _offset);
|
|
TriangleData__ctor_m1A408544EA3FD2A1F400B7B3EC7BEC5332027F7C(_thisAdjusted, ___0_hash0, ___1_hash1, ___2_hash2, ___3_flags, 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)
|
|
{
|
|
{
|
|
// VertexHash0 = data.VertexHash0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_0 = ___0_data;
|
|
int32_t L_1 = L_0.___VertexHash0_0;
|
|
__this->___VertexHash0_0 = L_1;
|
|
// VertexHash1 = data.VertexHash1;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_2 = ___0_data;
|
|
int32_t L_3 = L_2.___VertexHash1_1;
|
|
__this->___VertexHash1_1 = L_3;
|
|
// VertexHash2 = data.VertexHash2;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_4 = ___0_data;
|
|
int32_t L_5 = L_4.___VertexHash2_2;
|
|
__this->___VertexHash2_2 = L_5;
|
|
// Flags = GetTriFlags(ref data, verts, vpoly, npoly);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_6 = ___1_verts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_7 = ___2_vpoly;
|
|
int32_t L_8 = ___3_npoly;
|
|
int32_t L_9;
|
|
L_9 = TriangleData_GetTriFlags_m918C5A10D33F6ACB870E42E33D9804D6CF36C50A((&___0_data), L_6, L_7, L_8, NULL);
|
|
__this->___Flags_3 = L_9;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void TriangleData__ctor_mED87A855256790D23DE1631A639C709DC6B2FB9A_AdjustorThunk (RuntimeObject* __this, TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 ___0_data, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___1_verts, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_vpoly, int32_t ___3_npoly, const RuntimeMethod* method)
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7*>(__this + _offset);
|
|
TriangleData__ctor_mED87A855256790D23DE1631A639C709DC6B2FB9A(_thisAdjusted, ___0_data, ___1_verts, ___2_vpoly, ___3_npoly, method);
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail/TriangleData::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05 (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_index;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// return VertexHash0;
|
|
int32_t L_1 = __this->___VertexHash0_0;
|
|
return L_1;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// return VertexHash1;
|
|
int32_t L_2 = __this->___VertexHash1_1;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// return VertexHash2;
|
|
int32_t L_3 = __this->___VertexHash2_2;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05_AdjustorThunk (RuntimeObject* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05(_thisAdjusted, ___0_index, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.PolyMeshDetail/TriangleData::GetTriFlags(SharpNav.PolyMeshDetail/TriangleData&,System.Collections.Generic.List`1<SharpNav.Geometry.Vector3>,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleData_GetTriFlags_m918C5A10D33F6ACB870E42E33D9804D6CF36C50A (TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* ___0_t, List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* ___1_verts, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___2_vpoly, int32_t ___3_npoly, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// int flags = 0;
|
|
// flags |= GetEdgeFlags(verts[t.VertexHash0], verts[t.VertexHash1], vpoly, npoly) << 0;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_0 = ___1_verts;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* L_1 = ___0_t;
|
|
int32_t L_2 = L_1->___VertexHash0_0;
|
|
NullCheck(L_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
L_3 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_0, L_2, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_4 = ___1_verts;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* L_5 = ___0_t;
|
|
int32_t L_6 = L_5->___VertexHash1_1;
|
|
NullCheck(L_4);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7;
|
|
L_7 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_4, L_6, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_8 = ___2_vpoly;
|
|
int32_t L_9 = ___3_npoly;
|
|
il2cpp_codegen_runtime_class_init_inline(PolyMeshDetail_t96CF135F89BE4EA3ED03957279704A1EAD566764_il2cpp_TypeInfo_var);
|
|
int32_t L_10;
|
|
L_10 = PolyMeshDetail_GetEdgeFlags_mE419AE8E99DB449781858214F07346E8ECDECB73(L_3, L_7, L_8, L_9, NULL);
|
|
// flags |= GetEdgeFlags(verts[t.VertexHash1], verts[t.VertexHash2], vpoly, npoly) << 2;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_11 = ___1_verts;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* L_12 = ___0_t;
|
|
int32_t L_13 = L_12->___VertexHash1_1;
|
|
NullCheck(L_11);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14;
|
|
L_14 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_11, L_13, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_15 = ___1_verts;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* L_16 = ___0_t;
|
|
int32_t L_17 = L_16->___VertexHash2_2;
|
|
NullCheck(L_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18;
|
|
L_18 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_15, L_17, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_19 = ___2_vpoly;
|
|
int32_t L_20 = ___3_npoly;
|
|
int32_t L_21;
|
|
L_21 = PolyMeshDetail_GetEdgeFlags_mE419AE8E99DB449781858214F07346E8ECDECB73(L_14, L_18, L_19, L_20, NULL);
|
|
// flags |= GetEdgeFlags(verts[t.VertexHash2], verts[t.VertexHash0], vpoly, npoly) << 4;
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_22 = ___1_verts;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* L_23 = ___0_t;
|
|
int32_t L_24 = L_23->___VertexHash2_2;
|
|
NullCheck(L_22);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25;
|
|
L_25 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_22, L_24, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
List_1_t92A179C8CEB17BEB8E66377CB935E81F74AAD64D* L_26 = ___1_verts;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7* L_27 = ___0_t;
|
|
int32_t L_28 = L_27->___VertexHash0_0;
|
|
NullCheck(L_26);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29;
|
|
L_29 = List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E(L_26, L_28, List_1_get_Item_m79FEF87D3B2D501B8E81B89206CB946BA68E266E_RuntimeMethod_var);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_30 = ___2_vpoly;
|
|
int32_t L_31 = ___3_npoly;
|
|
int32_t L_32;
|
|
L_32 = PolyMeshDetail_GetEdgeFlags_mE419AE8E99DB449781858214F07346E8ECDECB73(L_25, L_29, L_30, L_31, NULL);
|
|
// return flags;
|
|
return ((int32_t)(((int32_t)(((int32_t)(0|L_10))|((int32_t)(L_21<<2))))|((int32_t)(L_32<<4))));
|
|
}
|
|
}
|
|
#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/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)
|
|
{
|
|
{
|
|
// this.EndPt0 = endPt0;
|
|
int32_t L_0 = ___0_endPt0;
|
|
__this->___EndPt0_0 = L_0;
|
|
// this.EndPt1 = endPt1;
|
|
int32_t L_1 = ___1_endPt1;
|
|
__this->___EndPt1_1 = L_1;
|
|
// this.RightFace = rightFace;
|
|
int32_t L_2 = ___2_rightFace;
|
|
__this->___RightFace_2 = L_2;
|
|
// this.LeftFace = leftFace;
|
|
int32_t L_3 = ___3_leftFace;
|
|
__this->___LeftFace_3 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void EdgeInfo__ctor_mB425EDB809A5B35E6586CECD8D8E87908B7D1EE1_AdjustorThunk (RuntimeObject* __this, int32_t ___0_endPt0, int32_t ___1_endPt1, int32_t ___2_rightFace, int32_t ___3_leftFace, const RuntimeMethod* method)
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258*>(__this + _offset);
|
|
EdgeInfo__ctor_mB425EDB809A5B35E6586CECD8D8E87908B7D1EE1(_thisAdjusted, ___0_endPt0, ___1_endPt1, ___2_rightFace, ___3_leftFace, 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)
|
|
{
|
|
{
|
|
// if (e.EndPt0 == s && e.EndPt1 == t && e.LeftFace == (int)EdgeValues.Undefined)
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_0 = ___0_e;
|
|
int32_t L_1 = L_0->___EndPt0_0;
|
|
int32_t L_2 = ___1_s;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_3 = ___0_e;
|
|
int32_t L_4 = L_3->___EndPt1_1;
|
|
int32_t L_5 = ___2_t;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_6 = ___0_e;
|
|
int32_t L_7 = L_6->___LeftFace_3;
|
|
if ((!(((uint32_t)L_7) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// e.LeftFace = f;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_8 = ___0_e;
|
|
int32_t L_9 = ___3_f;
|
|
L_8->___LeftFace_3 = L_9;
|
|
return;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// else if (e.EndPt1 == s && e.EndPt0 == t && e.RightFace == (int)EdgeValues.Undefined)
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_10 = ___0_e;
|
|
int32_t L_11 = L_10->___EndPt1_1;
|
|
int32_t L_12 = ___1_s;
|
|
if ((!(((uint32_t)L_11) == ((uint32_t)L_12))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_13 = ___0_e;
|
|
int32_t L_14 = L_13->___EndPt0_0;
|
|
int32_t L_15 = ___2_t;
|
|
if ((!(((uint32_t)L_14) == ((uint32_t)L_15))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_16 = ___0_e;
|
|
int32_t L_17 = L_16->___RightFace_2;
|
|
if ((!(((uint32_t)L_17) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// e.RightFace = f;
|
|
EdgeInfo_t996C7F42CF005392476F4EC1FBBBB457A65DE258* L_18 = ___0_e;
|
|
int32_t L_19 = ___3_f;
|
|
L_18->___RightFace_2 = L_19;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// }
|
|
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
|
|
// Conversion methods for marshalling of: SharpNav.PolyMeshDetail/SamplingData
|
|
IL2CPP_EXTERN_C void SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshal_pinvoke(const SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406& unmarshaled, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_pinvoke& marshaled)
|
|
{
|
|
marshaled.___X_0 = unmarshaled.___X_0;
|
|
marshaled.___Y_1 = unmarshaled.___Y_1;
|
|
marshaled.___Z_2 = unmarshaled.___Z_2;
|
|
marshaled.___IsSampled_3 = static_cast<int32_t>(unmarshaled.___IsSampled_3);
|
|
}
|
|
IL2CPP_EXTERN_C void SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshal_pinvoke_back(const SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_pinvoke& marshaled, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406& unmarshaled)
|
|
{
|
|
int32_t unmarshaledX_temp_0 = 0;
|
|
unmarshaledX_temp_0 = marshaled.___X_0;
|
|
unmarshaled.___X_0 = unmarshaledX_temp_0;
|
|
int32_t unmarshaledY_temp_1 = 0;
|
|
unmarshaledY_temp_1 = marshaled.___Y_1;
|
|
unmarshaled.___Y_1 = unmarshaledY_temp_1;
|
|
int32_t unmarshaledZ_temp_2 = 0;
|
|
unmarshaledZ_temp_2 = marshaled.___Z_2;
|
|
unmarshaled.___Z_2 = unmarshaledZ_temp_2;
|
|
bool unmarshaledIsSampled_temp_3 = false;
|
|
unmarshaledIsSampled_temp_3 = static_cast<bool>(marshaled.___IsSampled_3);
|
|
unmarshaled.___IsSampled_3 = unmarshaledIsSampled_temp_3;
|
|
}
|
|
// Conversion method for clean up from marshalling of: SharpNav.PolyMeshDetail/SamplingData
|
|
IL2CPP_EXTERN_C void SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshal_pinvoke_cleanup(SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
// Conversion methods for marshalling of: SharpNav.PolyMeshDetail/SamplingData
|
|
IL2CPP_EXTERN_C void SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshal_com(const SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406& unmarshaled, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_com& marshaled)
|
|
{
|
|
marshaled.___X_0 = unmarshaled.___X_0;
|
|
marshaled.___Y_1 = unmarshaled.___Y_1;
|
|
marshaled.___Z_2 = unmarshaled.___Z_2;
|
|
marshaled.___IsSampled_3 = static_cast<int32_t>(unmarshaled.___IsSampled_3);
|
|
}
|
|
IL2CPP_EXTERN_C void SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshal_com_back(const SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_com& marshaled, SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406& unmarshaled)
|
|
{
|
|
int32_t unmarshaledX_temp_0 = 0;
|
|
unmarshaledX_temp_0 = marshaled.___X_0;
|
|
unmarshaled.___X_0 = unmarshaledX_temp_0;
|
|
int32_t unmarshaledY_temp_1 = 0;
|
|
unmarshaledY_temp_1 = marshaled.___Y_1;
|
|
unmarshaled.___Y_1 = unmarshaledY_temp_1;
|
|
int32_t unmarshaledZ_temp_2 = 0;
|
|
unmarshaledZ_temp_2 = marshaled.___Z_2;
|
|
unmarshaled.___Z_2 = unmarshaledZ_temp_2;
|
|
bool unmarshaledIsSampled_temp_3 = false;
|
|
unmarshaledIsSampled_temp_3 = static_cast<bool>(marshaled.___IsSampled_3);
|
|
unmarshaled.___IsSampled_3 = unmarshaledIsSampled_temp_3;
|
|
}
|
|
// Conversion method for clean up from marshalling of: SharpNav.PolyMeshDetail/SamplingData
|
|
IL2CPP_EXTERN_C void SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshal_com_cleanup(SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// this.X = x;
|
|
int32_t L_0 = ___0_x;
|
|
__this->___X_0 = L_0;
|
|
// this.Y = y;
|
|
int32_t L_1 = ___1_y;
|
|
__this->___Y_1 = L_1;
|
|
// this.Z = z;
|
|
int32_t L_2 = ___2_z;
|
|
__this->___Z_2 = L_2;
|
|
// this.IsSampled = isSampled;
|
|
bool L_3 = ___3_isSampled;
|
|
__this->___IsSampled_3 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void SamplingData__ctor_mA474DBE80B76EE56EE44C73FB77A6BF0B2938C7C_AdjustorThunk (RuntimeObject* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, bool ___3_isSampled, const RuntimeMethod* method)
|
|
{
|
|
SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<SamplingData_t397A3E58F62D7D3CA8F6C536CF7CF7F6BF032406*>(__this + _offset);
|
|
SamplingData__ctor_mA474DBE80B76EE56EE44C73FB77A6BF0B2938C7C(_thisAdjusted, ___0_x, ___1_y, ___2_z, ___3_isSampled, 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.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)
|
|
{
|
|
{
|
|
// X = x;
|
|
int32_t L_0 = ___0_x;
|
|
__this->___X_0 = L_0;
|
|
// Y = y;
|
|
int32_t L_1 = ___1_y;
|
|
__this->___Y_1 = L_1;
|
|
// Z = z;
|
|
int32_t L_2 = ___2_z;
|
|
__this->___Z_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void PolyVertex__ctor_m91E8C7EBFFEA955B19DAECF5D85F233A36048F8C_AdjustorThunk (RuntimeObject* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA*>(__this + _offset);
|
|
PolyVertex__ctor_m91E8C7EBFFEA955B19DAECF5D85F233A36048F8C(_thisAdjusted, ___0_x, ___1_y, ___2_z, method);
|
|
}
|
|
// SharpNav.PolyVertex SharpNav.PolyVertex::ComponentMin(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA PolyVertex_ComponentMin_m729A34E2AEF44EC9B0D5B7E85600F836F1217E91 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_b, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// ComponentMin(ref a, ref b, out v);
|
|
PolyVertex_ComponentMin_mC6CD0BDD4905211F4C12E68194704C2093D523F5((&___0_a), (&___1_b), (&V_0), NULL);
|
|
// return v;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyVertex::ComponentMin(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_ComponentMin_mC6CD0BDD4905211F4C12E68194704C2093D523F5 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B2_0 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B3_1 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B5_0 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B4_0 = NULL;
|
|
int32_t G_B6_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B6_1 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B8_0 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B7_0 = NULL;
|
|
int32_t G_B9_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B9_1 = NULL;
|
|
{
|
|
// result.X = a.X < b.X ? a.X : b.X;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___2_result;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___0_a;
|
|
int32_t L_2 = L_1->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_3 = ___1_b;
|
|
int32_t L_4 = L_3->___X_0;
|
|
G_B1_0 = L_0;
|
|
if ((((int32_t)L_2) < ((int32_t)L_4)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_5 = ___1_b;
|
|
int32_t L_6 = L_5->___X_0;
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_7 = ___0_a;
|
|
int32_t L_8 = L_7->___X_0;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
G_B3_1->___X_0 = G_B3_0;
|
|
// result.Y = a.Y < b.Y ? a.Y : b.Y;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_9 = ___2_result;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_10 = ___0_a;
|
|
int32_t L_11 = L_10->___Y_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_12 = ___1_b;
|
|
int32_t L_13 = L_12->___Y_1;
|
|
G_B4_0 = L_9;
|
|
if ((((int32_t)L_11) < ((int32_t)L_13)))
|
|
{
|
|
G_B5_0 = L_9;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_14 = ___1_b;
|
|
int32_t L_15 = L_14->___Y_1;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_16 = ___0_a;
|
|
int32_t L_17 = L_16->___Y_1;
|
|
G_B6_0 = L_17;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B6_1->___Y_1 = G_B6_0;
|
|
// result.Z = a.Z < b.Z ? a.Z : b.Z;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_18 = ___2_result;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_19 = ___0_a;
|
|
int32_t L_20 = L_19->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_21 = ___1_b;
|
|
int32_t L_22 = L_21->___Z_2;
|
|
G_B7_0 = L_18;
|
|
if ((((int32_t)L_20) < ((int32_t)L_22)))
|
|
{
|
|
G_B8_0 = L_18;
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_23 = ___1_b;
|
|
int32_t L_24 = L_23->___Z_2;
|
|
G_B9_0 = L_24;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_0061;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_25 = ___0_a;
|
|
int32_t L_26 = L_25->___Z_2;
|
|
G_B9_0 = L_26;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
G_B9_1->___Z_2 = G_B9_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.PolyVertex SharpNav.PolyVertex::ComponentMax(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA PolyVertex_ComponentMax_m6C367D62421074D2BA85F6276333660803A0ABA5 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_b, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// ComponentMax(ref a, ref b, out v);
|
|
PolyVertex_ComponentMax_mE9341EEF78FB48ACE734955300C924E59EBB7C2F((&___0_a), (&___1_b), (&V_0), NULL);
|
|
// return v;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyVertex::ComponentMax(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_ComponentMax_mE9341EEF78FB48ACE734955300C924E59EBB7C2F (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B2_0 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B3_1 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B5_0 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B4_0 = NULL;
|
|
int32_t G_B6_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B6_1 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B8_0 = NULL;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B7_0 = NULL;
|
|
int32_t G_B9_0 = 0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* G_B9_1 = NULL;
|
|
{
|
|
// result.X = a.X > b.X ? a.X : b.X;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___2_result;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___0_a;
|
|
int32_t L_2 = L_1->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_3 = ___1_b;
|
|
int32_t L_4 = L_3->___X_0;
|
|
G_B1_0 = L_0;
|
|
if ((((int32_t)L_2) > ((int32_t)L_4)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_5 = ___1_b;
|
|
int32_t L_6 = L_5->___X_0;
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_7 = ___0_a;
|
|
int32_t L_8 = L_7->___X_0;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
G_B3_1->___X_0 = G_B3_0;
|
|
// result.Y = a.Y > b.Y ? a.Y : b.Y;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_9 = ___2_result;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_10 = ___0_a;
|
|
int32_t L_11 = L_10->___Y_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_12 = ___1_b;
|
|
int32_t L_13 = L_12->___Y_1;
|
|
G_B4_0 = L_9;
|
|
if ((((int32_t)L_11) > ((int32_t)L_13)))
|
|
{
|
|
G_B5_0 = L_9;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_14 = ___1_b;
|
|
int32_t L_15 = L_14->___Y_1;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_16 = ___0_a;
|
|
int32_t L_17 = L_16->___Y_1;
|
|
G_B6_0 = L_17;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B6_1->___Y_1 = G_B6_0;
|
|
// result.Z = a.Z > b.Z ? a.Z : b.Z;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_18 = ___2_result;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_19 = ___0_a;
|
|
int32_t L_20 = L_19->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_21 = ___1_b;
|
|
int32_t L_22 = L_21->___Z_2;
|
|
G_B7_0 = L_18;
|
|
if ((((int32_t)L_20) > ((int32_t)L_22)))
|
|
{
|
|
G_B8_0 = L_18;
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_23 = ___1_b;
|
|
int32_t L_24 = L_23->___Z_2;
|
|
G_B9_0 = L_24;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_0061;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_25 = ___0_a;
|
|
int32_t L_26 = L_25->___Z_2;
|
|
G_B9_0 = L_26;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
G_B9_1->___Z_2 = G_B9_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// Area2D(ref a, ref b, ref c, out area);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = ___2_c;
|
|
PolyVertex_Area2D_m6AF45A792BC977461F873AFFC9FA461485195CB9(L_0, L_1, L_2, (&V_0), NULL);
|
|
// return area < 0;
|
|
int32_t L_3 = V_0;
|
|
return (bool)((((int32_t)L_3) < ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// Area2D(ref a, ref b, ref c, out area);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = ___2_c;
|
|
PolyVertex_Area2D_m6AF45A792BC977461F873AFFC9FA461485195CB9(L_0, L_1, L_2, (&V_0), NULL);
|
|
// return area <= 0;
|
|
int32_t L_3 = V_0;
|
|
return (bool)((((int32_t)((((int32_t)L_3) > ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// return a.X == b.X && a.Z == b.Z;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___0_a;
|
|
int32_t L_1 = L_0->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = ___1_b;
|
|
int32_t L_3 = L_2->___X_0;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_4 = ___0_a;
|
|
int32_t L_5 = L_4->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_6 = ___1_b;
|
|
int32_t L_7 = L_6->___Z_2;
|
|
return (bool)((((int32_t)L_5) == ((int32_t)L_7))? 1 : 0);
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// if (IntersectProp(ref a, ref b, ref c, ref d))
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_3 = ___3_d;
|
|
bool L_4;
|
|
L_4 = PolyVertex_IntersectProp_mF5BEAE5121E78989C6BC697997D612708600C5CF(L_0, L_1, L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// else if (IsBetween(ref a, ref b, ref c)
|
|
// || IsBetween(ref a, ref b, ref d)
|
|
// || IsBetween(ref c, ref d, ref a)
|
|
// || IsBetween(ref c, ref d, ref b))
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_5 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_6 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_7 = ___2_c;
|
|
bool L_8;
|
|
L_8 = PolyVertex_IsBetween_mB119827883B4DB4355F78CF5DF356C6FF7CCA73A(L_5, L_6, L_7, NULL);
|
|
if (L_8)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_9 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_10 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_11 = ___3_d;
|
|
bool L_12;
|
|
L_12 = PolyVertex_IsBetween_mB119827883B4DB4355F78CF5DF356C6FF7CCA73A(L_9, L_10, L_11, NULL);
|
|
if (L_12)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_13 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_14 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_15 = ___0_a;
|
|
bool L_16;
|
|
L_16 = PolyVertex_IsBetween_mB119827883B4DB4355F78CF5DF356C6FF7CCA73A(L_13, L_14, L_15, NULL);
|
|
if (L_16)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_17 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_18 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_19 = ___1_b;
|
|
bool L_20;
|
|
L_20 = PolyVertex_IsBetween_mB119827883B4DB4355F78CF5DF356C6FF7CCA73A(L_17, L_18, L_19, NULL);
|
|
if (!L_20)
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex::IntersectProp(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IntersectProp_mF5BEAE5121E78989C6BC697997D612708600C5CF (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___3_d, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (IsCollinear(ref a, ref b, ref c)
|
|
// || IsCollinear(ref a, ref b, ref d)
|
|
// || IsCollinear(ref c, ref d, ref a)
|
|
// || 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 (!IsLeft(ref a, ref b, ref c) ^ !IsLeft(ref a, ref b, ref d))
|
|
// && (!IsLeft(ref c, ref d, ref a) ^ !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);
|
|
if (!((int32_t)(((((int32_t)L_19) == ((int32_t)0))? 1 : 0)^((((int32_t)L_23) == ((int32_t)0))? 1 : 0))))
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_24 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_25 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_26 = ___0_a;
|
|
bool L_27;
|
|
L_27 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(L_24, L_25, L_26, NULL);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_28 = ___2_c;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_29 = ___3_d;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_30 = ___1_b;
|
|
bool L_31;
|
|
L_31 = PolyVertex_IsLeft_m2DF8172BD838A170FD88DB49A720D8AE519B1C1C(L_28, L_29, L_30, NULL);
|
|
return (bool)((int32_t)(((((int32_t)L_27) == ((int32_t)0))? 1 : 0)^((((int32_t)L_31) == ((int32_t)0))? 1 : 0)));
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex::IsBetween(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_IsBetween_mB119827883B4DB4355F78CF5DF356C6FF7CCA73A (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (!IsCollinear(ref a, ref b, ref c))
|
|
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_000c;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// if (a.X != b.X)
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_4 = ___0_a;
|
|
int32_t L_5 = L_4->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_6 = ___1_b;
|
|
int32_t L_7 = L_6->___X_0;
|
|
if ((((int32_t)L_5) == ((int32_t)L_7)))
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
// return ((a.X <= c.X) && (c.X <= b.X)) || ((a.X >= c.X) && (c.X >= b.X));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_8 = ___0_a;
|
|
int32_t L_9 = L_8->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_10 = ___2_c;
|
|
int32_t L_11 = L_10->___X_0;
|
|
if ((((int32_t)L_9) > ((int32_t)L_11)))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_12 = ___2_c;
|
|
int32_t L_13 = L_12->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_14 = ___1_b;
|
|
int32_t L_15 = L_14->___X_0;
|
|
if ((((int32_t)L_13) <= ((int32_t)L_15)))
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_16 = ___0_a;
|
|
int32_t L_17 = L_16->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_18 = ___2_c;
|
|
int32_t L_19 = L_18->___X_0;
|
|
if ((((int32_t)L_17) < ((int32_t)L_19)))
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_20 = ___2_c;
|
|
int32_t L_21 = L_20->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_22 = ___1_b;
|
|
int32_t L_23 = L_22->___X_0;
|
|
return (bool)((((int32_t)((((int32_t)L_21) < ((int32_t)L_23))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
// return ((a.Z <= c.Z) && (c.Z <= b.Z)) || ((a.Z >= c.Z) && (c.Z >= b.Z));
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_24 = ___0_a;
|
|
int32_t L_25 = L_24->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_26 = ___2_c;
|
|
int32_t L_27 = L_26->___Z_2;
|
|
if ((((int32_t)L_25) > ((int32_t)L_27)))
|
|
{
|
|
goto IL_0076;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_28 = ___2_c;
|
|
int32_t L_29 = L_28->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_30 = ___1_b;
|
|
int32_t L_31 = L_30->___Z_2;
|
|
if ((((int32_t)L_29) <= ((int32_t)L_31)))
|
|
{
|
|
goto IL_0098;
|
|
}
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_32 = ___0_a;
|
|
int32_t L_33 = L_32->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_34 = ___2_c;
|
|
int32_t L_35 = L_34->___Z_2;
|
|
if ((((int32_t)L_33) < ((int32_t)L_35)))
|
|
{
|
|
goto IL_0096;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_36 = ___2_c;
|
|
int32_t L_37 = L_36->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_38 = ___1_b;
|
|
int32_t L_39 = L_38->___Z_2;
|
|
return (bool)((((int32_t)((((int32_t)L_37) < ((int32_t)L_39))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// Area2D(ref a, ref b, ref c, out area);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_0 = ___0_a;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___1_b;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_2 = ___2_c;
|
|
PolyVertex_Area2D_m6AF45A792BC977461F873AFFC9FA461485195CB9(L_0, L_1, L_2, (&V_0), NULL);
|
|
// return area == 0;
|
|
int32_t L_3 = V_0;
|
|
return (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyVertex::Area2D(SharpNav.PolyVertex&,SharpNav.PolyVertex&,SharpNav.PolyVertex&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_Area2D_m6AF45A792BC977461F873AFFC9FA461485195CB9 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___0_a, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___1_b, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* ___2_c, int32_t* ___3_area, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// area = (b.X - a.X) * (c.Z - a.Z) - (c.X - a.X) * (b.Z - a.Z);
|
|
int32_t* L_0 = ___3_area;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_1 = ___1_b;
|
|
int32_t L_2 = L_1->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_3 = ___0_a;
|
|
int32_t L_4 = L_3->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_5 = ___2_c;
|
|
int32_t L_6 = L_5->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_7 = ___0_a;
|
|
int32_t L_8 = L_7->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_9 = ___2_c;
|
|
int32_t L_10 = L_9->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_11 = ___0_a;
|
|
int32_t L_12 = L_11->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_13 = ___1_b;
|
|
int32_t L_14 = L_13->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_15 = ___0_a;
|
|
int32_t L_16 = L_15->___Z_2;
|
|
*((int32_t*)L_0) = (int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_2, L_4)), ((int32_t)il2cpp_codegen_subtract(L_6, L_8)))), ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_10, L_12)), ((int32_t)il2cpp_codegen_subtract(L_14, L_16))))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.PolyVertex::Area2D(SharpNav.ContourVertex&,SharpNav.ContourVertex&,SharpNav.ContourVertex&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyVertex_Area2D_m39F5CF73EC78E104D00AEB4A3C3382256DDFC603 (ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* ___0_a, ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* ___1_b, ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* ___2_c, int32_t* ___3_area, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// area = (b.X - a.X) * (c.Z - a.Z) - (c.X - a.X) * (b.Z - a.Z);
|
|
int32_t* L_0 = ___3_area;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_1 = ___1_b;
|
|
int32_t L_2 = L_1->___X_0;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_3 = ___0_a;
|
|
int32_t L_4 = L_3->___X_0;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_5 = ___2_c;
|
|
int32_t L_6 = L_5->___Z_2;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_7 = ___0_a;
|
|
int32_t L_8 = L_7->___Z_2;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_9 = ___2_c;
|
|
int32_t L_10 = L_9->___X_0;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_11 = ___0_a;
|
|
int32_t L_12 = L_11->___X_0;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_13 = ___1_b;
|
|
int32_t L_14 = L_13->___Z_2;
|
|
ContourVertex_tACDEBD9A00EED3F3C206ED47A7735013BD576ECD* L_15 = ___0_a;
|
|
int32_t L_16 = L_15->___Z_2;
|
|
*((int32_t*)L_0) = (int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_2, L_4)), ((int32_t)il2cpp_codegen_subtract(L_6, L_8)))), ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_subtract(L_10, L_12)), ((int32_t)il2cpp_codegen_subtract(L_14, L_16))))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = PolyVertex_Equals_mD2EB7355E68DEF466047E4F4D79BAD04C530C827((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex::op_Inequality(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_op_Inequality_mC3643A4AA6B80E8598B5B2433410A5BF14BCB565 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_left, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !(left == right);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = ___0_left;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_1 = ___1_right;
|
|
bool L_2;
|
|
L_2 = PolyVertex_op_Equality_m7D6F2EBA891252DC922B76EDD0A1601C2803CB17(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex::Equals(SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_Equals_mD2EB7355E68DEF466047E4F4D79BAD04C530C827 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X == other.X && Y == other.Y && Z == other.Z;
|
|
int32_t L_0 = __this->___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_1 = ___0_other;
|
|
int32_t L_2 = L_1.___X_0;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = __this->___Y_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_4 = ___0_other;
|
|
int32_t L_5 = L_4.___Y_1;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)L_5))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_6 = __this->___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_7 = ___0_other;
|
|
int32_t L_8 = L_7.___Z_2;
|
|
return (bool)((((int32_t)L_6) == ((int32_t)L_8))? 1 : 0);
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool PolyVertex_Equals_mD2EB7355E68DEF466047E4F4D79BAD04C530C827_AdjustorThunk (RuntimeObject* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_other, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = PolyVertex_Equals_mD2EB7355E68DEF466047E4F4D79BAD04C530C827(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyVertex_Equals_m52D6202057967CE6093D9AA20E54A378AC330A82 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __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_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_tA1C5173173244040E009490118CB7D92233346D7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void* L_1 = alloca(sizeof(Nullable_1_tA1C5173173244040E009490118CB7D92233346D7));
|
|
Nullable_1_tA1C5173173244040E009490118CB7D92233346D7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// PolyVertex? p = obj as PolyVertex?;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_0, Nullable_1_tA1C5173173244040E009490118CB7D92233346D7_il2cpp_TypeInfo_var)), Nullable_1_tA1C5173173244040E009490118CB7D92233346D7_il2cpp_TypeInfo_var, L_1);
|
|
V_0 = ((*(Nullable_1_tA1C5173173244040E009490118CB7D92233346D7*)((Nullable_1_tA1C5173173244040E009490118CB7D92233346D7*)(Nullable_1_tA1C5173173244040E009490118CB7D92233346D7*)L_1)));
|
|
// if (p.HasValue)
|
|
bool L_2;
|
|
L_2 = Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_inline((&V_0), Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(p.Value);
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_3;
|
|
L_3 = Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD((&V_0), Nullable_1_get_Value_m30323C7428ED4A67B415B3425228C10740A12EFD_RuntimeMethod_var);
|
|
bool L_4;
|
|
L_4 = PolyVertex_Equals_mD2EB7355E68DEF466047E4F4D79BAD04C530C827(__this, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool PolyVertex_Equals_m52D6202057967CE6093D9AA20E54A378AC330A82_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = PolyVertex_Equals_m52D6202057967CE6093D9AA20E54A378AC330A82(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.PolyVertex::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PolyVertex_GetHashCode_m9E76ECBCC360A706BCD83171B606737D62E4E2EC (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X.GetHashCode() ^ Y.GetHashCode() ^ Z.GetHashCode();
|
|
int32_t* L_0 = (&__this->___X_0);
|
|
int32_t L_1;
|
|
L_1 = Int32_GetHashCode_m253D60FF7527A483E91004B7A2366F13E225E295(L_0, NULL);
|
|
int32_t* L_2 = (&__this->___Y_1);
|
|
int32_t L_3;
|
|
L_3 = Int32_GetHashCode_m253D60FF7527A483E91004B7A2366F13E225E295(L_2, NULL);
|
|
int32_t* L_4 = (&__this->___Z_2);
|
|
int32_t L_5;
|
|
L_5 = Int32_GetHashCode_m253D60FF7527A483E91004B7A2366F13E225E295(L_4, NULL);
|
|
return ((int32_t)(((int32_t)(L_1^L_3))^L_5));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t PolyVertex_GetHashCode_m9E76ECBCC360A706BCD83171B606737D62E4E2EC_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = PolyVertex_GetHashCode_m9E76ECBCC360A706BCD83171B606737D62E4E2EC(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String SharpNav.PolyVertex::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11 (PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* __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*)&_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "(" + X + ", " + Y + ", " + Z + ")";
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)7);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
ArrayElementTypeCheck (L_1, _stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
int32_t* L_3 = (&__this->___X_0);
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(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;
|
|
int32_t* L_7 = (&__this->___Y_1);
|
|
String_t* L_8;
|
|
L_8 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(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, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_9;
|
|
int32_t* L_11 = (&__this->___Z_2);
|
|
String_t* L_12;
|
|
L_12 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_11, NULL);
|
|
NullCheck(L_10);
|
|
ArrayElementTypeCheck (L_10, L_12);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)L_12);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_13 = L_10;
|
|
NullCheck(L_13);
|
|
ArrayElementTypeCheck (L_13, _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
|
|
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
|
|
String_t* L_14;
|
|
L_14 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_13, NULL);
|
|
return L_14;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = PolyVertex_ToString_m05ACDE9479F571F1843204F3190929A79829AD11(_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.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)
|
|
{
|
|
{
|
|
// public RoughYEqualityComparer(int epsilonY)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.epsilonY = epsilonY;
|
|
int32_t L_0 = ___0_epsilonY;
|
|
__this->___epsilonY_2 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.PolyVertex/RoughYEqualityComparer::Equals(SharpNav.PolyVertex,SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoughYEqualityComparer_Equals_mFEAB63290B5959F4CBEF657502F2C7050048FAB1 (RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_left, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___1_right, 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;
|
|
}
|
|
{
|
|
// return left.X == right.X && (Math.Abs(left.Y - right.Y) <= epsilonY) && left.Z == right.Z;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = ___0_left;
|
|
int32_t L_1 = L_0.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_2 = ___1_right;
|
|
int32_t L_3 = L_2.___X_0;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_4 = ___0_left;
|
|
int32_t L_5 = L_4.___Y_1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_6 = ___1_right;
|
|
int32_t L_7 = L_6.___Y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_8;
|
|
L_8 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_5, L_7)));
|
|
int32_t L_9 = __this->___epsilonY_2;
|
|
if ((((int32_t)L_8) > ((int32_t)L_9)))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_10 = ___0_left;
|
|
int32_t L_11 = L_10.___Z_2;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_12 = ___1_right;
|
|
int32_t L_13 = L_12.___Z_2;
|
|
return (bool)((((int32_t)L_11) == ((int32_t)L_13))? 1 : 0);
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.PolyVertex/RoughYEqualityComparer::GetHashCode(SharpNav.PolyVertex)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RoughYEqualityComparer_GetHashCode_m4EC130758548E98EECF31BC6801E3556D6842C2C (RoughYEqualityComparer_tC02E66542A451466DA052657A225DE195B1F1CBA* __this, PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return HashConstX * obj.X + HashConstZ * obj.Z;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_0 = ___0_obj;
|
|
int32_t L_1 = L_0.___X_0;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA L_2 = ___0_obj;
|
|
int32_t L_3 = L_2.___Z_2;
|
|
return ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)-1918454973), L_1)), ((int32_t)il2cpp_codegen_multiply(((int32_t)-887442657), L_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
|
|
// System.Void SharpNav.RegionId::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionId__ctor_mABF20B538252EC0BCD20E526F051EB44056F64C7 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, int32_t ___0_id, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// : this(id, 0)
|
|
int32_t L_0 = ___0_id;
|
|
RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691(__this, L_0, 0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void RegionId__ctor_mABF20B538252EC0BCD20E526F051EB44056F64C7_AdjustorThunk (RuntimeObject* __this, int32_t ___0_id, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
RegionId__ctor_mABF20B538252EC0BCD20E526F051EB44056F64C7(_thisAdjusted, ___0_id, method);
|
|
}
|
|
// System.Void SharpNav.RegionId::.ctor(System.Int32,SharpNav.RegionFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, int32_t ___0_id, int32_t ___1_flags, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int masked = id & MaskId;
|
|
int32_t L_0 = ___0_id;
|
|
V_0 = ((int32_t)(L_0&((int32_t)536870911)));
|
|
// if (masked != id)
|
|
int32_t L_1 = V_0;
|
|
int32_t L_2 = ___0_id;
|
|
if ((((int32_t)L_1) == ((int32_t)L_2)))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// throw new ArgumentOutOfRangeException("id", "The provided id is outside of the valid range. The 3 most significant bits must be 0. Maybe you wanted RegionId.FromRawBits()?");
|
|
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_3 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_3);
|
|
ArgumentOutOfRangeException__ctor_mE5B2755F0BEA043CACF915D5CE140859EE58FA66(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral996E5360F80E16B2189CC1E536C91CE68083F694)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral04B19EA6DD8B22EF3FE31F40502F6087A1389155)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// if ((RegionFlags)((int)flags & ~MaskId) != flags)
|
|
int32_t L_4 = ___1_flags;
|
|
int32_t L_5 = ___1_flags;
|
|
if ((((int32_t)((int32_t)((int32_t)L_4&((int32_t)-536870912)))) == ((int32_t)L_5)))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
// throw new ArgumentException("flags", "The provide region flags are invalid.");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_6 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_6);
|
|
ArgumentException__ctor_m8F9D40CE19D19B698A70F9A258640EB52DB39B62(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFCAD6572759BA264A7B9B9106CCB401DB355CAD7)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral54A5516FEEADDD9BAA7B4809CC706272FC2FE5B6)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// bits = masked | (int)flags;
|
|
int32_t L_7 = V_0;
|
|
int32_t L_8 = ___1_flags;
|
|
__this->___bits_2 = ((int32_t)(L_7|(int32_t)L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691_AdjustorThunk (RuntimeObject* __this, int32_t ___0_id, int32_t ___1_flags, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691(_thisAdjusted, ___0_id, ___1_flags, method);
|
|
}
|
|
// System.Int32 SharpNav.RegionId::get_Id()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_get_Id_m4BF724F42EBF1F34DAECF0800D2D1CA6254B76CC (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return bits & MaskId;
|
|
int32_t L_0 = __this->___bits_2;
|
|
return ((int32_t)(L_0&((int32_t)536870911)));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t RegionId_get_Id_m4BF724F42EBF1F34DAECF0800D2D1CA6254B76CC_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = RegionId_get_Id_m4BF724F42EBF1F34DAECF0800D2D1CA6254B76CC(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.RegionFlags SharpNav.RegionId::get_Flags()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (RegionFlags)(bits & ~MaskId);
|
|
int32_t L_0 = __this->___bits_2;
|
|
return (int32_t)(((int32_t)(L_0&((int32_t)-536870912))));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.RegionId::get_IsNull()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (bits & MaskId) == 0;
|
|
int32_t L_0 = __this->___bits_2;
|
|
return (bool)((((int32_t)((int32_t)(L_0&((int32_t)536870911)))) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.RegionId SharpNav.RegionId::FromRawBits(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D RegionId_FromRawBits_m50ADF2E5B2E24CF825319A80571A8B4A09E9BBB2 (int32_t ___0_bits, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// id.bits = bits;
|
|
int32_t L_0 = ___0_bits;
|
|
(&V_0)->___bits_2 = L_0;
|
|
// return id;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
// SharpNav.RegionId SharpNav.RegionId::WithFlags(SharpNav.RegionId,SharpNav.RegionFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D RegionId_WithFlags_mF89F81A66AB68F72E520E1B651BD6C581452247F (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_region, int32_t ___1_flags, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if ((RegionFlags)((int)flags & ~MaskId) != flags)
|
|
int32_t L_0 = ___1_flags;
|
|
int32_t L_1 = ___1_flags;
|
|
if ((((int32_t)((int32_t)((int32_t)L_0&((int32_t)-536870912)))) == ((int32_t)L_1)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// throw new ArgumentException("flags", "The provide region flags are invalid.");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_2 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_2);
|
|
ArgumentException__ctor_m8F9D40CE19D19B698A70F9A258640EB52DB39B62(L_2, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFCAD6572759BA264A7B9B9106CCB401DB355CAD7)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral54A5516FEEADDD9BAA7B4809CC706272FC2FE5B6)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RegionId_WithFlags_mF89F81A66AB68F72E520E1B651BD6C581452247F_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// RegionFlags newFlags = region.Flags | flags;
|
|
int32_t L_3;
|
|
L_3 = RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7((&___0_region), NULL);
|
|
int32_t L_4 = ___1_flags;
|
|
V_0 = ((int32_t)((int32_t)L_3|(int32_t)L_4));
|
|
// return RegionId.FromRawBits((region.bits & MaskId) | (int)newFlags);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_5 = ___0_region;
|
|
int32_t L_6 = L_5.___bits_2;
|
|
int32_t L_7 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_8;
|
|
L_8 = RegionId_FromRawBits_m50ADF2E5B2E24CF825319A80571A8B4A09E9BBB2(((int32_t)(((int32_t)(L_6&((int32_t)536870911)))|(int32_t)L_7)), NULL);
|
|
return L_8;
|
|
}
|
|
}
|
|
// SharpNav.RegionId SharpNav.RegionId::WithoutFlags(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D RegionId_WithoutFlags_m1AD0228DE37755B421549364E85AB968187293E8 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_region, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new RegionId(region.Id);
|
|
int32_t L_0;
|
|
L_0 = RegionId_get_Id_m4BF724F42EBF1F34DAECF0800D2D1CA6254B76CC((&___0_region), NULL);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
RegionId__ctor_mABF20B538252EC0BCD20E526F051EB44056F64C7((&L_1), L_0, /*hidden argument*/NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// SharpNav.RegionId SharpNav.RegionId::WithoutFlags(SharpNav.RegionId,SharpNav.RegionFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D RegionId_WithoutFlags_m4ABE1F052B232AB4B9E298669D033C52ED186859 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_region, int32_t ___1_flags, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if ((RegionFlags)((int)flags & ~MaskId) != flags)
|
|
int32_t L_0 = ___1_flags;
|
|
int32_t L_1 = ___1_flags;
|
|
if ((((int32_t)((int32_t)((int32_t)L_0&((int32_t)-536870912)))) == ((int32_t)L_1)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// throw new ArgumentException("flags", "The provide region flags are invalid.");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_2 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_2);
|
|
ArgumentException__ctor_m8F9D40CE19D19B698A70F9A258640EB52DB39B62(L_2, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFCAD6572759BA264A7B9B9106CCB401DB355CAD7)), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral54A5516FEEADDD9BAA7B4809CC706272FC2FE5B6)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RegionId_WithoutFlags_m4ABE1F052B232AB4B9E298669D033C52ED186859_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// RegionFlags newFlags = region.Flags & ~flags;
|
|
int32_t L_3;
|
|
L_3 = RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7((&___0_region), NULL);
|
|
int32_t L_4 = ___1_flags;
|
|
V_0 = ((int32_t)((int32_t)L_3&(int32_t)((~L_4))));
|
|
// return RegionId.FromRawBits((region.bits & MaskId) | (int)newFlags);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_5 = ___0_region;
|
|
int32_t L_6 = L_5.___bits_2;
|
|
int32_t L_7 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_8;
|
|
L_8 = RegionId_FromRawBits_m50ADF2E5B2E24CF825319A80571A8B4A09E9BBB2(((int32_t)(((int32_t)(L_6&((int32_t)536870911)))|(int32_t)L_7)), NULL);
|
|
return L_8;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// return (region.Flags & flags) != 0;
|
|
int32_t L_0;
|
|
L_0 = RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7((&___0_region), NULL);
|
|
int32_t L_1 = ___1_flags;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)L_1))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.RegionId::op_Equality(SharpNav.RegionId,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_op_Equality_m34A7713EF3286A7C6721174113EF904093079AE9 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_left, int32_t ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
int32_t L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = RegionId_Equals_m9B069752DD11B97A2E719303D364EC9C612B2A0B((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.RegionId::op_Inequality(SharpNav.RegionId,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_op_Inequality_m76396061E44B6FD31ED4F72981BA65097407C42F (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_left, int32_t ___1_right, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return !(left == right);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = ___0_left;
|
|
int32_t L_1 = ___1_right;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = RegionId_op_Equality_m34A7713EF3286A7C6721174113EF904093079AE9(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return !(left == right);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = ___0_left;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_1 = ___1_right;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.RegionId::op_Explicit(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_op_Explicit_m665C0F56C1764F6E1FDF17560927B65E943045BA (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_id, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return id.bits;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = ___0_id;
|
|
int32_t L_1 = L_0.___bits_2;
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.RegionId::Equals(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_other, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
{
|
|
// bool thisNull = this.IsNull;
|
|
bool L_0;
|
|
L_0 = RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF(__this, NULL);
|
|
V_0 = L_0;
|
|
// bool otherNull = other.IsNull;
|
|
bool L_1;
|
|
L_1 = RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF((&___0_other), NULL);
|
|
V_1 = L_1;
|
|
// if (thisNull && otherNull)
|
|
bool L_2 = V_0;
|
|
bool L_3 = V_1;
|
|
if (!((int32_t)((int32_t)L_2&(int32_t)L_3)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// else if (thisNull ^ otherNull)
|
|
bool L_4 = V_0;
|
|
bool L_5 = V_1;
|
|
if (!((int32_t)((int32_t)L_4^(int32_t)L_5)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// return this.bits == other.bits;
|
|
int32_t L_6 = __this->___bits_2;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_7 = ___0_other;
|
|
int32_t L_8 = L_7.___bits_2;
|
|
return (bool)((((int32_t)L_6) == ((int32_t)L_8))? 1 : 0);
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12_AdjustorThunk (RuntimeObject* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_other, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.RegionId::Equals(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_Equals_m9B069752DD11B97A2E719303D364EC9C612B2A0B (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, int32_t ___0_other, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// otherId.bits = other;
|
|
int32_t L_0 = ___0_other;
|
|
(&V_0)->___bits_2 = L_0;
|
|
// return this.Equals(otherId);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_1 = V_0;
|
|
bool L_2;
|
|
L_2 = RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12(__this, L_1, NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool RegionId_Equals_m9B069752DD11B97A2E719303D364EC9C612B2A0B_AdjustorThunk (RuntimeObject* __this, int32_t ___0_other, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = RegionId_Equals_m9B069752DD11B97A2E719303D364EC9C612B2A0B(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.RegionId::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionId_Equals_mB6FB4F2FF3321E3A78CC768DCB2F85574B429A29 (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __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_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void* L_1 = alloca(sizeof(Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC));
|
|
void* L_3 = alloca(sizeof(Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28));
|
|
Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// var regObj = obj as RegionId?;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_0, Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC_il2cpp_TypeInfo_var)), Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC_il2cpp_TypeInfo_var, L_1);
|
|
V_0 = ((*(Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC*)((Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC*)(Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC*)L_1)));
|
|
// var intObj = obj as int?;
|
|
RuntimeObject* L_2 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_2, Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28_il2cpp_TypeInfo_var)), Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28_il2cpp_TypeInfo_var, L_3);
|
|
V_1 = ((*(Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28*)((Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28*)(Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28*)L_3)));
|
|
// if (regObj.HasValue)
|
|
bool L_4;
|
|
L_4 = Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_inline((&V_0), Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_RuntimeMethod_var);
|
|
if (!L_4)
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(regObj.Value);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_5;
|
|
L_5 = Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0((&V_0), Nullable_1_get_Value_mA9B0B964067FCA694B0550417BE2648DAB5C2BD0_RuntimeMethod_var);
|
|
bool L_6;
|
|
L_6 = RegionId_Equals_m96E297EB7516DDC8CF7F380D9477B50DE726CC12(__this, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// else if (intObj.HasValue)
|
|
bool L_7;
|
|
L_7 = Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_inline((&V_1), Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_RuntimeMethod_var);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(intObj.Value);
|
|
int32_t L_8;
|
|
L_8 = Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA((&V_1), Nullable_1_get_Value_m0DF3B826A745419D26A168689AEB4BE6F8698ECA_RuntimeMethod_var);
|
|
bool L_9;
|
|
L_9 = RegionId_Equals_m9B069752DD11B97A2E719303D364EC9C612B2A0B(__this, L_8, NULL);
|
|
return L_9;
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool RegionId_Equals_mB6FB4F2FF3321E3A78CC768DCB2F85574B429A29_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = RegionId_Equals_mB6FB4F2FF3321E3A78CC768DCB2F85574B429A29(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.RegionId::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RegionId_GetHashCode_mD3E83CA027E61844115FA338AEBEAC911BD0406F (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (IsNull)
|
|
bool L_0;
|
|
L_0 = RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// return bits.GetHashCode();
|
|
int32_t* L_1 = (&__this->___bits_2);
|
|
int32_t L_2;
|
|
L_2 = Int32_GetHashCode_m253D60FF7527A483E91004B7A2366F13E225E295(L_1, NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t RegionId_GetHashCode_mD3E83CA027E61844115FA338AEBEAC911BD0406F_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = RegionId_GetHashCode_mD3E83CA027E61844115FA338AEBEAC911BD0406F(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String SharpNav.RegionId::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionId_ToString_mBC22857655BD736F008B23F67154216AE5A81B4D (RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionFlags_t5F4D2577AE0094763D0AD4DCDB101F3278818DDA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0A273177CF6AA9BE6A555A4091172C88BD968A3F);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral191F077951843ECB50AF027A0C627A35A304CD7B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4D8D9C94AC5DA5FCED2EC8A64E10E714A2515C30);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// return "{ Id: " + Id + ", Flags: " + Flags + "}";
|
|
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, _stringLiteral191F077951843ECB50AF027A0C627A35A304CD7B);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral191F077951843ECB50AF027A0C627A35A304CD7B);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
int32_t L_3;
|
|
L_3 = RegionId_get_Id_m4BF724F42EBF1F34DAECF0800D2D1CA6254B76CC(__this, NULL);
|
|
V_0 = L_3;
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_0), 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, _stringLiteral0A273177CF6AA9BE6A555A4091172C88BD968A3F);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral0A273177CF6AA9BE6A555A4091172C88BD968A3F);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = L_5;
|
|
int32_t L_7;
|
|
L_7 = RegionId_get_Flags_m39FEE7D3FD8697773E16211BBCF82534BE5476E7(__this, NULL);
|
|
V_1 = L_7;
|
|
Il2CppFakeBox<int32_t> L_8(RegionFlags_t5F4D2577AE0094763D0AD4DCDB101F3278818DDA_il2cpp_TypeInfo_var, (&V_1));
|
|
String_t* L_9;
|
|
L_9 = Enum_ToString_m946B0B83C4470457D0FF555D862022C72BB55741((Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2*)(&L_8), NULL);
|
|
NullCheck(L_6);
|
|
ArrayElementTypeCheck (L_6, L_9);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_9);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_6;
|
|
NullCheck(L_10);
|
|
ArrayElementTypeCheck (L_10, _stringLiteral4D8D9C94AC5DA5FCED2EC8A64E10E714A2515C30);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral4D8D9C94AC5DA5FCED2EC8A64E10E714A2515C30);
|
|
String_t* L_11;
|
|
L_11 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_10, NULL);
|
|
return L_11;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* RegionId_ToString_mBC22857655BD736F008B23F67154216AE5A81B4D_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = RegionId_ToString_mBC22857655BD736F008B23F67154216AE5A81B4D(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.RegionId::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionId__cctor_mD056007F2718B95FB4C1B95AD6ED5C6E25DEDC75 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public static readonly RegionId Null = new RegionId(0, 0);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
RegionId__ctor_m2BF48C857F44089C455E601FC9409F35AB102691((&L_0), 0, 0, /*hidden argument*/NULL);
|
|
((RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_StaticFields*)il2cpp_codegen_static_fields_for(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var))->___Null_0 = L_0;
|
|
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.Region::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region__ctor_m0C36E4D8FE49A25131EB485556760E9C6C9C2744 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, int32_t ___0_idNum, 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*)&List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Region(int idNum)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// spanCount = 0;
|
|
__this->___spanCount_0 = 0;
|
|
// id = new RegionId(idNum);
|
|
int32_t L_0 = ___0_idNum;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
RegionId__ctor_mABF20B538252EC0BCD20E526F051EB44056F64C7((&L_1), L_0, /*hidden argument*/NULL);
|
|
__this->___id_1 = L_1;
|
|
// areaType = 0;
|
|
il2cpp_codegen_runtime_class_init_inline(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_2;
|
|
L_2 = Area_op_Implicit_m86A988D06C20C2843BDC3981FECA5BCE41479DBD((uint8_t)0, NULL);
|
|
__this->___areaType_2 = L_2;
|
|
// remap = false;
|
|
__this->___remap_3 = (bool)0;
|
|
// visited = false;
|
|
__this->___visited_4 = (bool)0;
|
|
// connections = new List<RegionId>();
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_3 = (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*)il2cpp_codegen_object_new(List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C(L_3, List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var);
|
|
__this->___connections_5 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_5), (void*)L_3);
|
|
// floors = new List<RegionId>();
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_4 = (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*)il2cpp_codegen_object_new(List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C(L_4, List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var);
|
|
__this->___floors_6 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___floors_6), (void*)L_4);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Region::get_SpanCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Region_get_SpanCount_mD2DA7222B2A3122AA56BED626B3EFA9A8A141A60 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return spanCount;
|
|
int32_t L_0 = __this->___spanCount_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::set_SpanCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_SpanCount_mF7443D1BB310073B0E6FC3D6369EF0799019751B (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.spanCount = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___spanCount_0 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.RegionId SharpNav.Region::get_Id()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D Region_get_Id_m2935292C92A0FB660B2CEA0772CE82D2BD1DFD04 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return id;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = __this->___id_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::set_Id(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_Id_mDE7FD1DA12EF16A780FB8EBD98F3A2DF33DF785D (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.id = value;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = ___0_value;
|
|
__this->___id_1 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Area SharpNav.Region::get_AreaType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Region_get_AreaType_m0139E6FB08AB7DFD7D8765118C98737E6144E9A4 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return areaType;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___areaType_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::set_AreaType(SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_AreaType_m0E11517C1F07566C3695DBC22842F03F5771B98F (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.areaType = value;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = ___0_value;
|
|
__this->___areaType_2 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::get_Remap()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_get_Remap_m3FB61410ED0819399767DF7AF2B357F33F605031 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return remap;
|
|
bool L_0 = __this->___remap_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::set_Remap(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_Remap_m7F9C62549DBE8BA602A926BD256B4F311E3D8A4E (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.remap = value;
|
|
bool L_0 = ___0_value;
|
|
__this->___remap_3 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::get_Visited()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_get_Visited_m483B21466364FCBCDB12C07A2E911D67402C06EC (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return visited;
|
|
bool L_0 = __this->___visited_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::set_Visited(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_Visited_mDE001EB92C5318C1CD572301D53BAA5D0C73D15C (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.visited = value;
|
|
bool L_0 = ___0_value;
|
|
__this->___visited_4 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId> SharpNav.Region::get_FloorRegions()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* Region_get_FloorRegions_m15F268B1C00123049CF60E2D6ECCD5F22C181055 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return floors;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_0 = __this->___floors_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<SharpNav.RegionId> SharpNav.Region::get_Connections()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* Region_get_Connections_m93A7F1B1120A4058429640F1B2653F95F32A23A7 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return connections;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_0 = __this->___connections_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::get_IsBorder()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_get_IsBorder_mDA75074D98375CA310220B0E1DCA5E7B96229470 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return RegionId.HasFlags(id, RegionFlags.Border);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = __this->___id_1;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = RegionId_HasFlags_mC8E454383DD8FE0352AD73E402D93C88FAC651B7(L_0, ((int32_t)536870912), NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::get_IsBorderOrNull()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_get_IsBorderOrNull_mE8286D02D1C26F7BB28102E58228F79160648D98 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return id.IsNull || IsBorder;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D* L_0 = (&__this->___id_1);
|
|
bool L_1;
|
|
L_1 = RegionId_get_IsNull_m8C41AD314F3B1E89F24D817F70AB763CFECD90FF(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
bool L_2;
|
|
L_2 = Region_get_IsBorder_mDA75074D98375CA310220B0E1DCA5E7B96229470(__this, NULL);
|
|
return L_2;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::RemoveAdjacentNeighbours()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_RemoveAdjacentNeighbours_mC249D71C56A899A05FDA4B197FECC8EF32F0F835 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (connections.Count <= 1)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_0 = __this->___connections_5;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_0, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_1) > ((int32_t)1)))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// for (int i = 0; i < connections.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// int ni = (i + 1) % connections.Count;
|
|
int32_t L_2 = V_0;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_3 = __this->___connections_5;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_3, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
V_1 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_2, 1))%L_4));
|
|
// if (connections[i] == connections[ni])
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_5 = __this->___connections_5;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_7;
|
|
L_7 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_5, L_6, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_8 = __this->___connections_5;
|
|
int32_t L_9 = V_1;
|
|
NullCheck(L_8);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_10;
|
|
L_10 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_8, L_9, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_7, L_10, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// connections.RemoveAt(i);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_12 = __this->___connections_5;
|
|
int32_t L_13 = V_0;
|
|
NullCheck(L_12);
|
|
List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7(L_12, L_13, List_1_RemoveAt_mEE901D11EA9649DF5E962A5438BBFBEE5B1E8BF7_RuntimeMethod_var);
|
|
// i--;
|
|
int32_t L_14 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(L_14, 1));
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// for (int i = 0; i < connections.Count; i++)
|
|
int32_t L_15 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// for (int i = 0; i < connections.Count; i++)
|
|
int32_t L_16 = V_0;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_17 = __this->___connections_5;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_17, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_16) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::ReplaceNeighbour(SharpNav.RegionId,SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_ReplaceNeighbour_m0A67200B9566139792B02BD3D9982AA65F397EE4 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_oldId, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___1_newId, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_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_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// bool neiChanged = false;
|
|
V_0 = (bool)0;
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
V_1 = 0;
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// if (connections[i] == oldId)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_0 = __this->___connections_5;
|
|
int32_t L_1 = V_1;
|
|
NullCheck(L_0);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_2;
|
|
L_2 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_0, L_1, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_3 = ___0_oldId;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// connections[i] = newId;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_5 = __this->___connections_5;
|
|
int32_t L_6 = V_1;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_7 = ___1_newId;
|
|
NullCheck(L_5);
|
|
List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF(L_5, L_6, L_7, List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF_RuntimeMethod_var);
|
|
// neiChanged = true;
|
|
V_0 = (bool)1;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
int32_t L_8 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
int32_t L_9 = V_1;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_10 = __this->___connections_5;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_10, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_9) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < floors.Count; ++i)
|
|
V_2 = 0;
|
|
goto IL_0064;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// if (floors[i] == oldId)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_12 = __this->___floors_6;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_14;
|
|
L_14 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_12, L_13, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_15 = ___0_oldId;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_16;
|
|
L_16 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_14, L_15, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// floors[i] = newId;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_17 = __this->___floors_6;
|
|
int32_t L_18 = V_2;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_19 = ___1_newId;
|
|
NullCheck(L_17);
|
|
List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF(L_17, L_18, L_19, List_1_set_Item_m243BEF2E950CE524C4D5AC719D118B070148D2EF_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// for (int i = 0; i < floors.Count; ++i)
|
|
int32_t L_20 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// for (int i = 0; i < floors.Count; ++i)
|
|
int32_t L_21 = V_2;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_22 = __this->___floors_6;
|
|
NullCheck(L_22);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_22, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_21) < ((int32_t)L_23)))
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// if (neiChanged)
|
|
bool L_24 = V_0;
|
|
if (!L_24)
|
|
{
|
|
goto IL_007b;
|
|
}
|
|
}
|
|
{
|
|
// RemoveAdjacentNeighbours();
|
|
Region_RemoveAdjacentNeighbours_mC249D71C56A899A05FDA4B197FECC8EF32F0F835(__this, NULL);
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::CanMergeWith(SharpNav.Region)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_CanMergeWith_m7D81F6845A252EE8DCDEF744C1BED61F544B3015 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, Region_tA2C133553645AE18A23159FEE070519055CA99AF* ___0_otherRegion, 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*)&List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (areaType != otherRegion.areaType)
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___areaType_2;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_1 = ___0_otherRegion;
|
|
NullCheck(L_1);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_2 = L_1->___areaType_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Area_op_Inequality_mE5896F6717659B531C86E74BBFA4B388E5E69DEC(L_0, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// int n = 0;
|
|
V_0 = 0;
|
|
// for (int i = 0; i < connections.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_003c;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// if (connections[i] == otherRegion.id)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_4 = __this->___connections_5;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_6;
|
|
L_6 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_4, L_5, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_7 = ___0_otherRegion;
|
|
NullCheck(L_7);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_8 = L_7->___id_1;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_6, L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
// n++;
|
|
int32_t L_10 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// for (int i = 0; i < connections.Count; i++)
|
|
int32_t L_11 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// for (int i = 0; i < connections.Count; i++)
|
|
int32_t L_12 = V_1;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_13 = __this->___connections_5;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_13, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_12) < ((int32_t)L_14)))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// if (n > 1)
|
|
int32_t L_15 = V_0;
|
|
if ((((int32_t)L_15) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0050;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// if (floors.Contains(otherRegion.id))
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_16 = __this->___floors_6;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_17 = ___0_otherRegion;
|
|
NullCheck(L_17);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_18 = L_17->___id_1;
|
|
NullCheck(L_16);
|
|
bool L_19;
|
|
L_19 = List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924(L_16, L_18, List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_RuntimeMethod_var);
|
|
if (!L_19)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Region::AddUniqueFloorRegion(SharpNav.RegionId)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_AddUniqueFloorRegion_m892256A0A7A03E140855170EC6DA248287508AEA (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D ___0_n, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!floors.Contains(n))
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_0 = __this->___floors_6;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_1 = ___0_n;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924(L_0, L_1, List_1_Contains_m931866AA639B377D1C58B0689046DCF8D982C924_RuntimeMethod_var);
|
|
if (L_2)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// floors.Add(n);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_3 = __this->___floors_6;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_4 = ___0_n;
|
|
NullCheck(L_3);
|
|
List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline(L_3, L_4, List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::MergeWithRegion(SharpNav.Region)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_MergeWithRegion_m7ADAC43FF869ADDDADDB4F603BC6D5C3A1455BC9 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, Region_tA2C133553645AE18A23159FEE070519055CA99AF* ___0_otherRegion, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_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_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* V_2 = NULL;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* V_3 = NULL;
|
|
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;
|
|
{
|
|
// RegionId thisId = id;
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_0 = __this->___id_1;
|
|
V_0 = L_0;
|
|
// RegionId otherId = otherRegion.id;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_1 = ___0_otherRegion;
|
|
NullCheck(L_1);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_2 = L_1->___id_1;
|
|
V_1 = L_2;
|
|
// List<RegionId> thisConnected = new List<RegionId>();
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_3 = (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*)il2cpp_codegen_object_new(List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C(L_3, List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var);
|
|
V_2 = L_3;
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
V_6 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// thisConnected.Add(connections[i]);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_4 = V_2;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_5 = __this->___connections_5;
|
|
int32_t L_6 = V_6;
|
|
NullCheck(L_5);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_7;
|
|
L_7 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_5, L_6, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
NullCheck(L_4);
|
|
List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline(L_4, L_7, List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
int32_t L_8 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
int32_t L_9 = V_6;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_10 = __this->___connections_5;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_10, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_9) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// List<RegionId> otherConnected = otherRegion.connections;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_12 = ___0_otherRegion;
|
|
NullCheck(L_12);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_13 = L_12->___connections_5;
|
|
V_3 = L_13;
|
|
// int insertInThis = -1;
|
|
V_4 = (-1);
|
|
// for (int i = 0; i < thisConnected.Count; ++i)
|
|
V_7 = 0;
|
|
goto IL_006c;
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// if (thisConnected[i] == otherId)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_14 = V_2;
|
|
int32_t L_15 = V_7;
|
|
NullCheck(L_14);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_16;
|
|
L_16 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_14, L_15, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_17 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_18;
|
|
L_18 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_16, L_17, NULL);
|
|
if (!L_18)
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// insertInThis = i;
|
|
int32_t L_19 = V_7;
|
|
V_4 = L_19;
|
|
// break;
|
|
goto IL_0076;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// for (int i = 0; i < thisConnected.Count; ++i)
|
|
int32_t L_20 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// for (int i = 0; i < thisConnected.Count; ++i)
|
|
int32_t L_21 = V_7;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_22 = V_2;
|
|
NullCheck(L_22);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_22, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_21) < ((int32_t)L_23)))
|
|
{
|
|
goto IL_0050;
|
|
}
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
// if (insertInThis == -1)
|
|
int32_t L_24 = V_4;
|
|
if ((!(((uint32_t)L_24) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// int insertInOther = -1;
|
|
V_5 = (-1);
|
|
// for (int i = 0; i < otherConnected.Count; ++i)
|
|
V_8 = 0;
|
|
goto IL_00a1;
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// if (otherConnected[i] == thisId)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_25 = V_3;
|
|
int32_t L_26 = V_8;
|
|
NullCheck(L_25);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_27;
|
|
L_27 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_25, L_26, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_28 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_29;
|
|
L_29 = RegionId_op_Equality_m5E5914E8090558BFF7665ACD80B2323198AE6C6E(L_27, L_28, NULL);
|
|
if (!L_29)
|
|
{
|
|
goto IL_009b;
|
|
}
|
|
}
|
|
{
|
|
// insertInOther = i;
|
|
int32_t L_30 = V_8;
|
|
V_5 = L_30;
|
|
// break;
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_009b:
|
|
{
|
|
// for (int i = 0; i < otherConnected.Count; ++i)
|
|
int32_t L_31 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// for (int i = 0; i < otherConnected.Count; ++i)
|
|
int32_t L_32 = V_8;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_33 = V_3;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_33, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_32) < ((int32_t)L_34)))
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// if (insertInOther == -1)
|
|
int32_t L_35 = V_5;
|
|
if ((!(((uint32_t)L_35) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// connections = new List<RegionId>();
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_36 = (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179*)il2cpp_codegen_object_new(List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179_il2cpp_TypeInfo_var);
|
|
NullCheck(L_36);
|
|
List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C(L_36, List_1__ctor_mFCFB41431527613C55E2973D91CDE30F85755B7C_RuntimeMethod_var);
|
|
__this->___connections_5 = L_36;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_5), (void*)L_36);
|
|
// for (int i = 0, ni = thisConnected.Count; i < ni - 1; ++i)
|
|
V_9 = 0;
|
|
// for (int i = 0, ni = thisConnected.Count; i < ni - 1; ++i)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_37 = V_2;
|
|
NullCheck(L_37);
|
|
int32_t L_38;
|
|
L_38 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_37, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
V_10 = L_38;
|
|
goto IL_00eb;
|
|
}
|
|
|
|
IL_00ca:
|
|
{
|
|
// connections.Add(thisConnected[(insertInThis + 1 + i) % ni]);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_39 = __this->___connections_5;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_40 = V_2;
|
|
int32_t L_41 = V_4;
|
|
int32_t L_42 = V_9;
|
|
int32_t L_43 = V_10;
|
|
NullCheck(L_40);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_44;
|
|
L_44 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_40, ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_41, 1)), L_42))%L_43)), List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
NullCheck(L_39);
|
|
List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline(L_39, L_44, List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
// for (int i = 0, ni = thisConnected.Count; i < ni - 1; ++i)
|
|
int32_t L_45 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_45, 1));
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// for (int i = 0, ni = thisConnected.Count; i < ni - 1; ++i)
|
|
int32_t L_46 = V_9;
|
|
int32_t L_47 = V_10;
|
|
if ((((int32_t)L_46) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_47, 1)))))
|
|
{
|
|
goto IL_00ca;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0, ni = otherConnected.Count; i < ni - 1; ++i)
|
|
V_11 = 0;
|
|
// for (int i = 0, ni = otherConnected.Count; i < ni - 1; ++i)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_48 = V_3;
|
|
NullCheck(L_48);
|
|
int32_t L_49;
|
|
L_49 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_48, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
V_12 = L_49;
|
|
goto IL_0121;
|
|
}
|
|
|
|
IL_0100:
|
|
{
|
|
// connections.Add(otherConnected[(insertInOther + 1 + i) % ni]);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_50 = __this->___connections_5;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_51 = V_3;
|
|
int32_t L_52 = V_5;
|
|
int32_t L_53 = V_11;
|
|
int32_t L_54 = V_12;
|
|
NullCheck(L_51);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_55;
|
|
L_55 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_51, ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_52, 1)), L_53))%L_54)), List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
NullCheck(L_50);
|
|
List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_inline(L_50, L_55, List_1_Add_m3BC1F19BF8581126857383FE9DBF6D434B03CAC1_RuntimeMethod_var);
|
|
// for (int i = 0, ni = otherConnected.Count; i < ni - 1; ++i)
|
|
int32_t L_56 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_56, 1));
|
|
}
|
|
|
|
IL_0121:
|
|
{
|
|
// for (int i = 0, ni = otherConnected.Count; i < ni - 1; ++i)
|
|
int32_t L_57 = V_11;
|
|
int32_t L_58 = V_12;
|
|
if ((((int32_t)L_57) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_58, 1)))))
|
|
{
|
|
goto IL_0100;
|
|
}
|
|
}
|
|
{
|
|
// RemoveAdjacentNeighbours();
|
|
Region_RemoveAdjacentNeighbours_mC249D71C56A899A05FDA4B197FECC8EF32F0F835(__this, NULL);
|
|
// for (int j = 0; j < otherRegion.floors.Count; ++j)
|
|
V_13 = 0;
|
|
goto IL_014d;
|
|
}
|
|
|
|
IL_0134:
|
|
{
|
|
// AddUniqueFloorRegion(otherRegion.floors[j]);
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_59 = ___0_otherRegion;
|
|
NullCheck(L_59);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_60 = L_59->___floors_6;
|
|
int32_t L_61 = V_13;
|
|
NullCheck(L_60);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_62;
|
|
L_62 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_60, L_61, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
Region_AddUniqueFloorRegion_m892256A0A7A03E140855170EC6DA248287508AEA(__this, L_62, NULL);
|
|
// for (int j = 0; j < otherRegion.floors.Count; ++j)
|
|
int32_t L_63 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_63, 1));
|
|
}
|
|
|
|
IL_014d:
|
|
{
|
|
// for (int j = 0; j < otherRegion.floors.Count; ++j)
|
|
int32_t L_64 = V_13;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_65 = ___0_otherRegion;
|
|
NullCheck(L_65);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_66 = L_65->___floors_6;
|
|
NullCheck(L_66);
|
|
int32_t L_67;
|
|
L_67 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_66, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_64) < ((int32_t)L_67)))
|
|
{
|
|
goto IL_0134;
|
|
}
|
|
}
|
|
{
|
|
// spanCount += otherRegion.spanCount;
|
|
int32_t L_68 = __this->___spanCount_0;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_69 = ___0_otherRegion;
|
|
NullCheck(L_69);
|
|
int32_t L_70 = L_69->___spanCount_0;
|
|
__this->___spanCount_0 = ((int32_t)il2cpp_codegen_add(L_68, L_70));
|
|
// otherRegion.spanCount = 0;
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_71 = ___0_otherRegion;
|
|
NullCheck(L_71);
|
|
L_71->___spanCount_0 = 0;
|
|
// otherRegion.connections.Clear();
|
|
Region_tA2C133553645AE18A23159FEE070519055CA99AF* L_72 = ___0_otherRegion;
|
|
NullCheck(L_72);
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_73 = L_72->___connections_5;
|
|
NullCheck(L_73);
|
|
List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_inline(L_73, List_1_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_RuntimeMethod_var);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Region::IsConnectedToBorder()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_IsConnectedToBorder_m4BD91AC73D5BFA9F8DC46C838BB45E827A872602 (Region_tA2C133553645AE18A23159FEE070519055CA99AF* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
V_0 = 0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// if (connections[i] == 0)
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_0 = __this->___connections_5;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D L_2;
|
|
L_2 = List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3(L_0, L_1, List_1_get_Item_m9D30F6760A4CDF6ED56DEA2B9875E40B06384CB3_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(RegionId_t6D719748FB6365E02C92D71DC08C2BAA93F3E45D_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = RegionId_op_Equality_m34A7713EF3286A7C6721174113EF904093079AE9(L_2, 0, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
int32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// for (int i = 0; i < connections.Count; ++i)
|
|
int32_t L_5 = V_0;
|
|
List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* L_6 = __this->___connections_5;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_inline(L_6, List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_RuntimeMethod_var);
|
|
if ((((int32_t)L_5) < ((int32_t)L_7)))
|
|
{
|
|
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.Span::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Span__ctor_m2DC659B5C489590982F2B3DB13F750BAC9A4DDA4 (Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Minimum = min;
|
|
int32_t L_0 = ___0_min;
|
|
__this->___Minimum_0 = L_0;
|
|
// Maximum = max;
|
|
int32_t L_1 = ___1_max;
|
|
__this->___Maximum_1 = L_1;
|
|
// Area = Area.Null;
|
|
il2cpp_codegen_runtime_class_init_inline(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var);
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_2 = ((Area_t9E8E008D1CF28697728310B3039944F3C2777E47_StaticFields*)il2cpp_codegen_static_fields_for(Area_t9E8E008D1CF28697728310B3039944F3C2777E47_il2cpp_TypeInfo_var))->___Null_0;
|
|
__this->___Area_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Span__ctor_m2DC659B5C489590982F2B3DB13F750BAC9A4DDA4_AdjustorThunk (RuntimeObject* __this, int32_t ___0_min, int32_t ___1_max, const RuntimeMethod* method)
|
|
{
|
|
Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0*>(__this + _offset);
|
|
Span__ctor_m2DC659B5C489590982F2B3DB13F750BAC9A4DDA4(_thisAdjusted, ___0_min, ___1_max, method);
|
|
}
|
|
// System.Void SharpNav.Span::.ctor(System.Int32,System.Int32,SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Span__ctor_mDE494DD7FDD8C7807A31C21C677D477D2B37ECF8 (Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* __this, int32_t ___0_min, int32_t ___1_max, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___2_area, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Minimum = min;
|
|
int32_t L_0 = ___0_min;
|
|
__this->___Minimum_0 = L_0;
|
|
// Maximum = max;
|
|
int32_t L_1 = ___1_max;
|
|
__this->___Maximum_1 = L_1;
|
|
// Area = area;
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_2 = ___2_area;
|
|
__this->___Area_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Span__ctor_mDE494DD7FDD8C7807A31C21C677D477D2B37ECF8_AdjustorThunk (RuntimeObject* __this, int32_t ___0_min, int32_t ___1_max, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___2_area, const RuntimeMethod* method)
|
|
{
|
|
Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0*>(__this + _offset);
|
|
Span__ctor_mDE494DD7FDD8C7807A31C21C677D477D2B37ECF8(_thisAdjusted, ___0_min, ___1_max, ___2_area, method);
|
|
}
|
|
// System.Int32 SharpNav.Span::get_Height()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Span_get_Height_mE8B91595E86472608FA35E1922731CB5DDF450F0 (Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Maximum - Minimum;
|
|
int32_t L_0 = __this->___Maximum_1;
|
|
int32_t L_1 = __this->___Minimum_0;
|
|
return ((int32_t)il2cpp_codegen_subtract(L_0, L_1));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t Span_get_Height_mE8B91595E86472608FA35E1922731CB5DDF450F0_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Span_t3CA27DCC625F0E394C62E4D1FABB779CE3B8CDE0*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = Span_get_Height_mE8B91595E86472608FA35E1922731CB5DDF450F0(_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.SpanReference::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpanReference__ctor_mA238044744F9491AD86C41E8CEC45DABA89BAE8F (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_i, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.x = x;
|
|
int32_t L_0 = ___0_x;
|
|
__this->___x_0 = L_0;
|
|
// this.y = y;
|
|
int32_t L_1 = ___1_y;
|
|
__this->___y_1 = L_1;
|
|
// this.index = i;
|
|
int32_t L_2 = ___2_i;
|
|
__this->___index_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void SpanReference__ctor_mA238044744F9491AD86C41E8CEC45DABA89BAE8F_AdjustorThunk (RuntimeObject* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_i, const RuntimeMethod* method)
|
|
{
|
|
SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793*>(__this + _offset);
|
|
SpanReference__ctor_mA238044744F9491AD86C41E8CEC45DABA89BAE8F(_thisAdjusted, ___0_x, ___1_y, ___2_i, method);
|
|
}
|
|
// System.Int32 SharpNav.SpanReference::get_X()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpanReference_get_X_m6075F6AC90FAAAE15AF0C383D81EEF43252FC4B8 (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return x;
|
|
int32_t L_0 = __this->___x_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t SpanReference_get_X_m6075F6AC90FAAAE15AF0C383D81EEF43252FC4B8_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = SpanReference_get_X_m6075F6AC90FAAAE15AF0C383D81EEF43252FC4B8_inline(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.SpanReference::get_Y()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpanReference_get_Y_mBB0719B9ED32F95D0DEE98A8FE002EEDA95314C7 (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return y;
|
|
int32_t L_0 = __this->___y_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t SpanReference_get_Y_mBB0719B9ED32F95D0DEE98A8FE002EEDA95314C7_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = SpanReference_get_Y_mBB0719B9ED32F95D0DEE98A8FE002EEDA95314C7_inline(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.SpanReference::get_Index()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpanReference_get_Index_m36A5829E5B6709DCA22CFCA750389E57053AE106 (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return index;
|
|
int32_t L_0 = __this->___index_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t SpanReference_get_Index_m36A5829E5B6709DCA22CFCA750389E57053AE106_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = SpanReference_get_Index_m36A5829E5B6709DCA22CFCA750389E57053AE106_inline(_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.TiledNavMesh::.ctor(SharpNav.NavMeshBuilder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh__ctor_m8538E47CEA5891CD90F7B165EA8DEBB67D0ECAD9 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___0_data, const RuntimeMethod* method)
|
|
{
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
{
|
|
// public TiledNavMesh(NavMeshBuilder data)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// parameters.Origin = data.Header.Bounds.Min;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_0 = ___0_data;
|
|
NullCheck(L_0);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_1;
|
|
L_1 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_0, NULL);
|
|
NullCheck(L_1);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_2 = (&L_1->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = L_2->___Min_0;
|
|
(&V_0)->___Origin_0 = L_3;
|
|
// parameters.TileWidth = data.Header.Bounds.Max.X - data.Header.Bounds.Min.X;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_4 = ___0_data;
|
|
NullCheck(L_4);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_5;
|
|
L_5 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_4, NULL);
|
|
NullCheck(L_5);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_6 = (&L_5->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = (&L_6->___Max_1);
|
|
float L_8 = L_7->___X_0;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_9 = ___0_data;
|
|
NullCheck(L_9);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_10;
|
|
L_10 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_9, NULL);
|
|
NullCheck(L_10);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_11 = (&L_10->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = (&L_11->___Min_0);
|
|
float L_13 = L_12->___X_0;
|
|
(&V_0)->___TileWidth_1 = ((float)il2cpp_codegen_subtract(L_8, L_13));
|
|
// parameters.TileHeight = data.Header.Bounds.Max.Z - data.Header.Bounds.Min.Z;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_14 = ___0_data;
|
|
NullCheck(L_14);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_15;
|
|
L_15 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_14, NULL);
|
|
NullCheck(L_15);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_16 = (&L_15->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_17 = (&L_16->___Max_1);
|
|
float L_18 = L_17->___Z_2;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_19 = ___0_data;
|
|
NullCheck(L_19);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_20;
|
|
L_20 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_19, NULL);
|
|
NullCheck(L_20);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_21 = (&L_20->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_22 = (&L_21->___Min_0);
|
|
float L_23 = L_22->___Z_2;
|
|
(&V_0)->___TileHeight_2 = ((float)il2cpp_codegen_subtract(L_18, L_23));
|
|
// parameters.MaxTiles = 1;
|
|
(&V_0)->___MaxTiles_3 = 1;
|
|
// parameters.MaxPolys = data.Header.PolyCount;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_24 = ___0_data;
|
|
NullCheck(L_24);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_25;
|
|
L_25 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_24, NULL);
|
|
NullCheck(L_25);
|
|
int32_t L_26 = L_25->___PolyCount_3;
|
|
(&V_0)->___MaxPolys_4 = L_26;
|
|
// if (!InitTileNavMesh(parameters))
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_27 = V_0;
|
|
bool L_28;
|
|
L_28 = TiledNavMesh_InitTileNavMesh_m23D54225194F7DB411CF77901CD961CBD5286476(__this, L_27, NULL);
|
|
if (L_28)
|
|
{
|
|
goto IL_00a5;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_00a5:
|
|
{
|
|
// int tileRef = 0;
|
|
V_1 = 0;
|
|
// AddTile(data, 0, ref tileRef);
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_29 = ___0_data;
|
|
TiledNavMesh_AddTile_mBAF286D9E9626A1B507F992F39A3AC1E51D044EA(__this, L_29, 0, (&V_1), NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::get_TileCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_get_TileCount_m66562B555E19A6EA7C9F509675A1102AAF9E512D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return maxTiles;
|
|
int32_t L_0 = __this->___maxTiles_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// return tiles[index];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_0 = __this->___tiles_9;
|
|
int32_t L_1 = ___0_index;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Object SharpNav.TiledNavMesh::get_Tag()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TiledNavMesh_get_Tag_m820823F40FD36CAB6BE7FC94AA45DE4A5537BEC0 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public object Tag { get; set; }
|
|
RuntimeObject* L_0 = __this->___U3CTagU3Ek__BackingField_13;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::set_Tag(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_set_Tag_mD2BF42A7A5CEF8AAD2ADF330ADD9C8540B30F37E (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, RuntimeObject* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public object Tag { get; set; }
|
|
RuntimeObject* L_0 = ___0_value;
|
|
__this->___U3CTagU3Ek__BackingField_13 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CTagU3Ek__BackingField_13), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.TiledNavMesh::InitTileNavMesh(SharpNav.TiledNavMesh/TiledNavMeshParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_InitTileNavMesh_m23D54225194F7DB411CF77901CD961CBD5286476 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 ___0_parameters, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// this.parameters = parameters;
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_0 = ___0_parameters;
|
|
__this->___parameters_0 = L_0;
|
|
// origin = this.parameters.Origin;
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053* L_1 = (&__this->___parameters_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = L_1->___Origin_0;
|
|
__this->___origin_1 = L_2;
|
|
// tileWidth = parameters.TileWidth;
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_3 = ___0_parameters;
|
|
float L_4 = L_3.___TileWidth_1;
|
|
__this->___tileWidth_2 = L_4;
|
|
// tileHeight = parameters.TileHeight;
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_5 = ___0_parameters;
|
|
float L_6 = L_5.___TileHeight_2;
|
|
__this->___tileHeight_3 = L_6;
|
|
// maxTiles = parameters.MaxTiles;
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_7 = ___0_parameters;
|
|
int32_t L_8 = L_7.___MaxTiles_3;
|
|
__this->___maxTiles_4 = L_8;
|
|
// tileLookupTableSize = MathHelper.NextPowerOfTwo(parameters.MaxTiles / 4);
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_9 = ___0_parameters;
|
|
int32_t L_10 = L_9.___MaxTiles_3;
|
|
int32_t L_11;
|
|
L_11 = MathHelper_NextPowerOfTwo_m76FA16B30333EDBE3A2428A3E7BBAF41E38F8ADD(((int32_t)(L_10/4)), NULL);
|
|
__this->___tileLookupTableSize_5 = L_11;
|
|
// if (tileLookupTableSize == 0)
|
|
int32_t L_12 = __this->___tileLookupTableSize_5;
|
|
if (L_12)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// tileLookupTableSize = 1;
|
|
__this->___tileLookupTableSize_5 = 1;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// tileLookupTableMask = tileLookupTableSize - 1;
|
|
int32_t L_13 = __this->___tileLookupTableSize_5;
|
|
__this->___tileLookupTableMask_6 = ((int32_t)il2cpp_codegen_subtract(L_13, 1));
|
|
// tiles = new MeshTile[maxTiles];
|
|
int32_t L_14 = __this->___maxTiles_4;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_15 = (MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)SZArrayNew(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var, (uint32_t)L_14);
|
|
__this->___tiles_9 = L_15;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tiles_9), (void*)L_15);
|
|
// posLookup = new MeshTile[tileLookupTableSize];
|
|
int32_t L_16 = __this->___tileLookupTableSize_5;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_17 = (MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)SZArrayNew(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var, (uint32_t)L_16);
|
|
__this->___posLookup_7 = L_17;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___posLookup_7), (void*)L_17);
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
V_0 = 0;
|
|
goto IL_00a3;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// tiles[i] = new MeshTile();
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_18 = __this->___tiles_9;
|
|
int32_t L_19 = V_0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_20 = (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)il2cpp_codegen_object_new(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705_il2cpp_TypeInfo_var);
|
|
NullCheck(L_20);
|
|
MeshTile__ctor_m089A9244276FE1F18600AA08A4B0427723604608(L_20, NULL);
|
|
NullCheck(L_18);
|
|
ArrayElementTypeCheck (L_18, L_20);
|
|
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(L_19), (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_20);
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
int32_t L_21 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
}
|
|
|
|
IL_00a3:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
int32_t L_22 = V_0;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_23 = __this->___tiles_9;
|
|
NullCheck(L_23);
|
|
if ((((int32_t)L_22) < ((int32_t)((int32_t)(((RuntimeArray*)L_23)->max_length)))))
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < posLookup.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_00bf;
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// posLookup[i] = null;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_24 = __this->___posLookup_7;
|
|
int32_t L_25 = V_1;
|
|
NullCheck(L_24);
|
|
ArrayElementTypeCheck (L_24, NULL);
|
|
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_25), (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL);
|
|
// for (int i = 0; i < posLookup.Length; i++)
|
|
int32_t L_26 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_26, 1));
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
// for (int i = 0; i < posLookup.Length; i++)
|
|
int32_t L_27 = V_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_28 = __this->___posLookup_7;
|
|
NullCheck(L_28);
|
|
if ((((int32_t)L_27) < ((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))))
|
|
{
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
// nextFree = null;
|
|
__this->___nextFree_8 = (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nextFree_8), (void*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL);
|
|
// for (int i = maxTiles - 1; i >= 0; i--)
|
|
int32_t L_29 = __this->___maxTiles_4;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_29, 1));
|
|
goto IL_010f;
|
|
}
|
|
|
|
IL_00dc:
|
|
{
|
|
// tiles[i].Salt = 1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_30 = __this->___tiles_9;
|
|
int32_t L_31 = V_2;
|
|
NullCheck(L_30);
|
|
int32_t L_32 = L_31;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
|
|
NullCheck(L_33);
|
|
MeshTile_set_Salt_m7456EB81089AEFB511A446DE1ABDE81A6942B97F_inline(L_33, 1, NULL);
|
|
// tiles[i].Next = nextFree;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_34 = __this->___tiles_9;
|
|
int32_t L_35 = V_2;
|
|
NullCheck(L_34);
|
|
int32_t L_36 = L_35;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_38 = __this->___nextFree_8;
|
|
NullCheck(L_37);
|
|
MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2_inline(L_37, L_38, NULL);
|
|
// nextFree = tiles[i];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_39 = __this->___tiles_9;
|
|
int32_t L_40 = V_2;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = L_40;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
__this->___nextFree_8 = L_42;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nextFree_8), (void*)L_42);
|
|
// for (int i = maxTiles - 1; i >= 0; i--)
|
|
int32_t L_43 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_43, 1));
|
|
}
|
|
|
|
IL_010f:
|
|
{
|
|
// for (int i = maxTiles - 1; i >= 0; i--)
|
|
int32_t L_44 = V_2;
|
|
if ((((int32_t)L_44) >= ((int32_t)0)))
|
|
{
|
|
goto IL_00dc;
|
|
}
|
|
}
|
|
{
|
|
// tileBits = MathHelper.Log2(MathHelper.NextPowerOfTwo(parameters.MaxTiles));
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_45 = ___0_parameters;
|
|
int32_t L_46 = L_45.___MaxTiles_3;
|
|
int32_t L_47;
|
|
L_47 = MathHelper_NextPowerOfTwo_m76FA16B30333EDBE3A2428A3E7BBAF41E38F8ADD(L_46, NULL);
|
|
int32_t L_48;
|
|
L_48 = MathHelper_Log2_m843CEB787F15823CEDA43B868BD92272B6D7588A(L_47, NULL);
|
|
__this->___tileBits_11 = L_48;
|
|
// polyBits = MathHelper.Log2(MathHelper.NextPowerOfTwo(parameters.MaxPolys));
|
|
TiledNavMeshParams_t3C4627AB0D05336B8A34768BFD2F6F23A7902053 L_49 = ___0_parameters;
|
|
int32_t L_50 = L_49.___MaxPolys_4;
|
|
int32_t L_51;
|
|
L_51 = MathHelper_NextPowerOfTwo_m76FA16B30333EDBE3A2428A3E7BBAF41E38F8ADD(L_50, NULL);
|
|
int32_t L_52;
|
|
L_52 = MathHelper_Log2_m843CEB787F15823CEDA43B868BD92272B6D7588A(L_51, NULL);
|
|
__this->___polyBits_12 = L_52;
|
|
// saltBits = Math.Min(31, 32 - tileBits - polyBits);
|
|
int32_t L_53 = __this->___tileBits_11;
|
|
int32_t L_54 = __this->___polyBits_12;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_55;
|
|
L_55 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)31), ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(((int32_t)32), L_53)), L_54)), NULL);
|
|
__this->___saltBits_10 = L_55;
|
|
// if (saltBits < 10)
|
|
int32_t L_56 = __this->___saltBits_10;
|
|
if ((((int32_t)L_56) >= ((int32_t)((int32_t)10))))
|
|
{
|
|
goto IL_0168;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0168:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::AddTile(SharpNav.NavMeshBuilder,System.Int32,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_AddTile_mBAF286D9E9626A1B507F992F39A3AC1E51D044EA (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___0_data, int32_t ___1_lastRef, int32_t* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* V_0 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_6 = NULL;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
uint8_t V_12 = 0;
|
|
uint8_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
{
|
|
// PathfindingCommon.NavMeshInfo header = data.Header;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_0 = ___0_data;
|
|
NullCheck(L_0);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_1;
|
|
L_1 = NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
// if (GetTileAt(header.X, header.Y, header.Layer) != null)
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_2 = V_0;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___X_0;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_5 = L_4->___Y_1;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___Layer_2;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_8;
|
|
L_8 = TiledNavMesh_GetTileAt_mB24138CB6D80A70E0C2B7129C51D069F0DFA965D(__this, L_3, L_5, L_7, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// MeshTile tile = null;
|
|
V_1 = (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL;
|
|
// if (lastRef == 0)
|
|
int32_t L_9 = ___1_lastRef;
|
|
if (L_9)
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// if (nextFree != null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = __this->___nextFree_8;
|
|
if (!L_10)
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
// tile = nextFree;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_11 = __this->___nextFree_8;
|
|
V_1 = L_11;
|
|
// nextFree = tile.Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_12 = V_1;
|
|
NullCheck(L_12);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_13;
|
|
L_13 = MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline(L_12, NULL);
|
|
__this->___nextFree_8 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nextFree_8), (void*)L_13);
|
|
// tile.Next = null;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2_inline(L_14, (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL, NULL);
|
|
goto IL_00bd;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// int tileIndex = DecodePolyIdTile(lastRef);
|
|
int32_t L_15 = ___1_lastRef;
|
|
int32_t L_16;
|
|
L_16 = TiledNavMesh_DecodePolyIdTile_mD6CA537716063373E68B8B9B63444C0755B78F9A(__this, L_15, NULL);
|
|
V_5 = L_16;
|
|
// if (tileIndex >= maxTiles)
|
|
int32_t L_17 = V_5;
|
|
int32_t L_18 = __this->___maxTiles_4;
|
|
if ((((int32_t)L_17) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// MeshTile target = tiles[tileIndex];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_19 = __this->___tiles_9;
|
|
int32_t L_20 = V_5;
|
|
NullCheck(L_19);
|
|
int32_t L_21 = L_20;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_6 = L_22;
|
|
// MeshTile prev = null;
|
|
V_7 = (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL;
|
|
// tile = nextFree;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_23 = __this->___nextFree_8;
|
|
V_1 = L_23;
|
|
goto IL_0083;
|
|
}
|
|
|
|
IL_0079:
|
|
{
|
|
// prev = tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_24 = V_1;
|
|
V_7 = L_24;
|
|
// tile = tile.Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_25 = V_1;
|
|
NullCheck(L_25);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_26;
|
|
L_26 = MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline(L_25, NULL);
|
|
V_1 = L_26;
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
// while (tile != null && tile != target)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_27 = V_1;
|
|
if (!L_27)
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_28 = V_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_29 = V_6;
|
|
if ((!(((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_28) == ((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_29))))
|
|
{
|
|
goto IL_0079;
|
|
}
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// if (tile != target)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_30 = V_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_31 = V_6;
|
|
if ((((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_30) == ((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_31)))
|
|
{
|
|
goto IL_0091;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// if (prev == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_32 = V_7;
|
|
if (L_32)
|
|
{
|
|
goto IL_00a3;
|
|
}
|
|
}
|
|
{
|
|
// nextFree = tile.Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = V_1;
|
|
NullCheck(L_33);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_34;
|
|
L_34 = MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline(L_33, NULL);
|
|
__this->___nextFree_8 = L_34;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nextFree_8), (void*)L_34);
|
|
goto IL_00b0;
|
|
}
|
|
|
|
IL_00a3:
|
|
{
|
|
// prev.Next = tile.Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_35 = V_7;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_36 = V_1;
|
|
NullCheck(L_36);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_37;
|
|
L_37 = MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline(L_36, NULL);
|
|
NullCheck(L_35);
|
|
MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2_inline(L_35, L_37, NULL);
|
|
}
|
|
|
|
IL_00b0:
|
|
{
|
|
// tile.Salt = DecodePolyIdSalt(lastRef);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_38 = V_1;
|
|
int32_t L_39 = ___1_lastRef;
|
|
int32_t L_40;
|
|
L_40 = TiledNavMesh_DecodePolyIdSalt_mD1AF8302B0751A6B7D27AD3D80948374F9129A82(__this, L_39, NULL);
|
|
NullCheck(L_38);
|
|
MeshTile_set_Salt_m7456EB81089AEFB511A446DE1ABDE81A6942B97F_inline(L_38, L_40, NULL);
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_41 = V_1;
|
|
if (L_41)
|
|
{
|
|
goto IL_00c1;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_00c1:
|
|
{
|
|
// int h = ComputeTileHash(header.X, header.Y, tileLookupTableMask);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_42 = V_0;
|
|
NullCheck(L_42);
|
|
int32_t L_43 = L_42->___X_0;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_44 = V_0;
|
|
NullCheck(L_44);
|
|
int32_t L_45 = L_44->___Y_1;
|
|
int32_t L_46 = __this->___tileLookupTableMask_6;
|
|
int32_t L_47;
|
|
L_47 = TiledNavMesh_ComputeTileHash_mEC9A422455E3C4547CF468C3454C09FAB8FA355E(__this, L_43, L_45, L_46, NULL);
|
|
V_2 = L_47;
|
|
// tile.Next = posLookup[h];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_48 = V_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_49 = __this->___posLookup_7;
|
|
int32_t L_50 = V_2;
|
|
NullCheck(L_49);
|
|
int32_t L_51 = L_50;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
|
|
NullCheck(L_48);
|
|
MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2_inline(L_48, L_52, NULL);
|
|
// posLookup[h] = tile;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_53 = __this->___posLookup_7;
|
|
int32_t L_54 = V_2;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_55 = V_1;
|
|
NullCheck(L_53);
|
|
ArrayElementTypeCheck (L_53, L_55);
|
|
(L_53)->SetAt(static_cast<il2cpp_array_size_t>(L_54), (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_55);
|
|
// if (header.BvNodeCount == 0)
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_56 = V_0;
|
|
NullCheck(L_56);
|
|
int32_t L_57 = L_56->___BvNodeCount_9;
|
|
if (L_57)
|
|
{
|
|
goto IL_0100;
|
|
}
|
|
}
|
|
{
|
|
// tile.BVTree = null;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_58 = V_1;
|
|
NullCheck(L_58);
|
|
MeshTile_set_BVTree_mB6BF3F891F94BE1A4952BF33F0699D017B4B996A_inline(L_58, (BVTree_t626E20B2799F0707AB781431B7ED171053FC9966*)NULL, NULL);
|
|
}
|
|
|
|
IL_0100:
|
|
{
|
|
// tile.Verts = data.NavVerts;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_59 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_60 = ___0_data;
|
|
NullCheck(L_60);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_61;
|
|
L_61 = NavMeshBuilder_get_NavVerts_mFCF96AB968B51C25093B36610D9969184916C979_inline(L_60, NULL);
|
|
NullCheck(L_59);
|
|
MeshTile_set_Verts_m533F049E16AE0AE4D3FC4C644648591FF39C0DAA_inline(L_59, L_61, NULL);
|
|
// tile.Polys = data.NavPolys;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_62 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_63 = ___0_data;
|
|
NullCheck(L_63);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_64;
|
|
L_64 = NavMeshBuilder_get_NavPolys_m7D12F8373AB61EBF0865BD6D36948A0F4FB42391_inline(L_63, NULL);
|
|
NullCheck(L_62);
|
|
MeshTile_set_Polys_m6418A6BADD4D3F1B1444B587055DDD0840F4263E_inline(L_62, L_64, NULL);
|
|
// tile.DetailMeshes = data.NavDMeshes;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_65 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_66 = ___0_data;
|
|
NullCheck(L_66);
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_67;
|
|
L_67 = NavMeshBuilder_get_NavDMeshes_m24BB8E6147E51D36977C60A4F3F1BFC7E14C9995_inline(L_66, NULL);
|
|
NullCheck(L_65);
|
|
MeshTile_set_DetailMeshes_m3B0F63AC02DC0CBDCDC8CF8BCC0BB584E1C71B70_inline(L_65, L_67, NULL);
|
|
// tile.DetailVerts = data.NavDVerts;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_68 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_69 = ___0_data;
|
|
NullCheck(L_69);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_70;
|
|
L_70 = NavMeshBuilder_get_NavDVerts_mB495039E468BF43B2BDE170B643F7E2F5B8F8324_inline(L_69, NULL);
|
|
NullCheck(L_68);
|
|
MeshTile_set_DetailVerts_m0D5118BAB3E89F8FF114C595B709134777E3A14E_inline(L_68, L_70, NULL);
|
|
// tile.DetailTris = data.NavDTris;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_71 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_72 = ___0_data;
|
|
NullCheck(L_72);
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_73;
|
|
L_73 = NavMeshBuilder_get_NavDTris_m7E2646D1F882F0EAD9D771BED65C53C8A072DFCE_inline(L_72, NULL);
|
|
NullCheck(L_71);
|
|
MeshTile_set_DetailTris_mE5EDAFF101DB29DABC32A9AEEF25A656B149DC0C_inline(L_71, L_73, NULL);
|
|
// tile.BVTree = data.NavBvTree;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_74 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_75 = ___0_data;
|
|
NullCheck(L_75);
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_76;
|
|
L_76 = NavMeshBuilder_get_NavBvTree_m2FF510CDFD4BAE7B83D551D9C592CD9391BBA9C4_inline(L_75, NULL);
|
|
NullCheck(L_74);
|
|
MeshTile_set_BVTree_mB6BF3F891F94BE1A4952BF33F0699D017B4B996A_inline(L_74, L_76, NULL);
|
|
// tile.OffMeshConnections = data.OffMeshCons;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_77 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_78 = ___0_data;
|
|
NullCheck(L_78);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_79;
|
|
L_79 = NavMeshBuilder_get_OffMeshCons_m447FF778FBB80881F4892F237CEBB83768D24964_inline(L_78, NULL);
|
|
NullCheck(L_77);
|
|
MeshTile_set_OffMeshConnections_m193E1D8D3F4A0ABAB20D4F255776C144DBCA307C_inline(L_77, L_79, NULL);
|
|
// tile.LinksFreeList = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_80 = V_1;
|
|
NullCheck(L_80);
|
|
MeshTile_set_LinksFreeList_m559269D6AF09FC42099C7EE584549AB79D18718D_inline(L_80, 0, NULL);
|
|
// tile.Links = new Link[header.MaxLinkCount];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_81 = V_1;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_82 = V_0;
|
|
NullCheck(L_82);
|
|
int32_t L_83 = L_82->___MaxLinkCount_5;
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_84 = (LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4*)(LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4*)SZArrayNew(LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4_il2cpp_TypeInfo_var, (uint32_t)L_83);
|
|
NullCheck(L_81);
|
|
MeshTile_set_Links_m40DD71D8F54BE2DA1EF0E2E9F217934A2A55B145_inline(L_81, L_84, NULL);
|
|
// for (int i = 0; i < header.MaxLinkCount; i++)
|
|
V_8 = 0;
|
|
goto IL_0185;
|
|
}
|
|
|
|
IL_0171:
|
|
{
|
|
// tile.Links[i] = new Link();
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_85 = V_1;
|
|
NullCheck(L_85);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_86;
|
|
L_86 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_85, NULL);
|
|
int32_t L_87 = V_8;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_88 = (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1*)il2cpp_codegen_object_new(Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1_il2cpp_TypeInfo_var);
|
|
NullCheck(L_88);
|
|
Link__ctor_m51774694836E5F206002FED6F4C37A081B283F8B(L_88, NULL);
|
|
NullCheck(L_86);
|
|
ArrayElementTypeCheck (L_86, L_88);
|
|
(L_86)->SetAt(static_cast<il2cpp_array_size_t>(L_87), (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1*)L_88);
|
|
// for (int i = 0; i < header.MaxLinkCount; i++)
|
|
int32_t L_89 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_89, 1));
|
|
}
|
|
|
|
IL_0185:
|
|
{
|
|
// for (int i = 0; i < header.MaxLinkCount; i++)
|
|
int32_t L_90 = V_8;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_91 = V_0;
|
|
NullCheck(L_91);
|
|
int32_t L_92 = L_91->___MaxLinkCount_5;
|
|
if ((((int32_t)L_90) < ((int32_t)L_92)))
|
|
{
|
|
goto IL_0171;
|
|
}
|
|
}
|
|
{
|
|
// tile.Links[header.MaxLinkCount - 1].Next = Link.Null;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_93 = V_1;
|
|
NullCheck(L_93);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_94;
|
|
L_94 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_93, NULL);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_95 = V_0;
|
|
NullCheck(L_95);
|
|
int32_t L_96 = L_95->___MaxLinkCount_5;
|
|
NullCheck(L_94);
|
|
int32_t L_97 = ((int32_t)il2cpp_codegen_subtract(L_96, 1));
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_98 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
|
|
NullCheck(L_98);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_98, (-1), NULL);
|
|
// for (int i = 0; i < header.MaxLinkCount - 1; i++)
|
|
V_9 = 0;
|
|
goto IL_01c1;
|
|
}
|
|
|
|
IL_01a9:
|
|
{
|
|
// tile.Links[i].Next = i + 1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_99 = V_1;
|
|
NullCheck(L_99);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_100;
|
|
L_100 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_99, NULL);
|
|
int32_t L_101 = V_9;
|
|
NullCheck(L_100);
|
|
int32_t L_102 = L_101;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_103 = (L_100)->GetAt(static_cast<il2cpp_array_size_t>(L_102));
|
|
int32_t L_104 = V_9;
|
|
NullCheck(L_103);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_103, ((int32_t)il2cpp_codegen_add(L_104, 1)), NULL);
|
|
// for (int i = 0; i < header.MaxLinkCount - 1; i++)
|
|
int32_t L_105 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_105, 1));
|
|
}
|
|
|
|
IL_01c1:
|
|
{
|
|
// for (int i = 0; i < header.MaxLinkCount - 1; i++)
|
|
int32_t L_106 = V_9;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_107 = V_0;
|
|
NullCheck(L_107);
|
|
int32_t L_108 = L_107->___MaxLinkCount_5;
|
|
if ((((int32_t)L_106) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_108, 1)))))
|
|
{
|
|
goto IL_01a9;
|
|
}
|
|
}
|
|
{
|
|
// tile.Header = header;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_109 = V_1;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_110 = V_0;
|
|
NullCheck(L_109);
|
|
MeshTile_set_Header_m565B49C9E9A5D38EEAE203037E734CB032587F99_inline(L_109, L_110, NULL);
|
|
// tile.Data = data;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_111 = V_1;
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_112 = ___0_data;
|
|
NullCheck(L_111);
|
|
MeshTile_set_Data_m991E6E92D44F357888C4E5AB75B03C9AAEE9E4A6_inline(L_111, L_112, NULL);
|
|
// ConnectIntLinks(ref tile);
|
|
TiledNavMesh_ConnectIntLinks_mFC4E821BEF460547AD5B6EBB8F65162A8A48FF07(__this, (&V_1), NULL);
|
|
// BaseOffMeshLinks(ref tile);
|
|
TiledNavMesh_BaseOffMeshLinks_mDF9A254543C63109597957296BE31EF69E97FEC5(__this, (&V_1), NULL);
|
|
// MeshTile[] neis = new MeshTile[32];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_113 = (MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE*)SZArrayNew(MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
|
|
V_3 = L_113;
|
|
// nneis = GetTilesAt(header.X, header.Y, neis);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_114 = V_0;
|
|
NullCheck(L_114);
|
|
int32_t L_115 = L_114->___X_0;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_116 = V_0;
|
|
NullCheck(L_116);
|
|
int32_t L_117 = L_116->___Y_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_118 = V_3;
|
|
int32_t L_119;
|
|
L_119 = TiledNavMesh_GetTilesAt_mC346933EF7F678906466E1AD61AB36203766A2B0(__this, L_115, L_117, L_118, NULL);
|
|
V_4 = L_119;
|
|
// for (int j = 0; j < nneis; j++)
|
|
V_10 = 0;
|
|
goto IL_026e;
|
|
}
|
|
|
|
IL_020d:
|
|
{
|
|
// if (neis[j] != tile)
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_120 = V_3;
|
|
int32_t L_121 = V_10;
|
|
NullCheck(L_120);
|
|
int32_t L_122 = L_121;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_123 = (L_120)->GetAt(static_cast<il2cpp_array_size_t>(L_122));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_124 = V_1;
|
|
if ((((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_123) == ((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_124)))
|
|
{
|
|
goto IL_023e;
|
|
}
|
|
}
|
|
{
|
|
// ConnectExtLinks(ref tile, ref neis[j], BoundarySide.Internal);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_125 = V_3;
|
|
int32_t L_126 = V_10;
|
|
NullCheck(L_125);
|
|
TiledNavMesh_ConnectExtLinks_m106F11E0BE221987B5A9E443D20251B94A37AA5D(__this, (&V_1), ((L_125)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_126))), ((int32_t)255), NULL);
|
|
// ConnectExtLinks(ref neis[j], ref tile, BoundarySide.Internal);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_127 = V_3;
|
|
int32_t L_128 = V_10;
|
|
NullCheck(L_127);
|
|
TiledNavMesh_ConnectExtLinks_m106F11E0BE221987B5A9E443D20251B94A37AA5D(__this, ((L_127)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_128))), (&V_1), ((int32_t)255), NULL);
|
|
}
|
|
|
|
IL_023e:
|
|
{
|
|
// ConnectExtOffMeshLinks(ref tile, ref neis[j], BoundarySide.Internal);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_129 = V_3;
|
|
int32_t L_130 = V_10;
|
|
NullCheck(L_129);
|
|
TiledNavMesh_ConnectExtOffMeshLinks_mB899EB0AD95FDF57D3AB4909169E57030BA24CCA(__this, (&V_1), ((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_130))), ((int32_t)255), NULL);
|
|
// ConnectExtOffMeshLinks(ref neis[j], ref tile, BoundarySide.Internal);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_131 = V_3;
|
|
int32_t L_132 = V_10;
|
|
NullCheck(L_131);
|
|
TiledNavMesh_ConnectExtOffMeshLinks_mB899EB0AD95FDF57D3AB4909169E57030BA24CCA(__this, ((L_131)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_132))), (&V_1), ((int32_t)255), NULL);
|
|
// for (int j = 0; j < nneis; j++)
|
|
int32_t L_133 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_133, 1));
|
|
}
|
|
|
|
IL_026e:
|
|
{
|
|
// for (int j = 0; j < nneis; j++)
|
|
int32_t L_134 = V_10;
|
|
int32_t L_135 = V_4;
|
|
if ((((int32_t)L_134) < ((int32_t)L_135)))
|
|
{
|
|
goto IL_020d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < 8; i++)
|
|
V_11 = 0;
|
|
goto IL_0300;
|
|
}
|
|
|
|
IL_027c:
|
|
{
|
|
// BoundarySide b = (BoundarySide)i;
|
|
int32_t L_136 = V_11;
|
|
V_12 = ((int32_t)(uint8_t)L_136);
|
|
// BoundarySide bo = b.GetOpposite();
|
|
uint8_t L_137 = V_12;
|
|
uint8_t L_138;
|
|
L_138 = BoundarySideExtensions_GetOpposite_mDE68950F42206A09D7578ECBF9C30D5C82F2020B(L_137, NULL);
|
|
V_13 = L_138;
|
|
// nneis = GetNeighbourTilesAt(header.X, header.Y, b, neis);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_139 = V_0;
|
|
NullCheck(L_139);
|
|
int32_t L_140 = L_139->___X_0;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_141 = V_0;
|
|
NullCheck(L_141);
|
|
int32_t L_142 = L_141->___Y_1;
|
|
uint8_t L_143 = V_12;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_144 = V_3;
|
|
int32_t L_145;
|
|
L_145 = TiledNavMesh_GetNeighbourTilesAt_mD3CD26E8E9785170B2025625474949A05753E4C8(__this, L_140, L_142, L_143, L_144, NULL);
|
|
V_4 = L_145;
|
|
// for (int j = 0; j < nneis; j++)
|
|
V_14 = 0;
|
|
goto IL_02f4;
|
|
}
|
|
|
|
IL_02a6:
|
|
{
|
|
// ConnectExtLinks(ref tile, ref neis[j], b);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_146 = V_3;
|
|
int32_t L_147 = V_14;
|
|
NullCheck(L_146);
|
|
uint8_t L_148 = V_12;
|
|
TiledNavMesh_ConnectExtLinks_m106F11E0BE221987B5A9E443D20251B94A37AA5D(__this, (&V_1), ((L_146)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_147))), L_148, NULL);
|
|
// ConnectExtLinks(ref neis[j], ref tile, bo);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_149 = V_3;
|
|
int32_t L_150 = V_14;
|
|
NullCheck(L_149);
|
|
uint8_t L_151 = V_13;
|
|
TiledNavMesh_ConnectExtLinks_m106F11E0BE221987B5A9E443D20251B94A37AA5D(__this, ((L_149)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_150))), (&V_1), L_151, NULL);
|
|
// ConnectExtOffMeshLinks(ref tile, ref neis[j], b);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_152 = V_3;
|
|
int32_t L_153 = V_14;
|
|
NullCheck(L_152);
|
|
uint8_t L_154 = V_12;
|
|
TiledNavMesh_ConnectExtOffMeshLinks_mB899EB0AD95FDF57D3AB4909169E57030BA24CCA(__this, (&V_1), ((L_152)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_153))), L_154, NULL);
|
|
// ConnectExtOffMeshLinks(ref neis[j], ref tile, bo);
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_155 = V_3;
|
|
int32_t L_156 = V_14;
|
|
NullCheck(L_155);
|
|
uint8_t L_157 = V_13;
|
|
TiledNavMesh_ConnectExtOffMeshLinks_mB899EB0AD95FDF57D3AB4909169E57030BA24CCA(__this, ((L_155)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_156))), (&V_1), L_157, NULL);
|
|
// for (int j = 0; j < nneis; j++)
|
|
int32_t L_158 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_158, 1));
|
|
}
|
|
|
|
IL_02f4:
|
|
{
|
|
// for (int j = 0; j < nneis; j++)
|
|
int32_t L_159 = V_14;
|
|
int32_t L_160 = V_4;
|
|
if ((((int32_t)L_159) < ((int32_t)L_160)))
|
|
{
|
|
goto IL_02a6;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < 8; i++)
|
|
int32_t L_161 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_161, 1));
|
|
}
|
|
|
|
IL_0300:
|
|
{
|
|
// for (int i = 0; i < 8; i++)
|
|
int32_t L_162 = V_11;
|
|
if ((((int32_t)L_162) < ((int32_t)8)))
|
|
{
|
|
goto IL_027c;
|
|
}
|
|
}
|
|
{
|
|
// result = GetTileRef(tile);
|
|
int32_t* L_163 = ___2_result;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_164 = V_1;
|
|
int32_t L_165;
|
|
L_165 = TiledNavMesh_GetTileRef_mAA54B0F07FBB52516960B1309B915255DB5A0D72(__this, L_164, NULL);
|
|
*((int32_t*)L_163) = (int32_t)L_165;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::ConnectIntLinks(SharpNav.Pathfinding.MeshTile&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_ConnectIntLinks_mFC4E821BEF460547AD5B6EBB8F65162A8A48FF07 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, 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;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_0 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_1 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_0);
|
|
if (L_1)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// int polyBase = GetPolyRefBase(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_2 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_2);
|
|
int32_t L_4;
|
|
L_4 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(__this, L_3, NULL);
|
|
V_0 = L_4;
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
V_1 = 0;
|
|
goto IL_0138;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// tile.Polys[i].FirstLink = Link.Null;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_5 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_6 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_5);
|
|
NullCheck(L_6);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_7;
|
|
L_7 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_6, NULL);
|
|
int32_t L_8 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
NullCheck(L_10);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_10, (-1), NULL);
|
|
// if (tile.Polys[i].PolyType == PolygonType.OffMeshConnection)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_11 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_12 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_11);
|
|
NullCheck(L_12);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_13;
|
|
L_13 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_12, NULL);
|
|
int32_t L_14 = V_1;
|
|
NullCheck(L_13);
|
|
int32_t L_15 = L_14;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
NullCheck(L_16);
|
|
uint8_t L_17;
|
|
L_17 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_16, NULL);
|
|
if ((((int32_t)L_17) == ((int32_t)1)))
|
|
{
|
|
goto IL_0134;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = tile.Polys[i].VertCount - 1; j >= 0; j--)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_18 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_19 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_18);
|
|
NullCheck(L_19);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_20;
|
|
L_20 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_19, NULL);
|
|
int32_t L_21 = V_1;
|
|
NullCheck(L_20);
|
|
int32_t L_22 = L_21;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
NullCheck(L_23);
|
|
int32_t L_24;
|
|
L_24 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_23, NULL);
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_24, 1));
|
|
goto IL_012d;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// if (tile.Polys[i].Neis[j] == 0 || IsExternalLink(tile.Polys[i].Neis[j]))
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_25 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_26 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_25);
|
|
NullCheck(L_26);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_27;
|
|
L_27 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_26, NULL);
|
|
int32_t L_28 = V_1;
|
|
NullCheck(L_27);
|
|
int32_t L_29 = L_28;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
NullCheck(L_30);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31;
|
|
L_31 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_30, NULL);
|
|
int32_t L_32 = V_2;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = L_32;
|
|
int32_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
if (!L_34)
|
|
{
|
|
goto IL_0129;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_35 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_36 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_35);
|
|
NullCheck(L_36);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_37;
|
|
L_37 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_36, NULL);
|
|
int32_t L_38 = V_1;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
NullCheck(L_40);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_41;
|
|
L_41 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_40, NULL);
|
|
int32_t L_42 = V_2;
|
|
NullCheck(L_41);
|
|
int32_t L_43 = L_42;
|
|
int32_t L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
|
|
bool L_45;
|
|
L_45 = TiledNavMesh_IsExternalLink_m33CF96AA9F68DD1AFE9BAE11576DB771AF7E119D(__this, L_44, NULL);
|
|
if (L_45)
|
|
{
|
|
goto IL_0129;
|
|
}
|
|
}
|
|
{
|
|
// int idx = AllocLink(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_46 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_47 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_46);
|
|
int32_t L_48;
|
|
L_48 = TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816(__this, L_47, NULL);
|
|
V_3 = L_48;
|
|
// if (IsLinkAllocated(idx))
|
|
int32_t L_49 = V_3;
|
|
bool L_50;
|
|
L_50 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_49, NULL);
|
|
if (!L_50)
|
|
{
|
|
goto IL_0129;
|
|
}
|
|
}
|
|
{
|
|
// tile.Links[idx].Reference = GetReference(polyBase, tile.Polys[i].Neis[j] - 1);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_51 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_52 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_51);
|
|
NullCheck(L_52);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_53;
|
|
L_53 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_52, NULL);
|
|
int32_t L_54 = V_3;
|
|
NullCheck(L_53);
|
|
int32_t L_55 = L_54;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
|
|
int32_t L_57 = V_0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_58 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_59 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_58);
|
|
NullCheck(L_59);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_60;
|
|
L_60 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_59, NULL);
|
|
int32_t L_61 = V_1;
|
|
NullCheck(L_60);
|
|
int32_t L_62 = L_61;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
|
|
NullCheck(L_63);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64;
|
|
L_64 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_63, NULL);
|
|
int32_t L_65 = V_2;
|
|
NullCheck(L_64);
|
|
int32_t L_66 = L_65;
|
|
int32_t L_67 = (L_64)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
|
|
int32_t L_68;
|
|
L_68 = TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07(__this, L_57, ((int32_t)il2cpp_codegen_subtract(L_67, 1)), NULL);
|
|
NullCheck(L_56);
|
|
Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline(L_56, L_68, NULL);
|
|
// tile.Links[idx].Edge = j;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_69 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_70 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_69);
|
|
NullCheck(L_70);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_71;
|
|
L_71 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_70, NULL);
|
|
int32_t L_72 = V_3;
|
|
NullCheck(L_71);
|
|
int32_t L_73 = L_72;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
|
|
int32_t L_75 = V_2;
|
|
NullCheck(L_74);
|
|
Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline(L_74, L_75, NULL);
|
|
// tile.Links[idx].Side = BoundarySide.Internal;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_76 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_77 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_76);
|
|
NullCheck(L_77);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_78;
|
|
L_78 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_77, NULL);
|
|
int32_t L_79 = V_3;
|
|
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);
|
|
Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline(L_81, ((int32_t)255), NULL);
|
|
// tile.Links[idx].BMin = tile.Links[idx].BMax = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_82 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_83 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_82);
|
|
NullCheck(L_83);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_84;
|
|
L_84 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_83, NULL);
|
|
int32_t L_85 = V_3;
|
|
NullCheck(L_84);
|
|
int32_t L_86 = L_85;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_87 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_88 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_89 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_88);
|
|
NullCheck(L_89);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_90;
|
|
L_90 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_89, NULL);
|
|
int32_t L_91 = V_3;
|
|
NullCheck(L_90);
|
|
int32_t L_92 = L_91;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_93 = (L_90)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
|
|
int32_t L_94 = 0;
|
|
V_4 = L_94;
|
|
NullCheck(L_93);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_93, L_94, NULL);
|
|
int32_t L_95 = V_4;
|
|
NullCheck(L_87);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_87, L_95, NULL);
|
|
// tile.Links[idx].Next = tile.Polys[i].FirstLink;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_96 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_97 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_96);
|
|
NullCheck(L_97);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_98;
|
|
L_98 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_97, NULL);
|
|
int32_t L_99 = V_3;
|
|
NullCheck(L_98);
|
|
int32_t L_100 = L_99;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_101 = (L_98)->GetAt(static_cast<il2cpp_array_size_t>(L_100));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_102 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_103 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_102);
|
|
NullCheck(L_103);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_104;
|
|
L_104 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_103, NULL);
|
|
int32_t L_105 = V_1;
|
|
NullCheck(L_104);
|
|
int32_t L_106 = L_105;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_107 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_106));
|
|
NullCheck(L_107);
|
|
int32_t L_108;
|
|
L_108 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_107, NULL);
|
|
NullCheck(L_101);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_101, L_108, NULL);
|
|
// tile.Polys[i].FirstLink = idx;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_109 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_110 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_109);
|
|
NullCheck(L_110);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_111;
|
|
L_111 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_110, NULL);
|
|
int32_t L_112 = V_1;
|
|
NullCheck(L_111);
|
|
int32_t L_113 = L_112;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_114 = (L_111)->GetAt(static_cast<il2cpp_array_size_t>(L_113));
|
|
int32_t L_115 = V_3;
|
|
NullCheck(L_114);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_114, L_115, NULL);
|
|
}
|
|
|
|
IL_0129:
|
|
{
|
|
// for (int j = tile.Polys[i].VertCount - 1; j >= 0; j--)
|
|
int32_t L_116 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_116, 1));
|
|
}
|
|
|
|
IL_012d:
|
|
{
|
|
// for (int j = tile.Polys[i].VertCount - 1; j >= 0; j--)
|
|
int32_t L_117 = V_2;
|
|
if ((((int32_t)L_117) >= ((int32_t)0)))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
|
|
IL_0134:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_118 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_118, 1));
|
|
}
|
|
|
|
IL_0138:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_119 = V_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_120 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_121 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_120);
|
|
NullCheck(L_121);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_122;
|
|
L_122 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_121, NULL);
|
|
NullCheck(L_122);
|
|
int32_t L_123 = L_122->___PolyCount_3;
|
|
if ((((int32_t)L_119) < ((int32_t)L_123)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::BaseOffMeshLinks(SharpNav.Pathfinding.MeshTile&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_BaseOffMeshLinks_mDF9A254543C63109597957296BE31EF69E97FEC5 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 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));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
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;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_0 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_1 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_0);
|
|
if (L_1)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// int polyBase = GetPolyRefBase(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_2 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_2);
|
|
int32_t L_4;
|
|
L_4 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(__this, L_3, NULL);
|
|
V_0 = L_4;
|
|
// for (int i = 0; i < tile.Header.OffMeshConCount; i++)
|
|
V_1 = 0;
|
|
goto IL_0264;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// int con = i;
|
|
int32_t L_5 = V_1;
|
|
V_2 = L_5;
|
|
// int poly = tile.OffMeshConnections[con].Poly;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_6 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_7 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_6);
|
|
NullCheck(L_7);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_8;
|
|
L_8 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_7, NULL);
|
|
int32_t L_9 = V_2;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05_inline(L_11, NULL);
|
|
V_3 = L_12;
|
|
// Vector3 extents = new Vector3(tile.OffMeshConnections[con].Radius, tile.Header.WalkableClimb, tile.OffMeshConnections[con].Radius);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_13 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_13);
|
|
NullCheck(L_14);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_15;
|
|
L_15 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_14, NULL);
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_18);
|
|
float L_19;
|
|
L_19 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_18, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_20 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_21 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_20);
|
|
NullCheck(L_21);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_22;
|
|
L_22 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_21, NULL);
|
|
NullCheck(L_22);
|
|
float L_23 = L_22->___WalkableClimb_14;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_24 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_25 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_24);
|
|
NullCheck(L_25);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_26;
|
|
L_26 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_25, NULL);
|
|
int32_t L_27 = V_2;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
NullCheck(L_29);
|
|
float L_30;
|
|
L_30 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_29, NULL);
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_4), L_19, L_23, L_30, NULL);
|
|
// Vector3 p = tile.OffMeshConnections[con].Pos0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_31 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_32 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_31);
|
|
NullCheck(L_32);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_33;
|
|
L_33 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_32, NULL);
|
|
int32_t L_34 = V_2;
|
|
NullCheck(L_33);
|
|
int32_t L_35 = L_34;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
NullCheck(L_36);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_37;
|
|
L_37 = OffMeshConnection_get_Pos0_mDA7968E73F0CDF830560A8A6586BD1140BD72DE2_inline(L_36, NULL);
|
|
V_5 = L_37;
|
|
// Vector3 nearestPt = new Vector3();
|
|
il2cpp_codegen_initobj((&V_6), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// int reference = FindNearestPolyInTile(tile, p, extents, ref nearestPt);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_38 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_39 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_38);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = V_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_41 = V_4;
|
|
int32_t L_42;
|
|
L_42 = TiledNavMesh_FindNearestPolyInTile_mDB93C292D4CB21D1B24A28D9F2C68B70D2C5510F(__this, L_39, L_40, L_41, (&V_6), NULL);
|
|
V_7 = L_42;
|
|
// if (reference == 0)
|
|
int32_t L_43 = V_7;
|
|
if (!L_43)
|
|
{
|
|
goto IL_0260;
|
|
}
|
|
}
|
|
{
|
|
// if ((nearestPt.X - p.X) * (nearestPt.X - p.X) + (nearestPt.Z - p.Z) * (nearestPt.Z - p.Z) >
|
|
// tile.OffMeshConnections[con].Radius * tile.OffMeshConnections[con].Radius)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_44 = V_6;
|
|
float L_45 = L_44.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_46 = V_5;
|
|
float L_47 = L_46.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_48 = V_6;
|
|
float L_49 = L_48.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_50 = V_5;
|
|
float L_51 = L_50.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_52 = V_6;
|
|
float L_53 = L_52.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_54 = V_5;
|
|
float L_55 = L_54.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_56 = V_6;
|
|
float L_57 = L_56.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58 = V_5;
|
|
float L_59 = L_58.___Z_2;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_60 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_61 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_60);
|
|
NullCheck(L_61);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_62;
|
|
L_62 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_61, NULL);
|
|
int32_t L_63 = V_2;
|
|
NullCheck(L_62);
|
|
int32_t L_64 = L_63;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_65 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
|
|
NullCheck(L_65);
|
|
float L_66;
|
|
L_66 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_65, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_67 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_68 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_67);
|
|
NullCheck(L_68);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_69;
|
|
L_69 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_68, NULL);
|
|
int32_t L_70 = V_2;
|
|
NullCheck(L_69);
|
|
int32_t L_71 = L_70;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_72 = (L_69)->GetAt(static_cast<il2cpp_array_size_t>(L_71));
|
|
NullCheck(L_72);
|
|
float L_73;
|
|
L_73 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_72, NULL);
|
|
if ((((float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_45, L_47)), ((float)il2cpp_codegen_subtract(L_49, L_51)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_53, L_55)), ((float)il2cpp_codegen_subtract(L_57, L_59))))))) > ((float)((float)il2cpp_codegen_multiply(L_66, L_73)))))
|
|
{
|
|
goto IL_0260;
|
|
}
|
|
}
|
|
{
|
|
// tile.Verts[tile.Polys[poly].Verts[0]] = nearestPt;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_74 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_75 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_74);
|
|
NullCheck(L_75);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_76;
|
|
L_76 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_75, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_77 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_78 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_77);
|
|
NullCheck(L_78);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_79;
|
|
L_79 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_78, NULL);
|
|
int32_t L_80 = V_3;
|
|
NullCheck(L_79);
|
|
int32_t L_81 = L_80;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_82 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_81));
|
|
NullCheck(L_82);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_83;
|
|
L_83 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_82, NULL);
|
|
NullCheck(L_83);
|
|
int32_t L_84 = 0;
|
|
int32_t L_85 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_86 = V_6;
|
|
NullCheck(L_76);
|
|
(L_76)->SetAt(static_cast<il2cpp_array_size_t>(L_85), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_86);
|
|
// int idx = AllocLink(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_87 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_88 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_87);
|
|
int32_t L_89;
|
|
L_89 = TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816(__this, L_88, NULL);
|
|
V_8 = L_89;
|
|
// if (IsLinkAllocated(idx))
|
|
int32_t L_90 = V_8;
|
|
bool L_91;
|
|
L_91 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_90, NULL);
|
|
if (!L_91)
|
|
{
|
|
goto IL_01a0;
|
|
}
|
|
}
|
|
{
|
|
// tile.Links[idx].Reference = reference;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_92 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_93 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_92);
|
|
NullCheck(L_93);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_94;
|
|
L_94 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_93, NULL);
|
|
int32_t L_95 = V_8;
|
|
NullCheck(L_94);
|
|
int32_t L_96 = L_95;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_97 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
|
|
int32_t L_98 = V_7;
|
|
NullCheck(L_97);
|
|
Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline(L_97, L_98, NULL);
|
|
// tile.Links[idx].Edge = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_99 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_100 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_99);
|
|
NullCheck(L_100);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_101;
|
|
L_101 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_100, NULL);
|
|
int32_t L_102 = V_8;
|
|
NullCheck(L_101);
|
|
int32_t L_103 = L_102;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_104 = (L_101)->GetAt(static_cast<il2cpp_array_size_t>(L_103));
|
|
NullCheck(L_104);
|
|
Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline(L_104, 0, NULL);
|
|
// tile.Links[idx].Side = BoundarySide.Internal;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_105 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_106 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_105);
|
|
NullCheck(L_106);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_107;
|
|
L_107 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_106, NULL);
|
|
int32_t L_108 = V_8;
|
|
NullCheck(L_107);
|
|
int32_t L_109 = L_108;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_110 = (L_107)->GetAt(static_cast<il2cpp_array_size_t>(L_109));
|
|
NullCheck(L_110);
|
|
Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline(L_110, ((int32_t)255), NULL);
|
|
// tile.Links[idx].BMin = tile.Links[idx].BMax = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_111 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_112 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_111);
|
|
NullCheck(L_112);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_113;
|
|
L_113 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_112, NULL);
|
|
int32_t L_114 = V_8;
|
|
NullCheck(L_113);
|
|
int32_t L_115 = L_114;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_116 = (L_113)->GetAt(static_cast<il2cpp_array_size_t>(L_115));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_117 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_118 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_117);
|
|
NullCheck(L_118);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_119;
|
|
L_119 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_118, NULL);
|
|
int32_t L_120 = V_8;
|
|
NullCheck(L_119);
|
|
int32_t L_121 = L_120;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_122 = (L_119)->GetAt(static_cast<il2cpp_array_size_t>(L_121));
|
|
int32_t L_123 = 0;
|
|
V_10 = L_123;
|
|
NullCheck(L_122);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_122, L_123, NULL);
|
|
int32_t L_124 = V_10;
|
|
NullCheck(L_116);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_116, L_124, NULL);
|
|
// tile.Links[idx].Next = tile.Polys[poly].FirstLink;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_125 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_126 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_125);
|
|
NullCheck(L_126);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_127;
|
|
L_127 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_126, NULL);
|
|
int32_t L_128 = V_8;
|
|
NullCheck(L_127);
|
|
int32_t L_129 = L_128;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_130 = (L_127)->GetAt(static_cast<il2cpp_array_size_t>(L_129));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_131 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_132 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_131);
|
|
NullCheck(L_132);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_133;
|
|
L_133 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_132, NULL);
|
|
int32_t L_134 = V_3;
|
|
NullCheck(L_133);
|
|
int32_t L_135 = L_134;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_136 = (L_133)->GetAt(static_cast<il2cpp_array_size_t>(L_135));
|
|
NullCheck(L_136);
|
|
int32_t L_137;
|
|
L_137 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_136, NULL);
|
|
NullCheck(L_130);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_130, L_137, NULL);
|
|
// tile.Polys[poly].FirstLink = idx;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_138 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_139 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_138);
|
|
NullCheck(L_139);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_140;
|
|
L_140 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_139, NULL);
|
|
int32_t L_141 = V_3;
|
|
NullCheck(L_140);
|
|
int32_t L_142 = L_141;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_143 = (L_140)->GetAt(static_cast<il2cpp_array_size_t>(L_142));
|
|
int32_t L_144 = V_8;
|
|
NullCheck(L_143);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_143, L_144, NULL);
|
|
}
|
|
|
|
IL_01a0:
|
|
{
|
|
// int tidx = AllocLink(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_145 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_146 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_145);
|
|
int32_t L_147;
|
|
L_147 = TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816(__this, L_146, NULL);
|
|
V_9 = L_147;
|
|
// if (IsLinkAllocated(tidx))
|
|
int32_t L_148 = V_9;
|
|
bool L_149;
|
|
L_149 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_148, NULL);
|
|
if (!L_149)
|
|
{
|
|
goto IL_0260;
|
|
}
|
|
}
|
|
{
|
|
// int landPolyIdx = DecodePolyIdPoly(reference);
|
|
int32_t L_150 = V_7;
|
|
int32_t L_151;
|
|
L_151 = TiledNavMesh_DecodePolyIdPoly_m86661E7FB94D2C49F2B3DB1A85891121035ECA22(__this, L_150, NULL);
|
|
V_11 = L_151;
|
|
// tile.Links[idx].Reference = GetReference(polyBase, tile.OffMeshConnections[con].Poly);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_152 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_153 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_152);
|
|
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));
|
|
int32_t L_158 = V_0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_159 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_160 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_159);
|
|
NullCheck(L_160);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_161;
|
|
L_161 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_160, NULL);
|
|
int32_t L_162 = V_2;
|
|
NullCheck(L_161);
|
|
int32_t L_163 = L_162;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_164 = (L_161)->GetAt(static_cast<il2cpp_array_size_t>(L_163));
|
|
NullCheck(L_164);
|
|
int32_t L_165;
|
|
L_165 = OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05_inline(L_164, NULL);
|
|
int32_t L_166;
|
|
L_166 = TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07(__this, L_158, L_165, NULL);
|
|
NullCheck(L_157);
|
|
Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline(L_157, L_166, NULL);
|
|
// tile.Links[idx].Edge = 0xff;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_167 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_168 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_167);
|
|
NullCheck(L_168);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_169;
|
|
L_169 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_168, NULL);
|
|
int32_t L_170 = V_8;
|
|
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);
|
|
Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline(L_172, ((int32_t)255), NULL);
|
|
// tile.Links[idx].Side = BoundarySide.Internal;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_173 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_174 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_173);
|
|
NullCheck(L_174);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_175;
|
|
L_175 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_174, NULL);
|
|
int32_t L_176 = V_8;
|
|
NullCheck(L_175);
|
|
int32_t L_177 = L_176;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_178 = (L_175)->GetAt(static_cast<il2cpp_array_size_t>(L_177));
|
|
NullCheck(L_178);
|
|
Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline(L_178, ((int32_t)255), NULL);
|
|
// tile.Links[idx].BMin = tile.Links[idx].BMax = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_179 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_180 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_179);
|
|
NullCheck(L_180);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_181;
|
|
L_181 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_180, NULL);
|
|
int32_t L_182 = V_8;
|
|
NullCheck(L_181);
|
|
int32_t L_183 = L_182;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_184 = (L_181)->GetAt(static_cast<il2cpp_array_size_t>(L_183));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_185 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_186 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_185);
|
|
NullCheck(L_186);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_187;
|
|
L_187 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_186, NULL);
|
|
int32_t L_188 = V_8;
|
|
NullCheck(L_187);
|
|
int32_t L_189 = L_188;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_190 = (L_187)->GetAt(static_cast<il2cpp_array_size_t>(L_189));
|
|
int32_t L_191 = 0;
|
|
V_10 = L_191;
|
|
NullCheck(L_190);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_190, L_191, NULL);
|
|
int32_t L_192 = V_10;
|
|
NullCheck(L_184);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_184, L_192, NULL);
|
|
// tile.Links[idx].Next = tile.Polys[landPolyIdx].FirstLink;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_193 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_194 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_193);
|
|
NullCheck(L_194);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_195;
|
|
L_195 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_194, NULL);
|
|
int32_t L_196 = V_8;
|
|
NullCheck(L_195);
|
|
int32_t L_197 = L_196;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_198 = (L_195)->GetAt(static_cast<il2cpp_array_size_t>(L_197));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_199 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_200 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_199);
|
|
NullCheck(L_200);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_201;
|
|
L_201 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_200, NULL);
|
|
int32_t L_202 = V_11;
|
|
NullCheck(L_201);
|
|
int32_t L_203 = L_202;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_204 = (L_201)->GetAt(static_cast<il2cpp_array_size_t>(L_203));
|
|
NullCheck(L_204);
|
|
int32_t L_205;
|
|
L_205 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_204, NULL);
|
|
NullCheck(L_198);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_198, L_205, NULL);
|
|
// tile.Polys[landPolyIdx].FirstLink = tidx;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_206 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_207 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_206);
|
|
NullCheck(L_207);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_208;
|
|
L_208 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_207, NULL);
|
|
int32_t L_209 = V_11;
|
|
NullCheck(L_208);
|
|
int32_t L_210 = L_209;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_211 = (L_208)->GetAt(static_cast<il2cpp_array_size_t>(L_210));
|
|
int32_t L_212 = V_9;
|
|
NullCheck(L_211);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_211, L_212, NULL);
|
|
}
|
|
|
|
IL_0260:
|
|
{
|
|
// for (int i = 0; i < tile.Header.OffMeshConCount; i++)
|
|
int32_t L_213 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_213, 1));
|
|
}
|
|
|
|
IL_0264:
|
|
{
|
|
// for (int i = 0; i < tile.Header.OffMeshConCount; i++)
|
|
int32_t L_214 = V_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_215 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_216 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_215);
|
|
NullCheck(L_216);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_217;
|
|
L_217 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_216, NULL);
|
|
NullCheck(L_217);
|
|
int32_t L_218 = L_217->___OffMeshConCount_10;
|
|
if ((((int32_t)L_214) < ((int32_t)L_218)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::ConnectExtLinks(SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_ConnectExtLinks_m106F11E0BE221987B5A9E443D20251B94A37AA5D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___1_target, uint8_t ___2_side, 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__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12_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_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
uint8_t V_3 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_6 = NULL;
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
float V_12 = 0.0f;
|
|
float V_13 = 0.0f;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_0 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_1 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_0);
|
|
if (L_1)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
V_0 = 0;
|
|
goto IL_02db;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// int numPolyVerts = tile.Polys[i].VertCount;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_2 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_2);
|
|
NullCheck(L_3);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_4;
|
|
L_4 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_3, NULL);
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_7, NULL);
|
|
V_1 = L_8;
|
|
// for (int j = 0; j < numPolyVerts; j++)
|
|
V_2 = 0;
|
|
goto IL_02d0;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// if ((tile.Polys[i].Neis[j] & Link.External) == 0)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_9 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_9);
|
|
NullCheck(L_10);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_11;
|
|
L_11 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_10, NULL);
|
|
int32_t L_12 = V_0;
|
|
NullCheck(L_11);
|
|
int32_t L_13 = L_12;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
NullCheck(L_14);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15;
|
|
L_15 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_14, NULL);
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
int32_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
if (!((int32_t)(L_18&((int32_t)-2147483648LL))))
|
|
{
|
|
goto IL_02cc;
|
|
}
|
|
}
|
|
{
|
|
// BoundarySide dir = (BoundarySide)(tile.Polys[i].Neis[j] & 0xff);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_19 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_20 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_19);
|
|
NullCheck(L_20);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_21;
|
|
L_21 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_20, NULL);
|
|
int32_t L_22 = V_0;
|
|
NullCheck(L_21);
|
|
int32_t L_23 = L_22;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
NullCheck(L_24);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_25;
|
|
L_25 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_24, NULL);
|
|
int32_t L_26 = V_2;
|
|
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_3 = ((int32_t)(uint8_t)((int32_t)(L_28&((int32_t)255))));
|
|
// if (side != BoundarySide.Internal && dir != side)
|
|
uint8_t L_29 = ___2_side;
|
|
if ((((int32_t)L_29) == ((int32_t)((int32_t)255))))
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_30 = V_3;
|
|
uint8_t L_31 = ___2_side;
|
|
if ((!(((uint32_t)L_30) == ((uint32_t)L_31))))
|
|
{
|
|
goto IL_02cc;
|
|
}
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// Vector3 va = tile.Verts[tile.Polys[i].Verts[j]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_32 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_32);
|
|
NullCheck(L_33);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_34;
|
|
L_34 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_33, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_35 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_36 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_35);
|
|
NullCheck(L_36);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_37;
|
|
L_37 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_36, NULL);
|
|
int32_t L_38 = V_0;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
NullCheck(L_40);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_41;
|
|
L_41 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_40, NULL);
|
|
int32_t L_42 = V_2;
|
|
NullCheck(L_41);
|
|
int32_t L_43 = L_42;
|
|
int32_t L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
|
|
NullCheck(L_34);
|
|
int32_t L_45 = L_44;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_46 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
|
|
V_4 = L_46;
|
|
// Vector3 vb = tile.Verts[tile.Polys[i].Verts[(j + 1) % numPolyVerts]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_47 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_48 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_47);
|
|
NullCheck(L_48);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_49;
|
|
L_49 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_48, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_50 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_51 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_50);
|
|
NullCheck(L_51);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_52;
|
|
L_52 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_51, NULL);
|
|
int32_t L_53 = V_0;
|
|
NullCheck(L_52);
|
|
int32_t L_54 = L_53;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
NullCheck(L_55);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_56;
|
|
L_56 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_55, NULL);
|
|
int32_t L_57 = V_2;
|
|
int32_t L_58 = V_1;
|
|
NullCheck(L_56);
|
|
int32_t L_59 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_57, 1))%L_58));
|
|
int32_t L_60 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
|
|
NullCheck(L_49);
|
|
int32_t L_61 = L_60;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_62 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
|
|
V_5 = L_62;
|
|
// List<int> nei = new List<int>(4);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_63 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_63);
|
|
List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98(L_63, 4, List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
V_6 = L_63;
|
|
// List<float> neia = new List<float>(4 * 2);
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_64 = (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918*)il2cpp_codegen_object_new(List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918_il2cpp_TypeInfo_var);
|
|
NullCheck(L_64);
|
|
List_1__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12(L_64, 8, List_1__ctor_mD19FC87E6CCC1D0C477B598DDB4A09F2A75E3E12_RuntimeMethod_var);
|
|
V_7 = L_64;
|
|
// FindConnectingPolys(va, vb, target, dir.GetOpposite(), nei, neia);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_65 = V_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_66 = V_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_67 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_68 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_67);
|
|
uint8_t L_69 = V_3;
|
|
uint8_t L_70;
|
|
L_70 = BoundarySideExtensions_GetOpposite_mDE68950F42206A09D7578ECBF9C30D5C82F2020B(L_69, NULL);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_71 = V_6;
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_72 = V_7;
|
|
TiledNavMesh_FindConnectingPolys_m753690840F6D241D47C079D12CBF9E28BD03C0AC(__this, L_65, L_66, L_68, L_70, L_71, L_72, NULL);
|
|
// for (int k = 0; k < nei.Count; k++)
|
|
V_8 = 0;
|
|
goto IL_02be;
|
|
}
|
|
|
|
IL_00d2:
|
|
{
|
|
// int idx = AllocLink(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_73 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_74 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_73);
|
|
int32_t L_75;
|
|
L_75 = TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816(__this, L_74, NULL);
|
|
V_9 = L_75;
|
|
// if (IsLinkAllocated(idx))
|
|
int32_t L_76 = V_9;
|
|
bool L_77;
|
|
L_77 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_76, NULL);
|
|
if (!L_77)
|
|
{
|
|
goto IL_02b8;
|
|
}
|
|
}
|
|
{
|
|
// tile.Links[idx].Reference = nei[k];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_78 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_79 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_78);
|
|
NullCheck(L_79);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_80;
|
|
L_80 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_79, NULL);
|
|
int32_t L_81 = V_9;
|
|
NullCheck(L_80);
|
|
int32_t L_82 = L_81;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_83 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_84 = V_6;
|
|
int32_t L_85 = V_8;
|
|
NullCheck(L_84);
|
|
int32_t L_86;
|
|
L_86 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_84, L_85, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_83);
|
|
Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline(L_83, L_86, NULL);
|
|
// tile.Links[idx].Edge = j;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_87 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_88 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_87);
|
|
NullCheck(L_88);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_89;
|
|
L_89 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_88, NULL);
|
|
int32_t L_90 = V_9;
|
|
NullCheck(L_89);
|
|
int32_t L_91 = L_90;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_92 = (L_89)->GetAt(static_cast<il2cpp_array_size_t>(L_91));
|
|
int32_t L_93 = V_2;
|
|
NullCheck(L_92);
|
|
Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline(L_92, L_93, NULL);
|
|
// tile.Links[idx].Side = dir;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_94 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_95 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_94);
|
|
NullCheck(L_95);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_96;
|
|
L_96 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_95, NULL);
|
|
int32_t L_97 = V_9;
|
|
NullCheck(L_96);
|
|
int32_t L_98 = L_97;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_99 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_98));
|
|
uint8_t L_100 = V_3;
|
|
NullCheck(L_99);
|
|
Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline(L_99, L_100, NULL);
|
|
// tile.Links[idx].Next = tile.Polys[i].FirstLink;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_101 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_102 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_101);
|
|
NullCheck(L_102);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_103;
|
|
L_103 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_102, NULL);
|
|
int32_t L_104 = V_9;
|
|
NullCheck(L_103);
|
|
int32_t L_105 = L_104;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_106 = (L_103)->GetAt(static_cast<il2cpp_array_size_t>(L_105));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_107 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_108 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_107);
|
|
NullCheck(L_108);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_109;
|
|
L_109 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_108, NULL);
|
|
int32_t L_110 = V_0;
|
|
NullCheck(L_109);
|
|
int32_t L_111 = L_110;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_112 = (L_109)->GetAt(static_cast<il2cpp_array_size_t>(L_111));
|
|
NullCheck(L_112);
|
|
int32_t L_113;
|
|
L_113 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_112, NULL);
|
|
NullCheck(L_106);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_106, L_113, NULL);
|
|
// tile.Polys[i].FirstLink = idx;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_114 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_115 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_114);
|
|
NullCheck(L_115);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_116;
|
|
L_116 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_115, NULL);
|
|
int32_t L_117 = V_0;
|
|
NullCheck(L_116);
|
|
int32_t L_118 = L_117;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_119 = (L_116)->GetAt(static_cast<il2cpp_array_size_t>(L_118));
|
|
int32_t L_120 = V_9;
|
|
NullCheck(L_119);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_119, L_120, NULL);
|
|
// if (dir == BoundarySide.PlusX || dir == BoundarySide.MinusX)
|
|
uint8_t L_121 = V_3;
|
|
if (!L_121)
|
|
{
|
|
goto IL_0158;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_122 = V_3;
|
|
if ((!(((uint32_t)L_122) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0205;
|
|
}
|
|
}
|
|
|
|
IL_0158:
|
|
{
|
|
// float tmin = (neia[k * 2 + 0] - va.Z) / (vb.Z - va.Z);
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_123 = V_7;
|
|
int32_t L_124 = V_8;
|
|
NullCheck(L_123);
|
|
float L_125;
|
|
L_125 = List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50(L_123, ((int32_t)il2cpp_codegen_multiply(L_124, 2)), List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_RuntimeMethod_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_126 = V_4;
|
|
float L_127 = L_126.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_128 = V_5;
|
|
float L_129 = L_128.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_130 = V_4;
|
|
float L_131 = L_130.___Z_2;
|
|
V_10 = ((float)(((float)il2cpp_codegen_subtract(L_125, L_127))/((float)il2cpp_codegen_subtract(L_129, L_131))));
|
|
// float tmax = (neia[k * 2 + 1] - va.Z) / (vb.Z - va.Z);
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_132 = V_7;
|
|
int32_t L_133 = V_8;
|
|
NullCheck(L_132);
|
|
float L_134;
|
|
L_134 = List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50(L_132, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_133, 2)), 1)), List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_RuntimeMethod_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_135 = V_4;
|
|
float L_136 = L_135.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_137 = V_5;
|
|
float L_138 = L_137.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_139 = V_4;
|
|
float L_140 = L_139.___Z_2;
|
|
V_11 = ((float)(((float)il2cpp_codegen_subtract(L_134, L_136))/((float)il2cpp_codegen_subtract(L_138, L_140))));
|
|
// if (tmin > tmax)
|
|
float L_141 = V_10;
|
|
float L_142 = V_11;
|
|
if ((!(((float)L_141) > ((float)L_142))))
|
|
{
|
|
goto IL_01b2;
|
|
}
|
|
}
|
|
{
|
|
// float temp = tmin;
|
|
float L_143 = V_10;
|
|
// tmin = tmax;
|
|
float L_144 = V_11;
|
|
V_10 = L_144;
|
|
// tmax = temp;
|
|
V_11 = L_143;
|
|
}
|
|
|
|
IL_01b2:
|
|
{
|
|
// tile.Links[idx].BMin = (int)(MathHelper.Clamp(tmin, 0.0f, 1.0f) * 255.0f);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_145 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_146 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_145);
|
|
NullCheck(L_146);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_147;
|
|
L_147 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_146, NULL);
|
|
int32_t L_148 = V_9;
|
|
NullCheck(L_147);
|
|
int32_t L_149 = L_148;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_150 = (L_147)->GetAt(static_cast<il2cpp_array_size_t>(L_149));
|
|
float L_151 = V_10;
|
|
float L_152;
|
|
L_152 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_151, (0.0f), (1.0f), NULL);
|
|
NullCheck(L_150);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_150, il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_152, (255.0f)))), NULL);
|
|
// tile.Links[idx].BMax = (int)(MathHelper.Clamp(tmax, 0.0f, 1.0f) * 255.0f);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_153 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_154 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_153);
|
|
NullCheck(L_154);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_155;
|
|
L_155 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_154, NULL);
|
|
int32_t L_156 = V_9;
|
|
NullCheck(L_155);
|
|
int32_t L_157 = L_156;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_158 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
float L_159 = V_11;
|
|
float L_160;
|
|
L_160 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_159, (0.0f), (1.0f), NULL);
|
|
NullCheck(L_158);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_158, il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_160, (255.0f)))), NULL);
|
|
goto IL_02b8;
|
|
}
|
|
|
|
IL_0205:
|
|
{
|
|
// else if (dir == BoundarySide.PlusZ || dir == BoundarySide.MinusZ)
|
|
uint8_t L_161 = V_3;
|
|
if ((((int32_t)L_161) == ((int32_t)2)))
|
|
{
|
|
goto IL_0210;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_162 = V_3;
|
|
if ((!(((uint32_t)L_162) == ((uint32_t)6))))
|
|
{
|
|
goto IL_02b8;
|
|
}
|
|
}
|
|
|
|
IL_0210:
|
|
{
|
|
// float tmin = (neia[k * 2 + 0] - va.X) / (vb.X - va.X);
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_163 = V_7;
|
|
int32_t L_164 = V_8;
|
|
NullCheck(L_163);
|
|
float L_165;
|
|
L_165 = List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50(L_163, ((int32_t)il2cpp_codegen_multiply(L_164, 2)), List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_RuntimeMethod_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_166 = V_4;
|
|
float L_167 = L_166.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_168 = V_5;
|
|
float L_169 = L_168.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_170 = V_4;
|
|
float L_171 = L_170.___X_0;
|
|
V_12 = ((float)(((float)il2cpp_codegen_subtract(L_165, L_167))/((float)il2cpp_codegen_subtract(L_169, L_171))));
|
|
// float tmax = (neia[k * 2 + 1] - va.X) / (vb.X - va.X);
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_172 = V_7;
|
|
int32_t L_173 = V_8;
|
|
NullCheck(L_172);
|
|
float L_174;
|
|
L_174 = List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50(L_172, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_173, 2)), 1)), List_1_get_Item_mFE556F47C4CD09EAC6C898EF39D4A8EC112CFC50_RuntimeMethod_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_175 = V_4;
|
|
float L_176 = L_175.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_177 = V_5;
|
|
float L_178 = L_177.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_179 = V_4;
|
|
float L_180 = L_179.___X_0;
|
|
V_13 = ((float)(((float)il2cpp_codegen_subtract(L_174, L_176))/((float)il2cpp_codegen_subtract(L_178, L_180))));
|
|
// if (tmin > tmax)
|
|
float L_181 = V_12;
|
|
float L_182 = V_13;
|
|
if ((!(((float)L_181) > ((float)L_182))))
|
|
{
|
|
goto IL_026a;
|
|
}
|
|
}
|
|
{
|
|
// float temp = tmin;
|
|
float L_183 = V_12;
|
|
// tmin = tmax;
|
|
float L_184 = V_13;
|
|
V_12 = L_184;
|
|
// tmax = temp;
|
|
V_13 = L_183;
|
|
}
|
|
|
|
IL_026a:
|
|
{
|
|
// tile.Links[idx].BMin = (int)(MathHelper.Clamp(tmin, 0.0f, 1.0f) * 255.0f);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_185 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_186 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_185);
|
|
NullCheck(L_186);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_187;
|
|
L_187 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_186, NULL);
|
|
int32_t L_188 = V_9;
|
|
NullCheck(L_187);
|
|
int32_t L_189 = L_188;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_190 = (L_187)->GetAt(static_cast<il2cpp_array_size_t>(L_189));
|
|
float L_191 = V_12;
|
|
float L_192;
|
|
L_192 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_191, (0.0f), (1.0f), NULL);
|
|
NullCheck(L_190);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_190, il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_192, (255.0f)))), NULL);
|
|
// tile.Links[idx].BMax = (int)(MathHelper.Clamp(tmax, 0.0f, 1.0f) * 255.0f);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_193 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_194 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_193);
|
|
NullCheck(L_194);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_195;
|
|
L_195 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_194, NULL);
|
|
int32_t L_196 = V_9;
|
|
NullCheck(L_195);
|
|
int32_t L_197 = L_196;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_198 = (L_195)->GetAt(static_cast<il2cpp_array_size_t>(L_197));
|
|
float L_199 = V_13;
|
|
float L_200;
|
|
L_200 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_199, (0.0f), (1.0f), NULL);
|
|
NullCheck(L_198);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_198, il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_200, (255.0f)))), NULL);
|
|
}
|
|
|
|
IL_02b8:
|
|
{
|
|
// for (int k = 0; k < nei.Count; k++)
|
|
int32_t L_201 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_201, 1));
|
|
}
|
|
|
|
IL_02be:
|
|
{
|
|
// for (int k = 0; k < nei.Count; k++)
|
|
int32_t L_202 = V_8;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_203 = V_6;
|
|
NullCheck(L_203);
|
|
int32_t L_204;
|
|
L_204 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_203, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_202) < ((int32_t)L_204)))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
|
|
IL_02cc:
|
|
{
|
|
// for (int j = 0; j < numPolyVerts; j++)
|
|
int32_t L_205 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_205, 1));
|
|
}
|
|
|
|
IL_02d0:
|
|
{
|
|
// for (int j = 0; j < numPolyVerts; j++)
|
|
int32_t L_206 = V_2;
|
|
int32_t L_207 = V_1;
|
|
if ((((int32_t)L_206) < ((int32_t)L_207)))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_208 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_208, 1));
|
|
}
|
|
|
|
IL_02db:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_209 = V_0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_210 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_211 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_210);
|
|
NullCheck(L_211);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_212;
|
|
L_212 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_211, NULL);
|
|
NullCheck(L_212);
|
|
int32_t L_213 = L_212->___PolyCount_3;
|
|
if ((((int32_t)L_209) < ((int32_t)L_213)))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::ConnectExtOffMeshLinks(SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.MeshTile&,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_ConnectExtOffMeshLinks_mB899EB0AD95FDF57D3AB4909169E57030BA24CCA (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___0_tile, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** ___1_target, uint8_t ___2_side, const RuntimeMethod* method)
|
|
{
|
|
uint8_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* V_2 = NULL;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_3 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
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;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_0 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_1 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_0);
|
|
if (L_1)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// BoundarySide oppositeSide = side.GetOpposite();
|
|
uint8_t L_2 = ___2_side;
|
|
uint8_t L_3;
|
|
L_3 = BoundarySideExtensions_GetOpposite_mDE68950F42206A09D7578ECBF9C30D5C82F2020B(L_2, NULL);
|
|
V_0 = L_3;
|
|
// for (int i = 0; i < target.Header.OffMeshConCount; i++)
|
|
V_1 = 0;
|
|
goto IL_025b;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// OffMeshConnection targetCon = target.OffMeshConnections[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_4 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_4);
|
|
NullCheck(L_5);
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_6;
|
|
L_6 = MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline(L_5, NULL);
|
|
int32_t L_7 = V_1;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
V_2 = L_9;
|
|
// if (targetCon.Side != oppositeSide)
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_10 = V_2;
|
|
NullCheck(L_10);
|
|
uint8_t L_11;
|
|
L_11 = OffMeshConnection_get_Side_m687D62165751425B9AC8FBB3C453B133C8A0CBA2_inline(L_10, NULL);
|
|
uint8_t L_12 = V_0;
|
|
if ((!(((uint32_t)L_11) == ((uint32_t)L_12))))
|
|
{
|
|
goto IL_0257;
|
|
}
|
|
}
|
|
{
|
|
// Poly targetPoly = target.Polys[targetCon.Poly];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_13 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_13);
|
|
NullCheck(L_14);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_15;
|
|
L_15 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_14, NULL);
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_16 = V_2;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05_inline(L_16, NULL);
|
|
NullCheck(L_15);
|
|
int32_t L_18 = L_17;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_19 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
V_3 = L_19;
|
|
// if (!IsLinkAllocated(targetPoly.FirstLink))
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_20 = V_3;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_20, NULL);
|
|
bool L_22;
|
|
L_22 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_21, NULL);
|
|
if (!L_22)
|
|
{
|
|
goto IL_0257;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 extents = new Vector3(targetCon.Radius, target.Header.WalkableClimb, targetCon.Radius);
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_23 = V_2;
|
|
NullCheck(L_23);
|
|
float L_24;
|
|
L_24 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_23, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_25 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_26 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_25);
|
|
NullCheck(L_26);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_27;
|
|
L_27 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_26, NULL);
|
|
NullCheck(L_27);
|
|
float L_28 = L_27->___WalkableClimb_14;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_29 = V_2;
|
|
NullCheck(L_29);
|
|
float L_30;
|
|
L_30 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_29, NULL);
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_4), L_24, L_28, L_30, NULL);
|
|
// Vector3 p = targetCon.Pos1;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_31 = V_2;
|
|
NullCheck(L_31);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_32;
|
|
L_32 = OffMeshConnection_get_Pos1_m2DB4368C858878A28033160710AA94356438375E_inline(L_31, NULL);
|
|
V_5 = L_32;
|
|
// Vector3 nearestPt = new Vector3();
|
|
il2cpp_codegen_initobj((&V_6), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// int reference = FindNearestPolyInTile(tile, p, extents, ref nearestPt);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_33 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_34 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_33);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35 = V_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = V_4;
|
|
int32_t L_37;
|
|
L_37 = TiledNavMesh_FindNearestPolyInTile_mDB93C292D4CB21D1B24A28D9F2C68B70D2C5510F(__this, L_34, L_35, L_36, (&V_6), NULL);
|
|
V_7 = L_37;
|
|
// if (reference == 0)
|
|
int32_t L_38 = V_7;
|
|
if (!L_38)
|
|
{
|
|
goto IL_0257;
|
|
}
|
|
}
|
|
{
|
|
// if ((nearestPt.X - p.X) * (nearestPt.X - p.X) + (nearestPt.Z - p.Z) * (nearestPt.Z - p.Z) >
|
|
// (targetCon.Radius * targetCon.Radius))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39 = V_6;
|
|
float L_40 = L_39.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_41 = V_5;
|
|
float L_42 = L_41.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_43 = V_6;
|
|
float L_44 = L_43.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_45 = V_5;
|
|
float L_46 = L_45.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47 = V_6;
|
|
float L_48 = L_47.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_49 = V_5;
|
|
float L_50 = L_49.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_51 = V_6;
|
|
float L_52 = L_51.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_53 = V_5;
|
|
float L_54 = L_53.___Z_2;
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_55 = V_2;
|
|
NullCheck(L_55);
|
|
float L_56;
|
|
L_56 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_55, NULL);
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_57 = V_2;
|
|
NullCheck(L_57);
|
|
float L_58;
|
|
L_58 = OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline(L_57, NULL);
|
|
if ((((float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_40, L_42)), ((float)il2cpp_codegen_subtract(L_44, L_46)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_48, L_50)), ((float)il2cpp_codegen_subtract(L_52, L_54))))))) > ((float)((float)il2cpp_codegen_multiply(L_56, L_58)))))
|
|
{
|
|
goto IL_0257;
|
|
}
|
|
}
|
|
{
|
|
// target.Verts[targetPoly.Verts[1]] = nearestPt;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_59 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_60 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_59);
|
|
NullCheck(L_60);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_61;
|
|
L_61 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_60, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_62 = V_3;
|
|
NullCheck(L_62);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_63;
|
|
L_63 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_62, NULL);
|
|
NullCheck(L_63);
|
|
int32_t L_64 = 1;
|
|
int32_t L_65 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_66 = V_6;
|
|
NullCheck(L_61);
|
|
(L_61)->SetAt(static_cast<il2cpp_array_size_t>(L_65), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_66);
|
|
// int idx = AllocLink(target);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_67 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_68 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_67);
|
|
int32_t L_69;
|
|
L_69 = TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816(__this, L_68, NULL);
|
|
V_8 = L_69;
|
|
// if (IsLinkAllocated(idx))
|
|
int32_t L_70 = V_8;
|
|
bool L_71;
|
|
L_71 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_70, NULL);
|
|
if (!L_71)
|
|
{
|
|
goto IL_018f;
|
|
}
|
|
}
|
|
{
|
|
// target.Links[idx].Reference = reference;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_72 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_73 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_72);
|
|
NullCheck(L_73);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_74;
|
|
L_74 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_73, NULL);
|
|
int32_t L_75 = V_8;
|
|
NullCheck(L_74);
|
|
int32_t L_76 = L_75;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_77 = (L_74)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
|
|
int32_t L_78 = V_7;
|
|
NullCheck(L_77);
|
|
Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline(L_77, L_78, NULL);
|
|
// target.Links[idx].Edge = i;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_79 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_80 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_79);
|
|
NullCheck(L_80);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_81;
|
|
L_81 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_80, NULL);
|
|
int32_t L_82 = V_8;
|
|
NullCheck(L_81);
|
|
int32_t L_83 = L_82;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_84 = (L_81)->GetAt(static_cast<il2cpp_array_size_t>(L_83));
|
|
int32_t L_85 = V_1;
|
|
NullCheck(L_84);
|
|
Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline(L_84, L_85, NULL);
|
|
// target.Links[idx].Side = oppositeSide;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_86 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_87 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_86);
|
|
NullCheck(L_87);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_88;
|
|
L_88 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_87, NULL);
|
|
int32_t L_89 = V_8;
|
|
NullCheck(L_88);
|
|
int32_t L_90 = L_89;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_91 = (L_88)->GetAt(static_cast<il2cpp_array_size_t>(L_90));
|
|
uint8_t L_92 = V_0;
|
|
NullCheck(L_91);
|
|
Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline(L_91, L_92, NULL);
|
|
// target.Links[idx].BMin = target.Links[idx].BMax = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_93 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_94 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_93);
|
|
NullCheck(L_94);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_95;
|
|
L_95 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_94, NULL);
|
|
int32_t L_96 = V_8;
|
|
NullCheck(L_95);
|
|
int32_t L_97 = L_96;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_98 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_99 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_100 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_99);
|
|
NullCheck(L_100);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_101;
|
|
L_101 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_100, NULL);
|
|
int32_t L_102 = V_8;
|
|
NullCheck(L_101);
|
|
int32_t L_103 = L_102;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_104 = (L_101)->GetAt(static_cast<il2cpp_array_size_t>(L_103));
|
|
int32_t L_105 = 0;
|
|
V_9 = L_105;
|
|
NullCheck(L_104);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_104, L_105, NULL);
|
|
int32_t L_106 = V_9;
|
|
NullCheck(L_98);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_98, L_106, NULL);
|
|
// target.Links[idx].Next = target.Polys[i].FirstLink;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_107 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_108 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_107);
|
|
NullCheck(L_108);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_109;
|
|
L_109 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_108, NULL);
|
|
int32_t L_110 = V_8;
|
|
NullCheck(L_109);
|
|
int32_t L_111 = L_110;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_112 = (L_109)->GetAt(static_cast<il2cpp_array_size_t>(L_111));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_113 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_114 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_113);
|
|
NullCheck(L_114);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_115;
|
|
L_115 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_114, NULL);
|
|
int32_t L_116 = V_1;
|
|
NullCheck(L_115);
|
|
int32_t L_117 = L_116;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_118 = (L_115)->GetAt(static_cast<il2cpp_array_size_t>(L_117));
|
|
NullCheck(L_118);
|
|
int32_t L_119;
|
|
L_119 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_118, NULL);
|
|
NullCheck(L_112);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_112, L_119, NULL);
|
|
// target.Polys[i].FirstLink = idx;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_120 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_121 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_120);
|
|
NullCheck(L_121);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_122;
|
|
L_122 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_121, NULL);
|
|
int32_t L_123 = V_1;
|
|
NullCheck(L_122);
|
|
int32_t L_124 = L_123;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_125 = (L_122)->GetAt(static_cast<il2cpp_array_size_t>(L_124));
|
|
int32_t L_126 = V_8;
|
|
NullCheck(L_125);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_125, L_126, NULL);
|
|
}
|
|
|
|
IL_018f:
|
|
{
|
|
// if ((targetCon.Flags & OffMeshConnectionFlags.Bidirectional) != 0)
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_127 = V_2;
|
|
NullCheck(L_127);
|
|
uint8_t L_128;
|
|
L_128 = OffMeshConnection_get_Flags_m01EB461FB11075226D79DE4CBF24AC0393F3B2F3_inline(L_127, NULL);
|
|
if (!((int32_t)((int32_t)L_128&1)))
|
|
{
|
|
goto IL_0257;
|
|
}
|
|
}
|
|
{
|
|
// int tidx = AllocLink(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_129 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_130 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_129);
|
|
int32_t L_131;
|
|
L_131 = TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816(__this, L_130, NULL);
|
|
V_10 = L_131;
|
|
// if (IsLinkAllocated(tidx))
|
|
int32_t L_132 = V_10;
|
|
bool L_133;
|
|
L_133 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_132, NULL);
|
|
if (!L_133)
|
|
{
|
|
goto IL_0257;
|
|
}
|
|
}
|
|
{
|
|
// int landPolyIdx = DecodePolyIdPoly(reference);
|
|
int32_t L_134 = V_7;
|
|
int32_t L_135;
|
|
L_135 = TiledNavMesh_DecodePolyIdPoly_m86661E7FB94D2C49F2B3DB1A85891121035ECA22(__this, L_134, NULL);
|
|
V_11 = L_135;
|
|
// tile.Links[tidx].Reference = GetReference(GetPolyRefBase(target), targetCon.Poly);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_136 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_137 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_136);
|
|
NullCheck(L_137);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_138;
|
|
L_138 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_137, NULL);
|
|
int32_t L_139 = V_10;
|
|
NullCheck(L_138);
|
|
int32_t L_140 = L_139;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_141 = (L_138)->GetAt(static_cast<il2cpp_array_size_t>(L_140));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_142 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_143 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_142);
|
|
int32_t L_144;
|
|
L_144 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(__this, L_143, NULL);
|
|
OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* L_145 = V_2;
|
|
NullCheck(L_145);
|
|
int32_t L_146;
|
|
L_146 = OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05_inline(L_145, NULL);
|
|
int32_t L_147;
|
|
L_147 = TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07(__this, L_144, L_146, NULL);
|
|
NullCheck(L_141);
|
|
Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline(L_141, L_147, NULL);
|
|
// tile.Links[tidx].Edge = 0xff;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_148 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_149 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_148);
|
|
NullCheck(L_149);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_150;
|
|
L_150 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_149, NULL);
|
|
int32_t L_151 = V_10;
|
|
NullCheck(L_150);
|
|
int32_t L_152 = L_151;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_153 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
|
|
NullCheck(L_153);
|
|
Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline(L_153, ((int32_t)255), NULL);
|
|
// tile.Links[tidx].Side = side;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_154 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_155 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_154);
|
|
NullCheck(L_155);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_156;
|
|
L_156 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_155, NULL);
|
|
int32_t L_157 = V_10;
|
|
NullCheck(L_156);
|
|
int32_t L_158 = L_157;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_159 = (L_156)->GetAt(static_cast<il2cpp_array_size_t>(L_158));
|
|
uint8_t L_160 = ___2_side;
|
|
NullCheck(L_159);
|
|
Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline(L_159, L_160, NULL);
|
|
// tile.Links[tidx].BMin = tile.Links[tidx].BMax = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_161 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_162 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_161);
|
|
NullCheck(L_162);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_163;
|
|
L_163 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_162, NULL);
|
|
int32_t L_164 = V_10;
|
|
NullCheck(L_163);
|
|
int32_t L_165 = L_164;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_166 = (L_163)->GetAt(static_cast<il2cpp_array_size_t>(L_165));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_167 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_168 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_167);
|
|
NullCheck(L_168);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_169;
|
|
L_169 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_168, NULL);
|
|
int32_t L_170 = V_10;
|
|
NullCheck(L_169);
|
|
int32_t L_171 = L_170;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_172 = (L_169)->GetAt(static_cast<il2cpp_array_size_t>(L_171));
|
|
int32_t L_173 = 0;
|
|
V_9 = L_173;
|
|
NullCheck(L_172);
|
|
Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline(L_172, L_173, NULL);
|
|
int32_t L_174 = V_9;
|
|
NullCheck(L_166);
|
|
Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline(L_166, L_174, NULL);
|
|
// tile.Links[tidx].Next = tile.Polys[landPolyIdx].FirstLink;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_175 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_176 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_175);
|
|
NullCheck(L_176);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_177;
|
|
L_177 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_176, NULL);
|
|
int32_t L_178 = V_10;
|
|
NullCheck(L_177);
|
|
int32_t L_179 = L_178;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_180 = (L_177)->GetAt(static_cast<il2cpp_array_size_t>(L_179));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_181 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_182 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_181);
|
|
NullCheck(L_182);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_183;
|
|
L_183 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_182, NULL);
|
|
int32_t L_184 = V_11;
|
|
NullCheck(L_183);
|
|
int32_t L_185 = L_184;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_186 = (L_183)->GetAt(static_cast<il2cpp_array_size_t>(L_185));
|
|
NullCheck(L_186);
|
|
int32_t L_187;
|
|
L_187 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_186, NULL);
|
|
NullCheck(L_180);
|
|
Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline(L_180, L_187, NULL);
|
|
// tile.Polys[landPolyIdx].FirstLink = tidx;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_188 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_189 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_188);
|
|
NullCheck(L_189);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_190;
|
|
L_190 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_189, NULL);
|
|
int32_t L_191 = V_11;
|
|
NullCheck(L_190);
|
|
int32_t L_192 = L_191;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_193 = (L_190)->GetAt(static_cast<il2cpp_array_size_t>(L_192));
|
|
int32_t L_194 = V_10;
|
|
NullCheck(L_193);
|
|
Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline(L_193, L_194, NULL);
|
|
}
|
|
|
|
IL_0257:
|
|
{
|
|
// for (int i = 0; i < target.Header.OffMeshConCount; i++)
|
|
int32_t L_195 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_195, 1));
|
|
}
|
|
|
|
IL_025b:
|
|
{
|
|
// for (int i = 0; i < target.Header.OffMeshConCount; i++)
|
|
int32_t L_196 = V_1;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_197 = ___1_target;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_198 = *((MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705**)L_197);
|
|
NullCheck(L_198);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_199;
|
|
L_199 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_198, NULL);
|
|
NullCheck(L_199);
|
|
int32_t L_200 = L_199->___OffMeshConCount_10;
|
|
if ((((int32_t)L_196) < ((int32_t)L_200)))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.TiledNavMesh::GetOffMeshConnectionPolyEndPoints(System.Int32,System.Int32,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_GetOffMeshConnectionPolyEndPoints_m4F283D953D413CD4A7A7072AB4F1A7A39DD193FE (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_prevRef, int32_t ___1_polyRef, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_startPos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_endPos, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 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;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
{
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_0 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_1 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_2 = 0;
|
|
// if (polyRef == 0)
|
|
int32_t L_0 = ___1_polyRef;
|
|
if (L_0)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// DecodePolyId(polyRef, ref salt, ref indexTile, ref indexPoly);
|
|
int32_t L_1 = ___1_polyRef;
|
|
TiledNavMesh_DecodePolyId_m40C4858A745D0EAAEB8DCF7C4D50E1F90FEB01D0(__this, L_1, (&V_0), (&V_1), (&V_2), NULL);
|
|
// if (indexTile >= maxTiles)
|
|
int32_t L_2 = V_1;
|
|
int32_t L_3 = __this->___maxTiles_4;
|
|
if ((((int32_t)L_2) < ((int32_t)L_3)))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// if (tiles[indexTile].Salt != salt || tiles[indexTile].Header == null)
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_4 = __this->___tiles_9;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline(L_7, NULL);
|
|
int32_t L_9 = V_0;
|
|
if ((!(((uint32_t)L_8) == ((uint32_t)L_9))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_10 = __this->___tiles_9;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
NullCheck(L_13);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_14;
|
|
L_14 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_13, NULL);
|
|
if (L_14)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// MeshTile tile = tiles[indexTile];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_15 = __this->___tiles_9;
|
|
int32_t L_16 = V_1;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
V_3 = L_18;
|
|
// if (indexPoly >= tile.Header.PolyCount)
|
|
int32_t L_19 = V_2;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_20 = V_3;
|
|
NullCheck(L_20);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_21;
|
|
L_21 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_20, NULL);
|
|
NullCheck(L_21);
|
|
int32_t L_22 = L_21->___PolyCount_3;
|
|
if ((((int32_t)L_19) < ((int32_t)L_22)))
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// Poly poly = tile.Polys[indexPoly];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_23 = V_3;
|
|
NullCheck(L_23);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_24;
|
|
L_24 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_23, NULL);
|
|
int32_t L_25 = V_2;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
V_4 = L_27;
|
|
// if (poly.PolyType != PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_28 = V_4;
|
|
NullCheck(L_28);
|
|
uint8_t L_29;
|
|
L_29 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_28, NULL);
|
|
if ((((int32_t)L_29) == ((int32_t)1)))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// int idx0 = 0, idx1 = 1;
|
|
V_5 = 0;
|
|
// int idx0 = 0, idx1 = 1;
|
|
V_6 = 1;
|
|
// for (int i = poly.FirstLink; i != Link.Null; i = tile.Links[i].Next)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_30 = V_4;
|
|
NullCheck(L_30);
|
|
int32_t L_31;
|
|
L_31 = Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8_inline(L_30, NULL);
|
|
V_7 = L_31;
|
|
goto IL_00bd;
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// if (tile.Links[i].Edge == 0)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_32 = V_3;
|
|
NullCheck(L_32);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_33;
|
|
L_33 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_32, NULL);
|
|
int32_t L_34 = V_7;
|
|
NullCheck(L_33);
|
|
int32_t L_35 = L_34;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
NullCheck(L_36);
|
|
int32_t L_37;
|
|
L_37 = Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86_inline(L_36, NULL);
|
|
if (L_37)
|
|
{
|
|
goto IL_00ad;
|
|
}
|
|
}
|
|
{
|
|
// if (tile.Links[i].Reference != prevRef)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_38 = V_3;
|
|
NullCheck(L_38);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_39;
|
|
L_39 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_38, NULL);
|
|
int32_t L_40 = V_7;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = L_40;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
NullCheck(L_42);
|
|
int32_t L_43;
|
|
L_43 = Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A_inline(L_42, NULL);
|
|
int32_t L_44 = ___0_prevRef;
|
|
if ((((int32_t)L_43) == ((int32_t)L_44)))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// idx0 = 1;
|
|
V_5 = 1;
|
|
// idx1 = 0;
|
|
V_6 = 0;
|
|
// break;
|
|
goto IL_00c2;
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// for (int i = poly.FirstLink; i != Link.Null; i = tile.Links[i].Next)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_45 = V_3;
|
|
NullCheck(L_45);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_46;
|
|
L_46 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_45, NULL);
|
|
int32_t L_47 = V_7;
|
|
NullCheck(L_46);
|
|
int32_t L_48 = L_47;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
|
|
NullCheck(L_49);
|
|
int32_t L_50;
|
|
L_50 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_49, NULL);
|
|
V_7 = L_50;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// for (int i = poly.FirstLink; i != Link.Null; i = tile.Links[i].Next)
|
|
int32_t L_51 = V_7;
|
|
if ((!(((uint32_t)L_51) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// startPos = tile.Verts[poly.Verts[idx0]];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_52 = ___2_startPos;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_53 = V_3;
|
|
NullCheck(L_53);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_54;
|
|
L_54 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_53, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_55 = V_4;
|
|
NullCheck(L_55);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_56;
|
|
L_56 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_55, NULL);
|
|
int32_t L_57 = V_5;
|
|
NullCheck(L_56);
|
|
int32_t L_58 = L_57;
|
|
int32_t L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
|
|
NullCheck(L_54);
|
|
int32_t L_60 = L_59;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_61 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_52 = L_61;
|
|
// endPos = tile.Verts[poly.Verts[idx1]];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_62 = ___3_endPos;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_63 = V_3;
|
|
NullCheck(L_63);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_64;
|
|
L_64 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_63, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_65 = V_4;
|
|
NullCheck(L_65);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_66;
|
|
L_66 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_65, NULL);
|
|
int32_t L_67 = V_6;
|
|
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));
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_62 = L_71;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::FindConnectingPolys(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Pathfinding.MeshTile,SharpNav.Pathfinding.BoundarySide,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Single>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_FindConnectingPolys_m753690840F6D241D47C079D12CBF9E28BD03C0AC (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vb, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___2_tile, uint8_t ___3_side, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___4_con, List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* ___5_conarea, 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_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_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*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
float V_2 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
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));
|
|
float V_11 = 0.0f;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___2_tile;
|
|
if (L_0)
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// Vector2 amin = Vector2.Zero;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_1 = ((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___Zero_5;
|
|
V_0 = L_1;
|
|
// Vector2 amax = Vector2.Zero;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___Zero_5;
|
|
V_1 = L_2;
|
|
// CalcSlabEndPoints(va, vb, amin, amax, side);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___0_va;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_vb;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_5 = V_0;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6 = V_1;
|
|
uint8_t L_7 = ___3_side;
|
|
TiledNavMesh_CalcSlabEndPoints_mA1CBEC46F4420C44EA161F99470065C526E54D11(__this, L_3, L_4, L_5, L_6, L_7, NULL);
|
|
// float apos = GetSlabCoord(va, side);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_va;
|
|
uint8_t L_9 = ___3_side;
|
|
float L_10;
|
|
L_10 = TiledNavMesh_GetSlabCoord_mA1F870A96857FA1E2BD1EAA35221FD394CDCBA59(__this, L_8, L_9, NULL);
|
|
V_2 = L_10;
|
|
// Vector2 bmin = Vector2.Zero;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_11 = ((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___Zero_5;
|
|
V_3 = L_11;
|
|
// Vector2 bmax = Vector2.Zero;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_12 = ((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___Zero_5;
|
|
V_4 = L_12;
|
|
// int polyBase = GetPolyRefBase(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_13 = ___2_tile;
|
|
int32_t L_14;
|
|
L_14 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(__this, L_13, NULL);
|
|
V_5 = L_14;
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
V_6 = 0;
|
|
goto IL_016f;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// int numPolyVerts = tile.Polys[i].VertCount;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_15 = ___2_tile;
|
|
NullCheck(L_15);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_16;
|
|
L_16 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_15, NULL);
|
|
int32_t L_17 = V_6;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
NullCheck(L_19);
|
|
int32_t L_20;
|
|
L_20 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_19, NULL);
|
|
V_7 = L_20;
|
|
// for (int j = 0; j < numPolyVerts; j++)
|
|
V_8 = 0;
|
|
goto IL_0160;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// if (tile.Polys[i].Neis[j] != (Link.External | (int)side))
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_21 = ___2_tile;
|
|
NullCheck(L_21);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_22;
|
|
L_22 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_21, NULL);
|
|
int32_t L_23 = V_6;
|
|
NullCheck(L_22);
|
|
int32_t L_24 = L_23;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
NullCheck(L_25);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26;
|
|
L_26 = Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9_inline(L_25, NULL);
|
|
int32_t L_27 = V_8;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
int32_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
uint8_t L_30 = ___3_side;
|
|
if ((!(((uint32_t)L_29) == ((uint32_t)((int32_t)(((int32_t)-2147483648LL)|(int32_t)L_30))))))
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 vc = tile.Verts[tile.Polys[i].Verts[j]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_31 = ___2_tile;
|
|
NullCheck(L_31);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_32;
|
|
L_32 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_31, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = ___2_tile;
|
|
NullCheck(L_33);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_34;
|
|
L_34 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_33, NULL);
|
|
int32_t L_35 = V_6;
|
|
NullCheck(L_34);
|
|
int32_t L_36 = L_35;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
NullCheck(L_37);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38;
|
|
L_38 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_37, NULL);
|
|
int32_t L_39 = V_8;
|
|
NullCheck(L_38);
|
|
int32_t L_40 = L_39;
|
|
int32_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
|
|
NullCheck(L_32);
|
|
int32_t L_42 = L_41;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_43 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
|
|
V_9 = L_43;
|
|
// Vector3 vd = tile.Verts[tile.Polys[i].Verts[(j + 1) % numPolyVerts]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_44 = ___2_tile;
|
|
NullCheck(L_44);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_45;
|
|
L_45 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_44, NULL);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_46 = ___2_tile;
|
|
NullCheck(L_46);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_47;
|
|
L_47 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_46, NULL);
|
|
int32_t L_48 = V_6;
|
|
NullCheck(L_47);
|
|
int32_t L_49 = L_48;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
|
|
NullCheck(L_50);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_51;
|
|
L_51 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_50, NULL);
|
|
int32_t L_52 = V_8;
|
|
int32_t L_53 = V_7;
|
|
NullCheck(L_51);
|
|
int32_t L_54 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_52, 1))%L_53));
|
|
int32_t L_55 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
NullCheck(L_45);
|
|
int32_t L_56 = L_55;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_57 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
|
|
V_10 = L_57;
|
|
// float bpos = GetSlabCoord(vc, side);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58 = V_9;
|
|
uint8_t L_59 = ___3_side;
|
|
float L_60;
|
|
L_60 = TiledNavMesh_GetSlabCoord_mA1F870A96857FA1E2BD1EAA35221FD394CDCBA59(__this, L_58, L_59, NULL);
|
|
V_11 = L_60;
|
|
// if (Math.Abs(apos - bpos) > 0.01f)
|
|
float L_61 = V_2;
|
|
float L_62 = V_11;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_63;
|
|
L_63 = fabsf(((float)il2cpp_codegen_subtract(L_61, L_62)));
|
|
if ((((float)L_63) > ((float)(0.00999999978f))))
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// CalcSlabEndPoints(vc, vd, bmin, bmax, side);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_64 = V_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_65 = V_10;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_66 = V_3;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_67 = V_4;
|
|
uint8_t L_68 = ___3_side;
|
|
TiledNavMesh_CalcSlabEndPoints_mA1CBEC46F4420C44EA161F99470065C526E54D11(__this, L_64, L_65, L_66, L_67, L_68, NULL);
|
|
// if (!OverlapSlabs(amin, amax, bmin, bmax, 0.01f, tile.Header.WalkableClimb))
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_69 = V_0;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_70 = V_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_71 = V_3;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_72 = V_4;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_73 = ___2_tile;
|
|
NullCheck(L_73);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_74;
|
|
L_74 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_73, NULL);
|
|
NullCheck(L_74);
|
|
float L_75 = L_74->___WalkableClimb_14;
|
|
bool L_76;
|
|
L_76 = TiledNavMesh_OverlapSlabs_mB22B31FC1944B8E543EDBA8CB1C43BB66BACFECA(__this, L_69, L_70, L_71, L_72, (0.00999999978f), L_75, NULL);
|
|
if (!L_76)
|
|
{
|
|
goto IL_015a;
|
|
}
|
|
}
|
|
{
|
|
// if (con.Count < con.Capacity)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_77 = ___4_con;
|
|
NullCheck(L_77);
|
|
int32_t L_78;
|
|
L_78 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_77, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_79 = ___4_con;
|
|
NullCheck(L_79);
|
|
int32_t L_80;
|
|
L_80 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_79, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_78) >= ((int32_t)L_80)))
|
|
{
|
|
goto IL_0169;
|
|
}
|
|
}
|
|
{
|
|
// conarea.Add(Math.Max(amin.X, bmin.X));
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_81 = ___5_conarea;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_82 = V_0;
|
|
float L_83 = L_82.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_84 = V_3;
|
|
float L_85 = L_84.___X_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_86;
|
|
L_86 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_83, L_85, NULL);
|
|
NullCheck(L_81);
|
|
List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_inline(L_81, L_86, List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_RuntimeMethod_var);
|
|
// conarea.Add(Math.Min(amax.X, bmax.X));
|
|
List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* L_87 = ___5_conarea;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_88 = V_1;
|
|
float L_89 = L_88.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_90 = V_4;
|
|
float L_91 = L_90.___X_1;
|
|
float L_92;
|
|
L_92 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_89, L_91, NULL);
|
|
NullCheck(L_87);
|
|
List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_inline(L_87, L_92, List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_RuntimeMethod_var);
|
|
// con.Add(GetReference(polyBase, i));
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_93 = ___4_con;
|
|
int32_t L_94 = V_5;
|
|
int32_t L_95 = V_6;
|
|
int32_t L_96;
|
|
L_96 = TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07(__this, L_94, L_95, NULL);
|
|
NullCheck(L_93);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_93, L_96, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// break;
|
|
goto IL_0169;
|
|
}
|
|
|
|
IL_015a:
|
|
{
|
|
// for (int j = 0; j < numPolyVerts; j++)
|
|
int32_t L_97 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_97, 1));
|
|
}
|
|
|
|
IL_0160:
|
|
{
|
|
// for (int j = 0; j < numPolyVerts; j++)
|
|
int32_t L_98 = V_8;
|
|
int32_t L_99 = V_7;
|
|
if ((((int32_t)L_98) < ((int32_t)L_99)))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_100 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_100, 1));
|
|
}
|
|
|
|
IL_016f:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_101 = V_6;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_102 = ___2_tile;
|
|
NullCheck(L_102);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_103;
|
|
L_103 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_102, NULL);
|
|
NullCheck(L_103);
|
|
int32_t L_104 = L_103->___PolyCount_3;
|
|
if ((((int32_t)L_101) < ((int32_t)L_104)))
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::CalcSlabEndPoints(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_CalcSlabEndPoints_mA1CBEC46F4420C44EA161F99470065C526E54D11 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vb, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___2_bmin, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___3_bmax, uint8_t ___4_side, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (side == BoundarySide.PlusX || side == BoundarySide.MinusX)
|
|
uint8_t L_0 = ___4_side;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_1 = ___4_side;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0081;
|
|
}
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (va.Z < vb.Z)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_va;
|
|
float L_3 = L_2.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_vb;
|
|
float L_5 = L_4.___Z_2;
|
|
if ((!(((float)L_3) < ((float)L_5))))
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// bmin.X = va.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_va;
|
|
float L_7 = L_6.___Z_2;
|
|
(&___2_bmin)->___X_1 = L_7;
|
|
// bmin.Y = va.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_va;
|
|
float L_9 = L_8.___Y_1;
|
|
(&___2_bmin)->___Y_2 = L_9;
|
|
// bmax.X = vb.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___1_vb;
|
|
float L_11 = L_10.___Z_2;
|
|
(&___3_bmax)->___X_1 = L_11;
|
|
// bmax.Y = vb.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___1_vb;
|
|
float L_13 = L_12.___Y_1;
|
|
(&___3_bmax)->___Y_2 = L_13;
|
|
return;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// bmin.X = vb.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___1_vb;
|
|
float L_15 = L_14.___Z_2;
|
|
(&___2_bmin)->___X_1 = L_15;
|
|
// bmin.Y = vb.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = ___1_vb;
|
|
float L_17 = L_16.___Y_1;
|
|
(&___2_bmin)->___Y_2 = L_17;
|
|
// bmax.X = va.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___0_va;
|
|
float L_19 = L_18.___Z_2;
|
|
(&___3_bmax)->___X_1 = L_19;
|
|
// bmax.Y = va.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = ___0_va;
|
|
float L_21 = L_20.___Y_1;
|
|
(&___3_bmax)->___Y_2 = L_21;
|
|
return;
|
|
}
|
|
|
|
IL_0081:
|
|
{
|
|
// else if (side == BoundarySide.PlusZ || side == BoundarySide.MinusZ)
|
|
uint8_t L_22 = ___4_side;
|
|
if ((((int32_t)L_22) == ((int32_t)2)))
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_23 = ___4_side;
|
|
if ((!(((uint32_t)L_23) == ((uint32_t)6))))
|
|
{
|
|
goto IL_0102;
|
|
}
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// if (va.X < vb.X)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = ___0_va;
|
|
float L_25 = L_24.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = ___1_vb;
|
|
float L_27 = L_26.___X_0;
|
|
if ((!(((float)L_25) < ((float)L_27))))
|
|
{
|
|
goto IL_00ce;
|
|
}
|
|
}
|
|
{
|
|
// bmin.X = va.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28 = ___0_va;
|
|
float L_29 = L_28.___X_0;
|
|
(&___2_bmin)->___X_1 = L_29;
|
|
// bmin.Y = va.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30 = ___0_va;
|
|
float L_31 = L_30.___Y_1;
|
|
(&___2_bmin)->___Y_2 = L_31;
|
|
// bmax.X = vb.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_32 = ___1_vb;
|
|
float L_33 = L_32.___X_0;
|
|
(&___3_bmax)->___X_1 = L_33;
|
|
// bmax.Y = vb.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = ___1_vb;
|
|
float L_35 = L_34.___Y_1;
|
|
(&___3_bmax)->___Y_2 = L_35;
|
|
return;
|
|
}
|
|
|
|
IL_00ce:
|
|
{
|
|
// bmin.X = vb.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = ___1_vb;
|
|
float L_37 = L_36.___X_0;
|
|
(&___2_bmin)->___X_1 = L_37;
|
|
// bmin.Y = vb.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_38 = ___1_vb;
|
|
float L_39 = L_38.___Y_1;
|
|
(&___2_bmin)->___Y_2 = L_39;
|
|
// bmax.X = va.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = ___0_va;
|
|
float L_41 = L_40.___X_0;
|
|
(&___3_bmax)->___X_1 = L_41;
|
|
// bmax.Y = va.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42 = ___0_va;
|
|
float L_43 = L_42.___Y_1;
|
|
(&___3_bmax)->___Y_2 = L_43;
|
|
}
|
|
|
|
IL_0102:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.TiledNavMesh::GetSlabCoord(SharpNav.Geometry.Vector3,SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TiledNavMesh_GetSlabCoord_mA1F870A96857FA1E2BD1EAA35221FD394CDCBA59 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_va, uint8_t ___1_side, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (side == BoundarySide.PlusX || side == BoundarySide.MinusX)
|
|
uint8_t L_0 = ___1_side;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_1 = ___1_side;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// return va.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_va;
|
|
float L_3 = L_2.___X_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// else if (side == BoundarySide.PlusZ || side == BoundarySide.MinusZ)
|
|
uint8_t L_4 = ___1_side;
|
|
if ((((int32_t)L_4) == ((int32_t)2)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
uint8_t L_5 = ___1_side;
|
|
if ((!(((uint32_t)L_5) == ((uint32_t)6))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// return va.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_va;
|
|
float L_7 = L_6.___Z_2;
|
|
return L_7;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// return 0;
|
|
return (0.0f);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.TiledNavMesh::OverlapSlabs(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_OverlapSlabs_mB22B31FC1944B8E543EDBA8CB1C43BB66BACFECA (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_amin, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_amax, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___2_bmin, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___3_bmax, float ___4_px, float ___5_py, 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;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
{
|
|
// float minX = Math.Max(amin.X + px, bmin.X + px);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_amin;
|
|
float L_1 = L_0.___X_1;
|
|
float L_2 = ___4_px;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___2_bmin;
|
|
float L_4 = L_3.___X_1;
|
|
float L_5 = ___4_px;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_6;
|
|
L_6 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(((float)il2cpp_codegen_add(L_1, L_2)), ((float)il2cpp_codegen_add(L_4, L_5)), NULL);
|
|
V_0 = L_6;
|
|
// float maxX = Math.Min(amax.X - px, bmax.X - px);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_7 = ___1_amax;
|
|
float L_8 = L_7.___X_1;
|
|
float L_9 = ___4_px;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___3_bmax;
|
|
float L_11 = L_10.___X_1;
|
|
float L_12 = ___4_px;
|
|
float L_13;
|
|
L_13 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(((float)il2cpp_codegen_subtract(L_8, L_9)), ((float)il2cpp_codegen_subtract(L_11, L_12)), NULL);
|
|
V_1 = L_13;
|
|
// if (minX > maxX)
|
|
float L_14 = V_0;
|
|
float L_15 = V_1;
|
|
if ((!(((float)L_14) > ((float)L_15))))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// float leftSlope = (amax.Y - amin.Y) / (amax.X - amin.X);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_16 = ___1_amax;
|
|
float L_17 = L_16.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_18 = ___0_amin;
|
|
float L_19 = L_18.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_20 = ___1_amax;
|
|
float L_21 = L_20.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_22 = ___0_amin;
|
|
float L_23 = L_22.___X_1;
|
|
V_2 = ((float)(((float)il2cpp_codegen_subtract(L_17, L_19))/((float)il2cpp_codegen_subtract(L_21, L_23))));
|
|
// float leftConstant = amin.Y - leftSlope * amin.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_24 = ___0_amin;
|
|
float L_25 = L_24.___Y_2;
|
|
float L_26 = V_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_27 = ___0_amin;
|
|
float L_28 = L_27.___X_1;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_25, ((float)il2cpp_codegen_multiply(L_26, L_28))));
|
|
// float rightSlope = (bmax.Y - bmin.Y) / (bmax.X - bmin.X);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_29 = ___3_bmax;
|
|
float L_30 = L_29.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_31 = ___2_bmin;
|
|
float L_32 = L_31.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_33 = ___3_bmax;
|
|
float L_34 = L_33.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_35 = ___2_bmin;
|
|
float L_36 = L_35.___X_1;
|
|
V_4 = ((float)(((float)il2cpp_codegen_subtract(L_30, L_32))/((float)il2cpp_codegen_subtract(L_34, L_36))));
|
|
// float rightConstant = bmin.Y - rightSlope * bmin.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_37 = ___2_bmin;
|
|
float L_38 = L_37.___Y_2;
|
|
float L_39 = V_4;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_40 = ___2_bmin;
|
|
float L_41 = L_40.___X_1;
|
|
V_5 = ((float)il2cpp_codegen_subtract(L_38, ((float)il2cpp_codegen_multiply(L_39, L_41))));
|
|
// float leftMinY = leftSlope * minX + leftConstant;
|
|
float L_42 = V_2;
|
|
float L_43 = V_0;
|
|
float L_44 = V_3;
|
|
V_6 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_42, L_43)), L_44));
|
|
// float leftMaxY = leftSlope * maxX + leftConstant;
|
|
float L_45 = V_2;
|
|
float L_46 = V_1;
|
|
float L_47 = V_3;
|
|
V_7 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_45, L_46)), L_47));
|
|
// float rightMinY = rightSlope * minX + rightConstant;
|
|
float L_48 = V_4;
|
|
float L_49 = V_0;
|
|
float L_50 = V_5;
|
|
// float rightMaxY = rightSlope * maxX + rightConstant;
|
|
float L_51 = V_4;
|
|
float L_52 = V_1;
|
|
float L_53 = V_5;
|
|
V_8 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_51, L_52)), L_53));
|
|
// float dmin = rightMinY - leftMinY;
|
|
float L_54 = V_6;
|
|
V_9 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_48, L_49)), L_50)), L_54));
|
|
// float dmax = rightMaxY - leftMaxY;
|
|
float L_55 = V_8;
|
|
float L_56 = V_7;
|
|
V_10 = ((float)il2cpp_codegen_subtract(L_55, L_56));
|
|
// if (dmin * dmax < 0)
|
|
float L_57 = V_9;
|
|
float L_58 = V_10;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_57, L_58))) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_00cc;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// float threshold = (py * 2) * (py * 2);
|
|
float L_59 = ___5_py;
|
|
float L_60 = ___5_py;
|
|
V_11 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_59, (2.0f))), ((float)il2cpp_codegen_multiply(L_60, (2.0f)))));
|
|
// if (dmin * dmin <= threshold || dmax * dmax <= threshold)
|
|
float L_61 = V_9;
|
|
float L_62 = V_9;
|
|
float L_63 = V_11;
|
|
if ((((float)((float)il2cpp_codegen_multiply(L_61, L_62))) <= ((float)L_63)))
|
|
{
|
|
goto IL_00f1;
|
|
}
|
|
}
|
|
{
|
|
float L_64 = V_10;
|
|
float L_65 = V_10;
|
|
float L_66 = V_11;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_64, L_65))) <= ((float)L_66))))
|
|
{
|
|
goto IL_00f3;
|
|
}
|
|
}
|
|
|
|
IL_00f1:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00f3:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::FindNearestPolyInTile(SharpNav.Pathfinding.MeshTile,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_FindNearestPolyInTile_mDB93C292D4CB21D1B24A28D9F2C68B70D2C5510F (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_center, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_extents, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_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_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
float V_8 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
{
|
|
// bounds.Min = center - extents;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___1_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___2_extents;
|
|
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)->___Min_0 = L_2;
|
|
// bounds.Max = center + extents;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___1_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___2_extents;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_3, L_4, NULL);
|
|
(&V_0)->___Max_1 = L_5;
|
|
// List<int> polys = new List<int>(128);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_6 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98(L_6, ((int32_t)128), List_1__ctor_m30DD6F0F8DFBA9856BF7220A3CDB1C89ECEC0D98_RuntimeMethod_var);
|
|
V_1 = L_6;
|
|
// int polyCount = QueryPolygonsInTile(tile, bounds, polys);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_7 = ___0_tile;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_8 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_9 = V_1;
|
|
int32_t L_10;
|
|
L_10 = TiledNavMesh_QueryPolygonsInTile_mF3733AB2C2702B1EAD3ED15E79228249C848B2E2(__this, L_7, L_8, L_9, NULL);
|
|
V_2 = L_10;
|
|
// int nearest = 0;
|
|
V_3 = 0;
|
|
// float nearestDistanceSqr = float.MaxValue;
|
|
V_4 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < polyCount; i++)
|
|
V_5 = 0;
|
|
goto IL_0091;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// int reference = polys[i];
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = V_1;
|
|
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);
|
|
V_6 = L_13;
|
|
// Vector3 closestPtPoly = new Vector3();
|
|
il2cpp_codegen_initobj((&V_7), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// tile.ClosestPointOnPoly(DecodePolyIdPoly(reference), center, ref closestPtPoly);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = ___0_tile;
|
|
int32_t L_15 = V_6;
|
|
int32_t L_16;
|
|
L_16 = TiledNavMesh_DecodePolyIdPoly_m86661E7FB94D2C49F2B3DB1A85891121035ECA22(__this, L_15, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = ___1_center;
|
|
NullCheck(L_14);
|
|
MeshTile_ClosestPointOnPoly_mCF58F50F45693D8B884B8E1CE4DD18F3776C2DCF(L_14, L_16, L_17, (&V_7), NULL);
|
|
// float d = (center - closestPtPoly).LengthSquared();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___1_center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = V_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20;
|
|
L_20 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_18, L_19, NULL);
|
|
V_9 = L_20;
|
|
float L_21;
|
|
L_21 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_9), NULL);
|
|
V_8 = L_21;
|
|
// if (d < nearestDistanceSqr)
|
|
float L_22 = V_8;
|
|
float L_23 = V_4;
|
|
if ((!(((float)L_22) < ((float)L_23))))
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
// nearestPt = closestPtPoly;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_24 = ___3_nearestPt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_7;
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_24 = L_25;
|
|
// nearestDistanceSqr = d;
|
|
float L_26 = V_8;
|
|
V_4 = L_26;
|
|
// nearest = reference;
|
|
int32_t L_27 = V_6;
|
|
V_3 = L_27;
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// for (int i = 0; i < polyCount; i++)
|
|
int32_t L_28 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// for (int i = 0; i < polyCount; i++)
|
|
int32_t L_29 = V_5;
|
|
int32_t L_30 = V_2;
|
|
if ((((int32_t)L_29) < ((int32_t)L_30)))
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// return nearest;
|
|
int32_t L_31 = V_3;
|
|
return L_31;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
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));
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
int32_t V_12 = 0;
|
|
Node_t7C791277DE530777708834350121D282BCF6062E V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
bool V_14 = false;
|
|
bool V_15 = false;
|
|
int32_t V_16 = 0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
int32_t V_18 = 0;
|
|
int32_t V_19 = 0;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_20 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_21;
|
|
memset((&V_21), 0, sizeof(V_21));
|
|
int32_t V_22 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
{
|
|
// if (tile.BVTree.Count != 0)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_tile;
|
|
NullCheck(L_0);
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_1;
|
|
L_1 = MeshTile_get_BVTree_mF0BCC3124AEF370311A0BFB0EA97BBE7813F5094_inline(L_0, NULL);
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = BVTree_get_Count_mD53B8B3AF69C66500D2E3327AB0C561A2818971B(L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_025c;
|
|
}
|
|
}
|
|
{
|
|
// int node = 0;
|
|
V_0 = 0;
|
|
// int end = tile.Header.BvNodeCount;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = ___0_tile;
|
|
NullCheck(L_3);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_4;
|
|
L_4 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_3, NULL);
|
|
NullCheck(L_4);
|
|
int32_t L_5 = L_4->___BvNodeCount_9;
|
|
V_1 = L_5;
|
|
// Vector3 tbmin = tile.Header.Bounds.Min;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_6 = ___0_tile;
|
|
NullCheck(L_6);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_7;
|
|
L_7 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_6, NULL);
|
|
NullCheck(L_7);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_8 = (&L_7->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = L_8->___Min_0;
|
|
V_2 = L_9;
|
|
// Vector3 tbmax = tile.Header.Bounds.Max;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = ___0_tile;
|
|
NullCheck(L_10);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_11;
|
|
L_11 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_10, NULL);
|
|
NullCheck(L_11);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_12 = (&L_11->___Bounds_15);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = L_12->___Max_1;
|
|
V_3 = L_13;
|
|
// Vector3 qbmin = qbounds.Min;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_14 = ___1_qbounds;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = L_14.___Min_0;
|
|
// Vector3 qbmax = qbounds.Max;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_16 = ___1_qbounds;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = L_16.___Max_1;
|
|
V_4 = L_17;
|
|
// float bminx = MathHelper.Clamp(qbmin.X, tbmin.X, tbmax.X) - tbmin.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = L_15;
|
|
float L_19 = L_18.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = V_2;
|
|
float L_21 = L_20.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22 = V_3;
|
|
float L_23 = L_22.___X_0;
|
|
float L_24;
|
|
L_24 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_19, L_21, L_23, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_2;
|
|
float L_26 = L_25.___X_0;
|
|
V_6 = ((float)il2cpp_codegen_subtract(L_24, L_26));
|
|
// float bminy = MathHelper.Clamp(qbmin.Y, tbmin.Y, tbmax.Y) - tbmin.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = L_18;
|
|
float L_28 = L_27.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_2;
|
|
float L_30 = L_29.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = V_3;
|
|
float L_32 = L_31.___Y_1;
|
|
float L_33;
|
|
L_33 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_28, L_30, L_32, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = V_2;
|
|
float L_35 = L_34.___Y_1;
|
|
V_7 = ((float)il2cpp_codegen_subtract(L_33, L_35));
|
|
// float bminz = MathHelper.Clamp(qbmin.Z, tbmin.Z, tbmax.Z) - tbmin.Z;
|
|
float L_36 = L_27.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_37 = V_2;
|
|
float L_38 = L_37.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39 = V_3;
|
|
float L_40 = L_39.___Z_2;
|
|
float L_41;
|
|
L_41 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_36, L_38, L_40, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42 = V_2;
|
|
float L_43 = L_42.___Z_2;
|
|
V_8 = ((float)il2cpp_codegen_subtract(L_41, L_43));
|
|
// float bmaxx = MathHelper.Clamp(qbmax.X, tbmin.X, tbmax.X) - tbmin.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_44 = V_4;
|
|
float L_45 = L_44.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_46 = V_2;
|
|
float L_47 = L_46.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_48 = V_3;
|
|
float L_49 = L_48.___X_0;
|
|
float L_50;
|
|
L_50 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_45, L_47, L_49, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_51 = V_2;
|
|
float L_52 = L_51.___X_0;
|
|
V_9 = ((float)il2cpp_codegen_subtract(L_50, L_52));
|
|
// float bmaxy = MathHelper.Clamp(qbmax.Y, tbmin.Y, tbmax.Y) - tbmin.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_53 = V_4;
|
|
float L_54 = L_53.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_55 = V_2;
|
|
float L_56 = L_55.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_57 = V_3;
|
|
float L_58 = L_57.___Y_1;
|
|
float L_59;
|
|
L_59 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_54, L_56, L_58, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_60 = V_2;
|
|
float L_61 = L_60.___Y_1;
|
|
V_10 = ((float)il2cpp_codegen_subtract(L_59, L_61));
|
|
// float bmaxz = MathHelper.Clamp(qbmax.Z, tbmin.Z, tbmax.Z) - tbmin.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_62 = V_4;
|
|
float L_63 = L_62.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_64 = V_2;
|
|
float L_65 = L_64.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_66 = V_3;
|
|
float L_67 = L_66.___Z_2;
|
|
float L_68;
|
|
L_68 = MathHelper_Clamp_m03E7983C46DF026A1CB7FDC7C4813632B9377836(L_63, L_65, L_67, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_69 = V_2;
|
|
float L_70 = L_69.___Z_2;
|
|
V_11 = ((float)il2cpp_codegen_subtract(L_68, L_70));
|
|
// b.Min.X = (int)(bminx * tile.Header.BvQuantFactor) & MinMask;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_71 = (&(&V_5)->___Min_0);
|
|
float L_72 = V_6;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_73 = ___0_tile;
|
|
NullCheck(L_73);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_74;
|
|
L_74 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_73, NULL);
|
|
NullCheck(L_74);
|
|
float L_75 = L_74->___BvQuantFactor_16;
|
|
L_71->___X_0 = ((int32_t)(il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_72, L_75)))&((int32_t)-2)));
|
|
// b.Min.Y = (int)(bminy * tile.Header.BvQuantFactor) & MinMask;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_76 = (&(&V_5)->___Min_0);
|
|
float L_77 = V_7;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_78 = ___0_tile;
|
|
NullCheck(L_78);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_79;
|
|
L_79 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_78, NULL);
|
|
NullCheck(L_79);
|
|
float L_80 = L_79->___BvQuantFactor_16;
|
|
L_76->___Y_1 = ((int32_t)(il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_77, L_80)))&((int32_t)-2)));
|
|
// b.Min.Z = (int)(bminz * tile.Header.BvQuantFactor) & MinMask;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_81 = (&(&V_5)->___Min_0);
|
|
float L_82 = V_8;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_83 = ___0_tile;
|
|
NullCheck(L_83);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_84;
|
|
L_84 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_83, NULL);
|
|
NullCheck(L_84);
|
|
float L_85 = L_84->___BvQuantFactor_16;
|
|
L_81->___Z_2 = ((int32_t)(il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_multiply(L_82, L_85)))&((int32_t)-2)));
|
|
// b.Max.X = (int)(bmaxx * tile.Header.BvQuantFactor + 1) | 1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_86 = (&(&V_5)->___Max_1);
|
|
float L_87 = V_9;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_88 = ___0_tile;
|
|
NullCheck(L_88);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_89;
|
|
L_89 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_88, NULL);
|
|
NullCheck(L_89);
|
|
float L_90 = L_89->___BvQuantFactor_16;
|
|
L_86->___X_0 = ((int32_t)(il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_87, L_90)), (1.0f))))|1));
|
|
// b.Max.Y = (int)(bmaxy * tile.Header.BvQuantFactor + 1) | 1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_91 = (&(&V_5)->___Max_1);
|
|
float L_92 = V_10;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_93 = ___0_tile;
|
|
NullCheck(L_93);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_94;
|
|
L_94 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_93, NULL);
|
|
NullCheck(L_94);
|
|
float L_95 = L_94->___BvQuantFactor_16;
|
|
L_91->___Y_1 = ((int32_t)(il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_92, L_95)), (1.0f))))|1));
|
|
// b.Max.Z = (int)(bmaxz * tile.Header.BvQuantFactor + 1) | 1;
|
|
PolyVertex_tE6D4E009A115A9E8945E1B5CA68343E0D1D1D3EA* L_96 = (&(&V_5)->___Max_1);
|
|
float L_97 = V_11;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_98 = ___0_tile;
|
|
NullCheck(L_98);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_99;
|
|
L_99 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_98, NULL);
|
|
NullCheck(L_99);
|
|
float L_100 = L_99->___BvQuantFactor_16;
|
|
L_96->___Z_2 = ((int32_t)(il2cpp_codegen_cast_double_to_int<int32_t>(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_97, L_100)), (1.0f))))|1));
|
|
// int polyBase = GetPolyRefBase(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_101 = ___0_tile;
|
|
int32_t L_102;
|
|
L_102 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(__this, L_101, NULL);
|
|
V_12 = L_102;
|
|
goto IL_0251;
|
|
}
|
|
|
|
IL_01de:
|
|
{
|
|
// BVTree.Node bvNode = tile.BVTree[node];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_103 = ___0_tile;
|
|
NullCheck(L_103);
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_104;
|
|
L_104 = MeshTile_get_BVTree_mF0BCC3124AEF370311A0BFB0EA97BBE7813F5094_inline(L_103, NULL);
|
|
int32_t L_105 = V_0;
|
|
NullCheck(L_104);
|
|
Node_t7C791277DE530777708834350121D282BCF6062E L_106;
|
|
L_106 = BVTree_get_Item_m2D2796DB9E0CE542A720839F99211158FC960AC8(L_104, L_105, NULL);
|
|
V_13 = L_106;
|
|
// bool overlap = PolyBounds.Overlapping(ref b, ref bvNode.Bounds);
|
|
PolyBounds_t61DEC672B46D7F5BFF55F179D2726047093B9261* L_107 = (&(&V_13)->___Bounds_0);
|
|
bool L_108;
|
|
L_108 = PolyBounds_Overlapping_m0385E163B1053A07714751587321C848FAE701E2((&V_5), L_107, NULL);
|
|
V_14 = L_108;
|
|
// bool isLeafNode = bvNode.Index >= 0;
|
|
Node_t7C791277DE530777708834350121D282BCF6062E L_109 = V_13;
|
|
int32_t L_110 = L_109.___Index_1;
|
|
V_15 = (bool)((((int32_t)((((int32_t)L_110) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
// if (isLeafNode && overlap)
|
|
bool L_111 = V_15;
|
|
bool L_112 = V_14;
|
|
if (!((int32_t)((int32_t)L_111&(int32_t)L_112)))
|
|
{
|
|
goto IL_0235;
|
|
}
|
|
}
|
|
{
|
|
// if (polys.Count < polys.Capacity)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_113 = ___2_polys;
|
|
NullCheck(L_113);
|
|
int32_t L_114;
|
|
L_114 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_113, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_115 = ___2_polys;
|
|
NullCheck(L_115);
|
|
int32_t L_116;
|
|
L_116 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_115, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_114) >= ((int32_t)L_116)))
|
|
{
|
|
goto IL_0235;
|
|
}
|
|
}
|
|
{
|
|
// polys.Add(GetReference(polyBase, bvNode.Index));
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_117 = ___2_polys;
|
|
int32_t L_118 = V_12;
|
|
Node_t7C791277DE530777708834350121D282BCF6062E L_119 = V_13;
|
|
int32_t L_120 = L_119.___Index_1;
|
|
int32_t L_121;
|
|
L_121 = TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07(__this, L_118, L_120, NULL);
|
|
NullCheck(L_117);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_117, L_121, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0235:
|
|
{
|
|
// if (overlap || isLeafNode)
|
|
bool L_122 = V_14;
|
|
bool L_123 = V_15;
|
|
if (!((int32_t)((int32_t)L_122|(int32_t)L_123)))
|
|
{
|
|
goto IL_0242;
|
|
}
|
|
}
|
|
{
|
|
// node++;
|
|
int32_t L_124 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_124, 1));
|
|
goto IL_0251;
|
|
}
|
|
|
|
IL_0242:
|
|
{
|
|
// int escapeIndex = -bvNode.Index;
|
|
Node_t7C791277DE530777708834350121D282BCF6062E L_125 = V_13;
|
|
int32_t L_126 = L_125.___Index_1;
|
|
V_16 = ((-L_126));
|
|
// node += escapeIndex;
|
|
int32_t L_127 = V_0;
|
|
int32_t L_128 = V_16;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_127, L_128));
|
|
}
|
|
|
|
IL_0251:
|
|
{
|
|
// while (node < end)
|
|
int32_t L_129 = V_0;
|
|
int32_t L_130 = V_1;
|
|
if ((((int32_t)L_129) < ((int32_t)L_130)))
|
|
{
|
|
goto IL_01de;
|
|
}
|
|
}
|
|
{
|
|
// return polys.Count;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_131 = ___2_polys;
|
|
NullCheck(L_131);
|
|
int32_t L_132;
|
|
L_132 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_131, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
return L_132;
|
|
}
|
|
|
|
IL_025c:
|
|
{
|
|
// int polyBase = GetPolyRefBase(tile);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_133 = ___0_tile;
|
|
int32_t L_134;
|
|
L_134 = TiledNavMesh_GetPolyRefBase_m3A06716E331753AEA267685AE081E0CCE36D870F(__this, L_133, NULL);
|
|
V_18 = L_134;
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
V_19 = 0;
|
|
goto IL_0332;
|
|
}
|
|
|
|
IL_026d:
|
|
{
|
|
// var poly = tile.Polys[i];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_135 = ___0_tile;
|
|
NullCheck(L_135);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_136;
|
|
L_136 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_135, NULL);
|
|
int32_t L_137 = V_19;
|
|
NullCheck(L_136);
|
|
int32_t L_138 = L_137;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_139 = (L_136)->GetAt(static_cast<il2cpp_array_size_t>(L_138));
|
|
V_20 = L_139;
|
|
// if (poly.PolyType == PolygonType.OffMeshConnection)
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_140 = V_20;
|
|
NullCheck(L_140);
|
|
uint8_t L_141;
|
|
L_141 = Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA_inline(L_140, NULL);
|
|
if ((((int32_t)L_141) == ((int32_t)1)))
|
|
{
|
|
goto IL_032c;
|
|
}
|
|
}
|
|
{
|
|
// b.Max = b.Min = tile.Verts[poly.Verts[0]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_142 = ___0_tile;
|
|
NullCheck(L_142);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_143;
|
|
L_143 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_142, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_144 = V_20;
|
|
NullCheck(L_144);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_145;
|
|
L_145 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_144, NULL);
|
|
NullCheck(L_145);
|
|
int32_t L_146 = 0;
|
|
int32_t L_147 = (L_145)->GetAt(static_cast<il2cpp_array_size_t>(L_146));
|
|
NullCheck(L_143);
|
|
int32_t L_148 = L_147;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_149 = (L_143)->GetAt(static_cast<il2cpp_array_size_t>(L_148));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_150 = L_149;
|
|
V_21 = L_150;
|
|
(&V_17)->___Min_0 = L_150;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_151 = V_21;
|
|
(&V_17)->___Max_1 = L_151;
|
|
// for (int j = 1; j < poly.VertCount; j++)
|
|
V_22 = 1;
|
|
goto IL_02f8;
|
|
}
|
|
|
|
IL_02b1:
|
|
{
|
|
// Vector3 v = tile.Verts[poly.Verts[j]];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_152 = ___0_tile;
|
|
NullCheck(L_152);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_153;
|
|
L_153 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(L_152, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_154 = V_20;
|
|
NullCheck(L_154);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_155;
|
|
L_155 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_154, NULL);
|
|
int32_t L_156 = V_22;
|
|
NullCheck(L_155);
|
|
int32_t L_157 = L_156;
|
|
int32_t L_158 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
NullCheck(L_153);
|
|
int32_t L_159 = L_158;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_160 = (L_153)->GetAt(static_cast<il2cpp_array_size_t>(L_159));
|
|
V_23 = L_160;
|
|
// Vector3Extensions.ComponentMin(ref b.Min, ref v, out b.Min);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_161 = (&(&V_17)->___Min_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_162 = (&(&V_17)->___Min_0);
|
|
Vector3Extensions_ComponentMin_m74282A434FB0B0FBB3EBB5C065A1B5126E806F6C(L_161, (&V_23), L_162, NULL);
|
|
// Vector3Extensions.ComponentMax(ref b.Max, ref v, out b.Max);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_163 = (&(&V_17)->___Max_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_164 = (&(&V_17)->___Max_1);
|
|
Vector3Extensions_ComponentMax_mAF445BD4FE84CE16F5F32E4D9E87BB463BC782CD(L_163, (&V_23), L_164, NULL);
|
|
// for (int j = 1; j < poly.VertCount; j++)
|
|
int32_t L_165 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_165, 1));
|
|
}
|
|
|
|
IL_02f8:
|
|
{
|
|
// for (int j = 1; j < poly.VertCount; j++)
|
|
int32_t L_166 = V_22;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_167 = V_20;
|
|
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_02b1;
|
|
}
|
|
}
|
|
{
|
|
// if (BBox3.Overlapping(ref qbounds, ref b))
|
|
bool L_169;
|
|
L_169 = BBox3_Overlapping_m6A9D5A5FCDD446D3E2B29EF0D7AEB3025F4205A9((&___1_qbounds), (&V_17), NULL);
|
|
if (!L_169)
|
|
{
|
|
goto IL_032c;
|
|
}
|
|
}
|
|
{
|
|
// if (polys.Count < polys.Capacity)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_170 = ___2_polys;
|
|
NullCheck(L_170);
|
|
int32_t L_171;
|
|
L_171 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_170, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_172 = ___2_polys;
|
|
NullCheck(L_172);
|
|
int32_t L_173;
|
|
L_173 = List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B(L_172, List_1_get_Capacity_mA974DA379C4F1ED6517289E7DAD24DD80C02822B_RuntimeMethod_var);
|
|
if ((((int32_t)L_171) >= ((int32_t)L_173)))
|
|
{
|
|
goto IL_032c;
|
|
}
|
|
}
|
|
{
|
|
// polys.Add(GetReference(polyBase, i));
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_174 = ___2_polys;
|
|
int32_t L_175 = V_18;
|
|
int32_t L_176 = V_19;
|
|
int32_t L_177;
|
|
L_177 = TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07(__this, L_175, L_176, NULL);
|
|
NullCheck(L_174);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_174, L_177, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_032c:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_178 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_178, 1));
|
|
}
|
|
|
|
IL_0332:
|
|
{
|
|
// for (int i = 0; i < tile.Header.PolyCount; i++)
|
|
int32_t L_179 = V_19;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_180 = ___0_tile;
|
|
NullCheck(L_180);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_181;
|
|
L_181 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_180, NULL);
|
|
NullCheck(L_181);
|
|
int32_t L_182 = L_181->___PolyCount_3;
|
|
if ((((int32_t)L_179) < ((int32_t)L_182)))
|
|
{
|
|
goto IL_026d;
|
|
}
|
|
}
|
|
{
|
|
// return polys.Count;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_183 = ___2_polys;
|
|
NullCheck(L_183);
|
|
int32_t L_184;
|
|
L_184 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_183, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
return L_184;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::AllocLink(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_AllocLink_m9022D5EDDEE601D2C2A383C8392130F1C6470816 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (!IsLinkAllocated(tile.LinksFreeList))
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_tile;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = MeshTile_get_LinksFreeList_m05D9E7AA0E79D4D96838CD67B354CFA0FD8D8D73_inline(L_0, NULL);
|
|
bool L_2;
|
|
L_2 = TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833(__this, L_1, NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// return Link.Null;
|
|
return (-1);
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// int link = tile.LinksFreeList;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_3 = ___0_tile;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = MeshTile_get_LinksFreeList_m05D9E7AA0E79D4D96838CD67B354CFA0FD8D8D73_inline(L_3, NULL);
|
|
V_0 = L_4;
|
|
// tile.LinksFreeList = tile.Links[link].Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = ___0_tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_6 = ___0_tile;
|
|
NullCheck(L_6);
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_7;
|
|
L_7 = MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9_inline(L_6, NULL);
|
|
int32_t L_8 = V_0;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356_inline(L_10, NULL);
|
|
NullCheck(L_5);
|
|
MeshTile_set_LinksFreeList_m559269D6AF09FC42099C7EE584549AB79D18718D_inline(L_5, L_11, NULL);
|
|
// return link;
|
|
int32_t L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::GetTileRef(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetTileRef_mAA54B0F07FBB52516960B1309B915255DB5A0D72 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_tile, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_tile;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// int it = 0;
|
|
V_0 = 0;
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (tiles[i] == tile)
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_1 = __this->___tiles_9;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = ___0_tile;
|
|
if ((!(((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_4) == ((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_5))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// it = i;
|
|
int32_t L_6 = V_1;
|
|
V_0 = L_6;
|
|
// break;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
int32_t L_7 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
int32_t L_8 = V_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_9 = __this->___tiles_9;
|
|
NullCheck(L_9);
|
|
if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// return EncodePolyId(tile.Salt, it, 0);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = ___0_tile;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline(L_10, NULL);
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13;
|
|
L_13 = TiledNavMesh_EncodePolyId_mB330DCABC8D94B0F095F6FDC39EABBE36AB81D99(__this, L_11, L_12, 0, NULL);
|
|
return L_13;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.TiledNavMesh::GetTileAt(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* TiledNavMesh_GetTileAt_mB24138CB6D80A70E0C2B7129C51D069F0DFA965D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_layer, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_1 = NULL;
|
|
{
|
|
// int h = ComputeTileHash(x, y, tileLookupTableMask);
|
|
int32_t L_0 = ___0_x;
|
|
int32_t L_1 = ___1_y;
|
|
int32_t L_2 = __this->___tileLookupTableMask_6;
|
|
int32_t L_3;
|
|
L_3 = TiledNavMesh_ComputeTileHash_mEC9A422455E3C4547CF468C3454C09FAB8FA355E(__this, L_0, L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// MeshTile tile = posLookup[h];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_4 = __this->___posLookup_7;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
V_1 = L_7;
|
|
goto IL_0055;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (tile.Header != null && tile.Header.X == x && tile.Header.Y == y && tile.Header.Layer == layer)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_8 = V_1;
|
|
NullCheck(L_8);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_9;
|
|
L_9 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = V_1;
|
|
NullCheck(L_10);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_11;
|
|
L_11 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_10, NULL);
|
|
NullCheck(L_11);
|
|
int32_t L_12 = L_11->___X_0;
|
|
int32_t L_13 = ___0_x;
|
|
if ((!(((uint32_t)L_12) == ((uint32_t)L_13))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_15;
|
|
L_15 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_14, NULL);
|
|
NullCheck(L_15);
|
|
int32_t L_16 = L_15->___Y_1;
|
|
int32_t L_17 = ___1_y;
|
|
if ((!(((uint32_t)L_16) == ((uint32_t)L_17))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_18 = V_1;
|
|
NullCheck(L_18);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_19;
|
|
L_19 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_18, NULL);
|
|
NullCheck(L_19);
|
|
int32_t L_20 = L_19->___Layer_2;
|
|
int32_t L_21 = ___2_layer;
|
|
if ((!(((uint32_t)L_20) == ((uint32_t)L_21))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// return tile;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_22 = V_1;
|
|
return L_22;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// tile = tile.Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_23 = V_1;
|
|
NullCheck(L_23);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_24;
|
|
L_24 = MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline(L_23, NULL);
|
|
V_1 = L_24;
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// while (tile != null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_25 = V_1;
|
|
if (L_25)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// return null;
|
|
return (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)NULL;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* V_2 = NULL;
|
|
{
|
|
// int n = 0;
|
|
V_0 = 0;
|
|
// int h = ComputeTileHash(x, y, tileLookupTableMask);
|
|
int32_t L_0 = ___0_x;
|
|
int32_t L_1 = ___1_y;
|
|
int32_t L_2 = __this->___tileLookupTableMask_6;
|
|
int32_t L_3;
|
|
L_3 = TiledNavMesh_ComputeTileHash_mEC9A422455E3C4547CF468C3454C09FAB8FA355E(__this, L_0, L_1, L_2, NULL);
|
|
V_1 = L_3;
|
|
// MeshTile tile = posLookup[h];
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_4 = __this->___posLookup_7;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
V_2 = L_7;
|
|
goto IL_0055;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// if (tile.Header != null && tile.Header.X == x && tile.Header.Y == y)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_8 = V_2;
|
|
NullCheck(L_8);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_9;
|
|
L_9 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = V_2;
|
|
NullCheck(L_10);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_11;
|
|
L_11 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_10, NULL);
|
|
NullCheck(L_11);
|
|
int32_t L_12 = L_11->___X_0;
|
|
int32_t L_13 = ___0_x;
|
|
if ((!(((uint32_t)L_12) == ((uint32_t)L_13))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_14 = V_2;
|
|
NullCheck(L_14);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_15;
|
|
L_15 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_14, NULL);
|
|
NullCheck(L_15);
|
|
int32_t L_16 = L_15->___Y_1;
|
|
int32_t L_17 = ___1_y;
|
|
if ((!(((uint32_t)L_16) == ((uint32_t)L_17))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// if (n < tiles.Length)
|
|
int32_t L_18 = V_0;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_19 = ___2_tiles;
|
|
NullCheck(L_19);
|
|
if ((((int32_t)L_18) >= ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// tiles[n++] = tile;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_20 = ___2_tiles;
|
|
int32_t L_21 = V_0;
|
|
int32_t L_22 = L_21;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_23 = V_2;
|
|
NullCheck(L_20);
|
|
ArrayElementTypeCheck (L_20, L_23);
|
|
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(L_22), (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_23);
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// tile = tile.Next;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_24 = V_2;
|
|
NullCheck(L_24);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_25;
|
|
L_25 = MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline(L_24, NULL);
|
|
V_2 = L_25;
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// while (tile != null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_26 = V_2;
|
|
if (L_26)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// return n;
|
|
int32_t L_27 = V_0;
|
|
return L_27;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::GetNeighbourTilesAt(System.Int32,System.Int32,SharpNav.Pathfinding.BoundarySide,SharpNav.Pathfinding.MeshTile[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetNeighbourTilesAt_mD3CD26E8E9785170B2025625474949A05753E4C8 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, uint8_t ___2_side, MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* ___3_tiles, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// int nx = x, ny = y;
|
|
int32_t L_0 = ___0_x;
|
|
V_0 = L_0;
|
|
// int nx = x, ny = y;
|
|
int32_t L_1 = ___1_y;
|
|
V_1 = L_1;
|
|
uint8_t L_2 = ___2_side;
|
|
switch (L_2)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
case 5:
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
case 6:
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
case 7:
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// nx++;
|
|
int32_t L_3 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_3, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// nx++;
|
|
int32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
// ny++;
|
|
int32_t L_5 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// ny++;
|
|
int32_t L_6 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// nx--;
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(L_7, 1));
|
|
// ny++;
|
|
int32_t L_8 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// nx--;
|
|
int32_t L_9 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(L_9, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// nx--;
|
|
int32_t L_10 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(L_10, 1));
|
|
// ny--;
|
|
int32_t L_11 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_11, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// ny--;
|
|
int32_t L_12 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_12, 1));
|
|
// break;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// nx++;
|
|
int32_t L_13 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
// ny--;
|
|
int32_t L_14 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_14, 1));
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// return GetTilesAt(nx, ny, tiles);
|
|
int32_t L_15 = V_0;
|
|
int32_t L_16 = V_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_17 = ___3_tiles;
|
|
int32_t L_18;
|
|
L_18 = TiledNavMesh_GetTilesAt_mC346933EF7F678906466E1AD61AB36203766A2B0(__this, L_15, L_16, L_17, NULL);
|
|
return L_18;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::ComputeTileHash(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_ComputeTileHash_mEC9A422455E3C4547CF468C3454C09FAB8FA355E (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_mask, const RuntimeMethod* method)
|
|
{
|
|
uint32_t V_0 = 0;
|
|
{
|
|
// uint h1 = 0x8da6b343;
|
|
// uint h2 = 0xd8163841;
|
|
V_0 = ((int32_t)-669632447);
|
|
// uint n = (uint)(h1 * x + h2 * y);
|
|
int32_t L_0 = ___0_x;
|
|
uint32_t L_1 = V_0;
|
|
int32_t L_2 = ___1_y;
|
|
// return (int)(n & mask);
|
|
int32_t L_3 = ___2_mask;
|
|
return ((int32_t)((int64_t)(((int64_t)(uint64_t)((uint32_t)((int32_t)(uint32_t)((int64_t)il2cpp_codegen_add(((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)((uint32_t)((int32_t)-1918454973))), ((int64_t)L_0))), ((int64_t)il2cpp_codegen_multiply(((int64_t)(uint64_t)L_1), ((int64_t)L_2))))))))&((int64_t)L_3))));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::GetReference(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_GetReference_m7BCFF297A2DB7A277536034A48F86EBEED48AA07 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_polyBase, int32_t ___1_poly, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return polyBase | poly;
|
|
int32_t L_0 = ___0_polyBase;
|
|
int32_t L_1 = ___1_poly;
|
|
return ((int32_t)(L_0|L_1));
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.TiledNavMesh::IsLinkAllocated(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_IsLinkAllocated_mBE8D7114EF8010D0516A3D8C501FB02B16683833 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return index != Link.Null;
|
|
int32_t L_0 = ___0_index;
|
|
return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)(-1)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.TiledNavMesh::IsExternalLink(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TiledNavMesh_IsExternalLink_m33CF96AA9F68DD1AFE9BAE11576DB771AF7E119D (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_neighbor, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (neighbor & Link.External) != 0;
|
|
int32_t L_0 = ___0_neighbor;
|
|
return (bool)((!(((uint32_t)((int32_t)(L_0&((int32_t)-2147483648LL)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (tile == null)
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_tile;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// int it = 0;
|
|
V_0 = 0;
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (tiles[i] == tile)
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_1 = __this->___tiles_9;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = ___0_tile;
|
|
if ((!(((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_4) == ((RuntimeObject*)(MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705*)L_5))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// it = i;
|
|
int32_t L_6 = V_1;
|
|
V_0 = L_6;
|
|
// break;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
int32_t L_7 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++)
|
|
int32_t L_8 = V_1;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_9 = __this->___tiles_9;
|
|
NullCheck(L_9);
|
|
if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// return EncodePolyId(tile.Salt, it, 0);
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = ___0_tile;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline(L_10, NULL);
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13;
|
|
L_13 = TiledNavMesh_EncodePolyId_mB330DCABC8D94B0F095F6FDC39EABBE36AB81D99(__this, L_11, L_12, 0, NULL);
|
|
return L_13;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// tile = null;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_0 = ___1_tile;
|
|
*((RuntimeObject**)L_0) = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_0, (void*)(RuntimeObject*)NULL);
|
|
// poly = null;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** L_1 = ___2_poly;
|
|
*((RuntimeObject**)L_1) = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)NULL);
|
|
// if (reference == 0)
|
|
int32_t L_2 = ___0_reference;
|
|
if (L_2)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_0 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_1 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_2 = 0;
|
|
// DecodePolyId(reference, ref salt, ref indexTile, ref indexPoly);
|
|
int32_t L_3 = ___0_reference;
|
|
TiledNavMesh_DecodePolyId_m40C4858A745D0EAAEB8DCF7C4D50E1F90FEB01D0(__this, L_3, (&V_0), (&V_1), (&V_2), NULL);
|
|
// if (indexTile >= maxTiles)
|
|
int32_t L_4 = V_1;
|
|
int32_t L_5 = __this->___maxTiles_4;
|
|
if ((((int32_t)L_4) < ((int32_t)L_5)))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// if (tiles[indexTile].Salt != salt || tiles[indexTile].Header == null)
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_6 = __this->___tiles_9;
|
|
int32_t L_7 = V_1;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline(L_9, NULL);
|
|
int32_t L_11 = V_0;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)L_11))))
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_12 = __this->___tiles_9;
|
|
int32_t L_13 = V_1;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
NullCheck(L_15);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_16;
|
|
L_16 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_15, NULL);
|
|
if (L_16)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// if (indexPoly >= tiles[indexTile].Header.PolyCount)
|
|
int32_t L_17 = V_2;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_18 = __this->___tiles_9;
|
|
int32_t L_19 = V_1;
|
|
NullCheck(L_18);
|
|
int32_t L_20 = L_19;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
NullCheck(L_21);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_22;
|
|
L_22 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_21, NULL);
|
|
NullCheck(L_22);
|
|
int32_t L_23 = L_22->___PolyCount_3;
|
|
if ((((int32_t)L_17) < ((int32_t)L_23)))
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// tile = tiles[indexTile];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_24 = ___1_tile;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_25 = __this->___tiles_9;
|
|
int32_t L_26 = V_1;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
*((RuntimeObject**)L_24) = (RuntimeObject*)L_28;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_24, (void*)(RuntimeObject*)L_28);
|
|
// poly = tiles[indexTile].Polys[indexPoly];
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** L_29 = ___2_poly;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_30 = __this->___tiles_9;
|
|
int32_t L_31 = V_1;
|
|
NullCheck(L_30);
|
|
int32_t L_32 = L_31;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
|
|
NullCheck(L_33);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_34;
|
|
L_34 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_33, NULL);
|
|
int32_t L_35 = V_2;
|
|
NullCheck(L_34);
|
|
int32_t L_36 = L_35;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
*((RuntimeObject**)L_29) = (RuntimeObject*)L_37;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_29, (void*)(RuntimeObject*)L_37);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_0 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_1 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_2 = 0;
|
|
// DecodePolyId(reference, ref salt, ref indexTile, ref indexPoly);
|
|
int32_t L_0 = ___0_reference;
|
|
TiledNavMesh_DecodePolyId_m40C4858A745D0EAAEB8DCF7C4D50E1F90FEB01D0(__this, L_0, (&V_0), (&V_1), (&V_2), NULL);
|
|
// tile = tiles[indexTile];
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705** L_1 = ___1_tile;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_2 = __this->___tiles_9;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
*((RuntimeObject**)L_1) = (RuntimeObject*)L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_1, (void*)(RuntimeObject*)L_5);
|
|
// poly = tiles[indexTile].Polys[indexPoly];
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E** L_6 = ___2_poly;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_7 = __this->___tiles_9;
|
|
int32_t L_8 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
NullCheck(L_10);
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_11;
|
|
L_11 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(L_10, NULL);
|
|
int32_t L_12 = V_2;
|
|
NullCheck(L_11);
|
|
int32_t L_13 = L_12;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
*((RuntimeObject**)L_6) = (RuntimeObject*)L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_6, (void*)(RuntimeObject*)L_14);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (reference == 0)
|
|
int32_t L_0 = ___0_reference;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_0 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_1 = 0;
|
|
// int salt = 0, indexTile = 0, indexPoly = 0;
|
|
V_2 = 0;
|
|
// DecodePolyId(reference, ref salt, ref indexTile, ref indexPoly);
|
|
int32_t L_1 = ___0_reference;
|
|
TiledNavMesh_DecodePolyId_m40C4858A745D0EAAEB8DCF7C4D50E1F90FEB01D0(__this, L_1, (&V_0), (&V_1), (&V_2), NULL);
|
|
// if (indexTile >= maxTiles)
|
|
int32_t L_2 = V_1;
|
|
int32_t L_3 = __this->___maxTiles_4;
|
|
if ((((int32_t)L_2) < ((int32_t)L_3)))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// if (tiles[indexTile].Salt != salt || tiles[indexTile].Header == null)
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_4 = __this->___tiles_9;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline(L_7, NULL);
|
|
int32_t L_9 = V_0;
|
|
if ((!(((uint32_t)L_8) == ((uint32_t)L_9))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_10 = __this->___tiles_9;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
NullCheck(L_13);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_14;
|
|
L_14 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_13, NULL);
|
|
if (L_14)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// if (indexPoly >= tiles[indexTile].Header.PolyCount)
|
|
int32_t L_15 = V_2;
|
|
MeshTileU5BU5D_t5DE0695A85DF13F4ED8219B80C09763EE060F2BE* L_16 = __this->___tiles_9;
|
|
int32_t L_17 = V_1;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
NullCheck(L_19);
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_20;
|
|
L_20 = MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131_inline(L_19, NULL);
|
|
NullCheck(L_20);
|
|
int32_t L_21 = L_20->___PolyCount_3;
|
|
if ((((int32_t)L_15) < ((int32_t)L_21)))
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.TiledNavMesh::DecodePolyId(System.Int32,System.Int32&,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TiledNavMesh_DecodePolyId_m40C4858A745D0EAAEB8DCF7C4D50E1F90FEB01D0 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, int32_t* ___1_salt, int32_t* ___2_indexTile, int32_t* ___3_indexPoly, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// int saltMask = (1 << saltBits) - 1;
|
|
int32_t L_0 = __this->___saltBits_10;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(1<<((int32_t)(L_0&((int32_t)31))))), 1));
|
|
// int tileMask = (1 << tileBits) - 1;
|
|
int32_t L_1 = __this->___tileBits_11;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(1<<((int32_t)(L_1&((int32_t)31))))), 1));
|
|
// int polyMask = (1 << polyBits) - 1;
|
|
int32_t L_2 = __this->___polyBits_12;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(1<<((int32_t)(L_2&((int32_t)31))))), 1));
|
|
// salt = (reference >> (polyBits + tileBits)) & saltMask;
|
|
int32_t* L_3 = ___1_salt;
|
|
int32_t L_4 = ___0_reference;
|
|
int32_t L_5 = __this->___polyBits_12;
|
|
int32_t L_6 = __this->___tileBits_11;
|
|
int32_t L_7 = V_0;
|
|
*((int32_t*)L_3) = (int32_t)((int32_t)(((int32_t)(L_4>>((int32_t)(((int32_t)il2cpp_codegen_add(L_5, L_6))&((int32_t)31)))))&L_7));
|
|
// indexTile = (reference >> polyBits) & tileMask;
|
|
int32_t* L_8 = ___2_indexTile;
|
|
int32_t L_9 = ___0_reference;
|
|
int32_t L_10 = __this->___polyBits_12;
|
|
int32_t L_11 = V_1;
|
|
*((int32_t*)L_8) = (int32_t)((int32_t)(((int32_t)(L_9>>((int32_t)(L_10&((int32_t)31)))))&L_11));
|
|
// indexPoly = reference & polyMask;
|
|
int32_t* L_12 = ___3_indexPoly;
|
|
int32_t L_13 = ___0_reference;
|
|
int32_t L_14 = V_2;
|
|
*((int32_t*)L_12) = (int32_t)((int32_t)(L_13&L_14));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::DecodePolyIdSalt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_DecodePolyIdSalt_mD1AF8302B0751A6B7D27AD3D80948374F9129A82 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int saltMask = (1 << saltBits) - 1;
|
|
int32_t L_0 = __this->___saltBits_10;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(1<<((int32_t)(L_0&((int32_t)31))))), 1));
|
|
// return (reference >> (polyBits + tileBits)) & saltMask;
|
|
int32_t L_1 = ___0_reference;
|
|
int32_t L_2 = __this->___polyBits_12;
|
|
int32_t L_3 = __this->___tileBits_11;
|
|
int32_t L_4 = V_0;
|
|
return ((int32_t)(((int32_t)(L_1>>((int32_t)(((int32_t)il2cpp_codegen_add(L_2, L_3))&((int32_t)31)))))&L_4));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::DecodePolyIdTile(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_DecodePolyIdTile_mD6CA537716063373E68B8B9B63444C0755B78F9A (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int tileMask = (1 << tileBits) - 1;
|
|
int32_t L_0 = __this->___tileBits_11;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(1<<((int32_t)(L_0&((int32_t)31))))), 1));
|
|
// return (reference >> polyBits) & tileMask;
|
|
int32_t L_1 = ___0_reference;
|
|
int32_t L_2 = __this->___polyBits_12;
|
|
int32_t L_3 = V_0;
|
|
return ((int32_t)(((int32_t)(L_1>>((int32_t)(L_2&((int32_t)31)))))&L_3));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::DecodePolyIdPoly(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_DecodePolyIdPoly_m86661E7FB94D2C49F2B3DB1A85891121035ECA22 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_reference, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int polyMask = (1 << polyBits) - 1;
|
|
int32_t L_0 = __this->___polyBits_12;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(1<<((int32_t)(L_0&((int32_t)31))))), 1));
|
|
// return reference & polyMask;
|
|
int32_t L_1 = ___0_reference;
|
|
int32_t L_2 = V_0;
|
|
return ((int32_t)(L_1&L_2));
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.TiledNavMesh::EncodePolyId(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TiledNavMesh_EncodePolyId_mB330DCABC8D94B0F095F6FDC39EABBE36AB81D99 (TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* __this, int32_t ___0_salt, int32_t ___1_indexTile, int32_t ___2_indexPoly, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (salt << (int)(polyBits + tileBits)) | (indexTile << (int)polyBits) | indexPoly;
|
|
int32_t L_0 = ___0_salt;
|
|
int32_t L_1 = __this->___polyBits_12;
|
|
int32_t L_2 = __this->___tileBits_11;
|
|
int32_t L_3 = ___1_indexTile;
|
|
int32_t L_4 = __this->___polyBits_12;
|
|
int32_t L_5 = ___2_indexPoly;
|
|
return ((int32_t)(((int32_t)(((int32_t)(L_0<<((int32_t)(((int32_t)il2cpp_codegen_add(L_1, L_2))&((int32_t)31)))))|((int32_t)(L_3<<((int32_t)(L_4&((int32_t)31)))))))|L_5));
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// tx = (int)Math.Floor((pos.X - origin.X) / tileWidth);
|
|
int32_t* L_0 = ___1_tx;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_pos;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = (&__this->___origin_1);
|
|
float L_4 = L_3->___X_0;
|
|
float L_5 = __this->___tileWidth_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_6;
|
|
L_6 = floor(((double)((float)(((float)il2cpp_codegen_subtract(L_2, L_4))/L_5))));
|
|
*((int32_t*)L_0) = (int32_t)il2cpp_codegen_cast_double_to_int<int32_t>(L_6);
|
|
// ty = (int)Math.Floor((pos.Z - origin.Z) / tileHeight);
|
|
int32_t* L_7 = ___2_ty;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___0_pos;
|
|
float L_9 = L_8->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = (&__this->___origin_1);
|
|
float L_11 = L_10->___Z_2;
|
|
float L_12 = __this->___tileHeight_3;
|
|
double L_13;
|
|
L_13 = floor(((double)((float)(((float)il2cpp_codegen_subtract(L_9, L_11))/L_12))));
|
|
*((int32_t*)L_7) = (int32_t)il2cpp_codegen_cast_double_to_int<int32_t>(L_13);
|
|
// }
|
|
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
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.BoundarySideExtensions::GetOpposite(SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t BoundarySideExtensions_GetOpposite_mDE68950F42206A09D7578ECBF9C30D5C82F2020B (uint8_t ___0_side, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (side == BoundarySide.Internal)
|
|
uint8_t L_0 = ___0_side;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)255)))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// return BoundarySide.Internal;
|
|
return (uint8_t)(((int32_t)255));
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// return (BoundarySide)((int)(side + 4) % 8);
|
|
uint8_t L_1 = ___0_side;
|
|
return (uint8_t)(((int32_t)(uint8_t)((int32_t)(((int32_t)(uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, 4)))%8))));
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.BoundarySideExtensions::FromPoint(SharpNav.Geometry.Vector3,SharpNav.Geometry.BBox3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t BoundarySideExtensions_FromPoint_m2F02F944CD97156F4F993F0273ED0D68B922D17C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pt, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___1_bounds, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t G_B2_0 = 0;
|
|
int32_t G_B1_0 = 0;
|
|
int32_t G_B3_0 = 0;
|
|
int32_t G_B3_1 = 0;
|
|
int32_t G_B5_0 = 0;
|
|
int32_t G_B4_0 = 0;
|
|
int32_t G_B6_0 = 0;
|
|
int32_t G_B6_1 = 0;
|
|
int32_t G_B8_0 = 0;
|
|
int32_t G_B7_0 = 0;
|
|
int32_t G_B9_0 = 0;
|
|
int32_t G_B9_1 = 0;
|
|
int32_t G_B11_0 = 0;
|
|
int32_t G_B10_0 = 0;
|
|
int32_t G_B12_0 = 0;
|
|
int32_t G_B12_1 = 0;
|
|
{
|
|
// int outcode = 0;
|
|
V_0 = 0;
|
|
// outcode |= (pt.X >= bounds.Max.X) ? PlusX : 0;
|
|
int32_t L_0 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_pt;
|
|
float L_2 = L_1.___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_3 = ___1_bounds;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = L_3.___Max_1;
|
|
float L_5 = L_4.___X_0;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) >= ((float)L_5)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001a;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
V_0 = ((int32_t)(G_B3_1|G_B3_0));
|
|
// outcode |= (pt.Z >= bounds.Max.Z) ? PlusZ : 0;
|
|
int32_t L_6 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___0_pt;
|
|
float L_8 = L_7.___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_9 = ___1_bounds;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = L_9.___Max_1;
|
|
float L_11 = L_10.___Z_2;
|
|
G_B4_0 = L_6;
|
|
if ((((float)L_8) >= ((float)L_11)))
|
|
{
|
|
G_B5_0 = L_6;
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
G_B6_0 = 0;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
G_B6_0 = 2;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
V_0 = ((int32_t)(G_B6_1|G_B6_0));
|
|
// outcode |= (pt.X < bounds.Min.X) ? MinusX : 0;
|
|
int32_t L_12 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___0_pt;
|
|
float L_14 = L_13.___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_15 = ___1_bounds;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = L_15.___Min_0;
|
|
float L_17 = L_16.___X_0;
|
|
G_B7_0 = L_12;
|
|
if ((((float)L_14) < ((float)L_17)))
|
|
{
|
|
G_B8_0 = L_12;
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
G_B9_0 = 0;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_004e;
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
G_B9_0 = 4;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
V_0 = ((int32_t)(G_B9_1|G_B9_0));
|
|
// outcode |= (pt.Z < bounds.Min.Z) ? MinusZ : 0;
|
|
int32_t L_18 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = ___0_pt;
|
|
float L_20 = L_19.___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_21 = ___1_bounds;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22 = L_21.___Min_0;
|
|
float L_23 = L_22.___Z_2;
|
|
G_B10_0 = L_18;
|
|
if ((((float)L_20) < ((float)L_23)))
|
|
{
|
|
G_B11_0 = L_18;
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
G_B12_0 = 0;
|
|
G_B12_1 = G_B10_0;
|
|
goto IL_0068;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
G_B12_0 = 8;
|
|
G_B12_1 = G_B11_0;
|
|
}
|
|
|
|
IL_0068:
|
|
{
|
|
V_0 = ((int32_t)(G_B12_1|G_B12_0));
|
|
int32_t L_24 = V_0;
|
|
switch (((int32_t)il2cpp_codegen_subtract(L_24, 1)))
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_00a4;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_00a6;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_00ac;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
case 5:
|
|
{
|
|
goto IL_00aa;
|
|
}
|
|
case 6:
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
case 7:
|
|
{
|
|
goto IL_00b0;
|
|
}
|
|
case 8:
|
|
{
|
|
goto IL_00b2;
|
|
}
|
|
case 9:
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
case 10:
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
case 11:
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
|
|
IL_00a4:
|
|
{
|
|
// return BoundarySide.PlusX;
|
|
return (uint8_t)(0);
|
|
}
|
|
|
|
IL_00a6:
|
|
{
|
|
// return BoundarySide.PlusXPlusZ;
|
|
return (uint8_t)(1);
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// return BoundarySide.PlusZ;
|
|
return (uint8_t)(2);
|
|
}
|
|
|
|
IL_00aa:
|
|
{
|
|
// return BoundarySide.MinusXPlusZ;
|
|
return (uint8_t)(3);
|
|
}
|
|
|
|
IL_00ac:
|
|
{
|
|
// return BoundarySide.MinusX;
|
|
return (uint8_t)(4);
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// return BoundarySide.MinusXMinusZ;
|
|
return (uint8_t)(5);
|
|
}
|
|
|
|
IL_00b0:
|
|
{
|
|
// return BoundarySide.MinusZ;
|
|
return (uint8_t)(6);
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// return BoundarySide.PlusXMinusZ;
|
|
return (uint8_t)(7);
|
|
}
|
|
|
|
IL_00b4:
|
|
{
|
|
// return BoundarySide.Internal;
|
|
return (uint8_t)(((int32_t)255));
|
|
}
|
|
}
|
|
#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.Int32 SharpNav.Pathfinding.Link::get_Reference()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Link_get_Reference_m3A7758F297AC8288585BE32A4E5EF2059CFD736A (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Reference { get; set; }
|
|
int32_t L_0 = __this->___U3CReferenceU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::set_Reference(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Reference { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CReferenceU3Ek__BackingField_2 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_Next()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Link_get_Next_mDF3F8C7F627658FD0136183613DF38CC1C869356 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Next { get; set; }
|
|
int32_t L_0 = __this->___U3CNextU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::set_Next(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Next { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CNextU3Ek__BackingField_3 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_Edge()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Link_get_Edge_m83CAC0B0BD03F8C7314D98BC290FBED0F498EC86 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Edge { get; set; }
|
|
int32_t L_0 = __this->___U3CEdgeU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::set_Edge(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Edge { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CEdgeU3Ek__BackingField_4 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.Link::get_Side()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Link_get_Side_m08FA01BEEDA56C155DAF244D6FC15682613BB594 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BoundarySide Side { get; set; }
|
|
uint8_t L_0 = __this->___U3CSideU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::set_Side(SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, uint8_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BoundarySide Side { get; set; }
|
|
uint8_t L_0 = ___0_value;
|
|
__this->___U3CSideU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_BMin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Link_get_BMin_mDDA0CD7F86CE45DCABF61903A67C43FE46EE7526 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMin { get; set; }
|
|
int32_t L_0 = __this->___U3CBMinU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::set_BMin(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMin { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CBMinU3Ek__BackingField_6 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Link::get_BMax()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Link_get_BMax_mCFB323AC24D3135A62E2EB8775A89A9B6AB2A1F0 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMax { get; set; }
|
|
int32_t L_0 = __this->___U3CBMaxU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::set_BMax(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7 (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMax { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CBMaxU3Ek__BackingField_7 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Link::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Link__ctor_m51774694836E5F206002FED6F4C37A081B283F8B (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
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.Int32 SharpNav.Pathfinding.MeshTile::get_Salt()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Salt { get; set; }
|
|
int32_t L_0 = __this->___U3CSaltU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Salt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Salt_m7456EB81089AEFB511A446DE1ABDE81A6942B97F (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Salt { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CSaltU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.MeshTile::get_LinksFreeList()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MeshTile_get_LinksFreeList_m05D9E7AA0E79D4D96838CD67B354CFA0FD8D8D73 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int LinksFreeList { get; set; }
|
|
int32_t L_0 = __this->___U3CLinksFreeListU3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_LinksFreeList(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_LinksFreeList_m559269D6AF09FC42099C7EE584549AB79D18718D (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int LinksFreeList { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CLinksFreeListU3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo SharpNav.Pathfinding.MeshTile::get_Header()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* MeshTile_get_Header_m59C57221B9D736C63AFA0EC8B5F80E269BADB131 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathfindingCommon.NavMeshInfo Header { get; set; }
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_0 = __this->___U3CHeaderU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Header(SharpNav.Pathfinding.PathfindingCommon/NavMeshInfo)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Header_m565B49C9E9A5D38EEAE203037E734CB032587F99 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathfindingCommon.NavMeshInfo Header { get; set; }
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_0 = ___0_value;
|
|
__this->___U3CHeaderU3Ek__BackingField_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CHeaderU3Ek__BackingField_2), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.Poly[] SharpNav.Pathfinding.MeshTile::get_Polys()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Poly[] Polys { get; set; }
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0 = __this->___U3CPolysU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Polys(SharpNav.Pathfinding.Poly[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Polys_m6418A6BADD4D3F1B1444B587055DDD0840F4263E (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Poly[] Polys { get; set; }
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0 = ___0_value;
|
|
__this->___U3CPolysU3Ek__BackingField_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CPolysU3Ek__BackingField_3), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Pathfinding.MeshTile::get_Verts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] Verts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___U3CVertsU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Verts(SharpNav.Geometry.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Verts_m533F049E16AE0AE4D3FC4C644648591FF39C0DAA (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] Verts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___0_value;
|
|
__this->___U3CVertsU3Ek__BackingField_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CVertsU3Ek__BackingField_4), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.Link[] SharpNav.Pathfinding.MeshTile::get_Links()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* MeshTile_get_Links_m27414805429B38EB1331AC8217B452AEE3CC11B9 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Link[] Links { get; set; }
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_0 = __this->___U3CLinksU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Links(SharpNav.Pathfinding.Link[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Links_m40DD71D8F54BE2DA1EF0E2E9F217934A2A55B145 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Link[] Links { get; set; }
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_0 = ___0_value;
|
|
__this->___U3CLinksU3Ek__BackingField_5 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CLinksU3Ek__BackingField_5), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.PolyMeshDetail/MeshData[] SharpNav.Pathfinding.MeshTile::get_DetailMeshes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.MeshData[] DetailMeshes { get; set; }
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = __this->___U3CDetailMeshesU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_DetailMeshes(SharpNav.PolyMeshDetail/MeshData[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_DetailMeshes_m3B0F63AC02DC0CBDCDC8CF8BCC0BB584E1C71B70 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.MeshData[] DetailMeshes { get; set; }
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = ___0_value;
|
|
__this->___U3CDetailMeshesU3Ek__BackingField_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDetailMeshesU3Ek__BackingField_6), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3[] SharpNav.Pathfinding.MeshTile::get_DetailVerts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] DetailVerts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___U3CDetailVertsU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_DetailVerts(SharpNav.Geometry.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_DetailVerts_m0D5118BAB3E89F8FF114C595B709134777E3A14E (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] DetailVerts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___0_value;
|
|
__this->___U3CDetailVertsU3Ek__BackingField_7 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDetailVertsU3Ek__BackingField_7), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.PolyMeshDetail/TriangleData[] SharpNav.Pathfinding.MeshTile::get_DetailTris()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* MeshTile_get_DetailTris_mB7EA05A2BE99D85445EBB42CA787964D460D31B1 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.TriangleData[] DetailTris { get; set; }
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = __this->___U3CDetailTrisU3Ek__BackingField_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_DetailTris(SharpNav.PolyMeshDetail/TriangleData[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_DetailTris_mE5EDAFF101DB29DABC32A9AEEF25A656B149DC0C (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.TriangleData[] DetailTris { get; set; }
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = ___0_value;
|
|
__this->___U3CDetailTrisU3Ek__BackingField_8 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDetailTrisU3Ek__BackingField_8), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.OffMeshConnection[] SharpNav.Pathfinding.MeshTile::get_OffMeshConnections()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnection[] OffMeshConnections { get; set; }
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_0 = __this->___U3COffMeshConnectionsU3Ek__BackingField_9;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_OffMeshConnections(SharpNav.Pathfinding.OffMeshConnection[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_OffMeshConnections_m193E1D8D3F4A0ABAB20D4F255776C144DBCA307C (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnection[] OffMeshConnections { get; set; }
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_0 = ___0_value;
|
|
__this->___U3COffMeshConnectionsU3Ek__BackingField_9 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3COffMeshConnectionsU3Ek__BackingField_9), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Collections.BVTree SharpNav.Pathfinding.MeshTile::get_BVTree()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* MeshTile_get_BVTree_mF0BCC3124AEF370311A0BFB0EA97BBE7813F5094 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BVTree BVTree { get; set; }
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_0 = __this->___U3CBVTreeU3Ek__BackingField_10;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_BVTree(SharpNav.Collections.BVTree)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_BVTree_mB6BF3F891F94BE1A4952BF33F0699D017B4B996A (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BVTree BVTree { get; set; }
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_0 = ___0_value;
|
|
__this->___U3CBVTreeU3Ek__BackingField_10 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CBVTreeU3Ek__BackingField_10), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.NavMeshBuilder SharpNav.Pathfinding.MeshTile::get_Data()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* MeshTile_get_Data_m9D72D24572EE8EDE9025BB8D2A31EFD2BE193C97 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public NavMeshBuilder Data { get; set; }
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_0 = __this->___U3CDataU3Ek__BackingField_11;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Data(SharpNav.NavMeshBuilder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Data_m991E6E92D44F357888C4E5AB75B03C9AAEE9E4A6 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public NavMeshBuilder Data { get; set; }
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_0 = ___0_value;
|
|
__this->___U3CDataU3Ek__BackingField_11 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDataU3Ek__BackingField_11), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.MeshTile SharpNav.Pathfinding.MeshTile::get_Next()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public MeshTile Next { get; set; }
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = __this->___U3CNextU3Ek__BackingField_12;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::set_Next(SharpNav.Pathfinding.MeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public MeshTile Next { get; set; }
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_value;
|
|
__this->___U3CNextU3Ek__BackingField_12 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CNextU3Ek__BackingField_12), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// int indexPoly = 0;
|
|
V_0 = 0;
|
|
// for (int i = 0; i < Polys.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// if (Polys[i] == poly)
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0;
|
|
L_0 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(__this, NULL);
|
|
int32_t L_1 = V_1;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_4 = ___0_poly;
|
|
if ((!(((RuntimeObject*)(Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)L_3) == ((RuntimeObject*)(Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E*)L_4))))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// indexPoly = i;
|
|
int32_t L_5 = V_1;
|
|
V_0 = L_5;
|
|
// break;
|
|
goto IL_0024;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// for (int i = 0; i < Polys.Length; i++)
|
|
int32_t L_6 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// for (int i = 0; i < Polys.Length; i++)
|
|
int32_t L_7 = V_1;
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_8;
|
|
L_8 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(__this, NULL);
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// ClosestPointOnPoly(indexPoly, pos, ref closest);
|
|
int32_t L_9 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___2_closest;
|
|
MeshTile_ClosestPointOnPoly_mCF58F50F45693D8B884B8E1CE4DD18F3776C2DCF(__this, L_9, L_10, L_11, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::ClosestPointOnPoly(System.Int32,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile_ClosestPointOnPoly_mCF58F50F45693D8B884B8E1CE4DD18F3776C2DCF (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_indexPoly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_closest, const RuntimeMethod* method)
|
|
{
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
{
|
|
// Poly poly = Polys[indexPoly];
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0;
|
|
L_0 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(__this, NULL);
|
|
int32_t L_1 = ___0_indexPoly;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
V_0 = L_3;
|
|
// if (Polys[indexPoly].PolyType == PolygonType.OffMeshConnection)
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_4;
|
|
L_4 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(__this, NULL);
|
|
int32_t L_5 = ___0_indexPoly;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
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_0023;
|
|
}
|
|
}
|
|
{
|
|
// ClosestPointOnPolyOffMeshConnection(poly, pos, out closest);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_9 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___2_closest;
|
|
MeshTile_ClosestPointOnPolyOffMeshConnection_m30992CEF71F93504108AAD5C0E1518EBDE7A4996(__this, L_9, L_10, L_11, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// ClosestPointOnPolyBoundary(poly, pos, out closest);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_12 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___2_closest;
|
|
MeshTile_ClosestPointOnPolyBoundary_m4D67B72E2EED036B11D0296B4D7034E5535182BA(__this, L_12, L_13, L_14, NULL);
|
|
// if (ClosestHeight(indexPoly, pos, out h))
|
|
int32_t L_15 = ___0_indexPoly;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = ___1_pos;
|
|
bool L_17;
|
|
L_17 = MeshTile_ClosestHeight_m0108A5CD3275E0211FDFFF0BF3C7A8E0D8FF63A9(__this, L_15, L_16, (&V_1), NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// closest.Y = h;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___2_closest;
|
|
float L_19 = V_1;
|
|
L_18->___Y_1 = L_19;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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;
|
|
}
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_0 = NULL;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* V_1 = NULL;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
float V_5 = 0.0f;
|
|
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));
|
|
int32_t V_9 = 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[] edgeDistance = 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;
|
|
// float[] edgeT = new float[PathfindingCommon.VERTS_PER_POLYGON];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_2 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)SZArrayNew(SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
V_2 = L_2;
|
|
// int numPolyVerts = poly.VertCount;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_3 = ___0_poly;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_3, NULL);
|
|
V_3 = L_4;
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
V_4 = 0;
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// verts[i] = Verts[poly.Verts[i]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = V_0;
|
|
int32_t L_6 = V_4;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_7;
|
|
L_7 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(__this, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_8 = ___0_poly;
|
|
NullCheck(L_8);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9;
|
|
L_9 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_8, NULL);
|
|
int32_t L_10 = V_4;
|
|
NullCheck(L_9);
|
|
int32_t L_11 = L_10;
|
|
int32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
NullCheck(L_7);
|
|
int32_t L_13 = L_12;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
NullCheck(L_5);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_14);
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_15 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_16 = V_4;
|
|
int32_t L_17 = V_3;
|
|
if ((((int32_t)L_16) < ((int32_t)L_17)))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// bool inside = Distance.PointToPolygonEdgeSquared(pos, verts, numPolyVerts, edgeDistance, edgeT);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___1_pos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_19 = V_0;
|
|
int32_t L_20 = V_3;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_21 = V_1;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_22 = V_2;
|
|
bool L_23;
|
|
L_23 = Distance_PointToPolygonEdgeSquared_mCCC1FC8F6CB38CBD32CF06F8D031ACA920A962F4(L_18, L_19, L_20, L_21, L_22, NULL);
|
|
// if (inside)
|
|
if (!L_23)
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// closest = pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_24 = ___2_closest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = ___1_pos;
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_24 = L_25;
|
|
return;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// float minDistance = float.MaxValue;
|
|
V_5 = ((std::numeric_limits<float>::max)());
|
|
// int minIndex = -1;
|
|
V_6 = (-1);
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
V_9 = 0;
|
|
goto IL_0083;
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
// if (edgeDistance[i] < minDistance)
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_26 = V_1;
|
|
int32_t L_27 = V_9;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
float L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
float L_30 = V_5;
|
|
if ((!(((float)L_29) < ((float)L_30))))
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
// minDistance = edgeDistance[i];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_31 = V_1;
|
|
int32_t L_32 = V_9;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = L_32;
|
|
float L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
V_5 = L_34;
|
|
// minIndex = i;
|
|
int32_t L_35 = V_9;
|
|
V_6 = L_35;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_36 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_36, 1));
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
// for (int i = 0; i < numPolyVerts; i++)
|
|
int32_t L_37 = V_9;
|
|
int32_t L_38 = V_3;
|
|
if ((((int32_t)L_37) < ((int32_t)L_38)))
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 va = verts[minIndex];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_39 = V_0;
|
|
int32_t L_40 = V_6;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = L_40;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
V_7 = L_42;
|
|
// Vector3 vb = verts[(minIndex + 1) % numPolyVerts];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_43 = V_0;
|
|
int32_t L_44 = V_6;
|
|
int32_t L_45 = V_3;
|
|
NullCheck(L_43);
|
|
int32_t L_46 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_44, 1))%L_45));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
|
|
V_8 = L_47;
|
|
// closest = Vector3.Lerp(va, vb, edgeT[minIndex]);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_48 = ___2_closest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_49 = V_7;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_50 = V_8;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_51 = V_2;
|
|
int32_t L_52 = V_6;
|
|
NullCheck(L_51);
|
|
int32_t L_53 = L_52;
|
|
float L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_55;
|
|
L_55 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_49, L_50, L_54, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_48 = L_55;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* V_0 = NULL;
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
{
|
|
// Poly poly = Polys[indexPoly];
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0;
|
|
L_0 = MeshTile_get_Polys_m02CD915E917BF27F36D8C94B2688AB33061D2DA5_inline(__this, NULL);
|
|
int32_t L_1 = ___0_indexPoly;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
V_0 = L_3;
|
|
// PolyMeshDetail.MeshData pd = DetailMeshes[indexPoly];
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_4;
|
|
L_4 = MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313_inline(__this, NULL);
|
|
int32_t L_5 = ___0_indexPoly;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
V_1 = L_7;
|
|
// for (int j = 0; j < DetailMeshes[indexPoly].TriangleCount; j++)
|
|
V_2 = 0;
|
|
goto IL_00d2;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// PolyMeshDetail.TriangleData t = DetailTris[pd.TriangleIndex + j];
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_8;
|
|
L_8 = MeshTile_get_DetailTris_mB7EA05A2BE99D85445EBB42CA787964D460D31B1_inline(__this, NULL);
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_9 = V_1;
|
|
int32_t L_10 = L_9.___TriangleIndex_2;
|
|
int32_t L_11 = V_2;
|
|
NullCheck(L_8);
|
|
int32_t L_12 = ((int32_t)il2cpp_codegen_add(L_10, L_11));
|
|
TriangleData_t52A982D565A5710DEB4022A5B5B9330F6B5A58F7 L_13 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
V_3 = L_13;
|
|
// Vector3[] v = new Vector3[3];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_14 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)3);
|
|
V_4 = L_14;
|
|
// for (int k = 0; k < 3; k++)
|
|
V_5 = 0;
|
|
goto IL_00a6;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// if (t[k] < poly.VertCount)
|
|
int32_t L_15 = V_5;
|
|
int32_t L_16;
|
|
L_16 = TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05((&V_3), L_15, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_17 = V_0;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_17, NULL);
|
|
if ((((int32_t)L_16) >= ((int32_t)L_18)))
|
|
{
|
|
goto IL_0075;
|
|
}
|
|
}
|
|
{
|
|
// v[k] = Verts[poly.Verts[t[k]]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_19 = V_4;
|
|
int32_t L_20 = V_5;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_21;
|
|
L_21 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(__this, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_22 = V_0;
|
|
NullCheck(L_22);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23;
|
|
L_23 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_22, NULL);
|
|
int32_t L_24 = V_5;
|
|
int32_t L_25;
|
|
L_25 = TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05((&V_3), L_24, NULL);
|
|
NullCheck(L_23);
|
|
int32_t L_26 = L_25;
|
|
int32_t L_27 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
NullCheck(L_21);
|
|
int32_t L_28 = L_27;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
NullCheck(L_19);
|
|
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(L_20), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_29);
|
|
goto IL_00a0;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// v[k] = DetailVerts[pd.VertexIndex + (t[k] - poly.VertCount)];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_30 = V_4;
|
|
int32_t L_31 = V_5;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_32;
|
|
L_32 = MeshTile_get_DetailVerts_m4262A0C6AC1BCC15AD56FD96DFA3AF64499A44C6_inline(__this, NULL);
|
|
MeshData_t93B3B1EAE7B4B943462456DB1A07C4ABB20EFDAB L_33 = V_1;
|
|
int32_t L_34 = L_33.___VertexIndex_0;
|
|
int32_t L_35 = V_5;
|
|
int32_t L_36;
|
|
L_36 = TriangleData_get_Item_mB1AC7F17ADD6BA0C4113057EB586D00E487A6E05((&V_3), L_35, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_37 = V_0;
|
|
NullCheck(L_37);
|
|
int32_t L_38;
|
|
L_38 = Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159_inline(L_37, NULL);
|
|
NullCheck(L_32);
|
|
int32_t L_39 = ((int32_t)il2cpp_codegen_add(L_34, ((int32_t)il2cpp_codegen_subtract(L_36, L_38))));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
NullCheck(L_30);
|
|
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(L_31), (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4)L_40);
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// for (int k = 0; k < 3; k++)
|
|
int32_t L_41 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_41, 1));
|
|
}
|
|
|
|
IL_00a6:
|
|
{
|
|
// for (int k = 0; k < 3; k++)
|
|
int32_t L_42 = V_5;
|
|
if ((((int32_t)L_42) < ((int32_t)3)))
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
// if (Distance.PointToTriangle(pos, v[0], v[1], v[2], out h))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_43 = ___1_pos;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_44 = V_4;
|
|
NullCheck(L_44);
|
|
int32_t L_45 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_46 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_47 = V_4;
|
|
NullCheck(L_47);
|
|
int32_t L_48 = 1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_49 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_50 = V_4;
|
|
NullCheck(L_50);
|
|
int32_t L_51 = 2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_52 = (L_50)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
|
|
float* L_53 = ___2_h;
|
|
bool L_54;
|
|
L_54 = Distance_PointToTriangle_m8AD07917E1B86AD86D685541373F9D3D46007182(L_43, L_46, L_49, L_52, L_53, NULL);
|
|
if (!L_54)
|
|
{
|
|
goto IL_00ce;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00ce:
|
|
{
|
|
// for (int j = 0; j < DetailMeshes[indexPoly].TriangleCount; j++)
|
|
int32_t L_55 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_00d2:
|
|
{
|
|
// for (int j = 0; j < DetailMeshes[indexPoly].TriangleCount; j++)
|
|
int32_t L_56 = V_2;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_57;
|
|
L_57 = MeshTile_get_DetailMeshes_m505FE2CF5103CCE7F31E4F4B8DB774F21FBEC313_inline(__this, NULL);
|
|
int32_t L_58 = ___0_indexPoly;
|
|
NullCheck(L_57);
|
|
int32_t L_59 = ((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_58)))->___TriangleCount_3;
|
|
if ((((int32_t)L_56) < ((int32_t)L_59)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// h = float.MaxValue;
|
|
float* L_60 = ___2_h;
|
|
*((float*)L_60) = (float)((std::numeric_limits<float>::max)());
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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));
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// Vector3 v0 = Verts[poly.Verts[0]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0;
|
|
L_0 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(__this, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_1 = ___0_poly;
|
|
NullCheck(L_1);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2;
|
|
L_2 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_1, NULL);
|
|
NullCheck(L_2);
|
|
int32_t L_3 = 0;
|
|
int32_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
NullCheck(L_0);
|
|
int32_t L_5 = L_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
V_0 = L_6;
|
|
// Vector3 v1 = Verts[poly.Verts[1]];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_7;
|
|
L_7 = MeshTile_get_Verts_m58EE3B69BCC1DCF475808A022BAF08BDA2B24DEC_inline(__this, NULL);
|
|
Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* L_8 = ___0_poly;
|
|
NullCheck(L_8);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9;
|
|
L_9 = Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000_inline(L_8, NULL);
|
|
NullCheck(L_9);
|
|
int32_t L_10 = 1;
|
|
int32_t L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
NullCheck(L_7);
|
|
int32_t L_12 = L_11;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
V_1 = L_13;
|
|
// float d0 = (pos - v0).Length();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16;
|
|
L_16 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_14, L_15, NULL);
|
|
V_4 = L_16;
|
|
float L_17;
|
|
L_17 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_4), NULL);
|
|
// float d1 = (pos - v1).Length();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___1_pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20;
|
|
L_20 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_18, L_19, NULL);
|
|
V_4 = L_20;
|
|
float L_21;
|
|
L_21 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_4), NULL);
|
|
V_2 = L_21;
|
|
// float u = d0 / (d0 + d1);
|
|
float L_22 = L_17;
|
|
float L_23 = V_2;
|
|
V_3 = ((float)(L_22/((float)il2cpp_codegen_add(L_22, L_23))));
|
|
// closest = Vector3.Lerp(v0, v1, u);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_24 = ___2_closest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = V_1;
|
|
float L_27 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28;
|
|
L_28 = Vector3_Lerp_mE57EF586BB402839132A257D50B7935352A72134(L_25, L_26, L_27, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_24 = L_28;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.MeshTile::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshTile__ctor_m089A9244276FE1F18600AA08A4B0427723604608 (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
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.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)
|
|
{
|
|
{
|
|
// this.Polygon = poly;
|
|
int32_t L_0 = ___0_poly;
|
|
__this->___Polygon_1 = L_0;
|
|
// this.Position = pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_pos;
|
|
__this->___Position_2 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0_AdjustorThunk (RuntimeObject* __this, int32_t ___0_poly, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, const RuntimeMethod* method)
|
|
{
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364*>(__this + _offset);
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0(_thisAdjusted, ___0_poly, ___1_pos, method);
|
|
}
|
|
// System.Void SharpNav.Pathfinding.NavPoint::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavPoint__cctor_mB00666F7097F2B9638122D10B345CFF1A81EA857 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
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;
|
|
}
|
|
{
|
|
// public static readonly NavPoint Null = new NavPoint(0, Vector3.Zero);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___Zero_6;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0((&L_1), 0, L_0, /*hidden argument*/NULL);
|
|
((NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_StaticFields*)il2cpp_codegen_static_fields_for(NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364_il2cpp_TypeInfo_var))->___Null_0 = L_1;
|
|
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
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.OffMeshConnection::get_Pos0()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 OffMeshConnection_get_Pos0_mDA7968E73F0CDF830560A8A6586BD1140BD72DE2 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Pos0 { get; set; }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___U3CPos0U3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Pos0(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Pos0_m6BF1788B51B06BB06846EBCD091FEC903F858487 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Pos0 { get; set; }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
__this->___U3CPos0U3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Pathfinding.OffMeshConnection::get_Pos1()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 OffMeshConnection_get_Pos1_m2DB4368C858878A28033160710AA94356438375E (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Pos1 { get; set; }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___U3CPos1U3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Pos1(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Pos1_mACAB0122BE6C266BEC7D10269489361C20910305 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Pos1 { get; set; }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
__this->___U3CPos1U3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Pathfinding.OffMeshConnection::get_Radius()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float Radius { get; set; }
|
|
float L_0 = __this->___U3CRadiusU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Radius(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Radius_m7FA64E70581833AF99CA9382E6245C24861FF31D (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float Radius { get; set; }
|
|
float L_0 = ___0_value;
|
|
__this->___U3CRadiusU3Ek__BackingField_2 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.OffMeshConnection::get_Poly()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Poly { get; set; }
|
|
int32_t L_0 = __this->___U3CPolyU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Poly(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Poly_mC79B4A27A79F4E2C2402065548364F1FDC910757 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Poly { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CPolyU3Ek__BackingField_3 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.OffMeshConnectionFlags SharpNav.Pathfinding.OffMeshConnection::get_Flags()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t OffMeshConnection_get_Flags_m01EB461FB11075226D79DE4CBF24AC0393F3B2F3 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnectionFlags Flags { get; set; }
|
|
uint8_t L_0 = __this->___U3CFlagsU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Flags(SharpNav.Pathfinding.OffMeshConnectionFlags)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Flags_m6E86FBA1010C8F62ECAB2E998B242012D1099F2B (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, uint8_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnectionFlags Flags { get; set; }
|
|
uint8_t L_0 = ___0_value;
|
|
__this->___U3CFlagsU3Ek__BackingField_4 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.BoundarySide SharpNav.Pathfinding.OffMeshConnection::get_Side()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t OffMeshConnection_get_Side_m687D62165751425B9AC8FBB3C453B133C8A0CBA2 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BoundarySide Side { get; set; }
|
|
uint8_t L_0 = __this->___U3CSideU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Side(SharpNav.Pathfinding.BoundarySide)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Side_m40839670CA732EBCAB9CD652AA9D5D6F823A058D (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, uint8_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BoundarySide Side { get; set; }
|
|
uint8_t L_0 = ___0_value;
|
|
__this->___U3CSideU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Object SharpNav.Pathfinding.OffMeshConnection::get_Tag()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* OffMeshConnection_get_Tag_m722B0F3DDC673FF1E4C1333B1787DF2CF4B54512 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public object Tag { get; set; }
|
|
RuntimeObject* L_0 = __this->___U3CTagU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::set_Tag(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection_set_Tag_m05D66C46B1441BC20A38A186F23A60E44F3EB3C7 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, RuntimeObject* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public object Tag { get; set; }
|
|
RuntimeObject* L_0 = ___0_value;
|
|
__this->___U3CTagU3Ek__BackingField_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CTagU3Ek__BackingField_6), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.OffMeshConnection::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OffMeshConnection__ctor_mF22D1F872CF52C5247131C4AF82FCD31FB5A0A96 (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
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.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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_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;
|
|
int32_t V_5 = 0;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
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;
|
|
{
|
|
// float areaSum = 0.0f;
|
|
V_0 = (0.0f);
|
|
// for (int i = 2; i < npts; i++)
|
|
V_13 = 2;
|
|
goto IL_0044;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// Triangle3.Area2D(ref pts[0], ref pts[i - 1], ref pts[i], out area);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___0_pts;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = ___0_pts;
|
|
int32_t L_2 = V_13;
|
|
NullCheck(L_1);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_3 = ___0_pts;
|
|
int32_t L_4 = V_13;
|
|
NullCheck(L_3);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D(((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_2, 1))))), ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4))), (&V_1), NULL);
|
|
// areaSum += Math.Max(0.001f, area);
|
|
float L_5 = V_0;
|
|
float L_6 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_7;
|
|
L_7 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA((0.00100000005f), L_6, NULL);
|
|
V_0 = ((float)il2cpp_codegen_add(L_5, L_7));
|
|
// areas[i] = area;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_8 = ___2_areas;
|
|
int32_t L_9 = V_13;
|
|
float L_10 = V_1;
|
|
NullCheck(L_8);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (float)L_10);
|
|
// for (int i = 2; i < npts; i++)
|
|
int32_t L_11 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// for (int i = 2; i < npts; i++)
|
|
int32_t L_12 = V_13;
|
|
int32_t L_13 = ___1_npts;
|
|
if ((((int32_t)L_12) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// float threshold = s * areaSum;
|
|
float L_14 = ___3_s;
|
|
float L_15 = V_0;
|
|
V_2 = ((float)il2cpp_codegen_multiply(L_14, L_15));
|
|
// float accumulatedArea = 0.0f;
|
|
V_3 = (0.0f);
|
|
// float u = 0.0f;
|
|
V_4 = (0.0f);
|
|
// int triangleVertex = 0;
|
|
V_5 = 0;
|
|
// for (int i = 2; i < npts; i++)
|
|
V_14 = 2;
|
|
goto IL_008c;
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// float currentArea = areas[i];
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_16 = ___2_areas;
|
|
int32_t L_17 = V_14;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
float L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
V_15 = L_19;
|
|
// if (threshold >= accumulatedArea && threshold < (accumulatedArea + currentArea))
|
|
float L_20 = V_2;
|
|
float L_21 = V_3;
|
|
if ((!(((float)L_20) >= ((float)L_21))))
|
|
{
|
|
goto IL_0081;
|
|
}
|
|
}
|
|
{
|
|
float L_22 = V_2;
|
|
float L_23 = V_3;
|
|
float L_24 = V_15;
|
|
if ((!(((float)L_22) < ((float)((float)il2cpp_codegen_add(L_23, L_24))))))
|
|
{
|
|
goto IL_0081;
|
|
}
|
|
}
|
|
{
|
|
// u = (threshold - accumulatedArea) / currentArea;
|
|
float L_25 = V_2;
|
|
float L_26 = V_3;
|
|
float L_27 = V_15;
|
|
V_4 = ((float)(((float)il2cpp_codegen_subtract(L_25, L_26))/L_27));
|
|
// triangleVertex = i;
|
|
int32_t L_28 = V_14;
|
|
V_5 = L_28;
|
|
// break;
|
|
goto IL_0091;
|
|
}
|
|
|
|
IL_0081:
|
|
{
|
|
// accumulatedArea += currentArea;
|
|
float L_29 = V_3;
|
|
float L_30 = V_15;
|
|
V_3 = ((float)il2cpp_codegen_add(L_29, L_30));
|
|
// for (int i = 2; i < npts; i++)
|
|
int32_t L_31 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
}
|
|
|
|
IL_008c:
|
|
{
|
|
// for (int i = 2; i < npts; i++)
|
|
int32_t L_32 = V_14;
|
|
int32_t L_33 = ___1_npts;
|
|
if ((((int32_t)L_32) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// float v = (float)Math.Sqrt(t);
|
|
float L_34 = ___4_t;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_35;
|
|
L_35 = sqrt(((double)L_34));
|
|
V_6 = ((float)L_35);
|
|
// float a = 1 - v;
|
|
float L_36 = V_6;
|
|
V_7 = ((float)il2cpp_codegen_subtract((1.0f), L_36));
|
|
// float b = (1 - u) * v;
|
|
float L_37 = V_4;
|
|
float L_38 = V_6;
|
|
V_8 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_37)), L_38));
|
|
// float c = u * v;
|
|
float L_39 = V_4;
|
|
float L_40 = V_6;
|
|
V_9 = ((float)il2cpp_codegen_multiply(L_39, L_40));
|
|
// Vector3 pointA = pts[0];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_41 = ___0_pts;
|
|
NullCheck(L_41);
|
|
int32_t L_42 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_43 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
|
|
V_10 = L_43;
|
|
// Vector3 pointB = pts[triangleVertex - 1];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_44 = ___0_pts;
|
|
int32_t L_45 = V_5;
|
|
NullCheck(L_44);
|
|
int32_t L_46 = ((int32_t)il2cpp_codegen_subtract(L_45, 1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
|
|
V_11 = L_47;
|
|
// Vector3 pointC = pts[triangleVertex];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_48 = ___0_pts;
|
|
int32_t L_49 = V_5;
|
|
NullCheck(L_48);
|
|
int32_t L_50 = L_49;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_51 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
|
|
V_12 = L_51;
|
|
// pt = a * pointA + b * pointB + c * pointC;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_52 = ___5_pt;
|
|
float L_53 = V_7;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_54 = V_10;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_55;
|
|
L_55 = Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE(L_53, L_54, NULL);
|
|
float L_56 = V_8;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_57 = V_11;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58;
|
|
L_58 = Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE(L_56, L_57, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_59;
|
|
L_59 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_55, L_58, NULL);
|
|
float L_60 = V_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_61 = V_12;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_62;
|
|
L_62 = Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE(L_60, L_61, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_63;
|
|
L_63 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_59, L_62, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_52 = L_63;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.PathfindingCommon::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathfindingCommon__ctor_m9B72CA3DF737F3BA0CD40C063358CBBE9641DB91 (PathfindingCommon_t53A8646E5E8202EF1642F78A8187D810238A3166* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
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.Pathfinding.PathfindingCommon/NavMeshInfo::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavMeshInfo__ctor_m273F6C7E1EB354A709BCC4EF753DAC383620615B (NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
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.Int32 SharpNav.Pathfinding.Poly::get_FirstLink()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Poly_get_FirstLink_m72E8D84EBC1E7952C5F51C2B3A4B3F19531C85E8 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int FirstLink { get; set; }
|
|
int32_t L_0 = __this->___U3CFirstLinkU3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_FirstLink(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int FirstLink { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CFirstLinkU3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32[] SharpNav.Pathfinding.Poly::get_Verts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Poly_get_Verts_m0C3D65847A75BD3D5D99760CABBB31F02C3D8000 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int[] Verts { get; set; }
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___U3CVertsU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_Verts(System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_Verts_m668154568580A706A1C2F56FBEC9A4BA5D9FB667 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int[] Verts { get; set; }
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___0_value;
|
|
__this->___U3CVertsU3Ek__BackingField_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CVertsU3Ek__BackingField_2), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32[] SharpNav.Pathfinding.Poly::get_Neis()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Poly_get_Neis_m999364FD5EF609B5DDC4F8A78EC3ACBB1DB411F9 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int[] Neis { get; set; }
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___U3CNeisU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_Neis(System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_Neis_mBDB804B1932263A2EFBCB04F0E5111A09085E1EB (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int[] Neis { get; set; }
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___0_value;
|
|
__this->___U3CNeisU3Ek__BackingField_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CNeisU3Ek__BackingField_3), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Poly::get_Flags()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Poly_get_Flags_m2CEF2A0D61D8BFB90964B3AC4693FEDBFCB0DFFB (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Flags { get; set; }
|
|
int32_t L_0 = __this->___U3CFlagsU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_Flags(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_Flags_mA483E3A78BF5BC2CE92B2EBC4E2FAC5CED9E5BFA (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Flags { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CFlagsU3Ek__BackingField_4 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Pathfinding.Poly::get_VertCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Poly_get_VertCount_m4A450D850DD3A5DB062B44A7646A28C89438A159 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int VertCount { get; set; }
|
|
int32_t L_0 = __this->___U3CVertCountU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_VertCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_VertCount_mCB288C8E0FE8CC580F57C401E7525E1A007C76AD (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int VertCount { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CVertCountU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Area SharpNav.Pathfinding.Poly::get_Area()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Area_t9E8E008D1CF28697728310B3039944F3C2777E47 Poly_get_Area_m76E86CA64BCA6789358D39A854C2A328F2B398AB (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Area Area { get; set; }
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = __this->___U3CAreaU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_Area(SharpNav.Area)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_Area_m27F8853B5EB86FFBE7F5E73EEA801ACD065D4D4B (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, Area_t9E8E008D1CF28697728310B3039944F3C2777E47 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Area Area { get; set; }
|
|
Area_t9E8E008D1CF28697728310B3039944F3C2777E47 L_0 = ___0_value;
|
|
__this->___U3CAreaU3Ek__BackingField_6 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Pathfinding.PolygonType SharpNav.Pathfinding.Poly::get_PolyType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Poly_get_PolyType_mA3654DBAD1FF66C213F3C85EED65ECB5866A4EAA (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return polyType;
|
|
uint8_t L_0 = __this->___polyType_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::set_PolyType(SharpNav.Pathfinding.PolygonType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly_set_PolyType_m3ED9F3CA3087B7C9AEBEE98C78795B9BAF85F980 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, uint8_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// polyType = value;
|
|
uint8_t L_0 = ___0_value;
|
|
__this->___polyType_0 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Pathfinding.Poly::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Poly__ctor_mF60D1F4CB3991E25C7A43C63E18D832BE675E0A2 (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
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.Geometry.BBox2i::.ctor(SharpNav.Geometry.Vector2i,SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBox2i__ctor_mF368A9811BB365844A5FD12EE47AB2A57C992974 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_min, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___1_max, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Min = min;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_0 = ___0_min;
|
|
__this->___Min_0 = L_0;
|
|
// Max = max;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_1 = ___1_max;
|
|
__this->___Max_1 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void BBox2i__ctor_mF368A9811BB365844A5FD12EE47AB2A57C992974_AdjustorThunk (RuntimeObject* __this, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_min, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___1_max, const RuntimeMethod* method)
|
|
{
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945*>(__this + _offset);
|
|
BBox2i__ctor_mF368A9811BB365844A5FD12EE47AB2A57C992974(_thisAdjusted, ___0_min, ___1_max, 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)
|
|
{
|
|
{
|
|
// Min.X = minX;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_0 = (&__this->___Min_0);
|
|
int32_t L_1 = ___0_minX;
|
|
L_0->___X_3 = L_1;
|
|
// Min.Y = minY;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_2 = (&__this->___Min_0);
|
|
int32_t L_3 = ___1_minY;
|
|
L_2->___Y_4 = L_3;
|
|
// Max.X = maxX;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_4 = (&__this->___Max_1);
|
|
int32_t L_5 = ___2_maxX;
|
|
L_4->___X_3 = L_5;
|
|
// Max.Y = maxY;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_6 = (&__this->___Max_1);
|
|
int32_t L_7 = ___3_maxY;
|
|
L_6->___Y_4 = L_7;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void BBox2i__ctor_m6A387BDE3B1C895622DF621A35B19888048395A7_AdjustorThunk (RuntimeObject* __this, int32_t ___0_minX, int32_t ___1_minY, int32_t ___2_maxX, int32_t ___3_maxY, const RuntimeMethod* method)
|
|
{
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945*>(__this + _offset);
|
|
BBox2i__ctor_m6A387BDE3B1C895622DF621A35B19888048395A7(_thisAdjusted, ___0_minX, ___1_minY, ___2_maxX, ___3_maxY, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox2i::op_Equality(SharpNav.Geometry.BBox2i,SharpNav.Geometry.BBox2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_op_Equality_m02214D23F77C43EDEBBE9AD97AD9F59941CE9C21 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___0_left, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = BBox2i_Equals_m98F9EA407F9701935A86A9199154C882E49F9737((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox2i::op_Inequality(SharpNav.Geometry.BBox2i,SharpNav.Geometry.BBox2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_op_Inequality_m8794B7DEA58A5F49F8AA007FF3BAEFE9A496749F (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___0_left, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !(left == right);
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_0 = ___0_left;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_1 = ___1_right;
|
|
bool L_2;
|
|
L_2 = BBox2i_op_Equality_m02214D23F77C43EDEBBE9AD97AD9F59941CE9C21(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.String SharpNav.Geometry.BBox2i::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BBox2i_ToString_mA74312365ECABEE5B7334C40CFE82B30E2953C5B (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __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*)&_stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "{ Min: " + Min.ToString() + ", Max: " + 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, _stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_3 = (&__this->___Min_0);
|
|
String_t* L_4;
|
|
L_4 = Vector2i_ToString_m21EBD3202FD4CE47B65ABB08E005CD3DF00F7758(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, _stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = L_5;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_7 = (&__this->___Max_1);
|
|
String_t* L_8;
|
|
L_8 = Vector2i_ToString_m21EBD3202FD4CE47B65ABB08E005CD3DF00F7758(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, _stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
String_t* L_10;
|
|
L_10 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_9, NULL);
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* BBox2i_ToString_mA74312365ECABEE5B7334C40CFE82B30E2953C5B_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = BBox2i_ToString_mA74312365ECABEE5B7334C40CFE82B30E2953C5B(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.Geometry.BBox2i::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBox2i_GetHashCode_m477A9FE73F142912E6D0C06903237072180CD2A8 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Min.GetHashCode() ^ Max.GetHashCode();
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_0 = (&__this->___Min_0);
|
|
int32_t L_1;
|
|
L_1 = Vector2i_GetHashCode_m23ED08EED7425664614183535362084BCB93077D(L_0, NULL);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* L_2 = (&__this->___Max_1);
|
|
int32_t L_3;
|
|
L_3 = Vector2i_GetHashCode_m23ED08EED7425664614183535362084BCB93077D(L_2, NULL);
|
|
return ((int32_t)(L_1^L_3));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t BBox2i_GetHashCode_m477A9FE73F142912E6D0C06903237072180CD2A8_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = BBox2i_GetHashCode_m477A9FE73F142912E6D0C06903237072180CD2A8(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox2i::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_Equals_m12A5862663FE89B74DAA27E9B27BEAF27280FF79 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __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_mA8FC8101F848C3E289CC133680BE254FEB942E56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void* L_1 = alloca(sizeof(Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57));
|
|
Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// BBox2i? objV = obj as BBox2i?;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_0, Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57_il2cpp_TypeInfo_var)), Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57_il2cpp_TypeInfo_var, L_1);
|
|
V_0 = ((*(Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57*)((Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57*)(Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57*)L_1)));
|
|
// if (objV != null)
|
|
bool L_2;
|
|
L_2 = Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_inline((&V_0), Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(objV);
|
|
Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57 L_3 = V_0;
|
|
Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57 L_4 = L_3;
|
|
RuntimeObject* L_5 = Box(Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57_il2cpp_TypeInfo_var, &L_4);
|
|
bool L_6;
|
|
L_6 = BBox2i_Equals_m12A5862663FE89B74DAA27E9B27BEAF27280FF79(__this, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool BBox2i_Equals_m12A5862663FE89B74DAA27E9B27BEAF27280FF79_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = BBox2i_Equals_m12A5862663FE89B74DAA27E9B27BEAF27280FF79(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox2i::Equals(SharpNav.Geometry.BBox2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox2i_Equals_m98F9EA407F9701935A86A9199154C882E49F9737 (BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* __this, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return Min == other.Min && Max == other.Max;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_0 = __this->___Min_0;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_1 = ___0_other;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_2 = L_1.___Min_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Vector2i_op_Equality_mDE95656FD3721D05D5EF1F2356C705C2DBD9477E(L_0, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_4 = __this->___Max_1;
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 L_5 = ___0_other;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_6 = L_5.___Max_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Vector2i_op_Equality_mDE95656FD3721D05D5EF1F2356C705C2DBD9477E(L_4, L_6, NULL);
|
|
return L_7;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool BBox2i_Equals_m98F9EA407F9701935A86A9199154C882E49F9737_AdjustorThunk (RuntimeObject* __this, BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox2i_tBB934FADB79EE62248C03C30C9B8759BFBD23945*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = BBox2i_Equals_m98F9EA407F9701935A86A9199154C882E49F9737(_thisAdjusted, ___0_other, 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.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)
|
|
{
|
|
{
|
|
// Min = min;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_min;
|
|
__this->___Min_0 = L_0;
|
|
// Max = max;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_max;
|
|
__this->___Max_1 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void BBox3__ctor_m67BCA5F0DB7313A7AFBFF35F2EF6B73B3B09CF8B_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_min, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_max, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
BBox3__ctor_m67BCA5F0DB7313A7AFBFF35F2EF6B73B3B09CF8B(_thisAdjusted, ___0_min, ___1_max, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.BBox3::.ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBox3__ctor_m4BEFA5F06F5381252A7FE203EC8129F8ED0E2355 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, float ___0_minX, float ___1_minY, float ___2_minZ, float ___3_maxX, float ___4_maxY, float ___5_maxZ, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Min.X = minX;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___Min_0);
|
|
float L_1 = ___0_minX;
|
|
L_0->___X_0 = L_1;
|
|
// Min.Y = minY;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = (&__this->___Min_0);
|
|
float L_3 = ___1_minY;
|
|
L_2->___Y_1 = L_3;
|
|
// Min.Z = minZ;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = (&__this->___Min_0);
|
|
float L_5 = ___2_minZ;
|
|
L_4->___Z_2 = L_5;
|
|
// Max.X = maxX;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = (&__this->___Max_1);
|
|
float L_7 = ___3_maxX;
|
|
L_6->___X_0 = L_7;
|
|
// Max.Y = maxY;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = (&__this->___Max_1);
|
|
float L_9 = ___4_maxY;
|
|
L_8->___Y_1 = L_9;
|
|
// Max.Z = maxZ;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = (&__this->___Max_1);
|
|
float L_11 = ___5_maxZ;
|
|
L_10->___Z_2 = L_11;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void BBox3__ctor_m4BEFA5F06F5381252A7FE203EC8129F8ED0E2355_AdjustorThunk (RuntimeObject* __this, float ___0_minX, float ___1_minY, float ___2_minZ, float ___3_maxX, float ___4_maxY, float ___5_maxZ, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
BBox3__ctor_m4BEFA5F06F5381252A7FE203EC8129F8ED0E2355(_thisAdjusted, ___0_minX, ___1_minY, ___2_minZ, ___3_maxX, ___4_maxY, ___5_maxZ, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.BBox3::get_Center()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 BBox3_get_Center_mA91DA5F96947A24B6A2F622A28ACB9AC20EB5658 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, 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;
|
|
}
|
|
{
|
|
// return (Min + Max) / 2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___Min_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = __this->___Max_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
L_2 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_0, L_1, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
L_3 = Vector3_op_Division_m5465263174E47C63AF8713E2B5BBD6956A4F9970(L_2, (2.0f), NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 BBox3_get_Center_mA91DA5F96947A24B6A2F622A28ACB9AC20EB5658_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = BBox3_get_Center_mA91DA5F96947A24B6A2F622A28ACB9AC20EB5658(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.BBox3::get_Size()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 BBox3_get_Size_m59570A93B983801AC72CE2E6CBA7BA0BEA4854FF (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, 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;
|
|
}
|
|
{
|
|
// return Max - Min;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___Max_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = __this->___Min_0;
|
|
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);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 BBox3_get_Size_m59570A93B983801AC72CE2E6CBA7BA0BEA4854FF_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = BBox3_get_Size_m59570A93B983801AC72CE2E6CBA7BA0BEA4854FF(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox3::Overlapping(SharpNav.Geometry.BBox3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_Overlapping_m6A9D5A5FCDD446D3E2B29EF0D7AEB3025F4205A9 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___0_a, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___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);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_0 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&L_0->___Min_0);
|
|
float L_2 = L_1->___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_3 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = (&L_3->___Max_1);
|
|
float L_5 = L_4->___X_0;
|
|
if ((((float)L_2) > ((float)L_5)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_6 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = (&L_6->___Max_1);
|
|
float L_8 = L_7->___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_9 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = (&L_9->___Min_0);
|
|
float L_11 = L_10->___X_0;
|
|
if ((((float)L_8) < ((float)L_11)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_12 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = (&L_12->___Min_0);
|
|
float L_14 = L_13->___Y_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_15 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = (&L_15->___Max_1);
|
|
float L_17 = L_16->___Y_1;
|
|
if ((((float)L_14) > ((float)L_17)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_18 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = (&L_18->___Max_1);
|
|
float L_20 = L_19->___Y_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_21 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_22 = (&L_21->___Min_0);
|
|
float L_23 = L_22->___Y_1;
|
|
if ((((float)L_20) < ((float)L_23)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_24 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = (&L_24->___Min_0);
|
|
float L_26 = L_25->___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_27 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_28 = (&L_27->___Max_1);
|
|
float L_29 = L_28->___Z_2;
|
|
if ((((float)L_26) > ((float)L_29)))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_30 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_31 = (&L_30->___Max_1);
|
|
float L_32 = L_31->___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_33 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_34 = (&L_33->___Min_0);
|
|
float L_35 = L_34->___Z_2;
|
|
return (bool)((((int32_t)((((float)L_32) < ((float)L_35))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox3::IsValid(SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_IsValid_m091CCEE5C4A7D657A90D64CA8762090E3EE93A56 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___0_b, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (float.IsNaN(b.Min.X) ||
|
|
// float.IsNaN(b.Min.Y) ||
|
|
// float.IsNaN(b.Min.Z) ||
|
|
// float.IsNaN(b.Max.X) ||
|
|
// float.IsNaN(b.Max.Y) ||
|
|
// float.IsNaN(b.Max.Z))
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_0 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&L_0->___Min_0);
|
|
float L_2 = L_1->___X_0;
|
|
bool L_3;
|
|
L_3 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_4 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = (&L_4->___Min_0);
|
|
float L_6 = L_5->___Y_1;
|
|
bool L_7;
|
|
L_7 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_8 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = (&L_8->___Min_0);
|
|
float L_10 = L_9->___Z_2;
|
|
bool L_11;
|
|
L_11 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_10, NULL);
|
|
if (L_11)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_12 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = (&L_12->___Max_1);
|
|
float L_14 = L_13->___X_0;
|
|
bool L_15;
|
|
L_15 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_14, NULL);
|
|
if (L_15)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_16 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_17 = (&L_16->___Max_1);
|
|
float L_18 = L_17->___Y_1;
|
|
bool L_19;
|
|
L_19 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_18, NULL);
|
|
if (L_19)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_20 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_21 = (&L_20->___Max_1);
|
|
float L_22 = L_21->___Z_2;
|
|
bool L_23;
|
|
L_23 = Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline(L_22, NULL);
|
|
if (!L_23)
|
|
{
|
|
goto IL_006e;
|
|
}
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// if (b.Min.X > b.Max.X ||
|
|
// b.Min.Y > b.Max.Y ||
|
|
// b.Min.Z > b.Max.Z)
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_24 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = (&L_24->___Min_0);
|
|
float L_26 = L_25->___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_27 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_28 = (&L_27->___Max_1);
|
|
float L_29 = L_28->___X_0;
|
|
if ((((float)L_26) > ((float)L_29)))
|
|
{
|
|
goto IL_00b6;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_30 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_31 = (&L_30->___Min_0);
|
|
float L_32 = L_31->___Y_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_33 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_34 = (&L_33->___Max_1);
|
|
float L_35 = L_34->___Y_1;
|
|
if ((((float)L_32) > ((float)L_35)))
|
|
{
|
|
goto IL_00b6;
|
|
}
|
|
}
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_36 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_37 = (&L_36->___Min_0);
|
|
float L_38 = L_37->___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_39 = ___0_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_40 = (&L_39->___Max_1);
|
|
float L_41 = L_40->___Z_2;
|
|
if ((!(((float)L_38) > ((float)L_41))))
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
|
|
IL_00b6:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox3::op_Equality(SharpNav.Geometry.BBox3,SharpNav.Geometry.BBox3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_op_Equality_mD54F4126187D60019C1B87B408932ABA5A99EADB (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___0_left, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = BBox3_Equals_m4E66E0C2D76286E5627FE795A7D90DBD8E54B4F0((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox3::op_Inequality(SharpNav.Geometry.BBox3,SharpNav.Geometry.BBox3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_op_Inequality_m2B9247007303C4ED017FF4F668DF596A66C3C593 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___0_left, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !(left == right);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_0 = ___0_left;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_1 = ___1_right;
|
|
bool L_2;
|
|
L_2 = BBox3_op_Equality_mD54F4126187D60019C1B87B408932ABA5A99EADB(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox3::Equals(SharpNav.Geometry.BBox3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_Equals_m4E66E0C2D76286E5627FE795A7D90DBD8E54B4F0 (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___0_other, 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;
|
|
}
|
|
{
|
|
// return Min == other.Min && Max == other.Max;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___Min_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_1 = ___0_other;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = L_1.___Min_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Vector3_op_Equality_m41A1B32923C878889867DD904C6615F8218B4BCC(L_0, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = __this->___Max_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_5 = ___0_other;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = L_5.___Max_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Vector3_op_Equality_m41A1B32923C878889867DD904C6615F8218B4BCC(L_4, L_6, NULL);
|
|
return L_7;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool BBox3_Equals_m4E66E0C2D76286E5627FE795A7D90DBD8E54B4F0_AdjustorThunk (RuntimeObject* __this, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C ___0_other, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = BBox3_Equals_m4E66E0C2D76286E5627FE795A7D90DBD8E54B4F0(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.BBox3::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BBox3_Equals_mA3C3ECFD9711CB55C9D6A0194AB1BCED3D14DE9F (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (obj is BBox3)
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
if (!((RuntimeObject*)IsInstSealed((RuntimeObject*)L_0, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C_il2cpp_TypeInfo_var)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals((BBox3)obj);
|
|
RuntimeObject* L_1 = ___0_obj;
|
|
bool L_2;
|
|
L_2 = BBox3_Equals_m4E66E0C2D76286E5627FE795A7D90DBD8E54B4F0(__this, ((*(BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*)((BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*)(BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*)UnBox(L_1, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C_il2cpp_TypeInfo_var)))), NULL);
|
|
return L_2;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool BBox3_Equals_mA3C3ECFD9711CB55C9D6A0194AB1BCED3D14DE9F_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = BBox3_Equals_mA3C3ECFD9711CB55C9D6A0194AB1BCED3D14DE9F(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.Geometry.BBox3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BBox3_GetHashCode_m7B4758F6EF8A0B6A618A982CD9C2885C7C3B3D3A (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Min.GetHashCode() ^ Max.GetHashCode();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___Min_0);
|
|
int32_t L_1;
|
|
L_1 = Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4(L_0, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = (&__this->___Max_1);
|
|
int32_t L_3;
|
|
L_3 = Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4(L_2, NULL);
|
|
return ((int32_t)(L_1^L_3));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t BBox3_GetHashCode_m7B4758F6EF8A0B6A618A982CD9C2885C7C3B3D3A_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = BBox3_GetHashCode_m7B4758F6EF8A0B6A618A982CD9C2885C7C3B3D3A(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String SharpNav.Geometry.BBox3::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BBox3_ToString_mB1D874DC926131C5C68E03C43EE69D7CCFAAA6AF (BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* __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*)&_stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "{ Min: " + Min.ToString() + ", Max: " + 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, _stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral41B35635888714F4FBFFB47DBD7CA7EA5333CF09);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = (&__this->___Min_0);
|
|
String_t* L_4;
|
|
L_4 = Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739(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, _stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral971D8CCA1E59E86F7DAC0278B81823BEFD79018E);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = L_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = (&__this->___Max_1);
|
|
String_t* L_8;
|
|
L_8 = Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739(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, _stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
String_t* L_10;
|
|
L_10 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_9, NULL);
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* BBox3_ToString_mB1D874DC926131C5C68E03C43EE69D7CCFAAA6AF_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = BBox3_ToString_mB1D874DC926131C5C68E03C43EE69D7CCFAAA6AF(_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.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)
|
|
{
|
|
bool V_0 = false;
|
|
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));
|
|
{
|
|
// bool c = false;
|
|
V_0 = (bool)0;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
V_1 = 0;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_0 = ___2_nverts;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
|
|
goto IL_007f;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// Vector3 vi = verts[i];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = ___1_verts;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
V_3 = L_4;
|
|
// Vector3 vj = verts[j];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = ___1_verts;
|
|
int32_t L_6 = V_2;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_4 = L_8;
|
|
// if (((vi.Z > pt.Z) != (vj.Z > pt.Z)) &&
|
|
// (pt.X < (vj.X - vi.X) * (pt.Z - vi.Z) / (vj.Z - vi.Z) + vi.X))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = V_3;
|
|
float L_10 = L_9.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = ___0_pt;
|
|
float L_12 = L_11.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = V_4;
|
|
float L_14 = L_13.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___0_pt;
|
|
float L_16 = L_15.___Z_2;
|
|
if ((((int32_t)((((float)L_10) > ((float)L_12))? 1 : 0)) == ((int32_t)((((float)L_14) > ((float)L_16))? 1 : 0))))
|
|
{
|
|
goto IL_0079;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = ___0_pt;
|
|
float L_18 = L_17.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = V_4;
|
|
float L_20 = L_19.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = V_3;
|
|
float L_22 = L_21.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = ___0_pt;
|
|
float L_24 = L_23.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_3;
|
|
float L_26 = L_25.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = V_4;
|
|
float L_28 = L_27.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_3;
|
|
float L_30 = L_29.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = V_3;
|
|
float L_32 = L_31.___X_0;
|
|
if ((!(((float)L_18) < ((float)((float)il2cpp_codegen_add(((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_20, L_22)), ((float)il2cpp_codegen_subtract(L_24, L_26))))/((float)il2cpp_codegen_subtract(L_28, L_30)))), L_32))))))
|
|
{
|
|
goto IL_0079;
|
|
}
|
|
}
|
|
{
|
|
// c = !c;
|
|
bool L_33 = V_0;
|
|
V_0 = (bool)((((int32_t)L_33) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0079:
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_34 = V_1;
|
|
int32_t L_35 = L_34;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_35, 1));
|
|
V_2 = L_35;
|
|
}
|
|
|
|
IL_007f:
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_36 = V_1;
|
|
int32_t L_37 = ___2_nverts;
|
|
if ((((int32_t)L_36) < ((int32_t)L_37)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return c;
|
|
bool L_38 = V_0;
|
|
return L_38;
|
|
}
|
|
}
|
|
#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.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)
|
|
{
|
|
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));
|
|
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;
|
|
{
|
|
// Vector3 pq = q - p;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_q;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_p;
|
|
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;
|
|
// float dx = pt.X - p.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_pt;
|
|
float L_6 = L_5->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_p;
|
|
float L_8 = L_7->___X_0;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_6, L_8));
|
|
// float dy = pt.Y - p.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_pt;
|
|
float L_10 = L_9->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_p;
|
|
float L_12 = L_11->___Y_1;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_10, L_12));
|
|
// float dz = pt.Z - p.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = ___0_pt;
|
|
float L_14 = L_13->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_15 = ___1_p;
|
|
float L_16 = L_15->___Z_2;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_14, L_16));
|
|
// float segmentMagnitudeSquared = pq.LengthSquared();
|
|
float L_17;
|
|
L_17 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_0), NULL);
|
|
V_4 = L_17;
|
|
// float t = pq.X * dx + pq.Y * dy + pq.Z * dz;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = V_0;
|
|
float L_19 = L_18.___X_0;
|
|
float L_20 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = V_0;
|
|
float L_22 = L_21.___Y_1;
|
|
float L_23 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = V_0;
|
|
float L_25 = L_24.___Z_2;
|
|
float L_26 = V_3;
|
|
V_5 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_19, L_20)), ((float)il2cpp_codegen_multiply(L_22, L_23)))), ((float)il2cpp_codegen_multiply(L_25, L_26))));
|
|
// if (segmentMagnitudeSquared > 0)
|
|
float L_27 = V_4;
|
|
if ((!(((float)L_27) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0071;
|
|
}
|
|
}
|
|
{
|
|
// t /= segmentMagnitudeSquared;
|
|
float L_28 = V_5;
|
|
float L_29 = V_4;
|
|
V_5 = ((float)(L_28/L_29));
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// if (t < 0)
|
|
float L_30 = V_5;
|
|
if ((!(((float)L_30) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
{
|
|
// t = 0;
|
|
V_5 = (0.0f);
|
|
goto IL_0093;
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
// else if (t > 1)
|
|
float L_31 = V_5;
|
|
if ((!(((float)L_31) > ((float)(1.0f)))))
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
// t = 1;
|
|
V_5 = (1.0f);
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
// dx = p.X + t * pq.X - pt.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_32 = ___1_p;
|
|
float L_33 = L_32->___X_0;
|
|
float L_34 = V_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35 = V_0;
|
|
float L_36 = L_35.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_37 = ___0_pt;
|
|
float L_38 = L_37->___X_0;
|
|
V_1 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_33, ((float)il2cpp_codegen_multiply(L_34, L_36)))), L_38));
|
|
// dy = p.Y + t * pq.Y - pt.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_39 = ___1_p;
|
|
float L_40 = L_39->___Y_1;
|
|
float L_41 = V_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42 = V_0;
|
|
float L_43 = L_42.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_44 = ___0_pt;
|
|
float L_45 = L_44->___Y_1;
|
|
V_2 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_40, ((float)il2cpp_codegen_multiply(L_41, L_43)))), L_45));
|
|
// dz = p.Z + t * pq.Z - pt.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_46 = ___1_p;
|
|
float L_47 = L_46->___Z_2;
|
|
float L_48 = V_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_49 = V_0;
|
|
float L_50 = L_49.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_51 = ___0_pt;
|
|
float L_52 = L_51->___Z_2;
|
|
V_3 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_47, ((float)il2cpp_codegen_multiply(L_48, L_50)))), L_52));
|
|
// return dx * dx + dy * dy + dz * dz;
|
|
float L_53 = V_1;
|
|
float L_54 = V_1;
|
|
float L_55 = V_2;
|
|
float L_56 = V_2;
|
|
float L_57 = V_3;
|
|
float L_58 = V_3;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_53, L_54)), ((float)il2cpp_codegen_multiply(L_55, L_56)))), ((float)il2cpp_codegen_multiply(L_57, L_58))));
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Distance::PointToSegment2DSquared(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToSegment2DSquared_mB8C1FF2C667A70D392BABED6DD617979548AA2C6 (int32_t ___0_x, int32_t ___1_z, int32_t ___2_px, int32_t ___3_pz, int32_t ___4_qx, int32_t ___5_qz, const RuntimeMethod* method)
|
|
{
|
|
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;
|
|
{
|
|
// float segmentDeltaX = qx - px;
|
|
int32_t L_0 = ___4_qx;
|
|
int32_t L_1 = ___2_px;
|
|
V_0 = ((float)((int32_t)il2cpp_codegen_subtract(L_0, L_1)));
|
|
// float segmentDeltaZ = qz - pz;
|
|
int32_t L_2 = ___5_qz;
|
|
int32_t L_3 = ___3_pz;
|
|
V_1 = ((float)((int32_t)il2cpp_codegen_subtract(L_2, L_3)));
|
|
// float dx = x - px;
|
|
int32_t L_4 = ___0_x;
|
|
int32_t L_5 = ___2_px;
|
|
V_2 = ((float)((int32_t)il2cpp_codegen_subtract(L_4, L_5)));
|
|
// float dz = z - pz;
|
|
int32_t L_6 = ___1_z;
|
|
int32_t L_7 = ___3_pz;
|
|
V_3 = ((float)((int32_t)il2cpp_codegen_subtract(L_6, L_7)));
|
|
// float segmentMagnitudeSquared = segmentDeltaX * segmentDeltaX + segmentDeltaZ * segmentDeltaZ;
|
|
float L_8 = V_0;
|
|
float L_9 = V_0;
|
|
float L_10 = V_1;
|
|
float L_11 = V_1;
|
|
V_4 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_8, L_9)), ((float)il2cpp_codegen_multiply(L_10, L_11))));
|
|
// float t = segmentDeltaX * dx + segmentDeltaZ * dz;
|
|
float L_12 = V_0;
|
|
float L_13 = V_2;
|
|
float L_14 = V_1;
|
|
float L_15 = V_3;
|
|
V_5 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15))));
|
|
// if (segmentMagnitudeSquared > 0)
|
|
float L_16 = V_4;
|
|
if ((!(((float)L_16) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
// t /= segmentMagnitudeSquared;
|
|
float L_17 = V_5;
|
|
float L_18 = V_4;
|
|
V_5 = ((float)(L_17/L_18));
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// if (t < 0)
|
|
float L_19 = V_5;
|
|
if ((!(((float)L_19) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// t = 0;
|
|
V_5 = (0.0f);
|
|
goto IL_005a;
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// else if (t > 1)
|
|
float L_20 = V_5;
|
|
if ((!(((float)L_20) > ((float)(1.0f)))))
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
// t = 1;
|
|
V_5 = (1.0f);
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
// dx = px + t * segmentDeltaX - x;
|
|
int32_t L_21 = ___2_px;
|
|
float L_22 = V_5;
|
|
float L_23 = V_0;
|
|
int32_t L_24 = ___0_x;
|
|
V_2 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)L_21), ((float)il2cpp_codegen_multiply(L_22, L_23)))), ((float)L_24)));
|
|
// dz = pz + t * segmentDeltaZ - z;
|
|
int32_t L_25 = ___3_pz;
|
|
float L_26 = V_5;
|
|
float L_27 = V_1;
|
|
int32_t L_28 = ___1_z;
|
|
V_3 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)L_25), ((float)il2cpp_codegen_multiply(L_26, L_27)))), ((float)L_28)));
|
|
// return dx * dx + dz * dz;
|
|
float L_29 = V_2;
|
|
float L_30 = V_2;
|
|
float L_31 = V_3;
|
|
float L_32 = V_3;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_29, L_30)), ((float)il2cpp_codegen_multiply(L_31, L_32))));
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float t = 0;
|
|
V_0 = (0.0f);
|
|
// return PointToSegment2DSquared(ref pt, ref p, ref q, out t);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_pt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___1_p;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___2_q;
|
|
float L_3;
|
|
L_3 = Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B(L_0, L_1, L_2, (&V_0), NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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 segmentDeltaX = q.X - p.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_q;
|
|
float L_1 = L_0->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_p;
|
|
float L_3 = L_2->___X_0;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
// float segmentDeltaZ = q.Z - p.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___2_q;
|
|
float L_5 = L_4->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___1_p;
|
|
float L_7 = L_6->___Z_2;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
// float dx = pt.X - p.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___0_pt;
|
|
float L_9 = L_8->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___1_p;
|
|
float L_11 = L_10->___X_0;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
// float dz = pt.Z - p.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___0_pt;
|
|
float L_13 = L_12->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___1_p;
|
|
float L_15 = L_14->___Z_2;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_13, L_15));
|
|
// float segmentMagnitudeSquared = segmentDeltaX * segmentDeltaX + segmentDeltaZ * segmentDeltaZ;
|
|
float L_16 = V_0;
|
|
float L_17 = V_0;
|
|
float L_18 = V_1;
|
|
float L_19 = V_1;
|
|
V_4 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_16, L_17)), ((float)il2cpp_codegen_multiply(L_18, L_19))));
|
|
// t = segmentDeltaX * dx + segmentDeltaZ * dz;
|
|
float* L_20 = ___3_t;
|
|
float L_21 = V_0;
|
|
float L_22 = V_2;
|
|
float L_23 = V_1;
|
|
float L_24 = V_3;
|
|
*((float*)L_20) = (float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_21, L_22)), ((float)il2cpp_codegen_multiply(L_23, L_24))));
|
|
// if (segmentMagnitudeSquared > 0)
|
|
float L_25 = V_4;
|
|
if ((!(((float)L_25) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
// t /= segmentMagnitudeSquared;
|
|
float* L_26 = ___3_t;
|
|
float* L_27 = ___3_t;
|
|
float L_28 = *((float*)L_27);
|
|
float L_29 = V_4;
|
|
*((float*)L_26) = (float)((float)(L_28/L_29));
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
// if (t < 0)
|
|
float* L_30 = ___3_t;
|
|
float L_31 = *((float*)L_30);
|
|
if ((!(((float)L_31) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// t = 0;
|
|
float* L_32 = ___3_t;
|
|
*((float*)L_32) = (float)(0.0f);
|
|
goto IL_007c;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// else if (t > 1)
|
|
float* L_33 = ___3_t;
|
|
float L_34 = *((float*)L_33);
|
|
if ((!(((float)L_34) > ((float)(1.0f)))))
|
|
{
|
|
goto IL_007c;
|
|
}
|
|
}
|
|
{
|
|
// t = 1;
|
|
float* L_35 = ___3_t;
|
|
*((float*)L_35) = (float)(1.0f);
|
|
}
|
|
|
|
IL_007c:
|
|
{
|
|
// dx = p.X + t * segmentDeltaX - pt.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_36 = ___1_p;
|
|
float L_37 = L_36->___X_0;
|
|
float* L_38 = ___3_t;
|
|
float L_39 = *((float*)L_38);
|
|
float L_40 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_41 = ___0_pt;
|
|
float L_42 = L_41->___X_0;
|
|
V_2 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_37, ((float)il2cpp_codegen_multiply(L_39, L_40)))), L_42));
|
|
// dz = p.Z + t * segmentDeltaZ - pt.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_43 = ___1_p;
|
|
float L_44 = L_43->___Z_2;
|
|
float* L_45 = ___3_t;
|
|
float L_46 = *((float*)L_45);
|
|
float L_47 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_48 = ___0_pt;
|
|
float L_49 = L_48->___Z_2;
|
|
V_3 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_44, ((float)il2cpp_codegen_multiply(L_46, L_47)))), L_49));
|
|
// return dx * dx + dz * dz;
|
|
float L_50 = V_2;
|
|
float L_51 = V_2;
|
|
float L_52 = V_3;
|
|
float L_53 = V_3;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_50, L_51)), ((float)il2cpp_codegen_multiply(L_52, L_53))));
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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;
|
|
bool V_1 = false;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// float dmin = float.MaxValue;
|
|
V_0 = ((std::numeric_limits<float>::max)());
|
|
// bool c = false;
|
|
V_1 = (bool)0;
|
|
// for (int i = 0, j = vertCount - 1; i < vertCount; j = i++)
|
|
V_2 = 0;
|
|
// for (int i = 0, j = vertCount - 1; i < vertCount; j = i++)
|
|
int32_t L_0 = ___2_vertCount;
|
|
V_3 = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
|
|
goto IL_00a0;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// Vector3 vi = verts[i];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = ___1_verts;
|
|
int32_t L_2 = V_2;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
V_4 = L_4;
|
|
// Vector3 vj = verts[j];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = ___1_verts;
|
|
int32_t L_6 = V_3;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_5 = L_8;
|
|
// if (((vi.Z > point.Z) != (vj.Z > point.Z)) && (point.X < (vj.X - vi.X) * (point.Z - vi.Z) / (vj.Z - vi.Z) + vi.X))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = V_4;
|
|
float L_10 = L_9.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = ___0_point;
|
|
float L_12 = L_11.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = V_5;
|
|
float L_14 = L_13.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___0_point;
|
|
float L_16 = L_15.___Z_2;
|
|
if ((((int32_t)((((float)L_10) > ((float)L_12))? 1 : 0)) == ((int32_t)((((float)L_14) > ((float)L_16))? 1 : 0))))
|
|
{
|
|
goto IL_0088;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = ___0_point;
|
|
float L_18 = L_17.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = V_5;
|
|
float L_20 = L_19.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = V_4;
|
|
float L_22 = L_21.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = ___0_point;
|
|
float L_24 = L_23.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_4;
|
|
float L_26 = L_25.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = V_5;
|
|
float L_28 = L_27.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_4;
|
|
float L_30 = L_29.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = V_4;
|
|
float L_32 = L_31.___X_0;
|
|
if ((!(((float)L_18) < ((float)((float)il2cpp_codegen_add(((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_20, L_22)), ((float)il2cpp_codegen_subtract(L_24, L_26))))/((float)il2cpp_codegen_subtract(L_28, L_30)))), L_32))))))
|
|
{
|
|
goto IL_0088;
|
|
}
|
|
}
|
|
{
|
|
// c = !c;
|
|
bool L_33 = V_1;
|
|
V_1 = (bool)((((int32_t)L_33) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
// dmin = Math.Min(dmin, Distance.PointToSegment2DSquared(ref point, ref vj, ref vi));
|
|
float L_34 = V_0;
|
|
float L_35;
|
|
L_35 = Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106((&___0_point), (&V_5), (&V_4), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_36;
|
|
L_36 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_34, L_35, NULL);
|
|
V_0 = L_36;
|
|
// for (int i = 0, j = vertCount - 1; i < vertCount; j = i++)
|
|
int32_t L_37 = V_2;
|
|
int32_t L_38 = L_37;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
V_3 = L_38;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// for (int i = 0, j = vertCount - 1; i < vertCount; j = i++)
|
|
int32_t L_39 = V_2;
|
|
int32_t L_40 = ___2_vertCount;
|
|
if ((((int32_t)L_39) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// return c ? -dmin : dmin;
|
|
bool L_41 = V_1;
|
|
if (L_41)
|
|
{
|
|
goto IL_00ac;
|
|
}
|
|
}
|
|
{
|
|
float L_42 = V_0;
|
|
return L_42;
|
|
}
|
|
|
|
IL_00ac:
|
|
{
|
|
float L_43 = V_0;
|
|
return ((-L_43));
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Distance::PointToPolygonEdgeSquared(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Distance_PointToPolygonEdgeSquared_m684BBC1259B6329EBAC3F5ACEBFBD59704C49E47 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pt, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___1_verts, int32_t ___2_nverts, 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;
|
|
{
|
|
// float dmin = float.MaxValue;
|
|
V_0 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
V_1 = 0;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_0 = ___2_nverts;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// dmin = Math.Min(dmin, Distance.PointToSegment2DSquared(ref pt, ref verts[j], ref verts[i]));
|
|
float L_1 = V_0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = ___1_verts;
|
|
int32_t L_3 = V_2;
|
|
NullCheck(L_2);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_4 = ___1_verts;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
float L_6;
|
|
L_6 = Distance_PointToSegment2DSquared_m5C92CCE72CF68693B2BD813E9BDC9DFC4561D106((&___0_pt), ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3))), ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5))), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_7;
|
|
L_7 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_1, L_6, NULL);
|
|
V_0 = L_7;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_8 = V_1;
|
|
int32_t L_9 = L_8;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
V_2 = L_9;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_10 = V_1;
|
|
int32_t L_11 = ___2_nverts;
|
|
if ((((int32_t)L_10) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// return Containment.PointInPoly(pt, verts, nverts) ? -dmin : dmin;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___0_pt;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_13 = ___1_verts;
|
|
int32_t L_14 = ___2_nverts;
|
|
bool L_15;
|
|
L_15 = Containment_PointInPoly_mA430368D59AEB06B4770937D51F8102D66E85CB3(L_12, L_13, L_14, NULL);
|
|
if (L_15)
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
float L_16 = V_0;
|
|
return L_16;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
float L_17 = V_0;
|
|
return ((-L_17));
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
V_0 = 0;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_0 = ___2_nverts;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
|
|
goto IL_002e;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// edgeDist[j] = PointToSegment2DSquared(ref pt, ref verts[j], ref verts[i], out edgeT[j]);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1 = ___3_edgeDist;
|
|
int32_t L_2 = V_1;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_3 = ___1_verts;
|
|
int32_t L_4 = V_1;
|
|
NullCheck(L_3);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = ___1_verts;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_7 = ___4_edgeT;
|
|
int32_t L_8 = V_1;
|
|
NullCheck(L_7);
|
|
float L_9;
|
|
L_9 = Distance_PointToSegment2DSquared_m416A3422A16FDA5885556C3DBF13C1B06A377B3B((&___0_pt), ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4))), ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6))), ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8))), NULL);
|
|
NullCheck(L_1);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(L_2), (float)L_9);
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_10 = V_0;
|
|
int32_t L_11 = L_10;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
V_1 = L_11;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13 = ___2_nverts;
|
|
if ((((int32_t)L_12) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
// return Containment.PointInPoly(pt, verts, nverts);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___0_pt;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_15 = ___1_verts;
|
|
int32_t L_16 = ___2_nverts;
|
|
bool L_17;
|
|
L_17 = Containment_PointInPoly_mA430368D59AEB06B4770937D51F8102D66E85CB3(L_14, L_15, L_16, NULL);
|
|
return L_17;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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;
|
|
{
|
|
// if (PointToTriangle(p, a, b, c, out h))
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_p;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___2_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___3_c;
|
|
bool L_4;
|
|
L_4 = Distance_PointToTriangle_m8AD07917E1B86AD86D685541373F9D3D46007182(L_0, L_1, L_2, L_3, (&V_0), NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// return Math.Abs(h - p.Y);
|
|
float L_5 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_p;
|
|
float L_7 = L_6.___Y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_8;
|
|
L_8 = fabsf(((float)il2cpp_codegen_subtract(L_5, L_7)));
|
|
return L_8;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// return float.MaxValue;
|
|
return ((std::numeric_limits<float>::max)());
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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));
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
float V_10 = 0.0f;
|
|
{
|
|
// Vector3 v0 = c - a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___3_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_a;
|
|
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;
|
|
// Vector3 v1 = b - a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___2_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_3, L_4, NULL);
|
|
V_1 = L_5;
|
|
// Vector3 v2 = p - a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_p;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___1_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8;
|
|
L_8 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_6, L_7, NULL);
|
|
V_2 = L_8;
|
|
// Vector3Extensions.Dot2D(ref v0, ref v0, out dot00);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&V_0), (&V_0), (&V_3), NULL);
|
|
// Vector3Extensions.Dot2D(ref v0, ref v1, out dot01);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&V_0), (&V_1), (&V_4), NULL);
|
|
// Vector3Extensions.Dot2D(ref v0, ref v2, out dot02);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&V_0), (&V_2), (&V_5), NULL);
|
|
// Vector3Extensions.Dot2D(ref v1, ref v1, out dot11);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&V_1), (&V_1), (&V_6), NULL);
|
|
// Vector3Extensions.Dot2D(ref v1, ref v2, out dot12);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&V_1), (&V_2), (&V_7), NULL);
|
|
// float invDenom = 1.0f / (dot00 * dot11 - dot01 * dot01);
|
|
float L_9 = V_3;
|
|
float L_10 = V_6;
|
|
float L_11 = V_4;
|
|
float L_12 = V_4;
|
|
V_8 = ((float)((1.0f)/((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_9, L_10)), ((float)il2cpp_codegen_multiply(L_11, L_12))))));
|
|
// float u = (dot11 * dot02 - dot01 * dot12) * invDenom;
|
|
float L_13 = V_6;
|
|
float L_14 = V_5;
|
|
float L_15 = V_4;
|
|
float L_16 = V_7;
|
|
float L_17 = V_8;
|
|
V_9 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_13, L_14)), ((float)il2cpp_codegen_multiply(L_15, L_16)))), L_17));
|
|
// float v = (dot00 * dot12 - dot01 * dot02) * invDenom;
|
|
float L_18 = V_3;
|
|
float L_19 = V_7;
|
|
float L_20 = V_4;
|
|
float L_21 = V_5;
|
|
float L_22 = V_8;
|
|
V_10 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_18, L_19)), ((float)il2cpp_codegen_multiply(L_20, L_21)))), L_22));
|
|
// if (u >= -EPS && v >= -EPS && (u + v) <= 1 + EPS)
|
|
float L_23 = V_9;
|
|
if ((!(((float)L_23) >= ((float)(-9.99999975E-05f)))))
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
float L_24 = V_10;
|
|
if ((!(((float)L_24) >= ((float)(-9.99999975E-05f)))))
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
float L_25 = V_9;
|
|
float L_26 = V_10;
|
|
if ((!(((float)((float)il2cpp_codegen_add(L_25, L_26))) <= ((float)(1.00010002f)))))
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
// height = a.Y + v0.Y * u + v1.Y * v;
|
|
float* L_27 = ___4_height;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28 = ___1_a;
|
|
float L_29 = L_28.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30 = V_0;
|
|
float L_31 = L_30.___Y_1;
|
|
float L_32 = V_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = V_1;
|
|
float L_34 = L_33.___Y_1;
|
|
float L_35 = V_10;
|
|
*((float*)L_27) = (float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_29, ((float)il2cpp_codegen_multiply(L_31, L_32)))), ((float)il2cpp_codegen_multiply(L_34, L_35))));
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// height = float.MaxValue;
|
|
float* L_36 = ___4_height;
|
|
*((float*)L_36) = (float)((std::numeric_limits<float>::max)());
|
|
// 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.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)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
{
|
|
// Vector3Extensions.Cross2D(ref a, ref b, ref d, out a1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___3_d;
|
|
Vector3Extensions_Cross2D_m160A41D103A6262332002C40811ACD6D07718295(L_0, L_1, L_2, (&V_0), NULL);
|
|
// Vector3Extensions.Cross2D(ref a, ref b, ref c, out a2);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___2_c;
|
|
Vector3Extensions_Cross2D_m160A41D103A6262332002C40811ACD6D07718295(L_3, L_4, L_5, (&V_1), NULL);
|
|
// if (a1 * a2 < 0.0f)
|
|
float L_6 = V_0;
|
|
float L_7 = V_1;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_6, L_7))) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// Vector3Extensions.Cross2D(ref c, ref d, ref a, out a3);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___2_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___3_d;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_a;
|
|
Vector3Extensions_Cross2D_m160A41D103A6262332002C40811ACD6D07718295(L_8, L_9, L_10, (&V_2), NULL);
|
|
// float a4 = a3 + a2 - a1;
|
|
float L_11 = V_2;
|
|
float L_12 = V_1;
|
|
float L_13 = V_0;
|
|
V_3 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_11, L_12)), L_13));
|
|
// if (a3 * a4 < 0.0f)
|
|
float L_14 = V_2;
|
|
float L_15 = V_3;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_14, L_15))) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_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));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
float V_3 = 0.0f;
|
|
{
|
|
// Vector3 u = b - a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___0_a;
|
|
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 v = d - c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___3_d;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_5);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___2_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_7);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9;
|
|
L_9 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_6, L_8, NULL);
|
|
V_1 = L_9;
|
|
// Vector3 w = a - c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_10);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___2_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_12);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14;
|
|
L_14 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_11, L_13, NULL);
|
|
V_2 = L_14;
|
|
// Vector3Extensions.PerpDotXZ(ref u, ref v, out magnitude);
|
|
Vector3Extensions_PerpDotXZ_m81D1D8B1F955CFAB509D871CC74107484BD69BE6((&V_0), (&V_1), (&V_3), NULL);
|
|
// if (Math.Abs(magnitude) < 1e-6f)
|
|
float L_15 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_16;
|
|
L_16 = fabsf(L_15);
|
|
if ((!(((float)L_16) < ((float)(9.99999997E-07f)))))
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// s = float.NaN;
|
|
float* L_17 = ___4_s;
|
|
*((float*)L_17) = (float)(std::numeric_limits<float>::quiet_NaN());
|
|
// t = float.NaN;
|
|
float* L_18 = ___5_t;
|
|
*((float*)L_18) = (float)(std::numeric_limits<float>::quiet_NaN());
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// Vector3Extensions.PerpDotXZ(ref v, ref w, out s);
|
|
float* L_19 = ___4_s;
|
|
Vector3Extensions_PerpDotXZ_m81D1D8B1F955CFAB509D871CC74107484BD69BE6((&V_1), (&V_2), L_19, NULL);
|
|
// Vector3Extensions.PerpDotXZ(ref u, ref w, out t);
|
|
float* L_20 = ___5_t;
|
|
Vector3Extensions_PerpDotXZ_m81D1D8B1F955CFAB509D871CC74107484BD69BE6((&V_0), (&V_2), L_20, NULL);
|
|
// s /= magnitude;
|
|
float* L_21 = ___4_s;
|
|
float* L_22 = ___4_s;
|
|
float L_23 = *((float*)L_22);
|
|
float L_24 = V_3;
|
|
*((float*)L_21) = (float)((float)(L_23/L_24));
|
|
// t /= magnitude;
|
|
float* L_25 = ___5_t;
|
|
float* L_26 = ___5_t;
|
|
float L_27 = *((float*)L_26);
|
|
float L_28 = V_3;
|
|
*((float*)L_25) = (float)((float)(L_27/L_28));
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
int32_t V_0 = 0;
|
|
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));
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
float V_12 = 0.0f;
|
|
float V_13 = 0.0f;
|
|
float V_14 = 0.0f;
|
|
float V_15 = 0.0f;
|
|
{
|
|
// for (int i = 0, j = npolya - 1; i < npolya; j = i++)
|
|
V_0 = 0;
|
|
// for (int i = 0, j = npolya - 1; i < npolya; j = i++)
|
|
int32_t L_0 = ___1_npolya;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_0, 1));
|
|
goto IL_006f;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// Vector3 va = polya[j];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_1 = ___0_polya;
|
|
int32_t L_2 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
V_2 = L_4;
|
|
// Vector3 vb = polya[i];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = ___0_polya;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_3 = L_8;
|
|
// Vector3 n = new Vector3(va.X - vb.X, 0.0f, va.Z - vb.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = V_2;
|
|
float L_10 = L_9.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = V_3;
|
|
float L_12 = L_11.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = V_2;
|
|
float L_14 = L_13.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = V_3;
|
|
float L_16 = L_15.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17;
|
|
memset((&L_17), 0, sizeof(L_17));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_17), ((float)il2cpp_codegen_subtract(L_10, L_12)), (0.0f), ((float)il2cpp_codegen_subtract(L_14, L_16)), /*hidden argument*/NULL);
|
|
// ProjectPoly(n, polya, npolya, out amin, out amax);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = L_17;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_19 = ___0_polya;
|
|
int32_t L_20 = ___1_npolya;
|
|
Intersection_ProjectPoly_mD7971246DBEF5EE354165A675452E26CDBB9E9E4(L_18, L_19, L_20, (&V_4), (&V_5), NULL);
|
|
// ProjectPoly(n, polyb, npolyb, out bmin, out bmax);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_21 = ___2_polyb;
|
|
int32_t L_22 = ___3_npolyb;
|
|
Intersection_ProjectPoly_mD7971246DBEF5EE354165A675452E26CDBB9E9E4(L_18, L_21, L_22, (&V_6), (&V_7), NULL);
|
|
// if (!OverlapRange(amin, amax, bmin, bmax, EPS))
|
|
float L_23 = V_4;
|
|
float L_24 = V_5;
|
|
float L_25 = V_6;
|
|
float L_26 = V_7;
|
|
bool L_27;
|
|
L_27 = Intersection_OverlapRange_mB62796C949D63011FAEB95AC4524704581BE58FB(L_23, L_24, L_25, L_26, (9.99999975E-05f), NULL);
|
|
if (L_27)
|
|
{
|
|
goto IL_0069;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0069:
|
|
{
|
|
// for (int i = 0, j = npolya - 1; i < npolya; j = i++)
|
|
int32_t L_28 = V_0;
|
|
int32_t L_29 = L_28;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_29, 1));
|
|
V_1 = L_29;
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// for (int i = 0, j = npolya - 1; i < npolya; j = i++)
|
|
int32_t L_30 = V_0;
|
|
int32_t L_31 = ___1_npolya;
|
|
if ((((int32_t)L_30) < ((int32_t)L_31)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0, j = npolyb - 1; i < npolyb; j = i++)
|
|
V_8 = 0;
|
|
// for (int i = 0, j = npolyb - 1; i < npolyb; j = i++)
|
|
int32_t L_32 = ___3_npolyb;
|
|
V_9 = ((int32_t)il2cpp_codegen_subtract(L_32, 1));
|
|
goto IL_00ef;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// Vector3 va = polyb[j];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_33 = ___2_polyb;
|
|
int32_t L_34 = V_9;
|
|
NullCheck(L_33);
|
|
int32_t L_35 = L_34;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
V_10 = L_36;
|
|
// Vector3 vb = polyb[i];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_37 = ___2_polyb;
|
|
int32_t L_38 = V_8;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
V_11 = L_40;
|
|
// Vector3 n = new Vector3(va.X - vb.X, 0.0f, va.Z - vb.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_41 = V_10;
|
|
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_10;
|
|
float L_46 = L_45.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47 = V_11;
|
|
float L_48 = L_47.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_49;
|
|
memset((&L_49), 0, sizeof(L_49));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_49), ((float)il2cpp_codegen_subtract(L_42, L_44)), (0.0f), ((float)il2cpp_codegen_subtract(L_46, L_48)), /*hidden argument*/NULL);
|
|
// ProjectPoly(n, polya, npolya, out amin, out amax);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_50 = L_49;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_51 = ___0_polya;
|
|
int32_t L_52 = ___1_npolya;
|
|
Intersection_ProjectPoly_mD7971246DBEF5EE354165A675452E26CDBB9E9E4(L_50, L_51, L_52, (&V_12), (&V_13), NULL);
|
|
// ProjectPoly(n, polyb, npolyb, out bmin, out bmax);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_53 = ___2_polyb;
|
|
int32_t L_54 = ___3_npolyb;
|
|
Intersection_ProjectPoly_mD7971246DBEF5EE354165A675452E26CDBB9E9E4(L_50, L_53, L_54, (&V_14), (&V_15), NULL);
|
|
// if (!OverlapRange(amin, amax, bmin, bmax, EPS))
|
|
float L_55 = V_12;
|
|
float L_56 = V_13;
|
|
float L_57 = V_14;
|
|
float L_58 = V_15;
|
|
bool L_59;
|
|
L_59 = Intersection_OverlapRange_mB62796C949D63011FAEB95AC4524704581BE58FB(L_55, L_56, L_57, L_58, (9.99999975E-05f), NULL);
|
|
if (L_59)
|
|
{
|
|
goto IL_00e6;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00e6:
|
|
{
|
|
// for (int i = 0, j = npolyb - 1; i < npolyb; j = i++)
|
|
int32_t L_60 = V_8;
|
|
int32_t L_61 = L_60;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_61, 1));
|
|
V_9 = L_61;
|
|
}
|
|
|
|
IL_00ef:
|
|
{
|
|
// for (int i = 0, j = npolyb - 1; i < npolyb; j = i++)
|
|
int32_t L_62 = V_8;
|
|
int32_t L_63 = ___3_npolyb;
|
|
if ((((int32_t)L_62) < ((int32_t)L_63)))
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_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;
|
|
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 V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
{
|
|
// tmin = 0;
|
|
float* L_0 = ___4_tmin;
|
|
*((float*)L_0) = (float)(0.0f);
|
|
// tmax = 1;
|
|
float* L_1 = ___5_tmax;
|
|
*((float*)L_1) = (float)(1.0f);
|
|
// segMin = -1;
|
|
int32_t* L_2 = ___6_segMin;
|
|
*((int32_t*)L_2) = (int32_t)(-1);
|
|
// segMax = -1;
|
|
int32_t* L_3 = ___7_segMax;
|
|
*((int32_t*)L_3) = (int32_t)(-1);
|
|
// Vector3 dir = p1 - p0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_p1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = ___0_p0;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6;
|
|
L_6 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_4, L_5, NULL);
|
|
V_0 = L_6;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
V_1 = 0;
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_7 = ___3_nverts;
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_7, 1));
|
|
goto IL_00ed;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// Vector3 edge = verts[i] - verts[j];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_8 = ___2_verts;
|
|
int32_t L_9 = V_1;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_12 = ___2_verts;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16;
|
|
L_16 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_11, L_15, NULL);
|
|
V_3 = L_16;
|
|
// Vector3 diff = p0 - verts[j];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = ___0_p0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_18 = ___2_verts;
|
|
int32_t L_19 = V_2;
|
|
NullCheck(L_18);
|
|
int32_t L_20 = L_19;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22;
|
|
L_22 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_17, L_21, NULL);
|
|
V_4 = L_22;
|
|
// float n = edge.Z * diff.X - edge.X * diff.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = V_3;
|
|
float L_24 = L_23.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25 = V_4;
|
|
float L_26 = L_25.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = V_3;
|
|
float L_28 = L_27.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_4;
|
|
float L_30 = L_29.___Z_2;
|
|
V_5 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_24, L_26)), ((float)il2cpp_codegen_multiply(L_28, L_30))));
|
|
// float d = dir.Z * edge.X - dir.X * edge.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = V_0;
|
|
float L_32 = L_31.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = V_3;
|
|
float L_34 = L_33.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35 = V_0;
|
|
float L_36 = L_35.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_37 = V_3;
|
|
float L_38 = L_37.___Z_2;
|
|
V_6 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_32, L_34)), ((float)il2cpp_codegen_multiply(L_36, L_38))));
|
|
// if (Math.Abs(d) < Epsilon)
|
|
float L_39 = V_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_40;
|
|
L_40 = fabsf(L_39);
|
|
if ((!(((float)L_40) < ((float)(9.99999994E-09f)))))
|
|
{
|
|
goto IL_00a3;
|
|
}
|
|
}
|
|
{
|
|
// if (n < 0)
|
|
float L_41 = V_5;
|
|
if ((!(((float)L_41) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_00e7;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00a3:
|
|
{
|
|
// float t = n / d;
|
|
float L_42 = V_5;
|
|
float L_43 = V_6;
|
|
V_7 = ((float)(L_42/L_43));
|
|
// if (d < 0)
|
|
float L_44 = V_6;
|
|
if ((!(((float)L_44) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
{
|
|
// if (t > tmin)
|
|
float L_45 = V_7;
|
|
float* L_46 = ___4_tmin;
|
|
float L_47 = *((float*)L_46);
|
|
if ((!(((float)L_45) > ((float)L_47))))
|
|
{
|
|
goto IL_00e7;
|
|
}
|
|
}
|
|
{
|
|
// tmin = t;
|
|
float* L_48 = ___4_tmin;
|
|
float L_49 = V_7;
|
|
*((float*)L_48) = (float)L_49;
|
|
// segMin = j;
|
|
int32_t* L_50 = ___6_segMin;
|
|
int32_t L_51 = V_2;
|
|
*((int32_t*)L_50) = (int32_t)L_51;
|
|
// if (tmin > tmax)
|
|
float* L_52 = ___4_tmin;
|
|
float L_53 = *((float*)L_52);
|
|
float* L_54 = ___5_tmax;
|
|
float L_55 = *((float*)L_54);
|
|
if ((!(((float)L_53) > ((float)L_55))))
|
|
{
|
|
goto IL_00e7;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// if (t < tmax)
|
|
float L_56 = V_7;
|
|
float* L_57 = ___5_tmax;
|
|
float L_58 = *((float*)L_57);
|
|
if ((!(((float)L_56) < ((float)L_58))))
|
|
{
|
|
goto IL_00e7;
|
|
}
|
|
}
|
|
{
|
|
// tmax = t;
|
|
float* L_59 = ___5_tmax;
|
|
float L_60 = V_7;
|
|
*((float*)L_59) = (float)L_60;
|
|
// segMax = j;
|
|
int32_t* L_61 = ___7_segMax;
|
|
int32_t L_62 = V_2;
|
|
*((int32_t*)L_61) = (int32_t)L_62;
|
|
// if (tmax < tmin)
|
|
float* L_63 = ___5_tmax;
|
|
float L_64 = *((float*)L_63);
|
|
float* L_65 = ___4_tmin;
|
|
float L_66 = *((float*)L_65);
|
|
if ((!(((float)L_64) < ((float)L_66))))
|
|
{
|
|
goto IL_00e7;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00e7:
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_67 = V_1;
|
|
int32_t L_68 = L_67;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_68, 1));
|
|
V_2 = L_68;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// for (int i = 0, j = nverts - 1; i < nverts; j = i++)
|
|
int32_t L_69 = V_1;
|
|
int32_t L_70 = ___3_nverts;
|
|
if ((((int32_t)L_69) < ((int32_t)L_70)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Intersection::ProjectPoly(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3[],System.Int32,System.Single&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Intersection_ProjectPoly_mD7971246DBEF5EE354165A675452E26CDBB9E9E4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_axis, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___1_poly, int32_t ___2_npoly, float* ___3_rmin, float* ___4_rmax, 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;
|
|
}
|
|
int32_t V_0 = 0;
|
|
float V_1 = 0.0f;
|
|
{
|
|
// Vector3Extensions.Dot2D(ref axis, ref poly[0], out rmin);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___1_poly;
|
|
NullCheck(L_0);
|
|
float* L_1 = ___3_rmin;
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&___0_axis), ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), L_1, NULL);
|
|
// Vector3Extensions.Dot2D(ref axis, ref poly[0], out rmax);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = ___1_poly;
|
|
NullCheck(L_2);
|
|
float* L_3 = ___4_rmax;
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&___0_axis), ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))), L_3, NULL);
|
|
// for (int i = 1; i < npoly; i++)
|
|
V_0 = 1;
|
|
goto IL_004d;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// Vector3Extensions.Dot2D(ref axis, ref poly[i], out d);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_4 = ___1_poly;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
Vector3Extensions_Dot2D_mB441A9B6176E1DFF1CFFF44E8ECF5A96FDAEC37C((&___0_axis), ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5))), (&V_1), NULL);
|
|
// rmin = Math.Min(rmin, d);
|
|
float* L_6 = ___3_rmin;
|
|
float* L_7 = ___3_rmin;
|
|
float L_8 = *((float*)L_7);
|
|
float L_9 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_10;
|
|
L_10 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_8, L_9, NULL);
|
|
*((float*)L_6) = (float)L_10;
|
|
// rmax = Math.Max(rmax, d);
|
|
float* L_11 = ___4_rmax;
|
|
float* L_12 = ___4_rmax;
|
|
float L_13 = *((float*)L_12);
|
|
float L_14 = V_1;
|
|
float L_15;
|
|
L_15 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_13, L_14, NULL);
|
|
*((float*)L_11) = (float)L_15;
|
|
// for (int i = 1; i < npoly; i++)
|
|
int32_t L_16 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_16, 1));
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// for (int i = 1; i < npoly; i++)
|
|
int32_t L_17 = V_0;
|
|
int32_t L_18 = ___2_npoly;
|
|
if ((((int32_t)L_17) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Intersection::OverlapRange(System.Single,System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Intersection_OverlapRange_mB62796C949D63011FAEB95AC4524704581BE58FB (float ___0_amin, float ___1_amax, float ___2_bmin, float ___3_bmax, float ___4_eps, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return ((amin + eps) > bmax || (amax - eps) < bmin) ? false : true;
|
|
float L_0 = ___0_amin;
|
|
float L_1 = ___4_eps;
|
|
float L_2 = ___3_bmax;
|
|
if ((((float)((float)il2cpp_codegen_add(L_0, L_1))) > ((float)L_2)))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = ___1_amax;
|
|
float L_4 = ___4_eps;
|
|
float L_5 = ___2_bmin;
|
|
if ((((float)((float)il2cpp_codegen_subtract(L_3, L_4))) < ((float)L_5)))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
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.Geometry.Triangle3::.ctor(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3__ctor_mE3A051C362CD6284A554EDA55439AB1D9B447ADE (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_c, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// A = a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_a;
|
|
__this->___A_0 = L_0;
|
|
// B = b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_b;
|
|
__this->___B_1 = L_1;
|
|
// C = c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___2_c;
|
|
__this->___C_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Triangle3__ctor_mE3A051C362CD6284A554EDA55439AB1D9B447ADE_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_c, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Triangle3__ctor_mE3A051C362CD6284A554EDA55439AB1D9B447ADE(_thisAdjusted, ___0_a, ___1_b, ___2_c, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_AB()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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.Subtract(ref B, ref A, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___B_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&__this->___A_0);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B(L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_AC()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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.Subtract(ref C, ref A, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___C_2);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&__this->___A_0);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B(L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_BA()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_BA_m2C95666EDC718F386225F240C11ECE73FDE08D43 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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.Subtract(ref A, ref B, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___A_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&__this->___B_1);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B(L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_BA_m2C95666EDC718F386225F240C11ECE73FDE08D43_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_BA_m2C95666EDC718F386225F240C11ECE73FDE08D43(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_BC()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_BC_mA119438EE9EF3725DEB49805C54994749C28ED5E (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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.Subtract(ref C, ref B, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___C_2);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&__this->___B_1);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B(L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_BC_mA119438EE9EF3725DEB49805C54994749C28ED5E_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_BC_mA119438EE9EF3725DEB49805C54994749C28ED5E(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_CA()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_CA_m03D6F40EAFD23FCE255BE2050CAB72CAE79BF0CE (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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.Subtract(ref A, ref C, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___A_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&__this->___C_2);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B(L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_CA_m03D6F40EAFD23FCE255BE2050CAB72CAE79BF0CE_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_CA_m03D6F40EAFD23FCE255BE2050CAB72CAE79BF0CE(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_CB()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_CB_m543246F3FD826973D71972CC2A1F59E3B0E615F2 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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.Subtract(ref B, ref C, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___B_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&__this->___C_2);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B(L_0, L_1, (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_CB_m543246F3FD826973D71972CC2A1F59E3B0E615F2_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_CB_m543246F3FD826973D71972CC2A1F59E3B0E615F2(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Single SharpNav.Geometry.Triangle3::get_Area()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Triangle3_get_Area_mE2EE48B874CC86B53EF57A20A2242C5EF7408CC7 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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 Vector3.Cross(AB, AC).Length() * 0.5f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0;
|
|
L_0 = Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4(__this, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1;
|
|
L_1 = Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1(__this, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
L_2 = Vector3_Cross_m928F39B378B976766902C0D5DC1B57CA2D93A690(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
float L_3;
|
|
L_3 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_0), NULL);
|
|
return ((float)il2cpp_codegen_multiply(L_3, (0.5f)));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Triangle3_get_Area_mE2EE48B874CC86B53EF57A20A2242C5EF7408CC7_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Triangle3_get_Area_mE2EE48B874CC86B53EF57A20A2242C5EF7408CC7(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Single SharpNav.Geometry.Triangle3::get_Perimeter()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Triangle3_get_Perimeter_m6D290B3A11909C8488C23C93C150B80CFC8674ED (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// return AB.Length() + AC.Length() + BC.Length();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0;
|
|
L_0 = Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4(__this, NULL);
|
|
V_0 = L_0;
|
|
float L_1;
|
|
L_1 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_0), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
L_2 = Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1(__this, NULL);
|
|
V_0 = L_2;
|
|
float L_3;
|
|
L_3 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_0), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
L_4 = Triangle3_get_BC_mA119438EE9EF3725DEB49805C54994749C28ED5E(__this, NULL);
|
|
V_0 = L_4;
|
|
float L_5;
|
|
L_5 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_0), NULL);
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_1, L_3)), L_5));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Triangle3_get_Perimeter_m6D290B3A11909C8488C23C93C150B80CFC8674ED_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Triangle3_get_Perimeter_m6D290B3A11909C8488C23C93C150B80CFC8674ED(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_Centroid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_Centroid_mD1E145D9C20503E6405AF4FE9A6AAF698B887729 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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;
|
|
}
|
|
{
|
|
// return A * OneThird + B * OneThird + C * OneThird;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___A_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1;
|
|
L_1 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_0, (0.333333343f), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = __this->___B_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
L_3 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_2, (0.333333343f), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
L_4 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_1, L_3, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = __this->___C_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6;
|
|
L_6 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_5, (0.333333343f), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7;
|
|
L_7 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_4, L_6, NULL);
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_Centroid_mD1E145D9C20503E6405AF4FE9A6AAF698B887729_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_Centroid_mD1E145D9C20503E6405AF4FE9A6AAF698B887729(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Triangle3::get_Normal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_Normal_m5FCB2296505CEBA6BEB12D48F3258E33C6298A38 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, 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;
|
|
}
|
|
{
|
|
// return Vector3.Normalize(Vector3.Cross(AB, AC));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0;
|
|
L_0 = Triangle3_get_AB_mB6843F8B72C055133C87139240C5500BE41821A4(__this, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1;
|
|
L_1 = Triangle3_get_AC_m9FD4B1FA5B76580FF43CD3617801AD4FBB6F57F1(__this, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
L_2 = Vector3_Cross_m928F39B378B976766902C0D5DC1B57CA2D93A690(L_0, L_1, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
L_3 = Vector3_Normalize_m5A2DB0842584EB3B69CC62CA80B84F218D4A1AF6(L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Triangle3_get_Normal_m5FCB2296505CEBA6BEB12D48F3258E33C6298A38_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Triangle3_get_Normal_m5FCB2296505CEBA6BEB12D48F3258E33C6298A38(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Triangle3::op_Equality(SharpNav.Geometry.Triangle3,SharpNav.Geometry.Triangle3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Triangle3_op_Equality_mB85F1D6018DEE4ED89ED9A1532F0B515131AC45C (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___0_left, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Triangle3::op_Inequality(SharpNav.Geometry.Triangle3,SharpNav.Geometry.Triangle3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Triangle3_op_Inequality_m829196C6052FEFC573D5C473BAC5485E4C76D38C (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___0_left, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !left.Equals(right);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B((&___0_left), L_0, NULL);
|
|
return (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// SharpNav.Geometry.BBox3 SharpNav.Geometry.Triangle3::GetBoundingBox(SharpNav.Geometry.Triangle3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C Triangle3_GetBoundingBox_m880EA2C73CA44FDC971C50122F0294BC12D1919D (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___0_tri, const RuntimeMethod* method)
|
|
{
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// GetBoundingBox(ref tri, out b);
|
|
Triangle3_GetBoundingBox_m04F528207F81BE01E034302085EB21EC58AE63C6((&___0_tri), (&V_0), NULL);
|
|
// return b;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Triangle3::GetBoundingBox(SharpNav.Geometry.Triangle3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3_GetBoundingBox_m04F528207F81BE01E034302085EB21EC58AE63C6 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* ___0_tri, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_bbox, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// GetBoundingBox(ref tri.A, ref tri.B, ref tri.C, out bbox);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* L_0 = ___0_tri;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&L_0->___A_0);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* L_2 = ___0_tri;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = (&L_2->___B_1);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* L_4 = ___0_tri;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = (&L_4->___C_2);
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_6 = ___1_bbox;
|
|
Triangle3_GetBoundingBox_mF2E17A14617624FAD5FD65265D9DC4EA1A3EF22A(L_1, L_3, L_5, L_6, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Triangle3::GetBoundingBox(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Triangle3_GetBoundingBox_mF2E17A14617624FAD5FD65265D9DC4EA1A3EF22A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_c, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___3_bbox, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// Vector3 min = a, max = a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0);
|
|
V_0 = L_1;
|
|
// Vector3 min = a, max = a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_2);
|
|
V_1 = L_3;
|
|
// if (b.X < min.X) min.X = b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_b;
|
|
float L_5 = L_4->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = V_0;
|
|
float L_7 = L_6.___X_0;
|
|
if ((!(((float)L_5) < ((float)L_7))))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// if (b.X < min.X) min.X = b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___1_b;
|
|
float L_9 = L_8->___X_0;
|
|
(&V_0)->___X_0 = L_9;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// if (b.Y < min.Y) min.Y = b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___1_b;
|
|
float L_11 = L_10->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = V_0;
|
|
float L_13 = L_12.___Y_1;
|
|
if ((!(((float)L_11) < ((float)L_13))))
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// if (b.Y < min.Y) min.Y = b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___1_b;
|
|
float L_15 = L_14->___Y_1;
|
|
(&V_0)->___Y_1 = L_15;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// if (b.Z < min.Z) min.Z = b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = ___1_b;
|
|
float L_17 = L_16->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = V_0;
|
|
float L_19 = L_18.___Z_2;
|
|
if ((!(((float)L_17) < ((float)L_19))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (b.Z < min.Z) min.Z = b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_20 = ___1_b;
|
|
float L_21 = L_20->___Z_2;
|
|
(&V_0)->___Z_2 = L_21;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// if (c.X < min.X) min.X = c.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_22 = ___2_c;
|
|
float L_23 = L_22->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = V_0;
|
|
float L_25 = L_24.___X_0;
|
|
if ((!(((float)L_23) < ((float)L_25))))
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
{
|
|
// if (c.X < min.X) min.X = c.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_26 = ___2_c;
|
|
float L_27 = L_26->___X_0;
|
|
(&V_0)->___X_0 = L_27;
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// if (c.Y < min.Y) min.Y = c.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_28 = ___2_c;
|
|
float L_29 = L_28->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30 = V_0;
|
|
float L_31 = L_30.___Y_1;
|
|
if ((!(((float)L_29) < ((float)L_31))))
|
|
{
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
{
|
|
// if (c.Y < min.Y) min.Y = c.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_32 = ___2_c;
|
|
float L_33 = L_32->___Y_1;
|
|
(&V_0)->___Y_1 = L_33;
|
|
}
|
|
|
|
IL_0095:
|
|
{
|
|
// if (c.Z < min.Z) min.Z = c.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_34 = ___2_c;
|
|
float L_35 = L_34->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = V_0;
|
|
float L_37 = L_36.___Z_2;
|
|
if ((!(((float)L_35) < ((float)L_37))))
|
|
{
|
|
goto IL_00b0;
|
|
}
|
|
}
|
|
{
|
|
// if (c.Z < min.Z) min.Z = c.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_38 = ___2_c;
|
|
float L_39 = L_38->___Z_2;
|
|
(&V_0)->___Z_2 = L_39;
|
|
}
|
|
|
|
IL_00b0:
|
|
{
|
|
// if (b.X > max.X) max.X = b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_40 = ___1_b;
|
|
float L_41 = L_40->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42 = V_1;
|
|
float L_43 = L_42.___X_0;
|
|
if ((!(((float)L_41) > ((float)L_43))))
|
|
{
|
|
goto IL_00cb;
|
|
}
|
|
}
|
|
{
|
|
// if (b.X > max.X) max.X = b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_44 = ___1_b;
|
|
float L_45 = L_44->___X_0;
|
|
(&V_1)->___X_0 = L_45;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// if (b.Y > max.Y) max.Y = b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_46 = ___1_b;
|
|
float L_47 = L_46->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_48 = V_1;
|
|
float L_49 = L_48.___Y_1;
|
|
if ((!(((float)L_47) > ((float)L_49))))
|
|
{
|
|
goto IL_00e6;
|
|
}
|
|
}
|
|
{
|
|
// if (b.Y > max.Y) max.Y = b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_50 = ___1_b;
|
|
float L_51 = L_50->___Y_1;
|
|
(&V_1)->___Y_1 = L_51;
|
|
}
|
|
|
|
IL_00e6:
|
|
{
|
|
// if (b.Z > max.Z) max.Z = b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_52 = ___1_b;
|
|
float L_53 = L_52->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_54 = V_1;
|
|
float L_55 = L_54.___Z_2;
|
|
if ((!(((float)L_53) > ((float)L_55))))
|
|
{
|
|
goto IL_0101;
|
|
}
|
|
}
|
|
{
|
|
// if (b.Z > max.Z) max.Z = b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_56 = ___1_b;
|
|
float L_57 = L_56->___Z_2;
|
|
(&V_1)->___Z_2 = L_57;
|
|
}
|
|
|
|
IL_0101:
|
|
{
|
|
// if (c.X > max.X) max.X = c.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_58 = ___2_c;
|
|
float L_59 = L_58->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_60 = V_1;
|
|
float L_61 = L_60.___X_0;
|
|
if ((!(((float)L_59) > ((float)L_61))))
|
|
{
|
|
goto IL_011c;
|
|
}
|
|
}
|
|
{
|
|
// if (c.X > max.X) max.X = c.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_62 = ___2_c;
|
|
float L_63 = L_62->___X_0;
|
|
(&V_1)->___X_0 = L_63;
|
|
}
|
|
|
|
IL_011c:
|
|
{
|
|
// if (c.Y > max.Y) max.Y = c.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_64 = ___2_c;
|
|
float L_65 = L_64->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_66 = V_1;
|
|
float L_67 = L_66.___Y_1;
|
|
if ((!(((float)L_65) > ((float)L_67))))
|
|
{
|
|
goto IL_0137;
|
|
}
|
|
}
|
|
{
|
|
// if (c.Y > max.Y) max.Y = c.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_68 = ___2_c;
|
|
float L_69 = L_68->___Y_1;
|
|
(&V_1)->___Y_1 = L_69;
|
|
}
|
|
|
|
IL_0137:
|
|
{
|
|
// if (c.Z > max.Z) max.Z = c.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_70 = ___2_c;
|
|
float L_71 = L_70->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_72 = V_1;
|
|
float L_73 = L_72.___Z_2;
|
|
if ((!(((float)L_71) > ((float)L_73))))
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
// if (c.Z > max.Z) max.Z = c.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_74 = ___2_c;
|
|
float L_75 = L_74->___Z_2;
|
|
(&V_1)->___Z_2 = L_75;
|
|
}
|
|
|
|
IL_0152:
|
|
{
|
|
// bbox.Min = min;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_76 = ___3_bbox;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_77 = V_0;
|
|
L_76->___Min_0 = L_77;
|
|
// bbox.Max = max;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_78 = ___3_bbox;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_79 = V_1;
|
|
L_78->___Max_1 = L_79;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
{
|
|
// float abx = b.X - a.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___1_b;
|
|
float L_1 = L_0->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___0_a;
|
|
float L_3 = L_2->___X_0;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
// float abz = b.Z - a.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_b;
|
|
float L_5 = L_4->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___0_a;
|
|
float L_7 = L_6->___Z_2;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
// float acx = c.X - a.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___2_c;
|
|
float L_9 = L_8->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_a;
|
|
float L_11 = L_10->___X_0;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
// float acz = c.Z - a.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___2_c;
|
|
float L_13 = L_12->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___0_a;
|
|
float L_15 = L_14->___Z_2;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_13, L_15));
|
|
// area = acx * abz - abx * acz;
|
|
float* L_16 = ___3_area;
|
|
float L_17 = V_2;
|
|
float L_18 = V_1;
|
|
float L_19 = V_0;
|
|
float L_20 = V_3;
|
|
*((float*)L_16) = (float)((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_17, L_18)), ((float)il2cpp_codegen_multiply(L_19, L_20))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Triangle3::Area2D(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Triangle3_Area2D_m49AA6800CC487F8ECCF4C25F3FFF9A9F7EC9B391 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_c, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// Area2D(ref a, ref b, ref c, out result);
|
|
Triangle3_Area2D_m22A53934340C0B07CE5EB8649B7D6E050548BA7D((&___0_a), (&___1_b), (&___2_c), (&V_0), NULL);
|
|
// return result;
|
|
float L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Triangle3::Equals(SharpNav.Geometry.Triangle3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return
|
|
// A.Equals(other.A) &&
|
|
// B.Equals(other.B) &&
|
|
// C.Equals(other.C);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___A_0);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_1 = ___0_other;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = L_1.___A_0;
|
|
bool L_3;
|
|
L_3 = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4(L_0, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = (&__this->___B_1);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_5 = ___0_other;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = L_5.___B_1;
|
|
bool L_7;
|
|
L_7 = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4(L_4, L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = (&__this->___C_2);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_9 = ___0_other;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = L_9.___C_2;
|
|
bool L_11;
|
|
L_11 = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4(L_8, L_10, NULL);
|
|
return L_11;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B_AdjustorThunk (RuntimeObject* __this, Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB ___0_other, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Triangle3::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Triangle3_Equals_mD19CA67BD8A55C18D325192BEA4C4F45473F50E6 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __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_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void* L_1 = alloca(sizeof(Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6));
|
|
Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Triangle3? other = obj as Triangle3?;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_0, Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6_il2cpp_TypeInfo_var)), Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6_il2cpp_TypeInfo_var, L_1);
|
|
V_0 = ((*(Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6*)((Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6*)(Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6*)L_1)));
|
|
// if (other.HasValue)
|
|
bool L_2;
|
|
L_2 = Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_inline((&V_0), Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(other.Value);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_3;
|
|
L_3 = Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B((&V_0), Nullable_1_get_Value_mC68E93691F03877DBEB46CD39A906870FB52DA4B_RuntimeMethod_var);
|
|
bool L_4;
|
|
L_4 = Triangle3_Equals_mD0B6FD1C6DFBC2F3F66DAC38274F471B43D6EA3B(__this, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Triangle3_Equals_mD19CA67BD8A55C18D325192BEA4C4F45473F50E6_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Triangle3_Equals_mD19CA67BD8A55C18D325192BEA4C4F45473F50E6(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.Geometry.Triangle3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Triangle3_GetHashCode_mA6EE2191CF2E8726F4B3C9367D8698908A4B5561 (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// int hash = 17;
|
|
// hash = hash * 23 + A.GetHashCode();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = (&__this->___A_0);
|
|
int32_t L_1;
|
|
L_1 = Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4(L_0, NULL);
|
|
// hash = hash * 23 + B.GetHashCode();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = (&__this->___B_1);
|
|
int32_t L_3;
|
|
L_3 = Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4(L_2, NULL);
|
|
// hash = hash * 23 + C.GetHashCode();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = (&__this->___C_2);
|
|
int32_t L_5;
|
|
L_5 = Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4(L_4, NULL);
|
|
// return hash;
|
|
return ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(((int32_t)17), ((int32_t)23))), L_1)), ((int32_t)23))), L_3)), ((int32_t)23))), L_5));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t Triangle3_GetHashCode_mA6EE2191CF2E8726F4B3C9367D8698908A4B5561_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = Triangle3_GetHashCode_mA6EE2191CF2E8726F4B3C9367D8698908A4B5561(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String SharpNav.Geometry.Triangle3::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Triangle3_ToString_mEDDCE5CD011E2FF6FEEA8242D854AACAC42E355B (Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* __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*)&_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "(" + A.ToString() + ", " + B.ToString() + ", " + C.ToString() + ")";
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)7);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
ArrayElementTypeCheck (L_1, _stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = (&__this->___A_0);
|
|
String_t* L_4;
|
|
L_4 = Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739(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;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = (&__this->___B_1);
|
|
String_t* L_8;
|
|
L_8 = Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739(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, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = (&__this->___C_2);
|
|
String_t* L_12;
|
|
L_12 = Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739(L_11, NULL);
|
|
NullCheck(L_10);
|
|
ArrayElementTypeCheck (L_10, L_12);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)L_12);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_13 = L_10;
|
|
NullCheck(L_13);
|
|
ArrayElementTypeCheck (L_13, _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
|
|
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
|
|
String_t* L_14;
|
|
L_14 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_13, NULL);
|
|
return L_14;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* Triangle3_ToString_mEDDCE5CD011E2FF6FEEA8242D854AACAC42E355B_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = Triangle3_ToString_mEDDCE5CD011E2FF6FEEA8242D854AACAC42E355B(_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.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable::FromTriangle(SharpNav.Geometry.Triangle3[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleEnumerable_FromTriangle_m871F27E5881EEBC72215E444D0860A3395E4DE87 (Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C* ___0_triangles, int32_t ___1_triOffset, int32_t ___2_triCount, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_0 = (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3*)il2cpp_codegen_object_new(U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CFromTriangleU3Ed__0__ctor_mDE190D3748B298A76442724D07BBD37294325414(L_0, ((int32_t)-2), NULL);
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_1 = L_0;
|
|
Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C* L_2 = ___0_triangles;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E3__triangles_4 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E3__triangles_4), (void*)L_2);
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_3 = L_1;
|
|
int32_t L_4 = ___1_triOffset;
|
|
NullCheck(L_3);
|
|
L_3->___U3CU3E3__triOffset_6 = L_4;
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_5 = L_3;
|
|
int32_t L_6 = ___2_triCount;
|
|
NullCheck(L_5);
|
|
L_5->___U3CU3E3__triCount_8 = L_6;
|
|
return L_5;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable::FromVector3(SharpNav.Geometry.Vector3[],System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleEnumerable_FromVector3_m16FEE30DF0B3225FF5107F1A5E735C1FCEFB31F9 (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_vertices, int32_t ___1_vertOffset, int32_t ___2_vertStride, int32_t ___3_triCount, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_0 = (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769*)il2cpp_codegen_object_new(U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CFromVector3U3Ed__1__ctor_mB77B34454444A789ECE656E3F54BF1D1105B28A6(L_0, ((int32_t)-2), NULL);
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_1 = L_0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = ___0_vertices;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E3__vertices_6 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E3__vertices_6), (void*)L_2);
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_3 = L_1;
|
|
int32_t L_4 = ___1_vertOffset;
|
|
NullCheck(L_3);
|
|
L_3->___U3CU3E3__vertOffset_8 = L_4;
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_5 = L_3;
|
|
int32_t L_6 = ___2_vertStride;
|
|
NullCheck(L_5);
|
|
L_5->___U3CU3E3__vertStride_4 = L_6;
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_7 = L_5;
|
|
int32_t L_8 = ___3_triCount;
|
|
NullCheck(L_7);
|
|
L_7->___U3CU3E3__triCount_10 = L_8;
|
|
return L_7;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable::FromFloat(System.Single[],System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleEnumerable_FromFloat_mBDDF7B57E09EDA474961D55A1385087EF86BFB38 (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___0_vertices, int32_t ___1_floatOffset, int32_t ___2_floatStride, int32_t ___3_triCount, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_0 = (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E*)il2cpp_codegen_object_new(U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CFromFloatU3Ed__2__ctor_mAEFD9C5D7827797F1CF91B97877FC17E223F6250(L_0, ((int32_t)-2), NULL);
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_1 = L_0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_2 = ___0_vertices;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E3__vertices_8 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E3__vertices_8), (void*)L_2);
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_3 = L_1;
|
|
int32_t L_4 = ___1_floatOffset;
|
|
NullCheck(L_3);
|
|
L_3->___U3CU3E3__floatOffset_6 = L_4;
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_5 = L_3;
|
|
int32_t L_6 = ___2_floatStride;
|
|
NullCheck(L_5);
|
|
L_5->___U3CU3E3__floatStride_4 = L_6;
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_7 = L_5;
|
|
int32_t L_8 = ___3_triCount;
|
|
NullCheck(L_7);
|
|
L_7->___U3CU3E3__triCount_10 = L_8;
|
|
return L_7;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable::FromIndexedVector3(SharpNav.Geometry.Vector3[],System.Int32[],System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleEnumerable_FromIndexedVector3_m4EDCC38FC2DF921FB04923B3455E3942C9026230 (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_vertices, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_indices, int32_t ___2_vertOffset, int32_t ___3_vertStride, int32_t ___4_indexOffset, int32_t ___5_triCount, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_0 = (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5*)il2cpp_codegen_object_new(U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CFromIndexedVector3U3Ed__3__ctor_m08284E6B163B093FB10BF6EF57509E48A1874435(L_0, ((int32_t)-2), NULL);
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_1 = L_0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_2 = ___0_vertices;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E3__vertices_12 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E3__vertices_12), (void*)L_2);
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_3 = L_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = ___1_indices;
|
|
NullCheck(L_3);
|
|
L_3->___U3CU3E3__indices_6 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___U3CU3E3__indices_6), (void*)L_4);
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_5 = L_3;
|
|
int32_t L_6 = ___2_vertOffset;
|
|
NullCheck(L_5);
|
|
L_5->___U3CU3E3__vertOffset_4 = L_6;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_7 = L_5;
|
|
int32_t L_8 = ___3_vertStride;
|
|
NullCheck(L_7);
|
|
L_7->___U3CU3E3__vertStride_10 = L_8;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_9 = L_7;
|
|
int32_t L_10 = ___4_indexOffset;
|
|
NullCheck(L_9);
|
|
L_9->___U3CU3E3__indexOffset_8 = L_10;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_11 = L_9;
|
|
int32_t L_12 = ___5_triCount;
|
|
NullCheck(L_11);
|
|
L_11->___U3CU3E3__triCount_14 = L_12;
|
|
return L_11;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable::FromIndexedFloat(System.Single[],System.Int32[],System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TriangleEnumerable_FromIndexedFloat_m47D7CC0B619D8A5AB390E43EB7C66711D6350198 (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___0_vertices, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_indices, int32_t ___2_floatOffset, int32_t ___3_floatStride, int32_t ___4_indexOffset, int32_t ___5_triCount, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_0 = (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574*)il2cpp_codegen_object_new(U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CFromIndexedFloatU3Ed__4__ctor_mE9A5FD9CBC3A28F0825F6FC0AE18CA3CC78A3090(L_0, ((int32_t)-2), NULL);
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_1 = L_0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_2 = ___0_vertices;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E3__vertices_12 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E3__vertices_12), (void*)L_2);
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_3 = L_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = ___1_indices;
|
|
NullCheck(L_3);
|
|
L_3->___U3CU3E3__indices_6 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___U3CU3E3__indices_6), (void*)L_4);
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_5 = L_3;
|
|
int32_t L_6 = ___2_floatOffset;
|
|
NullCheck(L_5);
|
|
L_5->___U3CU3E3__floatOffset_4 = L_6;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_7 = L_5;
|
|
int32_t L_8 = ___3_floatStride;
|
|
NullCheck(L_7);
|
|
L_7->___U3CU3E3__floatStride_10 = L_8;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_9 = L_7;
|
|
int32_t L_10 = ___4_indexOffset;
|
|
NullCheck(L_9);
|
|
L_9->___U3CU3E3__indexOffset_8 = L_10;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_11 = L_9;
|
|
int32_t L_12 = ___5_triCount;
|
|
NullCheck(L_11);
|
|
L_11->___U3CU3E3__triCount_14 = L_12;
|
|
return L_11;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.BBox3 SharpNav.Geometry.TriangleEnumerable::GetBoundingBox(System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C TriangleEnumerable_GetBoundingBox_mBE4A108390CEB53A003222A7250DD457023BDF1E (RuntimeObject* ___0_tris, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetBoundingBox(tris, float.Epsilon * 2f);
|
|
RuntimeObject* L_0 = ___0_tris;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_1;
|
|
L_1 = TriangleEnumerable_GetBoundingBox_m5CE4D0A2F5D6E9230565E3F46BE63A1BD4ADCEAD(L_0, (2.80259693E-45f), NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.BBox3 SharpNav.Geometry.TriangleEnumerable::GetBoundingBox(System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3>,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C TriangleEnumerable_GetBoundingBox_m5CE4D0A2F5D6E9230565E3F46BE63A1BD4ADCEAD (RuntimeObject* ___0_tris, float ___1_padding, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_tA8A937F9C165E75401EA151B1E931B7CF40C4B93_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_t17EEB4D4C1C3553585755D0B87E7F91FAEA4329B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C 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));
|
|
RuntimeObject* V_4 = NULL;
|
|
{
|
|
// BBox3 bounds = new BBox3();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C));
|
|
// foreach (Triangle3 tri in tris)
|
|
RuntimeObject* L_0 = ___0_tris;
|
|
NullCheck(L_0);
|
|
RuntimeObject* L_1;
|
|
L_1 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Triangle3>::GetEnumerator() */, IEnumerable_1_tA8A937F9C165E75401EA151B1E931B7CF40C4B93_il2cpp_TypeInfo_var, L_0);
|
|
V_4 = L_1;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0053:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
RuntimeObject* L_2 = V_4;
|
|
if (!L_2)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_3 = V_4;
|
|
NullCheck(L_3);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_3);
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_0048_1;
|
|
}
|
|
|
|
IL_0012_1:
|
|
{
|
|
// foreach (Triangle3 tri in tris)
|
|
RuntimeObject* L_4 = V_4;
|
|
NullCheck(L_4);
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_5;
|
|
L_5 = InterfaceFuncInvoker0< Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3>::get_Current() */, IEnumerator_1_t17EEB4D4C1C3553585755D0B87E7F91FAEA4329B_il2cpp_TypeInfo_var, L_4);
|
|
// va = tri.A;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_6 = L_5;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = L_6.___A_0;
|
|
V_1 = L_7;
|
|
// vb = tri.B;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_8 = L_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = L_8.___B_1;
|
|
V_2 = L_9;
|
|
// vc = tri.C;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = L_8.___C_2;
|
|
V_3 = L_10;
|
|
// ApplyVertexToBounds(ref va, ref bounds);
|
|
TriangleEnumerable_ApplyVertexToBounds_m13744AB9EAB5A2E97B54A1465985CFBCEE728F10((&V_1), (&V_0), NULL);
|
|
// ApplyVertexToBounds(ref vb, ref bounds);
|
|
TriangleEnumerable_ApplyVertexToBounds_m13744AB9EAB5A2E97B54A1465985CFBCEE728F10((&V_2), (&V_0), NULL);
|
|
// ApplyVertexToBounds(ref vc, ref bounds);
|
|
TriangleEnumerable_ApplyVertexToBounds_m13744AB9EAB5A2E97B54A1465985CFBCEE728F10((&V_3), (&V_0), NULL);
|
|
}
|
|
|
|
IL_0048_1:
|
|
{
|
|
// foreach (Triangle3 tri in tris)
|
|
RuntimeObject* L_11 = V_4;
|
|
NullCheck(L_11);
|
|
bool L_12;
|
|
L_12 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_11);
|
|
if (L_12)
|
|
{
|
|
goto IL_0012_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// ApplyPaddingToBounds(padding, ref bounds);
|
|
float L_13 = ___1_padding;
|
|
TriangleEnumerable_ApplyPaddingToBounds_mCD2C2D53352F2A77D069C0346EE085A98AEA31D0(L_13, (&V_0), NULL);
|
|
// return bounds;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_14 = V_0;
|
|
return L_14;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.BBox3 SharpNav.Geometry.TriangleEnumerable::GetBoundingBox(System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C TriangleEnumerable_GetBoundingBox_mE1EB714B5D1064A19DB36E07DB100D8F41882A38 (RuntimeObject* ___0_vecs, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_t9E2774F577334D1C2B3BC9BB4E27B22E933C9B8E_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_tFFA77A16DB3E55535387825C4F54E249CD85095A_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
RuntimeObject* V_2 = NULL;
|
|
{
|
|
// BBox3 bounds = new BBox3();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C));
|
|
// foreach (Vector3 vec in vecs)
|
|
RuntimeObject* L_0 = ___0_vecs;
|
|
NullCheck(L_0);
|
|
RuntimeObject* L_1;
|
|
L_1 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<SharpNav.Geometry.Vector3>::GetEnumerator() */, IEnumerable_1_t9E2774F577334D1C2B3BC9BB4E27B22E933C9B8E_il2cpp_TypeInfo_var, L_0);
|
|
V_2 = L_1;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_002b:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
RuntimeObject* L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_3 = V_2;
|
|
NullCheck(L_3);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_3);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_0021_1;
|
|
}
|
|
|
|
IL_0011_1:
|
|
{
|
|
// foreach (Vector3 vec in vecs)
|
|
RuntimeObject* L_4 = V_2;
|
|
NullCheck(L_4);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = InterfaceFuncInvoker0< Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Vector3>::get_Current() */, IEnumerator_1_tFFA77A16DB3E55535387825C4F54E249CD85095A_il2cpp_TypeInfo_var, L_4);
|
|
// v = vec;
|
|
V_1 = L_5;
|
|
// ApplyVertexToBounds(ref v, ref bounds);
|
|
TriangleEnumerable_ApplyVertexToBounds_m13744AB9EAB5A2E97B54A1465985CFBCEE728F10((&V_1), (&V_0), NULL);
|
|
}
|
|
|
|
IL_0021_1:
|
|
{
|
|
// foreach (Vector3 vec in vecs)
|
|
RuntimeObject* L_6 = V_2;
|
|
NullCheck(L_6);
|
|
bool L_7;
|
|
L_7 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_6);
|
|
if (L_7)
|
|
{
|
|
goto IL_0011_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// ApplyPaddingToBounds(1.0f, ref bounds);
|
|
TriangleEnumerable_ApplyPaddingToBounds_mCD2C2D53352F2A77D069C0346EE085A98AEA31D0((1.0f), (&V_0), NULL);
|
|
// return bounds;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C L_8 = V_0;
|
|
return L_8;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable::ApplyVertexToBounds(SharpNav.Geometry.Vector3&,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleEnumerable_ApplyVertexToBounds_m13744AB9EAB5A2E97B54A1465985CFBCEE728F10 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_v, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_b, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (v.X < b.Min.X)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_v;
|
|
float L_1 = L_0->___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_2 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = (&L_2->___Min_0);
|
|
float L_4 = L_3->___X_0;
|
|
if ((!(((float)L_1) < ((float)L_4))))
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// b.Min.X = v.X;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_5 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = (&L_5->___Min_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_v;
|
|
float L_8 = L_7->___X_0;
|
|
L_6->___X_0 = L_8;
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// if (v.Y < b.Min.Y)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_v;
|
|
float L_10 = L_9->___Y_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_11 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = (&L_11->___Min_0);
|
|
float L_13 = L_12->___Y_1;
|
|
if ((!(((float)L_10) < ((float)L_13))))
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// b.Min.Y = v.Y;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_14 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_15 = (&L_14->___Min_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = ___0_v;
|
|
float L_17 = L_16->___Y_1;
|
|
L_15->___Y_1 = L_17;
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// if (v.Z < b.Min.Z)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___0_v;
|
|
float L_19 = L_18->___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_20 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_21 = (&L_20->___Min_0);
|
|
float L_22 = L_21->___Z_2;
|
|
if ((!(((float)L_19) < ((float)L_22))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// b.Min.Z = v.Z;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_23 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_24 = (&L_23->___Min_0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = ___0_v;
|
|
float L_26 = L_25->___Z_2;
|
|
L_24->___Z_2 = L_26;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// if (v.X > b.Max.X)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_27 = ___0_v;
|
|
float L_28 = L_27->___X_0;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_29 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_30 = (&L_29->___Max_1);
|
|
float L_31 = L_30->___X_0;
|
|
if ((!(((float)L_28) > ((float)L_31))))
|
|
{
|
|
goto IL_0090;
|
|
}
|
|
}
|
|
{
|
|
// b.Max.X = v.X;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_32 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_33 = (&L_32->___Max_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_34 = ___0_v;
|
|
float L_35 = L_34->___X_0;
|
|
L_33->___X_0 = L_35;
|
|
}
|
|
|
|
IL_0090:
|
|
{
|
|
// if (v.Y > b.Max.Y)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_36 = ___0_v;
|
|
float L_37 = L_36->___Y_1;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_38 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_39 = (&L_38->___Max_1);
|
|
float L_40 = L_39->___Y_1;
|
|
if ((!(((float)L_37) > ((float)L_40))))
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
}
|
|
{
|
|
// b.Max.Y = v.Y;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_41 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_42 = (&L_41->___Max_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_43 = ___0_v;
|
|
float L_44 = L_43->___Y_1;
|
|
L_42->___Y_1 = L_44;
|
|
}
|
|
|
|
IL_00b4:
|
|
{
|
|
// if (v.Z > b.Max.Z)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_45 = ___0_v;
|
|
float L_46 = L_45->___Z_2;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_47 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_48 = (&L_47->___Max_1);
|
|
float L_49 = L_48->___Z_2;
|
|
if ((!(((float)L_46) > ((float)L_49))))
|
|
{
|
|
goto IL_00d8;
|
|
}
|
|
}
|
|
{
|
|
// b.Max.Z = v.Z;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_50 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_51 = (&L_50->___Max_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_52 = ___0_v;
|
|
float L_53 = L_52->___Z_2;
|
|
L_51->___Z_2 = L_53;
|
|
}
|
|
|
|
IL_00d8:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable::ApplyPaddingToBounds(System.Single,SharpNav.Geometry.BBox3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleEnumerable_ApplyPaddingToBounds_mCD2C2D53352F2A77D069C0346EE085A98AEA31D0 (float ___0_pad, BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* ___1_b, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// b.Min.X -= pad;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_0 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = (&L_0->___Min_0);
|
|
float* L_2 = (&L_1->___X_0);
|
|
float* L_3 = L_2;
|
|
float L_4 = *((float*)L_3);
|
|
float L_5 = ___0_pad;
|
|
*((float*)L_3) = (float)((float)il2cpp_codegen_subtract(L_4, L_5));
|
|
// b.Min.Y -= pad;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_6 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = (&L_6->___Min_0);
|
|
float* L_8 = (&L_7->___Y_1);
|
|
float* L_9 = L_8;
|
|
float L_10 = *((float*)L_9);
|
|
float L_11 = ___0_pad;
|
|
*((float*)L_9) = (float)((float)il2cpp_codegen_subtract(L_10, L_11));
|
|
// b.Min.Z -= pad;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_12 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = (&L_12->___Min_0);
|
|
float* L_14 = (&L_13->___Z_2);
|
|
float* L_15 = L_14;
|
|
float L_16 = *((float*)L_15);
|
|
float L_17 = ___0_pad;
|
|
*((float*)L_15) = (float)((float)il2cpp_codegen_subtract(L_16, L_17));
|
|
// b.Max.X += pad;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_18 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = (&L_18->___Max_1);
|
|
float* L_20 = (&L_19->___X_0);
|
|
float* L_21 = L_20;
|
|
float L_22 = *((float*)L_21);
|
|
float L_23 = ___0_pad;
|
|
*((float*)L_21) = (float)((float)il2cpp_codegen_add(L_22, L_23));
|
|
// b.Max.Y += pad;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_24 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = (&L_24->___Max_1);
|
|
float* L_26 = (&L_25->___Y_1);
|
|
float* L_27 = L_26;
|
|
float L_28 = *((float*)L_27);
|
|
float L_29 = ___0_pad;
|
|
*((float*)L_27) = (float)((float)il2cpp_codegen_add(L_28, L_29));
|
|
// b.Max.Z += pad;
|
|
BBox3_t3137376E8C740EA32922AA4348ACC1FE1CE0C49C* L_30 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_31 = (&L_30->___Max_1);
|
|
float* L_32 = (&L_31->___Z_2);
|
|
float* L_33 = L_32;
|
|
float L_34 = *((float*)L_33);
|
|
float L_35 = ___0_pad;
|
|
*((float*)L_33) = (float)((float)il2cpp_codegen_add(L_34, L_35));
|
|
// }
|
|
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.Geometry.TriangleEnumerable/<FromTriangle>d__0::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromTriangleU3Ed__0__ctor_mDE190D3748B298A76442724D07BBD37294325414 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
int32_t L_1;
|
|
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
__this->___U3CU3El__initialThreadId_2 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromTriangleU3Ed__0_System_IDisposable_Dispose_m6592AF9B93021573BF880B0543E888F36C0B44FE (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CFromTriangleU3Ed__0_MoveNext_m402558DA60EA50A6984ABA01E8F467B255D11354 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
int32_t L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) == ((int32_t)1)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
__this->___U3CiU3E5__2_9 = 0;
|
|
goto IL_005e;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// yield return triangles[triOffset + i];
|
|
Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C* L_3 = __this->___triangles_3;
|
|
int32_t L_4 = __this->___triOffset_5;
|
|
int32_t L_5 = __this->___U3CiU3E5__2_9;
|
|
NullCheck(L_3);
|
|
int32_t L_6 = ((int32_t)il2cpp_codegen_add(L_4, L_5));
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_7 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
__this->___U3CU3E2__current_1 = L_7;
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_8 = __this->___U3CiU3E5__2_9;
|
|
V_1 = L_8;
|
|
int32_t L_9 = V_1;
|
|
__this->___U3CiU3E5__2_9 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_10 = __this->___U3CiU3E5__2_9;
|
|
int32_t L_11 = __this->___triCount_7;
|
|
if ((((int32_t)L_10) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.Collections.Generic.IEnumerator<SharpNav.Geometry.Triangle3>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB U3CFromTriangleU3Ed__0_System_Collections_Generic_IEnumeratorU3CSharpNav_Geometry_Triangle3U3E_get_Current_m5103A052F75399594FA2B07BB10FC55AA54EEC09 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromTriangleU3Ed__0_System_Collections_IEnumerator_Reset_m1B64445F3A54F3AD5BF63995B585EF11830A87E0 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CFromTriangleU3Ed__0_System_Collections_IEnumerator_Reset_m1B64445F3A54F3AD5BF63995B585EF11830A87E0_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromTriangleU3Ed__0_System_Collections_IEnumerator_get_Current_mF968DA3F38B0FAD068C84396D60D5ADDF38BF9B4 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var, &L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromTriangleU3Ed__0_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mC42FEC76A8A14FB619EF79889DC76BA9AF50E8E5 (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* V_0 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
|
|
int32_t L_2;
|
|
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
__this->___U3CU3E1__state_0 = 0;
|
|
V_0 = __this;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_3 = (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3*)il2cpp_codegen_object_new(U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
U3CFromTriangleU3Ed__0__ctor_mDE190D3748B298A76442724D07BBD37294325414(L_3, 0, NULL);
|
|
V_0 = L_3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_4 = V_0;
|
|
Triangle3U5BU5D_tA901756B3B9D181D5FBCAC26CDE18BAD4707B94C* L_5 = __this->___U3CU3E3__triangles_4;
|
|
NullCheck(L_4);
|
|
L_4->___triangles_3 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___triangles_3), (void*)L_5);
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_6 = V_0;
|
|
int32_t L_7 = __this->___U3CU3E3__triOffset_6;
|
|
NullCheck(L_6);
|
|
L_6->___triOffset_5 = L_7;
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_8 = V_0;
|
|
int32_t L_9 = __this->___U3CU3E3__triCount_8;
|
|
NullCheck(L_8);
|
|
L_8->___triCount_7 = L_9;
|
|
U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator SharpNav.Geometry.TriangleEnumerable/<FromTriangle>d__0::System.Collections.IEnumerable.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromTriangleU3Ed__0_System_Collections_IEnumerable_GetEnumerator_mEA1BADCB6F355DF19CEFC3DE25F6B73D3C3E277B (U3CFromTriangleU3Ed__0_t35C247AE6C4638C184EC3785512A1BE233E287E3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0;
|
|
L_0 = U3CFromTriangleU3Ed__0_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mC42FEC76A8A14FB619EF79889DC76BA9AF50E8E5(__this, NULL);
|
|
return L_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.Geometry.TriangleEnumerable/<FromVector3>d__1::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromVector3U3Ed__1__ctor_mB77B34454444A789ECE656E3F54BF1D1105B28A6 (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
int32_t L_1;
|
|
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
__this->___U3CU3El__initialThreadId_2 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromVector3U3Ed__1_System_IDisposable_Dispose_m76DA56621615D99042A7594FBABCB7ABE87A8D15 (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CFromVector3U3Ed__1_MoveNext_mAF8BC07CE9C015C6DF580D07BD45916A56F0FC30 (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
int32_t L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) == ((int32_t)1)))
|
|
{
|
|
goto IL_00bb;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// if (vertStride == 0)
|
|
int32_t L_3 = __this->___vertStride_3;
|
|
if (L_3)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// vertStride = 3;
|
|
__this->___vertStride_3 = 3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
__this->___U3CiU3E5__2_11 = 0;
|
|
goto IL_00d2;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// tri.A = vertices[i * vertStride + vertOffset];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_4 = __this->___vertices_5;
|
|
int32_t L_5 = __this->___U3CiU3E5__2_11;
|
|
int32_t L_6 = __this->___vertStride_3;
|
|
int32_t L_7 = __this->___vertOffset_7;
|
|
NullCheck(L_4);
|
|
int32_t L_8 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_5, L_6)), L_7));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
(&V_1)->___A_0 = L_9;
|
|
// tri.B = vertices[i * vertStride + vertOffset + 1];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_10 = __this->___vertices_5;
|
|
int32_t L_11 = __this->___U3CiU3E5__2_11;
|
|
int32_t L_12 = __this->___vertStride_3;
|
|
int32_t L_13 = __this->___vertOffset_7;
|
|
NullCheck(L_10);
|
|
int32_t L_14 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_11, L_12)), L_13)), 1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
(&V_1)->___B_1 = L_15;
|
|
// tri.C = vertices[i * vertStride + vertOffset + 2];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_16 = __this->___vertices_5;
|
|
int32_t L_17 = __this->___U3CiU3E5__2_11;
|
|
int32_t L_18 = __this->___vertStride_3;
|
|
int32_t L_19 = __this->___vertOffset_7;
|
|
NullCheck(L_16);
|
|
int32_t L_20 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_17, L_18)), L_19)), 2));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
(&V_1)->___C_2 = L_21;
|
|
// yield return tri;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_22 = V_1;
|
|
__this->___U3CU3E2__current_1 = L_22;
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00bb:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_23 = __this->___U3CiU3E5__2_11;
|
|
V_2 = L_23;
|
|
int32_t L_24 = V_2;
|
|
__this->___U3CiU3E5__2_11 = ((int32_t)il2cpp_codegen_add(L_24, 1));
|
|
}
|
|
|
|
IL_00d2:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_25 = __this->___U3CiU3E5__2_11;
|
|
int32_t L_26 = __this->___triCount_9;
|
|
if ((((int32_t)L_25) < ((int32_t)L_26)))
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.Collections.Generic.IEnumerator<SharpNav.Geometry.Triangle3>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB U3CFromVector3U3Ed__1_System_Collections_Generic_IEnumeratorU3CSharpNav_Geometry_Triangle3U3E_get_Current_mE9BFC3DEAEB86B405AA127AB4CF172019E0C60CA (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromVector3U3Ed__1_System_Collections_IEnumerator_Reset_mDE1615E4B023E0D6CF3ED2131D1B04C58B072B1E (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CFromVector3U3Ed__1_System_Collections_IEnumerator_Reset_mDE1615E4B023E0D6CF3ED2131D1B04C58B072B1E_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromVector3U3Ed__1_System_Collections_IEnumerator_get_Current_mE55E02E026549F34E8EE63BCC8A54C958A3F121A (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var, &L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromVector3U3Ed__1_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_m5DB9625C6453315AA20AF20606620EB136231F5C (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* V_0 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
|
|
int32_t L_2;
|
|
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
__this->___U3CU3E1__state_0 = 0;
|
|
V_0 = __this;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_3 = (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769*)il2cpp_codegen_object_new(U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
U3CFromVector3U3Ed__1__ctor_mB77B34454444A789ECE656E3F54BF1D1105B28A6(L_3, 0, NULL);
|
|
V_0 = L_3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_4 = V_0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = __this->___U3CU3E3__vertices_6;
|
|
NullCheck(L_4);
|
|
L_4->___vertices_5 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___vertices_5), (void*)L_5);
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_6 = V_0;
|
|
int32_t L_7 = __this->___U3CU3E3__vertOffset_8;
|
|
NullCheck(L_6);
|
|
L_6->___vertOffset_7 = L_7;
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_8 = V_0;
|
|
int32_t L_9 = __this->___U3CU3E3__vertStride_4;
|
|
NullCheck(L_8);
|
|
L_8->___vertStride_3 = L_9;
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_10 = V_0;
|
|
int32_t L_11 = __this->___U3CU3E3__triCount_10;
|
|
NullCheck(L_10);
|
|
L_10->___triCount_9 = L_11;
|
|
U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator SharpNav.Geometry.TriangleEnumerable/<FromVector3>d__1::System.Collections.IEnumerable.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromVector3U3Ed__1_System_Collections_IEnumerable_GetEnumerator_m6C72FE333AFF645E940D19F0E1B739FD2863C81C (U3CFromVector3U3Ed__1_t08F32A7258839B5E91B4649649A89694942CD769* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0;
|
|
L_0 = U3CFromVector3U3Ed__1_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_m5DB9625C6453315AA20AF20606620EB136231F5C(__this, NULL);
|
|
return L_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.Geometry.TriangleEnumerable/<FromFloat>d__2::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromFloatU3Ed__2__ctor_mAEFD9C5D7827797F1CF91B97877FC17E223F6250 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
int32_t L_1;
|
|
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
__this->___U3CU3El__initialThreadId_2 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromFloatU3Ed__2_System_IDisposable_Dispose_m1634B54EEF8F5363D8CDB0088E0CC713B300A90C (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CFromFloatU3Ed__2_MoveNext_m32729DE40C54FCFC1FE5260B7E4021C3D6E28A29 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB 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;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
int32_t L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) == ((int32_t)1)))
|
|
{
|
|
goto IL_0132;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// if (floatStride == 0)
|
|
int32_t L_3 = __this->___floatStride_3;
|
|
if (L_3)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// floatStride = 3;
|
|
__this->___floatStride_3 = 3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
__this->___U3CiU3E5__2_11 = 0;
|
|
goto IL_014b;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// int indA = i * (floatStride * 3) + floatOffset;
|
|
int32_t L_4 = __this->___U3CiU3E5__2_11;
|
|
int32_t L_5 = __this->___floatStride_3;
|
|
int32_t L_6 = __this->___floatOffset_5;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_4, ((int32_t)il2cpp_codegen_multiply(L_5, 3)))), L_6));
|
|
// int indB = indA + floatStride;
|
|
int32_t L_7 = V_2;
|
|
int32_t L_8 = __this->___floatStride_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_7, L_8));
|
|
// int indC = indB + floatStride;
|
|
int32_t L_9 = V_3;
|
|
int32_t L_10 = __this->___floatStride_3;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_9, L_10));
|
|
// tri.A.X = vertices[indA];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = (&(&V_1)->___A_0);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_12 = __this->___vertices_7;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
float L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
L_11->___X_0 = L_15;
|
|
// tri.A.Y = vertices[indA + 1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = (&(&V_1)->___A_0);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_17 = __this->___vertices_7;
|
|
int32_t L_18 = V_2;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = ((int32_t)il2cpp_codegen_add(L_18, 1));
|
|
float L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
L_16->___Y_1 = L_20;
|
|
// tri.A.Z = vertices[indA + 2];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_21 = (&(&V_1)->___A_0);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_22 = __this->___vertices_7;
|
|
int32_t L_23 = V_2;
|
|
NullCheck(L_22);
|
|
int32_t L_24 = ((int32_t)il2cpp_codegen_add(L_23, 2));
|
|
float L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
L_21->___Z_2 = L_25;
|
|
// tri.B.X = vertices[indB];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_26 = (&(&V_1)->___B_1);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_27 = __this->___vertices_7;
|
|
int32_t L_28 = V_3;
|
|
NullCheck(L_27);
|
|
int32_t L_29 = L_28;
|
|
float L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
L_26->___X_0 = L_30;
|
|
// tri.B.Y = vertices[indB + 1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_31 = (&(&V_1)->___B_1);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_32 = __this->___vertices_7;
|
|
int32_t L_33 = V_3;
|
|
NullCheck(L_32);
|
|
int32_t L_34 = ((int32_t)il2cpp_codegen_add(L_33, 1));
|
|
float L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
L_31->___Y_1 = L_35;
|
|
// tri.B.Z = vertices[indB + 2];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_36 = (&(&V_1)->___B_1);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_37 = __this->___vertices_7;
|
|
int32_t L_38 = V_3;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = ((int32_t)il2cpp_codegen_add(L_38, 2));
|
|
float L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
L_36->___Z_2 = L_40;
|
|
// tri.C.X = vertices[indC];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_41 = (&(&V_1)->___C_2);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_42 = __this->___vertices_7;
|
|
int32_t L_43 = V_4;
|
|
NullCheck(L_42);
|
|
int32_t L_44 = L_43;
|
|
float L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
|
|
L_41->___X_0 = L_45;
|
|
// tri.C.Y = vertices[indC + 1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_46 = (&(&V_1)->___C_2);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_47 = __this->___vertices_7;
|
|
int32_t L_48 = V_4;
|
|
NullCheck(L_47);
|
|
int32_t L_49 = ((int32_t)il2cpp_codegen_add(L_48, 1));
|
|
float L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
|
|
L_46->___Y_1 = L_50;
|
|
// tri.C.Z = vertices[indC + 2];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_51 = (&(&V_1)->___C_2);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_52 = __this->___vertices_7;
|
|
int32_t L_53 = V_4;
|
|
NullCheck(L_52);
|
|
int32_t L_54 = ((int32_t)il2cpp_codegen_add(L_53, 2));
|
|
float L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
L_51->___Z_2 = L_55;
|
|
// yield return tri;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_56 = V_1;
|
|
__this->___U3CU3E2__current_1 = L_56;
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0132:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_57 = __this->___U3CiU3E5__2_11;
|
|
V_5 = L_57;
|
|
int32_t L_58 = V_5;
|
|
__this->___U3CiU3E5__2_11 = ((int32_t)il2cpp_codegen_add(L_58, 1));
|
|
}
|
|
|
|
IL_014b:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_59 = __this->___U3CiU3E5__2_11;
|
|
int32_t L_60 = __this->___triCount_9;
|
|
if ((((int32_t)L_59) < ((int32_t)L_60)))
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.Collections.Generic.IEnumerator<SharpNav.Geometry.Triangle3>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB U3CFromFloatU3Ed__2_System_Collections_Generic_IEnumeratorU3CSharpNav_Geometry_Triangle3U3E_get_Current_m3A417D293B8C3A4BC4DDC54220D807A398BF043E (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromFloatU3Ed__2_System_Collections_IEnumerator_Reset_m7988672C2D96C94CFB43F6F35C99A4845E6D09C8 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CFromFloatU3Ed__2_System_Collections_IEnumerator_Reset_m7988672C2D96C94CFB43F6F35C99A4845E6D09C8_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromFloatU3Ed__2_System_Collections_IEnumerator_get_Current_m309F534F6A5600F5A31B4A12CB851C88449BBAE8 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var, &L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromFloatU3Ed__2_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mFB91F0DC7B3AD03DE560EA5E8ACEC3D4AF9567E9 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* V_0 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
|
|
int32_t L_2;
|
|
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
__this->___U3CU3E1__state_0 = 0;
|
|
V_0 = __this;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_3 = (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E*)il2cpp_codegen_object_new(U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
U3CFromFloatU3Ed__2__ctor_mAEFD9C5D7827797F1CF91B97877FC17E223F6250(L_3, 0, NULL);
|
|
V_0 = L_3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_4 = V_0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_5 = __this->___U3CU3E3__vertices_8;
|
|
NullCheck(L_4);
|
|
L_4->___vertices_7 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___vertices_7), (void*)L_5);
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_6 = V_0;
|
|
int32_t L_7 = __this->___U3CU3E3__floatOffset_6;
|
|
NullCheck(L_6);
|
|
L_6->___floatOffset_5 = L_7;
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_8 = V_0;
|
|
int32_t L_9 = __this->___U3CU3E3__floatStride_4;
|
|
NullCheck(L_8);
|
|
L_8->___floatStride_3 = L_9;
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_10 = V_0;
|
|
int32_t L_11 = __this->___U3CU3E3__triCount_10;
|
|
NullCheck(L_10);
|
|
L_10->___triCount_9 = L_11;
|
|
U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator SharpNav.Geometry.TriangleEnumerable/<FromFloat>d__2::System.Collections.IEnumerable.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromFloatU3Ed__2_System_Collections_IEnumerable_GetEnumerator_mD19CF9B62A41FB14E2A10E7241492EF797A44679 (U3CFromFloatU3Ed__2_t8C99E02073D088D56E065E0AAFA0702B51EDE97E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0;
|
|
L_0 = U3CFromFloatU3Ed__2_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mFB91F0DC7B3AD03DE560EA5E8ACEC3D4AF9567E9(__this, NULL);
|
|
return L_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.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedVector3U3Ed__3__ctor_m08284E6B163B093FB10BF6EF57509E48A1874435 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
int32_t L_1;
|
|
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
__this->___U3CU3El__initialThreadId_2 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedVector3U3Ed__3_System_IDisposable_Dispose_m97767BDB7E3585731AD25A6DD979E903EDE158F2 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CFromIndexedVector3U3Ed__3_MoveNext_m16814A4A3478A9173E5E6A56B53C5973DC89F621 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB 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;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
int32_t L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) == ((int32_t)1)))
|
|
{
|
|
goto IL_00e4;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
__this->___U3CiU3E5__2_15 = 0;
|
|
goto IL_00fd;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// int indA = vertOffset + indices[i * 3 + indexOffset] * vertStride;
|
|
int32_t L_3 = __this->___vertOffset_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = __this->___indices_5;
|
|
int32_t L_5 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_6 = __this->___indexOffset_7;
|
|
NullCheck(L_4);
|
|
int32_t L_7 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_5, 3)), L_6));
|
|
int32_t L_8 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
int32_t L_9 = __this->___vertStride_9;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_3, ((int32_t)il2cpp_codegen_multiply(L_8, L_9))));
|
|
// int indB = vertOffset + indices[i * 3 + indexOffset + 1] * vertStride;
|
|
int32_t L_10 = __this->___vertOffset_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = __this->___indices_5;
|
|
int32_t L_12 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_13 = __this->___indexOffset_7;
|
|
NullCheck(L_11);
|
|
int32_t L_14 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_12, 3)), L_13)), 1));
|
|
int32_t L_15 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
int32_t L_16 = __this->___vertStride_9;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_10, ((int32_t)il2cpp_codegen_multiply(L_15, L_16))));
|
|
// int indC = vertOffset + indices[i * 3 + indexOffset + 2] * vertStride;
|
|
int32_t L_17 = __this->___vertOffset_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_18 = __this->___indices_5;
|
|
int32_t L_19 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_20 = __this->___indexOffset_7;
|
|
NullCheck(L_18);
|
|
int32_t L_21 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_19, 3)), L_20)), 2));
|
|
int32_t L_22 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
int32_t L_23 = __this->___vertStride_9;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_17, ((int32_t)il2cpp_codegen_multiply(L_22, L_23))));
|
|
// tri.A = vertices[indA];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_24 = __this->___vertices_11;
|
|
int32_t L_25 = V_2;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
(&V_1)->___A_0 = L_27;
|
|
// tri.B = vertices[indB];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_28 = __this->___vertices_11;
|
|
int32_t L_29 = V_3;
|
|
NullCheck(L_28);
|
|
int32_t L_30 = L_29;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
|
|
(&V_1)->___B_1 = L_31;
|
|
// tri.C = vertices[indC];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_32 = __this->___vertices_11;
|
|
int32_t L_33 = V_4;
|
|
NullCheck(L_32);
|
|
int32_t L_34 = L_33;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
(&V_1)->___C_2 = L_35;
|
|
// yield return tri;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_36 = V_1;
|
|
__this->___U3CU3E2__current_1 = L_36;
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00e4:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_37 = __this->___U3CiU3E5__2_15;
|
|
V_5 = L_37;
|
|
int32_t L_38 = V_5;
|
|
__this->___U3CiU3E5__2_15 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00fd:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_39 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_40 = __this->___triCount_13;
|
|
if ((((int32_t)L_39) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.Collections.Generic.IEnumerator<SharpNav.Geometry.Triangle3>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB U3CFromIndexedVector3U3Ed__3_System_Collections_Generic_IEnumeratorU3CSharpNav_Geometry_Triangle3U3E_get_Current_mD3C1064B3BBE2F6B438AB04014F478F31B1D9749 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedVector3U3Ed__3_System_Collections_IEnumerator_Reset_m71DF58346A723603F0A48ED0775365B69B2D47AF (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CFromIndexedVector3U3Ed__3_System_Collections_IEnumerator_Reset_m71DF58346A723603F0A48ED0775365B69B2D47AF_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedVector3U3Ed__3_System_Collections_IEnumerator_get_Current_m048B50176EC00C15BDEA7CA2ECA2DE860AE28756 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var, &L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedVector3U3Ed__3_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mC5D59EDEC66512A77E73D9D069704319DCAFEB59 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* V_0 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
|
|
int32_t L_2;
|
|
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
__this->___U3CU3E1__state_0 = 0;
|
|
V_0 = __this;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_3 = (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5*)il2cpp_codegen_object_new(U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
U3CFromIndexedVector3U3Ed__3__ctor_m08284E6B163B093FB10BF6EF57509E48A1874435(L_3, 0, NULL);
|
|
V_0 = L_3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_4 = V_0;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = __this->___U3CU3E3__vertices_12;
|
|
NullCheck(L_4);
|
|
L_4->___vertices_11 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___vertices_11), (void*)L_5);
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_6 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___U3CU3E3__indices_6;
|
|
NullCheck(L_6);
|
|
L_6->___indices_5 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_6->___indices_5), (void*)L_7);
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_8 = V_0;
|
|
int32_t L_9 = __this->___U3CU3E3__vertOffset_4;
|
|
NullCheck(L_8);
|
|
L_8->___vertOffset_3 = L_9;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_10 = V_0;
|
|
int32_t L_11 = __this->___U3CU3E3__vertStride_10;
|
|
NullCheck(L_10);
|
|
L_10->___vertStride_9 = L_11;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_12 = V_0;
|
|
int32_t L_13 = __this->___U3CU3E3__indexOffset_8;
|
|
NullCheck(L_12);
|
|
L_12->___indexOffset_7 = L_13;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_14 = V_0;
|
|
int32_t L_15 = __this->___U3CU3E3__triCount_14;
|
|
NullCheck(L_14);
|
|
L_14->___triCount_13 = L_15;
|
|
U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* L_16 = V_0;
|
|
return L_16;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator SharpNav.Geometry.TriangleEnumerable/<FromIndexedVector3>d__3::System.Collections.IEnumerable.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedVector3U3Ed__3_System_Collections_IEnumerable_GetEnumerator_mF668B92FDC9869A8CCB7CF031B1511D527C7C991 (U3CFromIndexedVector3U3Ed__3_t33E70E5AE16B73261BB1438774E012492C01DFE5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0;
|
|
L_0 = U3CFromIndexedVector3U3Ed__3_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_mC5D59EDEC66512A77E73D9D069704319DCAFEB59(__this, NULL);
|
|
return L_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.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedFloatU3Ed__4__ctor_mE9A5FD9CBC3A28F0825F6FC0AE18CA3CC78A3090 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
int32_t L_1;
|
|
L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
__this->___U3CU3El__initialThreadId_2 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedFloatU3Ed__4_System_IDisposable_Dispose_m40578F8708DEBEE90E6E60B18FBD1877660CF0E7 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CFromIndexedFloatU3Ed__4_MoveNext_mF3555245A30C0CBDC228272F22E85188593A7A5B (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB 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;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
int32_t L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) == ((int32_t)1)))
|
|
{
|
|
goto IL_016d;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
__this->___U3CiU3E5__2_15 = 0;
|
|
goto IL_0186;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// int indA = floatOffset + indices[i * 3 + indexOffset] * floatStride;
|
|
int32_t L_3 = __this->___floatOffset_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = __this->___indices_5;
|
|
int32_t L_5 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_6 = __this->___indexOffset_7;
|
|
NullCheck(L_4);
|
|
int32_t L_7 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_5, 3)), L_6));
|
|
int32_t L_8 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
int32_t L_9 = __this->___floatStride_9;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_3, ((int32_t)il2cpp_codegen_multiply(L_8, L_9))));
|
|
// int indB = floatOffset + indices[i * 3 + indexOffset + 1] * floatStride;
|
|
int32_t L_10 = __this->___floatOffset_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = __this->___indices_5;
|
|
int32_t L_12 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_13 = __this->___indexOffset_7;
|
|
NullCheck(L_11);
|
|
int32_t L_14 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_12, 3)), L_13)), 1));
|
|
int32_t L_15 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
int32_t L_16 = __this->___floatStride_9;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_10, ((int32_t)il2cpp_codegen_multiply(L_15, L_16))));
|
|
// int indC = floatOffset + indices[i * 3 + indexOffset + 2] * floatStride;
|
|
int32_t L_17 = __this->___floatOffset_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_18 = __this->___indices_5;
|
|
int32_t L_19 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_20 = __this->___indexOffset_7;
|
|
NullCheck(L_18);
|
|
int32_t L_21 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_19, 3)), L_20)), 2));
|
|
int32_t L_22 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
int32_t L_23 = __this->___floatStride_9;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_17, ((int32_t)il2cpp_codegen_multiply(L_22, L_23))));
|
|
// tri.A.X = vertices[indA];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_24 = (&(&V_1)->___A_0);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_25 = __this->___vertices_11;
|
|
int32_t L_26 = V_2;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
float L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
L_24->___X_0 = L_28;
|
|
// tri.A.Y = vertices[indA + 1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_29 = (&(&V_1)->___A_0);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_30 = __this->___vertices_11;
|
|
int32_t L_31 = V_2;
|
|
NullCheck(L_30);
|
|
int32_t L_32 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
float L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
|
|
L_29->___Y_1 = L_33;
|
|
// tri.A.Z = vertices[indA + 2];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_34 = (&(&V_1)->___A_0);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_35 = __this->___vertices_11;
|
|
int32_t L_36 = V_2;
|
|
NullCheck(L_35);
|
|
int32_t L_37 = ((int32_t)il2cpp_codegen_add(L_36, 2));
|
|
float L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
L_34->___Z_2 = L_38;
|
|
// tri.B.X = vertices[indB];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_39 = (&(&V_1)->___B_1);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_40 = __this->___vertices_11;
|
|
int32_t L_41 = V_3;
|
|
NullCheck(L_40);
|
|
int32_t L_42 = L_41;
|
|
float L_43 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
|
|
L_39->___X_0 = L_43;
|
|
// tri.B.Y = vertices[indB + 1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_44 = (&(&V_1)->___B_1);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_45 = __this->___vertices_11;
|
|
int32_t L_46 = V_3;
|
|
NullCheck(L_45);
|
|
int32_t L_47 = ((int32_t)il2cpp_codegen_add(L_46, 1));
|
|
float L_48 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
|
|
L_44->___Y_1 = L_48;
|
|
// tri.B.Z = vertices[indB + 2];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_49 = (&(&V_1)->___B_1);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_50 = __this->___vertices_11;
|
|
int32_t L_51 = V_3;
|
|
NullCheck(L_50);
|
|
int32_t L_52 = ((int32_t)il2cpp_codegen_add(L_51, 2));
|
|
float L_53 = (L_50)->GetAt(static_cast<il2cpp_array_size_t>(L_52));
|
|
L_49->___Z_2 = L_53;
|
|
// tri.C.X = vertices[indC];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_54 = (&(&V_1)->___C_2);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_55 = __this->___vertices_11;
|
|
int32_t L_56 = V_4;
|
|
NullCheck(L_55);
|
|
int32_t L_57 = L_56;
|
|
float L_58 = (L_55)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
|
|
L_54->___X_0 = L_58;
|
|
// tri.C.Y = vertices[indC + 1];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_59 = (&(&V_1)->___C_2);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_60 = __this->___vertices_11;
|
|
int32_t L_61 = V_4;
|
|
NullCheck(L_60);
|
|
int32_t L_62 = ((int32_t)il2cpp_codegen_add(L_61, 1));
|
|
float L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
|
|
L_59->___Y_1 = L_63;
|
|
// tri.C.Z = vertices[indC + 2];
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_64 = (&(&V_1)->___C_2);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_65 = __this->___vertices_11;
|
|
int32_t L_66 = V_4;
|
|
NullCheck(L_65);
|
|
int32_t L_67 = ((int32_t)il2cpp_codegen_add(L_66, 2));
|
|
float L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
|
|
L_64->___Z_2 = L_68;
|
|
// yield return tri;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_69 = V_1;
|
|
__this->___U3CU3E2__current_1 = L_69;
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_016d:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_70 = __this->___U3CiU3E5__2_15;
|
|
V_5 = L_70;
|
|
int32_t L_71 = V_5;
|
|
__this->___U3CiU3E5__2_15 = ((int32_t)il2cpp_codegen_add(L_71, 1));
|
|
}
|
|
|
|
IL_0186:
|
|
{
|
|
// for (int i = 0; i < triCount; i++)
|
|
int32_t L_72 = __this->___U3CiU3E5__2_15;
|
|
int32_t L_73 = __this->___triCount_13;
|
|
if ((((int32_t)L_72) < ((int32_t)L_73)))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Triangle3 SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.Collections.Generic.IEnumerator<SharpNav.Geometry.Triangle3>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB U3CFromIndexedFloatU3Ed__4_System_Collections_Generic_IEnumeratorU3CSharpNav_Geometry_Triangle3U3E_get_Current_mDB4379771BAAD2C56629884004ACB3D3E5193646 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CFromIndexedFloatU3Ed__4_System_Collections_IEnumerator_Reset_mF895565DE765C5B70A7DF71F1F0F90868E4282CC (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CFromIndexedFloatU3Ed__4_System_Collections_IEnumerator_Reset_mF895565DE765C5B70A7DF71F1F0F90868E4282CC_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedFloatU3Ed__4_System_Collections_IEnumerator_get_Current_m98F73A10FEAC8C9B53F35D3236C77889BCE80F0B (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_0 = __this->___U3CU3E2__current_1;
|
|
Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Triangle3_t647A244EA652DCD9201C1A2EC2BFC20D1CDEC7AB_il2cpp_TypeInfo_var, &L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerator`1<SharpNav.Geometry.Triangle3> SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.Collections.Generic.IEnumerable<SharpNav.Geometry.Triangle3>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedFloatU3Ed__4_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_m4D181D1A0569338ADD4D97E50E6E2DE8C55F4FC2 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* V_0 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___U3CU3El__initialThreadId_2;
|
|
int32_t L_2;
|
|
L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
__this->___U3CU3E1__state_0 = 0;
|
|
V_0 = __this;
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_3 = (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574*)il2cpp_codegen_object_new(U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
U3CFromIndexedFloatU3Ed__4__ctor_mE9A5FD9CBC3A28F0825F6FC0AE18CA3CC78A3090(L_3, 0, NULL);
|
|
V_0 = L_3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_4 = V_0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_5 = __this->___U3CU3E3__vertices_12;
|
|
NullCheck(L_4);
|
|
L_4->___vertices_11 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___vertices_11), (void*)L_5);
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_6 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___U3CU3E3__indices_6;
|
|
NullCheck(L_6);
|
|
L_6->___indices_5 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_6->___indices_5), (void*)L_7);
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_8 = V_0;
|
|
int32_t L_9 = __this->___U3CU3E3__floatOffset_4;
|
|
NullCheck(L_8);
|
|
L_8->___floatOffset_3 = L_9;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_10 = V_0;
|
|
int32_t L_11 = __this->___U3CU3E3__floatStride_10;
|
|
NullCheck(L_10);
|
|
L_10->___floatStride_9 = L_11;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_12 = V_0;
|
|
int32_t L_13 = __this->___U3CU3E3__indexOffset_8;
|
|
NullCheck(L_12);
|
|
L_12->___indexOffset_7 = L_13;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_14 = V_0;
|
|
int32_t L_15 = __this->___U3CU3E3__triCount_14;
|
|
NullCheck(L_14);
|
|
L_14->___triCount_13 = L_15;
|
|
U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* L_16 = V_0;
|
|
return L_16;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator SharpNav.Geometry.TriangleEnumerable/<FromIndexedFloat>d__4::System.Collections.IEnumerable.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CFromIndexedFloatU3Ed__4_System_Collections_IEnumerable_GetEnumerator_m36F8E235A7FCE98D23AD201CD998F8871C2874D1 (U3CFromIndexedFloatU3Ed__4_tDD427F63697DBC464092E918BEABBEED243B0574* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0;
|
|
L_0 = U3CFromIndexedFloatU3Ed__4_System_Collections_Generic_IEnumerableU3CSharpNav_Geometry_Triangle3U3E_GetEnumerator_m4D181D1A0569338ADD4D97E50E6E2DE8C55F4FC2(__this, NULL);
|
|
return L_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.Geometry.Vector2::.ctor(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_mCC42BA3CEF943BD18E8FBDF273FCC2B0675A6464 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = value;
|
|
float L_0 = ___0_value;
|
|
__this->___X_1 = L_0;
|
|
// Y = value;
|
|
float L_1 = ___0_value;
|
|
__this->___Y_2 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2__ctor_mCC42BA3CEF943BD18E8FBDF273FCC2B0675A6464_AdjustorThunk (RuntimeObject* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2__ctor_mCC42BA3CEF943BD18E8FBDF273FCC2B0675A6464(_thisAdjusted, ___0_value, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = x;
|
|
float L_0 = ___0_x;
|
|
__this->___X_1 = L_0;
|
|
// Y = y;
|
|
float L_1 = ___1_y;
|
|
__this->___Y_2 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C_AdjustorThunk (RuntimeObject* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C(_thisAdjusted, ___0_x, ___1_y, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_m31483AC36F55C6E2C95AC602C15E56BF068E70FB (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = v.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_v;
|
|
float L_1 = L_0.___X_1;
|
|
__this->___X_1 = L_1;
|
|
// Y = v.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___0_v;
|
|
float L_3 = L_2.___Y_2;
|
|
__this->___Y_2 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2__ctor_m31483AC36F55C6E2C95AC602C15E56BF068E70FB_AdjustorThunk (RuntimeObject* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2__ctor_m31483AC36F55C6E2C95AC602C15E56BF068E70FB(_thisAdjusted, ___0_v, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::.ctor(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_m9773911EEFA069C4F7A0FFA13EC7D0B4D08D9009 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = v.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_v;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___X_1 = L_1;
|
|
// Y = v.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_v;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___Y_2 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2__ctor_m9773911EEFA069C4F7A0FFA13EC7D0B4D08D9009_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2__ctor_m9773911EEFA069C4F7A0FFA13EC7D0B4D08D9009(_thisAdjusted, ___0_v, method);
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector2::get_Length()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, 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;
|
|
}
|
|
{
|
|
// return (float)System.Math.Sqrt(X * X + Y * Y);
|
|
float L_0 = __this->___X_1;
|
|
float L_1 = __this->___X_1;
|
|
float L_2 = __this->___Y_2;
|
|
float L_3 = __this->___Y_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_4;
|
|
L_4 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3))))));
|
|
return ((float)L_4);
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector2::get_LengthSquared()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X * X + Y * Y;
|
|
float L_0 = __this->___X_1;
|
|
float L_1 = __this->___X_1;
|
|
float L_2 = __this->___Y_2;
|
|
float L_3 = __this->___Y_2;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3))));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::get_PerpendicularRight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_PerpendicularRight_m0064738B60204A626ABD242B416E441D73C2CE7E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector2(Y, -X);
|
|
float L_0 = __this->___Y_2;
|
|
float L_1 = __this->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_2), L_0, ((-L_1)), /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_PerpendicularRight_m0064738B60204A626ABD242B416E441D73C2CE7E_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 _returnValue;
|
|
_returnValue = Vector2_get_PerpendicularRight_m0064738B60204A626ABD242B416E441D73C2CE7E(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::get_PerpendicularLeft()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_PerpendicularLeft_m4E55C2C4B3209E5AE2D2D45E8721FAE78A328E7A (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector2(-Y, X);
|
|
float L_0 = __this->___Y_2;
|
|
float L_1 = __this->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_2), ((-L_0)), L_1, /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_PerpendicularLeft_m4E55C2C4B3209E5AE2D2D45E8721FAE78A328E7A_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 _returnValue;
|
|
_returnValue = Vector2_get_PerpendicularLeft_m4E55C2C4B3209E5AE2D2D45E8721FAE78A328E7A(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector2::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_get_Item_m7D399D8C10C3F98C7174F2F99267834C2A784A56 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (index == 0) return X;
|
|
int32_t L_0 = ___0_index;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (index == 0) return X;
|
|
float L_1 = __this->___X_1;
|
|
return L_1;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// else if (index == 1) return Y;
|
|
int32_t L_2 = ___0_index;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// else if (index == 1) return Y;
|
|
float L_3 = __this->___Y_2;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// throw new IndexOutOfRangeException("You tried to access this vector at index: " + index);
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___0_index), NULL);
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral80A75177AEE09C94944052B7950607896A0B4144)), L_4, NULL);
|
|
IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82* L_6 = (IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_6);
|
|
IndexOutOfRangeException__ctor_mFD06819F05B815BE2D6E826D4E04F4C449D0A425(L_6, L_5, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Vector2_get_Item_m7D399D8C10C3F98C7174F2F99267834C2A784A56_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Vector2_get_Item_m7D399D8C10C3F98C7174F2F99267834C2A784A56_AdjustorThunk (RuntimeObject* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Vector2_get_Item_m7D399D8C10C3F98C7174F2F99267834C2A784A56(_thisAdjusted, ___0_index, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::set_Item(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_set_Item_m2A6F69DD888D8BFE1D79FC88282E351859AE9D0E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, int32_t ___0_index, float ___1_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (index == 0) X = value;
|
|
int32_t L_0 = ___0_index;
|
|
if (L_0)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (index == 0) X = value;
|
|
float L_1 = ___1_value;
|
|
__this->___X_1 = L_1;
|
|
return;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// else if (index == 1) Y = value;
|
|
int32_t L_2 = ___0_index;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// else if (index == 1) Y = value;
|
|
float L_3 = ___1_value;
|
|
__this->___Y_2 = L_3;
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// else throw new IndexOutOfRangeException("You tried to set this vector at index: " + index);
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___0_index), NULL);
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral56E8B8AA35387D33D9D74E42B55118DA2CFC3917)), L_4, NULL);
|
|
IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82* L_6 = (IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_6);
|
|
IndexOutOfRangeException__ctor_mFD06819F05B815BE2D6E826D4E04F4C449D0A425(L_6, L_5, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Vector2_set_Item_m2A6F69DD888D8BFE1D79FC88282E351859AE9D0E_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2_set_Item_m2A6F69DD888D8BFE1D79FC88282E351859AE9D0E_AdjustorThunk (RuntimeObject* __this, int32_t ___0_index, float ___1_value, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_set_Item_m2A6F69DD888D8BFE1D79FC88282E351859AE9D0E(_thisAdjusted, ___0_index, ___1_value, method);
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Normalized()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Normalized_m1E0F0E8F3A1C480E6E17779428B20D1AA3FFDE0E (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector2 v = this;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = (*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)__this);
|
|
V_0 = L_0;
|
|
// v.Normalize();
|
|
Vector2_Normalize_m1A098ECCBD64165D30C6E96B45E2A30B800F97D6((&V_0), NULL);
|
|
// return v;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Normalized_m1E0F0E8F3A1C480E6E17779428B20D1AA3FFDE0E_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 _returnValue;
|
|
_returnValue = Vector2_Normalized_m1E0F0E8F3A1C480E6E17779428B20D1AA3FFDE0E(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Normalize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Normalize_m1A098ECCBD64165D30C6E96B45E2A30B800F97D6 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float scale = 1.0f / this.Length;
|
|
float L_0;
|
|
L_0 = Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C(__this, NULL);
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// X *= scale;
|
|
float L_1 = __this->___X_1;
|
|
float L_2 = V_0;
|
|
__this->___X_1 = ((float)il2cpp_codegen_multiply(L_1, L_2));
|
|
// Y *= scale;
|
|
float L_3 = __this->___Y_2;
|
|
float L_4 = V_0;
|
|
__this->___Y_2 = ((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2_Normalize_m1A098ECCBD64165D30C6E96B45E2A30B800F97D6_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_Normalize_m1A098ECCBD64165D30C6E96B45E2A30B800F97D6(_thisAdjusted, method);
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Add(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Add_m8BCA4E6EF188668A96A28F42F661031111C5F118 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Add(ref a, ref b, out a);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Add_m6BBB82D476F3892D93F0ECF468864BD15C73186B((&___0_a), (&___1_b), (&___0_a), NULL);
|
|
// return a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_a;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Add(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Add_m6BBB82D476F3892D93F0ECF468864BD15C73186B (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector2(a.X + b.X, a.Y + b.Y);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_a;
|
|
float L_6 = L_5->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___1_b;
|
|
float L_8 = L_7->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_9), ((float)il2cpp_codegen_add(L_2, L_4)), ((float)il2cpp_codegen_add(L_6, L_8)), /*hidden argument*/NULL);
|
|
*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_0 = L_9;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Subtract(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Subtract_mD2BCE63AD2DD0D09BE54CCDB126CF8C27B8E756D (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Subtract(ref a, ref b, out a);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Subtract_m7880EF2A0A41FDBE58BABC5BA8B2FCD63907FD21((&___0_a), (&___1_b), (&___0_a), NULL);
|
|
// return a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_a;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Subtract(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Subtract_m7880EF2A0A41FDBE58BABC5BA8B2FCD63907FD21 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector2(a.X - b.X, a.Y - b.Y);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_a;
|
|
float L_6 = L_5->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___1_b;
|
|
float L_8 = L_7->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_9), ((float)il2cpp_codegen_subtract(L_2, L_4)), ((float)il2cpp_codegen_subtract(L_6, L_8)), /*hidden argument*/NULL);
|
|
*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_0 = L_9;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Multiply(SharpNav.Geometry.Vector2,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Multiply_mB81E087BDDE7BF28FAE88540E95CE502286FE6C5 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vector, float ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Multiply(ref vector, scale, out vector);
|
|
float L_0 = ___1_scale;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Multiply_m91E41D510AA22BBBFE945946DB95A4F464A83932((&___0_vector), L_0, (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_1 = ___0_vector;
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Multiply(SharpNav.Geometry.Vector2&,System.Single,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Multiply_m91E41D510AA22BBBFE945946DB95A4F464A83932 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, float ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector2(vector.X * scale, vector.Y * scale);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_vector;
|
|
float L_2 = L_1->___X_1;
|
|
float L_3 = ___1_scale;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_4 = ___0_vector;
|
|
float L_5 = L_4->___Y_2;
|
|
float L_6 = ___1_scale;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_7;
|
|
memset((&L_7), 0, sizeof(L_7));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_7), ((float)il2cpp_codegen_multiply(L_2, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_6)), /*hidden argument*/NULL);
|
|
*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_0 = L_7;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Multiply(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Multiply_mA8A21C950D0133C8ABF912F39850A80DFC94BA3C (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vector, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Multiply(ref vector, ref scale, out vector);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Multiply_mA4F9D960A4D7E06606DE2D033D1513EE46566958((&___0_vector), (&___1_scale), (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_vector;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Multiply(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Multiply_mA4F9D960A4D7E06606DE2D033D1513EE46566958 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector2(vector.X * scale.X, vector.Y * scale.Y);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_vector;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_scale;
|
|
float L_4 = L_3->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_vector;
|
|
float L_6 = L_5->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___1_scale;
|
|
float L_8 = L_7->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_9), ((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8)), /*hidden argument*/NULL);
|
|
*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_0 = L_9;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Divide(SharpNav.Geometry.Vector2,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Divide_mABDCEF07205C87707CD74B6A633EEFF95C13E3A5 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vector, float ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Divide(ref vector, scale, out vector);
|
|
float L_0 = ___1_scale;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Divide_m062C6E34DBA07029AAE1E03DF0163EB966425A10((&___0_vector), L_0, (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_1 = ___0_vector;
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Divide(SharpNav.Geometry.Vector2&,System.Single,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Divide_m062C6E34DBA07029AAE1E03DF0163EB966425A10 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, float ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Multiply(ref vector, 1 / scale, out result);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___0_vector;
|
|
float L_1 = ___1_scale;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_2 = ___2_result;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Multiply_m91E41D510AA22BBBFE945946DB95A4F464A83932(L_0, ((float)((1.0f)/L_1)), L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Divide(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Divide_m9FF2AA626566915D290979A106932408763925AE (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vector, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Divide(ref vector, ref scale, out vector);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Divide_m2BF260F4B18213420A4A83FA97E47328E10BDC37((&___0_vector), (&___1_scale), (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_vector;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Divide(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Divide_m2BF260F4B18213420A4A83FA97E47328E10BDC37 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vector, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector2(vector.X / scale.X, vector.Y / scale.Y);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_vector;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_scale;
|
|
float L_4 = L_3->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_vector;
|
|
float L_6 = L_5->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___1_scale;
|
|
float L_8 = L_7->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_9), ((float)(L_2/L_4)), ((float)(L_6/L_8)), /*hidden argument*/NULL);
|
|
*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_0 = L_9;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::ComponentMin(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_ComponentMin_mD9D0133A66835E5627E7647F2FC7A12B377ECBF3 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B2_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B3_1 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B5_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B6_1 = NULL;
|
|
{
|
|
// a.X = a.X < b.X ? a.X : b.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_a;
|
|
float L_1 = L_0.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_b;
|
|
float L_3 = L_2.___X_1;
|
|
G_B1_0 = (&___0_a);
|
|
if ((((float)L_1) < ((float)L_3)))
|
|
{
|
|
G_B2_0 = (&___0_a);
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___1_b;
|
|
float L_5 = L_4.___X_1;
|
|
G_B3_0 = L_5;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6 = ___0_a;
|
|
float L_7 = L_6.___X_1;
|
|
G_B3_0 = L_7;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
G_B3_1->___X_1 = G_B3_0;
|
|
// a.Y = a.Y < b.Y ? a.Y : b.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___0_a;
|
|
float L_9 = L_8.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___1_b;
|
|
float L_11 = L_10.___Y_2;
|
|
G_B4_0 = (&___0_a);
|
|
if ((((float)L_9) < ((float)L_11)))
|
|
{
|
|
G_B5_0 = (&___0_a);
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_12 = ___1_b;
|
|
float L_13 = L_12.___Y_2;
|
|
G_B6_0 = L_13;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_14 = ___0_a;
|
|
float L_15 = L_14.___Y_2;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
G_B6_1->___Y_2 = G_B6_0;
|
|
// return a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_16 = ___0_a;
|
|
return L_16;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::ComponentMin(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_ComponentMin_m74CC7430A15EB6065E3A1C7003CC9A77E593525F (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B2_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B3_1 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B5_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B6_1 = NULL;
|
|
{
|
|
// result.X = a.X < b.X ? a.X : b.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_1;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) < ((float)L_4)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___1_b;
|
|
float L_6 = L_5->___X_1;
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___0_a;
|
|
float L_8 = L_7->___X_1;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
G_B3_1->___X_1 = G_B3_0;
|
|
// result.Y = a.Y < b.Y ? a.Y : b.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_9 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_10 = ___0_a;
|
|
float L_11 = L_10->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_12 = ___1_b;
|
|
float L_13 = L_12->___Y_2;
|
|
G_B4_0 = L_9;
|
|
if ((((float)L_11) < ((float)L_13)))
|
|
{
|
|
G_B5_0 = L_9;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_14 = ___1_b;
|
|
float L_15 = L_14->___Y_2;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_16 = ___0_a;
|
|
float L_17 = L_16->___Y_2;
|
|
G_B6_0 = L_17;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B6_1->___Y_2 = G_B6_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::ComponentMax(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_ComponentMax_mE0B659DD7E7A8424BA0BC2F6A58A8D84D60C3E36 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B2_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B3_1 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B5_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B6_1 = NULL;
|
|
{
|
|
// a.X = a.X > b.X ? a.X : b.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_a;
|
|
float L_1 = L_0.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_b;
|
|
float L_3 = L_2.___X_1;
|
|
G_B1_0 = (&___0_a);
|
|
if ((((float)L_1) > ((float)L_3)))
|
|
{
|
|
G_B2_0 = (&___0_a);
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___1_b;
|
|
float L_5 = L_4.___X_1;
|
|
G_B3_0 = L_5;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6 = ___0_a;
|
|
float L_7 = L_6.___X_1;
|
|
G_B3_0 = L_7;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
G_B3_1->___X_1 = G_B3_0;
|
|
// a.Y = a.Y > b.Y ? a.Y : b.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___0_a;
|
|
float L_9 = L_8.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___1_b;
|
|
float L_11 = L_10.___Y_2;
|
|
G_B4_0 = (&___0_a);
|
|
if ((((float)L_9) > ((float)L_11)))
|
|
{
|
|
G_B5_0 = (&___0_a);
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_12 = ___1_b;
|
|
float L_13 = L_12.___Y_2;
|
|
G_B6_0 = L_13;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_14 = ___0_a;
|
|
float L_15 = L_14.___Y_2;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
G_B6_1->___Y_2 = G_B6_0;
|
|
// return a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_16 = ___0_a;
|
|
return L_16;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::ComponentMax(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_ComponentMax_m3C32F11EBD613B6988F60DB3025712553DD7120C (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B2_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B3_1 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B5_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B6_1 = NULL;
|
|
{
|
|
// result.X = a.X > b.X ? a.X : b.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_1;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) > ((float)L_4)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___1_b;
|
|
float L_6 = L_5->___X_1;
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___0_a;
|
|
float L_8 = L_7->___X_1;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
G_B3_1->___X_1 = G_B3_0;
|
|
// result.Y = a.Y > b.Y ? a.Y : b.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_9 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_10 = ___0_a;
|
|
float L_11 = L_10->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_12 = ___1_b;
|
|
float L_13 = L_12->___Y_2;
|
|
G_B4_0 = L_9;
|
|
if ((((float)L_11) > ((float)L_13)))
|
|
{
|
|
G_B5_0 = L_9;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_14 = ___1_b;
|
|
float L_15 = L_14->___Y_2;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_16 = ___0_a;
|
|
float L_17 = L_16->___Y_2;
|
|
G_B6_0 = L_17;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B6_1->___Y_2 = G_B6_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Min(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Min_m81EA26220182B268429586ABC527D08152DA9212 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.LengthSquared < right.LengthSquared ? left : right;
|
|
float L_0;
|
|
L_0 = Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E((&___0_left), NULL);
|
|
float L_1;
|
|
L_1 = Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E((&___1_right), NULL);
|
|
if ((((float)L_0) < ((float)L_1)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_right;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___0_left;
|
|
return L_3;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Max(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Max_m244537F4966C073DFE5EC00FFBD0DF30EB2BA689 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.LengthSquared >= right.LengthSquared ? left : right;
|
|
float L_0;
|
|
L_0 = Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E((&___0_left), NULL);
|
|
float L_1;
|
|
L_1 = Vector2_get_LengthSquared_m65BB194453CD0FA949F1E114DA4DBEEA10F31C7E((&___1_right), NULL);
|
|
if ((((float)L_0) >= ((float)L_1)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_right;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___0_left;
|
|
return L_3;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Clamp(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Clamp_m7DBB3F2677F6966F4217FCE24DF6EE4B48EE4DA6 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vec, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_min, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___2_max, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B4_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B1_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B3_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B2_0 = NULL;
|
|
float G_B5_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B5_1 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B9_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B6_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B8_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B7_0 = NULL;
|
|
float G_B10_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B10_1 = NULL;
|
|
{
|
|
// vec.X = vec.X < min.X ? min.X : vec.X > max.X ? max.X : vec.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_vec;
|
|
float L_1 = L_0.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_min;
|
|
float L_3 = L_2.___X_1;
|
|
G_B1_0 = (&___0_vec);
|
|
if ((((float)L_1) < ((float)L_3)))
|
|
{
|
|
G_B4_0 = (&___0_vec);
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___0_vec;
|
|
float L_5 = L_4.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6 = ___2_max;
|
|
float L_7 = L_6.___X_1;
|
|
G_B2_0 = G_B1_0;
|
|
if ((((float)L_5) > ((float)L_7)))
|
|
{
|
|
G_B3_0 = G_B1_0;
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___0_vec;
|
|
float L_9 = L_8.___X_1;
|
|
G_B5_0 = L_9;
|
|
G_B5_1 = G_B2_0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___2_max;
|
|
float L_11 = L_10.___X_1;
|
|
G_B5_0 = L_11;
|
|
G_B5_1 = G_B3_0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_12 = ___1_min;
|
|
float L_13 = L_12.___X_1;
|
|
G_B5_0 = L_13;
|
|
G_B5_1 = G_B4_0;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
G_B5_1->___X_1 = G_B5_0;
|
|
// vec.Y = vec.Y < min.Y ? min.Y : vec.Y > max.Y ? max.Y : vec.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_14 = ___0_vec;
|
|
float L_15 = L_14.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_16 = ___1_min;
|
|
float L_17 = L_16.___Y_2;
|
|
G_B6_0 = (&___0_vec);
|
|
if ((((float)L_15) < ((float)L_17)))
|
|
{
|
|
G_B9_0 = (&___0_vec);
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_18 = ___0_vec;
|
|
float L_19 = L_18.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_20 = ___2_max;
|
|
float L_21 = L_20.___Y_2;
|
|
G_B7_0 = G_B6_0;
|
|
if ((((float)L_19) > ((float)L_21)))
|
|
{
|
|
G_B8_0 = G_B6_0;
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_22 = ___0_vec;
|
|
float L_23 = L_22.___Y_2;
|
|
G_B10_0 = L_23;
|
|
G_B10_1 = G_B7_0;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_24 = ___2_max;
|
|
float L_25 = L_24.___Y_2;
|
|
G_B10_0 = L_25;
|
|
G_B10_1 = G_B8_0;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_26 = ___1_min;
|
|
float L_27 = L_26.___Y_2;
|
|
G_B10_0 = L_27;
|
|
G_B10_1 = G_B9_0;
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
G_B10_1->___Y_2 = G_B10_0;
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_28 = ___0_vec;
|
|
return L_28;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Clamp(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Clamp_mDC5101BD51F05D4674308A3C4FA375DEAD4C3028 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vec, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_min, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_max, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___3_result, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B4_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B1_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B3_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B2_0 = NULL;
|
|
float G_B5_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B5_1 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B9_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B6_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B8_0 = NULL;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B7_0 = NULL;
|
|
float G_B10_0 = 0.0f;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* G_B10_1 = NULL;
|
|
{
|
|
// result.X = vec.X < min.X ? min.X : vec.X > max.X ? max.X : vec.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___3_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_vec;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_min;
|
|
float L_4 = L_3->___X_1;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) < ((float)L_4)))
|
|
{
|
|
G_B4_0 = L_0;
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_vec;
|
|
float L_6 = L_5->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___2_max;
|
|
float L_8 = L_7->___X_1;
|
|
G_B2_0 = G_B1_0;
|
|
if ((((float)L_6) > ((float)L_8)))
|
|
{
|
|
G_B3_0 = G_B1_0;
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_9 = ___0_vec;
|
|
float L_10 = L_9->___X_1;
|
|
G_B5_0 = L_10;
|
|
G_B5_1 = G_B2_0;
|
|
goto IL_0033;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_11 = ___2_max;
|
|
float L_12 = L_11->___X_1;
|
|
G_B5_0 = L_12;
|
|
G_B5_1 = G_B3_0;
|
|
goto IL_0033;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_13 = ___1_min;
|
|
float L_14 = L_13->___X_1;
|
|
G_B5_0 = L_14;
|
|
G_B5_1 = G_B4_0;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
G_B5_1->___X_1 = G_B5_0;
|
|
// result.Y = vec.Y < min.Y ? min.Y : vec.Y > max.Y ? max.Y : vec.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_15 = ___3_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_16 = ___0_vec;
|
|
float L_17 = L_16->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_18 = ___1_min;
|
|
float L_19 = L_18->___Y_2;
|
|
G_B6_0 = L_15;
|
|
if ((((float)L_17) < ((float)L_19)))
|
|
{
|
|
G_B9_0 = L_15;
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_20 = ___0_vec;
|
|
float L_21 = L_20->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_22 = ___2_max;
|
|
float L_23 = L_22->___Y_2;
|
|
G_B7_0 = G_B6_0;
|
|
if ((((float)L_21) > ((float)L_23)))
|
|
{
|
|
G_B8_0 = G_B6_0;
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_24 = ___0_vec;
|
|
float L_25 = L_24->___Y_2;
|
|
G_B10_0 = L_25;
|
|
G_B10_1 = G_B7_0;
|
|
goto IL_006b;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_26 = ___2_max;
|
|
float L_27 = L_26->___Y_2;
|
|
G_B10_0 = L_27;
|
|
G_B10_1 = G_B8_0;
|
|
goto IL_006b;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_28 = ___1_min;
|
|
float L_29 = L_28->___Y_2;
|
|
G_B10_0 = L_29;
|
|
G_B10_1 = G_B9_0;
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
G_B10_1->___Y_2 = G_B10_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Normalize(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Normalize_m38E52768910177B9D392BCD27EDDF0BCFEAC7FA3 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vec, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float scale = 1.0f / vec.Length;
|
|
float L_0;
|
|
L_0 = Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C((&___0_vec), NULL);
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// vec.X *= scale;
|
|
float* L_1 = (&(&___0_vec)->___X_1);
|
|
float* L_2 = L_1;
|
|
float L_3 = *((float*)L_2);
|
|
float L_4 = V_0;
|
|
*((float*)L_2) = (float)((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// vec.Y *= scale;
|
|
float* L_5 = (&(&___0_vec)->___Y_2);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
float L_8 = V_0;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9 = ___0_vec;
|
|
return L_9;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Normalize(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Normalize_mCBC7D9FAB1822292D713E3D7E0EE9463FCCF04BC (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_vec, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_result, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float scale = 1.0f / vec.Length;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___0_vec;
|
|
float L_1;
|
|
L_1 = Vector2_get_Length_m81813035A303EE150F67AC4BF98CA49B83A9EB3C(L_0, NULL);
|
|
V_0 = ((float)((1.0f)/L_1));
|
|
// result.X = vec.X * scale;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_2 = ___1_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___0_vec;
|
|
float L_4 = L_3->___X_1;
|
|
float L_5 = V_0;
|
|
L_2->___X_1 = ((float)il2cpp_codegen_multiply(L_4, L_5));
|
|
// result.Y = vec.Y * scale;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_6 = ___1_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___0_vec;
|
|
float L_8 = L_7->___Y_2;
|
|
float L_9 = V_0;
|
|
L_6->___Y_2 = ((float)il2cpp_codegen_multiply(L_8, L_9));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector2::Dot(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_Dot_mC571A07CCF0CCC5385BDCB9059025578DA748653 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.X * right.X + left.Y * right.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_left;
|
|
float L_1 = L_0.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_right;
|
|
float L_3 = L_2.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___0_left;
|
|
float L_5 = L_4.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6 = ___1_right;
|
|
float L_7 = L_6.___Y_2;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7))));
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Dot(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Dot_m3078ECD33D8320530790D3A8C135FDB0D70A9EDC (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_right, float* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = left.X * right.X + left.Y * right.Y;
|
|
float* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_left;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_right;
|
|
float L_4 = L_3->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_left;
|
|
float L_6 = L_5->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___1_right;
|
|
float L_8 = L_7->___Y_2;
|
|
*((float*)L_0) = (float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector2::PerpDot(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector2_PerpDot_m5204FBFF6F68F594CCC8A574FF28963F82B8DBF7 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.X * right.Y - left.Y * right.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_left;
|
|
float L_1 = L_0.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_right;
|
|
float L_3 = L_2.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___0_left;
|
|
float L_5 = L_4.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6 = ___1_right;
|
|
float L_7 = L_6.___X_1;
|
|
return ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7))));
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::PerpDot(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_PerpDot_mE1A663F785CAE50FB2454959ED84EF136B0ADCCD (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_right, float* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = left.X * right.Y - left.Y * right.X;
|
|
float* L_0 = ___2_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_left;
|
|
float L_2 = L_1->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_right;
|
|
float L_4 = L_3->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_left;
|
|
float L_6 = L_5->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___1_right;
|
|
float L_8 = L_7->___X_1;
|
|
*((float*)L_0) = (float)((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::Lerp(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_Lerp_m96B841AE80BF6AE11A20E0C03C92E3F6C28070E3 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_b, float ___2_blend, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// a.X = blend * (b.X - a.X) + a.X;
|
|
float L_0 = ___2_blend;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_1 = ___1_b;
|
|
float L_2 = L_1.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___0_a;
|
|
float L_4 = L_3.___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_5 = ___0_a;
|
|
float L_6 = L_5.___X_1;
|
|
(&___0_a)->___X_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, ((float)il2cpp_codegen_subtract(L_2, L_4)))), L_6));
|
|
// a.Y = blend * (b.Y - a.Y) + a.Y;
|
|
float L_7 = ___2_blend;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___1_b;
|
|
float L_9 = L_8.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___0_a;
|
|
float L_11 = L_10.___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_12 = ___0_a;
|
|
float L_13 = L_12.___Y_2;
|
|
(&___0_a)->___Y_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_7, ((float)il2cpp_codegen_subtract(L_9, L_11)))), L_13));
|
|
// return a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_14 = ___0_a;
|
|
return L_14;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::Lerp(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,System.Single,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_Lerp_m9E8B50B174B864DDC1E0F8D1AB500644265CFD50 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, float ___2_blend, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___3_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result.X = blend * (b.X - a.X) + a.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___3_result;
|
|
float L_1 = ___2_blend;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_2 = ___1_b;
|
|
float L_3 = L_2->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_4 = ___0_a;
|
|
float L_5 = L_4->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_6 = ___0_a;
|
|
float L_7 = L_6->___X_1;
|
|
L_0->___X_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, ((float)il2cpp_codegen_subtract(L_3, L_5)))), L_7));
|
|
// result.Y = blend * (b.Y - a.Y) + a.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_8 = ___3_result;
|
|
float L_9 = ___2_blend;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_10 = ___1_b;
|
|
float L_11 = L_10->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_12 = ___0_a;
|
|
float L_13 = L_12->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_14 = ___0_a;
|
|
float L_15 = L_14->___Y_2;
|
|
L_8->___Y_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_9, ((float)il2cpp_codegen_subtract(L_11, L_13)))), L_15));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::BaryCentric(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_BaryCentric_m1C85F9496DF1F46BCF5287EBDE9AE0E166019371 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___2_c, float ___3_u, float ___4_v, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return a + u * (b - a) + v * (c - a);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_a;
|
|
float L_1 = ___3_u;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___1_b;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___0_a;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4;
|
|
L_4 = Vector2_op_Subtraction_mB4B8317EE4139FFBE57378440786B3A9F7FC6986(L_2, L_3, NULL);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_5;
|
|
L_5 = Vector2_op_Multiply_m28703A5C4FF9283B7B4F4BD0D5E4AD42A1FF2725(L_1, L_4, NULL);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6;
|
|
L_6 = Vector2_op_Addition_m061FC53B1E96FC753312DB5946F24411A9E7DC06(L_0, L_5, NULL);
|
|
float L_7 = ___4_v;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___2_c;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9 = ___0_a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10;
|
|
L_10 = Vector2_op_Subtraction_mB4B8317EE4139FFBE57378440786B3A9F7FC6986(L_8, L_9, NULL);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_11;
|
|
L_11 = Vector2_op_Multiply_m28703A5C4FF9283B7B4F4BD0D5E4AD42A1FF2725(L_7, L_10, NULL);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_12;
|
|
L_12 = Vector2_op_Addition_m061FC53B1E96FC753312DB5946F24411A9E7DC06(L_6, L_11, NULL);
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::BaryCentric(SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,SharpNav.Geometry.Vector2&,System.Single,System.Single,SharpNav.Geometry.Vector2&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_BaryCentric_m9A72C9C7AD671AFB1C7705587ECA39C49E528436 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___0_a, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___1_b, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___2_c, float ___3_u, float ___4_v, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* ___5_result, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// result = a; // copy
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_0 = ___5_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_1 = ___0_a;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = (*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_1);
|
|
*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_0 = L_2;
|
|
// Vector2 temp = b; // copy
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_3 = ___1_b;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = (*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_3);
|
|
V_0 = L_4;
|
|
// Subtract(ref temp, ref a, out temp);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_5 = ___0_a;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
Vector2_Subtract_m7880EF2A0A41FDBE58BABC5BA8B2FCD63907FD21((&V_0), L_5, (&V_0), NULL);
|
|
// Multiply(ref temp, u, out temp);
|
|
float L_6 = ___3_u;
|
|
Vector2_Multiply_m91E41D510AA22BBBFE945946DB95A4F464A83932((&V_0), L_6, (&V_0), NULL);
|
|
// Add(ref result, ref temp, out result);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_7 = ___5_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_8 = ___5_result;
|
|
Vector2_Add_m6BBB82D476F3892D93F0ECF468864BD15C73186B(L_7, (&V_0), L_8, NULL);
|
|
// temp = c; // copy
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_9 = ___2_c;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = (*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)L_9);
|
|
V_0 = L_10;
|
|
// Subtract(ref temp, ref a, out temp);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_11 = ___0_a;
|
|
Vector2_Subtract_m7880EF2A0A41FDBE58BABC5BA8B2FCD63907FD21((&V_0), L_11, (&V_0), NULL);
|
|
// Multiply(ref temp, v, out temp);
|
|
float L_12 = ___4_v;
|
|
Vector2_Multiply_m91E41D510AA22BBBFE945946DB95A4F464A83932((&V_0), L_12, (&V_0), NULL);
|
|
// Add(ref result, ref temp, out result);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_13 = ___5_result;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* L_14 = ___5_result;
|
|
Vector2_Add_m6BBB82D476F3892D93F0ECF468864BD15C73186B(L_13, (&V_0), L_14, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::get_Yx()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_Yx_m4AF2FBDC490C1A0A4681CE3061125586336D3B3F (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector2(Y, X);
|
|
float L_0 = __this->___Y_2;
|
|
float L_1 = __this->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_2), L_0, L_1, /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_get_Yx_m4AF2FBDC490C1A0A4681CE3061125586336D3B3F_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 _returnValue;
|
|
_returnValue = Vector2_get_Yx_m4AF2FBDC490C1A0A4681CE3061125586336D3B3F(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::set_Yx(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2_set_Yx_m089A67AB1DF7D3BEFBFBCC1E0679955563EF54C9 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Y = value.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_value;
|
|
float L_1 = L_0.___X_1;
|
|
__this->___Y_2 = L_1;
|
|
// X = value.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___0_value;
|
|
float L_3 = L_2.___Y_2;
|
|
__this->___X_1 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2_set_Yx_m089A67AB1DF7D3BEFBFBCC1E0679955563EF54C9_AdjustorThunk (RuntimeObject* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
Vector2_set_Yx_m089A67AB1DF7D3BEFBFBCC1E0679955563EF54C9(_thisAdjusted, ___0_value, method);
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Addition(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Addition_m061FC53B1E96FC753312DB5946F24411A9E7DC06 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// left.X += right.X;
|
|
float* L_0 = (&(&___0_left)->___X_1);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___1_right;
|
|
float L_4 = L_3.___X_1;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_add(L_2, L_4));
|
|
// left.Y += right.Y;
|
|
float* L_5 = (&(&___0_left)->___Y_2);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___1_right;
|
|
float L_9 = L_8.___Y_2;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_add(L_7, L_9));
|
|
// return left;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___0_left;
|
|
return L_10;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Subtraction(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Subtraction_mB4B8317EE4139FFBE57378440786B3A9F7FC6986 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// left.X -= right.X;
|
|
float* L_0 = (&(&___0_left)->___X_1);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___1_right;
|
|
float L_4 = L_3.___X_1;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_subtract(L_2, L_4));
|
|
// left.Y -= right.Y;
|
|
float* L_5 = (&(&___0_left)->___Y_2);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___1_right;
|
|
float L_9 = L_8.___Y_2;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_subtract(L_7, L_9));
|
|
// return left;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___0_left;
|
|
return L_10;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_UnaryNegation(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_UnaryNegation_m1B9F0BD41B54980275EE88FE48049E9394449DD7 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vec, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X = -vec.X;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___0_vec;
|
|
float L_1 = L_0.___X_1;
|
|
(&___0_vec)->___X_1 = ((-L_1));
|
|
// vec.Y = -vec.Y;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_2 = ___0_vec;
|
|
float L_3 = L_2.___Y_2;
|
|
(&___0_vec)->___Y_2 = ((-L_3));
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___0_vec;
|
|
return L_4;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Multiply(SharpNav.Geometry.Vector2,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Multiply_m5483B6B15FC5AC6716D59D378720FB4CAB0A76B9 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vec, float ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X *= scale;
|
|
float* L_0 = (&(&___0_vec)->___X_1);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
float L_3 = ___1_scale;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// vec.Y *= scale;
|
|
float* L_4 = (&(&___0_vec)->___Y_2);
|
|
float* L_5 = L_4;
|
|
float L_6 = *((float*)L_5);
|
|
float L_7 = ___1_scale;
|
|
*((float*)L_5) = (float)((float)il2cpp_codegen_multiply(L_6, L_7));
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___0_vec;
|
|
return L_8;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Multiply(System.Single,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Multiply_m28703A5C4FF9283B7B4F4BD0D5E4AD42A1FF2725 (float ___0_scale, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_vec, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X *= scale;
|
|
float* L_0 = (&(&___1_vec)->___X_1);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
float L_3 = ___0_scale;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// vec.Y *= scale;
|
|
float* L_4 = (&(&___1_vec)->___Y_2);
|
|
float* L_5 = L_4;
|
|
float L_6 = *((float*)L_5);
|
|
float L_7 = ___0_scale;
|
|
*((float*)L_5) = (float)((float)il2cpp_codegen_multiply(L_6, L_7));
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___1_vec;
|
|
return L_8;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Multiply(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Multiply_m2CB6EF542BCBCAF4D61E7671FB3D6935F1BB6796 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vec, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X *= scale.X;
|
|
float* L_0 = (&(&___0_vec)->___X_1);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3 = ___1_scale;
|
|
float L_4 = L_3.___X_1;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_4));
|
|
// vec.Y *= scale.Y;
|
|
float* L_5 = (&(&___0_vec)->___Y_2);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_8 = ___1_scale;
|
|
float L_9 = L_8.___Y_2;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_9));
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_10 = ___0_vec;
|
|
return L_10;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector2 SharpNav.Geometry.Vector2::op_Division(SharpNav.Geometry.Vector2,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 Vector2_op_Division_m17A65562ED7465678EAFC1ECF18F818BD78B2BC7 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_vec, float ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float mult = 1.0f / scale;
|
|
float L_0 = ___1_scale;
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// vec.X *= mult;
|
|
float* L_1 = (&(&___0_vec)->___X_1);
|
|
float* L_2 = L_1;
|
|
float L_3 = *((float*)L_2);
|
|
float L_4 = V_0;
|
|
*((float*)L_2) = (float)((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// vec.Y *= mult;
|
|
float* L_5 = (&(&___0_vec)->___Y_2);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
float L_8 = V_0;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
// return vec;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_9 = ___0_vec;
|
|
return L_9;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2::op_Equality(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_op_Equality_mAF26C05E402B5579ECD97A85F5E2F876B655AF24 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2::op_Inequality(SharpNav.Geometry.Vector2,SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_op_Inequality_m13C75C59E1D12C952DA71456F5DCC03AF78BDF2D (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_left, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !left.Equals(right);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124((&___0_left), L_0, NULL);
|
|
return (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.String SharpNav.Geometry.Vector2::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Vector2_ToString_m8F4A03F94D0EC7E6BFE86D50F19178309CE58ECD (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE8FDBBA5D9EA79751DDA519E9D6286CA2CC3347D);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return string.Format("({0}{2} {1})", X, Y, listSeparator);
|
|
float L_0 = __this->___X_1;
|
|
float L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var, &L_1);
|
|
float L_3 = __this->___Y_2;
|
|
float L_4 = L_3;
|
|
RuntimeObject* L_5 = Box(Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var, &L_4);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
String_t* L_6 = ((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___listSeparator_0;
|
|
String_t* L_7;
|
|
L_7 = String_Format_mA0534D6E2AE4D67A6BD8D45B3321323930EB930C(_stringLiteralE8FDBBA5D9EA79751DDA519E9D6286CA2CC3347D, L_2, L_5, L_6, NULL);
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* Vector2_ToString_m8F4A03F94D0EC7E6BFE86D50F19178309CE58ECD_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = Vector2_ToString_m8F4A03F94D0EC7E6BFE86D50F19178309CE58ECD(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.Geometry.Vector2::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector2_GetHashCode_m2A14C87437757850AD368D128DE8303470B6A685 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X.GetHashCode() ^ Y.GetHashCode();
|
|
float* L_0 = (&__this->___X_1);
|
|
int32_t L_1;
|
|
L_1 = Single_GetHashCode_mC3F1E099D1CF165C2D71FBCC5EF6A6792F9021D2(L_0, NULL);
|
|
float* L_2 = (&__this->___Y_2);
|
|
int32_t L_3;
|
|
L_3 = Single_GetHashCode_mC3F1E099D1CF165C2D71FBCC5EF6A6792F9021D2(L_2, NULL);
|
|
return ((int32_t)(L_1^L_3));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t Vector2_GetHashCode_m2A14C87437757850AD368D128DE8303470B6A685_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = Vector2_GetHashCode_m2A14C87437757850AD368D128DE8303470B6A685(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_Equals_m79983F08D5E084A184C1D3F11D0A00DE837D03C2 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!(obj is Vector2))
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
if (((RuntimeObject*)IsInstSealed((RuntimeObject*)L_0, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// return this.Equals((Vector2)obj);
|
|
RuntimeObject* L_1 = ___0_obj;
|
|
bool L_2;
|
|
L_2 = Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124(__this, ((*(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*)UnBox(L_1, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var)))), NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Vector2_Equals_m79983F08D5E084A184C1D3F11D0A00DE837D03C2_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Vector2_Equals_m79983F08D5E084A184C1D3F11D0A00DE837D03C2(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2::Equals(SharpNav.Geometry.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124 (Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return
|
|
// X == other.X &&
|
|
// Y == other.Y;
|
|
float L_0 = __this->___X_1;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_1 = ___0_other;
|
|
float L_2 = L_1.___X_1;
|
|
if ((!(((float)L_0) == ((float)L_2))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = __this->___Y_2;
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4 = ___0_other;
|
|
float L_5 = L_4.___Y_2;
|
|
return (bool)((((float)L_3) == ((float)L_5))? 1 : 0);
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124_AdjustorThunk (RuntimeObject* __this, Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Vector2_Equals_m3A506489910C01DF874D5771573038E5069A6124(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__cctor_m4FC0F5DE5550C9A1368C3E6522DA7583D89689E9 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// private static string listSeparator = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator;
|
|
il2cpp_codegen_runtime_class_init_inline(CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var);
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* L_0;
|
|
L_0 = CultureInfo_get_CurrentCulture_m8A4580F49DDD7E9DB34C699965423DB8E3BBA9A5(NULL);
|
|
NullCheck(L_0);
|
|
TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* L_1;
|
|
L_1 = VirtualFuncInvoker0< TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* >::Invoke(10 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_0);
|
|
NullCheck(L_1);
|
|
String_t* L_2;
|
|
L_2 = VirtualFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.TextInfo::get_ListSeparator() */, L_1);
|
|
((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___listSeparator_0 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___listSeparator_0), (void*)L_2);
|
|
// public static readonly Vector2 UnitX = new Vector2(1, 0);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_3), (1.0f), (0.0f), /*hidden argument*/NULL);
|
|
((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___UnitX_3 = L_3;
|
|
// public static readonly Vector2 UnitY = new Vector2(0, 1);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_4), (0.0f), (1.0f), /*hidden argument*/NULL);
|
|
((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___UnitY_4 = L_4;
|
|
// public static readonly Vector2 Zero = new Vector2(0, 0);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_5;
|
|
memset((&L_5), 0, sizeof(L_5));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_5), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___Zero_5 = L_5;
|
|
// public static readonly Vector2 One = new Vector2(1, 1);
|
|
Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector2__ctor_mADE2033BD229D55DFBE38A1CAF503D3FB722869C((&L_6), (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
((Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t15B94C726D935590B1AD63F8478EE113C22C12E2_il2cpp_TypeInfo_var))->___One_6 = L_6;
|
|
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.Geometry.Vector2i::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = x;
|
|
int32_t L_0 = ___0_x;
|
|
__this->___X_3 = L_0;
|
|
// Y = y;
|
|
int32_t L_1 = ___1_y;
|
|
__this->___Y_4 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D_AdjustorThunk (RuntimeObject* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method)
|
|
{
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7*>(__this + _offset);
|
|
Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D(_thisAdjusted, ___0_x, ___1_y, method);
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2i::op_Equality(SharpNav.Geometry.Vector2i,SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_op_Equality_mDE95656FD3721D05D5EF1F2356C705C2DBD9477E (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_left, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Vector2i_Equals_mC72CB8CC3397FAB7EAB1CB3961CCF5E93FDDAD51((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2i::op_Inequality(SharpNav.Geometry.Vector2i,SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_op_Inequality_m7C4FBFB672D198C88DFDBB2EE146B3BAF2171D9B (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_left, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return !(left == right);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_0 = ___0_left;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_1 = ___1_right;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Vector2i_op_Equality_mDE95656FD3721D05D5EF1F2356C705C2DBD9477E(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Geometry.Vector2i::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector2i_GetHashCode_m23ED08EED7425664614183535362084BCB93077D (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return base.GetHashCode();
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_0 = (*(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7*)__this);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var, &L_1);
|
|
int32_t L_3;
|
|
L_3 = ValueType_GetHashCode_m3B47C72EA1FA846D9B0DFF3C444AB2BFA22CF3CE((ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F*)L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t Vector2i_GetHashCode_m23ED08EED7425664614183535362084BCB93077D_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = Vector2i_GetHashCode_m23ED08EED7425664614183535362084BCB93077D(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String SharpNav.Geometry.Vector2i::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Vector2i_ToString_m21EBD3202FD4CE47B65ABB08E005CD3DF00F7758 (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __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*)&_stringLiteral21EE367ABB11BEF0B9CF540FDB7EDD91C1A579A9);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7D75D5884F9E9E34453F5314049FD1BC60BA2A42);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "{ X: " + X.ToString() + ", Y: " + Y.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, _stringLiteral7D75D5884F9E9E34453F5314049FD1BC60BA2A42);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral7D75D5884F9E9E34453F5314049FD1BC60BA2A42);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
|
|
int32_t* L_3 = (&__this->___X_3);
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(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, _stringLiteral21EE367ABB11BEF0B9CF540FDB7EDD91C1A579A9);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral21EE367ABB11BEF0B9CF540FDB7EDD91C1A579A9);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = L_5;
|
|
int32_t* L_7 = (&__this->___Y_4);
|
|
String_t* L_8;
|
|
L_8 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(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, _stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralCB9DEC4BB422E4FB7D60AF8B79864395C4E9AF83);
|
|
String_t* L_10;
|
|
L_10 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_9, NULL);
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* Vector2i_ToString_m21EBD3202FD4CE47B65ABB08E005CD3DF00F7758_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = Vector2i_ToString_m21EBD3202FD4CE47B65ABB08E005CD3DF00F7758(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2i::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_Equals_mB6FE954C1D402CEF043C330E0499C05549EF9F34 (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __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_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
void* L_1 = alloca(sizeof(Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250));
|
|
Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector2i? objV = obj as Vector2i?;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
UnBoxNullable(((RuntimeObject*)IsInst((RuntimeObject*)L_0, Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250_il2cpp_TypeInfo_var)), Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250_il2cpp_TypeInfo_var, L_1);
|
|
V_0 = ((*(Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250*)((Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250*)(Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250*)L_1)));
|
|
// if (objV != null)
|
|
bool L_2;
|
|
L_2 = Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_inline((&V_0), Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(objV);
|
|
Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250 L_3 = V_0;
|
|
Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250 L_4 = L_3;
|
|
RuntimeObject* L_5 = Box(Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250_il2cpp_TypeInfo_var, &L_4);
|
|
bool L_6;
|
|
L_6 = Vector2i_Equals_mB6FE954C1D402CEF043C330E0499C05549EF9F34(__this, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Vector2i_Equals_mB6FE954C1D402CEF043C330E0499C05549EF9F34_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Vector2i_Equals_mB6FE954C1D402CEF043C330E0499C05549EF9F34(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector2i::Equals(SharpNav.Geometry.Vector2i)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2i_Equals_mC72CB8CC3397FAB7EAB1CB3961CCF5E93FDDAD51 (Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* __this, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X == other.X && Y == other.Y;
|
|
int32_t L_0 = __this->___X_3;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_1 = ___0_other;
|
|
int32_t L_2 = L_1.___X_3;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)L_2))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = __this->___Y_4;
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_4 = ___0_other;
|
|
int32_t L_5 = L_4.___Y_4;
|
|
return (bool)((((int32_t)L_3) == ((int32_t)L_5))? 1 : 0);
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Vector2i_Equals_mC72CB8CC3397FAB7EAB1CB3961CCF5E93FDDAD51_AdjustorThunk (RuntimeObject* __this, Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Vector2i_Equals_mC72CB8CC3397FAB7EAB1CB3961CCF5E93FDDAD51(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector2i::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2i__cctor_m314815DB370C3230C90DD27E0987BF099CC6028E (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public static readonly Vector2i Min = new Vector2i(int.MinValue, int.MinValue);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D((&L_0), ((int32_t)-2147483648LL), ((int32_t)-2147483648LL), /*hidden argument*/NULL);
|
|
((Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var))->___Min_0 = L_0;
|
|
// public static readonly Vector2i Max = new Vector2i(int.MaxValue, int.MaxValue);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D((&L_1), ((int32_t)2147483647LL), ((int32_t)2147483647LL), /*hidden argument*/NULL);
|
|
((Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var))->___Max_1 = L_1;
|
|
// public static readonly Vector2i Zero = new Vector2i(0, 0);
|
|
Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2i__ctor_m24C5B1A9F9270A76EA8327B5BB4439AFCE04494D((&L_2), 0, 0, /*hidden argument*/NULL);
|
|
((Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2i_tBEA1B5F989BC0A99E30B14DBC6204BFCD1082BA7_il2cpp_TypeInfo_var))->___Zero_2 = L_2;
|
|
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.Geometry.Vector3::.ctor(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3__ctor_m3E068D03E7A99E5BE7F32CACFDC03ED07E966D04 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = value;
|
|
float L_0 = ___0_value;
|
|
__this->___X_0 = L_0;
|
|
// Y = value;
|
|
float L_1 = ___0_value;
|
|
__this->___Y_1 = L_1;
|
|
// Z = value;
|
|
float L_2 = ___0_value;
|
|
__this->___Z_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3__ctor_m3E068D03E7A99E5BE7F32CACFDC03ED07E966D04_AdjustorThunk (RuntimeObject* __this, float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3__ctor_m3E068D03E7A99E5BE7F32CACFDC03ED07E966D04(_thisAdjusted, ___0_value, 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)
|
|
{
|
|
{
|
|
// X = x;
|
|
float L_0 = ___0_x;
|
|
__this->___X_0 = L_0;
|
|
// Y = y;
|
|
float L_1 = ___1_y;
|
|
__this->___Y_1 = L_1;
|
|
// Z = z;
|
|
float L_2 = ___2_z;
|
|
__this->___Z_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5_AdjustorThunk (RuntimeObject* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5(_thisAdjusted, ___0_x, ___1_y, ___2_z, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::.ctor(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3__ctor_m4A68DF6C037E57B84B09D3289E44F1FD7B2377ED (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// X = v.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_v;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___X_0 = L_1;
|
|
// Y = v.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_v;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___Y_1 = L_3;
|
|
// Z = v.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_v;
|
|
float L_5 = L_4.___Z_2;
|
|
__this->___Z_2 = L_5;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3__ctor_m4A68DF6C037E57B84B09D3289E44F1FD7B2377ED_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3__ctor_m4A68DF6C037E57B84B09D3289E44F1FD7B2377ED(_thisAdjusted, ___0_v, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Set(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Set_m6B95184668D4E8EA89BE9BCBA7E68AACE6B3A3BD (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X = x;
|
|
float L_0 = ___0_x;
|
|
__this->___X_0 = L_0;
|
|
// this.Y = y;
|
|
float L_1 = ___1_y;
|
|
__this->___Y_1 = L_1;
|
|
// this.Z = z;
|
|
float L_2 = ___2_z;
|
|
__this->___Z_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Set_m6B95184668D4E8EA89BE9BCBA7E68AACE6B3A3BD_AdjustorThunk (RuntimeObject* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Set_m6B95184668D4E8EA89BE9BCBA7E68AACE6B3A3BD(_thisAdjusted, ___0_x, ___1_y, ___2_z, method);
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_get_Item_m95F8CDA96342BE16730F139066C0DD99E70DD9EA (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_index;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// return X;
|
|
float L_1 = __this->___X_0;
|
|
return L_1;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// return Y;
|
|
float L_2 = __this->___Y_1;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// return Z;
|
|
float L_3 = __this->___Z_2;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// throw new ArgumentOutOfRangeException("You tried to access this vector at index: " + index);
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___0_index), NULL);
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral80A75177AEE09C94944052B7950607896A0B4144)), L_4, NULL);
|
|
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_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A(L_6, L_5, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Vector3_get_Item_m95F8CDA96342BE16730F139066C0DD99E70DD9EA_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Vector3_get_Item_m95F8CDA96342BE16730F139066C0DD99E70DD9EA_AdjustorThunk (RuntimeObject* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Vector3_get_Item_m95F8CDA96342BE16730F139066C0DD99E70DD9EA(_thisAdjusted, ___0_index, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::set_Item(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Item_m22C301D698B8464EEE8387B1615A40FF81073B4D (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, int32_t ___0_index, float ___1_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_index;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// X = value;
|
|
float L_1 = ___1_value;
|
|
__this->___X_0 = L_1;
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// Y = value;
|
|
float L_2 = ___1_value;
|
|
__this->___Y_1 = L_2;
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// Z = value;
|
|
float L_3 = ___1_value;
|
|
__this->___Z_2 = L_3;
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// throw new ArgumentOutOfRangeException("You tried to set this vector at index: " + index);
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___0_index), NULL);
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral56E8B8AA35387D33D9D74E42B55118DA2CFC3917)), L_4, NULL);
|
|
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_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A(L_6, L_5, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Vector3_set_Item_m22C301D698B8464EEE8387B1615A40FF81073B4D_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_set_Item_m22C301D698B8464EEE8387B1615A40FF81073B4D_AdjustorThunk (RuntimeObject* __this, int32_t ___0_index, float ___1_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_set_Item_m22C301D698B8464EEE8387B1615A40FF81073B4D(_thisAdjusted, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Add(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Add_m04904F307A5D58BDEF82B46CABFFF2BA883D3BC3 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X += right.X;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_right;
|
|
float L_2 = L_1.___X_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_add(L_0, L_2));
|
|
// this.Y += right.Y;
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_right;
|
|
float L_5 = L_4.___Y_1;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_add(L_3, L_5));
|
|
// this.Z += right.Z;
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___0_right;
|
|
float L_8 = L_7.___Z_2;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_add(L_6, L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Add_m04904F307A5D58BDEF82B46CABFFF2BA883D3BC3_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_right, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Add_m04904F307A5D58BDEF82B46CABFFF2BA883D3BC3(_thisAdjusted, ___0_right, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Add(SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Add_mBDC20F9EB9FC835A0E2D60D4372DED2E72B8D94E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X += right.X;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_right;
|
|
float L_2 = L_1->___X_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_add(L_0, L_2));
|
|
// this.Y += right.Y;
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_right;
|
|
float L_5 = L_4->___Y_1;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_add(L_3, L_5));
|
|
// this.Z += right.Z;
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_right;
|
|
float L_8 = L_7->___Z_2;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_add(L_6, L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Add_mBDC20F9EB9FC835A0E2D60D4372DED2E72B8D94E_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_right, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Add_mBDC20F9EB9FC835A0E2D60D4372DED2E72B8D94E(_thisAdjusted, ___0_right, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Sub(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Sub_mBDDEBC715C3C2F92020EB3BB84A055EF8281F3F6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X -= right.X;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_right;
|
|
float L_2 = L_1.___X_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_subtract(L_0, L_2));
|
|
// this.Y -= right.Y;
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_right;
|
|
float L_5 = L_4.___Y_1;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_subtract(L_3, L_5));
|
|
// this.Z -= right.Z;
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___0_right;
|
|
float L_8 = L_7.___Z_2;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_subtract(L_6, L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Sub_mBDDEBC715C3C2F92020EB3BB84A055EF8281F3F6_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_right, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Sub_mBDDEBC715C3C2F92020EB3BB84A055EF8281F3F6(_thisAdjusted, ___0_right, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Sub(SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Sub_m1E6138A8D61FDB14B2A33A780E351ED58FA9CD28 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X -= right.X;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_right;
|
|
float L_2 = L_1->___X_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_subtract(L_0, L_2));
|
|
// this.Y -= right.Y;
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_right;
|
|
float L_5 = L_4->___Y_1;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_subtract(L_3, L_5));
|
|
// this.Z -= right.Z;
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_right;
|
|
float L_8 = L_7->___Z_2;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_subtract(L_6, L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Sub_m1E6138A8D61FDB14B2A33A780E351ED58FA9CD28_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_right, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Sub_m1E6138A8D61FDB14B2A33A780E351ED58FA9CD28(_thisAdjusted, ___0_right, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Mult(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Mult_m31E5D647867A333243B14E682D21B3306AF9BDB4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X *= f;
|
|
float L_0 = __this->___X_0;
|
|
float L_1 = ___0_f;
|
|
__this->___X_0 = ((float)il2cpp_codegen_multiply(L_0, L_1));
|
|
// this.Y *= f;
|
|
float L_2 = __this->___Y_1;
|
|
float L_3 = ___0_f;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// this.Z *= f;
|
|
float L_4 = __this->___Z_2;
|
|
float L_5 = ___0_f;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_multiply(L_4, L_5));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Mult_m31E5D647867A333243B14E682D21B3306AF9BDB4_AdjustorThunk (RuntimeObject* __this, float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Mult_m31E5D647867A333243B14E682D21B3306AF9BDB4(_thisAdjusted, ___0_f, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Div(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Div_m5783F95B6444F9AD48D296021401BD8815350F40 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float mult = 1.0f / f;
|
|
float L_0 = ___0_f;
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// this.X *= mult;
|
|
float L_1 = __this->___X_0;
|
|
float L_2 = V_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_multiply(L_1, L_2));
|
|
// this.Y *= mult;
|
|
float L_3 = __this->___Y_1;
|
|
float L_4 = V_0;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// this.Z *= mult;
|
|
float L_5 = __this->___Z_2;
|
|
float L_6 = V_0;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_multiply(L_5, L_6));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Div_m5783F95B6444F9AD48D296021401BD8815350F40_AdjustorThunk (RuntimeObject* __this, float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Div_m5783F95B6444F9AD48D296021401BD8815350F40(_thisAdjusted, ___0_f, method);
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3::Length()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, 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;
|
|
}
|
|
{
|
|
// return (float)System.Math.Sqrt(X * X + Y * Y + Z * Z);
|
|
float L_0 = __this->___X_0;
|
|
float L_1 = __this->___X_0;
|
|
float L_2 = __this->___Y_1;
|
|
float L_3 = __this->___Y_1;
|
|
float L_4 = __this->___Z_2;
|
|
float L_5 = __this->___Z_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_6;
|
|
L_6 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))))));
|
|
return ((float)L_6);
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3::LengthSquared()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X * X + Y * Y + Z * Z;
|
|
float L_0 = __this->___X_0;
|
|
float L_1 = __this->___X_0;
|
|
float L_2 = __this->___Y_1;
|
|
float L_3 = __this->___Y_1;
|
|
float L_4 = __this->___Z_2;
|
|
float L_5 = __this->___Z_2;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C float Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
float _returnValue;
|
|
_returnValue = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Normalized()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Normalized_mBDE031096436D5C35CADCEED4F43CD2FB8B4F010 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 v = this;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)__this);
|
|
V_0 = L_0;
|
|
// v.Normalize();
|
|
Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505((&V_0), NULL);
|
|
// return v;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Normalized_mBDE031096436D5C35CADCEED4F43CD2FB8B4F010_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Vector3_Normalized_mBDE031096436D5C35CADCEED4F43CD2FB8B4F010(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Normalize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float scale = 1.0f / this.Length();
|
|
float L_0;
|
|
L_0 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798(__this, NULL);
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// X *= scale;
|
|
float L_1 = __this->___X_0;
|
|
float L_2 = V_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_multiply(L_1, L_2));
|
|
// Y *= scale;
|
|
float L_3 = __this->___Y_1;
|
|
float L_4 = V_0;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// Z *= scale;
|
|
float L_5 = __this->___Z_2;
|
|
float L_6 = V_0;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_multiply(L_5, L_6));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505(_thisAdjusted, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Scale(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Scale_m8E67301C64AEA07FDEEE5FB3BA717103076FA3A1 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, float ___0_sx, float ___1_sy, float ___2_sz, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X = X * sx;
|
|
float L_0 = __this->___X_0;
|
|
float L_1 = ___0_sx;
|
|
__this->___X_0 = ((float)il2cpp_codegen_multiply(L_0, L_1));
|
|
// this.Y = Y * sy;
|
|
float L_2 = __this->___Y_1;
|
|
float L_3 = ___1_sy;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// this.Z = Z * sz;
|
|
float L_4 = __this->___Z_2;
|
|
float L_5 = ___2_sz;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_multiply(L_4, L_5));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Scale_m8E67301C64AEA07FDEEE5FB3BA717103076FA3A1_AdjustorThunk (RuntimeObject* __this, float ___0_sx, float ___1_sy, float ___2_sz, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Scale_m8E67301C64AEA07FDEEE5FB3BA717103076FA3A1(_thisAdjusted, ___0_sx, ___1_sy, ___2_sz, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Scale(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Scale_m1055F8C17C7C3CE87F7608A97125A65C8BF66268 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_scale, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X *= scale.X;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_scale;
|
|
float L_2 = L_1.___X_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_multiply(L_0, L_2));
|
|
// this.Y *= scale.Y;
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_scale;
|
|
float L_5 = L_4.___Y_1;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_multiply(L_3, L_5));
|
|
// this.Z *= scale.Z;
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___0_scale;
|
|
float L_8 = L_7.___Z_2;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_multiply(L_6, L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Scale_m1055F8C17C7C3CE87F7608A97125A65C8BF66268_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_scale, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Scale_m1055F8C17C7C3CE87F7608A97125A65C8BF66268(_thisAdjusted, ___0_scale, method);
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Scale(SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Scale_mEBFFB4B01B9E0C82EB2117462FC421AFE719AF36 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_scale, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.X *= scale.X;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_scale;
|
|
float L_2 = L_1->___X_0;
|
|
__this->___X_0 = ((float)il2cpp_codegen_multiply(L_0, L_2));
|
|
// this.Y *= scale.Y;
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_scale;
|
|
float L_5 = L_4->___Y_1;
|
|
__this->___Y_1 = ((float)il2cpp_codegen_multiply(L_3, L_5));
|
|
// this.Z *= scale.Z;
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_scale;
|
|
float L_8 = L_7->___Z_2;
|
|
__this->___Z_2 = ((float)il2cpp_codegen_multiply(L_6, L_8));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_Scale_mEBFFB4B01B9E0C82EB2117462FC421AFE719AF36_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_scale, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_Scale_mEBFFB4B01B9E0C82EB2117462FC421AFE719AF36(_thisAdjusted, ___0_scale, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Sub(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Sub_m162F05D9FC7DBED19C7595EA3B138C7844D6B300 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// a.X -= b.X;
|
|
float* L_0 = (&(&___0_a)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___1_b;
|
|
float L_4 = L_3.___X_0;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_subtract(L_2, L_4));
|
|
// a.Y -= b.Y;
|
|
float* L_5 = (&(&___0_a)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___1_b;
|
|
float L_9 = L_8.___Y_1;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_subtract(L_7, L_9));
|
|
// a.Z -= b.Z;
|
|
float* L_10 = (&(&___0_a)->___Z_2);
|
|
float* L_11 = L_10;
|
|
float L_12 = *((float*)L_11);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___1_b;
|
|
float L_14 = L_13.___Z_2;
|
|
*((float*)L_11) = (float)((float)il2cpp_codegen_subtract(L_12, L_14));
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___0_a;
|
|
return L_15;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Sub(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Sub_m27C96A2352123C40E3659876480367F7387344DB (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result.X = a.X - b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_0;
|
|
L_0->___X_0 = ((float)il2cpp_codegen_subtract(L_2, L_4));
|
|
// result.Y = a.Y - b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___0_a;
|
|
float L_7 = L_6->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___1_b;
|
|
float L_9 = L_8->___Y_1;
|
|
L_5->___Y_1 = ((float)il2cpp_codegen_subtract(L_7, L_9));
|
|
// result.Z = a.Z - b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___0_a;
|
|
float L_12 = L_11->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = ___1_b;
|
|
float L_14 = L_13->___Z_2;
|
|
L_10->___Z_2 = ((float)il2cpp_codegen_subtract(L_12, L_14));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Mult(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Mult_m0C08EB0A1747677C5BB09B2653B79D7510136206 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, float ___1_f, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// a.X *= f;
|
|
float* L_0 = (&(&___0_a)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
float L_3 = ___1_f;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// a.Y *= f;
|
|
float* L_4 = (&(&___0_a)->___Y_1);
|
|
float* L_5 = L_4;
|
|
float L_6 = *((float*)L_5);
|
|
float L_7 = ___1_f;
|
|
*((float*)L_5) = (float)((float)il2cpp_codegen_multiply(L_6, L_7));
|
|
// a.Z *= f;
|
|
float* L_8 = (&(&___0_a)->___Z_2);
|
|
float* L_9 = L_8;
|
|
float L_10 = *((float*)L_9);
|
|
float L_11 = ___1_f;
|
|
*((float*)L_9) = (float)((float)il2cpp_codegen_multiply(L_10, L_11));
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___0_a;
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Mult(SharpNav.Geometry.Vector3&,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Mult_m2AC131B96563438443497146591D6793284E5A5A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, float ___1_f, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result.X = a.X * f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
float L_3 = ___1_f;
|
|
L_0->___X_0 = ((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// result.Y = a.Y * f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_a;
|
|
float L_6 = L_5->___Y_1;
|
|
float L_7 = ___1_f;
|
|
L_4->___Y_1 = ((float)il2cpp_codegen_multiply(L_6, L_7));
|
|
// result.Z = a.Z * f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_a;
|
|
float L_10 = L_9->___Z_2;
|
|
float L_11 = ___1_f;
|
|
L_8->___Z_2 = ((float)il2cpp_codegen_multiply(L_10, L_11));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Div(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Div_m20FFE10FCB85104AFB3408FC2FB6D92DE50ED856 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, float ___1_f, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float mult = 1.0f / f;
|
|
float L_0 = ___1_f;
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// a.X *= mult;
|
|
float* L_1 = (&(&___0_a)->___X_0);
|
|
float* L_2 = L_1;
|
|
float L_3 = *((float*)L_2);
|
|
float L_4 = V_0;
|
|
*((float*)L_2) = (float)((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// a.Y *= mult;
|
|
float* L_5 = (&(&___0_a)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
float L_8 = V_0;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
// a.Z *= mult;
|
|
float* L_9 = (&(&___0_a)->___Z_2);
|
|
float* L_10 = L_9;
|
|
float L_11 = *((float*)L_10);
|
|
float L_12 = V_0;
|
|
*((float*)L_10) = (float)((float)il2cpp_codegen_multiply(L_11, L_12));
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___0_a;
|
|
return L_13;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Div(SharpNav.Geometry.Vector3&,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Div_m9272EF43BB2226CF7DD369680CDFF9759DB31D2A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, float ___1_f, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float mult = 1.0f / f;
|
|
float L_0 = ___1_f;
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// result.X = a.X * mult;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___0_a;
|
|
float L_3 = L_2->___X_0;
|
|
float L_4 = V_0;
|
|
L_1->___X_0 = ((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// result.Y = a.Y * mult;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___0_a;
|
|
float L_7 = L_6->___Y_1;
|
|
float L_8 = V_0;
|
|
L_5->___Y_1 = ((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
// result.Z = a.Z * mult;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_a;
|
|
float L_11 = L_10->___Z_2;
|
|
float L_12 = V_0;
|
|
L_9->___Z_2 = ((float)il2cpp_codegen_multiply(L_11, L_12));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Add(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Add_m49E257D2EEB68E26F69F33CDF418E9C67B4F9D01 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, 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;
|
|
}
|
|
{
|
|
// Add(ref a, ref b, out a);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Add_mBE225178E91F5C8006F10FF5FE8B81D43C60EC08((&___0_a), (&___1_b), (&___0_a), NULL);
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_a;
|
|
return L_0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// result = new Vector3(a.X + b.X, a.Y + b.Y, a.Z + b.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_a;
|
|
float L_6 = L_5->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_b;
|
|
float L_8 = L_7->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_a;
|
|
float L_10 = L_9->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_b;
|
|
float L_12 = L_11->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_13), ((float)il2cpp_codegen_add(L_2, L_4)), ((float)il2cpp_codegen_add(L_6, L_8)), ((float)il2cpp_codegen_add(L_10, L_12)), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_13;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Subtract(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Subtract_mC685F368D836F79F4681F2E5638F56CDEB0C9955 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, 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;
|
|
}
|
|
{
|
|
// Subtract(ref a, ref b, out a);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B((&___0_a), (&___1_b), (&___0_a), NULL);
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_a;
|
|
return L_0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// result = new Vector3(a.X - b.X, a.Y - b.Y, a.Z - b.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_a;
|
|
float L_6 = L_5->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_b;
|
|
float L_8 = L_7->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_a;
|
|
float L_10 = L_9->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_b;
|
|
float L_12 = L_11->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_13), ((float)il2cpp_codegen_subtract(L_2, L_4)), ((float)il2cpp_codegen_subtract(L_6, L_8)), ((float)il2cpp_codegen_subtract(L_10, L_12)), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_13;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Multiply(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Multiply_m237EAA54C86134EA1B075B2190C3DA6F082031B3 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vector, float ___1_scale, 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;
|
|
}
|
|
{
|
|
// Multiply(ref vector, scale, out vector);
|
|
float L_0 = ___1_scale;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Multiply_m900A64E4C00A5437F53345FA29B45BD9DC720A3C((&___0_vector), L_0, (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_vector;
|
|
return L_1;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// result = new Vector3(vector.X * scale, vector.Y * scale, vector.Z * scale);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_vector;
|
|
float L_2 = L_1->___X_0;
|
|
float L_3 = ___1_scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_vector;
|
|
float L_5 = L_4->___Y_1;
|
|
float L_6 = ___1_scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_vector;
|
|
float L_8 = L_7->___Z_2;
|
|
float L_9 = ___1_scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10;
|
|
memset((&L_10), 0, sizeof(L_10));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_10), ((float)il2cpp_codegen_multiply(L_2, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_6)), ((float)il2cpp_codegen_multiply(L_8, L_9)), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_10;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Multiply(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Multiply_m2E94FCAFA2C74C115C5A8214C2BC89D8EEFF888E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vector, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_scale, 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;
|
|
}
|
|
{
|
|
// Multiply(ref vector, ref scale, out vector);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Multiply_m4A3D053A19DF2C3752528719AA019597C2A97AA4((&___0_vector), (&___1_scale), (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_vector;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Multiply(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Multiply_m4A3D053A19DF2C3752528719AA019597C2A97AA4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector3(vector.X * scale.X, vector.Y * scale.Y, vector.Z * scale.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_vector;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_scale;
|
|
float L_4 = L_3->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_vector;
|
|
float L_6 = L_5->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_scale;
|
|
float L_8 = L_7->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_vector;
|
|
float L_10 = L_9->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_scale;
|
|
float L_12 = L_11->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_13), ((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8)), ((float)il2cpp_codegen_multiply(L_10, L_12)), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_13;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Divide(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Divide_m07E21359589433630450389E2A43D83549BC97DD (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vector, float ___1_scale, 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;
|
|
}
|
|
{
|
|
// Divide(ref vector, scale, out vector);
|
|
float L_0 = ___1_scale;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Divide_mD7E7A2688C4C0A08C2212FD858BA92F37EAF84CE((&___0_vector), L_0, (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_vector;
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Divide(SharpNav.Geometry.Vector3&,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Divide_mD7E7A2688C4C0A08C2212FD858BA92F37EAF84CE (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, float ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, 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;
|
|
}
|
|
{
|
|
// Multiply(ref vector, 1 / scale, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_vector;
|
|
float L_1 = ___1_scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___2_result;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Multiply_m900A64E4C00A5437F53345FA29B45BD9DC720A3C(L_0, ((float)((1.0f)/L_1)), L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Divide(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Divide_m0EB15C8A33D79CF4FCE9ECD9EE2CEC8CF7E134F1 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vector, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_scale, 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;
|
|
}
|
|
{
|
|
// Divide(ref vector, ref scale, out vector);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Divide_mAD0E504BEFB3F84CE2F451F56AE008366D87FCFC((&___0_vector), (&___1_scale), (&___0_vector), NULL);
|
|
// return vector;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_vector;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Divide(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Divide_mAD0E504BEFB3F84CE2F451F56AE008366D87FCFC (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vector, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector3(vector.X / scale.X, vector.Y / scale.Y, vector.Z / scale.Z);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_vector;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_scale;
|
|
float L_4 = L_3->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_vector;
|
|
float L_6 = L_5->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_scale;
|
|
float L_8 = L_7->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_vector;
|
|
float L_10 = L_9->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_scale;
|
|
float L_12 = L_11->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_13), ((float)(L_2/L_4)), ((float)(L_6/L_8)), ((float)(L_10/L_12)), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_13;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::ComponentMin(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_ComponentMin_m66466619610EB8B333E01473054881A3C6591F7E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B2_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B3_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B5_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B6_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B8_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B7_0 = NULL;
|
|
float G_B9_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B9_1 = NULL;
|
|
{
|
|
// a.X = a.X < b.X ? a.X : b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_a;
|
|
float L_1 = L_0.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_b;
|
|
float L_3 = L_2.___X_0;
|
|
G_B1_0 = (&___0_a);
|
|
if ((((float)L_1) < ((float)L_3)))
|
|
{
|
|
G_B2_0 = (&___0_a);
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_b;
|
|
float L_5 = L_4.___X_0;
|
|
G_B3_0 = L_5;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_a;
|
|
float L_7 = L_6.___X_0;
|
|
G_B3_0 = L_7;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
G_B3_1->___X_0 = G_B3_0;
|
|
// a.Y = a.Y < b.Y ? a.Y : b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_a;
|
|
float L_9 = L_8.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___1_b;
|
|
float L_11 = L_10.___Y_1;
|
|
G_B4_0 = (&___0_a);
|
|
if ((((float)L_9) < ((float)L_11)))
|
|
{
|
|
G_B5_0 = (&___0_a);
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___1_b;
|
|
float L_13 = L_12.___Y_1;
|
|
G_B6_0 = L_13;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___0_a;
|
|
float L_15 = L_14.___Y_1;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
G_B6_1->___Y_1 = G_B6_0;
|
|
// a.Z = a.Z < b.Z ? a.Z : b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = ___0_a;
|
|
float L_17 = L_16.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___1_b;
|
|
float L_19 = L_18.___Z_2;
|
|
G_B7_0 = (&___0_a);
|
|
if ((((float)L_17) < ((float)L_19)))
|
|
{
|
|
G_B8_0 = (&___0_a);
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = ___1_b;
|
|
float L_21 = L_20.___Z_2;
|
|
G_B9_0 = L_21;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_0064;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22 = ___0_a;
|
|
float L_23 = L_22.___Z_2;
|
|
G_B9_0 = L_23;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
G_B9_1->___Z_2 = G_B9_0;
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = ___0_a;
|
|
return L_24;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::ComponentMin(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_ComponentMin_m54BA733D49F4BBC029527CD17C0684D6605DBD34 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B2_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B3_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B5_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B6_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B8_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B7_0 = NULL;
|
|
float G_B9_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B9_1 = NULL;
|
|
{
|
|
// result.X = a.X < b.X ? a.X : b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_0;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) < ((float)L_4)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___1_b;
|
|
float L_6 = L_5->___X_0;
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_a;
|
|
float L_8 = L_7->___X_0;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
G_B3_1->___X_0 = G_B3_0;
|
|
// result.Y = a.Y < b.Y ? a.Y : b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_a;
|
|
float L_11 = L_10->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___1_b;
|
|
float L_13 = L_12->___Y_1;
|
|
G_B4_0 = L_9;
|
|
if ((((float)L_11) < ((float)L_13)))
|
|
{
|
|
G_B5_0 = L_9;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___1_b;
|
|
float L_15 = L_14->___Y_1;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = ___0_a;
|
|
float L_17 = L_16->___Y_1;
|
|
G_B6_0 = L_17;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B6_1->___Y_1 = G_B6_0;
|
|
// result.Z = a.Z < b.Z ? a.Z : b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = ___0_a;
|
|
float L_20 = L_19->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_21 = ___1_b;
|
|
float L_22 = L_21->___Z_2;
|
|
G_B7_0 = L_18;
|
|
if ((((float)L_20) < ((float)L_22)))
|
|
{
|
|
G_B8_0 = L_18;
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_23 = ___1_b;
|
|
float L_24 = L_23->___Z_2;
|
|
G_B9_0 = L_24;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_0061;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = ___0_a;
|
|
float L_26 = L_25->___Z_2;
|
|
G_B9_0 = L_26;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
G_B9_1->___Z_2 = G_B9_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::ComponentMax(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_ComponentMax_m5752425A54A530B3E083F86503AF32F3090273AA (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B2_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B3_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B5_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B6_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B8_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B7_0 = NULL;
|
|
float G_B9_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B9_1 = NULL;
|
|
{
|
|
// a.X = a.X > b.X ? a.X : b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_a;
|
|
float L_1 = L_0.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_b;
|
|
float L_3 = L_2.___X_0;
|
|
G_B1_0 = (&___0_a);
|
|
if ((((float)L_1) > ((float)L_3)))
|
|
{
|
|
G_B2_0 = (&___0_a);
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___1_b;
|
|
float L_5 = L_4.___X_0;
|
|
G_B3_0 = L_5;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_a;
|
|
float L_7 = L_6.___X_0;
|
|
G_B3_0 = L_7;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
G_B3_1->___X_0 = G_B3_0;
|
|
// a.Y = a.Y > b.Y ? a.Y : b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_a;
|
|
float L_9 = L_8.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___1_b;
|
|
float L_11 = L_10.___Y_1;
|
|
G_B4_0 = (&___0_a);
|
|
if ((((float)L_9) > ((float)L_11)))
|
|
{
|
|
G_B5_0 = (&___0_a);
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___1_b;
|
|
float L_13 = L_12.___Y_1;
|
|
G_B6_0 = L_13;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___0_a;
|
|
float L_15 = L_14.___Y_1;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
G_B6_1->___Y_1 = G_B6_0;
|
|
// a.Z = a.Z > b.Z ? a.Z : b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = ___0_a;
|
|
float L_17 = L_16.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___1_b;
|
|
float L_19 = L_18.___Z_2;
|
|
G_B7_0 = (&___0_a);
|
|
if ((((float)L_17) > ((float)L_19)))
|
|
{
|
|
G_B8_0 = (&___0_a);
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = ___1_b;
|
|
float L_21 = L_20.___Z_2;
|
|
G_B9_0 = L_21;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_0064;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22 = ___0_a;
|
|
float L_23 = L_22.___Z_2;
|
|
G_B9_0 = L_23;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
G_B9_1->___Z_2 = G_B9_0;
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = ___0_a;
|
|
return L_24;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::ComponentMax(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_ComponentMax_m195F1DE9555DCE166BF3750B409EFF17AEE71858 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B2_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B3_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B5_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B6_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B8_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B7_0 = NULL;
|
|
float G_B9_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B9_1 = NULL;
|
|
{
|
|
// result.X = a.X > b.X ? a.X : b.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
float L_4 = L_3->___X_0;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) > ((float)L_4)))
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___1_b;
|
|
float L_6 = L_5->___X_0;
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_a;
|
|
float L_8 = L_7->___X_0;
|
|
G_B3_0 = L_8;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
G_B3_1->___X_0 = G_B3_0;
|
|
// result.Y = a.Y > b.Y ? a.Y : b.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_a;
|
|
float L_11 = L_10->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___1_b;
|
|
float L_13 = L_12->___Y_1;
|
|
G_B4_0 = L_9;
|
|
if ((((float)L_11) > ((float)L_13)))
|
|
{
|
|
G_B5_0 = L_9;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___1_b;
|
|
float L_15 = L_14->___Y_1;
|
|
G_B6_0 = L_15;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = ___0_a;
|
|
float L_17 = L_16->___Y_1;
|
|
G_B6_0 = L_17;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
G_B6_1->___Y_1 = G_B6_0;
|
|
// result.Z = a.Z > b.Z ? a.Z : b.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = ___0_a;
|
|
float L_20 = L_19->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_21 = ___1_b;
|
|
float L_22 = L_21->___Z_2;
|
|
G_B7_0 = L_18;
|
|
if ((((float)L_20) > ((float)L_22)))
|
|
{
|
|
G_B8_0 = L_18;
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_23 = ___1_b;
|
|
float L_24 = L_23->___Z_2;
|
|
G_B9_0 = L_24;
|
|
G_B9_1 = G_B7_0;
|
|
goto IL_0061;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = ___0_a;
|
|
float L_26 = L_25->___Z_2;
|
|
G_B9_0 = L_26;
|
|
G_B9_1 = G_B8_0;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
G_B9_1->___Z_2 = G_B9_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Min(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Min_mB4917C6B16285E98F9BBCC865BFA291A03C168E1 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.LengthSquared() < right.LengthSquared() ? left : right;
|
|
float L_0;
|
|
L_0 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&___0_left), NULL);
|
|
float L_1;
|
|
L_1 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&___1_right), NULL);
|
|
if ((((float)L_0) < ((float)L_1)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_right;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___0_left;
|
|
return L_3;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Max(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Max_mE808FED14E730779A27E699AB162960FB09648DC (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.LengthSquared() >= right.LengthSquared() ? left : right;
|
|
float L_0;
|
|
L_0 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&___0_left), NULL);
|
|
float L_1;
|
|
L_1 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&___1_right), NULL);
|
|
if ((((float)L_0) >= ((float)L_1)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_right;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___0_left;
|
|
return L_3;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Clamp(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Clamp_m838E2115565FFB25EC2A1AE6D1A20CC92437680B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_min, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_max, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B4_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B1_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B3_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B2_0 = NULL;
|
|
float G_B5_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B5_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B9_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B6_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B8_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B7_0 = NULL;
|
|
float G_B10_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B10_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B14_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B11_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B13_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B12_0 = NULL;
|
|
float G_B15_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B15_1 = NULL;
|
|
{
|
|
// vec.X = vec.X < min.X ? min.X : vec.X > max.X ? max.X : vec.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_vec;
|
|
float L_1 = L_0.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_min;
|
|
float L_3 = L_2.___X_0;
|
|
G_B1_0 = (&___0_vec);
|
|
if ((((float)L_1) < ((float)L_3)))
|
|
{
|
|
G_B4_0 = (&___0_vec);
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_vec;
|
|
float L_5 = L_4.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___2_max;
|
|
float L_7 = L_6.___X_0;
|
|
G_B2_0 = G_B1_0;
|
|
if ((((float)L_5) > ((float)L_7)))
|
|
{
|
|
G_B3_0 = G_B1_0;
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_vec;
|
|
float L_9 = L_8.___X_0;
|
|
G_B5_0 = L_9;
|
|
G_B5_1 = G_B2_0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___2_max;
|
|
float L_11 = L_10.___X_0;
|
|
G_B5_0 = L_11;
|
|
G_B5_1 = G_B3_0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___1_min;
|
|
float L_13 = L_12.___X_0;
|
|
G_B5_0 = L_13;
|
|
G_B5_1 = G_B4_0;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
G_B5_1->___X_0 = G_B5_0;
|
|
// vec.Y = vec.Y < min.Y ? min.Y : vec.Y > max.Y ? max.Y : vec.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = ___0_vec;
|
|
float L_15 = L_14.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = ___1_min;
|
|
float L_17 = L_16.___Y_1;
|
|
G_B6_0 = (&___0_vec);
|
|
if ((((float)L_15) < ((float)L_17)))
|
|
{
|
|
G_B9_0 = (&___0_vec);
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = ___0_vec;
|
|
float L_19 = L_18.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = ___2_max;
|
|
float L_21 = L_20.___Y_1;
|
|
G_B7_0 = G_B6_0;
|
|
if ((((float)L_19) > ((float)L_21)))
|
|
{
|
|
G_B8_0 = G_B6_0;
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22 = ___0_vec;
|
|
float L_23 = L_22.___Y_1;
|
|
G_B10_0 = L_23;
|
|
G_B10_1 = G_B7_0;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = ___2_max;
|
|
float L_25 = L_24.___Y_1;
|
|
G_B10_0 = L_25;
|
|
G_B10_1 = G_B8_0;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = ___1_min;
|
|
float L_27 = L_26.___Y_1;
|
|
G_B10_0 = L_27;
|
|
G_B10_1 = G_B9_0;
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
G_B10_1->___Y_1 = G_B10_0;
|
|
// vec.Z = vec.Z < min.Z ? min.Z : vec.Z > max.Z ? max.Z : vec.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28 = ___0_vec;
|
|
float L_29 = L_28.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30 = ___1_min;
|
|
float L_31 = L_30.___Z_2;
|
|
G_B11_0 = (&___0_vec);
|
|
if ((((float)L_29) < ((float)L_31)))
|
|
{
|
|
G_B14_0 = (&___0_vec);
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_32 = ___0_vec;
|
|
float L_33 = L_32.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = ___2_max;
|
|
float L_35 = L_34.___Z_2;
|
|
G_B12_0 = G_B11_0;
|
|
if ((((float)L_33) > ((float)L_35)))
|
|
{
|
|
G_B13_0 = G_B11_0;
|
|
goto IL_0098;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_36 = ___0_vec;
|
|
float L_37 = L_36.___Z_2;
|
|
G_B15_0 = L_37;
|
|
G_B15_1 = G_B12_0;
|
|
goto IL_00a6;
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_38 = ___2_max;
|
|
float L_39 = L_38.___Z_2;
|
|
G_B15_0 = L_39;
|
|
G_B15_1 = G_B13_0;
|
|
goto IL_00a6;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_40 = ___1_min;
|
|
float L_41 = L_40.___Z_2;
|
|
G_B15_0 = L_41;
|
|
G_B15_1 = G_B14_0;
|
|
}
|
|
|
|
IL_00a6:
|
|
{
|
|
G_B15_1->___Z_2 = G_B15_0;
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_42 = ___0_vec;
|
|
return L_42;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Clamp(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Clamp_m3CCF8865D4F72C9F29A07C023518BB2662DA2FCF (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vec, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_min, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_max, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___3_result, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B4_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B1_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B3_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B2_0 = NULL;
|
|
float G_B5_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B5_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B9_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B6_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B8_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B7_0 = NULL;
|
|
float G_B10_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B10_1 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B14_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B11_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B13_0 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B12_0 = NULL;
|
|
float G_B15_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* G_B15_1 = NULL;
|
|
{
|
|
// result.X = vec.X < min.X ? min.X : vec.X > max.X ? max.X : vec.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___3_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_vec;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_min;
|
|
float L_4 = L_3->___X_0;
|
|
G_B1_0 = L_0;
|
|
if ((((float)L_2) < ((float)L_4)))
|
|
{
|
|
G_B4_0 = L_0;
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_vec;
|
|
float L_6 = L_5->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___2_max;
|
|
float L_8 = L_7->___X_0;
|
|
G_B2_0 = G_B1_0;
|
|
if ((((float)L_6) > ((float)L_8)))
|
|
{
|
|
G_B3_0 = G_B1_0;
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_vec;
|
|
float L_10 = L_9->___X_0;
|
|
G_B5_0 = L_10;
|
|
G_B5_1 = G_B2_0;
|
|
goto IL_0033;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___2_max;
|
|
float L_12 = L_11->___X_0;
|
|
G_B5_0 = L_12;
|
|
G_B5_1 = G_B3_0;
|
|
goto IL_0033;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = ___1_min;
|
|
float L_14 = L_13->___X_0;
|
|
G_B5_0 = L_14;
|
|
G_B5_1 = G_B4_0;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
G_B5_1->___X_0 = G_B5_0;
|
|
// result.Y = vec.Y < min.Y ? min.Y : vec.Y > max.Y ? max.Y : vec.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_15 = ___3_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = ___0_vec;
|
|
float L_17 = L_16->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___1_min;
|
|
float L_19 = L_18->___Y_1;
|
|
G_B6_0 = L_15;
|
|
if ((((float)L_17) < ((float)L_19)))
|
|
{
|
|
G_B9_0 = L_15;
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_20 = ___0_vec;
|
|
float L_21 = L_20->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_22 = ___2_max;
|
|
float L_23 = L_22->___Y_1;
|
|
G_B7_0 = G_B6_0;
|
|
if ((((float)L_21) > ((float)L_23)))
|
|
{
|
|
G_B8_0 = G_B6_0;
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_24 = ___0_vec;
|
|
float L_25 = L_24->___Y_1;
|
|
G_B10_0 = L_25;
|
|
G_B10_1 = G_B7_0;
|
|
goto IL_006b;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_26 = ___2_max;
|
|
float L_27 = L_26->___Y_1;
|
|
G_B10_0 = L_27;
|
|
G_B10_1 = G_B8_0;
|
|
goto IL_006b;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_28 = ___1_min;
|
|
float L_29 = L_28->___Y_1;
|
|
G_B10_0 = L_29;
|
|
G_B10_1 = G_B9_0;
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
G_B10_1->___Y_1 = G_B10_0;
|
|
// result.Z = vec.Z < min.Z ? min.Z : vec.Z > max.Z ? max.Z : vec.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_30 = ___3_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_31 = ___0_vec;
|
|
float L_32 = L_31->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_33 = ___1_min;
|
|
float L_34 = L_33->___Z_2;
|
|
G_B11_0 = L_30;
|
|
if ((((float)L_32) < ((float)L_34)))
|
|
{
|
|
G_B14_0 = L_30;
|
|
goto IL_009d;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_35 = ___0_vec;
|
|
float L_36 = L_35->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_37 = ___2_max;
|
|
float L_38 = L_37->___Z_2;
|
|
G_B12_0 = G_B11_0;
|
|
if ((((float)L_36) > ((float)L_38)))
|
|
{
|
|
G_B13_0 = G_B11_0;
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_39 = ___0_vec;
|
|
float L_40 = L_39->___Z_2;
|
|
G_B15_0 = L_40;
|
|
G_B15_1 = G_B12_0;
|
|
goto IL_00a3;
|
|
}
|
|
|
|
IL_0095:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_41 = ___2_max;
|
|
float L_42 = L_41->___Z_2;
|
|
G_B15_0 = L_42;
|
|
G_B15_1 = G_B13_0;
|
|
goto IL_00a3;
|
|
}
|
|
|
|
IL_009d:
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_43 = ___1_min;
|
|
float L_44 = L_43->___Z_2;
|
|
G_B15_0 = L_44;
|
|
G_B15_1 = G_B14_0;
|
|
}
|
|
|
|
IL_00a3:
|
|
{
|
|
G_B15_1->___Z_2 = G_B15_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Normalize(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Normalize_m5A2DB0842584EB3B69CC62CA80B84F218D4A1AF6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float scale = 1.0f / vec.Length();
|
|
float L_0;
|
|
L_0 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&___0_vec), NULL);
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// vec.X *= scale;
|
|
float* L_1 = (&(&___0_vec)->___X_0);
|
|
float* L_2 = L_1;
|
|
float L_3 = *((float*)L_2);
|
|
float L_4 = V_0;
|
|
*((float*)L_2) = (float)((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// vec.Y *= scale;
|
|
float* L_5 = (&(&___0_vec)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
float L_8 = V_0;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
// vec.Z *= scale;
|
|
float* L_9 = (&(&___0_vec)->___Z_2);
|
|
float* L_10 = L_9;
|
|
float L_11 = *((float*)L_10);
|
|
float L_12 = V_0;
|
|
*((float*)L_10) = (float)((float)il2cpp_codegen_multiply(L_11, L_12));
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___0_vec;
|
|
return L_13;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Normalize(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Normalize_m6B7BEB6DEE04E87925FE1DC507AD378041C2D39A (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vec, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_result, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float scale = 1.0f / vec.Length();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_vec;
|
|
float L_1;
|
|
L_1 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798(L_0, NULL);
|
|
V_0 = ((float)((1.0f)/L_1));
|
|
// result.X = vec.X * scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___0_vec;
|
|
float L_4 = L_3->___X_0;
|
|
float L_5 = V_0;
|
|
L_2->___X_0 = ((float)il2cpp_codegen_multiply(L_4, L_5));
|
|
// result.Y = vec.Y * scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___1_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___0_vec;
|
|
float L_8 = L_7->___Y_1;
|
|
float L_9 = V_0;
|
|
L_6->___Y_1 = ((float)il2cpp_codegen_multiply(L_8, L_9));
|
|
// result.Z = vec.Z * scale;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___1_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___0_vec;
|
|
float L_12 = L_11->___Z_2;
|
|
float L_13 = V_0;
|
|
L_10->___Z_2 = ((float)il2cpp_codegen_multiply(L_12, L_13));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3::Dot(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_Dot_m25372F645C1E343F62BA0377FC9E324797A29F4C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.X * right.X + left.Y * right.Y + left.Z * right.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_left;
|
|
float L_1 = L_0.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_right;
|
|
float L_3 = L_2.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_left;
|
|
float L_5 = L_4.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___1_right;
|
|
float L_7 = L_6.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_left;
|
|
float L_9 = L_8.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___1_right;
|
|
float L_11 = L_10.___Z_2;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Dot(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Dot_mE571ABE3572CD97C8357D8A4E6BD76E5F1188B13 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, float* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = left.X * right.X + left.Y * right.Y + left.Z * right.Z;
|
|
float* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_left;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_right;
|
|
float L_4 = L_3->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_left;
|
|
float L_6 = L_5->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_right;
|
|
float L_8 = L_7->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_left;
|
|
float L_10 = L_9->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_right;
|
|
float L_12 = L_11->___Z_2;
|
|
*((float*)L_0) = (float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8)))), ((float)il2cpp_codegen_multiply(L_10, L_12))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::Cross(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_Cross_m928F39B378B976766902C0D5DC1B57CA2D93A690 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_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;
|
|
}
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Cross(ref left, ref right, out result);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Cross_m27951B1F1BF0063CED3D5C9B682DDF4DAFCD0D29((&___0_left), (&___1_right), (&V_0), NULL);
|
|
// return result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::Cross(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_Cross_m27951B1F1BF0063CED3D5C9B682DDF4DAFCD0D29 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = new Vector3(left.Y * right.Z - left.Z * right.Y,
|
|
// left.Z * right.X - left.X * right.Z,
|
|
// left.X * right.Y - left.Y * right.X);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_left;
|
|
float L_2 = L_1->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_right;
|
|
float L_4 = L_3->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_left;
|
|
float L_6 = L_5->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_right;
|
|
float L_8 = L_7->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___0_left;
|
|
float L_10 = L_9->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___1_right;
|
|
float L_12 = L_11->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = ___0_left;
|
|
float L_14 = L_13->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_15 = ___1_right;
|
|
float L_16 = L_15->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_17 = ___0_left;
|
|
float L_18 = L_17->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_19 = ___1_right;
|
|
float L_20 = L_19->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_21 = ___0_left;
|
|
float L_22 = L_21->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_23 = ___1_right;
|
|
float L_24 = L_23->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25;
|
|
memset((&L_25), 0, sizeof(L_25));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_25), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_10, L_12)), ((float)il2cpp_codegen_multiply(L_14, L_16)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_18, L_20)), ((float)il2cpp_codegen_multiply(L_22, L_24)))), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_25;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// a.X = blend * (b.X - a.X) + a.X;
|
|
float L_0 = ___2_blend;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_b;
|
|
float L_2 = L_1.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___0_a;
|
|
float L_4 = L_3.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = ___0_a;
|
|
float L_6 = L_5.___X_0;
|
|
(&___0_a)->___X_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, ((float)il2cpp_codegen_subtract(L_2, L_4)))), L_6));
|
|
// a.Y = blend * (b.Y - a.Y) + a.Y;
|
|
float L_7 = ___2_blend;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___1_b;
|
|
float L_9 = L_8.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = ___0_a;
|
|
float L_11 = L_10.___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___0_a;
|
|
float L_13 = L_12.___Y_1;
|
|
(&___0_a)->___Y_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_7, ((float)il2cpp_codegen_subtract(L_9, L_11)))), L_13));
|
|
// a.Z = blend * (b.Z - a.Z) + a.Z;
|
|
float L_14 = ___2_blend;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___1_b;
|
|
float L_16 = L_15.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_17 = ___0_a;
|
|
float L_18 = L_17.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = ___0_a;
|
|
float L_20 = L_19.___Z_2;
|
|
(&___0_a)->___Z_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_14, ((float)il2cpp_codegen_subtract(L_16, L_18)))), L_20));
|
|
// return a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21 = ___0_a;
|
|
return L_21;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// result.X = blend * (b.X - a.X) + a.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___3_result;
|
|
float L_1 = ___2_blend;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_b;
|
|
float L_3 = L_2->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_a;
|
|
float L_5 = L_4->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___0_a;
|
|
float L_7 = L_6->___X_0;
|
|
L_0->___X_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, ((float)il2cpp_codegen_subtract(L_3, L_5)))), L_7));
|
|
// result.Y = blend * (b.Y - a.Y) + a.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___3_result;
|
|
float L_9 = ___2_blend;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___1_b;
|
|
float L_11 = L_10->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___0_a;
|
|
float L_13 = L_12->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___0_a;
|
|
float L_15 = L_14->___Y_1;
|
|
L_8->___Y_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_9, ((float)il2cpp_codegen_subtract(L_11, L_13)))), L_15));
|
|
// result.Z = blend * (b.Z - a.Z) + a.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = ___3_result;
|
|
float L_17 = ___2_blend;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_18 = ___1_b;
|
|
float L_19 = L_18->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_20 = ___0_a;
|
|
float L_21 = L_20->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_22 = ___0_a;
|
|
float L_23 = L_22->___Z_2;
|
|
L_16->___Z_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_17, ((float)il2cpp_codegen_subtract(L_19, L_21)))), L_23));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::BaryCentric(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_BaryCentric_m636FF918A599DC98DC39C0373350432E880EBA49 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___2_c, float ___3_u, float ___4_v, 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;
|
|
}
|
|
{
|
|
// return a + u * (b - a) + v * (c - a);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_a;
|
|
float L_1 = ___3_u;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___0_a;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
L_4 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_2, L_3, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE(L_1, L_4, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6;
|
|
L_6 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_0, L_5, NULL);
|
|
float L_7 = ___4_v;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___2_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10;
|
|
L_10 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_8, L_9, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11;
|
|
L_11 = Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE(L_7, L_10, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12;
|
|
L_12 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_6, L_11, NULL);
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::BaryCentric(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single,System.Single,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_BaryCentric_m3F783A75D5472978F573261828C045C7E049B143 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___2_c, float ___3_u, float ___4_v, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___5_result, 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));
|
|
{
|
|
// result = a; // copy
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___5_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_1);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_2;
|
|
// Vector3 temp = b; // copy
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_3);
|
|
V_0 = L_4;
|
|
// Subtract(ref temp, ref a, out temp);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_a;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B((&V_0), L_5, (&V_0), NULL);
|
|
// Multiply(ref temp, u, out temp);
|
|
float L_6 = ___3_u;
|
|
Vector3_Multiply_m900A64E4C00A5437F53345FA29B45BD9DC720A3C((&V_0), L_6, (&V_0), NULL);
|
|
// Add(ref result, ref temp, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___5_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___5_result;
|
|
Vector3_Add_mBE225178E91F5C8006F10FF5FE8B81D43C60EC08(L_7, (&V_0), L_8, NULL);
|
|
// temp = c; // copy
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_9 = ___2_c;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_9);
|
|
V_0 = L_10;
|
|
// Subtract(ref temp, ref a, out temp);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_11 = ___0_a;
|
|
Vector3_Subtract_mFFEB5982566658EAB7036CC812B85185DE1A129B((&V_0), L_11, (&V_0), NULL);
|
|
// Multiply(ref temp, v, out temp);
|
|
float L_12 = ___4_v;
|
|
Vector3_Multiply_m900A64E4C00A5437F53345FA29B45BD9DC720A3C((&V_0), L_12, (&V_0), NULL);
|
|
// Add(ref result, ref temp, out result);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = ___5_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___5_result;
|
|
Vector3_Add_mBE225178E91F5C8006F10FF5FE8B81D43C60EC08(L_13, (&V_0), L_14, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3::CalculateAngle(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3_CalculateAngle_mCB955C3462FA9E36AE917A773286E7B073070C8E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_first, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_second, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return (float)System.Math.Acos((Vector3.Dot(first, second)) / (first.Length() * second.Length()));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_first;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_second;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
float L_2;
|
|
L_2 = Vector3_Dot_m25372F645C1E343F62BA0377FC9E324797A29F4C(L_0, L_1, NULL);
|
|
float L_3;
|
|
L_3 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&___0_first), NULL);
|
|
float L_4;
|
|
L_4 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&___1_second), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_5;
|
|
L_5 = acos(((double)((float)(L_2/((float)il2cpp_codegen_multiply(L_3, L_4))))));
|
|
return ((float)L_5);
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::CalculateAngle(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_CalculateAngle_m282AE824F317A7080B23BE6CBB02F94BF8570A2B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_first, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_second, float* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
// Vector3.Dot(ref first, ref second, out temp);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_first;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___1_second;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Dot_mE571ABE3572CD97C8357D8A4E6BD76E5F1188B13(L_0, L_1, (&V_0), NULL);
|
|
// result = (float)System.Math.Acos(temp / (first.Length() * second.Length()));
|
|
float* L_2 = ___2_result;
|
|
float L_3 = V_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_first;
|
|
float L_5;
|
|
L_5 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798(L_4, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___1_second;
|
|
float L_7;
|
|
L_7 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798(L_6, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_8;
|
|
L_8 = acos(((double)((float)(L_3/((float)il2cpp_codegen_multiply(L_5, L_7))))));
|
|
*((float*)L_2) = (float)((float)L_8);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Xzy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Xzy_m5E7A894ACA11F040EB385754CFFF842043F0EEBB (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Xzy { get { return new Vector3(X, Z, Y); } set { X = value.X; Z = value.Y; Y = value.Z; } }
|
|
float L_0 = __this->___X_0;
|
|
float L_1 = __this->___Z_2;
|
|
float L_2 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Xzy_m5E7A894ACA11F040EB385754CFFF842043F0EEBB_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Vector3_get_Xzy_m5E7A894ACA11F040EB385754CFFF842043F0EEBB(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::set_Xzy(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Xzy_m52179C0FAADFFD3C02D3F221B7256ABAAFB914A0 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Xzy { get { return new Vector3(X, Z, Y); } set { X = value.X; Z = value.Y; Y = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___X_0 = L_1;
|
|
// public Vector3 Xzy { get { return new Vector3(X, Z, Y); } set { X = value.X; Z = value.Y; Y = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_value;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___Z_2 = L_3;
|
|
// public Vector3 Xzy { get { return new Vector3(X, Z, Y); } set { X = value.X; Z = value.Y; Y = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_value;
|
|
float L_5 = L_4.___Z_2;
|
|
__this->___Y_1 = L_5;
|
|
// public Vector3 Xzy { get { return new Vector3(X, Z, Y); } set { X = value.X; Z = value.Y; Y = value.Z; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_set_Xzy_m52179C0FAADFFD3C02D3F221B7256ABAAFB914A0_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_set_Xzy_m52179C0FAADFFD3C02D3F221B7256ABAAFB914A0(_thisAdjusted, ___0_value, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Yxz()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Yxz_mC47DD34080835383AE9FFB8A8F25847E9D1B8C86 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Yxz { get { return new Vector3(Y, X, Z); } set { Y = value.X; X = value.Y; Z = value.Z; } }
|
|
float L_0 = __this->___Y_1;
|
|
float L_1 = __this->___X_0;
|
|
float L_2 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Yxz_mC47DD34080835383AE9FFB8A8F25847E9D1B8C86_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Vector3_get_Yxz_mC47DD34080835383AE9FFB8A8F25847E9D1B8C86(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::set_Yxz(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Yxz_m7666A124AD81905DA156909E1C4CC13A9A797EC0 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Yxz { get { return new Vector3(Y, X, Z); } set { Y = value.X; X = value.Y; Z = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___Y_1 = L_1;
|
|
// public Vector3 Yxz { get { return new Vector3(Y, X, Z); } set { Y = value.X; X = value.Y; Z = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_value;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___X_0 = L_3;
|
|
// public Vector3 Yxz { get { return new Vector3(Y, X, Z); } set { Y = value.X; X = value.Y; Z = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_value;
|
|
float L_5 = L_4.___Z_2;
|
|
__this->___Z_2 = L_5;
|
|
// public Vector3 Yxz { get { return new Vector3(Y, X, Z); } set { Y = value.X; X = value.Y; Z = value.Z; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_set_Yxz_m7666A124AD81905DA156909E1C4CC13A9A797EC0_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_set_Yxz_m7666A124AD81905DA156909E1C4CC13A9A797EC0(_thisAdjusted, ___0_value, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Yzx()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Yzx_m308ED0C8FB9B4EA59EC312308FDD6AF564391A15 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Yzx { get { return new Vector3(Y, Z, X); } set { Y = value.X; Z = value.Y; X = value.Z; } }
|
|
float L_0 = __this->___Y_1;
|
|
float L_1 = __this->___Z_2;
|
|
float L_2 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Yzx_m308ED0C8FB9B4EA59EC312308FDD6AF564391A15_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Vector3_get_Yzx_m308ED0C8FB9B4EA59EC312308FDD6AF564391A15(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::set_Yzx(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Yzx_m03EA68B5F81D0FBFC5D61F1A778A677F8CF2558C (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Yzx { get { return new Vector3(Y, Z, X); } set { Y = value.X; Z = value.Y; X = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___Y_1 = L_1;
|
|
// public Vector3 Yzx { get { return new Vector3(Y, Z, X); } set { Y = value.X; Z = value.Y; X = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_value;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___Z_2 = L_3;
|
|
// public Vector3 Yzx { get { return new Vector3(Y, Z, X); } set { Y = value.X; Z = value.Y; X = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_value;
|
|
float L_5 = L_4.___Z_2;
|
|
__this->___X_0 = L_5;
|
|
// public Vector3 Yzx { get { return new Vector3(Y, Z, X); } set { Y = value.X; Z = value.Y; X = value.Z; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_set_Yzx_m03EA68B5F81D0FBFC5D61F1A778A677F8CF2558C_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_set_Yzx_m03EA68B5F81D0FBFC5D61F1A778A677F8CF2558C(_thisAdjusted, ___0_value, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Zxy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Zxy_m7771F451D1606EE4C0A9CAF4FC8E4BA7B78BC3F9 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Zxy { get { return new Vector3(Z, X, Y); } set { Z = value.X; X = value.Y; Y = value.Z; } }
|
|
float L_0 = __this->___Z_2;
|
|
float L_1 = __this->___X_0;
|
|
float L_2 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Zxy_m7771F451D1606EE4C0A9CAF4FC8E4BA7B78BC3F9_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Vector3_get_Zxy_m7771F451D1606EE4C0A9CAF4FC8E4BA7B78BC3F9(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::set_Zxy(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Zxy_mA1FD7D2D52795C80F47D75488180E2E57AEA2817 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Zxy { get { return new Vector3(Z, X, Y); } set { Z = value.X; X = value.Y; Y = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___Z_2 = L_1;
|
|
// public Vector3 Zxy { get { return new Vector3(Z, X, Y); } set { Z = value.X; X = value.Y; Y = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_value;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___X_0 = L_3;
|
|
// public Vector3 Zxy { get { return new Vector3(Z, X, Y); } set { Z = value.X; X = value.Y; Y = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_value;
|
|
float L_5 = L_4.___Z_2;
|
|
__this->___Y_1 = L_5;
|
|
// public Vector3 Zxy { get { return new Vector3(Z, X, Y); } set { Z = value.X; X = value.Y; Y = value.Z; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_set_Zxy_mA1FD7D2D52795C80F47D75488180E2E57AEA2817_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_set_Zxy_mA1FD7D2D52795C80F47D75488180E2E57AEA2817(_thisAdjusted, ___0_value, method);
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::get_Zyx()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Zyx_mE3066FC792219864C61C8AA56B728C2BA15C8675 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Zyx { get { return new Vector3(Z, Y, X); } set { Z = value.X; Y = value.Y; X = value.Z; } }
|
|
float L_0 = __this->___Z_2;
|
|
float L_1 = __this->___Y_1;
|
|
float L_2 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_get_Zyx_mE3066FC792219864C61C8AA56B728C2BA15C8675_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 _returnValue;
|
|
_returnValue = Vector3_get_Zyx_mE3066FC792219864C61C8AA56B728C2BA15C8675(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::set_Zyx(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3_set_Zyx_m163FCE27FA2409C9860ACB25E1793E0CAE2B47A6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Zyx { get { return new Vector3(Z, Y, X); } set { Z = value.X; Y = value.Y; X = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
float L_1 = L_0.___X_0;
|
|
__this->___Z_2 = L_1;
|
|
// public Vector3 Zyx { get { return new Vector3(Z, Y, X); } set { Z = value.X; Y = value.Y; X = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_value;
|
|
float L_3 = L_2.___Y_1;
|
|
__this->___Y_1 = L_3;
|
|
// public Vector3 Zyx { get { return new Vector3(Z, Y, X); } set { Z = value.X; Y = value.Y; X = value.Z; } }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_value;
|
|
float L_5 = L_4.___Z_2;
|
|
__this->___X_0 = L_5;
|
|
// public Vector3 Zyx { get { return new Vector3(Z, Y, X); } set { Z = value.X; Y = value.Y; X = value.Z; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Vector3_set_Zyx_m163FCE27FA2409C9860ACB25E1793E0CAE2B47A6_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
Vector3_set_Zyx_m163FCE27FA2409C9860ACB25E1793E0CAE2B47A6(_thisAdjusted, ___0_value, 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)
|
|
{
|
|
{
|
|
// left.X += right.X;
|
|
float* L_0 = (&(&___0_left)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___1_right;
|
|
float L_4 = L_3.___X_0;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_add(L_2, L_4));
|
|
// left.Y += right.Y;
|
|
float* L_5 = (&(&___0_left)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___1_right;
|
|
float L_9 = L_8.___Y_1;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_add(L_7, L_9));
|
|
// left.Z += right.Z;
|
|
float* L_10 = (&(&___0_left)->___Z_2);
|
|
float* L_11 = L_10;
|
|
float L_12 = *((float*)L_11);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___1_right;
|
|
float L_14 = L_13.___Z_2;
|
|
*((float*)L_11) = (float)((float)il2cpp_codegen_add(L_12, L_14));
|
|
// return left;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___0_left;
|
|
return L_15;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// left.X -= right.X;
|
|
float* L_0 = (&(&___0_left)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___1_right;
|
|
float L_4 = L_3.___X_0;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_subtract(L_2, L_4));
|
|
// left.Y -= right.Y;
|
|
float* L_5 = (&(&___0_left)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___1_right;
|
|
float L_9 = L_8.___Y_1;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_subtract(L_7, L_9));
|
|
// left.Z -= right.Z;
|
|
float* L_10 = (&(&___0_left)->___Z_2);
|
|
float* L_11 = L_10;
|
|
float L_12 = *((float*)L_11);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___1_right;
|
|
float L_14 = L_13.___Z_2;
|
|
*((float*)L_11) = (float)((float)il2cpp_codegen_subtract(L_12, L_14));
|
|
// return left;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___0_left;
|
|
return L_15;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_UnaryNegation(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_UnaryNegation_m67D2124EA876EC52A81BE74E7EEBF199F7B0D086 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X = -vec.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_vec;
|
|
float L_1 = L_0.___X_0;
|
|
(&___0_vec)->___X_0 = ((-L_1));
|
|
// vec.Y = -vec.Y;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_vec;
|
|
float L_3 = L_2.___Y_1;
|
|
(&___0_vec)->___Y_1 = ((-L_3));
|
|
// vec.Z = -vec.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_vec;
|
|
float L_5 = L_4.___Z_2;
|
|
(&___0_vec)->___Z_2 = ((-L_5));
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6 = ___0_vec;
|
|
return L_6;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// vec.X *= scale;
|
|
float* L_0 = (&(&___0_vec)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
float L_3 = ___1_scale;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// vec.Y *= scale;
|
|
float* L_4 = (&(&___0_vec)->___Y_1);
|
|
float* L_5 = L_4;
|
|
float L_6 = *((float*)L_5);
|
|
float L_7 = ___1_scale;
|
|
*((float*)L_5) = (float)((float)il2cpp_codegen_multiply(L_6, L_7));
|
|
// vec.Z *= scale;
|
|
float* L_8 = (&(&___0_vec)->___Z_2);
|
|
float* L_9 = L_8;
|
|
float L_10 = *((float*)L_9);
|
|
float L_11 = ___1_scale;
|
|
*((float*)L_9) = (float)((float)il2cpp_codegen_multiply(L_10, L_11));
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___0_vec;
|
|
return L_12;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Multiply(System.Single,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Multiply_m16AC1940CC41A2FE0C051F94C390D59CB82C88AE (float ___0_scale, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_vec, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X *= scale;
|
|
float* L_0 = (&(&___1_vec)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
float L_3 = ___0_scale;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// vec.Y *= scale;
|
|
float* L_4 = (&(&___1_vec)->___Y_1);
|
|
float* L_5 = L_4;
|
|
float L_6 = *((float*)L_5);
|
|
float L_7 = ___0_scale;
|
|
*((float*)L_5) = (float)((float)il2cpp_codegen_multiply(L_6, L_7));
|
|
// vec.Z *= scale;
|
|
float* L_8 = (&(&___1_vec)->___Z_2);
|
|
float* L_9 = L_8;
|
|
float L_10 = *((float*)L_9);
|
|
float L_11 = ___0_scale;
|
|
*((float*)L_9) = (float)((float)il2cpp_codegen_multiply(L_10, L_11));
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12 = ___1_vec;
|
|
return L_12;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Multiply(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Multiply_mBDD6FD2C4A5160C40475C65F4046652072ED705B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// vec.X *= scale.X;
|
|
float* L_0 = (&(&___0_vec)->___X_0);
|
|
float* L_1 = L_0;
|
|
float L_2 = *((float*)L_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = ___1_scale;
|
|
float L_4 = L_3.___X_0;
|
|
*((float*)L_1) = (float)((float)il2cpp_codegen_multiply(L_2, L_4));
|
|
// vec.Y *= scale.Y;
|
|
float* L_5 = (&(&___0_vec)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___1_scale;
|
|
float L_9 = L_8.___Y_1;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_9));
|
|
// vec.Z *= scale.Z;
|
|
float* L_10 = (&(&___0_vec)->___Z_2);
|
|
float* L_11 = L_10;
|
|
float L_12 = *((float*)L_11);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___1_scale;
|
|
float L_14 = L_13.___Z_2;
|
|
*((float*)L_11) = (float)((float)il2cpp_codegen_multiply(L_12, L_14));
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = ___0_vec;
|
|
return L_15;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Geometry.Vector3::op_Division(SharpNav.Geometry.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Vector3_op_Division_m5465263174E47C63AF8713E2B5BBD6956A4F9970 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vec, float ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float mult = 1.0f / scale;
|
|
float L_0 = ___1_scale;
|
|
V_0 = ((float)((1.0f)/L_0));
|
|
// vec.X *= mult;
|
|
float* L_1 = (&(&___0_vec)->___X_0);
|
|
float* L_2 = L_1;
|
|
float L_3 = *((float*)L_2);
|
|
float L_4 = V_0;
|
|
*((float*)L_2) = (float)((float)il2cpp_codegen_multiply(L_3, L_4));
|
|
// vec.Y *= mult;
|
|
float* L_5 = (&(&___0_vec)->___Y_1);
|
|
float* L_6 = L_5;
|
|
float L_7 = *((float*)L_6);
|
|
float L_8 = V_0;
|
|
*((float*)L_6) = (float)((float)il2cpp_codegen_multiply(L_7, L_8));
|
|
// vec.Z *= mult;
|
|
float* L_9 = (&(&___0_vec)->___Z_2);
|
|
float* L_10 = L_9;
|
|
float L_11 = *((float*)L_10);
|
|
float L_12 = V_0;
|
|
*((float*)L_10) = (float)((float)il2cpp_codegen_multiply(L_11, L_12));
|
|
// return vec;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = ___0_vec;
|
|
return L_13;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// return left.Equals(right);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4((&___0_left), L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector3::op_Inequality(SharpNav.Geometry.Vector3,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m850ABEBE41E06B292F54F1C967BC00ECE9489288 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !left.Equals(right);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___1_right;
|
|
bool L_1;
|
|
L_1 = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4((&___0_left), L_0, NULL);
|
|
return (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.String SharpNav.Geometry.Vector3::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD849EC3A4047CBF0EF6D6807E5A08FFE1B8106E8);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return String.Format("({0}{3} {1}{3} {2})", X, Y, Z, listSeparator);
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_0 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)SZArrayNew(ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918_il2cpp_TypeInfo_var, (uint32_t)4);
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = L_0;
|
|
float L_2 = __this->___X_0;
|
|
float L_3 = L_2;
|
|
RuntimeObject* L_4 = Box(Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var, &L_3);
|
|
NullCheck(L_1);
|
|
ArrayElementTypeCheck (L_1, L_4);
|
|
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject*)L_4);
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_5 = L_1;
|
|
float L_6 = __this->___Y_1;
|
|
float L_7 = L_6;
|
|
RuntimeObject* L_8 = Box(Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var, &L_7);
|
|
NullCheck(L_5);
|
|
ArrayElementTypeCheck (L_5, L_8);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject*)L_8);
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_9 = L_5;
|
|
float L_10 = __this->___Z_2;
|
|
float L_11 = L_10;
|
|
RuntimeObject* L_12 = Box(Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var, &L_11);
|
|
NullCheck(L_9);
|
|
ArrayElementTypeCheck (L_9, L_12);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject*)L_12);
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_13 = L_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
String_t* L_14 = ((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___listSeparator_8;
|
|
NullCheck(L_13);
|
|
ArrayElementTypeCheck (L_13, L_14);
|
|
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject*)L_14);
|
|
String_t* L_15;
|
|
L_15 = String_Format_m918500C1EFB475181349A79989BB79BB36102894(_stringLiteralD849EC3A4047CBF0EF6D6807E5A08FFE1B8106E8, L_13, NULL);
|
|
return L_15;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = Vector3_ToString_m786EBA6A53A7894D557632C5E1C100C1EF95B739(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 SharpNav.Geometry.Vector3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return X.GetHashCode() ^ Y.GetHashCode() ^ Z.GetHashCode();
|
|
float* L_0 = (&__this->___X_0);
|
|
int32_t L_1;
|
|
L_1 = Single_GetHashCode_mC3F1E099D1CF165C2D71FBCC5EF6A6792F9021D2(L_0, NULL);
|
|
float* L_2 = (&__this->___Y_1);
|
|
int32_t L_3;
|
|
L_3 = Single_GetHashCode_mC3F1E099D1CF165C2D71FBCC5EF6A6792F9021D2(L_2, NULL);
|
|
float* L_4 = (&__this->___Z_2);
|
|
int32_t L_5;
|
|
L_5 = Single_GetHashCode_mC3F1E099D1CF165C2D71FBCC5EF6A6792F9021D2(L_4, NULL);
|
|
return ((int32_t)(((int32_t)(L_1^L_3))^L_5));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = Vector3_GetHashCode_mC99BA804A5EF91AA867A6DC6F07310037A57B4B4(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector3::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector3_Equals_mE77202253637B874ACB09BBF3334CE162541C14E (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, RuntimeObject* ___0_obj, 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 (!(obj is Vector3))
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
if (((RuntimeObject*)IsInstSealed((RuntimeObject*)L_0, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// return this.Equals((Vector3)obj);
|
|
RuntimeObject* L_1 = ___0_obj;
|
|
bool L_2;
|
|
L_2 = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4(__this, ((*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)UnBox(L_1, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var)))), NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Vector3_Equals_mE77202253637B874ACB09BBF3334CE162541C14E_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Vector3_Equals_mE77202253637B874ACB09BBF3334CE162541C14E(_thisAdjusted, ___0_obj, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean SharpNav.Geometry.Vector3::Equals(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return
|
|
// X == other.X &&
|
|
// Y == other.Y &&
|
|
// Z == other.Z;
|
|
float L_0 = __this->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___0_other;
|
|
float L_2 = L_1.___X_0;
|
|
if ((!(((float)L_0) == ((float)L_2))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = __this->___Y_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = ___0_other;
|
|
float L_5 = L_4.___Y_1;
|
|
if ((!(((float)L_3) == ((float)L_5))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
float L_6 = __this->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___0_other;
|
|
float L_8 = L_7.___Z_2;
|
|
return (bool)((((float)L_6) == ((float)L_8))? 1 : 0);
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4_AdjustorThunk (RuntimeObject* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_other, const RuntimeMethod* method)
|
|
{
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Vector3_Equals_mACC896DD9205EC9B3157788279823AD7177411B4(_thisAdjusted, ___0_other, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3__cctor_m5AD808E40A8BDBD84E5D1C2E0FEC5E843D32A007 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public static readonly Vector3 UnitX = new Vector3(1, 0, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_0), (1.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___UnitX_3 = L_0;
|
|
// public static readonly Vector3 UnitY = new Vector3(0, 1, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_1), (0.0f), (1.0f), (0.0f), /*hidden argument*/NULL);
|
|
((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___UnitY_4 = L_1;
|
|
// public static readonly Vector3 UnitZ = new Vector3(0, 0, 1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_2), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
|
|
((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___UnitZ_5 = L_2;
|
|
// public static readonly Vector3 Zero = new Vector3(0, 0, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___Zero_6 = L_3;
|
|
// public static readonly Vector3 One = new Vector3(1, 1, 1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_4), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___One_7 = L_4;
|
|
// private static string listSeparator = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator;
|
|
il2cpp_codegen_runtime_class_init_inline(CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0_il2cpp_TypeInfo_var);
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* L_5;
|
|
L_5 = CultureInfo_get_CurrentCulture_m8A4580F49DDD7E9DB34C699965423DB8E3BBA9A5(NULL);
|
|
NullCheck(L_5);
|
|
TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* L_6;
|
|
L_6 = VirtualFuncInvoker0< TextInfo_tD3BAFCFD77418851E7D5CB8D2588F47019E414B4* >::Invoke(10 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_5);
|
|
NullCheck(L_6);
|
|
String_t* L_7;
|
|
L_7 = VirtualFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.TextInfo::get_ListSeparator() */, L_6);
|
|
((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___listSeparator_8 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___listSeparator_8), (void*)L_7);
|
|
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.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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// result = Vector3.Min(left, right);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_left;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_right;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_3);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = Vector3_Min_mB4917C6B16285E98F9BBCC865BFA291A03C168E1(L_2, L_4, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_5;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// result = Vector3.Min(left, right);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_left;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_1);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_right;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = (*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_3);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = Vector3_Min_mB4917C6B16285E98F9BBCC865BFA291A03C168E1(L_2, L_4, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_0 = L_5;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// Distance2D(ref a, ref b, out result);
|
|
Vector3Extensions_Distance2D_mCD0F94607A3843B32C9F459C147C6F9CAA72BF9A((&___0_a), (&___1_b), (&V_0), NULL);
|
|
// return result;
|
|
float L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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 dx = b.X - a.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___1_b;
|
|
float L_1 = L_0->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___0_a;
|
|
float L_3 = L_2->___X_0;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
// float dz = b.Z - a.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_b;
|
|
float L_5 = L_4->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___0_a;
|
|
float L_7 = L_6->___Z_2;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
// dist = (float)Math.Sqrt(dx * dx + dz * dz);
|
|
float* L_8 = ___2_dist;
|
|
float L_9 = V_0;
|
|
float L_10 = V_0;
|
|
float L_11 = V_1;
|
|
float L_12 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_13;
|
|
L_13 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_9, L_10)), ((float)il2cpp_codegen_multiply(L_11, L_12))))));
|
|
*((float*)L_8) = (float)((float)L_13);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// result = left.X * right.X + left.Z * right.Z;
|
|
float* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_left;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_right;
|
|
float L_4 = L_3->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_left;
|
|
float L_6 = L_5->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_right;
|
|
float L_8 = L_7->___Z_2;
|
|
*((float*)L_0) = (float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Geometry.Vector3Extensions::Dot2D(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Vector3Extensions_Dot2D_m7A90F7607A7738D926DEEB2B0C570DFFE09E54AA (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_left, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return left.X * right.X + left.Z * right.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___0_left;
|
|
float L_1 = L_0->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_right;
|
|
float L_3 = L_2->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___0_left;
|
|
float L_5 = L_4->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___1_right;
|
|
float L_7 = L_6->___Z_2;
|
|
return ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7))));
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// Cross2D(ref p1, ref p2, ref p3, out result);
|
|
Vector3Extensions_Cross2D_m160A41D103A6262332002C40811ACD6D07718295((&___0_p1), (&___1_p2), (&___2_p3), (&V_0), NULL);
|
|
// return result;
|
|
float L_0 = V_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
{
|
|
// float u1 = p2.X - p1.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_0 = ___1_p2;
|
|
float L_1 = L_0->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___0_p1;
|
|
float L_3 = L_2->___X_0;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
// float v1 = p2.Z - p1.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_p2;
|
|
float L_5 = L_4->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_6 = ___0_p1;
|
|
float L_7 = L_6->___Z_2;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
// float u2 = p3.X - p1.X;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_8 = ___2_p3;
|
|
float L_9 = L_8->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_10 = ___0_p1;
|
|
float L_11 = L_10->___X_0;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
// float v2 = p3.Z - p1.Z;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___2_p3;
|
|
float L_13 = L_12->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_14 = ___0_p1;
|
|
float L_15 = L_14->___Z_2;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_13, L_15));
|
|
// result = u1 * v2 - v1 * u2;
|
|
float* L_16 = ___3_result;
|
|
float L_17 = V_0;
|
|
float L_18 = V_3;
|
|
float L_19 = V_1;
|
|
float L_20 = V_2;
|
|
*((float*)L_16) = (float)((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_17, L_18)), ((float)il2cpp_codegen_multiply(L_19, L_20))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::PerpDotXZ(SharpNav.Geometry.Vector3&,SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_PerpDotXZ_m81D1D8B1F955CFAB509D871CC74107484BD69BE6 (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_a, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_b, float* ___2_result, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// result = a.X * b.Z - a.Z * b.X;
|
|
float* L_0 = ___2_result;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_a;
|
|
float L_2 = L_1->___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_3 = ___1_b;
|
|
float L_4 = L_3->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_5 = ___0_a;
|
|
float L_6 = L_5->___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_7 = ___1_b;
|
|
float L_8 = L_7->___X_0;
|
|
*((float*)L_0) = (float)((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_2, L_4)), ((float)il2cpp_codegen_multiply(L_6, L_8))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Geometry.Vector3Extensions::CalculateSlopeAngle(SharpNav.Geometry.Vector3&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector3Extensions_CalculateSlopeAngle_mE06805F9DA239185564B0A9E6114CFCC82A2502B (Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___0_vec, float* ___1_angle, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_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));
|
|
float V_1 = 0.0f;
|
|
{
|
|
// Vector3 up = Vector3.UnitY;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ((Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var))->___UnitY_4;
|
|
V_0 = L_0;
|
|
// Vector3.Dot(ref vec, ref up, out dot);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_1 = ___0_vec;
|
|
Vector3_Dot_mE571ABE3572CD97C8357D8A4E6BD76E5F1188B13(L_1, (&V_0), (&V_1), NULL);
|
|
// angle = (float)Math.Acos(dot);
|
|
float* L_2 = ___1_angle;
|
|
float L_3 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_4;
|
|
L_4 = acos(((double)L_3));
|
|
*((float*)L_2) = (float)((float)L_4);
|
|
// }
|
|
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.Int32 SharpNav.Crowds.Agent::get_AgentIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Agent_get_AgentIndex_m41B7CEAC7217B93ED7C75645F971C4596F0D7058 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return agentIndex;
|
|
int32_t L_0 = __this->___agentIndex_27;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent__ctor_m68F10298CB6A168F51DD036BB7A6612EFD1BC93D (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_maxPath, int32_t ___1_agentIndex, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Agent(int maxPath, int agentIndex)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.agentIndex = agentIndex;
|
|
int32_t L_0 = ___1_agentIndex;
|
|
__this->___agentIndex_27 = L_0;
|
|
// active = false;
|
|
__this->___active_2 = (bool)0;
|
|
// corridor = new PathCorridor(maxPath);
|
|
int32_t L_1 = ___0_maxPath;
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_2 = (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760*)il2cpp_codegen_object_new(PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
PathCorridor__ctor_m6CF9E9223757380F8B1F46E41ECF87053E8B0443(L_2, L_1, NULL);
|
|
__this->___corridor_5 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___corridor_5), (void*)L_2);
|
|
// boundary = new LocalBoundary();
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_3 = (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429*)il2cpp_codegen_object_new(LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
LocalBoundary__ctor_mB81A034D4D771EBD6CD8F341E02850BAFFA5AB07(L_3, NULL);
|
|
__this->___boundary_6 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___boundary_6), (void*)L_3);
|
|
// neighbors = new CrowdNeighbor[AgentMaxNeighbors];
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_4 = (CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938*)(CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938*)SZArrayNew(CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
__this->___neighbors_8 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___neighbors_8), (void*)L_4);
|
|
// CornerVerts = new Vector3[AgentMaxCorners];
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_5 = (Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3*)SZArrayNew(Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3_il2cpp_TypeInfo_var, (uint32_t)4);
|
|
__this->___CornerVerts_17 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___CornerVerts_17), (void*)L_5);
|
|
// CornerFlags = new int[AgentMaxCorners];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)4);
|
|
__this->___CornerFlags_18 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___CornerFlags_18), (void*)L_6);
|
|
// CornerPolys = new int[AgentMaxCorners];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)4);
|
|
__this->___CornerPolys_19 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___CornerPolys_19), (void*)L_7);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::get_IsActive()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return active;
|
|
bool L_0 = __this->___active_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_IsActive(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_IsActive_mD24FB44798F9E71B55664F6AEB3558D22713CDBC (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// active = value;
|
|
bool L_0 = ___0_value;
|
|
__this->___active_2 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::get_IsPartial()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_get_IsPartial_mE5FBE1D35AD08DB6326EE6513BC07B2665F7B05C (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return partial;
|
|
bool L_0 = __this->___partial_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_IsPartial(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// partial = value;
|
|
bool L_0 = ___0_value;
|
|
__this->___partial_4 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.AgentState SharpNav.Crowds.Agent::get_State()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return state;
|
|
int32_t L_0 = __this->___state_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_State(SharpNav.Crowds.AgentState)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_State_mA6E561DE916B35B5347C6143B16EC9559DFE251A (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// state = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___state_3 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::get_Position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return currentPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___currentPos_11;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_Position(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// currentPos = value;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
__this->___currentPos_11 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.LocalBoundary SharpNav.Crowds.Agent::get_Boundary()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return boundary;
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_0 = __this->___boundary_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.PathCorridor SharpNav.Crowds.Agent::get_Corridor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return corridor;
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_0 = __this->___corridor_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.CrowdNeighbor[] SharpNav.Crowds.Agent::get_Neighbors()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return neighbors;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_0 = __this->___neighbors_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Agent::get_NeighborCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return numNeis;
|
|
int32_t L_0 = __this->___numNeis_9;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_NeighborCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_NeighborCount_mC9DC461D3E4F7D64CE553A736107860BB66EE943 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// numNeis = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___numNeis_9 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.TargetState SharpNav.Crowds.Agent::get_TargetState()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return targetState;
|
|
int32_t L_0 = __this->___targetState_21;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_TargetState(SharpNav.Crowds.TargetState)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// targetState = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___targetState_21 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Geometry.Vector3 SharpNav.Crowds.Agent::get_TargetPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return targetPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___targetPos_23;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_TargetPosition(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_TargetPosition_mC9A632C5F683FB35666CBAB9E92C184599AA6016 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// targetPos = value;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
__this->___targetPos_23 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Agent::get_CornerCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return numCorners;
|
|
int32_t L_0 = __this->___numCorners_20;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::set_CornerCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_set_CornerCount_mD5B216F4C815BBA6091AE530BC621DD84A5CF16D (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// numCorners = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___numCorners_20 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::Integrate(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_Integrate_m2F11F8189651AC1107D4C2CF6512D95C2D4EDB7A (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, float ___0_dt, 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;
|
|
}
|
|
float V_0 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
float V_2 = 0.0f;
|
|
{
|
|
// float maxDelta = Parameters.MaxAcceleration * dt;
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_0 = (&__this->___Parameters_16);
|
|
float L_1 = L_0->___MaxAcceleration_2;
|
|
float L_2 = ___0_dt;
|
|
V_0 = ((float)il2cpp_codegen_multiply(L_1, L_2));
|
|
// Vector3 dv = NVel - Vel;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3 = __this->___NVel_14;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4 = __this->___Vel_15;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
L_5 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_3, L_4, NULL);
|
|
V_1 = L_5;
|
|
// float ds = dv.Length();
|
|
float L_6;
|
|
L_6 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_1), NULL);
|
|
V_2 = L_6;
|
|
// if (ds > maxDelta)
|
|
float L_7 = V_2;
|
|
float L_8 = V_0;
|
|
if ((!(((float)L_7) > ((float)L_8))))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
// dv = dv * (maxDelta / ds);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9 = V_1;
|
|
float L_10 = V_0;
|
|
float L_11 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_12;
|
|
L_12 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_9, ((float)(L_10/L_11)), NULL);
|
|
V_1 = L_12;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// Vel = Vel + dv;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_13 = __this->___Vel_15;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15;
|
|
L_15 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_13, L_14, NULL);
|
|
__this->___Vel_15 = L_15;
|
|
// if (Vel.Length() > 0.0001f)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = (&__this->___Vel_15);
|
|
float L_17;
|
|
L_17 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798(L_16, NULL);
|
|
if ((!(((float)L_17) > ((float)(9.99999975E-05f)))))
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
{
|
|
// currentPos = currentPos + Vel * dt;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18 = __this->___currentPos_11;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19 = __this->___Vel_15;
|
|
float L_20 = ___0_dt;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_21;
|
|
L_21 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_19, L_20, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22;
|
|
L_22 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_18, L_21, NULL);
|
|
__this->___currentPos_11 = L_22;
|
|
return;
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
// Vel = new Vector3(0, 0, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23;
|
|
memset((&L_23), 0, sizeof(L_23));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_23), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___Vel_15 = L_23;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::Reset(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_Reset_m06C84F921EB0EF3D947E6B6C1276C56EC3D9226E (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_nearest, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.corridor.Reset(reference, nearest);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_0 = __this->___corridor_5;
|
|
int32_t L_1 = ___0_reference;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_nearest;
|
|
NullCheck(L_0);
|
|
PathCorridor_Reset_m4AE10C5B75356546CBAF6BE51D31D45CD9AF83CD(L_0, L_1, L_2, NULL);
|
|
// this.boundary.Reset();
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_3 = __this->___boundary_6;
|
|
NullCheck(L_3);
|
|
LocalBoundary_Reset_m8E2E3A7BF654BE3692315EA0E6700A10407380F6(L_3, NULL);
|
|
// this.partial = false;
|
|
__this->___partial_4 = (bool)0;
|
|
// this.topologyOptTime = 0;
|
|
__this->___topologyOptTime_7 = (0.0f);
|
|
// this.TargetReplanTime = 0;
|
|
__this->___TargetReplanTime_26 = (0.0f);
|
|
// this.numNeis = 0;
|
|
__this->___numNeis_9 = 0;
|
|
// this.DesiredVel = new Vector3(0.0f, 0.0f, 0.0f);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_4), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___DesiredVel_13 = L_4;
|
|
// this.NVel = new Vector3(0.0f, 0.0f, 0.0f);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5;
|
|
memset((&L_5), 0, sizeof(L_5));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_5), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___NVel_14 = L_5;
|
|
// this.Vel = new Vector3(0.0f, 0.0f, 0.0f);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_6), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___Vel_15 = L_6;
|
|
// this.currentPos = nearest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_7 = ___1_nearest;
|
|
__this->___currentPos_11 = L_7;
|
|
// this.DesiredSpeed = 0;
|
|
__this->___DesiredSpeed_10 = (0.0f);
|
|
// if (reference != 0)
|
|
int32_t L_8 = ___0_reference;
|
|
if (!L_8)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// this.state = AgentState.Walking;
|
|
__this->___state_3 = 1;
|
|
goto IL_00af;
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// this.state = AgentState.Invalid;
|
|
__this->___state_3 = 0;
|
|
}
|
|
|
|
IL_00af:
|
|
{
|
|
// this.TargetState = TargetState.None;
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(__this, 0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::RequestMoveTargetReplan(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_RequestMoveTargetReplan_mDF72267903110D23A9E4329408B3203F55AB772E (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.TargetRef = reference;
|
|
int32_t L_0 = ___0_reference;
|
|
__this->___TargetRef_22 = L_0;
|
|
// this.targetPos = pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_1 = ___1_pos;
|
|
__this->___targetPos_23 = L_1;
|
|
// this.TargetPathqRef = PathQueue.Invalid;
|
|
__this->___TargetPathqRef_24 = 0;
|
|
// this.TargetReplan = true;
|
|
__this->___TargetReplan_25 = (bool)1;
|
|
// if (this.TargetRef != 0)
|
|
int32_t L_2 = __this->___TargetRef_22;
|
|
if (!L_2)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// this.TargetState = TargetState.Requesting;
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(__this, 3, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// this.TargetState = TargetState.Failed;
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(__this, 1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::RequestMoveTarget(System.Int32,SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_RequestMoveTarget_mFC81F70BE2C09B1D447CDC2DCAD8B216B07DCD11 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_reference, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___1_pos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (reference == 0)
|
|
int32_t L_0 = ___0_reference;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// this.TargetRef = reference;
|
|
int32_t L_1 = ___0_reference;
|
|
__this->___TargetRef_22 = L_1;
|
|
// this.targetPos = pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___1_pos;
|
|
__this->___targetPos_23 = L_2;
|
|
// this.TargetPathqRef = PathQueue.Invalid;
|
|
__this->___TargetPathqRef_24 = 0;
|
|
// this.TargetReplan = false;
|
|
__this->___TargetReplan_25 = (bool)0;
|
|
// if (this.TargetRef != 0)
|
|
int32_t L_3 = __this->___TargetRef_22;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
}
|
|
{
|
|
// this.targetState = TargetState.Requesting;
|
|
__this->___targetState_21 = 3;
|
|
goto IL_0039;
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// this.targetState = TargetState.Failed;
|
|
__this->___targetState_21 = 1;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::RequestMoveVelocity(SharpNav.Geometry.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_RequestMoveVelocity_m61C008C39C8E07E9CEBEA7EE437E869E5D9F4F84 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_vel, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.TargetRef = 0;
|
|
__this->___TargetRef_22 = 0;
|
|
// this.targetPos = vel;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_vel;
|
|
__this->___targetPos_23 = L_0;
|
|
// this.TargetPathqRef = PathQueue.Invalid;
|
|
__this->___TargetPathqRef_24 = 0;
|
|
// this.TargetReplan = false;
|
|
__this->___TargetReplan_25 = (bool)0;
|
|
// this.targetState = TargetState.Velocity;
|
|
__this->___targetState_21 = 6;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::ResetMoveTarget()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_ResetMoveTarget_m81AC3D5AD8CBAB60AF87C528BCC1637FB9BE9F34 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.TargetRef = 0;
|
|
__this->___TargetRef_22 = 0;
|
|
// this.targetPos = new Vector3(0.0f, 0.0f, 0.0f);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_0), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___targetPos_23 = L_0;
|
|
// this.TargetPathqRef = PathQueue.Invalid;
|
|
__this->___TargetPathqRef_24 = 0;
|
|
// this.TargetReplan = false;
|
|
__this->___TargetReplan_25 = (bool)0;
|
|
// this.targetState = TargetState.None;
|
|
__this->___targetState_21 = 0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Agent::UpdateAgentParameters(SharpNav.Crowds.AgentParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Agent_UpdateAgentParameters_m54B147182D4371B587A357189E2E0253C1AA30DC (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 ___0_parameters, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.Parameters = parameters;
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 L_0 = ___0_parameters;
|
|
__this->___Parameters_16 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::op_Equality(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_op_Equality_mFA90467E04255792F9FE0E79DB9195409EAB3904 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_left, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (Object.ReferenceEquals(left, null) && Object.ReferenceEquals(right, null)) {
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_left;
|
|
if (L_0)
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_1 = ___1_right;
|
|
if (L_1)
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// if (Object.ReferenceEquals(left, null) || Object.ReferenceEquals(right, null)) {
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_2 = ___0_left;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = ___1_right;
|
|
if (L_3)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// return left.Equals(right);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_4 = ___0_left;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_5 = ___1_right;
|
|
NullCheck(L_4);
|
|
bool L_6;
|
|
L_6 = Agent_Equals_m82F3B2305BC3D8BECB7D3605E26E527B9C13D49F(L_4, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::op_Inequality(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_op_Inequality_mE495A95A594BBC56A0FCE696D61BF6D531DC9513 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_left, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___1_right, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return !(left == right);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_left;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_1 = ___1_right;
|
|
bool L_2;
|
|
L_2 = Agent_op_Equality_mFA90467E04255792F9FE0E79DB9195409EAB3904(L_0, L_1, NULL);
|
|
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::Equals(SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_Equals_m82F3B2305BC3D8BECB7D3605E26E527B9C13D49F (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_other, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (Object.ReferenceEquals(other, null)) return false;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_other;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// if (Object.ReferenceEquals(other, null)) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// return agentIndex == other.AgentIndex;
|
|
int32_t L_1 = __this->___agentIndex_27;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_2 = ___0_other;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = Agent_get_AgentIndex_m41B7CEAC7217B93ED7C75645F971C4596F0D7058_inline(L_2, NULL);
|
|
return (bool)((((int32_t)L_1) == ((int32_t)L_3))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Agent::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Agent_Equals_mEF2233E82BB18204DF1507429DAC1E90A5437064 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_0 = NULL;
|
|
{
|
|
// var other = obj as Agent;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
V_0 = ((Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)IsInstClass((RuntimeObject*)L_0, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9_il2cpp_TypeInfo_var));
|
|
// if (other != null)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_1 = V_0;
|
|
bool L_2;
|
|
L_2 = Agent_op_Inequality_mE495A95A594BBC56A0FCE696D61BF6D531DC9513(L_1, (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// return this.Equals(other);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = V_0;
|
|
bool L_4;
|
|
L_4 = Agent_Equals_m82F3B2305BC3D8BECB7D3605E26E527B9C13D49F(__this, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Agent::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Agent_GetHashCode_m39D9A7A8C6F1AA97650CB4022C55C39349E1C806 (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return agentIndex;
|
|
int32_t L_0 = __this->___agentIndex_27;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.String SharpNav.Crowds.Agent::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Agent_ToString_m0EB99FB859C7E923A9D022E6471963F5320C970B (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return base.ToString();
|
|
String_t* L_0;
|
|
L_0 = Object_ToString_mF8AC1EB9D85AB52EC8FD8B8BDD131E855E69673F(__this, NULL);
|
|
return L_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.Crowds.Crowd::.ctor(System.Int32,System.Single,SharpNav.TiledNavMesh&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd__ctor_m0FE835E0E7D032530259B9317A42BB98FE575EA9 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, int32_t ___0_maxAgents, float ___1_maxAgentRadius, TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF** ___2_navMesh, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProximityGrid_1__ctor_m6DA531CC311138D42F0D2AEB8229042872928810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// public Crowd(int maxAgents, float maxAgentRadius, ref TiledNavMesh navMesh)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.maxAgents = maxAgents;
|
|
int32_t L_0 = ___0_maxAgents;
|
|
__this->___maxAgents_4 = L_0;
|
|
// this.ext = new Vector3(maxAgentRadius * 2.0f, maxAgentRadius * 1.5f, maxAgentRadius * 2.0f);
|
|
float L_1 = ___1_maxAgentRadius;
|
|
float L_2 = ___1_maxAgentRadius;
|
|
float L_3 = ___1_maxAgentRadius;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_4), ((float)il2cpp_codegen_multiply(L_1, (2.0f))), ((float)il2cpp_codegen_multiply(L_2, (1.5f))), ((float)il2cpp_codegen_multiply(L_3, (2.0f))), /*hidden argument*/NULL);
|
|
__this->___ext_13 = L_4;
|
|
// this.grid = new ProximityGrid<Agent>(maxAgents * 4, maxAgentRadius * 3);
|
|
int32_t L_5 = ___0_maxAgents;
|
|
float L_6 = ___1_maxAgentRadius;
|
|
ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* L_7 = (ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B*)il2cpp_codegen_object_new(ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
ProximityGrid_1__ctor_m6DA531CC311138D42F0D2AEB8229042872928810(L_7, ((int32_t)il2cpp_codegen_multiply(L_5, 4)), ((float)il2cpp_codegen_multiply(L_6, (3.0f))), ProximityGrid_1__ctor_m6DA531CC311138D42F0D2AEB8229042872928810_RuntimeMethod_var);
|
|
__this->___grid_10 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___grid_10), (void*)L_7);
|
|
// this.obstacleQuery = new ObstacleAvoidanceQuery(6, 8);
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* L_8 = (ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD*)il2cpp_codegen_object_new(ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_8);
|
|
ObstacleAvoidanceQuery__ctor_m2B0C08A3F03CCD8DE76EAD351DA210B400485FD6(L_8, 6, 8, NULL);
|
|
__this->___obstacleQuery_9 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___obstacleQuery_9), (void*)L_8);
|
|
// this.obstacleQueryParams = new ObstacleAvoidanceQuery.ObstacleAvoidanceParams[AgentMaxObstacleAvoidanceParams];
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_9 = (ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F*)(ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F*)SZArrayNew(ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
__this->___obstacleQueryParams_8 = L_9;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___obstacleQueryParams_8), (void*)L_9);
|
|
// for (int i = 0; i < this.obstacleQueryParams.Length; i++)
|
|
V_0 = 0;
|
|
goto IL_0133;
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// this.obstacleQueryParams[i].VelBias = 0.4f;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_10 = __this->___obstacleQueryParams_8;
|
|
int32_t L_11 = V_0;
|
|
NullCheck(L_10);
|
|
((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->___VelBias_0 = (0.400000006f);
|
|
// this.obstacleQueryParams[i].WeightDesVel = 2.0f;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_12 = __this->___obstacleQueryParams_8;
|
|
int32_t L_13 = V_0;
|
|
NullCheck(L_12);
|
|
((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___WeightDesVel_1 = (2.0f);
|
|
// this.obstacleQueryParams[i].WeightCurVel = 0.75f;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_14 = __this->___obstacleQueryParams_8;
|
|
int32_t L_15 = V_0;
|
|
NullCheck(L_14);
|
|
((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15)))->___WeightCurVel_2 = (0.75f);
|
|
// this.obstacleQueryParams[i].WeightSide = 0.75f;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_16 = __this->___obstacleQueryParams_8;
|
|
int32_t L_17 = V_0;
|
|
NullCheck(L_16);
|
|
((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->___WeightSide_3 = (0.75f);
|
|
// this.obstacleQueryParams[i].WeightToi = 2.5f;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_18 = __this->___obstacleQueryParams_8;
|
|
int32_t L_19 = V_0;
|
|
NullCheck(L_18);
|
|
((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_19)))->___WeightToi_4 = (2.5f);
|
|
// this.obstacleQueryParams[i].HorizTime = 2.5f;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_20 = __this->___obstacleQueryParams_8;
|
|
int32_t L_21 = V_0;
|
|
NullCheck(L_20);
|
|
((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_21)))->___HorizTime_5 = (2.5f);
|
|
// this.obstacleQueryParams[i].GridSize = 33;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_22 = __this->___obstacleQueryParams_8;
|
|
int32_t L_23 = V_0;
|
|
NullCheck(L_22);
|
|
((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_23)))->___GridSize_6 = ((int32_t)33);
|
|
// this.obstacleQueryParams[i].AdaptiveDivs = 7;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_24 = __this->___obstacleQueryParams_8;
|
|
int32_t L_25 = V_0;
|
|
NullCheck(L_24);
|
|
((L_24)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_25)))->___AdaptiveDivs_7 = 7;
|
|
// this.obstacleQueryParams[i].AdaptiveRings = 2;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_26 = __this->___obstacleQueryParams_8;
|
|
int32_t L_27 = V_0;
|
|
NullCheck(L_26);
|
|
((L_26)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_27)))->___AdaptiveRings_8 = 2;
|
|
// this.obstacleQueryParams[i].AdaptiveDepth = 5;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_28 = __this->___obstacleQueryParams_8;
|
|
int32_t L_29 = V_0;
|
|
NullCheck(L_28);
|
|
((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29)))->___AdaptiveDepth_9 = 5;
|
|
// for (int i = 0; i < this.obstacleQueryParams.Length; i++)
|
|
int32_t L_30 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_0133:
|
|
{
|
|
// for (int i = 0; i < this.obstacleQueryParams.Length; i++)
|
|
int32_t L_31 = V_0;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_32 = __this->___obstacleQueryParams_8;
|
|
NullCheck(L_32);
|
|
if ((((int32_t)L_31) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}
|
|
{
|
|
// this.maxPathResult = 256;
|
|
__this->___maxPathResult_12 = ((int32_t)256);
|
|
// this.pathResult = new int[this.maxPathResult];
|
|
int32_t L_33 = __this->___maxPathResult_12;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_34 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_33);
|
|
__this->___pathResult_11 = L_34;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathResult_11), (void*)L_34);
|
|
// this.pathq = new PathQueue(maxPathResult, 4096, ref navMesh);
|
|
int32_t L_35 = __this->___maxPathResult_12;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF** L_36 = ___2_navMesh;
|
|
PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* L_37 = (PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D*)il2cpp_codegen_object_new(PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_37);
|
|
PathQueue__ctor_m1EC4A59038D072CB3580797727D6B3884CBE4B59(L_37, L_35, ((int32_t)4096), L_36, NULL);
|
|
__this->___pathq_7 = L_37;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathq_7), (void*)L_37);
|
|
// this.agents = new Agent[maxAgents];
|
|
int32_t L_38 = ___0_maxAgents;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_39 = (AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)SZArrayNew(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var, (uint32_t)L_38);
|
|
__this->___agents_5 = L_39;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___agents_5), (void*)L_39);
|
|
// this.agentAnims = new AgentAnimation[maxAgents];
|
|
int32_t L_40 = ___0_maxAgents;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_41 = (AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918*)(AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918*)SZArrayNew(AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918_il2cpp_TypeInfo_var, (uint32_t)L_40);
|
|
__this->___agentAnims_6 = L_41;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___agentAnims_6), (void*)L_41);
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
V_1 = 0;
|
|
goto IL_01a8;
|
|
}
|
|
|
|
IL_0190:
|
|
{
|
|
// this.agents[i] = new Agent(maxPathResult, i);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_42 = __this->___agents_5;
|
|
int32_t L_43 = V_1;
|
|
int32_t L_44 = __this->___maxPathResult_12;
|
|
int32_t L_45 = V_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_46 = (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)il2cpp_codegen_object_new(Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_46);
|
|
Agent__ctor_m68F10298CB6A168F51DD036BB7A6612EFD1BC93D(L_46, L_44, L_45, NULL);
|
|
NullCheck(L_42);
|
|
ArrayElementTypeCheck (L_42, L_46);
|
|
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(L_43), (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)L_46);
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_47 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_47, 1));
|
|
}
|
|
|
|
IL_01a8:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_48 = V_1;
|
|
int32_t L_49 = ___0_maxAgents;
|
|
if ((((int32_t)L_48) < ((int32_t)L_49)))
|
|
{
|
|
goto IL_0190;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
V_2 = 0;
|
|
goto IL_01c6;
|
|
}
|
|
|
|
IL_01b0:
|
|
{
|
|
// this.agentAnims[i].Active = false;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_50 = __this->___agentAnims_6;
|
|
int32_t L_51 = V_2;
|
|
NullCheck(L_50);
|
|
AgentAnimation_set_Active_mC8DA5BB97C3D057651BB2B118C9CD9736FDFE8D3_inline(((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_51))), (bool)0, NULL);
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_52 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_52, 1));
|
|
}
|
|
|
|
IL_01c6:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_53 = V_2;
|
|
int32_t L_54 = ___0_maxAgents;
|
|
if ((((int32_t)L_53) < ((int32_t)L_54)))
|
|
{
|
|
goto IL_01b0;
|
|
}
|
|
}
|
|
{
|
|
// this.navQuery = new NavMeshQuery(navMesh, 512);
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF** L_55 = ___2_navMesh;
|
|
TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF* L_56 = *((TiledNavMesh_tA94ABC64A0549A8993031644B5CBE3D2D3AC45CF**)L_55);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_57 = (NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9*)il2cpp_codegen_object_new(NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_57);
|
|
NavMeshQuery__ctor_mCE87C0A876327447EC5221DF987266E60783C153(L_57, L_56, ((int32_t)512), NULL);
|
|
__this->___navQuery_15 = L_57;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___navQuery_15), (void*)L_57);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams SharpNav.Crowds.Crowd::GetObstacleAvoidanceParams(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 Crowd_GetObstacleAvoidanceParams_mFC8CB1E48785FD68028CDC6D01C3F1FEC994A88E (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, int32_t ___0_idx, const RuntimeMethod* method)
|
|
{
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (idx >= 0 && idx < AgentMaxObstacleAvoidanceParams)
|
|
int32_t L_0 = ___0_idx;
|
|
if ((((int32_t)L_0) < ((int32_t)0)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___0_idx;
|
|
if ((((int32_t)L_1) >= ((int32_t)8)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// return obstacleQueryParams[idx];
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_2 = __this->___obstacleQueryParams_8;
|
|
int32_t L_3 = ___0_idx;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
return L_5;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// return new ObstacleAvoidanceQuery.ObstacleAvoidanceParams();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136));
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::SetObstacleAvoidanceParams(System.Int32,SharpNav.Crowds.ObstacleAvoidanceQuery/ObstacleAvoidanceParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_SetObstacleAvoidanceParams_mF4AA05016121123B635CD1B7841D386D6DDE14C5 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, int32_t ___0_idx, ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 ___1_parameters, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (idx >= 0 && idx < AgentMaxObstacleAvoidanceParams)
|
|
int32_t L_0 = ___0_idx;
|
|
if ((((int32_t)L_0) < ((int32_t)0)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___0_idx;
|
|
if ((((int32_t)L_1) >= ((int32_t)8)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// obstacleQueryParams[idx] = parameters;
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_2 = __this->___obstacleQueryParams_8;
|
|
int32_t L_3 = ___0_idx;
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 L_4 = ___1_parameters;
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136)L_4);
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetAgentCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetAgentCount_m9DC5F97F396ECF529FC496DB5D969D03A47863F7 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return maxAgents;
|
|
int32_t L_0 = __this->___maxAgents_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// SharpNav.Crowds.Agent SharpNav.Crowds.Crowd::GetAgent(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* Crowd_GetAgent_mB1B38B409CD61BA9029DCD93B108E7D87662A4A7 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, int32_t ___0_idx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (idx < 0 || idx >= maxAgents)
|
|
int32_t L_0 = ___0_idx;
|
|
if ((((int32_t)L_0) < ((int32_t)0)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___0_idx;
|
|
int32_t L_2 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_1) < ((int32_t)L_2)))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// return null;
|
|
return (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)NULL;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// return agents[idx];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_3 = __this->___agents_5;
|
|
int32_t L_4 = ___0_idx;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddAgent(SharpNav.Geometry.Vector3,SharpNav.Crowds.AgentParams)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddAgent_m5F9E22305F5DE6318EEC1B8EF343BFA57D86D3D3 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 ___1_parameters, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
{
|
|
// int idx = -1;
|
|
V_0 = (-1);
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
V_2 = 0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// if (!agents[i].IsActive)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = __this->___agents_5;
|
|
int32_t L_1 = V_2;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897_inline(L_3, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// idx = i;
|
|
int32_t L_5 = V_2;
|
|
V_0 = L_5;
|
|
// break;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_6 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_7 = V_2;
|
|
int32_t L_8 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_7) < ((int32_t)L_8)))
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// if (idx == -1)
|
|
int32_t L_9 = V_0;
|
|
if ((!(((uint32_t)L_9) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// agents[idx].UpdateAgentParameters(parameters);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_10 = __this->___agents_5;
|
|
int32_t L_11 = V_0;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 L_14 = ___1_parameters;
|
|
NullCheck(L_13);
|
|
Agent_UpdateAgentParameters_m54B147182D4371B587A357189E2E0253C1AA30DC_inline(L_13, L_14, NULL);
|
|
// navQuery.FindNearestPoly(ref pos, ref ext, out nearest);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_15 = __this->___navQuery_15;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_16 = (&__this->___ext_13);
|
|
NullCheck(L_15);
|
|
NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE(L_15, (&___0_pos), L_16, (&V_1), NULL);
|
|
// agents[idx].Reset(nearest.Polygon, nearest.Position);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_17 = __this->___agents_5;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = L_18;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_21 = V_1;
|
|
int32_t L_22 = L_21.___Polygon_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_23 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_24 = L_23.___Position_2;
|
|
NullCheck(L_20);
|
|
Agent_Reset_m06C84F921EB0EF3D947E6B6C1276C56EC3D9226E(L_20, L_22, L_24, NULL);
|
|
// agents[idx].IsActive = true;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_25 = __this->___agents_5;
|
|
int32_t L_26 = V_0;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
NullCheck(L_28);
|
|
Agent_set_IsActive_mD24FB44798F9E71B55664F6AEB3558D22713CDBC_inline(L_28, (bool)1, NULL);
|
|
// return idx;
|
|
int32_t L_29 = V_0;
|
|
return L_29;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Crowd::RemoveAgent(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Crowd_RemoveAgent_mF116C0B0886F8D9F2BC70097895CFBB7C5A213FC (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (index < 0 || index >= maxAgents)
|
|
int32_t L_0 = ___0_index;
|
|
if ((((int32_t)L_0) < ((int32_t)0)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___0_index;
|
|
int32_t L_2 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_1) < ((int32_t)L_2)))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// agents[index].IsActive = false;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_3 = __this->___agents_5;
|
|
int32_t L_4 = ___0_index;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
NullCheck(L_6);
|
|
Agent_set_IsActive_mD24FB44798F9E71B55664F6AEB3558D22713CDBC_inline(L_6, (bool)0, NULL);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetActiveAgents(SharpNav.Crowds.Agent[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetActiveAgents_m17FD460435ADC9E306998D441A341C4F792BD812 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___0_agents, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// int n = 0;
|
|
V_0 = 0;
|
|
// for (int i = 0; i < agents.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_0027;
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// if (!agents[i].IsActive)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = ___0_agents;
|
|
int32_t L_1 = V_1;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897_inline(L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// if (n < maxAgents)
|
|
int32_t L_5 = V_0;
|
|
int32_t L_6 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_5) >= ((int32_t)L_6)))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// agents[n++] = agents[i];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_7 = ___0_agents;
|
|
int32_t L_8 = V_0;
|
|
int32_t L_9 = L_8;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_10 = ___0_agents;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
NullCheck(L_7);
|
|
ArrayElementTypeCheck (L_7, L_13);
|
|
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)L_13);
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// for (int i = 0; i < agents.Length; i++)
|
|
int32_t L_14 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// for (int i = 0; i < agents.Length; i++)
|
|
int32_t L_15 = V_1;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_16 = ___0_agents;
|
|
NullCheck(L_16);
|
|
if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
{
|
|
// return n;
|
|
int32_t L_17 = V_0;
|
|
return L_17;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetAgentIndex(SharpNav.Crowds.Agent)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetAgentIndex_mF03B3AB1D7C61F53DEB66268A0C35B63E608998A (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_agent, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < agents.Length; i++)
|
|
V_0 = 0;
|
|
goto IL_001a;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// if (agents[i] == agent)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = __this->___agents_5;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_4 = ___0_agent;
|
|
bool L_5;
|
|
L_5 = Agent_op_Equality_mFA90467E04255792F9FE0E79DB9195409EAB3904(L_3, L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// return i;
|
|
int32_t L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// for (int i = 0; i < agents.Length; i++)
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int i = 0; i < agents.Length; i++)
|
|
int32_t L_8 = V_0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_9 = __this->___agents_5;
|
|
NullCheck(L_9);
|
|
if ((((int32_t)L_8) < ((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::Update(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_Update_m1C2907A7ED29E81E5382719AA7709C6AEFE000BC (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, float ___0_dt, 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*)&ProximityGrid_1_AddItem_m2D91E3157EC546988F45B5E092C80B48AEF4DA60_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProximityGrid_1_Clear_mC2D60C98829F49AAE0E7036868FA38F54A8D1C28_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_2 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
float V_6 = 0.0f;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
int32_t V_10 = 0;
|
|
float V_11 = 0.0f;
|
|
int32_t V_12 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
float V_17 = 0.0f;
|
|
float V_18 = 0.0f;
|
|
float V_19 = 0.0f;
|
|
float V_20 = 0.0f;
|
|
float V_21 = 0.0f;
|
|
float V_22 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
int32_t V_24 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_25 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_26;
|
|
memset((&V_26), 0, sizeof(V_26));
|
|
float V_27 = 0.0f;
|
|
float V_28 = 0.0f;
|
|
float V_29 = 0.0f;
|
|
float V_30 = 0.0f;
|
|
float V_31 = 0.0f;
|
|
int32_t V_32 = 0;
|
|
int32_t V_33 = 0;
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 V_34;
|
|
memset((&V_34), 0, sizeof(V_34));
|
|
int32_t V_35 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_36 = NULL;
|
|
int32_t V_37 = 0;
|
|
Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E V_38;
|
|
memset((&V_38), 0, sizeof(V_38));
|
|
int32_t V_39 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_40 = NULL;
|
|
int32_t V_41 = 0;
|
|
int32_t V_42 = 0;
|
|
int32_t V_43 = 0;
|
|
float V_44 = 0.0f;
|
|
int32_t V_45 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_46 = NULL;
|
|
int32_t V_47 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_48;
|
|
memset((&V_48), 0, sizeof(V_48));
|
|
float V_49 = 0.0f;
|
|
float V_50 = 0.0f;
|
|
float V_51 = 0.0f;
|
|
int32_t V_52 = 0;
|
|
int32_t V_53 = 0;
|
|
float V_54 = 0.0f;
|
|
float V_55 = 0.0f;
|
|
float V_56 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_57;
|
|
memset((&V_57), 0, sizeof(V_57));
|
|
float V_58 = 0.0f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_59;
|
|
memset((&V_59), 0, sizeof(V_59));
|
|
{
|
|
// velocitySampleCount = 0;
|
|
__this->___velocitySampleCount_14 = 0;
|
|
// int numAgents = GetActiveAgents(agents);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = __this->___agents_5;
|
|
int32_t L_1;
|
|
L_1 = Crowd_GetActiveAgents_m17FD460435ADC9E306998D441A341C4F792BD812(__this, L_0, NULL);
|
|
V_0 = L_1;
|
|
// CheckPathValidity(agents, numAgents, dt);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_2 = __this->___agents_5;
|
|
int32_t L_3 = V_0;
|
|
float L_4 = ___0_dt;
|
|
Crowd_CheckPathValidity_mEC9FB636F10A170F3EE52C9E7DBD71F397E1FA34(__this, L_2, L_3, L_4, NULL);
|
|
// UpdateMoveRequest();
|
|
Crowd_UpdateMoveRequest_m185093358D152460DAEE407649890B2EB9C67826(__this, NULL);
|
|
// UpdateTopologyOptimization(agents, numAgents, dt);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_5 = __this->___agents_5;
|
|
int32_t L_6 = V_0;
|
|
float L_7 = ___0_dt;
|
|
Crowd_UpdateTopologyOptimization_m6C94D858F982C5B210E7A4B3DEFE0B4A4CD4C8EE(__this, L_5, L_6, L_7, NULL);
|
|
// grid.Clear();
|
|
ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* L_8 = __this->___grid_10;
|
|
NullCheck(L_8);
|
|
ProximityGrid_1_Clear_mC2D60C98829F49AAE0E7036868FA38F54A8D1C28(L_8, ProximityGrid_1_Clear_mC2D60C98829F49AAE0E7036868FA38F54A8D1C28_RuntimeMethod_var);
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_1 = 0;
|
|
goto IL_0096;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// Agent a = agents[i];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_9 = __this->___agents_5;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_9);
|
|
int32_t L_11 = L_10;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
V_2 = L_12;
|
|
// Vector3 p = a.Position;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_13 = V_2;
|
|
NullCheck(L_13);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_14;
|
|
L_14 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_13, NULL);
|
|
V_3 = L_14;
|
|
// float r = a.Parameters.Radius;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_15 = V_2;
|
|
NullCheck(L_15);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_16 = (&L_15->___Parameters_16);
|
|
float L_17 = L_16->___Radius_0;
|
|
V_4 = L_17;
|
|
// grid.AddItem(a, p.X - r, p.Z - r, p.X + r, p.Z + r);
|
|
ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* L_18 = __this->___grid_10;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_19 = V_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = V_3;
|
|
float L_21 = L_20.___X_0;
|
|
float L_22 = V_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = V_3;
|
|
float L_24 = L_23.___Z_2;
|
|
float L_25 = V_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26 = V_3;
|
|
float L_27 = L_26.___X_0;
|
|
float L_28 = V_4;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = V_3;
|
|
float L_30 = L_29.___Z_2;
|
|
float L_31 = V_4;
|
|
NullCheck(L_18);
|
|
ProximityGrid_1_AddItem_m2D91E3157EC546988F45B5E092C80B48AEF4DA60(L_18, L_19, ((float)il2cpp_codegen_subtract(L_21, L_22)), ((float)il2cpp_codegen_subtract(L_24, L_25)), ((float)il2cpp_codegen_add(L_27, L_28)), ((float)il2cpp_codegen_add(L_30, L_31)), ProximityGrid_1_AddItem_m2D91E3157EC546988F45B5E092C80B48AEF4DA60_RuntimeMethod_var);
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_32 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_33 = V_1;
|
|
int32_t L_34 = V_0;
|
|
if ((((int32_t)L_33) < ((int32_t)L_34)))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_5 = 0;
|
|
goto IL_0236;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_35 = __this->___agents_5;
|
|
int32_t L_36 = V_5;
|
|
NullCheck(L_35);
|
|
int32_t L_37 = L_36;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
NullCheck(L_38);
|
|
int32_t L_39;
|
|
L_39 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_38, NULL);
|
|
if ((!(((uint32_t)L_39) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0230;
|
|
}
|
|
}
|
|
{
|
|
// float updateThr = agents[i].Parameters.CollisionQueryRange * 0.25f;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_40 = __this->___agents_5;
|
|
int32_t L_41 = V_5;
|
|
NullCheck(L_40);
|
|
int32_t L_42 = L_41;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_43 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
|
|
NullCheck(L_43);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_44 = (&L_43->___Parameters_16);
|
|
float L_45 = L_44->___CollisionQueryRange_4;
|
|
V_6 = ((float)il2cpp_codegen_multiply(L_45, (0.25f)));
|
|
// if (Vector3Extensions.Distance2D(agents[i].Position, agents[i].Boundary.Center) > updateThr * updateThr || !agents[i].Boundary.IsValid(navQuery))
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_46 = __this->___agents_5;
|
|
int32_t L_47 = V_5;
|
|
NullCheck(L_46);
|
|
int32_t L_48 = L_47;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
|
|
NullCheck(L_49);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_50;
|
|
L_50 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_49, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_51 = __this->___agents_5;
|
|
int32_t L_52 = V_5;
|
|
NullCheck(L_51);
|
|
int32_t L_53 = L_52;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
|
|
NullCheck(L_54);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_55;
|
|
L_55 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_54, NULL);
|
|
NullCheck(L_55);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_56;
|
|
L_56 = LocalBoundary_get_Center_m84D386C10AD19F31AF2D6094695272DE897F34E8_inline(L_55, NULL);
|
|
float L_57;
|
|
L_57 = Vector3Extensions_Distance2D_m9565801B48A602A308799D21592DCABFACAF020A(L_50, L_56, NULL);
|
|
float L_58 = V_6;
|
|
float L_59 = V_6;
|
|
if ((((float)L_57) > ((float)((float)il2cpp_codegen_multiply(L_58, L_59)))))
|
|
{
|
|
goto IL_0119;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_60 = __this->___agents_5;
|
|
int32_t L_61 = V_5;
|
|
NullCheck(L_60);
|
|
int32_t L_62 = L_61;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_63 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
|
|
NullCheck(L_63);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_64;
|
|
L_64 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_63, NULL);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_65 = __this->___navQuery_15;
|
|
NullCheck(L_64);
|
|
bool L_66;
|
|
L_66 = LocalBoundary_IsValid_mF2E865C45603620F8F69FC9C6B679EDD700EA831(L_64, L_65, NULL);
|
|
if (L_66)
|
|
{
|
|
goto IL_0166;
|
|
}
|
|
}
|
|
|
|
IL_0119:
|
|
{
|
|
// agents[i].Boundary.Update(agents[i].Corridor.GetFirstPoly(), agents[i].Position, agents[i].Parameters.CollisionQueryRange, navQuery);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_67 = __this->___agents_5;
|
|
int32_t L_68 = V_5;
|
|
NullCheck(L_67);
|
|
int32_t L_69 = L_68;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
|
|
NullCheck(L_70);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_71;
|
|
L_71 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_70, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_72 = __this->___agents_5;
|
|
int32_t L_73 = V_5;
|
|
NullCheck(L_72);
|
|
int32_t L_74 = L_73;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_75 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_74));
|
|
NullCheck(L_75);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_76;
|
|
L_76 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_75, NULL);
|
|
NullCheck(L_76);
|
|
int32_t L_77;
|
|
L_77 = PathCorridor_GetFirstPoly_m279430F9458518C663651ABBC86478FF3923F027(L_76, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_78 = __this->___agents_5;
|
|
int32_t L_79 = V_5;
|
|
NullCheck(L_78);
|
|
int32_t L_80 = L_79;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_81 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_80));
|
|
NullCheck(L_81);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_82;
|
|
L_82 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_81, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_83 = __this->___agents_5;
|
|
int32_t L_84 = V_5;
|
|
NullCheck(L_83);
|
|
int32_t L_85 = L_84;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_86 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
|
|
NullCheck(L_86);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_87 = (&L_86->___Parameters_16);
|
|
float L_88 = L_87->___CollisionQueryRange_4;
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_89 = __this->___navQuery_15;
|
|
NullCheck(L_71);
|
|
LocalBoundary_Update_m9937B02CD9E58C3DCD0A77FFD173FE13A622CED2(L_71, L_77, L_82, L_88, L_89, NULL);
|
|
}
|
|
|
|
IL_0166:
|
|
{
|
|
// agents[i].NeighborCount = GetNeighbours(agents[i].Position, agents[i].Parameters.Height, agents[i].Parameters.CollisionQueryRange, agents[i], agents[i].Neighbors, AgentMaxNeighbours, agents, grid);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_90 = __this->___agents_5;
|
|
int32_t L_91 = V_5;
|
|
NullCheck(L_90);
|
|
int32_t L_92 = L_91;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_93 = (L_90)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_94 = __this->___agents_5;
|
|
int32_t L_95 = V_5;
|
|
NullCheck(L_94);
|
|
int32_t L_96 = L_95;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_97 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
|
|
NullCheck(L_97);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_98;
|
|
L_98 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_97, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_99 = __this->___agents_5;
|
|
int32_t L_100 = V_5;
|
|
NullCheck(L_99);
|
|
int32_t L_101 = L_100;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_102 = (L_99)->GetAt(static_cast<il2cpp_array_size_t>(L_101));
|
|
NullCheck(L_102);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_103 = (&L_102->___Parameters_16);
|
|
float L_104 = L_103->___Height_1;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_105 = __this->___agents_5;
|
|
int32_t L_106 = V_5;
|
|
NullCheck(L_105);
|
|
int32_t L_107 = L_106;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_108 = (L_105)->GetAt(static_cast<il2cpp_array_size_t>(L_107));
|
|
NullCheck(L_108);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_109 = (&L_108->___Parameters_16);
|
|
float L_110 = L_109->___CollisionQueryRange_4;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_111 = __this->___agents_5;
|
|
int32_t L_112 = V_5;
|
|
NullCheck(L_111);
|
|
int32_t L_113 = L_112;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_114 = (L_111)->GetAt(static_cast<il2cpp_array_size_t>(L_113));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_115 = __this->___agents_5;
|
|
int32_t L_116 = V_5;
|
|
NullCheck(L_115);
|
|
int32_t L_117 = L_116;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_118 = (L_115)->GetAt(static_cast<il2cpp_array_size_t>(L_117));
|
|
NullCheck(L_118);
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_119;
|
|
L_119 = Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline(L_118, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_120 = __this->___agents_5;
|
|
ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* L_121 = __this->___grid_10;
|
|
int32_t L_122;
|
|
L_122 = Crowd_GetNeighbours_m12D8449B7EEC475440BEEE7BB99C73C38D8EC8ED(__this, L_98, L_104, L_110, L_114, L_119, 6, L_120, L_121, NULL);
|
|
NullCheck(L_93);
|
|
Agent_set_NeighborCount_mC9DC461D3E4F7D64CE553A736107860BB66EE943_inline(L_93, L_122, NULL);
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
V_7 = 0;
|
|
goto IL_021e;
|
|
}
|
|
|
|
IL_01d7:
|
|
{
|
|
// agents[i].Neighbors[j].Index = GetAgentIndex(agents[agents[i].Neighbors[j].Index]);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_123 = __this->___agents_5;
|
|
int32_t L_124 = V_5;
|
|
NullCheck(L_123);
|
|
int32_t L_125 = L_124;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_126 = (L_123)->GetAt(static_cast<il2cpp_array_size_t>(L_125));
|
|
NullCheck(L_126);
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_127;
|
|
L_127 = Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline(L_126, NULL);
|
|
int32_t L_128 = V_7;
|
|
NullCheck(L_127);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_129 = __this->___agents_5;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_130 = __this->___agents_5;
|
|
int32_t L_131 = V_5;
|
|
NullCheck(L_130);
|
|
int32_t L_132 = L_131;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_133 = (L_130)->GetAt(static_cast<il2cpp_array_size_t>(L_132));
|
|
NullCheck(L_133);
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_134;
|
|
L_134 = Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline(L_133, NULL);
|
|
int32_t L_135 = V_7;
|
|
NullCheck(L_134);
|
|
int32_t L_136 = ((L_134)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_135)))->___Index_0;
|
|
NullCheck(L_129);
|
|
int32_t L_137 = L_136;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_138 = (L_129)->GetAt(static_cast<il2cpp_array_size_t>(L_137));
|
|
int32_t L_139;
|
|
L_139 = Crowd_GetAgentIndex_mF03B3AB1D7C61F53DEB66268A0C35B63E608998A(__this, L_138, NULL);
|
|
((L_127)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_128)))->___Index_0 = L_139;
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_140 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_140, 1));
|
|
}
|
|
|
|
IL_021e:
|
|
{
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_141 = V_7;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_142 = __this->___agents_5;
|
|
int32_t L_143 = V_5;
|
|
NullCheck(L_142);
|
|
int32_t L_144 = L_143;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_145 = (L_142)->GetAt(static_cast<il2cpp_array_size_t>(L_144));
|
|
NullCheck(L_145);
|
|
int32_t L_146;
|
|
L_146 = Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2_inline(L_145, NULL);
|
|
if ((((int32_t)L_141) < ((int32_t)L_146)))
|
|
{
|
|
goto IL_01d7;
|
|
}
|
|
}
|
|
|
|
IL_0230:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_147 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_147, 1));
|
|
}
|
|
|
|
IL_0236:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_148 = V_5;
|
|
int32_t L_149 = V_0;
|
|
if ((((int32_t)L_148) < ((int32_t)L_149)))
|
|
{
|
|
goto IL_00a2;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_8 = 0;
|
|
goto IL_035a;
|
|
}
|
|
|
|
IL_0246:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_150 = __this->___agents_5;
|
|
int32_t L_151 = V_8;
|
|
NullCheck(L_150);
|
|
int32_t L_152 = L_151;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_153 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
|
|
NullCheck(L_153);
|
|
int32_t L_154;
|
|
L_154 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_153, NULL);
|
|
if ((!(((uint32_t)L_154) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0354;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.None ||
|
|
// agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_155 = __this->___agents_5;
|
|
int32_t L_156 = V_8;
|
|
NullCheck(L_155);
|
|
int32_t L_157 = L_156;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_158 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
NullCheck(L_158);
|
|
int32_t L_159;
|
|
L_159 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_158, NULL);
|
|
if (!L_159)
|
|
{
|
|
goto IL_0354;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_160 = __this->___agents_5;
|
|
int32_t L_161 = V_8;
|
|
NullCheck(L_160);
|
|
int32_t L_162 = L_161;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_163 = (L_160)->GetAt(static_cast<il2cpp_array_size_t>(L_162));
|
|
NullCheck(L_163);
|
|
int32_t L_164;
|
|
L_164 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_163, NULL);
|
|
if ((((int32_t)L_164) == ((int32_t)6)))
|
|
{
|
|
goto IL_0354;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].CornerCount = agents[i].Corridor.FindCorners(
|
|
// agents[i].CornerVerts, agents[i].CornerFlags, agents[i].CornerPolys, AgentMaxCorners, navQuery);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_165 = __this->___agents_5;
|
|
int32_t L_166 = V_8;
|
|
NullCheck(L_165);
|
|
int32_t L_167 = L_166;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_168 = (L_165)->GetAt(static_cast<il2cpp_array_size_t>(L_167));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_169 = __this->___agents_5;
|
|
int32_t L_170 = V_8;
|
|
NullCheck(L_169);
|
|
int32_t L_171 = L_170;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_172 = (L_169)->GetAt(static_cast<il2cpp_array_size_t>(L_171));
|
|
NullCheck(L_172);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_173;
|
|
L_173 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_172, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_174 = __this->___agents_5;
|
|
int32_t L_175 = V_8;
|
|
NullCheck(L_174);
|
|
int32_t L_176 = L_175;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_177 = (L_174)->GetAt(static_cast<il2cpp_array_size_t>(L_176));
|
|
NullCheck(L_177);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_178 = L_177->___CornerVerts_17;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_179 = __this->___agents_5;
|
|
int32_t L_180 = V_8;
|
|
NullCheck(L_179);
|
|
int32_t L_181 = L_180;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_182 = (L_179)->GetAt(static_cast<il2cpp_array_size_t>(L_181));
|
|
NullCheck(L_182);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_183 = L_182->___CornerFlags_18;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_184 = __this->___agents_5;
|
|
int32_t L_185 = V_8;
|
|
NullCheck(L_184);
|
|
int32_t L_186 = L_185;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_187 = (L_184)->GetAt(static_cast<il2cpp_array_size_t>(L_186));
|
|
NullCheck(L_187);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_188 = L_187->___CornerPolys_19;
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_189 = __this->___navQuery_15;
|
|
NullCheck(L_173);
|
|
int32_t L_190;
|
|
L_190 = PathCorridor_FindCorners_mB38A0112028C0C5CE5C68B5D4A917F369F06E9E5(L_173, L_178, L_183, L_188, 4, L_189, NULL);
|
|
NullCheck(L_168);
|
|
Agent_set_CornerCount_mD5B216F4C815BBA6091AE530BC621DD84A5CF16D_inline(L_168, L_190, NULL);
|
|
// if (((agents[i].Parameters.UpdateFlags & UpdateFlags.OptimizeVis) != 0) && agents[i].CornerCount > 0)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_191 = __this->___agents_5;
|
|
int32_t L_192 = V_8;
|
|
NullCheck(L_191);
|
|
int32_t L_193 = L_192;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_194 = (L_191)->GetAt(static_cast<il2cpp_array_size_t>(L_193));
|
|
NullCheck(L_194);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_195 = (&L_194->___Parameters_16);
|
|
int32_t L_196 = L_195->___UpdateFlags_7;
|
|
if (!((int32_t)((int32_t)L_196&8)))
|
|
{
|
|
goto IL_0354;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_197 = __this->___agents_5;
|
|
int32_t L_198 = V_8;
|
|
NullCheck(L_197);
|
|
int32_t L_199 = L_198;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_200 = (L_197)->GetAt(static_cast<il2cpp_array_size_t>(L_199));
|
|
NullCheck(L_200);
|
|
int32_t L_201;
|
|
L_201 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_200, NULL);
|
|
if ((((int32_t)L_201) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0354;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 target = agents[i].CornerVerts[Math.Min(1, agents[i].CornerCount - 1)];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_202 = __this->___agents_5;
|
|
int32_t L_203 = V_8;
|
|
NullCheck(L_202);
|
|
int32_t L_204 = L_203;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_205 = (L_202)->GetAt(static_cast<il2cpp_array_size_t>(L_204));
|
|
NullCheck(L_205);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_206 = L_205->___CornerVerts_17;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_207 = __this->___agents_5;
|
|
int32_t L_208 = V_8;
|
|
NullCheck(L_207);
|
|
int32_t L_209 = L_208;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_210 = (L_207)->GetAt(static_cast<il2cpp_array_size_t>(L_209));
|
|
NullCheck(L_210);
|
|
int32_t L_211;
|
|
L_211 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_210, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_212;
|
|
L_212 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(1, ((int32_t)il2cpp_codegen_subtract(L_211, 1)), NULL);
|
|
NullCheck(L_206);
|
|
int32_t L_213 = L_212;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_214 = (L_206)->GetAt(static_cast<il2cpp_array_size_t>(L_213));
|
|
V_9 = L_214;
|
|
// agents[i].Corridor.OptimizePathVisibility(target, agents[i].Parameters.PathOptimizationRange, navQuery);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_215 = __this->___agents_5;
|
|
int32_t L_216 = V_8;
|
|
NullCheck(L_215);
|
|
int32_t L_217 = L_216;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_218 = (L_215)->GetAt(static_cast<il2cpp_array_size_t>(L_217));
|
|
NullCheck(L_218);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_219;
|
|
L_219 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_218, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_220 = V_9;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_221 = __this->___agents_5;
|
|
int32_t L_222 = V_8;
|
|
NullCheck(L_221);
|
|
int32_t L_223 = L_222;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_224 = (L_221)->GetAt(static_cast<il2cpp_array_size_t>(L_223));
|
|
NullCheck(L_224);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_225 = (&L_224->___Parameters_16);
|
|
float L_226 = L_225->___PathOptimizationRange_5;
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_227 = __this->___navQuery_15;
|
|
NullCheck(L_219);
|
|
PathCorridor_OptimizePathVisibility_mEA3DAAB751FE469F80E9804108131EE6FFF2449B(L_219, L_220, L_226, L_227, NULL);
|
|
}
|
|
|
|
IL_0354:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_228 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_228, 1));
|
|
}
|
|
|
|
IL_035a:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_229 = V_8;
|
|
int32_t L_230 = V_0;
|
|
if ((((int32_t)L_229) < ((int32_t)L_230)))
|
|
{
|
|
goto IL_0246;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_10 = 0;
|
|
goto IL_052d;
|
|
}
|
|
|
|
IL_036a:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_231 = __this->___agents_5;
|
|
int32_t L_232 = V_10;
|
|
NullCheck(L_231);
|
|
int32_t L_233 = L_232;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_234 = (L_231)->GetAt(static_cast<il2cpp_array_size_t>(L_233));
|
|
NullCheck(L_234);
|
|
int32_t L_235;
|
|
L_235 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_234, NULL);
|
|
if ((!(((uint32_t)L_235) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0527;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.None ||
|
|
// agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_236 = __this->___agents_5;
|
|
int32_t L_237 = V_10;
|
|
NullCheck(L_236);
|
|
int32_t L_238 = L_237;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_239 = (L_236)->GetAt(static_cast<il2cpp_array_size_t>(L_238));
|
|
NullCheck(L_239);
|
|
int32_t L_240;
|
|
L_240 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_239, NULL);
|
|
if (!L_240)
|
|
{
|
|
goto IL_0527;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_241 = __this->___agents_5;
|
|
int32_t L_242 = V_10;
|
|
NullCheck(L_241);
|
|
int32_t L_243 = L_242;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_244 = (L_241)->GetAt(static_cast<il2cpp_array_size_t>(L_243));
|
|
NullCheck(L_244);
|
|
int32_t L_245;
|
|
L_245 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_244, NULL);
|
|
if ((((int32_t)L_245) == ((int32_t)6)))
|
|
{
|
|
goto IL_0527;
|
|
}
|
|
}
|
|
{
|
|
// float triggerRadius = agents[i].Parameters.Radius * 2.25f;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_246 = __this->___agents_5;
|
|
int32_t L_247 = V_10;
|
|
NullCheck(L_246);
|
|
int32_t L_248 = L_247;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_249 = (L_246)->GetAt(static_cast<il2cpp_array_size_t>(L_248));
|
|
NullCheck(L_249);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_250 = (&L_249->___Parameters_16);
|
|
float L_251 = L_250->___Radius_0;
|
|
V_11 = ((float)il2cpp_codegen_multiply(L_251, (2.25f)));
|
|
// if (OverOffmeshConnection(agents[i], triggerRadius))
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_252 = __this->___agents_5;
|
|
int32_t L_253 = V_10;
|
|
NullCheck(L_252);
|
|
int32_t L_254 = L_253;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_255 = (L_252)->GetAt(static_cast<il2cpp_array_size_t>(L_254));
|
|
float L_256 = V_11;
|
|
bool L_257;
|
|
L_257 = Crowd_OverOffmeshConnection_m9704D0FC6C96125363D21F8D592EFD4BB327F9FC(__this, L_255, L_256, NULL);
|
|
if (!L_257)
|
|
{
|
|
goto IL_0527;
|
|
}
|
|
}
|
|
{
|
|
// int idx = i;
|
|
int32_t L_258 = V_10;
|
|
V_12 = L_258;
|
|
// int[] refs = new int[2];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_259 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)2);
|
|
V_13 = L_259;
|
|
// if (agents[i].Corridor.MoveOverOffmeshConnection(agents[i].CornerPolys[agents[i].CornerCount - 1], refs, ref agentAnims[idx].StartPos, ref agentAnims[idx].EndPos, navQuery))
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_260 = __this->___agents_5;
|
|
int32_t L_261 = V_10;
|
|
NullCheck(L_260);
|
|
int32_t L_262 = L_261;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_263 = (L_260)->GetAt(static_cast<il2cpp_array_size_t>(L_262));
|
|
NullCheck(L_263);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_264;
|
|
L_264 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_263, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_265 = __this->___agents_5;
|
|
int32_t L_266 = V_10;
|
|
NullCheck(L_265);
|
|
int32_t L_267 = L_266;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_268 = (L_265)->GetAt(static_cast<il2cpp_array_size_t>(L_267));
|
|
NullCheck(L_268);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_269 = L_268->___CornerPolys_19;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_270 = __this->___agents_5;
|
|
int32_t L_271 = V_10;
|
|
NullCheck(L_270);
|
|
int32_t L_272 = L_271;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_273 = (L_270)->GetAt(static_cast<il2cpp_array_size_t>(L_272));
|
|
NullCheck(L_273);
|
|
int32_t L_274;
|
|
L_274 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_273, NULL);
|
|
NullCheck(L_269);
|
|
int32_t L_275 = ((int32_t)il2cpp_codegen_subtract(L_274, 1));
|
|
int32_t L_276 = (L_269)->GetAt(static_cast<il2cpp_array_size_t>(L_275));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_277 = V_13;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_278 = __this->___agentAnims_6;
|
|
int32_t L_279 = V_12;
|
|
NullCheck(L_278);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_280 = (&((L_278)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_279)))->___StartPos_2);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_281 = __this->___agentAnims_6;
|
|
int32_t L_282 = V_12;
|
|
NullCheck(L_281);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_283 = (&((L_281)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_282)))->___EndPos_3);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_284 = __this->___navQuery_15;
|
|
NullCheck(L_264);
|
|
bool L_285;
|
|
L_285 = PathCorridor_MoveOverOffmeshConnection_m4AB7C2B85C25E5A7960F67751E727DBAEA8D0576(L_264, L_276, L_277, L_280, L_283, L_284, NULL);
|
|
if (!L_285)
|
|
{
|
|
goto IL_0527;
|
|
}
|
|
}
|
|
{
|
|
// agentAnims[idx].InitPos = agents[i].Position;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_286 = __this->___agentAnims_6;
|
|
int32_t L_287 = V_12;
|
|
NullCheck(L_286);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_288 = __this->___agents_5;
|
|
int32_t L_289 = V_10;
|
|
NullCheck(L_288);
|
|
int32_t L_290 = L_289;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_291 = (L_288)->GetAt(static_cast<il2cpp_array_size_t>(L_290));
|
|
NullCheck(L_291);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_292;
|
|
L_292 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_291, NULL);
|
|
((L_286)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_287)))->___InitPos_1 = L_292;
|
|
// agentAnims[idx].PolyRef = refs[1];
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_293 = __this->___agentAnims_6;
|
|
int32_t L_294 = V_12;
|
|
NullCheck(L_293);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_295 = V_13;
|
|
NullCheck(L_295);
|
|
int32_t L_296 = 1;
|
|
int32_t L_297 = (L_295)->GetAt(static_cast<il2cpp_array_size_t>(L_296));
|
|
((L_293)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_294)))->___PolyRef_4 = L_297;
|
|
// agentAnims[idx].Active = true;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_298 = __this->___agentAnims_6;
|
|
int32_t L_299 = V_12;
|
|
NullCheck(L_298);
|
|
AgentAnimation_set_Active_mC8DA5BB97C3D057651BB2B118C9CD9736FDFE8D3_inline(((L_298)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_299))), (bool)1, NULL);
|
|
// agentAnims[idx].T = 0.0f;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_300 = __this->___agentAnims_6;
|
|
int32_t L_301 = V_12;
|
|
NullCheck(L_300);
|
|
((L_300)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_301)))->___T_5 = (0.0f);
|
|
// agentAnims[idx].TMax = (Vector3Extensions.Distance2D(agentAnims[idx].StartPos, agentAnims[idx].EndPos)
|
|
// / agents[i].Parameters.MaxSpeed) * 0.5f;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_302 = __this->___agentAnims_6;
|
|
int32_t L_303 = V_12;
|
|
NullCheck(L_302);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_304 = __this->___agentAnims_6;
|
|
int32_t L_305 = V_12;
|
|
NullCheck(L_304);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_306 = ((L_304)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_305)))->___StartPos_2;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_307 = __this->___agentAnims_6;
|
|
int32_t L_308 = V_12;
|
|
NullCheck(L_307);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_309 = ((L_307)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_308)))->___EndPos_3;
|
|
float L_310;
|
|
L_310 = Vector3Extensions_Distance2D_m9565801B48A602A308799D21592DCABFACAF020A(L_306, L_309, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_311 = __this->___agents_5;
|
|
int32_t L_312 = V_10;
|
|
NullCheck(L_311);
|
|
int32_t L_313 = L_312;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_314 = (L_311)->GetAt(static_cast<il2cpp_array_size_t>(L_313));
|
|
NullCheck(L_314);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_315 = (&L_314->___Parameters_16);
|
|
float L_316 = L_315->___MaxSpeed_3;
|
|
((L_302)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_303)))->___TMax_6 = ((float)il2cpp_codegen_multiply(((float)(L_310/L_316)), (0.5f)));
|
|
// agents[i].State = AgentState.Offmesh;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_317 = __this->___agents_5;
|
|
int32_t L_318 = V_10;
|
|
NullCheck(L_317);
|
|
int32_t L_319 = L_318;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_320 = (L_317)->GetAt(static_cast<il2cpp_array_size_t>(L_319));
|
|
NullCheck(L_320);
|
|
Agent_set_State_mA6E561DE916B35B5347C6143B16EC9559DFE251A_inline(L_320, 2, NULL);
|
|
// agents[i].CornerCount = 0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_321 = __this->___agents_5;
|
|
int32_t L_322 = V_10;
|
|
NullCheck(L_321);
|
|
int32_t L_323 = L_322;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_324 = (L_321)->GetAt(static_cast<il2cpp_array_size_t>(L_323));
|
|
NullCheck(L_324);
|
|
Agent_set_CornerCount_mD5B216F4C815BBA6091AE530BC621DD84A5CF16D_inline(L_324, 0, NULL);
|
|
// agents[i].NeighborCount = 0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_325 = __this->___agents_5;
|
|
int32_t L_326 = V_10;
|
|
NullCheck(L_325);
|
|
int32_t L_327 = L_326;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_328 = (L_325)->GetAt(static_cast<il2cpp_array_size_t>(L_327));
|
|
NullCheck(L_328);
|
|
Agent_set_NeighborCount_mC9DC461D3E4F7D64CE553A736107860BB66EE943_inline(L_328, 0, NULL);
|
|
}
|
|
|
|
IL_0527:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_329 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_329, 1));
|
|
}
|
|
|
|
IL_052d:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_330 = V_10;
|
|
int32_t L_331 = V_0;
|
|
if ((((int32_t)L_330) < ((int32_t)L_331)))
|
|
{
|
|
goto IL_036a;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_14 = 0;
|
|
goto IL_0813;
|
|
}
|
|
|
|
IL_053d:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_332 = __this->___agents_5;
|
|
int32_t L_333 = V_14;
|
|
NullCheck(L_332);
|
|
int32_t L_334 = L_333;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_335 = (L_332)->GetAt(static_cast<il2cpp_array_size_t>(L_334));
|
|
NullCheck(L_335);
|
|
int32_t L_336;
|
|
L_336 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_335, NULL);
|
|
if ((!(((uint32_t)L_336) == ((uint32_t)1))))
|
|
{
|
|
goto IL_080d;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.None)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_337 = __this->___agents_5;
|
|
int32_t L_338 = V_14;
|
|
NullCheck(L_337);
|
|
int32_t L_339 = L_338;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_340 = (L_337)->GetAt(static_cast<il2cpp_array_size_t>(L_339));
|
|
NullCheck(L_340);
|
|
int32_t L_341;
|
|
L_341 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_340, NULL);
|
|
if (!L_341)
|
|
{
|
|
goto IL_080d;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 dvel = new Vector3(0, 0, 0);
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_15), (0.0f), (0.0f), (0.0f), NULL);
|
|
// if (agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_342 = __this->___agents_5;
|
|
int32_t L_343 = V_14;
|
|
NullCheck(L_342);
|
|
int32_t L_344 = L_343;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_345 = (L_342)->GetAt(static_cast<il2cpp_array_size_t>(L_344));
|
|
NullCheck(L_345);
|
|
int32_t L_346;
|
|
L_346 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_345, NULL);
|
|
if ((!(((uint32_t)L_346) == ((uint32_t)6))))
|
|
{
|
|
goto IL_05c5;
|
|
}
|
|
}
|
|
{
|
|
// dvel = agents[i].TargetPosition;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_347 = __this->___agents_5;
|
|
int32_t L_348 = V_14;
|
|
NullCheck(L_347);
|
|
int32_t L_349 = L_348;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_350 = (L_347)->GetAt(static_cast<il2cpp_array_size_t>(L_349));
|
|
NullCheck(L_350);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_351;
|
|
L_351 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_350, NULL);
|
|
V_15 = L_351;
|
|
// agents[i].DesiredSpeed = agents[i].TargetPosition.Length();
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_352 = __this->___agents_5;
|
|
int32_t L_353 = V_14;
|
|
NullCheck(L_352);
|
|
int32_t L_354 = L_353;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_355 = (L_352)->GetAt(static_cast<il2cpp_array_size_t>(L_354));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_356 = __this->___agents_5;
|
|
int32_t L_357 = V_14;
|
|
NullCheck(L_356);
|
|
int32_t L_358 = L_357;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_359 = (L_356)->GetAt(static_cast<il2cpp_array_size_t>(L_358));
|
|
NullCheck(L_359);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_360;
|
|
L_360 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_359, NULL);
|
|
V_16 = L_360;
|
|
float L_361;
|
|
L_361 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_16), NULL);
|
|
NullCheck(L_355);
|
|
L_355->___DesiredSpeed_10 = L_361;
|
|
goto IL_066c;
|
|
}
|
|
|
|
IL_05c5:
|
|
{
|
|
// if ((agents[i].Parameters.UpdateFlags & UpdateFlags.AnticipateTurns) != 0)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_362 = __this->___agents_5;
|
|
int32_t L_363 = V_14;
|
|
NullCheck(L_362);
|
|
int32_t L_364 = L_363;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_365 = (L_362)->GetAt(static_cast<il2cpp_array_size_t>(L_364));
|
|
NullCheck(L_365);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_366 = (&L_365->___Parameters_16);
|
|
int32_t L_367 = L_366->___UpdateFlags_7;
|
|
if (!((int32_t)((int32_t)L_367&1)))
|
|
{
|
|
goto IL_05ef;
|
|
}
|
|
}
|
|
{
|
|
// CalcSmoothSteerDirection(agents[i], ref dvel);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_368 = __this->___agents_5;
|
|
int32_t L_369 = V_14;
|
|
NullCheck(L_368);
|
|
int32_t L_370 = L_369;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_371 = (L_368)->GetAt(static_cast<il2cpp_array_size_t>(L_370));
|
|
Crowd_CalcSmoothSteerDirection_mA73417661695F581C1A3BCDA553EFA159513582E(__this, L_371, (&V_15), NULL);
|
|
goto IL_0600;
|
|
}
|
|
|
|
IL_05ef:
|
|
{
|
|
// CalcStraightSteerDirection(agents[i], ref dvel);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_372 = __this->___agents_5;
|
|
int32_t L_373 = V_14;
|
|
NullCheck(L_372);
|
|
int32_t L_374 = L_373;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_375 = (L_372)->GetAt(static_cast<il2cpp_array_size_t>(L_374));
|
|
Crowd_CalcStraightSteerDirection_mAC77EAE986F9521D8293D3F4A42127B00FFDF613(__this, L_375, (&V_15), NULL);
|
|
}
|
|
|
|
IL_0600:
|
|
{
|
|
// float slowDownRadius = agents[i].Parameters.Radius * 2;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_376 = __this->___agents_5;
|
|
int32_t L_377 = V_14;
|
|
NullCheck(L_376);
|
|
int32_t L_378 = L_377;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_379 = (L_376)->GetAt(static_cast<il2cpp_array_size_t>(L_378));
|
|
NullCheck(L_379);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_380 = (&L_379->___Parameters_16);
|
|
float L_381 = L_380->___Radius_0;
|
|
V_17 = ((float)il2cpp_codegen_multiply(L_381, (2.0f)));
|
|
// float speedScale = GetDistanceToGoal(agents[i], slowDownRadius) / slowDownRadius;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_382 = __this->___agents_5;
|
|
int32_t L_383 = V_14;
|
|
NullCheck(L_382);
|
|
int32_t L_384 = L_383;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_385 = (L_382)->GetAt(static_cast<il2cpp_array_size_t>(L_384));
|
|
float L_386 = V_17;
|
|
float L_387;
|
|
L_387 = Crowd_GetDistanceToGoal_m817C8BD694CC867BFA727CAC446A57C65247EC8B(__this, L_385, L_386, NULL);
|
|
float L_388 = V_17;
|
|
V_18 = ((float)(L_387/L_388));
|
|
// agents[i].DesiredSpeed = agents[i].Parameters.MaxSpeed;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_389 = __this->___agents_5;
|
|
int32_t L_390 = V_14;
|
|
NullCheck(L_389);
|
|
int32_t L_391 = L_390;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_392 = (L_389)->GetAt(static_cast<il2cpp_array_size_t>(L_391));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_393 = __this->___agents_5;
|
|
int32_t L_394 = V_14;
|
|
NullCheck(L_393);
|
|
int32_t L_395 = L_394;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_396 = (L_393)->GetAt(static_cast<il2cpp_array_size_t>(L_395));
|
|
NullCheck(L_396);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_397 = (&L_396->___Parameters_16);
|
|
float L_398 = L_397->___MaxSpeed_3;
|
|
NullCheck(L_392);
|
|
L_392->___DesiredSpeed_10 = L_398;
|
|
// dvel = dvel * (agents[i].DesiredSpeed * speedScale);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_399 = V_15;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_400 = __this->___agents_5;
|
|
int32_t L_401 = V_14;
|
|
NullCheck(L_400);
|
|
int32_t L_402 = L_401;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_403 = (L_400)->GetAt(static_cast<il2cpp_array_size_t>(L_402));
|
|
NullCheck(L_403);
|
|
float L_404 = L_403->___DesiredSpeed_10;
|
|
float L_405 = V_18;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_406;
|
|
L_406 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_399, ((float)il2cpp_codegen_multiply(L_404, L_405)), NULL);
|
|
V_15 = L_406;
|
|
}
|
|
|
|
IL_066c:
|
|
{
|
|
// if ((agents[i].Parameters.UpdateFlags & UpdateFlags.Separation) != 0)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_407 = __this->___agents_5;
|
|
int32_t L_408 = V_14;
|
|
NullCheck(L_407);
|
|
int32_t L_409 = L_408;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_410 = (L_407)->GetAt(static_cast<il2cpp_array_size_t>(L_409));
|
|
NullCheck(L_410);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_411 = (&L_410->___Parameters_16);
|
|
int32_t L_412 = L_411->___UpdateFlags_7;
|
|
if (!((int32_t)((int32_t)L_412&4)))
|
|
{
|
|
goto IL_07fd;
|
|
}
|
|
}
|
|
{
|
|
// float separationDist = agents[i].Parameters.CollisionQueryRange;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_413 = __this->___agents_5;
|
|
int32_t L_414 = V_14;
|
|
NullCheck(L_413);
|
|
int32_t L_415 = L_414;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_416 = (L_413)->GetAt(static_cast<il2cpp_array_size_t>(L_415));
|
|
NullCheck(L_416);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_417 = (&L_416->___Parameters_16);
|
|
float L_418 = L_417->___CollisionQueryRange_4;
|
|
V_19 = L_418;
|
|
// float invSeparationDist = 1.0f / separationDist;
|
|
float L_419 = V_19;
|
|
V_20 = ((float)((1.0f)/L_419));
|
|
// float separationWeight = agents[i].Parameters.SeparationWeight;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_420 = __this->___agents_5;
|
|
int32_t L_421 = V_14;
|
|
NullCheck(L_420);
|
|
int32_t L_422 = L_421;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_423 = (L_420)->GetAt(static_cast<il2cpp_array_size_t>(L_422));
|
|
NullCheck(L_423);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_424 = (&L_423->___Parameters_16);
|
|
float L_425 = L_424->___SeparationWeight_6;
|
|
V_21 = L_425;
|
|
// float w = 0;
|
|
V_22 = (0.0f);
|
|
// Vector3 disp = new Vector3(0, 0, 0);
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_23), (0.0f), (0.0f), (0.0f), NULL);
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
V_24 = 0;
|
|
goto IL_078b;
|
|
}
|
|
|
|
IL_06df:
|
|
{
|
|
// Agent nei = agents[agents[i].Neighbors[j].Index];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_426 = __this->___agents_5;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_427 = __this->___agents_5;
|
|
int32_t L_428 = V_14;
|
|
NullCheck(L_427);
|
|
int32_t L_429 = L_428;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_430 = (L_427)->GetAt(static_cast<il2cpp_array_size_t>(L_429));
|
|
NullCheck(L_430);
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_431;
|
|
L_431 = Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline(L_430, NULL);
|
|
int32_t L_432 = V_24;
|
|
NullCheck(L_431);
|
|
int32_t L_433 = ((L_431)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_432)))->___Index_0;
|
|
NullCheck(L_426);
|
|
int32_t L_434 = L_433;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_435 = (L_426)->GetAt(static_cast<il2cpp_array_size_t>(L_434));
|
|
V_25 = L_435;
|
|
// Vector3 diff = agents[i].Position - nei.Position;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_436 = __this->___agents_5;
|
|
int32_t L_437 = V_14;
|
|
NullCheck(L_436);
|
|
int32_t L_438 = L_437;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_439 = (L_436)->GetAt(static_cast<il2cpp_array_size_t>(L_438));
|
|
NullCheck(L_439);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_440;
|
|
L_440 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_439, NULL);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_441 = V_25;
|
|
NullCheck(L_441);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_442;
|
|
L_442 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_441, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_443;
|
|
L_443 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_440, L_442, NULL);
|
|
V_26 = L_443;
|
|
// diff.Y = 0;
|
|
(&V_26)->___Y_1 = (0.0f);
|
|
// float distSqr = diff.LengthSquared();
|
|
float L_444;
|
|
L_444 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_26), NULL);
|
|
V_27 = L_444;
|
|
// if (distSqr < 0.00001f)
|
|
float L_445 = V_27;
|
|
if ((((float)L_445) < ((float)(9.99999975E-06f))))
|
|
{
|
|
goto IL_0785;
|
|
}
|
|
}
|
|
{
|
|
// if (distSqr > separationDist * separationDist)
|
|
float L_446 = V_27;
|
|
float L_447 = V_19;
|
|
float L_448 = V_19;
|
|
if ((((float)L_446) > ((float)((float)il2cpp_codegen_multiply(L_447, L_448)))))
|
|
{
|
|
goto IL_0785;
|
|
}
|
|
}
|
|
{
|
|
// float dist = (float)Math.Sqrt(distSqr);
|
|
float L_449 = V_27;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_450;
|
|
L_450 = sqrt(((double)L_449));
|
|
V_28 = ((float)L_450);
|
|
// float weight = separationWeight * (1.0f - (dist * invSeparationDist) * (dist * invSeparationDist));
|
|
float L_451 = V_21;
|
|
float L_452 = V_28;
|
|
float L_453 = V_20;
|
|
float L_454 = V_28;
|
|
float L_455 = V_20;
|
|
V_29 = ((float)il2cpp_codegen_multiply(L_451, ((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_452, L_453)), ((float)il2cpp_codegen_multiply(L_454, L_455))))))));
|
|
// disp = disp + diff * (weight / dist);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_456 = V_23;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_457 = V_26;
|
|
float L_458 = V_29;
|
|
float L_459 = V_28;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_460;
|
|
L_460 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_457, ((float)(L_458/L_459)), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_461;
|
|
L_461 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_456, L_460, NULL);
|
|
V_23 = L_461;
|
|
// w += 1.0f;
|
|
float L_462 = V_22;
|
|
V_22 = ((float)il2cpp_codegen_add(L_462, (1.0f)));
|
|
}
|
|
|
|
IL_0785:
|
|
{
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_463 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_463, 1));
|
|
}
|
|
|
|
IL_078b:
|
|
{
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_464 = V_24;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_465 = __this->___agents_5;
|
|
int32_t L_466 = V_14;
|
|
NullCheck(L_465);
|
|
int32_t L_467 = L_466;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_468 = (L_465)->GetAt(static_cast<il2cpp_array_size_t>(L_467));
|
|
NullCheck(L_468);
|
|
int32_t L_469;
|
|
L_469 = Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2_inline(L_468, NULL);
|
|
if ((((int32_t)L_464) < ((int32_t)L_469)))
|
|
{
|
|
goto IL_06df;
|
|
}
|
|
}
|
|
{
|
|
// if (w > 0.0001f)
|
|
float L_470 = V_22;
|
|
if ((!(((float)L_470) > ((float)(9.99999975E-05f)))))
|
|
{
|
|
goto IL_07fd;
|
|
}
|
|
}
|
|
{
|
|
// dvel = dvel + disp * (1.0f / w);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_471 = V_15;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_472 = V_23;
|
|
float L_473 = V_22;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_474;
|
|
L_474 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_472, ((float)((1.0f)/L_473)), NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_475;
|
|
L_475 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_471, L_474, NULL);
|
|
V_15 = L_475;
|
|
// float speedSqr = dvel.LengthSquared();
|
|
float L_476;
|
|
L_476 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_15), NULL);
|
|
V_30 = L_476;
|
|
// float desiredSqr = agents[i].DesiredSpeed * agents[i].DesiredSpeed;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_477 = __this->___agents_5;
|
|
int32_t L_478 = V_14;
|
|
NullCheck(L_477);
|
|
int32_t L_479 = L_478;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_480 = (L_477)->GetAt(static_cast<il2cpp_array_size_t>(L_479));
|
|
NullCheck(L_480);
|
|
float L_481 = L_480->___DesiredSpeed_10;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_482 = __this->___agents_5;
|
|
int32_t L_483 = V_14;
|
|
NullCheck(L_482);
|
|
int32_t L_484 = L_483;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_485 = (L_482)->GetAt(static_cast<il2cpp_array_size_t>(L_484));
|
|
NullCheck(L_485);
|
|
float L_486 = L_485->___DesiredSpeed_10;
|
|
V_31 = ((float)il2cpp_codegen_multiply(L_481, L_486));
|
|
// if (speedSqr > desiredSqr)
|
|
float L_487 = V_30;
|
|
float L_488 = V_31;
|
|
if ((!(((float)L_487) > ((float)L_488))))
|
|
{
|
|
goto IL_07fd;
|
|
}
|
|
}
|
|
{
|
|
// dvel = dvel * (desiredSqr / speedSqr);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_489 = V_15;
|
|
float L_490 = V_31;
|
|
float L_491 = V_30;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_492;
|
|
L_492 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_489, ((float)(L_490/L_491)), NULL);
|
|
V_15 = L_492;
|
|
}
|
|
|
|
IL_07fd:
|
|
{
|
|
// agents[i].DesiredVel = dvel;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_493 = __this->___agents_5;
|
|
int32_t L_494 = V_14;
|
|
NullCheck(L_493);
|
|
int32_t L_495 = L_494;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_496 = (L_493)->GetAt(static_cast<il2cpp_array_size_t>(L_495));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_497 = V_15;
|
|
NullCheck(L_496);
|
|
L_496->___DesiredVel_13 = L_497;
|
|
}
|
|
|
|
IL_080d:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_498 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_498, 1));
|
|
}
|
|
|
|
IL_0813:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_499 = V_14;
|
|
int32_t L_500 = V_0;
|
|
if ((((int32_t)L_499) < ((int32_t)L_500)))
|
|
{
|
|
goto IL_053d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_32 = 0;
|
|
goto IL_0a72;
|
|
}
|
|
|
|
IL_0823:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_501 = __this->___agents_5;
|
|
int32_t L_502 = V_32;
|
|
NullCheck(L_501);
|
|
int32_t L_503 = L_502;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_504 = (L_501)->GetAt(static_cast<il2cpp_array_size_t>(L_503));
|
|
NullCheck(L_504);
|
|
int32_t L_505;
|
|
L_505 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_504, NULL);
|
|
if ((!(((uint32_t)L_505) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0a6c;
|
|
}
|
|
}
|
|
{
|
|
// if ((agents[i].Parameters.UpdateFlags & UpdateFlags.ObstacleAvoidance) != 0)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_506 = __this->___agents_5;
|
|
int32_t L_507 = V_32;
|
|
NullCheck(L_506);
|
|
int32_t L_508 = L_507;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_509 = (L_506)->GetAt(static_cast<il2cpp_array_size_t>(L_508));
|
|
NullCheck(L_509);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_510 = (&L_509->___Parameters_16);
|
|
int32_t L_511 = L_510->___UpdateFlags_7;
|
|
if (!((int32_t)((int32_t)L_511&2)))
|
|
{
|
|
goto IL_0a50;
|
|
}
|
|
}
|
|
{
|
|
// this.obstacleQuery.Reset();
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* L_512 = __this->___obstacleQuery_9;
|
|
NullCheck(L_512);
|
|
ObstacleAvoidanceQuery_Reset_m9AAA020171AE2D7F0CD9A79F30776297886DC96C(L_512, NULL);
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
V_35 = 0;
|
|
goto IL_08b6;
|
|
}
|
|
|
|
IL_0861:
|
|
{
|
|
// Agent nei = agents[agents[i].Neighbors[j].Index];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_513 = __this->___agents_5;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_514 = __this->___agents_5;
|
|
int32_t L_515 = V_32;
|
|
NullCheck(L_514);
|
|
int32_t L_516 = L_515;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_517 = (L_514)->GetAt(static_cast<il2cpp_array_size_t>(L_516));
|
|
NullCheck(L_517);
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_518;
|
|
L_518 = Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline(L_517, NULL);
|
|
int32_t L_519 = V_35;
|
|
NullCheck(L_518);
|
|
int32_t L_520 = ((L_518)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_519)))->___Index_0;
|
|
NullCheck(L_513);
|
|
int32_t L_521 = L_520;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_522 = (L_513)->GetAt(static_cast<il2cpp_array_size_t>(L_521));
|
|
V_36 = L_522;
|
|
// obstacleQuery.AddCircle(nei.Position, nei.Parameters.Radius, nei.Vel, nei.DesiredVel);
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* L_523 = __this->___obstacleQuery_9;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_524 = V_36;
|
|
NullCheck(L_524);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_525;
|
|
L_525 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_524, NULL);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_526 = V_36;
|
|
NullCheck(L_526);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_527 = (&L_526->___Parameters_16);
|
|
float L_528 = L_527->___Radius_0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_529 = V_36;
|
|
NullCheck(L_529);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_530 = L_529->___Vel_15;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_531 = V_36;
|
|
NullCheck(L_531);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_532 = L_531->___DesiredVel_13;
|
|
NullCheck(L_523);
|
|
ObstacleAvoidanceQuery_AddCircle_mA4561231391E71B4A4B644B6426B291E5D226FB4(L_523, L_525, L_528, L_530, L_532, NULL);
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_533 = V_35;
|
|
V_35 = ((int32_t)il2cpp_codegen_add(L_533, 1));
|
|
}
|
|
|
|
IL_08b6:
|
|
{
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_534 = V_35;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_535 = __this->___agents_5;
|
|
int32_t L_536 = V_32;
|
|
NullCheck(L_535);
|
|
int32_t L_537 = L_536;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_538 = (L_535)->GetAt(static_cast<il2cpp_array_size_t>(L_537));
|
|
NullCheck(L_538);
|
|
int32_t L_539;
|
|
L_539 = Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2_inline(L_538, NULL);
|
|
if ((((int32_t)L_534) < ((int32_t)L_539)))
|
|
{
|
|
goto IL_0861;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < agents[i].Boundary.SegCount; j++)
|
|
V_37 = 0;
|
|
goto IL_0930;
|
|
}
|
|
|
|
IL_08cd:
|
|
{
|
|
// LocalBoundary.Segment s = agents[i].Boundary.Segs[j];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_540 = __this->___agents_5;
|
|
int32_t L_541 = V_32;
|
|
NullCheck(L_540);
|
|
int32_t L_542 = L_541;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_543 = (L_540)->GetAt(static_cast<il2cpp_array_size_t>(L_542));
|
|
NullCheck(L_543);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_544;
|
|
L_544 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_543, NULL);
|
|
NullCheck(L_544);
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_545;
|
|
L_545 = LocalBoundary_get_Segs_mC89DBE7EE6C3F53A8C26A5370C00101CB2CEE5D5_inline(L_544, NULL);
|
|
int32_t L_546 = V_37;
|
|
NullCheck(L_545);
|
|
int32_t L_547 = L_546;
|
|
Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E L_548 = (L_545)->GetAt(static_cast<il2cpp_array_size_t>(L_547));
|
|
V_38 = L_548;
|
|
// if (Triangle3.Area2D(agents[i].Position, s.Start, s.End) < 0.0f)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_549 = __this->___agents_5;
|
|
int32_t L_550 = V_32;
|
|
NullCheck(L_549);
|
|
int32_t L_551 = L_550;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_552 = (L_549)->GetAt(static_cast<il2cpp_array_size_t>(L_551));
|
|
NullCheck(L_552);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_553;
|
|
L_553 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_552, NULL);
|
|
Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E L_554 = V_38;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_555 = L_554.___Start_0;
|
|
Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E L_556 = V_38;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_557 = L_556.___End_1;
|
|
float L_558;
|
|
L_558 = Triangle3_Area2D_m49AA6800CC487F8ECCF4C25F3FFF9A9F7EC9B391(L_553, L_555, L_557, NULL);
|
|
if ((((float)L_558) < ((float)(0.0f))))
|
|
{
|
|
goto IL_092a;
|
|
}
|
|
}
|
|
{
|
|
// obstacleQuery.AddSegment(s.Start, s.End);
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* L_559 = __this->___obstacleQuery_9;
|
|
Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E L_560 = V_38;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_561 = L_560.___Start_0;
|
|
Segment_t60A914DEA7353349207EA5351CCE6C8D47E2924E L_562 = V_38;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_563 = L_562.___End_1;
|
|
NullCheck(L_559);
|
|
ObstacleAvoidanceQuery_AddSegment_mD90EC58A1DB7DAAFB2FDA2100CE799349A9F795D(L_559, L_561, L_563, NULL);
|
|
}
|
|
|
|
IL_092a:
|
|
{
|
|
// for (int j = 0; j < agents[i].Boundary.SegCount; j++)
|
|
int32_t L_564 = V_37;
|
|
V_37 = ((int32_t)il2cpp_codegen_add(L_564, 1));
|
|
}
|
|
|
|
IL_0930:
|
|
{
|
|
// for (int j = 0; j < agents[i].Boundary.SegCount; j++)
|
|
int32_t L_565 = V_37;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_566 = __this->___agents_5;
|
|
int32_t L_567 = V_32;
|
|
NullCheck(L_566);
|
|
int32_t L_568 = L_567;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_569 = (L_566)->GetAt(static_cast<il2cpp_array_size_t>(L_568));
|
|
NullCheck(L_569);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_570;
|
|
L_570 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_569, NULL);
|
|
NullCheck(L_570);
|
|
int32_t L_571;
|
|
L_571 = LocalBoundary_get_SegCount_m769740AEA77E864DCB79B0E7BDC44FD4102BA7AD_inline(L_570, NULL);
|
|
if ((((int32_t)L_565) < ((int32_t)L_571)))
|
|
{
|
|
goto IL_08cd;
|
|
}
|
|
}
|
|
{
|
|
// bool adaptive = true;
|
|
// int ns = 0;
|
|
V_33 = 0;
|
|
// ObstacleAvoidanceQuery.ObstacleAvoidanceParams parameters = obstacleQueryParams[agents[i].Parameters.ObstacleAvoidanceType];
|
|
ObstacleAvoidanceParamsU5BU5D_t8E4A0C7889FE10A9D1D621BE5CDCF18A3A0BCA2F* L_572 = __this->___obstacleQueryParams_8;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_573 = __this->___agents_5;
|
|
int32_t L_574 = V_32;
|
|
NullCheck(L_573);
|
|
int32_t L_575 = L_574;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_576 = (L_573)->GetAt(static_cast<il2cpp_array_size_t>(L_575));
|
|
NullCheck(L_576);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_577 = (&L_576->___Parameters_16);
|
|
uint8_t L_578 = L_577->___ObstacleAvoidanceType_8;
|
|
NullCheck(L_572);
|
|
uint8_t L_579 = L_578;
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 L_580 = (L_572)->GetAt(static_cast<il2cpp_array_size_t>(L_579));
|
|
V_34 = L_580;
|
|
// if (adaptive)
|
|
if (!1)
|
|
{
|
|
goto IL_09d7;
|
|
}
|
|
}
|
|
{
|
|
// ns = obstacleQuery.SampleVelocityAdaptive(agents[i].Position, agents[i].Parameters.Radius, agents[i].DesiredSpeed, agents[i].Vel, agents[i].DesiredVel, ref agents[i].NVel, parameters);
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* L_581 = __this->___obstacleQuery_9;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_582 = __this->___agents_5;
|
|
int32_t L_583 = V_32;
|
|
NullCheck(L_582);
|
|
int32_t L_584 = L_583;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_585 = (L_582)->GetAt(static_cast<il2cpp_array_size_t>(L_584));
|
|
NullCheck(L_585);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_586;
|
|
L_586 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_585, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_587 = __this->___agents_5;
|
|
int32_t L_588 = V_32;
|
|
NullCheck(L_587);
|
|
int32_t L_589 = L_588;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_590 = (L_587)->GetAt(static_cast<il2cpp_array_size_t>(L_589));
|
|
NullCheck(L_590);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_591 = (&L_590->___Parameters_16);
|
|
float L_592 = L_591->___Radius_0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_593 = __this->___agents_5;
|
|
int32_t L_594 = V_32;
|
|
NullCheck(L_593);
|
|
int32_t L_595 = L_594;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_596 = (L_593)->GetAt(static_cast<il2cpp_array_size_t>(L_595));
|
|
NullCheck(L_596);
|
|
float L_597 = L_596->___DesiredSpeed_10;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_598 = __this->___agents_5;
|
|
int32_t L_599 = V_32;
|
|
NullCheck(L_598);
|
|
int32_t L_600 = L_599;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_601 = (L_598)->GetAt(static_cast<il2cpp_array_size_t>(L_600));
|
|
NullCheck(L_601);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_602 = L_601->___Vel_15;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_603 = __this->___agents_5;
|
|
int32_t L_604 = V_32;
|
|
NullCheck(L_603);
|
|
int32_t L_605 = L_604;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_606 = (L_603)->GetAt(static_cast<il2cpp_array_size_t>(L_605));
|
|
NullCheck(L_606);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_607 = L_606->___DesiredVel_13;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_608 = __this->___agents_5;
|
|
int32_t L_609 = V_32;
|
|
NullCheck(L_608);
|
|
int32_t L_610 = L_609;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_611 = (L_608)->GetAt(static_cast<il2cpp_array_size_t>(L_610));
|
|
NullCheck(L_611);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_612 = (&L_611->___NVel_14);
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 L_613 = V_34;
|
|
NullCheck(L_581);
|
|
int32_t L_614;
|
|
L_614 = ObstacleAvoidanceQuery_SampleVelocityAdaptive_mD06FD1B27EEE536EA90E74A991CF32EBFA3F7569(L_581, L_586, L_592, L_597, L_602, L_607, L_612, L_613, NULL);
|
|
V_33 = L_614;
|
|
goto IL_0a3f;
|
|
}
|
|
|
|
IL_09d7:
|
|
{
|
|
// ns = obstacleQuery.SampleVelocityGrid(agents[i].Position, agents[i].Parameters.Radius, agents[i].DesiredSpeed, agents[i].Vel, agents[i].DesiredVel, ref agents[i].NVel, parameters);
|
|
ObstacleAvoidanceQuery_t3D10CE78E376ED2A1E353C51DCA92C77DB07FECD* L_615 = __this->___obstacleQuery_9;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_616 = __this->___agents_5;
|
|
int32_t L_617 = V_32;
|
|
NullCheck(L_616);
|
|
int32_t L_618 = L_617;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_619 = (L_616)->GetAt(static_cast<il2cpp_array_size_t>(L_618));
|
|
NullCheck(L_619);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_620;
|
|
L_620 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_619, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_621 = __this->___agents_5;
|
|
int32_t L_622 = V_32;
|
|
NullCheck(L_621);
|
|
int32_t L_623 = L_622;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_624 = (L_621)->GetAt(static_cast<il2cpp_array_size_t>(L_623));
|
|
NullCheck(L_624);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_625 = (&L_624->___Parameters_16);
|
|
float L_626 = L_625->___Radius_0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_627 = __this->___agents_5;
|
|
int32_t L_628 = V_32;
|
|
NullCheck(L_627);
|
|
int32_t L_629 = L_628;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_630 = (L_627)->GetAt(static_cast<il2cpp_array_size_t>(L_629));
|
|
NullCheck(L_630);
|
|
float L_631 = L_630->___DesiredSpeed_10;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_632 = __this->___agents_5;
|
|
int32_t L_633 = V_32;
|
|
NullCheck(L_632);
|
|
int32_t L_634 = L_633;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_635 = (L_632)->GetAt(static_cast<il2cpp_array_size_t>(L_634));
|
|
NullCheck(L_635);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_636 = L_635->___Vel_15;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_637 = __this->___agents_5;
|
|
int32_t L_638 = V_32;
|
|
NullCheck(L_637);
|
|
int32_t L_639 = L_638;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_640 = (L_637)->GetAt(static_cast<il2cpp_array_size_t>(L_639));
|
|
NullCheck(L_640);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_641 = L_640->___DesiredVel_13;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_642 = __this->___agents_5;
|
|
int32_t L_643 = V_32;
|
|
NullCheck(L_642);
|
|
int32_t L_644 = L_643;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_645 = (L_642)->GetAt(static_cast<il2cpp_array_size_t>(L_644));
|
|
NullCheck(L_645);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_646 = (&L_645->___NVel_14);
|
|
ObstacleAvoidanceParams_t8A0532AE2D7A8F1C395939DFBAD0943F0E989136 L_647 = V_34;
|
|
NullCheck(L_615);
|
|
int32_t L_648;
|
|
L_648 = ObstacleAvoidanceQuery_SampleVelocityGrid_m01E853D38877DEB86F7B2637672E463700A46AAD(L_615, L_620, L_626, L_631, L_636, L_641, L_646, L_647, NULL);
|
|
V_33 = L_648;
|
|
}
|
|
|
|
IL_0a3f:
|
|
{
|
|
// this.velocitySampleCount += ns;
|
|
int32_t L_649 = __this->___velocitySampleCount_14;
|
|
int32_t L_650 = V_33;
|
|
__this->___velocitySampleCount_14 = ((int32_t)il2cpp_codegen_add(L_649, L_650));
|
|
goto IL_0a6c;
|
|
}
|
|
|
|
IL_0a50:
|
|
{
|
|
// agents[i].NVel = agents[i].DesiredVel;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_651 = __this->___agents_5;
|
|
int32_t L_652 = V_32;
|
|
NullCheck(L_651);
|
|
int32_t L_653 = L_652;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_654 = (L_651)->GetAt(static_cast<il2cpp_array_size_t>(L_653));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_655 = __this->___agents_5;
|
|
int32_t L_656 = V_32;
|
|
NullCheck(L_655);
|
|
int32_t L_657 = L_656;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_658 = (L_655)->GetAt(static_cast<il2cpp_array_size_t>(L_657));
|
|
NullCheck(L_658);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_659 = L_658->___DesiredVel_13;
|
|
NullCheck(L_654);
|
|
L_654->___NVel_14 = L_659;
|
|
}
|
|
|
|
IL_0a6c:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_660 = V_32;
|
|
V_32 = ((int32_t)il2cpp_codegen_add(L_660, 1));
|
|
}
|
|
|
|
IL_0a72:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_661 = V_32;
|
|
int32_t L_662 = V_0;
|
|
if ((((int32_t)L_661) < ((int32_t)L_662)))
|
|
{
|
|
goto IL_0823;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_39 = 0;
|
|
goto IL_0aa2;
|
|
}
|
|
|
|
IL_0a7f:
|
|
{
|
|
// Agent ag = agents[i];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_663 = __this->___agents_5;
|
|
int32_t L_664 = V_39;
|
|
NullCheck(L_663);
|
|
int32_t L_665 = L_664;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_666 = (L_663)->GetAt(static_cast<il2cpp_array_size_t>(L_665));
|
|
V_40 = L_666;
|
|
// if (ag.State != AgentState.Walking)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_667 = V_40;
|
|
NullCheck(L_667);
|
|
int32_t L_668;
|
|
L_668 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_667, NULL);
|
|
if ((!(((uint32_t)L_668) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0a9c;
|
|
}
|
|
}
|
|
{
|
|
// ag.Integrate(dt);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_669 = V_40;
|
|
float L_670 = ___0_dt;
|
|
NullCheck(L_669);
|
|
Agent_Integrate_m2F11F8189651AC1107D4C2CF6512D95C2D4EDB7A(L_669, L_670, NULL);
|
|
}
|
|
|
|
IL_0a9c:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_671 = V_39;
|
|
V_39 = ((int32_t)il2cpp_codegen_add(L_671, 1));
|
|
}
|
|
|
|
IL_0aa2:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_672 = V_39;
|
|
int32_t L_673 = V_0;
|
|
if ((((int32_t)L_672) < ((int32_t)L_673)))
|
|
{
|
|
goto IL_0a7f;
|
|
}
|
|
}
|
|
{
|
|
// for (int iter = 0; iter < 4; iter++)
|
|
V_41 = 0;
|
|
goto IL_0fc3;
|
|
}
|
|
|
|
IL_0aaf:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_42 = 0;
|
|
goto IL_0d07;
|
|
}
|
|
|
|
IL_0ab7:
|
|
{
|
|
// int idx0 = GetAgentIndex(agents[i]);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_674 = __this->___agents_5;
|
|
int32_t L_675 = V_42;
|
|
NullCheck(L_674);
|
|
int32_t L_676 = L_675;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_677 = (L_674)->GetAt(static_cast<il2cpp_array_size_t>(L_676));
|
|
int32_t L_678;
|
|
L_678 = Crowd_GetAgentIndex_mF03B3AB1D7C61F53DEB66268A0C35B63E608998A(__this, L_677, NULL);
|
|
V_43 = L_678;
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_679 = __this->___agents_5;
|
|
int32_t L_680 = V_42;
|
|
NullCheck(L_679);
|
|
int32_t L_681 = L_680;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_682 = (L_679)->GetAt(static_cast<il2cpp_array_size_t>(L_681));
|
|
NullCheck(L_682);
|
|
int32_t L_683;
|
|
L_683 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_682, NULL);
|
|
if ((!(((uint32_t)L_683) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0d01;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].Disp = new Vector3(0, 0, 0);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_684 = __this->___agents_5;
|
|
int32_t L_685 = V_42;
|
|
NullCheck(L_684);
|
|
int32_t L_686 = L_685;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_687 = (L_684)->GetAt(static_cast<il2cpp_array_size_t>(L_686));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_688;
|
|
memset((&L_688), 0, sizeof(L_688));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_688), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
NullCheck(L_687);
|
|
L_687->___Disp_12 = L_688;
|
|
// float w = 0;
|
|
V_44 = (0.0f);
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
V_45 = 0;
|
|
goto IL_0cb6;
|
|
}
|
|
|
|
IL_0b0d:
|
|
{
|
|
// Agent nei = agents[agents[i].Neighbors[j].Index];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_689 = __this->___agents_5;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_690 = __this->___agents_5;
|
|
int32_t L_691 = V_42;
|
|
NullCheck(L_690);
|
|
int32_t L_692 = L_691;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_693 = (L_690)->GetAt(static_cast<il2cpp_array_size_t>(L_692));
|
|
NullCheck(L_693);
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_694;
|
|
L_694 = Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline(L_693, NULL);
|
|
int32_t L_695 = V_45;
|
|
NullCheck(L_694);
|
|
int32_t L_696 = ((L_694)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_695)))->___Index_0;
|
|
NullCheck(L_689);
|
|
int32_t L_697 = L_696;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_698 = (L_689)->GetAt(static_cast<il2cpp_array_size_t>(L_697));
|
|
V_46 = L_698;
|
|
// int idx1 = GetAgentIndex(nei);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_699 = V_46;
|
|
int32_t L_700;
|
|
L_700 = Crowd_GetAgentIndex_mF03B3AB1D7C61F53DEB66268A0C35B63E608998A(__this, L_699, NULL);
|
|
V_47 = L_700;
|
|
// Vector3 diff = agents[i].Position - nei.Position;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_701 = __this->___agents_5;
|
|
int32_t L_702 = V_42;
|
|
NullCheck(L_701);
|
|
int32_t L_703 = L_702;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_704 = (L_701)->GetAt(static_cast<il2cpp_array_size_t>(L_703));
|
|
NullCheck(L_704);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_705;
|
|
L_705 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_704, NULL);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_706 = V_46;
|
|
NullCheck(L_706);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_707;
|
|
L_707 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_706, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_708;
|
|
L_708 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_705, L_707, NULL);
|
|
V_48 = L_708;
|
|
// diff.Y = 0;
|
|
(&V_48)->___Y_1 = (0.0f);
|
|
// float dist = diff.LengthSquared();
|
|
float L_709;
|
|
L_709 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_48), NULL);
|
|
V_49 = L_709;
|
|
// if (dist > (agents[i].Parameters.Radius + nei.Parameters.Radius) * (agents[i].Parameters.Radius + nei.Parameters.Radius))
|
|
float L_710 = V_49;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_711 = __this->___agents_5;
|
|
int32_t L_712 = V_42;
|
|
NullCheck(L_711);
|
|
int32_t L_713 = L_712;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_714 = (L_711)->GetAt(static_cast<il2cpp_array_size_t>(L_713));
|
|
NullCheck(L_714);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_715 = (&L_714->___Parameters_16);
|
|
float L_716 = L_715->___Radius_0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_717 = V_46;
|
|
NullCheck(L_717);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_718 = (&L_717->___Parameters_16);
|
|
float L_719 = L_718->___Radius_0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_720 = __this->___agents_5;
|
|
int32_t L_721 = V_42;
|
|
NullCheck(L_720);
|
|
int32_t L_722 = L_721;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_723 = (L_720)->GetAt(static_cast<il2cpp_array_size_t>(L_722));
|
|
NullCheck(L_723);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_724 = (&L_723->___Parameters_16);
|
|
float L_725 = L_724->___Radius_0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_726 = V_46;
|
|
NullCheck(L_726);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_727 = (&L_726->___Parameters_16);
|
|
float L_728 = L_727->___Radius_0;
|
|
if ((((float)L_710) > ((float)((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_716, L_719)), ((float)il2cpp_codegen_add(L_725, L_728)))))))
|
|
{
|
|
goto IL_0cb0;
|
|
}
|
|
}
|
|
{
|
|
// dist = (float)Math.Sqrt(dist);
|
|
float L_729 = V_49;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_730;
|
|
L_730 = sqrt(((double)L_729));
|
|
V_49 = ((float)L_730);
|
|
// float pen = (agents[i].Parameters.Radius + nei.Parameters.Radius) - dist;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_731 = __this->___agents_5;
|
|
int32_t L_732 = V_42;
|
|
NullCheck(L_731);
|
|
int32_t L_733 = L_732;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_734 = (L_731)->GetAt(static_cast<il2cpp_array_size_t>(L_733));
|
|
NullCheck(L_734);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_735 = (&L_734->___Parameters_16);
|
|
float L_736 = L_735->___Radius_0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_737 = V_46;
|
|
NullCheck(L_737);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_738 = (&L_737->___Parameters_16);
|
|
float L_739 = L_738->___Radius_0;
|
|
float L_740 = V_49;
|
|
V_50 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_736, L_739)), L_740));
|
|
// if (dist < 0.0001f)
|
|
float L_741 = V_49;
|
|
if ((!(((float)L_741) < ((float)(9.99999975E-05f)))))
|
|
{
|
|
goto IL_0c63;
|
|
}
|
|
}
|
|
{
|
|
// if (idx0 > idx1)
|
|
int32_t L_742 = V_43;
|
|
int32_t L_743 = V_47;
|
|
if ((((int32_t)L_742) <= ((int32_t)L_743)))
|
|
{
|
|
goto IL_0c27;
|
|
}
|
|
}
|
|
{
|
|
// diff = new Vector3(-agents[i].DesiredVel.Z, 0, agents[i].DesiredVel.X);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_744 = __this->___agents_5;
|
|
int32_t L_745 = V_42;
|
|
NullCheck(L_744);
|
|
int32_t L_746 = L_745;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_747 = (L_744)->GetAt(static_cast<il2cpp_array_size_t>(L_746));
|
|
NullCheck(L_747);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_748 = (&L_747->___DesiredVel_13);
|
|
float L_749 = L_748->___Z_2;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_750 = __this->___agents_5;
|
|
int32_t L_751 = V_42;
|
|
NullCheck(L_750);
|
|
int32_t L_752 = L_751;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_753 = (L_750)->GetAt(static_cast<il2cpp_array_size_t>(L_752));
|
|
NullCheck(L_753);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_754 = (&L_753->___DesiredVel_13);
|
|
float L_755 = L_754->___X_0;
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_48), ((-L_749)), (0.0f), L_755, NULL);
|
|
goto IL_0c5a;
|
|
}
|
|
|
|
IL_0c27:
|
|
{
|
|
// diff = new Vector3(agents[i].DesiredVel.Z, 0, -agents[i].DesiredVel.X);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_756 = __this->___agents_5;
|
|
int32_t L_757 = V_42;
|
|
NullCheck(L_756);
|
|
int32_t L_758 = L_757;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_759 = (L_756)->GetAt(static_cast<il2cpp_array_size_t>(L_758));
|
|
NullCheck(L_759);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_760 = (&L_759->___DesiredVel_13);
|
|
float L_761 = L_760->___Z_2;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_762 = __this->___agents_5;
|
|
int32_t L_763 = V_42;
|
|
NullCheck(L_762);
|
|
int32_t L_764 = L_763;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_765 = (L_762)->GetAt(static_cast<il2cpp_array_size_t>(L_764));
|
|
NullCheck(L_765);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_766 = (&L_765->___DesiredVel_13);
|
|
float L_767 = L_766->___X_0;
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&V_48), L_761, (0.0f), ((-L_767)), NULL);
|
|
}
|
|
|
|
IL_0c5a:
|
|
{
|
|
// pen = 0.01f;
|
|
V_50 = (0.00999999978f);
|
|
goto IL_0c7c;
|
|
}
|
|
|
|
IL_0c63:
|
|
{
|
|
// pen = (1.0f / dist) * (pen * 0.5f) * COLLISION_RESOLVE_FACTOR;
|
|
float L_768 = V_49;
|
|
float L_769 = V_50;
|
|
V_50 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)((1.0f)/L_768)), ((float)il2cpp_codegen_multiply(L_769, (0.5f))))), (0.699999988f)));
|
|
}
|
|
|
|
IL_0c7c:
|
|
{
|
|
// agents[i].Disp = agents[i].Disp + diff * pen;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_770 = __this->___agents_5;
|
|
int32_t L_771 = V_42;
|
|
NullCheck(L_770);
|
|
int32_t L_772 = L_771;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_773 = (L_770)->GetAt(static_cast<il2cpp_array_size_t>(L_772));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_774 = __this->___agents_5;
|
|
int32_t L_775 = V_42;
|
|
NullCheck(L_774);
|
|
int32_t L_776 = L_775;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_777 = (L_774)->GetAt(static_cast<il2cpp_array_size_t>(L_776));
|
|
NullCheck(L_777);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_778 = L_777->___Disp_12;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_779 = V_48;
|
|
float L_780 = V_50;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_781;
|
|
L_781 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_779, L_780, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_782;
|
|
L_782 = Vector3_op_Addition_m50C6006A4E705B49E788D9B930474D0A6913269D(L_778, L_781, NULL);
|
|
NullCheck(L_773);
|
|
L_773->___Disp_12 = L_782;
|
|
// w += 1.0f;
|
|
float L_783 = V_44;
|
|
V_44 = ((float)il2cpp_codegen_add(L_783, (1.0f)));
|
|
}
|
|
|
|
IL_0cb0:
|
|
{
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_784 = V_45;
|
|
V_45 = ((int32_t)il2cpp_codegen_add(L_784, 1));
|
|
}
|
|
|
|
IL_0cb6:
|
|
{
|
|
// for (int j = 0; j < agents[i].NeighborCount; j++)
|
|
int32_t L_785 = V_45;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_786 = __this->___agents_5;
|
|
int32_t L_787 = V_42;
|
|
NullCheck(L_786);
|
|
int32_t L_788 = L_787;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_789 = (L_786)->GetAt(static_cast<il2cpp_array_size_t>(L_788));
|
|
NullCheck(L_789);
|
|
int32_t L_790;
|
|
L_790 = Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2_inline(L_789, NULL);
|
|
if ((((int32_t)L_785) < ((int32_t)L_790)))
|
|
{
|
|
goto IL_0b0d;
|
|
}
|
|
}
|
|
{
|
|
// if (w > 0.0001f)
|
|
float L_791 = V_44;
|
|
if ((!(((float)L_791) > ((float)(9.99999975E-05f)))))
|
|
{
|
|
goto IL_0d01;
|
|
}
|
|
}
|
|
{
|
|
// float iw = 1.0f / w;
|
|
float L_792 = V_44;
|
|
V_51 = ((float)((1.0f)/L_792));
|
|
// agents[i].Disp = agents[i].Disp * iw;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_793 = __this->___agents_5;
|
|
int32_t L_794 = V_42;
|
|
NullCheck(L_793);
|
|
int32_t L_795 = L_794;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_796 = (L_793)->GetAt(static_cast<il2cpp_array_size_t>(L_795));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_797 = __this->___agents_5;
|
|
int32_t L_798 = V_42;
|
|
NullCheck(L_797);
|
|
int32_t L_799 = L_798;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_800 = (L_797)->GetAt(static_cast<il2cpp_array_size_t>(L_799));
|
|
NullCheck(L_800);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_801 = L_800->___Disp_12;
|
|
float L_802 = V_51;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_803;
|
|
L_803 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_801, L_802, NULL);
|
|
NullCheck(L_796);
|
|
L_796->___Disp_12 = L_803;
|
|
}
|
|
|
|
IL_0d01:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_804 = V_42;
|
|
V_42 = ((int32_t)il2cpp_codegen_add(L_804, 1));
|
|
}
|
|
|
|
IL_0d07:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_805 = V_42;
|
|
int32_t L_806 = V_0;
|
|
if ((((int32_t)L_805) < ((int32_t)L_806)))
|
|
{
|
|
goto IL_0ab7;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_52 = 0;
|
|
goto IL_0dde;
|
|
}
|
|
|
|
IL_0d17:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_807 = __this->___agents_5;
|
|
int32_t L_808 = V_52;
|
|
NullCheck(L_807);
|
|
int32_t L_809 = L_808;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_810 = (L_807)->GetAt(static_cast<il2cpp_array_size_t>(L_809));
|
|
NullCheck(L_810);
|
|
int32_t L_811;
|
|
L_811 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_810, NULL);
|
|
if ((!(((uint32_t)L_811) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0dd8;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].Corridor.MovePosition(agents[i].Position, navQuery);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_812 = __this->___agents_5;
|
|
int32_t L_813 = V_52;
|
|
NullCheck(L_812);
|
|
int32_t L_814 = L_813;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_815 = (L_812)->GetAt(static_cast<il2cpp_array_size_t>(L_814));
|
|
NullCheck(L_815);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_816;
|
|
L_816 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_815, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_817 = __this->___agents_5;
|
|
int32_t L_818 = V_52;
|
|
NullCheck(L_817);
|
|
int32_t L_819 = L_818;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_820 = (L_817)->GetAt(static_cast<il2cpp_array_size_t>(L_819));
|
|
NullCheck(L_820);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_821;
|
|
L_821 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_820, NULL);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_822 = __this->___navQuery_15;
|
|
NullCheck(L_816);
|
|
bool L_823;
|
|
L_823 = PathCorridor_MovePosition_m5BEA2B566245865EFD5591F48C8257E6AAC7CFBF(L_816, L_821, L_822, NULL);
|
|
// agents[i].Position = agents[i].Corridor.Pos;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_824 = __this->___agents_5;
|
|
int32_t L_825 = V_52;
|
|
NullCheck(L_824);
|
|
int32_t L_826 = L_825;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_827 = (L_824)->GetAt(static_cast<il2cpp_array_size_t>(L_826));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_828 = __this->___agents_5;
|
|
int32_t L_829 = V_52;
|
|
NullCheck(L_828);
|
|
int32_t L_830 = L_829;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_831 = (L_828)->GetAt(static_cast<il2cpp_array_size_t>(L_830));
|
|
NullCheck(L_831);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_832;
|
|
L_832 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_831, NULL);
|
|
NullCheck(L_832);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_833;
|
|
L_833 = PathCorridor_get_Pos_m01A00EDC84FA975B7D5B78908772806B1BEC25CF_inline(L_832, NULL);
|
|
NullCheck(L_827);
|
|
Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7_inline(L_827, L_833, NULL);
|
|
// if (agents[i].TargetState == TargetState.None ||
|
|
// agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_834 = __this->___agents_5;
|
|
int32_t L_835 = V_52;
|
|
NullCheck(L_834);
|
|
int32_t L_836 = L_835;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_837 = (L_834)->GetAt(static_cast<il2cpp_array_size_t>(L_836));
|
|
NullCheck(L_837);
|
|
int32_t L_838;
|
|
L_838 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_837, NULL);
|
|
if (!L_838)
|
|
{
|
|
goto IL_0d95;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_839 = __this->___agents_5;
|
|
int32_t L_840 = V_52;
|
|
NullCheck(L_839);
|
|
int32_t L_841 = L_840;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_842 = (L_839)->GetAt(static_cast<il2cpp_array_size_t>(L_841));
|
|
NullCheck(L_842);
|
|
int32_t L_843;
|
|
L_843 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_842, NULL);
|
|
if ((!(((uint32_t)L_843) == ((uint32_t)6))))
|
|
{
|
|
goto IL_0dd8;
|
|
}
|
|
}
|
|
|
|
IL_0d95:
|
|
{
|
|
// agents[i].Corridor.Reset(agents[i].Corridor.GetFirstPoly(), agents[i].Position);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_844 = __this->___agents_5;
|
|
int32_t L_845 = V_52;
|
|
NullCheck(L_844);
|
|
int32_t L_846 = L_845;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_847 = (L_844)->GetAt(static_cast<il2cpp_array_size_t>(L_846));
|
|
NullCheck(L_847);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_848;
|
|
L_848 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_847, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_849 = __this->___agents_5;
|
|
int32_t L_850 = V_52;
|
|
NullCheck(L_849);
|
|
int32_t L_851 = L_850;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_852 = (L_849)->GetAt(static_cast<il2cpp_array_size_t>(L_851));
|
|
NullCheck(L_852);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_853;
|
|
L_853 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_852, NULL);
|
|
NullCheck(L_853);
|
|
int32_t L_854;
|
|
L_854 = PathCorridor_GetFirstPoly_m279430F9458518C663651ABBC86478FF3923F027(L_853, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_855 = __this->___agents_5;
|
|
int32_t L_856 = V_52;
|
|
NullCheck(L_855);
|
|
int32_t L_857 = L_856;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_858 = (L_855)->GetAt(static_cast<il2cpp_array_size_t>(L_857));
|
|
NullCheck(L_858);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_859;
|
|
L_859 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_858, NULL);
|
|
NullCheck(L_848);
|
|
PathCorridor_Reset_m4AE10C5B75356546CBAF6BE51D31D45CD9AF83CD(L_848, L_854, L_859, NULL);
|
|
// agents[i].IsPartial = false;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_860 = __this->___agents_5;
|
|
int32_t L_861 = V_52;
|
|
NullCheck(L_860);
|
|
int32_t L_862 = L_861;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_863 = (L_860)->GetAt(static_cast<il2cpp_array_size_t>(L_862));
|
|
NullCheck(L_863);
|
|
Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E_inline(L_863, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0dd8:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_864 = V_52;
|
|
V_52 = ((int32_t)il2cpp_codegen_add(L_864, 1));
|
|
}
|
|
|
|
IL_0dde:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_865 = V_52;
|
|
int32_t L_866 = V_0;
|
|
if ((((int32_t)L_865) < ((int32_t)L_866)))
|
|
{
|
|
goto IL_0d17;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
V_53 = 0;
|
|
goto IL_0fb0;
|
|
}
|
|
|
|
IL_0dee:
|
|
{
|
|
// if (!agentAnims[i].Active)
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_867 = __this->___agentAnims_6;
|
|
int32_t L_868 = V_53;
|
|
NullCheck(L_867);
|
|
bool L_869;
|
|
L_869 = AgentAnimation_get_Active_m1F5CE9F49D2522F725A0CF9BA6002C3BA60F46D4_inline(((L_867)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_868))), NULL);
|
|
if (!L_869)
|
|
{
|
|
goto IL_0faa;
|
|
}
|
|
}
|
|
{
|
|
// agentAnims[i].T += dt;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_870 = __this->___agentAnims_6;
|
|
int32_t L_871 = V_53;
|
|
NullCheck(L_870);
|
|
float* L_872 = (&((L_870)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_871)))->___T_5);
|
|
float* L_873 = L_872;
|
|
float L_874 = *((float*)L_873);
|
|
float L_875 = ___0_dt;
|
|
*((float*)L_873) = (float)((float)il2cpp_codegen_add(L_874, L_875));
|
|
// if (agentAnims[i].T > agentAnims[i].TMax)
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_876 = __this->___agentAnims_6;
|
|
int32_t L_877 = V_53;
|
|
NullCheck(L_876);
|
|
float L_878 = ((L_876)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_877)))->___T_5;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_879 = __this->___agentAnims_6;
|
|
int32_t L_880 = V_53;
|
|
NullCheck(L_879);
|
|
float L_881 = ((L_879)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_880)))->___TMax_6;
|
|
if ((!(((float)L_878) > ((float)L_881))))
|
|
{
|
|
goto IL_0e69;
|
|
}
|
|
}
|
|
{
|
|
// agentAnims[i].Active = false;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_882 = __this->___agentAnims_6;
|
|
int32_t L_883 = V_53;
|
|
NullCheck(L_882);
|
|
AgentAnimation_set_Active_mC8DA5BB97C3D057651BB2B118C9CD9736FDFE8D3_inline(((L_882)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_883))), (bool)0, NULL);
|
|
// agents[i].State = AgentState.Walking;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_884 = __this->___agents_5;
|
|
int32_t L_885 = V_53;
|
|
NullCheck(L_884);
|
|
int32_t L_886 = L_885;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_887 = (L_884)->GetAt(static_cast<il2cpp_array_size_t>(L_886));
|
|
NullCheck(L_887);
|
|
Agent_set_State_mA6E561DE916B35B5347C6143B16EC9559DFE251A_inline(L_887, 1, NULL);
|
|
// continue;
|
|
goto IL_0faa;
|
|
}
|
|
|
|
IL_0e69:
|
|
{
|
|
// float ta = agentAnims[i].TMax * 0.15f;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_888 = __this->___agentAnims_6;
|
|
int32_t L_889 = V_53;
|
|
NullCheck(L_888);
|
|
float L_890 = ((L_888)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_889)))->___TMax_6;
|
|
V_54 = ((float)il2cpp_codegen_multiply(L_890, (0.150000006f)));
|
|
// float tb = agentAnims[i].TMax;
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_891 = __this->___agentAnims_6;
|
|
int32_t L_892 = V_53;
|
|
NullCheck(L_891);
|
|
float L_893 = ((L_891)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_892)))->___TMax_6;
|
|
V_55 = L_893;
|
|
// if (agentAnims[i].T < ta)
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_894 = __this->___agentAnims_6;
|
|
int32_t L_895 = V_53;
|
|
NullCheck(L_894);
|
|
float L_896 = ((L_894)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_895)))->___T_5;
|
|
float L_897 = V_54;
|
|
if ((!(((float)L_896) < ((float)L_897))))
|
|
{
|
|
goto IL_0f0c;
|
|
}
|
|
}
|
|
{
|
|
// float u = MathHelper.Normalize(agentAnims[i].T, 0.0f, ta);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_898 = __this->___agentAnims_6;
|
|
int32_t L_899 = V_53;
|
|
NullCheck(L_898);
|
|
float L_900 = ((L_898)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_899)))->___T_5;
|
|
float L_901 = V_54;
|
|
float L_902;
|
|
L_902 = MathHelper_Normalize_m80648F8AFD8BA219C548E8D0B6659C722C984626(L_900, (0.0f), L_901, NULL);
|
|
V_56 = L_902;
|
|
// Vector3.Lerp(ref agentAnims[i].InitPos, ref agentAnims[i].StartPos, u, out lerpOut);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_903 = __this->___agentAnims_6;
|
|
int32_t L_904 = V_53;
|
|
NullCheck(L_903);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_905 = (&((L_903)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_904)))->___InitPos_1);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_906 = __this->___agentAnims_6;
|
|
int32_t L_907 = V_53;
|
|
NullCheck(L_906);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_908 = (&((L_906)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_907)))->___StartPos_2);
|
|
float L_909 = V_56;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5(L_905, L_908, L_909, (&V_57), NULL);
|
|
// agents[i].Position = lerpOut;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_910 = __this->___agents_5;
|
|
int32_t L_911 = V_53;
|
|
NullCheck(L_910);
|
|
int32_t L_912 = L_911;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_913 = (L_910)->GetAt(static_cast<il2cpp_array_size_t>(L_912));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_914 = V_57;
|
|
NullCheck(L_913);
|
|
Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7_inline(L_913, L_914, NULL);
|
|
goto IL_0f66;
|
|
}
|
|
|
|
IL_0f0c:
|
|
{
|
|
// float u = MathHelper.Normalize(agentAnims[i].T, ta, tb);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_915 = __this->___agentAnims_6;
|
|
int32_t L_916 = V_53;
|
|
NullCheck(L_915);
|
|
float L_917 = ((L_915)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_916)))->___T_5;
|
|
float L_918 = V_54;
|
|
float L_919 = V_55;
|
|
float L_920;
|
|
L_920 = MathHelper_Normalize_m80648F8AFD8BA219C548E8D0B6659C722C984626(L_917, L_918, L_919, NULL);
|
|
V_58 = L_920;
|
|
// Vector3.Lerp(ref agentAnims[i].StartPos, ref agentAnims[i].EndPos, u, out lerpOut);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_921 = __this->___agentAnims_6;
|
|
int32_t L_922 = V_53;
|
|
NullCheck(L_921);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_923 = (&((L_921)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_922)))->___StartPos_2);
|
|
AgentAnimationU5BU5D_t1F05E97385C06B5BC9AE7BD2FE1DA7D34D07A918* L_924 = __this->___agentAnims_6;
|
|
int32_t L_925 = V_53;
|
|
NullCheck(L_924);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_926 = (&((L_924)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_925)))->___EndPos_3);
|
|
float L_927 = V_58;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_Lerp_mEEB03C8D5172C03F73972DB6BDE46BD9D13026C5(L_923, L_926, L_927, (&V_59), NULL);
|
|
// agents[i].Position = lerpOut;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_928 = __this->___agents_5;
|
|
int32_t L_929 = V_53;
|
|
NullCheck(L_928);
|
|
int32_t L_930 = L_929;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_931 = (L_928)->GetAt(static_cast<il2cpp_array_size_t>(L_930));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_932 = V_59;
|
|
NullCheck(L_931);
|
|
Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7_inline(L_931, L_932, NULL);
|
|
}
|
|
|
|
IL_0f66:
|
|
{
|
|
// agents[i].Vel = new Vector3(0, 0, 0);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_933 = __this->___agents_5;
|
|
int32_t L_934 = V_53;
|
|
NullCheck(L_933);
|
|
int32_t L_935 = L_934;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_936 = (L_933)->GetAt(static_cast<il2cpp_array_size_t>(L_935));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_937;
|
|
memset((&L_937), 0, sizeof(L_937));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_937), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
NullCheck(L_936);
|
|
L_936->___Vel_15 = L_937;
|
|
// agents[i].DesiredVel = new Vector3(0, 0, 0);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_938 = __this->___agents_5;
|
|
int32_t L_939 = V_53;
|
|
NullCheck(L_938);
|
|
int32_t L_940 = L_939;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_941 = (L_938)->GetAt(static_cast<il2cpp_array_size_t>(L_940));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_942;
|
|
memset((&L_942), 0, sizeof(L_942));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_942), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
NullCheck(L_941);
|
|
L_941->___DesiredVel_13 = L_942;
|
|
}
|
|
|
|
IL_0faa:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_943 = V_53;
|
|
V_53 = ((int32_t)il2cpp_codegen_add(L_943, 1));
|
|
}
|
|
|
|
IL_0fb0:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_944 = V_53;
|
|
int32_t L_945 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_944) < ((int32_t)L_945)))
|
|
{
|
|
goto IL_0dee;
|
|
}
|
|
}
|
|
{
|
|
// for (int iter = 0; iter < 4; iter++)
|
|
int32_t L_946 = V_41;
|
|
V_41 = ((int32_t)il2cpp_codegen_add(L_946, 1));
|
|
}
|
|
|
|
IL_0fc3:
|
|
{
|
|
// for (int iter = 0; iter < 4; iter++)
|
|
int32_t L_947 = V_41;
|
|
if ((((int32_t)L_947) < ((int32_t)4)))
|
|
{
|
|
goto IL_0aaf;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::UpdateMoveRequest()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_UpdateMoveRequest_m185093358D152460DAEE407649890B2EB9C67826 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* V_0 = NULL;
|
|
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;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
bool V_10 = false;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_16 = NULL;
|
|
bool V_17 = false;
|
|
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;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
bool V_25 = false;
|
|
{
|
|
// Agent[] queue = new Agent[PATH_MAX_AGENTS];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = (AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)SZArrayNew(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
V_0 = L_0;
|
|
// int numQueue = 0;
|
|
V_1 = 0;
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
V_3 = 0;
|
|
goto IL_0266;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// if (!agents[i].IsActive)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_1 = __this->___agents_5;
|
|
int32_t L_2 = V_3;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897_inline(L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0262;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].State == AgentState.Invalid)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_6 = __this->___agents_5;
|
|
int32_t L_7 = V_3;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_9, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_0262;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.None || agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_11 = __this->___agents_5;
|
|
int32_t L_12 = V_3;
|
|
NullCheck(L_11);
|
|
int32_t L_13 = L_12;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_14, NULL);
|
|
if (!L_15)
|
|
{
|
|
goto IL_0262;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_16 = __this->___agents_5;
|
|
int32_t L_17 = V_3;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
NullCheck(L_19);
|
|
int32_t L_20;
|
|
L_20 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_19, NULL);
|
|
if ((((int32_t)L_20) == ((int32_t)6)))
|
|
{
|
|
goto IL_0262;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.Requesting)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_21 = __this->___agents_5;
|
|
int32_t L_22 = V_3;
|
|
NullCheck(L_21);
|
|
int32_t L_23 = L_22;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_24 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_24, NULL);
|
|
if ((!(((uint32_t)L_25) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0240;
|
|
}
|
|
}
|
|
{
|
|
// int[] path = agents[i].Corridor.Path;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_26 = __this->___agents_5;
|
|
int32_t L_27 = V_3;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
NullCheck(L_29);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_30;
|
|
L_30 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_29, NULL);
|
|
NullCheck(L_30);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31;
|
|
L_31 = PathCorridor_get_Path_m96318A10B64F76F90FF960C98B061FDEF037271F_inline(L_30, NULL);
|
|
V_4 = L_31;
|
|
// int npath = agents[i].Corridor.PathCount;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_32 = __this->___agents_5;
|
|
int32_t L_33 = V_3;
|
|
NullCheck(L_32);
|
|
int32_t L_34 = L_33;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
NullCheck(L_35);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_36;
|
|
L_36 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_35, NULL);
|
|
NullCheck(L_36);
|
|
int32_t L_37;
|
|
L_37 = PathCorridor_get_PathCount_m1734ED9D5D9A0688B57C0B94CD31B4778F21ED81_inline(L_36, NULL);
|
|
V_5 = L_37;
|
|
// Vector3 reqPos = new Vector3();
|
|
il2cpp_codegen_initobj((&V_6), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// int[] reqPath = new int[MAX_RES];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
|
|
V_7 = L_38;
|
|
// int reqPathCount = 0;
|
|
V_8 = 0;
|
|
// navQuery.InitSlicedFindPath(new NavPoint(path[0], agents[i].Position), new NavPoint(agents[i].TargetRef, agents[i].TargetPosition));
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_39 = __this->___navQuery_15;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_40 = V_4;
|
|
NullCheck(L_40);
|
|
int32_t L_41 = 0;
|
|
int32_t L_42 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_43 = __this->___agents_5;
|
|
int32_t L_44 = V_3;
|
|
NullCheck(L_43);
|
|
int32_t L_45 = L_44;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
|
|
NullCheck(L_46);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_47;
|
|
L_47 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_46, NULL);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_48;
|
|
memset((&L_48), 0, sizeof(L_48));
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0((&L_48), L_42, L_47, /*hidden argument*/NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_49 = __this->___agents_5;
|
|
int32_t L_50 = V_3;
|
|
NullCheck(L_49);
|
|
int32_t L_51 = L_50;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
|
|
NullCheck(L_52);
|
|
int32_t L_53 = L_52->___TargetRef_22;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_54 = __this->___agents_5;
|
|
int32_t L_55 = V_3;
|
|
NullCheck(L_54);
|
|
int32_t L_56 = L_55;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
|
|
NullCheck(L_57);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58;
|
|
L_58 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_57, NULL);
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_59;
|
|
memset((&L_59), 0, sizeof(L_59));
|
|
NavPoint__ctor_m9F759FEE5888A31C532C0F67A7550516086DA3F0((&L_59), L_53, L_58, /*hidden argument*/NULL);
|
|
NullCheck(L_39);
|
|
bool L_60;
|
|
L_60 = NavMeshQuery_InitSlicedFindPath_m41F79FDFBEA4EB0681455F64E348E726044C3C29(L_39, L_48, L_59, NULL);
|
|
// int tempInt = 0;
|
|
V_9 = 0;
|
|
// navQuery.UpdateSlicedFindPath(MAX_ITER, ref tempInt);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_61 = __this->___navQuery_15;
|
|
NullCheck(L_61);
|
|
bool L_62;
|
|
L_62 = NavMeshQuery_UpdateSlicedFindPath_m4B95AF2C2D0D29DF6A5F693C53B32B004247E468(L_61, ((int32_t)20), (&V_9), NULL);
|
|
// status = Status.Failure;
|
|
V_2 = 0;
|
|
// if (agents[i].TargetReplan)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_63 = __this->___agents_5;
|
|
int32_t L_64 = V_3;
|
|
NullCheck(L_63);
|
|
int32_t L_65 = L_64;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
|
|
NullCheck(L_66);
|
|
bool L_67 = L_66->___TargetReplan_25;
|
|
if (!L_67)
|
|
{
|
|
goto IL_012a;
|
|
}
|
|
}
|
|
{
|
|
// status = navQuery.FinalizedSlicedPathPartial(path, npath, reqPath, ref reqPathCount, MAX_RES).ToStatus();
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_68 = __this->___navQuery_15;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_69 = V_4;
|
|
int32_t L_70 = V_5;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_71 = V_7;
|
|
NullCheck(L_68);
|
|
bool L_72;
|
|
L_72 = NavMeshQuery_FinalizedSlicedPathPartial_mD6B9AD5495ABB66ECEC467B369A0070294B421E7(L_68, L_69, L_70, L_71, (&V_8), ((int32_t)32), NULL);
|
|
int32_t L_73;
|
|
L_73 = StatusExtensions_ToStatus_mA40985BC1ED839B91461C539903752444410AAB9(L_72, NULL);
|
|
V_2 = L_73;
|
|
goto IL_0141;
|
|
}
|
|
|
|
IL_012a:
|
|
{
|
|
// status = navQuery.FinalizeSlicedFindPath(reqPath, ref reqPathCount, MAX_RES).ToStatus();
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_74 = __this->___navQuery_15;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_75 = V_7;
|
|
NullCheck(L_74);
|
|
bool L_76;
|
|
L_76 = NavMeshQuery_FinalizeSlicedFindPath_mA7D52BFC5D4E1262670DEFDD2C79C143656E7E54(L_74, L_75, (&V_8), ((int32_t)32), NULL);
|
|
int32_t L_77;
|
|
L_77 = StatusExtensions_ToStatus_mA40985BC1ED839B91461C539903752444410AAB9(L_76, NULL);
|
|
V_2 = L_77;
|
|
}
|
|
|
|
IL_0141:
|
|
{
|
|
// if (status != Status.Failure && reqPathCount > 0)
|
|
int32_t L_78 = V_2;
|
|
if (!L_78)
|
|
{
|
|
goto IL_01a1;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_79 = V_8;
|
|
if ((((int32_t)L_79) <= ((int32_t)0)))
|
|
{
|
|
goto IL_01a1;
|
|
}
|
|
}
|
|
{
|
|
// if (reqPath[reqPathCount - 1] != agents[i].TargetRef)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_80 = V_7;
|
|
int32_t L_81 = V_8;
|
|
NullCheck(L_80);
|
|
int32_t L_82 = ((int32_t)il2cpp_codegen_subtract(L_81, 1));
|
|
int32_t L_83 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_84 = __this->___agents_5;
|
|
int32_t L_85 = V_3;
|
|
NullCheck(L_84);
|
|
int32_t L_86 = L_85;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_87 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
|
|
NullCheck(L_87);
|
|
int32_t L_88 = L_87->___TargetRef_22;
|
|
if ((((int32_t)L_83) == ((int32_t)L_88)))
|
|
{
|
|
goto IL_0190;
|
|
}
|
|
}
|
|
{
|
|
// status = navQuery.ClosestPointOnPoly(reqPath[reqPathCount - 1], agents[i].TargetPosition, out reqPos, out tempBool).ToStatus();
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_89 = __this->___navQuery_15;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_90 = V_7;
|
|
int32_t L_91 = V_8;
|
|
NullCheck(L_90);
|
|
int32_t L_92 = ((int32_t)il2cpp_codegen_subtract(L_91, 1));
|
|
int32_t L_93 = (L_90)->GetAt(static_cast<il2cpp_array_size_t>(L_92));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_94 = __this->___agents_5;
|
|
int32_t L_95 = V_3;
|
|
NullCheck(L_94);
|
|
int32_t L_96 = L_95;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_97 = (L_94)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
|
|
NullCheck(L_97);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_98;
|
|
L_98 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_97, NULL);
|
|
NullCheck(L_89);
|
|
bool L_99;
|
|
L_99 = NavMeshQuery_ClosestPointOnPoly_m4DBB76602E69374F8AD83E6ABA1F23D7726C395F(L_89, L_93, L_98, (&V_6), (&V_10), NULL);
|
|
int32_t L_100;
|
|
L_100 = StatusExtensions_ToStatus_mA40985BC1ED839B91461C539903752444410AAB9(L_99, NULL);
|
|
V_2 = L_100;
|
|
// if (status == Status.Failure)
|
|
int32_t L_101 = V_2;
|
|
if (L_101)
|
|
{
|
|
goto IL_01a4;
|
|
}
|
|
}
|
|
{
|
|
// reqPathCount = 0;
|
|
V_8 = 0;
|
|
goto IL_01a4;
|
|
}
|
|
|
|
IL_0190:
|
|
{
|
|
// reqPos = agents[i].TargetPosition;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_102 = __this->___agents_5;
|
|
int32_t L_103 = V_3;
|
|
NullCheck(L_102);
|
|
int32_t L_104 = L_103;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
|
|
NullCheck(L_105);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_106;
|
|
L_106 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_105, NULL);
|
|
V_6 = L_106;
|
|
goto IL_01a4;
|
|
}
|
|
|
|
IL_01a1:
|
|
{
|
|
// reqPathCount = 0;
|
|
V_8 = 0;
|
|
}
|
|
|
|
IL_01a4:
|
|
{
|
|
// if (reqPathCount == 0)
|
|
int32_t L_107 = V_8;
|
|
if (L_107)
|
|
{
|
|
goto IL_01c2;
|
|
}
|
|
}
|
|
{
|
|
// reqPos = agents[i].Position;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_108 = __this->___agents_5;
|
|
int32_t L_109 = V_3;
|
|
NullCheck(L_108);
|
|
int32_t L_110 = L_109;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_111 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_110));
|
|
NullCheck(L_111);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_112;
|
|
L_112 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_111, NULL);
|
|
V_6 = L_112;
|
|
// reqPath[0] = path[0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_113 = V_7;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_114 = V_4;
|
|
NullCheck(L_114);
|
|
int32_t L_115 = 0;
|
|
int32_t L_116 = (L_114)->GetAt(static_cast<il2cpp_array_size_t>(L_115));
|
|
NullCheck(L_113);
|
|
(L_113)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)L_116);
|
|
// reqPathCount = 1;
|
|
V_8 = 1;
|
|
}
|
|
|
|
IL_01c2:
|
|
{
|
|
// agents[i].Corridor.SetCorridor(reqPos, reqPath, reqPathCount);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_117 = __this->___agents_5;
|
|
int32_t L_118 = V_3;
|
|
NullCheck(L_117);
|
|
int32_t L_119 = L_118;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_120 = (L_117)->GetAt(static_cast<il2cpp_array_size_t>(L_119));
|
|
NullCheck(L_120);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_121;
|
|
L_121 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_120, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_122 = V_6;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_123 = V_7;
|
|
int32_t L_124 = V_8;
|
|
NullCheck(L_121);
|
|
PathCorridor_SetCorridor_m38750A090B7A707B90B7A32FC4EFFD49E2A23362(L_121, L_122, L_123, L_124, NULL);
|
|
// agents[i].Boundary.Reset();
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_125 = __this->___agents_5;
|
|
int32_t L_126 = V_3;
|
|
NullCheck(L_125);
|
|
int32_t L_127 = L_126;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_128 = (L_125)->GetAt(static_cast<il2cpp_array_size_t>(L_127));
|
|
NullCheck(L_128);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_129;
|
|
L_129 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_128, NULL);
|
|
NullCheck(L_129);
|
|
LocalBoundary_Reset_m8E2E3A7BF654BE3692315EA0E6700A10407380F6(L_129, NULL);
|
|
// agents[i].IsPartial = false;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_130 = __this->___agents_5;
|
|
int32_t L_131 = V_3;
|
|
NullCheck(L_130);
|
|
int32_t L_132 = L_131;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_133 = (L_130)->GetAt(static_cast<il2cpp_array_size_t>(L_132));
|
|
NullCheck(L_133);
|
|
Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E_inline(L_133, (bool)0, NULL);
|
|
// if (reqPath[reqPathCount - 1] == agents[i].TargetRef)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_134 = V_7;
|
|
int32_t L_135 = V_8;
|
|
NullCheck(L_134);
|
|
int32_t L_136 = ((int32_t)il2cpp_codegen_subtract(L_135, 1));
|
|
int32_t L_137 = (L_134)->GetAt(static_cast<il2cpp_array_size_t>(L_136));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_138 = __this->___agents_5;
|
|
int32_t L_139 = V_3;
|
|
NullCheck(L_138);
|
|
int32_t L_140 = L_139;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_141 = (L_138)->GetAt(static_cast<il2cpp_array_size_t>(L_140));
|
|
NullCheck(L_141);
|
|
int32_t L_142 = L_141->___TargetRef_22;
|
|
if ((!(((uint32_t)L_137) == ((uint32_t)L_142))))
|
|
{
|
|
goto IL_0232;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].TargetState = TargetState.Valid;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_143 = __this->___agents_5;
|
|
int32_t L_144 = V_3;
|
|
NullCheck(L_143);
|
|
int32_t L_145 = L_144;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_146 = (L_143)->GetAt(static_cast<il2cpp_array_size_t>(L_145));
|
|
NullCheck(L_146);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_146, 2, NULL);
|
|
// agents[i].TargetReplanTime = 0.0f;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_147 = __this->___agents_5;
|
|
int32_t L_148 = V_3;
|
|
NullCheck(L_147);
|
|
int32_t L_149 = L_148;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_150 = (L_147)->GetAt(static_cast<il2cpp_array_size_t>(L_149));
|
|
NullCheck(L_150);
|
|
L_150->___TargetReplanTime_26 = (0.0f);
|
|
goto IL_0240;
|
|
}
|
|
|
|
IL_0232:
|
|
{
|
|
// agents[i].TargetState = TargetState.WaitingForQueue;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_151 = __this->___agents_5;
|
|
int32_t L_152 = V_3;
|
|
NullCheck(L_151);
|
|
int32_t L_153 = L_152;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_154 = (L_151)->GetAt(static_cast<il2cpp_array_size_t>(L_153));
|
|
NullCheck(L_154);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_154, 4, NULL);
|
|
}
|
|
|
|
IL_0240:
|
|
{
|
|
// if (agents[i].TargetState == TargetState.WaitingForQueue)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_155 = __this->___agents_5;
|
|
int32_t L_156 = V_3;
|
|
NullCheck(L_155);
|
|
int32_t L_157 = L_156;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_158 = (L_155)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
|
|
NullCheck(L_158);
|
|
int32_t L_159;
|
|
L_159 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_158, NULL);
|
|
if ((!(((uint32_t)L_159) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0262;
|
|
}
|
|
}
|
|
{
|
|
// numQueue = AddToPathQueue(agents[i], queue, numQueue, PATH_MAX_AGENTS);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_160 = __this->___agents_5;
|
|
int32_t L_161 = V_3;
|
|
NullCheck(L_160);
|
|
int32_t L_162 = L_161;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_163 = (L_160)->GetAt(static_cast<il2cpp_array_size_t>(L_162));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_164 = V_0;
|
|
int32_t L_165 = V_1;
|
|
int32_t L_166;
|
|
L_166 = Crowd_AddToPathQueue_m31C607A6CD71D2B892E2F94CFAF739E19EE0B13E(__this, L_163, L_164, L_165, 8, NULL);
|
|
V_1 = L_166;
|
|
}
|
|
|
|
IL_0262:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_167 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_167, 1));
|
|
}
|
|
|
|
IL_0266:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_168 = V_3;
|
|
int32_t L_169 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_168) < ((int32_t)L_169)))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < numQueue; i++)
|
|
V_11 = 0;
|
|
goto IL_02d4;
|
|
}
|
|
|
|
IL_0277:
|
|
{
|
|
// queue[i].TargetPathqRef = pathq.Request(queue[i].Corridor.GetLastPoly(), queue[i].TargetRef, queue[i].Corridor.Target, queue[i].TargetPosition);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_170 = V_0;
|
|
int32_t L_171 = V_11;
|
|
NullCheck(L_170);
|
|
int32_t L_172 = L_171;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_173 = (L_170)->GetAt(static_cast<il2cpp_array_size_t>(L_172));
|
|
PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* L_174 = __this->___pathq_7;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_175 = V_0;
|
|
int32_t L_176 = V_11;
|
|
NullCheck(L_175);
|
|
int32_t L_177 = L_176;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_178 = (L_175)->GetAt(static_cast<il2cpp_array_size_t>(L_177));
|
|
NullCheck(L_178);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_179;
|
|
L_179 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_178, NULL);
|
|
NullCheck(L_179);
|
|
int32_t L_180;
|
|
L_180 = PathCorridor_GetLastPoly_mD6BD4318CF607CDC264DCE7057C626118CBE3096(L_179, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_181 = V_0;
|
|
int32_t L_182 = V_11;
|
|
NullCheck(L_181);
|
|
int32_t L_183 = L_182;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_184 = (L_181)->GetAt(static_cast<il2cpp_array_size_t>(L_183));
|
|
NullCheck(L_184);
|
|
int32_t L_185 = L_184->___TargetRef_22;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_186 = V_0;
|
|
int32_t L_187 = V_11;
|
|
NullCheck(L_186);
|
|
int32_t L_188 = L_187;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_189 = (L_186)->GetAt(static_cast<il2cpp_array_size_t>(L_188));
|
|
NullCheck(L_189);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_190;
|
|
L_190 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_189, NULL);
|
|
NullCheck(L_190);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_191;
|
|
L_191 = PathCorridor_get_Target_m184F80726BFEBFBB81B3C04EB02FBB9F0E0EF8D5_inline(L_190, NULL);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_192 = V_0;
|
|
int32_t L_193 = V_11;
|
|
NullCheck(L_192);
|
|
int32_t L_194 = L_193;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_195 = (L_192)->GetAt(static_cast<il2cpp_array_size_t>(L_194));
|
|
NullCheck(L_195);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_196;
|
|
L_196 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_195, NULL);
|
|
NullCheck(L_174);
|
|
int32_t L_197;
|
|
L_197 = PathQueue_Request_mF8569DD8FCFC5ECDEFF514BE15B0B063B74F8E42(L_174, L_180, L_185, L_191, L_196, NULL);
|
|
NullCheck(L_173);
|
|
L_173->___TargetPathqRef_24 = L_197;
|
|
// if (queue[i].TargetPathqRef != PathQueue.Invalid)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_198 = V_0;
|
|
int32_t L_199 = V_11;
|
|
NullCheck(L_198);
|
|
int32_t L_200 = L_199;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_201 = (L_198)->GetAt(static_cast<il2cpp_array_size_t>(L_200));
|
|
NullCheck(L_201);
|
|
int32_t L_202 = L_201->___TargetPathqRef_24;
|
|
if (!L_202)
|
|
{
|
|
goto IL_02ce;
|
|
}
|
|
}
|
|
{
|
|
// queue[i].TargetState = TargetState.WaitingForPath;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_203 = V_0;
|
|
int32_t L_204 = V_11;
|
|
NullCheck(L_203);
|
|
int32_t L_205 = L_204;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_206 = (L_203)->GetAt(static_cast<il2cpp_array_size_t>(L_205));
|
|
NullCheck(L_206);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_206, 5, NULL);
|
|
}
|
|
|
|
IL_02ce:
|
|
{
|
|
// for (int i = 0; i < numQueue; i++)
|
|
int32_t L_207 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_207, 1));
|
|
}
|
|
|
|
IL_02d4:
|
|
{
|
|
// for (int i = 0; i < numQueue; i++)
|
|
int32_t L_208 = V_11;
|
|
int32_t L_209 = V_1;
|
|
if ((((int32_t)L_208) < ((int32_t)L_209)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
// pathq.Update(MaxItersPerUpdate);
|
|
PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* L_210 = __this->___pathq_7;
|
|
NullCheck(L_210);
|
|
PathQueue_Update_m2A2A28D327C89DBABA992428F70E7B5AFF23E6DB(L_210, ((int32_t)100), NULL);
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
V_12 = 0;
|
|
goto IL_05fb;
|
|
}
|
|
|
|
IL_02ee:
|
|
{
|
|
// if (!agents[i].IsActive)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_211 = __this->___agents_5;
|
|
int32_t L_212 = V_12;
|
|
NullCheck(L_211);
|
|
int32_t L_213 = L_212;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_214 = (L_211)->GetAt(static_cast<il2cpp_array_size_t>(L_213));
|
|
NullCheck(L_214);
|
|
bool L_215;
|
|
L_215 = Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897_inline(L_214, NULL);
|
|
if (!L_215)
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.None || agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_216 = __this->___agents_5;
|
|
int32_t L_217 = V_12;
|
|
NullCheck(L_216);
|
|
int32_t L_218 = L_217;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_219 = (L_216)->GetAt(static_cast<il2cpp_array_size_t>(L_218));
|
|
NullCheck(L_219);
|
|
int32_t L_220;
|
|
L_220 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_219, NULL);
|
|
if (!L_220)
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_221 = __this->___agents_5;
|
|
int32_t L_222 = V_12;
|
|
NullCheck(L_221);
|
|
int32_t L_223 = L_222;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_224 = (L_221)->GetAt(static_cast<il2cpp_array_size_t>(L_223));
|
|
NullCheck(L_224);
|
|
int32_t L_225;
|
|
L_225 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_224, NULL);
|
|
if ((((int32_t)L_225) == ((int32_t)6)))
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.WaitingForPath)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_226 = __this->___agents_5;
|
|
int32_t L_227 = V_12;
|
|
NullCheck(L_226);
|
|
int32_t L_228 = L_227;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_229 = (L_226)->GetAt(static_cast<il2cpp_array_size_t>(L_228));
|
|
NullCheck(L_229);
|
|
int32_t L_230;
|
|
L_230 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_229, NULL);
|
|
if ((!(((uint32_t)L_230) == ((uint32_t)5))))
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
// status = pathq.GetRequestStatus(agents[i].TargetPathqRef);
|
|
PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* L_231 = __this->___pathq_7;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_232 = __this->___agents_5;
|
|
int32_t L_233 = V_12;
|
|
NullCheck(L_232);
|
|
int32_t L_234 = L_233;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_235 = (L_232)->GetAt(static_cast<il2cpp_array_size_t>(L_234));
|
|
NullCheck(L_235);
|
|
int32_t L_236 = L_235->___TargetPathqRef_24;
|
|
NullCheck(L_231);
|
|
int32_t L_237;
|
|
L_237 = PathQueue_GetRequestStatus_mEC5EFFB4756E8ADA16DA9E6079CD0470671F18E4(L_231, L_236, NULL);
|
|
V_2 = L_237;
|
|
// if (status == Status.Failure)
|
|
int32_t L_238 = V_2;
|
|
if (L_238)
|
|
{
|
|
goto IL_03b0;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].TargetPathqRef = PathQueue.Invalid;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_239 = __this->___agents_5;
|
|
int32_t L_240 = V_12;
|
|
NullCheck(L_239);
|
|
int32_t L_241 = L_240;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_242 = (L_239)->GetAt(static_cast<il2cpp_array_size_t>(L_241));
|
|
NullCheck(L_242);
|
|
L_242->___TargetPathqRef_24 = 0;
|
|
// if (agents[i].TargetRef != 0)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_243 = __this->___agents_5;
|
|
int32_t L_244 = V_12;
|
|
NullCheck(L_243);
|
|
int32_t L_245 = L_244;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_246 = (L_243)->GetAt(static_cast<il2cpp_array_size_t>(L_245));
|
|
NullCheck(L_246);
|
|
int32_t L_247 = L_246->___TargetRef_22;
|
|
if (!L_247)
|
|
{
|
|
goto IL_0389;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].TargetState = TargetState.Requesting;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_248 = __this->___agents_5;
|
|
int32_t L_249 = V_12;
|
|
NullCheck(L_248);
|
|
int32_t L_250 = L_249;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_251 = (L_248)->GetAt(static_cast<il2cpp_array_size_t>(L_250));
|
|
NullCheck(L_251);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_251, 3, NULL);
|
|
goto IL_0398;
|
|
}
|
|
|
|
IL_0389:
|
|
{
|
|
// agents[i].TargetState = TargetState.Failed;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_252 = __this->___agents_5;
|
|
int32_t L_253 = V_12;
|
|
NullCheck(L_252);
|
|
int32_t L_254 = L_253;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_255 = (L_252)->GetAt(static_cast<il2cpp_array_size_t>(L_254));
|
|
NullCheck(L_255);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_255, 1, NULL);
|
|
}
|
|
|
|
IL_0398:
|
|
{
|
|
// agents[i].TargetReplanTime = 0.0f;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_256 = __this->___agents_5;
|
|
int32_t L_257 = V_12;
|
|
NullCheck(L_256);
|
|
int32_t L_258 = L_257;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_259 = (L_256)->GetAt(static_cast<il2cpp_array_size_t>(L_258));
|
|
NullCheck(L_259);
|
|
L_259->___TargetReplanTime_26 = (0.0f);
|
|
goto IL_05f5;
|
|
}
|
|
|
|
IL_03b0:
|
|
{
|
|
// else if (status == Status.Success)
|
|
int32_t L_260 = V_2;
|
|
if ((!(((uint32_t)L_260) == ((uint32_t)1))))
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
// int[] path = agents[i].Corridor.Path;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_261 = __this->___agents_5;
|
|
int32_t L_262 = V_12;
|
|
NullCheck(L_261);
|
|
int32_t L_263 = L_262;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_264 = (L_261)->GetAt(static_cast<il2cpp_array_size_t>(L_263));
|
|
NullCheck(L_264);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_265;
|
|
L_265 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_264, NULL);
|
|
NullCheck(L_265);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_266;
|
|
L_266 = PathCorridor_get_Path_m96318A10B64F76F90FF960C98B061FDEF037271F_inline(L_265, NULL);
|
|
V_13 = L_266;
|
|
// int npath = agents[i].Corridor.PathCount;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_267 = __this->___agents_5;
|
|
int32_t L_268 = V_12;
|
|
NullCheck(L_267);
|
|
int32_t L_269 = L_268;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_270 = (L_267)->GetAt(static_cast<il2cpp_array_size_t>(L_269));
|
|
NullCheck(L_270);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_271;
|
|
L_271 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_270, NULL);
|
|
NullCheck(L_271);
|
|
int32_t L_272;
|
|
L_272 = PathCorridor_get_PathCount_m1734ED9D5D9A0688B57C0B94CD31B4778F21ED81_inline(L_271, NULL);
|
|
V_14 = L_272;
|
|
// Vector3 targetPos = new Vector3();
|
|
il2cpp_codegen_initobj((&V_15), sizeof(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4));
|
|
// targetPos = agents[i].TargetPosition;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_273 = __this->___agents_5;
|
|
int32_t L_274 = V_12;
|
|
NullCheck(L_273);
|
|
int32_t L_275 = L_274;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_276 = (L_273)->GetAt(static_cast<il2cpp_array_size_t>(L_275));
|
|
NullCheck(L_276);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_277;
|
|
L_277 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_276, NULL);
|
|
V_15 = L_277;
|
|
// int[] res = new int[this.maxPathResult];
|
|
int32_t L_278 = __this->___maxPathResult_12;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_279 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_278);
|
|
V_16 = L_279;
|
|
// for (int j = 0; j < this.maxPathResult; j++)
|
|
V_19 = 0;
|
|
goto IL_041f;
|
|
}
|
|
|
|
IL_040b:
|
|
{
|
|
// res[i] = pathResult[j];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_280 = V_16;
|
|
int32_t L_281 = V_12;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_282 = __this->___pathResult_11;
|
|
int32_t L_283 = V_19;
|
|
NullCheck(L_282);
|
|
int32_t L_284 = L_283;
|
|
int32_t L_285 = (L_282)->GetAt(static_cast<il2cpp_array_size_t>(L_284));
|
|
NullCheck(L_280);
|
|
(L_280)->SetAt(static_cast<il2cpp_array_size_t>(L_281), (int32_t)L_285);
|
|
// for (int j = 0; j < this.maxPathResult; j++)
|
|
int32_t L_286 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_286, 1));
|
|
}
|
|
|
|
IL_041f:
|
|
{
|
|
// for (int j = 0; j < this.maxPathResult; j++)
|
|
int32_t L_287 = V_19;
|
|
int32_t L_288 = __this->___maxPathResult_12;
|
|
if ((((int32_t)L_287) < ((int32_t)L_288)))
|
|
{
|
|
goto IL_040b;
|
|
}
|
|
}
|
|
{
|
|
// bool valid = true;
|
|
V_17 = (bool)1;
|
|
// int nres = 0;
|
|
V_18 = 0;
|
|
// status = pathq.GetPathResult(agents[i].TargetPathqRef, res, ref nres, maxPathResult).ToStatus();
|
|
PathQueue_t087C410E1D853701A9E70247A9CBA1F615DD060D* L_289 = __this->___pathq_7;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_290 = __this->___agents_5;
|
|
int32_t L_291 = V_12;
|
|
NullCheck(L_290);
|
|
int32_t L_292 = L_291;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_293 = (L_290)->GetAt(static_cast<il2cpp_array_size_t>(L_292));
|
|
NullCheck(L_293);
|
|
int32_t L_294 = L_293->___TargetPathqRef_24;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_295 = V_16;
|
|
int32_t L_296 = __this->___maxPathResult_12;
|
|
NullCheck(L_289);
|
|
bool L_297;
|
|
L_297 = PathQueue_GetPathResult_mC51FD52918730F630DAC3F9B5958CC8E11558365(L_289, L_294, L_295, (&V_18), L_296, NULL);
|
|
int32_t L_298;
|
|
L_298 = StatusExtensions_ToStatus_mA40985BC1ED839B91461C539903752444410AAB9(L_297, NULL);
|
|
V_2 = L_298;
|
|
// if (status == Status.Failure || nres == 0)
|
|
int32_t L_299 = V_2;
|
|
if (!L_299)
|
|
{
|
|
goto IL_045f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_300 = V_18;
|
|
if (L_300)
|
|
{
|
|
goto IL_0462;
|
|
}
|
|
}
|
|
|
|
IL_045f:
|
|
{
|
|
// valid = false;
|
|
V_17 = (bool)0;
|
|
}
|
|
|
|
IL_0462:
|
|
{
|
|
// if (valid && path[npath - 1] != res[0])
|
|
bool L_301 = V_17;
|
|
if (!L_301)
|
|
{
|
|
goto IL_0476;
|
|
}
|
|
}
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_302 = V_13;
|
|
int32_t L_303 = V_14;
|
|
NullCheck(L_302);
|
|
int32_t L_304 = ((int32_t)il2cpp_codegen_subtract(L_303, 1));
|
|
int32_t L_305 = (L_302)->GetAt(static_cast<il2cpp_array_size_t>(L_304));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_306 = V_16;
|
|
NullCheck(L_306);
|
|
int32_t L_307 = 0;
|
|
int32_t L_308 = (L_306)->GetAt(static_cast<il2cpp_array_size_t>(L_307));
|
|
if ((((int32_t)L_305) == ((int32_t)L_308)))
|
|
{
|
|
goto IL_0476;
|
|
}
|
|
}
|
|
{
|
|
// valid = false;
|
|
V_17 = (bool)0;
|
|
}
|
|
|
|
IL_0476:
|
|
{
|
|
// if (valid)
|
|
bool L_309 = V_17;
|
|
if (!L_309)
|
|
{
|
|
goto IL_0592;
|
|
}
|
|
}
|
|
{
|
|
// if (npath > 1)
|
|
int32_t L_310 = V_14;
|
|
if ((((int32_t)L_310) <= ((int32_t)1)))
|
|
{
|
|
goto IL_054d;
|
|
}
|
|
}
|
|
{
|
|
// if ((npath - 1) + nres > maxPathResult)
|
|
int32_t L_311 = V_14;
|
|
int32_t L_312 = V_18;
|
|
int32_t L_313 = __this->___maxPathResult_12;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_311, 1)), L_312))) <= ((int32_t)L_313)))
|
|
{
|
|
goto IL_04a1;
|
|
}
|
|
}
|
|
{
|
|
// nres = maxPathResult - (npath - 1);
|
|
int32_t L_314 = __this->___maxPathResult_12;
|
|
int32_t L_315 = V_14;
|
|
V_18 = ((int32_t)il2cpp_codegen_subtract(L_314, ((int32_t)il2cpp_codegen_subtract(L_315, 1))));
|
|
}
|
|
|
|
IL_04a1:
|
|
{
|
|
// for (int j = 0; j < nres; j++)
|
|
V_20 = 0;
|
|
goto IL_04bb;
|
|
}
|
|
|
|
IL_04a6:
|
|
{
|
|
// res[npath - 1 + j] = res[j];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_316 = V_16;
|
|
int32_t L_317 = V_14;
|
|
int32_t L_318 = V_20;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_319 = V_16;
|
|
int32_t L_320 = V_20;
|
|
NullCheck(L_319);
|
|
int32_t L_321 = L_320;
|
|
int32_t L_322 = (L_319)->GetAt(static_cast<il2cpp_array_size_t>(L_321));
|
|
NullCheck(L_316);
|
|
(L_316)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_317, 1)), L_318))), (int32_t)L_322);
|
|
// for (int j = 0; j < nres; j++)
|
|
int32_t L_323 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_323, 1));
|
|
}
|
|
|
|
IL_04bb:
|
|
{
|
|
// for (int j = 0; j < nres; j++)
|
|
int32_t L_324 = V_20;
|
|
int32_t L_325 = V_18;
|
|
if ((((int32_t)L_324) < ((int32_t)L_325)))
|
|
{
|
|
goto IL_04a6;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < npath - 1; j++)
|
|
V_21 = 0;
|
|
goto IL_04d6;
|
|
}
|
|
|
|
IL_04c6:
|
|
{
|
|
// res[j] = path[j];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_326 = V_16;
|
|
int32_t L_327 = V_21;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_328 = V_13;
|
|
int32_t L_329 = V_21;
|
|
NullCheck(L_328);
|
|
int32_t L_330 = L_329;
|
|
int32_t L_331 = (L_328)->GetAt(static_cast<il2cpp_array_size_t>(L_330));
|
|
NullCheck(L_326);
|
|
(L_326)->SetAt(static_cast<il2cpp_array_size_t>(L_327), (int32_t)L_331);
|
|
// for (int j = 0; j < npath - 1; j++)
|
|
int32_t L_332 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_332, 1));
|
|
}
|
|
|
|
IL_04d6:
|
|
{
|
|
// for (int j = 0; j < npath - 1; j++)
|
|
int32_t L_333 = V_21;
|
|
int32_t L_334 = V_14;
|
|
if ((((int32_t)L_333) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_334, 1)))))
|
|
{
|
|
goto IL_04c6;
|
|
}
|
|
}
|
|
{
|
|
// nres += npath - 1;
|
|
int32_t L_335 = V_18;
|
|
int32_t L_336 = V_14;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_335, ((int32_t)il2cpp_codegen_subtract(L_336, 1))));
|
|
// for (int j = 0; j < nres; j++)
|
|
V_22 = 0;
|
|
goto IL_0547;
|
|
}
|
|
|
|
IL_04ec:
|
|
{
|
|
// if (j - 1 >= 0 && j + 1 < nres)
|
|
int32_t L_337 = V_22;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_337, 1))) < ((int32_t)0)))
|
|
{
|
|
goto IL_0541;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_338 = V_22;
|
|
int32_t L_339 = V_18;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_338, 1))) >= ((int32_t)L_339)))
|
|
{
|
|
goto IL_0541;
|
|
}
|
|
}
|
|
{
|
|
// if (res[j - 1] == res[j + 1])
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_340 = V_16;
|
|
int32_t L_341 = V_22;
|
|
NullCheck(L_340);
|
|
int32_t L_342 = ((int32_t)il2cpp_codegen_subtract(L_341, 1));
|
|
int32_t L_343 = (L_340)->GetAt(static_cast<il2cpp_array_size_t>(L_342));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_344 = V_16;
|
|
int32_t L_345 = V_22;
|
|
NullCheck(L_344);
|
|
int32_t L_346 = ((int32_t)il2cpp_codegen_add(L_345, 1));
|
|
int32_t L_347 = (L_344)->GetAt(static_cast<il2cpp_array_size_t>(L_346));
|
|
if ((!(((uint32_t)L_343) == ((uint32_t)L_347))))
|
|
{
|
|
goto IL_0541;
|
|
}
|
|
}
|
|
{
|
|
// for (int k = 0; k < nres - (j + 1); k++)
|
|
V_23 = 0;
|
|
goto IL_052a;
|
|
}
|
|
|
|
IL_0510:
|
|
{
|
|
// res[j - 1 + k] = res[j + 1 + k];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_348 = V_16;
|
|
int32_t L_349 = V_22;
|
|
int32_t L_350 = V_23;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_351 = V_16;
|
|
int32_t L_352 = V_22;
|
|
int32_t L_353 = V_23;
|
|
NullCheck(L_351);
|
|
int32_t L_354 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_352, 1)), L_353));
|
|
int32_t L_355 = (L_351)->GetAt(static_cast<il2cpp_array_size_t>(L_354));
|
|
NullCheck(L_348);
|
|
(L_348)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_349, 1)), L_350))), (int32_t)L_355);
|
|
// for (int k = 0; k < nres - (j + 1); k++)
|
|
int32_t L_356 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_356, 1));
|
|
}
|
|
|
|
IL_052a:
|
|
{
|
|
// for (int k = 0; k < nres - (j + 1); k++)
|
|
int32_t L_357 = V_23;
|
|
int32_t L_358 = V_18;
|
|
int32_t L_359 = V_22;
|
|
if ((((int32_t)L_357) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_358, ((int32_t)il2cpp_codegen_add(L_359, 1)))))))
|
|
{
|
|
goto IL_0510;
|
|
}
|
|
}
|
|
{
|
|
// nres -= 2;
|
|
int32_t L_360 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_subtract(L_360, 2));
|
|
// j -= 2;
|
|
int32_t L_361 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_subtract(L_361, 2));
|
|
}
|
|
|
|
IL_0541:
|
|
{
|
|
// for (int j = 0; j < nres; j++)
|
|
int32_t L_362 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_362, 1));
|
|
}
|
|
|
|
IL_0547:
|
|
{
|
|
// for (int j = 0; j < nres; j++)
|
|
int32_t L_363 = V_22;
|
|
int32_t L_364 = V_18;
|
|
if ((((int32_t)L_363) < ((int32_t)L_364)))
|
|
{
|
|
goto IL_04ec;
|
|
}
|
|
}
|
|
|
|
IL_054d:
|
|
{
|
|
// if (res[nres - 1] != agents[i].TargetRef)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_365 = V_16;
|
|
int32_t L_366 = V_18;
|
|
NullCheck(L_365);
|
|
int32_t L_367 = ((int32_t)il2cpp_codegen_subtract(L_366, 1));
|
|
int32_t L_368 = (L_365)->GetAt(static_cast<il2cpp_array_size_t>(L_367));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_369 = __this->___agents_5;
|
|
int32_t L_370 = V_12;
|
|
NullCheck(L_369);
|
|
int32_t L_371 = L_370;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_372 = (L_369)->GetAt(static_cast<il2cpp_array_size_t>(L_371));
|
|
NullCheck(L_372);
|
|
int32_t L_373 = L_372->___TargetRef_22;
|
|
if ((((int32_t)L_368) == ((int32_t)L_373)))
|
|
{
|
|
goto IL_0592;
|
|
}
|
|
}
|
|
{
|
|
// bool tempBool = false;
|
|
V_25 = (bool)0;
|
|
// status = navQuery.ClosestPointOnPoly(res[nres - 1], targetPos, out nearest, out tempBool).ToStatus();
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_374 = __this->___navQuery_15;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_375 = V_16;
|
|
int32_t L_376 = V_18;
|
|
NullCheck(L_375);
|
|
int32_t L_377 = ((int32_t)il2cpp_codegen_subtract(L_376, 1));
|
|
int32_t L_378 = (L_375)->GetAt(static_cast<il2cpp_array_size_t>(L_377));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_379 = V_15;
|
|
NullCheck(L_374);
|
|
bool L_380;
|
|
L_380 = NavMeshQuery_ClosestPointOnPoly_m4DBB76602E69374F8AD83E6ABA1F23D7726C395F(L_374, L_378, L_379, (&V_24), (&V_25), NULL);
|
|
int32_t L_381;
|
|
L_381 = StatusExtensions_ToStatus_mA40985BC1ED839B91461C539903752444410AAB9(L_380, NULL);
|
|
V_2 = L_381;
|
|
// if (status == Status.Success)
|
|
int32_t L_382 = V_2;
|
|
if ((!(((uint32_t)L_382) == ((uint32_t)1))))
|
|
{
|
|
goto IL_058f;
|
|
}
|
|
}
|
|
{
|
|
// targetPos = nearest;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_383 = V_24;
|
|
V_15 = L_383;
|
|
goto IL_0592;
|
|
}
|
|
|
|
IL_058f:
|
|
{
|
|
// valid = false;
|
|
V_17 = (bool)0;
|
|
}
|
|
|
|
IL_0592:
|
|
{
|
|
// if (valid)
|
|
bool L_384 = V_17;
|
|
if (!L_384)
|
|
{
|
|
goto IL_05d3;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].Corridor.SetCorridor(targetPos, res, nres);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_385 = __this->___agents_5;
|
|
int32_t L_386 = V_12;
|
|
NullCheck(L_385);
|
|
int32_t L_387 = L_386;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_388 = (L_385)->GetAt(static_cast<il2cpp_array_size_t>(L_387));
|
|
NullCheck(L_388);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_389;
|
|
L_389 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_388, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_390 = V_15;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_391 = V_16;
|
|
int32_t L_392 = V_18;
|
|
NullCheck(L_389);
|
|
PathCorridor_SetCorridor_m38750A090B7A707B90B7A32FC4EFFD49E2A23362(L_389, L_390, L_391, L_392, NULL);
|
|
// agents[i].Boundary.Reset();
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_393 = __this->___agents_5;
|
|
int32_t L_394 = V_12;
|
|
NullCheck(L_393);
|
|
int32_t L_395 = L_394;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_396 = (L_393)->GetAt(static_cast<il2cpp_array_size_t>(L_395));
|
|
NullCheck(L_396);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_397;
|
|
L_397 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_396, NULL);
|
|
NullCheck(L_397);
|
|
LocalBoundary_Reset_m8E2E3A7BF654BE3692315EA0E6700A10407380F6(L_397, NULL);
|
|
// agents[i].TargetState = TargetState.Valid;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_398 = __this->___agents_5;
|
|
int32_t L_399 = V_12;
|
|
NullCheck(L_398);
|
|
int32_t L_400 = L_399;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_401 = (L_398)->GetAt(static_cast<il2cpp_array_size_t>(L_400));
|
|
NullCheck(L_401);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_401, 2, NULL);
|
|
goto IL_05e2;
|
|
}
|
|
|
|
IL_05d3:
|
|
{
|
|
// agents[i].TargetState = TargetState.Failed;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_402 = __this->___agents_5;
|
|
int32_t L_403 = V_12;
|
|
NullCheck(L_402);
|
|
int32_t L_404 = L_403;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_405 = (L_402)->GetAt(static_cast<il2cpp_array_size_t>(L_404));
|
|
NullCheck(L_405);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_405, 1, NULL);
|
|
}
|
|
|
|
IL_05e2:
|
|
{
|
|
// agents[i].TargetReplanTime = 0.0f;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_406 = __this->___agents_5;
|
|
int32_t L_407 = V_12;
|
|
NullCheck(L_406);
|
|
int32_t L_408 = L_407;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_409 = (L_406)->GetAt(static_cast<il2cpp_array_size_t>(L_408));
|
|
NullCheck(L_409);
|
|
L_409->___TargetReplanTime_26 = (0.0f);
|
|
}
|
|
|
|
IL_05f5:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_410 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_410, 1));
|
|
}
|
|
|
|
IL_05fb:
|
|
{
|
|
// for (int i = 0; i < maxAgents; i++)
|
|
int32_t L_411 = V_12;
|
|
int32_t L_412 = __this->___maxAgents_4;
|
|
if ((((int32_t)L_411) < ((int32_t)L_412)))
|
|
{
|
|
goto IL_02ee;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::UpdateTopologyOptimization(SharpNav.Crowds.Agent[],System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_UpdateTopologyOptimization_m6C94D858F982C5B210E7A4B3DEFE0B4A4CD4C8EE (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___0_agents, int32_t ___1_numAgents, float ___2_dt, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
{
|
|
// if (numAgents == 0)
|
|
int32_t L_0 = ___1_numAgents;
|
|
if (L_0)
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// Agent[] queue = new Agent[OPT_MAX_AGENTS];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_1 = (AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)SZArrayNew(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var, (uint32_t)1);
|
|
V_0 = L_1;
|
|
// int nqueue = 0;
|
|
V_1 = 0;
|
|
// for (int i = 0; i < numAgents; i++)
|
|
V_2 = 0;
|
|
goto IL_0073;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// if (agents[i].State != AgentState.Walking)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_2 = ___0_agents;
|
|
int32_t L_3 = V_2;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_5, NULL);
|
|
if ((!(((uint32_t)L_6) == ((uint32_t)1))))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if (agents[i].TargetState == TargetState.None ||
|
|
// agents[i].TargetState == TargetState.Velocity)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_7 = ___0_agents;
|
|
int32_t L_8 = V_2;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_10, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_12 = ___0_agents;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_15, NULL);
|
|
if ((((int32_t)L_16) == ((int32_t)6)))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if ((agents[i].Parameters.UpdateFlags & UpdateFlags.OptimizeTopo) == 0)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_17 = ___0_agents;
|
|
int32_t L_18 = V_2;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = L_18;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
NullCheck(L_20);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_21 = (&L_20->___Parameters_16);
|
|
int32_t L_22 = L_21->___UpdateFlags_7;
|
|
if (!((int32_t)((int32_t)L_22&((int32_t)16))))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// agents[i].topologyOptTime += dt;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_23 = ___0_agents;
|
|
int32_t L_24 = V_2;
|
|
NullCheck(L_23);
|
|
int32_t L_25 = L_24;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_27 = L_26;
|
|
NullCheck(L_27);
|
|
float L_28 = L_27->___topologyOptTime_7;
|
|
float L_29 = ___2_dt;
|
|
NullCheck(L_27);
|
|
L_27->___topologyOptTime_7 = ((float)il2cpp_codegen_add(L_28, L_29));
|
|
// if (agents[i].topologyOptTime >= OPT_TIME_THR)
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_30 = ___0_agents;
|
|
int32_t L_31 = V_2;
|
|
NullCheck(L_30);
|
|
int32_t L_32 = L_31;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_33 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
|
|
NullCheck(L_33);
|
|
float L_34 = L_33->___topologyOptTime_7;
|
|
if ((!(((float)L_34) >= ((float)(0.5f)))))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// nqueue = AddToOptQueue(agents[i], queue, nqueue, OPT_MAX_AGENTS);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_35 = ___0_agents;
|
|
int32_t L_36 = V_2;
|
|
NullCheck(L_35);
|
|
int32_t L_37 = L_36;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_39 = V_0;
|
|
int32_t L_40 = V_1;
|
|
int32_t L_41;
|
|
L_41 = Crowd_AddToOptQueue_mFC551CE30DC4D04202ED52709B48AA700665E05B(__this, L_38, L_39, L_40, 1, NULL);
|
|
V_1 = L_41;
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_42 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// for (int i = 0; i < numAgents; i++)
|
|
int32_t L_43 = V_2;
|
|
int32_t L_44 = ___1_numAgents;
|
|
if ((((int32_t)L_43) < ((int32_t)L_44)))
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nqueue; i++)
|
|
V_3 = 0;
|
|
goto IL_00a0;
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
// queue[i].Corridor.OptimizePathTopology(navQuery);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_45 = V_0;
|
|
int32_t L_46 = V_3;
|
|
NullCheck(L_45);
|
|
int32_t L_47 = L_46;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_48 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
|
|
NullCheck(L_48);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_49;
|
|
L_49 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_48, NULL);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_50 = __this->___navQuery_15;
|
|
NullCheck(L_49);
|
|
bool L_51;
|
|
L_51 = PathCorridor_OptimizePathTopology_m8C4D9161565FD74EDAB1DB446F8596B0A5F77734(L_49, L_50, NULL);
|
|
// queue[i].topologyOptTime = 0.0f;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_52 = V_0;
|
|
int32_t L_53 = V_3;
|
|
NullCheck(L_52);
|
|
int32_t L_54 = L_53;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
NullCheck(L_55);
|
|
L_55->___topologyOptTime_7 = (0.0f);
|
|
// for (int i = 0; i < nqueue; i++)
|
|
int32_t L_56 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_56, 1));
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// for (int i = 0; i < nqueue; i++)
|
|
int32_t L_57 = V_3;
|
|
int32_t L_58 = V_1;
|
|
if ((((int32_t)L_57) < ((int32_t)L_58)))
|
|
{
|
|
goto IL_007b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::CheckPathValidity(SharpNav.Crowds.Agent[],System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_CheckPathValidity_mEC9FB636F10A170F3EE52C9E7DBD71F397E1FA34 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___0_agents, int32_t ___1_agentCount, float ___2_dt, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_1 = NULL;
|
|
bool V_2 = false;
|
|
int32_t V_3 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
{
|
|
// for (int i = 0; i < agentCount; i++)
|
|
V_0 = 0;
|
|
goto IL_01f2;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// Agent ag = agents[i];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = ___0_agents;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
V_1 = L_3;
|
|
// if (ag.State != AgentState.Walking)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline(L_4, NULL);
|
|
if ((!(((uint32_t)L_5) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01ee;
|
|
}
|
|
}
|
|
{
|
|
// if (ag.TargetState == TargetState.None || ag.TargetState == TargetState.Velocity)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_01ee;
|
|
}
|
|
}
|
|
{
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_8 = V_1;
|
|
NullCheck(L_8);
|
|
int32_t L_9;
|
|
L_9 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_8, NULL);
|
|
if ((((int32_t)L_9) == ((int32_t)6)))
|
|
{
|
|
goto IL_01ee;
|
|
}
|
|
}
|
|
{
|
|
// ag.TargetReplanTime += dt;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_10 = V_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_11 = L_10;
|
|
NullCheck(L_11);
|
|
float L_12 = L_11->___TargetReplanTime_26;
|
|
float L_13 = ___2_dt;
|
|
NullCheck(L_11);
|
|
L_11->___TargetReplanTime_26 = ((float)il2cpp_codegen_add(L_12, L_13));
|
|
// bool replan = false;
|
|
V_2 = (bool)0;
|
|
// int agentRef = ag.Corridor.GetFirstPoly();
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_15;
|
|
L_15 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_14, NULL);
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = PathCorridor_GetFirstPoly_m279430F9458518C663651ABBC86478FF3923F027(L_15, NULL);
|
|
V_3 = L_16;
|
|
// Vector3 agentPos = ag.Position;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_17 = V_1;
|
|
NullCheck(L_17);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18;
|
|
L_18 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_17, NULL);
|
|
V_4 = L_18;
|
|
// if (!navQuery.IsValidPolyRef(agentRef))
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_19 = __this->___navQuery_15;
|
|
int32_t L_20 = V_3;
|
|
NullCheck(L_19);
|
|
bool L_21;
|
|
L_21 = NavMeshQuery_IsValidPolyRef_m5DF99AC93B0982F80A3AE6D9B02F821C4917510F(L_19, L_20, NULL);
|
|
if (L_21)
|
|
{
|
|
goto IL_00e6;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 pos = ag.Position;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_22 = V_1;
|
|
NullCheck(L_22);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23;
|
|
L_23 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_22, NULL);
|
|
V_5 = L_23;
|
|
// agentRef = 0;
|
|
V_3 = 0;
|
|
// navQuery.FindNearestPoly(ref pos, ref ext, out nearestPt);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_24 = __this->___navQuery_15;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_25 = (&__this->___ext_13);
|
|
NullCheck(L_24);
|
|
NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE(L_24, (&V_5), L_25, (&V_6), NULL);
|
|
// agentRef = nearestPt.Polygon;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_26 = V_6;
|
|
int32_t L_27 = L_26.___Polygon_1;
|
|
V_3 = L_27;
|
|
// agentPos = nearestPt.Position;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_28 = V_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_29 = L_28.___Position_2;
|
|
V_4 = L_29;
|
|
// if (agentRef == 0)
|
|
int32_t L_30 = V_3;
|
|
if (L_30)
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// ag.Corridor.Reset(0, agentPos);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_31 = V_1;
|
|
NullCheck(L_31);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_32;
|
|
L_32 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_31, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_33 = V_4;
|
|
NullCheck(L_32);
|
|
PathCorridor_Reset_m4AE10C5B75356546CBAF6BE51D31D45CD9AF83CD(L_32, 0, L_33, NULL);
|
|
// ag.IsPartial = false;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_34 = V_1;
|
|
NullCheck(L_34);
|
|
Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E_inline(L_34, (bool)0, NULL);
|
|
// ag.Boundary.Reset();
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_35 = V_1;
|
|
NullCheck(L_35);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_36;
|
|
L_36 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_35, NULL);
|
|
NullCheck(L_36);
|
|
LocalBoundary_Reset_m8E2E3A7BF654BE3692315EA0E6700A10407380F6(L_36, NULL);
|
|
// ag.State = AgentState.Invalid;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_37 = V_1;
|
|
NullCheck(L_37);
|
|
Agent_set_State_mA6E561DE916B35B5347C6143B16EC9559DFE251A_inline(L_37, 0, NULL);
|
|
// continue;
|
|
goto IL_01ee;
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// ag.Corridor.FixPathStart(agentRef, agentPos);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_38 = V_1;
|
|
NullCheck(L_38);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_39;
|
|
L_39 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_38, NULL);
|
|
int32_t L_40 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_41 = V_4;
|
|
NullCheck(L_39);
|
|
bool L_42;
|
|
L_42 = PathCorridor_FixPathStart_mA1B25A1A024DFA8F26156C133118C585C83492F8(L_39, L_40, L_41, NULL);
|
|
// ag.Boundary.Reset();
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_43 = V_1;
|
|
NullCheck(L_43);
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_44;
|
|
L_44 = Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline(L_43, NULL);
|
|
NullCheck(L_44);
|
|
LocalBoundary_Reset_m8E2E3A7BF654BE3692315EA0E6700A10407380F6(L_44, NULL);
|
|
// ag.Position = agentPos;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_45 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_46 = V_4;
|
|
NullCheck(L_45);
|
|
Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7_inline(L_45, L_46, NULL);
|
|
// replan = true;
|
|
V_2 = (bool)1;
|
|
}
|
|
|
|
IL_00e6:
|
|
{
|
|
// if (ag.TargetState != TargetState.None &&
|
|
// ag.TargetState != TargetState.Failed)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_47 = V_1;
|
|
NullCheck(L_47);
|
|
int32_t L_48;
|
|
L_48 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_47, NULL);
|
|
if (!L_48)
|
|
{
|
|
goto IL_0180;
|
|
}
|
|
}
|
|
{
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_49 = V_1;
|
|
NullCheck(L_49);
|
|
int32_t L_50;
|
|
L_50 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_49, NULL);
|
|
if ((((int32_t)L_50) == ((int32_t)1)))
|
|
{
|
|
goto IL_0180;
|
|
}
|
|
}
|
|
{
|
|
// if (!navQuery.IsValidPolyRef(ag.TargetRef))
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_51 = __this->___navQuery_15;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_52 = V_1;
|
|
NullCheck(L_52);
|
|
int32_t L_53 = L_52->___TargetRef_22;
|
|
NullCheck(L_51);
|
|
bool L_54;
|
|
L_54 = NavMeshQuery_IsValidPolyRef_m5DF99AC93B0982F80A3AE6D9B02F821C4917510F(L_51, L_53, NULL);
|
|
if (L_54)
|
|
{
|
|
goto IL_015c;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 nearest = ag.TargetPosition;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_55 = V_1;
|
|
NullCheck(L_55);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_56;
|
|
L_56 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_55, NULL);
|
|
V_7 = L_56;
|
|
// Vector3 tpos = ag.TargetPosition;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_57 = V_1;
|
|
NullCheck(L_57);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_58;
|
|
L_58 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_57, NULL);
|
|
V_8 = L_58;
|
|
// ag.TargetRef = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_59 = V_1;
|
|
NullCheck(L_59);
|
|
L_59->___TargetRef_22 = 0;
|
|
// navQuery.FindNearestPoly(ref tpos, ref ext, out nearestPt);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_60 = __this->___navQuery_15;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_61 = (&__this->___ext_13);
|
|
NullCheck(L_60);
|
|
NavMeshQuery_FindNearestPoly_m452D71B3B98A663082904E45EE82C8F0D92D2FAE(L_60, (&V_8), L_61, (&V_9), NULL);
|
|
// ag.TargetRef = nearestPt.Polygon;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_62 = V_1;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_63 = V_9;
|
|
int32_t L_64 = L_63.___Polygon_1;
|
|
NullCheck(L_62);
|
|
L_62->___TargetRef_22 = L_64;
|
|
// nearest = nearestPt.Position;
|
|
NavPoint_t0709D1F84BB0C556CC9348CE6ABE33878E885364 L_65 = V_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_66 = L_65.___Position_2;
|
|
V_7 = L_66;
|
|
// ag.TargetPosition = nearest;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_67 = V_1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_68 = V_7;
|
|
NullCheck(L_67);
|
|
Agent_set_TargetPosition_mC9A632C5F683FB35666CBAB9E92C184599AA6016_inline(L_67, L_68, NULL);
|
|
// replan = true;
|
|
V_2 = (bool)1;
|
|
}
|
|
|
|
IL_015c:
|
|
{
|
|
// if (ag.TargetRef == 0)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_69 = V_1;
|
|
NullCheck(L_69);
|
|
int32_t L_70 = L_69->___TargetRef_22;
|
|
if (L_70)
|
|
{
|
|
goto IL_0180;
|
|
}
|
|
}
|
|
{
|
|
// ag.Corridor.Reset(agentRef, agentPos);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_71 = V_1;
|
|
NullCheck(L_71);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_72;
|
|
L_72 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_71, NULL);
|
|
int32_t L_73 = V_3;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_74 = V_4;
|
|
NullCheck(L_72);
|
|
PathCorridor_Reset_m4AE10C5B75356546CBAF6BE51D31D45CD9AF83CD(L_72, L_73, L_74, NULL);
|
|
// ag.IsPartial = false;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_75 = V_1;
|
|
NullCheck(L_75);
|
|
Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E_inline(L_75, (bool)0, NULL);
|
|
// ag.TargetState = TargetState.None;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_76 = V_1;
|
|
NullCheck(L_76);
|
|
Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline(L_76, 0, NULL);
|
|
}
|
|
|
|
IL_0180:
|
|
{
|
|
// if (!ag.Corridor.IsValid(CHECK_LOOKAHEAD, navQuery))
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_77 = V_1;
|
|
NullCheck(L_77);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_78;
|
|
L_78 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_77, NULL);
|
|
NavMeshQuery_tE5CF2A7A8DB527A6587EF6DD4CCAD58D0912F1A9* L_79 = __this->___navQuery_15;
|
|
NullCheck(L_78);
|
|
bool L_80;
|
|
L_80 = PathCorridor_IsValid_m2987EE0BF57506730E86C8B295350A015ABBAE25(L_78, ((int32_t)10), L_79, NULL);
|
|
if (L_80)
|
|
{
|
|
goto IL_0197;
|
|
}
|
|
}
|
|
{
|
|
// replan = true;
|
|
V_2 = (bool)1;
|
|
}
|
|
|
|
IL_0197:
|
|
{
|
|
// if (ag.TargetState == TargetState.Valid)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_81 = V_1;
|
|
NullCheck(L_81);
|
|
int32_t L_82;
|
|
L_82 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_81, NULL);
|
|
if ((!(((uint32_t)L_82) == ((uint32_t)2))))
|
|
{
|
|
goto IL_01d1;
|
|
}
|
|
}
|
|
{
|
|
// if (ag.TargetReplanTime > TARGET_REPLAN_DELAY &&
|
|
// ag.Corridor.PathCount < CHECK_LOOKAHEAD &&
|
|
// ag.Corridor.GetLastPoly() != ag.TargetRef)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_83 = V_1;
|
|
NullCheck(L_83);
|
|
float L_84 = L_83->___TargetReplanTime_26;
|
|
if ((!(((float)L_84) > ((float)(1.0f)))))
|
|
{
|
|
goto IL_01d1;
|
|
}
|
|
}
|
|
{
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_85 = V_1;
|
|
NullCheck(L_85);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_86;
|
|
L_86 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_85, NULL);
|
|
NullCheck(L_86);
|
|
int32_t L_87;
|
|
L_87 = PathCorridor_get_PathCount_m1734ED9D5D9A0688B57C0B94CD31B4778F21ED81_inline(L_86, NULL);
|
|
if ((((int32_t)L_87) >= ((int32_t)((int32_t)10))))
|
|
{
|
|
goto IL_01d1;
|
|
}
|
|
}
|
|
{
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_88 = V_1;
|
|
NullCheck(L_88);
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_89;
|
|
L_89 = Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline(L_88, NULL);
|
|
NullCheck(L_89);
|
|
int32_t L_90;
|
|
L_90 = PathCorridor_GetLastPoly_mD6BD4318CF607CDC264DCE7057C626118CBE3096(L_89, NULL);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_91 = V_1;
|
|
NullCheck(L_91);
|
|
int32_t L_92 = L_91->___TargetRef_22;
|
|
if ((((int32_t)L_90) == ((int32_t)L_92)))
|
|
{
|
|
goto IL_01d1;
|
|
}
|
|
}
|
|
{
|
|
// replan = true;
|
|
V_2 = (bool)1;
|
|
}
|
|
|
|
IL_01d1:
|
|
{
|
|
// if (replan)
|
|
bool L_93 = V_2;
|
|
if (!L_93)
|
|
{
|
|
goto IL_01ee;
|
|
}
|
|
}
|
|
{
|
|
// if (ag.TargetState != TargetState.None)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_94 = V_1;
|
|
NullCheck(L_94);
|
|
int32_t L_95;
|
|
L_95 = Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline(L_94, NULL);
|
|
if (!L_95)
|
|
{
|
|
goto IL_01ee;
|
|
}
|
|
}
|
|
{
|
|
// ag.RequestMoveTargetReplan(ag.TargetRef, ag.TargetPosition);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_96 = V_1;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_97 = V_1;
|
|
NullCheck(L_97);
|
|
int32_t L_98 = L_97->___TargetRef_22;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_99 = V_1;
|
|
NullCheck(L_99);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_100;
|
|
L_100 = Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline(L_99, NULL);
|
|
NullCheck(L_96);
|
|
Agent_RequestMoveTargetReplan_mDF72267903110D23A9E4329408B3203F55AB772E(L_96, L_98, L_100, NULL);
|
|
}
|
|
|
|
IL_01ee:
|
|
{
|
|
// for (int i = 0; i < agentCount; i++)
|
|
int32_t L_101 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_101, 1));
|
|
}
|
|
|
|
IL_01f2:
|
|
{
|
|
// for (int i = 0; i < agentCount; i++)
|
|
int32_t L_102 = V_0;
|
|
int32_t L_103 = ___1_agentCount;
|
|
if ((((int32_t)L_102) < ((int32_t)L_103)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean SharpNav.Crowds.Crowd::OverOffmeshConnection(SharpNav.Crowds.Agent,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Crowd_OverOffmeshConnection_m9704D0FC6C96125363D21F8D592EFD4BB327F9FC (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, float ___1_radius, const RuntimeMethod* method)
|
|
{
|
|
int32_t G_B5_0 = 0;
|
|
{
|
|
// if (ag.CornerCount == 0)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_ag;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// bool offmeshConnection = ((ag.CornerFlags[ag.CornerCount - 1] & PathfindingCommon.STRAIGHTPATH_OFFMESH_CONNECTION) != 0)
|
|
// ? true : false;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_2 = ___0_ag;
|
|
NullCheck(L_2);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = L_2->___CornerFlags_18;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_4 = ___0_ag;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_4, NULL);
|
|
NullCheck(L_3);
|
|
int32_t L_6 = ((int32_t)il2cpp_codegen_subtract(L_5, 1));
|
|
int32_t L_7 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
if (((int32_t)(L_7&4)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
G_B5_0 = 0;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
G_B5_0 = 1;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// if (offmeshConnection)
|
|
if (!G_B5_0)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// float dist = Vector3Extensions.Distance2D(ag.Position, ag.CornerVerts[ag.CornerCount - 1]);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_8 = ___0_ag;
|
|
NullCheck(L_8);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_9;
|
|
L_9 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_8, NULL);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_10 = ___0_ag;
|
|
NullCheck(L_10);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_11 = L_10->___CornerVerts_17;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_12 = ___0_ag;
|
|
NullCheck(L_12);
|
|
int32_t L_13;
|
|
L_13 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_12, NULL);
|
|
NullCheck(L_11);
|
|
int32_t L_14 = ((int32_t)il2cpp_codegen_subtract(L_13, 1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_15 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
float L_16;
|
|
L_16 = Vector3Extensions_Distance2D_m9565801B48A602A308799D21592DCABFACAF020A(L_9, L_15, NULL);
|
|
// if (dist * dist < radius * radius)
|
|
float L_17 = L_16;
|
|
float L_18 = ___1_radius;
|
|
float L_19 = ___1_radius;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_17, L_17))) < ((float)((float)il2cpp_codegen_multiply(L_18, L_19))))))
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::CalcSmoothSteerDirection(SharpNav.Crowds.Agent,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_CalcSmoothSteerDirection_mA73417661695F581C1A3BCDA553EFA159513582E (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_dir, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
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 V_6 = 0.0f;
|
|
{
|
|
// if (ag.CornerCount == 0)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_ag;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// dir = new Vector3(0, 0, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_dir;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_2 = L_3;
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// int ip0 = 0;
|
|
V_0 = 0;
|
|
// int ip1 = Math.Min(1, ag.CornerCount - 1);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_4 = ___0_ag;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_4, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_6;
|
|
L_6 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(1, ((int32_t)il2cpp_codegen_subtract(L_5, 1)), NULL);
|
|
V_1 = L_6;
|
|
// Vector3 p0 = ag.CornerVerts[ip0];
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_7 = ___0_ag;
|
|
NullCheck(L_7);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_8 = L_7->___CornerVerts_17;
|
|
int32_t L_9 = V_0;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
// Vector3 p1 = ag.CornerVerts[ip1];
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_12 = ___0_ag;
|
|
NullCheck(L_12);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_13 = L_12->___CornerVerts_17;
|
|
int32_t L_14 = V_1;
|
|
NullCheck(L_13);
|
|
int32_t L_15 = L_14;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
V_2 = L_16;
|
|
// Vector3 dir0 = p0 - ag.Position;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_17 = ___0_ag;
|
|
NullCheck(L_17);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_18;
|
|
L_18 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_17, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_19;
|
|
L_19 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_11, L_18, NULL);
|
|
V_3 = L_19;
|
|
// Vector3 dir1 = p1 - ag.Position;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_20 = V_2;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_21 = ___0_ag;
|
|
NullCheck(L_21);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_22;
|
|
L_22 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_21, NULL);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23;
|
|
L_23 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_20, L_22, NULL);
|
|
V_4 = L_23;
|
|
// dir0.Y = 0;
|
|
(&V_3)->___Y_1 = (0.0f);
|
|
// dir1.Y = 0;
|
|
(&V_4)->___Y_1 = (0.0f);
|
|
// float len0 = dir0.Length();
|
|
float L_24;
|
|
L_24 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_3), NULL);
|
|
V_5 = L_24;
|
|
// float len1 = dir1.Length();
|
|
float L_25;
|
|
L_25 = Vector3_Length_m214B917F894BF528D6C27819088DEC0AE6873798((&V_4), NULL);
|
|
V_6 = L_25;
|
|
// if (len1 > 0.001f)
|
|
float L_26 = V_6;
|
|
if ((!(((float)L_26) > ((float)(0.00100000005f)))))
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// dir1 = dir1 * 1.0f / len1;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_28;
|
|
L_28 = Vector3_op_Multiply_m589BB6266321E08D28A93F01ED7E360818C27259(L_27, (1.0f), NULL);
|
|
float L_29 = V_6;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_30;
|
|
L_30 = Vector3_op_Division_m5465263174E47C63AF8713E2B5BBD6956A4F9970(L_28, L_29, NULL);
|
|
V_4 = L_30;
|
|
}
|
|
|
|
IL_00af:
|
|
{
|
|
// dir.X = dir0.X - dir1.X * len0 * 0.5f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_31 = ___1_dir;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_32 = V_3;
|
|
float L_33 = L_32.___X_0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_34 = V_4;
|
|
float L_35 = L_34.___X_0;
|
|
float L_36 = V_5;
|
|
L_31->___X_0 = ((float)il2cpp_codegen_subtract(L_33, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_35, L_36)), (0.5f)))));
|
|
// dir.Y = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_37 = ___1_dir;
|
|
L_37->___Y_1 = (0.0f);
|
|
// dir.Z = dir0.Z - dir1.Z * len0 * 0.5f;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_38 = ___1_dir;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_39 = V_3;
|
|
float L_40 = L_39.___Z_2;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_41 = V_4;
|
|
float L_42 = L_41.___Z_2;
|
|
float L_43 = V_5;
|
|
L_38->___Z_2 = ((float)il2cpp_codegen_subtract(L_40, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_42, L_43)), (0.5f)))));
|
|
// dir.Normalize();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_44 = ___1_dir;
|
|
Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505(L_44, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void SharpNav.Crowds.Crowd::CalcStraightSteerDirection(SharpNav.Crowds.Agent,SharpNav.Geometry.Vector3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Crowd_CalcStraightSteerDirection_mAC77EAE986F9521D8293D3F4A42127B00FFDF613 (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* ___1_dir, 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 (ag.CornerCount == 0)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_ag;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// dir = new Vector3(0, 0, 0);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_2 = ___1_dir;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m168D4D359A145D225B2579608B75AABFF6ABD4C5((&L_3), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_2 = L_3;
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// dir = ag.CornerVerts[0] - ag.Position;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_4 = ___1_dir;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_5 = ___0_ag;
|
|
NullCheck(L_5);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_6 = L_5->___CornerVerts_17;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_9 = ___0_ag;
|
|
NullCheck(L_9);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10;
|
|
L_10 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_9, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11;
|
|
L_11 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_8, L_10, NULL);
|
|
*(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4*)L_4 = L_11;
|
|
// dir.Y = 0;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_12 = ___1_dir;
|
|
L_12->___Y_1 = (0.0f);
|
|
// dir.Normalize();
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4* L_13 = ___1_dir;
|
|
Vector3_Normalize_m0A31E1F715C98828C8A5F6DF2AE0C34B19B08505(L_13, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single SharpNav.Crowds.Crowd::GetDistanceToGoal(SharpNav.Crowds.Agent,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Crowd_GetDistanceToGoal_m817C8BD694CC867BFA727CAC446A57C65247EC8B (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_ag, float ___1_range, 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;
|
|
}
|
|
int32_t G_B5_0 = 0;
|
|
{
|
|
// if (ag.CornerCount == 0)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_0 = ___0_ag;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return range;
|
|
float L_2 = ___1_range;
|
|
return L_2;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// bool endOfPath = ((ag.CornerFlags[ag.CornerCount - 1] & PathfindingCommon.STRAIGHTPATH_END) != 0) ? true : false;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_3 = ___0_ag;
|
|
NullCheck(L_3);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = L_3->___CornerFlags_18;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_5 = ___0_ag;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_5, NULL);
|
|
NullCheck(L_4);
|
|
int32_t L_7 = ((int32_t)il2cpp_codegen_subtract(L_6, 1));
|
|
int32_t L_8 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
if (((int32_t)(L_8&2)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
G_B5_0 = 0;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
G_B5_0 = 1;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// if (endOfPath)
|
|
if (!G_B5_0)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// return Math.Min(Vector3Extensions.Distance2D(ag.Position, ag.CornerVerts[ag.CornerCount - 1]), range);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_9 = ___0_ag;
|
|
NullCheck(L_9);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_10;
|
|
L_10 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_9, NULL);
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_11 = ___0_ag;
|
|
NullCheck(L_11);
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_12 = L_11->___CornerVerts_17;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_13 = ___0_ag;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline(L_13, NULL);
|
|
NullCheck(L_12);
|
|
int32_t L_15 = ((int32_t)il2cpp_codegen_subtract(L_14, 1));
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_16 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
float L_17;
|
|
L_17 = Vector3Extensions_Distance2D_m9565801B48A602A308799D21592DCABFACAF020A(L_10, L_16, NULL);
|
|
float L_18 = ___1_range;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_19;
|
|
L_19 = Math_Min_mE913811A2F7566294BF4649A434282634E7254B3(L_17, L_18, NULL);
|
|
return L_19;
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// return range;
|
|
float L_20 = ___1_range;
|
|
return L_20;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::GetNeighbours(SharpNav.Geometry.Vector3,System.Single,System.Single,SharpNav.Crowds.Agent,SharpNav.Crowds.CrowdNeighbor[],System.Int32,SharpNav.Crowds.Agent[],SharpNav.Collections.Generic.ProximityGrid`1<SharpNav.Crowds.Agent>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_GetNeighbours_m12D8449B7EEC475440BEEE7BB99C73C38D8EC8ED (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_pos, float ___1_height, float ___2_range, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___3_skip, CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* ___4_result, int32_t ___5_maxResult, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___6_agents, ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* ___7_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProximityGrid_1_QueryItems_m64ACF8218B001A3C12E1EBE08F8326CAC4A5050A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* V_4 = NULL;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
float V_6 = 0.0f;
|
|
{
|
|
// int n = 0;
|
|
V_0 = 0;
|
|
// Agent[] ids = new Agent[MAX_NEIS];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_0 = (AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125*)SZArrayNew(AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
|
|
V_1 = L_0;
|
|
// int nids = grid.QueryItems(pos.X - range, pos.Z - range, pos.X + range, pos.Z + range, ids, MAX_NEIS);
|
|
ProximityGrid_1_tA79768177EB190DAFCF485F7F6AE51CA0F3B800B* L_1 = ___7_grid;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_2 = ___0_pos;
|
|
float L_3 = L_2.___X_0;
|
|
float L_4 = ___2_range;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_5 = ___0_pos;
|
|
float L_6 = L_5.___Z_2;
|
|
float L_7 = ___2_range;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_8 = ___0_pos;
|
|
float L_9 = L_8.___X_0;
|
|
float L_10 = ___2_range;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_11 = ___0_pos;
|
|
float L_12 = L_11.___Z_2;
|
|
float L_13 = ___2_range;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_14 = V_1;
|
|
NullCheck(L_1);
|
|
int32_t L_15;
|
|
L_15 = ProximityGrid_1_QueryItems_m64ACF8218B001A3C12E1EBE08F8326CAC4A5050A(L_1, ((float)il2cpp_codegen_subtract(L_3, L_4)), ((float)il2cpp_codegen_subtract(L_6, L_7)), ((float)il2cpp_codegen_add(L_9, L_10)), ((float)il2cpp_codegen_add(L_12, L_13)), L_14, ((int32_t)32), ProximityGrid_1_QueryItems_m64ACF8218B001A3C12E1EBE08F8326CAC4A5050A_RuntimeMethod_var);
|
|
V_2 = L_15;
|
|
// for (int i = 0; i < nids; i++)
|
|
V_3 = 0;
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// Agent ag = ids[i];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_16 = V_1;
|
|
int32_t L_17 = V_3;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
V_4 = L_19;
|
|
// if (ag == skip)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_20 = V_4;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_21 = ___3_skip;
|
|
bool L_22;
|
|
L_22 = Agent_op_Equality_mFA90467E04255792F9FE0E79DB9195409EAB3904(L_20, L_21, NULL);
|
|
if (L_22)
|
|
{
|
|
goto IL_00a7;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 diff = pos - ag.Position;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_23 = ___0_pos;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_24 = V_4;
|
|
NullCheck(L_24);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_25;
|
|
L_25 = Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline(L_24, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4_il2cpp_TypeInfo_var);
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_26;
|
|
L_26 = Vector3_op_Subtraction_m02D94BBD3BD599D482C529F43B6A516BF9539939(L_23, L_25, NULL);
|
|
V_5 = L_26;
|
|
// if (Math.Abs(diff.Y) >= (height + ag.Parameters.Height) / 2.0f)
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_27 = V_5;
|
|
float L_28 = L_27.___Y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_29;
|
|
L_29 = fabsf(L_28);
|
|
float L_30 = ___1_height;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_31 = V_4;
|
|
NullCheck(L_31);
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3* L_32 = (&L_31->___Parameters_16);
|
|
float L_33 = L_32->___Height_1;
|
|
if ((((float)L_29) >= ((float)((float)(((float)il2cpp_codegen_add(L_30, L_33))/(2.0f))))))
|
|
{
|
|
goto IL_00a7;
|
|
}
|
|
}
|
|
{
|
|
// diff.Y = 0;
|
|
(&V_5)->___Y_1 = (0.0f);
|
|
// float distSqr = diff.LengthSquared();
|
|
float L_34;
|
|
L_34 = Vector3_LengthSquared_m6F82A52E2E0D111763F022D73DDB8C2E5B64C972((&V_5), NULL);
|
|
V_6 = L_34;
|
|
// if (distSqr > range * range)
|
|
float L_35 = V_6;
|
|
float L_36 = ___2_range;
|
|
float L_37 = ___2_range;
|
|
if ((((float)L_35) > ((float)((float)il2cpp_codegen_multiply(L_36, L_37)))))
|
|
{
|
|
goto IL_00a7;
|
|
}
|
|
}
|
|
{
|
|
// n = AddNeighbour(ids[i], distSqr, result, n, maxResult);
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_38 = V_1;
|
|
int32_t L_39 = V_3;
|
|
NullCheck(L_38);
|
|
int32_t L_40 = L_39;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
|
|
float L_42 = V_6;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_43 = ___4_result;
|
|
int32_t L_44 = V_0;
|
|
int32_t L_45 = ___5_maxResult;
|
|
int32_t L_46;
|
|
L_46 = Crowd_AddNeighbour_m8730C0F8516A598B8FA7870265989667739C4B8A(__this, L_41, L_42, L_43, L_44, L_45, NULL);
|
|
V_0 = L_46;
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// for (int i = 0; i < nids; i++)
|
|
int32_t L_47 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_47, 1));
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// for (int i = 0; i < nids; i++)
|
|
int32_t L_48 = V_3;
|
|
int32_t L_49 = V_2;
|
|
if ((((int32_t)L_48) < ((int32_t)L_49)))
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// return n;
|
|
int32_t L_50 = V_0;
|
|
return L_50;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddNeighbour(SharpNav.Crowds.Agent,System.Single,SharpNav.Crowds.CrowdNeighbor[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddNeighbour_m8730C0F8516A598B8FA7870265989667739C4B8A (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_agent, float ___1_dist, CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* ___2_neis, int32_t ___3_nneis, int32_t ___4_maxNeis, 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;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
{
|
|
// int neiPos = 0;
|
|
V_0 = 0;
|
|
// if (nneis == 0)
|
|
int32_t L_0 = ___3_nneis;
|
|
if (L_0)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// neiPos = nneis;
|
|
int32_t L_1 = ___3_nneis;
|
|
V_0 = L_1;
|
|
goto IL_0089;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// else if (dist >= neis[nneis - 1].Distance)
|
|
float L_2 = ___1_dist;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_3 = ___2_neis;
|
|
int32_t L_4 = ___3_nneis;
|
|
NullCheck(L_3);
|
|
float L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_4, 1)))))->___Distance_1;
|
|
if ((!(((float)L_2) >= ((float)L_5))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// if (nneis >= maxNeis)
|
|
int32_t L_6 = ___3_nneis;
|
|
int32_t L_7 = ___4_maxNeis;
|
|
if ((((int32_t)L_6) < ((int32_t)L_7)))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// return nneis;
|
|
int32_t L_8 = ___3_nneis;
|
|
return L_8;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// neiPos = nneis;
|
|
int32_t L_9 = ___3_nneis;
|
|
V_0 = L_9;
|
|
goto IL_0089;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// for (i = 0; i < nneis; i++)
|
|
V_3 = 0;
|
|
goto IL_0042;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// if (dist <= neis[i].Distance)
|
|
float L_10 = ___1_dist;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_11 = ___2_neis;
|
|
int32_t L_12 = V_3;
|
|
NullCheck(L_11);
|
|
float L_13 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)))->___Distance_1;
|
|
if ((((float)L_10) <= ((float)L_13)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
// for (i = 0; i < nneis; i++)
|
|
int32_t L_14 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// for (i = 0; i < nneis; i++)
|
|
int32_t L_15 = V_3;
|
|
int32_t L_16 = ___3_nneis;
|
|
if ((((int32_t)L_15) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// int tgt = i + 1;
|
|
int32_t L_17 = V_3;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_17, 1));
|
|
// int n = Math.Min(nneis - i, maxNeis - tgt);
|
|
int32_t L_18 = ___3_nneis;
|
|
int32_t L_19 = V_3;
|
|
int32_t L_20 = ___4_maxNeis;
|
|
int32_t L_21 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_22;
|
|
L_22 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_subtract(L_18, L_19)), ((int32_t)il2cpp_codegen_subtract(L_20, L_21)), NULL);
|
|
V_5 = L_22;
|
|
// if (n > 0)
|
|
int32_t L_23 = V_5;
|
|
if ((((int32_t)L_23) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
V_6 = 0;
|
|
goto IL_0081;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// neis[tgt + j] = neis[i + j];
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_24 = ___2_neis;
|
|
int32_t L_25 = V_4;
|
|
int32_t L_26 = V_6;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_27 = ___2_neis;
|
|
int32_t L_28 = V_3;
|
|
int32_t L_29 = V_6;
|
|
NullCheck(L_27);
|
|
int32_t L_30 = ((int32_t)il2cpp_codegen_add(L_28, L_29));
|
|
CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
|
|
NullCheck(L_24);
|
|
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_25, L_26))), (CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212)L_31);
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_32 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_0081:
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_33 = V_6;
|
|
int32_t L_34 = V_5;
|
|
if ((((int32_t)L_33) < ((int32_t)L_34)))
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
// neiPos = i;
|
|
int32_t L_35 = V_3;
|
|
V_0 = L_35;
|
|
}
|
|
|
|
IL_0089:
|
|
{
|
|
// for (index = 0; index < agents.Length; index++)
|
|
V_1 = 0;
|
|
goto IL_00a1;
|
|
}
|
|
|
|
IL_008d:
|
|
{
|
|
// if (agent.Equals(agents[index]))
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_36 = ___0_agent;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_37 = __this->___agents_5;
|
|
int32_t L_38 = V_1;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
NullCheck(L_36);
|
|
bool L_41;
|
|
L_41 = Agent_Equals_m82F3B2305BC3D8BECB7D3605E26E527B9C13D49F(L_36, L_40, NULL);
|
|
if (L_41)
|
|
{
|
|
goto IL_00ac;
|
|
}
|
|
}
|
|
{
|
|
// for (index = 0; index < agents.Length; index++)
|
|
int32_t L_42 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// for (index = 0; index < agents.Length; index++)
|
|
int32_t L_43 = V_1;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_44 = __this->___agents_5;
|
|
NullCheck(L_44);
|
|
if ((((int32_t)L_43) < ((int32_t)((int32_t)(((RuntimeArray*)L_44)->max_length)))))
|
|
{
|
|
goto IL_008d;
|
|
}
|
|
}
|
|
|
|
IL_00ac:
|
|
{
|
|
// if (index == agents.Length)
|
|
int32_t L_45 = V_1;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_46 = __this->___agents_5;
|
|
NullCheck(L_46);
|
|
if ((!(((uint32_t)L_45) == ((uint32_t)((int32_t)(((RuntimeArray*)L_46)->max_length))))))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// throw new IndexOutOfRangeException("Agent not in crowd.");
|
|
IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82* L_47 = (IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IndexOutOfRangeException_t7ECB35264FB6CA8FAA516BD958F4B2ADC78E8A82_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_47);
|
|
IndexOutOfRangeException__ctor_mFD06819F05B815BE2D6E826D4E04F4C449D0A425(L_47, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralBC514205F86F83C2C8B30BF005ABEB327BE428CF)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_47, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Crowd_AddNeighbour_m8730C0F8516A598B8FA7870265989667739C4B8A_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// var neighbor = new CrowdNeighbor();
|
|
il2cpp_codegen_initobj((&V_2), sizeof(CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212));
|
|
// neighbor.Index = index;
|
|
int32_t L_48 = V_1;
|
|
(&V_2)->___Index_0 = L_48;
|
|
// neighbor.Distance = dist;
|
|
float L_49 = ___1_dist;
|
|
(&V_2)->___Distance_1 = L_49;
|
|
// neis[neiPos] = neighbor;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_50 = ___2_neis;
|
|
int32_t L_51 = V_0;
|
|
CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212 L_52 = V_2;
|
|
NullCheck(L_50);
|
|
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(L_51), (CrowdNeighbor_t9827956AE035CE4E8588FD6420A0989089DD9212)L_52);
|
|
// return Math.Min(nneis + 1, maxNeis);
|
|
int32_t L_53 = ___3_nneis;
|
|
int32_t L_54 = ___4_maxNeis;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_55;
|
|
L_55 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_add(L_53, 1)), L_54, NULL);
|
|
return L_55;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddToPathQueue(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddToPathQueue_m31C607A6CD71D2B892E2F94CFAF739E19EE0B13E (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_newag, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___1_agents, int32_t ___2_numAgents, int32_t ___3_maxAgents, 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;
|
|
}
|
|
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;
|
|
{
|
|
// int slot = 0;
|
|
V_0 = 0;
|
|
// if (numAgents == 0)
|
|
int32_t L_0 = ___2_numAgents;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// slot = numAgents;
|
|
int32_t L_1 = ___2_numAgents;
|
|
V_0 = L_1;
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// else if (newag.TargetReplanTime <= agents[numAgents - 1].TargetReplanTime)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_2 = ___0_newag;
|
|
NullCheck(L_2);
|
|
float L_3 = L_2->___TargetReplanTime_26;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_4 = ___1_agents;
|
|
int32_t L_5 = ___2_numAgents;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = ((int32_t)il2cpp_codegen_subtract(L_5, 1));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
float L_8 = L_7->___TargetReplanTime_26;
|
|
if ((!(((float)L_3) <= ((float)L_8))))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// if (numAgents >= maxAgents)
|
|
int32_t L_9 = ___2_numAgents;
|
|
int32_t L_10 = ___3_maxAgents;
|
|
if ((((int32_t)L_9) < ((int32_t)L_10)))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// return numAgents;
|
|
int32_t L_11 = ___2_numAgents;
|
|
return L_11;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// slot = numAgents;
|
|
int32_t L_12 = ___2_numAgents;
|
|
V_0 = L_12;
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// for (i = 0; i < numAgents; i++)
|
|
V_1 = 0;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// if (newag.TargetReplanTime >= agents[i].TargetReplanTime)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_13 = ___0_newag;
|
|
NullCheck(L_13);
|
|
float L_14 = L_13->___TargetReplanTime_26;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_15 = ___1_agents;
|
|
int32_t L_16 = V_1;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_18);
|
|
float L_19 = L_18->___TargetReplanTime_26;
|
|
if ((((float)L_14) >= ((float)L_19)))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// for (i = 0; i < numAgents; i++)
|
|
int32_t L_20 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// for (i = 0; i < numAgents; i++)
|
|
int32_t L_21 = V_1;
|
|
int32_t L_22 = ___2_numAgents;
|
|
if ((((int32_t)L_21) < ((int32_t)L_22)))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// int tgt = i + 1;
|
|
int32_t L_23 = V_1;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_23, 1));
|
|
// int n = Math.Min(numAgents - i, maxAgents - tgt);
|
|
int32_t L_24 = ___2_numAgents;
|
|
int32_t L_25 = V_1;
|
|
int32_t L_26 = ___3_maxAgents;
|
|
int32_t L_27 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_28;
|
|
L_28 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_subtract(L_24, L_25)), ((int32_t)il2cpp_codegen_subtract(L_26, L_27)), NULL);
|
|
V_3 = L_28;
|
|
// if (n > 0)
|
|
int32_t L_29 = V_3;
|
|
if ((((int32_t)L_29) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
V_4 = 0;
|
|
goto IL_006e;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// agents[tgt + j] = agents[i + j];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_30 = ___1_agents;
|
|
int32_t L_31 = V_2;
|
|
int32_t L_32 = V_4;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_33 = ___1_agents;
|
|
int32_t L_34 = V_1;
|
|
int32_t L_35 = V_4;
|
|
NullCheck(L_33);
|
|
int32_t L_36 = ((int32_t)il2cpp_codegen_add(L_34, L_35));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_37 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
NullCheck(L_30);
|
|
ArrayElementTypeCheck (L_30, L_37);
|
|
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_31, L_32))), (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)L_37);
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_38 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_39 = V_4;
|
|
int32_t L_40 = V_3;
|
|
if ((((int32_t)L_39) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// slot = i;
|
|
int32_t L_41 = V_1;
|
|
V_0 = L_41;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// agents[slot] = newag;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_42 = ___1_agents;
|
|
int32_t L_43 = V_0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_44 = ___0_newag;
|
|
NullCheck(L_42);
|
|
ArrayElementTypeCheck (L_42, L_44);
|
|
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(L_43), (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)L_44);
|
|
// return Math.Min(numAgents + 1, maxAgents);
|
|
int32_t L_45 = ___2_numAgents;
|
|
int32_t L_46 = ___3_maxAgents;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_47;
|
|
L_47 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_add(L_45, 1)), L_46, NULL);
|
|
return L_47;
|
|
}
|
|
}
|
|
// System.Int32 SharpNav.Crowds.Crowd::AddToOptQueue(SharpNav.Crowds.Agent,SharpNav.Crowds.Agent[],System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Crowd_AddToOptQueue_mFC551CE30DC4D04202ED52709B48AA700665E05B (Crowd_t687A2D83CF08C587052DA8701C5F12D57556404E* __this, Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* ___0_newag, AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* ___1_agents, int32_t ___2_numAgents, int32_t ___3_maxAgents, 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;
|
|
}
|
|
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;
|
|
{
|
|
// int slot = 0;
|
|
V_0 = 0;
|
|
// if (numAgents == 0)
|
|
int32_t L_0 = ___2_numAgents;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// slot = numAgents;
|
|
int32_t L_1 = ___2_numAgents;
|
|
V_0 = L_1;
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// else if (newag.topologyOptTime <= agents[numAgents - 1].topologyOptTime)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_2 = ___0_newag;
|
|
NullCheck(L_2);
|
|
float L_3 = L_2->___topologyOptTime_7;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_4 = ___1_agents;
|
|
int32_t L_5 = ___2_numAgents;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = ((int32_t)il2cpp_codegen_subtract(L_5, 1));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
float L_8 = L_7->___topologyOptTime_7;
|
|
if ((!(((float)L_3) <= ((float)L_8))))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// if (numAgents >= maxAgents)
|
|
int32_t L_9 = ___2_numAgents;
|
|
int32_t L_10 = ___3_maxAgents;
|
|
if ((((int32_t)L_9) < ((int32_t)L_10)))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// return numAgents;
|
|
int32_t L_11 = ___2_numAgents;
|
|
return L_11;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// slot = numAgents;
|
|
int32_t L_12 = ___2_numAgents;
|
|
V_0 = L_12;
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// for (i = 0; i < numAgents; i++)
|
|
V_1 = 0;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// if (newag.topologyOptTime >= agents[i].topologyOptTime)
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_13 = ___0_newag;
|
|
NullCheck(L_13);
|
|
float L_14 = L_13->___topologyOptTime_7;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_15 = ___1_agents;
|
|
int32_t L_16 = V_1;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_18);
|
|
float L_19 = L_18->___topologyOptTime_7;
|
|
if ((((float)L_14) >= ((float)L_19)))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// for (i = 0; i < numAgents; i++)
|
|
int32_t L_20 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// for (i = 0; i < numAgents; i++)
|
|
int32_t L_21 = V_1;
|
|
int32_t L_22 = ___2_numAgents;
|
|
if ((((int32_t)L_21) < ((int32_t)L_22)))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// int tgt = i + 1;
|
|
int32_t L_23 = V_1;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_23, 1));
|
|
// int n = Math.Min(numAgents - i, maxAgents - tgt);
|
|
int32_t L_24 = ___2_numAgents;
|
|
int32_t L_25 = V_1;
|
|
int32_t L_26 = ___3_maxAgents;
|
|
int32_t L_27 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_28;
|
|
L_28 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_subtract(L_24, L_25)), ((int32_t)il2cpp_codegen_subtract(L_26, L_27)), NULL);
|
|
V_3 = L_28;
|
|
// if (n > 0)
|
|
int32_t L_29 = V_3;
|
|
if ((((int32_t)L_29) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
V_4 = 0;
|
|
goto IL_006e;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// agents[tgt + j] = agents[i + j];
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_30 = ___1_agents;
|
|
int32_t L_31 = V_2;
|
|
int32_t L_32 = V_4;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_33 = ___1_agents;
|
|
int32_t L_34 = V_1;
|
|
int32_t L_35 = V_4;
|
|
NullCheck(L_33);
|
|
int32_t L_36 = ((int32_t)il2cpp_codegen_add(L_34, L_35));
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_37 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
NullCheck(L_30);
|
|
ArrayElementTypeCheck (L_30, L_37);
|
|
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_31, L_32))), (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)L_37);
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_38 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// for (int j = 0; j < n; j++)
|
|
int32_t L_39 = V_4;
|
|
int32_t L_40 = V_3;
|
|
if ((((int32_t)L_39) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// slot = i;
|
|
int32_t L_41 = V_1;
|
|
V_0 = L_41;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// agents[slot] = newag;
|
|
AgentU5BU5D_tDFADF74B95766C6A6189C2784C828B9B77D10125* L_42 = ___1_agents;
|
|
int32_t L_43 = V_0;
|
|
Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* L_44 = ___0_newag;
|
|
NullCheck(L_42);
|
|
ArrayElementTypeCheck (L_42, L_44);
|
|
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(L_43), (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9*)L_44);
|
|
// return Math.Min(numAgents + 1, maxAgents);
|
|
int32_t L_45 = ___2_numAgents;
|
|
int32_t L_46 = ___3_maxAgents;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_47;
|
|
L_47 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_add(L_45, 1)), L_46, NULL);
|
|
return L_47;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SpanReference_get_X_m6075F6AC90FAAAE15AF0C383D81EEF43252FC4B8_inline (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return x;
|
|
int32_t L_0 = __this->___x_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SpanReference_get_Y_mBB0719B9ED32F95D0DEE98A8FE002EEDA95314C7_inline (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return y;
|
|
int32_t L_0 = __this->___y_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SpanReference_get_Index_m36A5829E5B6709DCA22CFCA750389E57053AE106_inline (SpanReference_tE0A63FB34D5C5D6098C000B8C553337E2B078793* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return index;
|
|
int32_t L_0 = __this->___index_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* NavMeshBuilder_get_Header_m1924F4B82FA00846C86B0D04C1E5F6E3852F1208_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return header;
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_0 = __this->___header_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Salt_m7456EB81089AEFB511A446DE1ABDE81A6942B97F_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Salt { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CSaltU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Next_m37E2449599CA97098A1472D86FD8E1B11264E2A2_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public MeshTile Next { get; set; }
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = ___0_value;
|
|
__this->___U3CNextU3Ek__BackingField_12 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CNextU3Ek__BackingField_12), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* MeshTile_get_Next_m0D93B389C97664224B87372333A1C73538BA2031_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public MeshTile Next { get; set; }
|
|
MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* L_0 = __this->___U3CNextU3Ek__BackingField_12;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_BVTree_mB6BF3F891F94BE1A4952BF33F0699D017B4B996A_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BVTree BVTree { get; set; }
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_0 = ___0_value;
|
|
__this->___U3CBVTreeU3Ek__BackingField_10 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CBVTreeU3Ek__BackingField_10), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* NavMeshBuilder_get_NavVerts_mFCF96AB968B51C25093B36610D9969184916C979_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return navVerts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___navVerts_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Verts_m533F049E16AE0AE4D3FC4C644648591FF39C0DAA_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] Verts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___0_value;
|
|
__this->___U3CVertsU3Ek__BackingField_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CVertsU3Ek__BackingField_4), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* NavMeshBuilder_get_NavPolys_m7D12F8373AB61EBF0865BD6D36948A0F4FB42391_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return navPolys;
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0 = __this->___navPolys_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Polys_m6418A6BADD4D3F1B1444B587055DDD0840F4263E_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Poly[] Polys { get; set; }
|
|
PolyU5BU5D_tE65528EEB8D61B8A8423D53600BA81A18DCF7812* L_0 = ___0_value;
|
|
__this->___U3CPolysU3Ek__BackingField_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CPolysU3Ek__BackingField_3), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* NavMeshBuilder_get_NavDMeshes_m24BB8E6147E51D36977C60A4F3F1BFC7E14C9995_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return navDMeshes;
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = __this->___navDMeshes_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_DetailMeshes_m3B0F63AC02DC0CBDCDC8CF8BCC0BB584E1C71B70_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.MeshData[] DetailMeshes { get; set; }
|
|
MeshDataU5BU5D_t776C120BF04E70F854446FBC527D3541EF573EA1* L_0 = ___0_value;
|
|
__this->___U3CDetailMeshesU3Ek__BackingField_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDetailMeshesU3Ek__BackingField_6), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* NavMeshBuilder_get_NavDVerts_mB495039E468BF43B2BDE170B643F7E2F5B8F8324_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return navDVerts;
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = __this->___navDVerts_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_DetailVerts_m0D5118BAB3E89F8FF114C595B709134777E3A14E_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3[] DetailVerts { get; set; }
|
|
Vector3U5BU5D_t7BAE163797922D7D3436798286CE34B53AF25DC3* L_0 = ___0_value;
|
|
__this->___U3CDetailVertsU3Ek__BackingField_7 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDetailVertsU3Ek__BackingField_7), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* NavMeshBuilder_get_NavDTris_m7E2646D1F882F0EAD9D771BED65C53C8A072DFCE_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return navDTris;
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = __this->___navDTris_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_DetailTris_mE5EDAFF101DB29DABC32A9AEEF25A656B149DC0C_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyMeshDetail.TriangleData[] DetailTris { get; set; }
|
|
TriangleDataU5BU5D_t508054EF230CF0E97F315E0C364722776E658484* L_0 = ___0_value;
|
|
__this->___U3CDetailTrisU3Ek__BackingField_8 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDetailTrisU3Ek__BackingField_8), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* NavMeshBuilder_get_NavBvTree_m2FF510CDFD4BAE7B83D551D9C592CD9391BBA9C4_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return navBvTree;
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_0 = __this->___navBvTree_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* NavMeshBuilder_get_OffMeshCons_m447FF778FBB80881F4892F237CEBB83768D24964_inline (NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return offMeshConnections;
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_0 = __this->___offMeshConnections_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_OffMeshConnections_m193E1D8D3F4A0ABAB20D4F255776C144DBCA307C_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnection[] OffMeshConnections { get; set; }
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_0 = ___0_value;
|
|
__this->___U3COffMeshConnectionsU3Ek__BackingField_9 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3COffMeshConnectionsU3Ek__BackingField_9), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_LinksFreeList_m559269D6AF09FC42099C7EE584549AB79D18718D_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int LinksFreeList { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CLinksFreeListU3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Links_m40DD71D8F54BE2DA1EF0E2E9F217934A2A55B145_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Link[] Links { get; set; }
|
|
LinkU5BU5D_t86FA41A34F8BBDD37C0794C43AFD00EAFE6B2DD4* L_0 = ___0_value;
|
|
__this->___U3CLinksU3Ek__BackingField_5 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CLinksU3Ek__BackingField_5), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
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 void Link_set_Next_mC7A73EA13F7E6D636435CB491C33BB0C3AA149FE_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Next { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CNextU3Ek__BackingField_3 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Header_m565B49C9E9A5D38EEAE203037E734CB032587F99_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathfindingCommon.NavMeshInfo Header { get; set; }
|
|
NavMeshInfo_t40807AC86387C1235C62D032E442FAC209D87AA4* L_0 = ___0_value;
|
|
__this->___U3CHeaderU3Ek__BackingField_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CHeaderU3Ek__BackingField_2), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void MeshTile_set_Data_m991E6E92D44F357888C4E5AB75B03C9AAEE9E4A6_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public NavMeshBuilder Data { get; set; }
|
|
NavMeshBuilder_tC0F51532D82965DCFE69D258AE27A1DBA584C358* L_0 = ___0_value;
|
|
__this->___U3CDataU3Ek__BackingField_11 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDataU3Ek__BackingField_11), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
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 void Poly_set_FirstLink_m09986957A080CB92147374DF79457FB23A7E7993_inline (Poly_t1232CF7BFFD0E1BFA8AA4395E53C00CF5CE5BE6E* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int FirstLink { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CFirstLinkU3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
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_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 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 void Link_set_Reference_m28F1157992F0E42A979D48E1768CABC83CCDBC8F_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Reference { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CReferenceU3Ek__BackingField_2 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_Edge_m57F9E7AD13CA481483076AA1D9FF16CEDEAE0828_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Edge { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CEdgeU3Ek__BackingField_4 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_Side_m033399191E604129A0B634F637A6F8AFECC3F42B_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, uint8_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BoundarySide Side { get; set; }
|
|
uint8_t L_0 = ___0_value;
|
|
__this->___U3CSideU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_BMax_m52BE9910CB9722820DCB88D0B0B9C4FAD7571AB7_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMax { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CBMaxU3Ek__BackingField_7 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Link_set_BMin_m5FA289F4395B8501E4286CD58E4E8445A23BE4FA_inline (Link_t45840218DBC3F5AFB9D63B7B884751852F6DCEA1* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int BMin { get; set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CBMinU3Ek__BackingField_6 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
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 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 OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* MeshTile_get_OffMeshConnections_mCFACD6E7868FFFAB0F6B0313D64308CF807DAE50_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnection[] OffMeshConnections { get; set; }
|
|
OffMeshConnectionU5BU5D_tE5F7ACBB03135C16E1B87868C8759BE252CF0923* L_0 = __this->___U3COffMeshConnectionsU3Ek__BackingField_9;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t OffMeshConnection_get_Poly_mCBB82423CA26217921B5CEF079AE3917E4643B05_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Poly { get; set; }
|
|
int32_t L_0 = __this->___U3CPolyU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float OffMeshConnection_get_Radius_m07D173A74ED12D6D153BC402B2E2C17DAED75164_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float Radius { get; set; }
|
|
float L_0 = __this->___U3CRadiusU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 OffMeshConnection_get_Pos0_mDA7968E73F0CDF830560A8A6586BD1140BD72DE2_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Pos0 { get; set; }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___U3CPos0U3Ek__BackingField_0;
|
|
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 uint8_t OffMeshConnection_get_Side_m687D62165751425B9AC8FBB3C453B133C8A0CBA2_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __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 Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 OffMeshConnection_get_Pos1_m2DB4368C858878A28033160710AA94356438375E_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Pos1 { get; set; }
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___U3CPos1U3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t OffMeshConnection_get_Flags_m01EB461FB11075226D79DE4CBF24AC0393F3B2F3_inline (OffMeshConnection_t7B6F9A75944BBB28EB3E84CE5546298FFF2B7A3E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OffMeshConnectionFlags Flags { get; set; }
|
|
uint8_t L_0 = __this->___U3CFlagsU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t MeshTile_get_Salt_mC1C2F5EE6D71C4B45B58809E07081CBD72E05833_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Salt { get; set; }
|
|
int32_t L_0 = __this->___U3CSaltU3Ek__BackingField_0;
|
|
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 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 BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* MeshTile_get_BVTree_mF0BCC3124AEF370311A0BFB0EA97BBE7813F5094_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public BVTree BVTree { get; set; }
|
|
BVTree_t626E20B2799F0707AB781431B7ED171053FC9966* L_0 = __this->___U3CBVTreeU3Ek__BackingField_10;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t MeshTile_get_LinksFreeList_m05D9E7AA0E79D4D96838CD67B354CFA0FD8D8D73_inline (MeshTile_t4A0CFD702894760B7EC52905F7DD209B33B6D705* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int LinksFreeList { get; set; }
|
|
int32_t L_0 = __this->___U3CLinksFreeListU3Ek__BackingField_1;
|
|
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 bool Single_IsNaN_mFE637F6ECA9F7697CE8EFF56427858F4C5EDF75D_inline (float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
float L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(BitConverter_t6E99605185963BC12B3D369E13F2B88997E64A27_il2cpp_TypeInfo_var);
|
|
int32_t L_1;
|
|
L_1 = BitConverter_SingleToInt32Bits_mC760C7CFC89725E3CF68DC45BE3A9A42A7E7DA73_inline(L_0, NULL);
|
|
return (bool)((((int32_t)((int32_t)(L_1&((int32_t)2147483647LL)))) > ((int32_t)((int32_t)2139095040)))? 1 : 0);
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_TargetState_mF922A6F579D795E9648BDD39EDE8AE0E7BA9AA25_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// targetState = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___targetState_21 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_AgentIndex_m41B7CEAC7217B93ED7C75645F971C4596F0D7058_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return agentIndex;
|
|
int32_t L_0 = __this->___agentIndex_27;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void AgentAnimation_set_Active_mC8DA5BB97C3D057651BB2B118C9CD9736FDFE8D3_inline (AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool Active { get; set; }
|
|
bool L_0 = ___0_value;
|
|
__this->___U3CActiveU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Agent_get_IsActive_m1B6260DCB2122D6EA51CD45E45F1A338EB8A7897_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return active;
|
|
bool L_0 = __this->___active_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_UpdateAgentParameters_m54B147182D4371B587A357189E2E0253C1AA30DC_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 ___0_parameters, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.Parameters = parameters;
|
|
AgentParams_tAE0948B0349389CC357BAED3E3D3531203E97BF3 L_0 = ___0_parameters;
|
|
__this->___Parameters_16 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_IsActive_mD24FB44798F9E71B55664F6AEB3558D22713CDBC_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// active = value;
|
|
bool L_0 = ___0_value;
|
|
__this->___active_2 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Agent_get_Position_m116BBB61D61E6DB2C4200A4AB040A1C8AEC606A9_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return currentPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___currentPos_11;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_State_m7C3112FE0593DF698567188EF98B7635C71FFF8E_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return state;
|
|
int32_t L_0 = __this->___state_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* Agent_get_Boundary_m70B900B4C3E900AA5B68EAB02712654069A476A7_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return boundary;
|
|
LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* L_0 = __this->___boundary_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 LocalBoundary_get_Center_m84D386C10AD19F31AF2D6094695272DE897F34E8_inline (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return center;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___center_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* Agent_get_Corridor_m5E0CF216D3B8CC1755E954F6DA858FBB4CEF3BC9_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return corridor;
|
|
PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* L_0 = __this->___corridor_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* Agent_get_Neighbors_mCEA016ADEFEDC3082BE94D68D813D1262FD85C90_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return neighbors;
|
|
CrowdNeighborU5BU5D_tA1CF6E852FB8459B956D6D7F73AD5E4C1FB01938* L_0 = __this->___neighbors_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_NeighborCount_mC9DC461D3E4F7D64CE553A736107860BB66EE943_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// numNeis = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___numNeis_9 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_NeighborCount_m7113A6023E6C2F5E868107C044BFC111355631F2_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return numNeis;
|
|
int32_t L_0 = __this->___numNeis_9;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_TargetState_m04F90982F99A704B908F184ADDCE69881682740C_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return targetState;
|
|
int32_t L_0 = __this->___targetState_21;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_CornerCount_mD5B216F4C815BBA6091AE530BC621DD84A5CF16D_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// numCorners = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___numCorners_20 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Agent_get_CornerCount_m117F53ED97EE2520C790316C1FA116EF55969BE6_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return numCorners;
|
|
int32_t L_0 = __this->___numCorners_20;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_State_mA6E561DE916B35B5347C6143B16EC9559DFE251A_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// state = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___state_3 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 Agent_get_TargetPosition_m8658806B510BEC0788ECB2F2C51F885AF7DF525A_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return targetPos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___targetPos_23;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* LocalBoundary_get_Segs_mC89DBE7EE6C3F53A8C26A5370C00101CB2CEE5D5_inline (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return segs;
|
|
SegmentU5BU5D_t61E890D3C85342116858E6E44AD3A321144D87D0* L_0 = __this->___segs_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t LocalBoundary_get_SegCount_m769740AEA77E864DCB79B0E7BDC44FD4102BA7AD_inline (LocalBoundary_t23A0D233AC1CFC0C58ACF70344E9E3725AF2E429* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return segCount;
|
|
int32_t L_0 = __this->___segCount_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 PathCorridor_get_Pos_m01A00EDC84FA975B7D5B78908772806B1BEC25CF_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return pos;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___pos_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_Position_mD34FC14E5BC00C636B9AE801C210ED33C0F018A7_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// currentPos = value;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
__this->___currentPos_11 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_IsPartial_mAC40D319E1F71A22FC32380E5FA5256C0614347E_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// partial = value;
|
|
bool L_0 = ___0_value;
|
|
__this->___partial_4 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool AgentAnimation_get_Active_m1F5CE9F49D2522F725A0CF9BA6002C3BA60F46D4_inline (AgentAnimation_tDFEB0C08EF0F34C3642EF674CD07214F1CFA89E5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool Active { get; set; }
|
|
bool L_0 = __this->___U3CActiveU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* PathCorridor_get_Path_m96318A10B64F76F90FF960C98B061FDEF037271F_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return path;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___path_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t PathCorridor_get_PathCount_m1734ED9D5D9A0688B57C0B94CD31B4778F21ED81_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return pathCount;
|
|
int32_t L_0 = __this->___pathCount_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 PathCorridor_get_Target_m184F80726BFEBFBB81B3C04EB02FBB9F0E0EF8D5_inline (PathCorridor_tB97405D7D55BE7C1A1B3CA927C1656E995011760* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return target;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = __this->___target_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Agent_set_TargetPosition_mC9A632C5F683FB35666CBAB9E92C184599AA6016_inline (Agent_t6CFDAC0A484764CDC48AE0170442CEBB56EE32F9* __this, Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// targetPos = value;
|
|
Vector3_tD2F584D473760BF755676EDB942F65DF2CEBF5C4 L_0 = ___0_value;
|
|
__this->___targetPos_23 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m03572CE4243E671B4D3BDAB7137FDE8F16EF9D19_gshared_inline (Nullable_1_tA1C5173173244040E009490118CB7D92233346D7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m4EBCBFB1A91E1917C6BAC5B140BDEFE41E9BAAC1_gshared_inline (Nullable_1_tA1E1041CDEE420A6C4564FF0B9D420C316474EFC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_mCF2FD8B3055FA87FC9C504F2122B3B0FAEDE3EC9_gshared_inline (Nullable_1_tCF32C56A2641879C053C86F273C0C6EC1B40BC28* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m30566566AF901B783FA38DD9D6E7A71BE9B58E61_gshared_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __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_Clear_m5382F2EA3634986F4C77D533D01E6A942691CB55_gshared_inline (List_1_tD509F37ACD09578D9BDA7441956C03CE52C6C179* __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;
|
|
}
|
|
}
|
|
{
|
|
RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6* L_3 = (RegionIdU5BU5D_t708B3DDCE702518F4E7145FD164905D1EA2383E6*)__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_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 void List_1_Add_m2F86E252D086E288E02FA1C830B7E86C0A431E51_gshared_inline (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918* __this, float ___0_item, const RuntimeMethod* method)
|
|
{
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* 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));
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_1 = (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)__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;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* 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));
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
float L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (float)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
float L_9 = ___0_item;
|
|
(( void (*) (List_1_t0D1C46FD8DDDE974D93CA4F3474EEC05AF950918*, float, 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_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 bool Nullable_1_get_HasValue_mA8FC8101F848C3E289CC133680BE254FEB942E56_gshared_inline (Nullable_1_tD59DE411E3E49BCB69613259BAFB131E450ACD57* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m6AC7B919F820DDE35DCFD76B29985A70C80E7179_gshared_inline (Nullable_1_t74FAA087FC7DF1F246043A8C258053E48973ECA6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m610D49D00F8993F2E9C4846C42B5BB87D01F3446_gshared_inline (Nullable_1_tAF4510EDF5AA015D913D331709EAA14ADB86E250* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t BitConverter_SingleToInt32Bits_mC760C7CFC89725E3CF68DC45BE3A9A42A7E7DA73_inline (float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = *((int32_t*)((uintptr_t)(&___0_value)));
|
|
return L_0;
|
|
}
|
|
}
|