mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2026-01-10 00:20:29 +01:00
37108 lines
1.6 MiB
37108 lines
1.6 MiB
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
struct VirtualActionInvoker0
|
|
{
|
|
typedef void (*Action)(void*, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1>
|
|
struct VirtualActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct VirtualActionInvoker2
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3>
|
|
struct VirtualActionInvoker3
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3, typename T4>
|
|
struct VirtualActionInvoker4
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
|
|
}
|
|
};
|
|
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);
|
|
}
|
|
};
|
|
template <typename R, typename T1>
|
|
struct VirtualFuncInvoker1
|
|
{
|
|
typedef R (*Func)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R, typename T1, typename T2>
|
|
struct VirtualFuncInvoker2
|
|
{
|
|
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R, typename T1, typename T2, typename T3>
|
|
struct VirtualFuncInvoker3
|
|
{
|
|
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, 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 T1>
|
|
struct InterfaceActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
((Action)invokeData.methodPtr)(obj, p1, 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);
|
|
}
|
|
};
|
|
template <typename R, typename T1, typename T2>
|
|
struct InterfaceFuncInvoker2
|
|
{
|
|
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
|
|
// System.Action`1<Pathfinding.NavmeshTile[]>
|
|
struct Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973;
|
|
// System.Action`1<Pathfinding.GraphNode>
|
|
struct Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5;
|
|
// System.Action`1<Pathfinding.IWorkItemContext>
|
|
struct Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B;
|
|
// System.Action`1<System.Object>
|
|
struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
|
|
// System.Action`1<Pathfinding.Path>
|
|
struct Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B;
|
|
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo>
|
|
struct AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD;
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>
|
|
struct Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE;
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
|
|
struct Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180;
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.NavGraph,System.Int32>
|
|
struct Dictionary_2_t57DE010FA204AEBA366AFF531618E9916A878D9D;
|
|
// System.Collections.Generic.Dictionary`2<System.Object,System.Int32>
|
|
struct Dictionary_2_t5C96F4B6841710A9013966F76224BAE01FB4B4D1;
|
|
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
|
|
struct Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA;
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
struct Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889;
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>
|
|
struct Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5;
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Int32>
|
|
struct Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455;
|
|
// System.Func`2<System.Boolean,System.Boolean>
|
|
struct Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB;
|
|
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
|
|
struct Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB;
|
|
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>>
|
|
struct Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130;
|
|
// System.Func`2<System.Object,System.Collections.Generic.IEnumerable`1<System.Object>>
|
|
struct Func_2_t9F45EF9F857977243C345F24571962D2521DB4A1;
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
struct Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00;
|
|
// System.Func`2<System.Object,System.Object>
|
|
struct Func_2_tACBF5A1656250800CE861707354491F0611F6624;
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
struct Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23;
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode>
|
|
struct Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E;
|
|
// System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>
|
|
struct Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99;
|
|
// System.Func`3<System.Object,System.Boolean,System.Boolean>
|
|
struct Func_3_t50E159DCCFD1AFE2F58DC0D7B987B725EBD0F102;
|
|
// System.Collections.Generic.HashSet`1<System.UInt64>
|
|
struct HashSet_1_t69B3138379C60F0B2D0D83966D6FF40BF4B4256C;
|
|
// System.Collections.Generic.IEnumerable`1<Pathfinding.IAstarAI>
|
|
struct IEnumerable_1_tAE00C93DB132239BCB66287C804D63CC2F6DBD5F;
|
|
// System.Collections.Generic.IEnumerable`1<Pathfinding.NavmeshTile>
|
|
struct IEnumerable_1_tCD698BFB5C70F7364887C5EC59DBCA9DAC4D1E05;
|
|
// System.Collections.Generic.IEnumerable`1<System.Object>
|
|
struct IEnumerable_1_tF95C9E01A913DD50575531C8305932628663D9E9;
|
|
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress>
|
|
struct IEnumerable_1_t0064AAC2102BF24FE1A2441E4B32C75CA0C24B85;
|
|
// System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>
|
|
struct IEnumerable_1_t18EE40D3B9D971977B708F174EF91C6A6CC914E7;
|
|
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress>
|
|
struct IEnumerator_1_t5873E37892996C4E37155DAB51A1CBF55EE81B55;
|
|
// System.Collections.Generic.IEqualityComparer`1<Pathfinding.Int2>
|
|
struct IEqualityComparer_1_tE866BCAEE21FA844F240CD2C6D370351067D2BAD;
|
|
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
|
|
struct IEqualityComparer_1_tDBFC8496F14612776AF930DBF84AFE7D06D1F0E9;
|
|
// System.Collections.Generic.IEqualityComparer`1<Pathfinding.TriangleMeshNode>
|
|
struct IEqualityComparer_1_t65C0BF141BD3CEBE03BABD0439C13F81E1B30DE9;
|
|
// System.Collections.Generic.IEqualityComparer`1<System.Type>
|
|
struct IEqualityComparer_1_t0C79004BFE79D9DBCE6C2250109D31D468A9A68E;
|
|
// Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>
|
|
struct IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<Pathfinding.Int2,System.Int32>
|
|
struct KeyCollection_t89E5AC3126B46788F064437FB7DA2EAB6FE6C60B;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Int32>
|
|
struct KeyCollection_t67E8423B5AEB30C254013AD88AB68D2A36F1F436;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
struct KeyCollection_tA7BF47219F0BBF9B5BFFF0438E5DBC9788F63DA6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>
|
|
struct KeyCollection_t4FC430040050245945281DBD919064F4D0CDA428;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Type,System.Int32>
|
|
struct KeyCollection_tE2F56A37776137F5D3C1BA6C49999EF1EC0E216F;
|
|
// System.Collections.Generic.List`1<System.Boolean>
|
|
struct List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A;
|
|
// System.Collections.Generic.List`1<UnityEngine.Color32>
|
|
struct List_1_t3517D52AE25CA3B19051E691E9C06ED03A3AB9B8;
|
|
// System.Collections.Generic.List`1<Pathfinding.Connection>
|
|
struct List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
|
|
struct List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59;
|
|
// System.Collections.Generic.List`1<Pathfinding.Int3>
|
|
struct List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200;
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh>
|
|
struct List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4;
|
|
// System.Collections.Generic.List`1<Pathfinding.MeshNode>
|
|
struct List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9;
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD;
|
|
// System.Collections.Generic.List`1<System.UInt32>
|
|
struct List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B;
|
|
// System.Collections.Generic.List`1<Pathfinding.Util.RetainedGizmos/MeshWithHash>
|
|
struct List_1_t5D9C322926B817A5785ECBEFC0167FB2BA8909CC;
|
|
// System.Collections.Generic.Queue`1<Pathfinding.GraphNode>
|
|
struct Queue_1_t650C221587750A78A5F24F28500F5EACF98E3822;
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
struct Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5;
|
|
// System.Collections.Generic.Queue`1<Pathfinding.Path>
|
|
struct Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF;
|
|
// System.Collections.Generic.Stack`1<System.Int32>
|
|
struct Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6;
|
|
// System.Collections.Generic.Stack`1<UnityEngine.Mesh>
|
|
struct Stack_1_tF9E13C26246873C383615C9CF8F8208CFB975FFA;
|
|
// System.Collections.Generic.Stack`1<System.Object>
|
|
struct Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5;
|
|
// System.Collections.Generic.Stack`1<Pathfinding.Path>
|
|
struct Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<Pathfinding.Int2,System.Int32>
|
|
struct ValueCollection_tE67AA3841DE3E7F0A43FBB26FD58D03D75ECC1A5;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,System.Int32>
|
|
struct ValueCollection_t74AF7C1BAE06C66E984668F663D574ED6A596D28;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
struct ValueCollection_tF36CE635295D4731FFA1256FBA024025C9E832C5;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>
|
|
struct ValueCollection_t7E544A8E91162E9B063654C368FA9F3F0F35D071;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Type,System.Int32>
|
|
struct ValueCollection_tAD56DF94D7373625A22E80E942606DC8509CB6D2;
|
|
// System.Collections.Generic.Dictionary`2/Entry<Pathfinding.Int2,System.Int32>[]
|
|
struct EntryU5BU5D_tCEC7F50D4D081F5711DC0B44DB4FB53668FF05D3;
|
|
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,System.Int32>[]
|
|
struct EntryU5BU5D_t197C691F43F1694B771BF83C278D12BBFEEB86FA;
|
|
// System.Collections.Generic.Dictionary`2/Entry<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>[]
|
|
struct EntryU5BU5D_t3877E6E3A73A17100CC870EBC6AD42B7FAEE19B0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>[]
|
|
struct EntryU5BU5D_tA664F850CB42F2ED33632632B2C3369EB0194C97;
|
|
// System.Collections.Generic.Dictionary`2/Entry<System.Type,System.Int32>[]
|
|
struct EntryU5BU5D_tD80C7495BA8BE64BC139A54FA961AB3EC66D7319;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode>[]
|
|
struct List_1U5BU5D_t35DBA366950D94C09F4106122C8475036A4EFEBE;
|
|
// System.Collections.Generic.List`1<System.Int32>[]
|
|
struct List_1U5BU5D_t37294D7C303231F2FD83B3C398AED0937F4F3206;
|
|
// Pathfinding.AstarWorkItem[]
|
|
struct AstarWorkItemU5BU5D_tF2C37438306356897E5E2127BE587A177F6685E4;
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
// System.Char[]
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
// UnityEngine.Collider2D[]
|
|
struct Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034;
|
|
// UnityEngine.Color[]
|
|
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389;
|
|
// Pathfinding.Connection[]
|
|
struct ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
// Pathfinding.GraphNode[]
|
|
struct GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557;
|
|
// Pathfinding.GridGraph[]
|
|
struct GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D;
|
|
// Pathfinding.GridNode[]
|
|
struct GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA;
|
|
// Pathfinding.GridNodeBase[]
|
|
struct GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477;
|
|
// Pathfinding.IAstarAI[]
|
|
struct IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514;
|
|
// Pathfinding.INavmeshHolder[]
|
|
struct INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E;
|
|
// Pathfinding.Int3[]
|
|
struct Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// Pathfinding.MeshNode[]
|
|
struct MeshNodeU5BU5D_tC22F3ED768A35E5BFCE7A98075FBCAA6B471247C;
|
|
// UnityEngine.MonoBehaviour[]
|
|
struct MonoBehaviourU5BU5D_tEB91860B3CEE2D63A7833A2842EB9CE4547DDBD7;
|
|
// Pathfinding.NavGraph[]
|
|
struct NavGraphU5BU5D_tCD8E01900C524AE9B8A467B06E1D606FB9E0FD93;
|
|
// Pathfinding.NavmeshTile[]
|
|
struct NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// Pathfinding.Path[]
|
|
struct PathU5BU5D_t310DFE8573ED0B6F01FE27E8E5AABA479BFF6332;
|
|
// Pathfinding.PathHandler[]
|
|
struct PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152;
|
|
// Pathfinding.PathNode[]
|
|
struct PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F;
|
|
// UnityEngine.RaycastHit[]
|
|
struct RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
// System.Threading.Thread[]
|
|
struct ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2;
|
|
// Pathfinding.TriangleMeshNode[]
|
|
struct TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142;
|
|
// System.Type[]
|
|
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
|
|
// System.UInt32[]
|
|
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
|
|
// UnityEngine.Vector3[]
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
// Pathfinding.BBTree/BBTreeBox[]
|
|
struct BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A;
|
|
// Pathfinding.BinaryHeap/Tuple[]
|
|
struct TupleU5BU5D_tEA48D47F98E16D0FCC5E0CDF753BDC61A28D53CD;
|
|
// System.Action
|
|
struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07;
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263;
|
|
// System.ArgumentNullException
|
|
struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129;
|
|
// System.ArgumentOutOfRangeException
|
|
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
|
|
// Pathfinding.AstarColor
|
|
struct AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632;
|
|
// Pathfinding.AstarData
|
|
struct AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81;
|
|
// AstarPath
|
|
struct AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760;
|
|
// System.AsyncCallback
|
|
struct AsyncCallback_t7FEF460CBDCFB9C5FA2EF776984778B9A4145F4C;
|
|
// Pathfinding.BBTree
|
|
struct BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E;
|
|
// Pathfinding.BinaryHeap
|
|
struct BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A;
|
|
// System.IO.BinaryReader
|
|
struct BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158;
|
|
// System.IO.BinaryWriter
|
|
struct BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E;
|
|
// System.Reflection.Binder
|
|
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184;
|
|
// UnityEngine.Collider2D
|
|
struct Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52;
|
|
// System.Globalization.CultureInfo
|
|
struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0;
|
|
// UnityEngine.Profiling.CustomSampler
|
|
struct CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487;
|
|
// System.Text.Decoder
|
|
struct Decoder_tE16E789E38B25DD304004FC630EA8B21000ECBBC;
|
|
// System.Delegate
|
|
struct Delegate_t;
|
|
// System.DelegateData
|
|
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
|
|
// System.Text.Encoder
|
|
struct Encoder_tAF9067231A76315584BDF4CD27990E2F485A78FA;
|
|
// System.Text.Encoding
|
|
struct Encoding_t65CDEF28CF20A7B8C92E85A4E808920C2465F095;
|
|
// Pathfinding.EuclideanEmbedding
|
|
struct EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890;
|
|
// UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB;
|
|
// System.Threading.EventWaitHandle
|
|
struct EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E;
|
|
// System.Exception
|
|
struct Exception_t;
|
|
// System.Threading.ExecutionContext
|
|
struct ExecutionContext_t9D6EDFD92F0B2D391751963E2D77A8B03CB81710;
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
|
|
// Pathfinding.GraphCollision
|
|
struct GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9;
|
|
// Pathfinding.Util.GraphGizmoHelper
|
|
struct GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2;
|
|
// Pathfinding.Serialization.GraphMeta
|
|
struct GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79;
|
|
// Pathfinding.GraphNode
|
|
struct GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A;
|
|
// Pathfinding.Serialization.GraphSerializationContext
|
|
struct GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283;
|
|
// Pathfinding.Util.GraphTransform
|
|
struct GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426;
|
|
// Pathfinding.GraphUpdateObject
|
|
struct GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3;
|
|
// Pathfinding.GraphUpdateProcessor
|
|
struct GraphUpdateProcessor_t85A8143F946CAAF56C39223ACB7B75649E0D4598;
|
|
// Pathfinding.GraphUpdateShape
|
|
struct GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C;
|
|
// Pathfinding.GridGraph
|
|
struct GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC;
|
|
// Pathfinding.GridNode
|
|
struct GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578;
|
|
// Pathfinding.GridNodeBase
|
|
struct GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25;
|
|
// Pathfinding.HierarchicalGraph
|
|
struct HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8;
|
|
// Pathfinding.IAstarAI
|
|
struct IAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8;
|
|
// System.IAsyncResult
|
|
struct IAsyncResult_t7B9B5A0ECB35DCEC31B8A8122C37D687369253B5;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// System.Collections.IEnumerable
|
|
struct IEnumerable_t6331596D5DD37C462B1B8D49CF6B319B00AB7131;
|
|
// System.Collections.IEnumerator
|
|
struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
|
|
// Pathfinding.INavmeshHolder
|
|
struct INavmeshHolder_t0BC280C1D60507330B69C19B09EB4FCF79C02B81;
|
|
// Pathfinding.IPathInternals
|
|
struct IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939;
|
|
// System.Security.Principal.IPrincipal
|
|
struct IPrincipal_tE7AF5096287F6C3472585E124CB38FF2A51EAB5F;
|
|
// Pathfinding.ITraversalProvider
|
|
struct ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2;
|
|
// Pathfinding.IWorkItemContext
|
|
struct IWorkItemContext_tB243681BACA03ED808D4180179727C8FDC129B0F;
|
|
// System.Threading.InternalThread
|
|
struct InternalThread_tF40B7BFCBD60C82BD8475A22FF5186CA10293687;
|
|
// System.InvalidOperationException
|
|
struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB;
|
|
// System.LocalDataStoreHolder
|
|
struct LocalDataStoreHolder_t789DD474AE5141213C2105CE57830ECFC2D3C03F;
|
|
// System.LocalDataStoreMgr
|
|
struct LocalDataStoreMgr_t205F1783D5CC2B148E829B5882E5406FF9A3AC1E;
|
|
// System.Threading.ManualResetEvent
|
|
struct ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158;
|
|
// UnityEngine.Material
|
|
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
|
|
// System.Reflection.MemberFilter
|
|
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
|
|
// System.IO.MemoryStream
|
|
struct MemoryStream_tAAED1B42172E3390584E4194308AB878E786AAC2;
|
|
// Pathfinding.MeshNode
|
|
struct MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t;
|
|
// Pathfinding.NNConstraint
|
|
struct NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5;
|
|
// Pathfinding.NavGraph
|
|
struct NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0;
|
|
// Pathfinding.NavMeshGraph
|
|
struct NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B;
|
|
// Pathfinding.NavmeshBase
|
|
struct NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704;
|
|
// Pathfinding.NavmeshTile
|
|
struct NavmeshTile_tB162562405C06B86115076300DED318EC59873C0;
|
|
// Pathfinding.NavmeshUpdates
|
|
struct NavmeshUpdates_t7F920048D3085C42E645452F047686C8E51C4A77;
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
|
|
// System.NullReferenceException
|
|
struct NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB;
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
// Pathfinding.OnGraphDelegate
|
|
struct OnGraphDelegate_tDBDF2146A1F5472AAF480750BC84F179B134D858;
|
|
// Pathfinding.OnPathDelegate
|
|
struct OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4;
|
|
// Pathfinding.OnScanDelegate
|
|
struct OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88;
|
|
// Pathfinding.Path
|
|
struct Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A;
|
|
// Pathfinding.PathHandler
|
|
struct PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638;
|
|
// Pathfinding.PathNNConstraint
|
|
struct PathNNConstraint_tD4EC529CCAF3C78A35DF6F147DC195983505DA76;
|
|
// Pathfinding.PathNode
|
|
struct PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A;
|
|
// Pathfinding.PathProcessor
|
|
struct PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C;
|
|
// Pathfinding.PathReturnQueue
|
|
struct PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31;
|
|
// Pathfinding.PointGraph
|
|
struct PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178;
|
|
// System.Random
|
|
struct Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8;
|
|
// Pathfinding.Util.RetainedGizmos
|
|
struct RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// Microsoft.Win32.SafeHandles.SafeWaitHandle
|
|
struct SafeWaitHandle_t58F5662CD56F6462A687198A64987F8980804449;
|
|
// Pathfinding.Serialization.SerializeSettings
|
|
struct SerializeSettings_tD9568A89D0CA78EA5391BDACC5AC288C89B2D35F;
|
|
// System.IO.Stream
|
|
struct Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE;
|
|
// System.String
|
|
struct String_t;
|
|
// System.Text.StringBuilder
|
|
struct StringBuilder_t;
|
|
// Pathfinding.TargetMover
|
|
struct TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC;
|
|
// UnityEngine.TextAsset
|
|
struct TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69;
|
|
// System.Threading.Thread
|
|
struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F;
|
|
// Pathfinding.ThreadControlQueue
|
|
struct ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92;
|
|
// System.Threading.ThreadStart
|
|
struct ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2;
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
|
|
// Pathfinding.TriangleMeshNode
|
|
struct TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80;
|
|
// System.Type
|
|
struct Type_t;
|
|
// System.Text.UTF8Encoding
|
|
struct UTF8Encoding_t90B56215A1B0B7ED5CDEA772E695F0DDAFBCD3BE;
|
|
// System.Version
|
|
struct Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// Pathfinding.WorkItemProcessor
|
|
struct WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5;
|
|
// Pathfinding.Ionic.Zip.ZipFile
|
|
struct ZipFile_t9DF6FA07046D82E186A9D42B3B8DBBAE516B89DF;
|
|
// UnityEngine.Camera/CameraCallback
|
|
struct CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD;
|
|
// Pathfinding.GraphNode/<>c__DisplayClass60_0
|
|
struct U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB;
|
|
// Pathfinding.GraphNode/<>c__DisplayClass65_0
|
|
struct U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1;
|
|
// Pathfinding.GridGraph/<>c
|
|
struct U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9;
|
|
// Pathfinding.GridGraph/<>c__DisplayClass61_0
|
|
struct U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D;
|
|
// Pathfinding.GridGraph/<ScanInternal>d__88
|
|
struct U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB;
|
|
// Pathfinding.NavGraph/<>c
|
|
struct U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194;
|
|
// Pathfinding.NavGraph/<>c__DisplayClass11_0
|
|
struct U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6;
|
|
// Pathfinding.NavGraph/<>c__DisplayClass12_0
|
|
struct U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F;
|
|
// Pathfinding.NavGraph/<>c__DisplayClass18_0
|
|
struct U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292;
|
|
// Pathfinding.NavGraph/<>c__DisplayClass21_0
|
|
struct U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86;
|
|
// Pathfinding.NavGraph/<>c__DisplayClass32_0
|
|
struct U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C;
|
|
// Pathfinding.NavGraph/<>c__DisplayClass33_0
|
|
struct U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E;
|
|
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
|
|
struct U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE;
|
|
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
|
|
struct NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F;
|
|
// Pathfinding.Path/<WaitForPath>d__54
|
|
struct U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871;
|
|
// Pathfinding.PathProcessor/<>c__DisplayClass24_0
|
|
struct U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392;
|
|
// Pathfinding.PathProcessor/<CalculatePaths>d__36
|
|
struct U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D;
|
|
// Pathfinding.Util.RetainedGizmos/Builder
|
|
struct Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D;
|
|
// Pathfinding.ThreadControlQueue/QueueTerminationException
|
|
struct QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ArrayPool_1_tC0D7414A0CEC2089657294E84A027B4A4F690631_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GraphModifier_t14378BD19E61F907DE1F9D4E93C20C1F5FB2A54C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ObjectPoolSimple_1_tA0DE5842C465190A2FD0A4C33FE8AB8FC45C6238_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ThreadAbortException_tCA1833E5D49782387EDF3BDCBDB90597B273F3C4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____BAED642339816AFFB3FE8719792D0E4CE82F12DB72B7373D244EAA65445800FE_0_FieldInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____BFBA791F735BFF63C9322E3B0899DB6888479355D21BE5F656C57CFA7EB87BD8_1_FieldInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral00C0F4AF489C009CD975610E2CED6844D16D12B1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral010B46A9DAB7C3D59530A463AC8A70C3AE5FAF6F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral04E4B5A1A451CE21D403729E2B78357FB017E764;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral06D3F60B399DCA8172E7964E814A35D2D0ACEC50;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0A5EF6E5BE8777B7385DA6D418204D21C6C960C1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0CF61E93B3D1D797E22C585144827DAB52FAF8F1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0FABCC3F8A64C8A3DE50619B6E1CC6CAC5E98B72;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0FB1F4E9991CBFCC61CC7A49CF6D75D8AD218561;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral10682F3387EA548C626C08591967BD5D821B3ACA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral10A105116F1400FFCE661E402C3C12DDCA0D688C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral13BEBA149DE044AADE680402DA746ACEC9E5BB0E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral14458E405FAD9392840AA1B9840D5D80E5F61AC2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral15C56BD98B8DED54DFFC721529B6397397BB1A9C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1A59CBB597021E0D3BC86F377CF9FF18364E1090;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1A86FF2B97FDDF1C4B09B5F5891980AFE6312910;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1BBD183247F3E732167CF49A475C4C1AF0DD4D60;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1CF923B28D3564E0B9B1D70E9D095ED7464D4A03;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1FF63041F72B8AD739D4D6A0FE80685AD80132D2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral226C577AD08F87660F70DAA6326AC76B387850F4;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2464B8D74CA0CF1AD88878381B543DB688E40FBE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral26F8DD5C0465D07E4938D5C736D5BDBC3EFB1B77;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral28E7974C77F25A79E144108301FF53B072AF6CB4;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2AA3FFD592D87212F4DE11ECA546FFF2B72183DD;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2F6464E3183B9357FD0EC1778D866615DC22D476;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2F75BD2EAE72C08BB24BF69A9CB78BF70251E855;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral34F2E9A352EAEC9EFF8283F9F8B497D555185692;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral352CA5E54BF288BE8B7463C579B9FA392A6A2F7A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral366D33BF3621CA7D7BCCECC90A96860C4FD45950;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3F83DD0C4FCE9700D0AB1CC3172478FE7629BB6C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral4421093AA1177D21B0C2882A623BE24CA848F74F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral479904710C5DB018C6245810DEEF9629FF8C71A8;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5583A6C0598CF26694C21D7CA3666DD44488DFC5;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral572C719BB643781CFCF517F95C7B357BD3AA1F9C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5857551470FA48B3F71F992583A93239D3BFAF12;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5941593CBB9736F2E089D439CDD8FF62CD4BBDAF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral623D80D44009A224F67DBD33958EEA3D77137407;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral64039C786C776C1A0E270FB9B59F2B42E58B6717;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral65C2295C5268C84325AEC52147A087EC4678A374;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral66611DDF712CF5E1BE1EDE8E9729BB5A92E9341E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6A8A7D4CD591C496AFAF0CDD3AFDC871A6D1756B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6D1EA1D1617B794A461DC1D05B22D5D0138A939D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6DA784FB74103919D4A753446D2B255B96B6F7C5;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7376C5FDD9387C0CB0CD4C47442C8B3583804D32;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7972F1CF5D85FE4E42994179236FCD1F90DB844D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral79A6F5108EC9F0F08A45FCE8C438693A19C09D9D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7AA32CE253020FA51760CD2DB1021CF8889802E9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7F497E973411BC854B5A2BE7DA46204C7859FC6F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral88EFC41E85739330C4C8C77FBBD9F714E9BC0AE3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8C988EEDCCD8FF7541AF9B28B4D129259FD45150;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8CC8D39E5441882897B021793025F2C9A413B8F1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8E08344BCFC7FDCC3A9838522676DC76376DBE00;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral900D858FE9ABCD2ED2B25CD27110A78ADCC6EC6B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral908C6A7F463C186E813055AF48B8B1527B7ED5FC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral93D5E26DE8A518E4AE50E6C30947D5C73623A172;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9402668AFBCCB673B987A7E172AC2F7FD66F9636;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral986A1498F3A9FE5104B5E957FD1F853FAD39CAAE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral992DE7E6997EFE2589FA1D770B3E5B54470DD4B9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9966EED976DD427431A3316F6D7D591475296ACE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralAB872CF03EC4A5E5469192F63894D9446E782538;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralAF87225A561B9B3983DF97EB02197A12F54F2EBB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB2048883AE5A9E4A126EB2D1BF266E29AB6D6529;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB3C86974C1217EB4A0578D5F94A326F25DB57942;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB4C2233B1137D77BA40D8B49150C9C34EA52AA6D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB633EF12F6DE897FC342FEE571AF00BA88D59A6B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB67A47E396AC24E89226783D7DFE6E0AEC962CD7;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB9101CC8D03D9A73C119B071072E5AB9857E1BC3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB9F5D6B4F1F6DAC8F4EEB3AB72C41EBAB801FE5C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralBAFF4394932FC6E23E65D1CDC7A2F59A19660E5E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralBCC537EDB5B93B7D6951E9024E5AFF9005C901B0;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralBD434B6A3FF178D746319FE186C7BEC90C09A6F8;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC128F94396E2C5F3C5C1953A587173164584D69F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC39972D2DF6C02661AA1F8A26C5C9A2A4A579C77;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCB0F82DB14D9636ED8286575F5D33F54145B1EE1;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD3BDCF4E5C635E6DC0861D23D82DB4DB60EA9EA6;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD3DB90C6A039B52608A354BE6FBC05D780BEE803;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA4BE0F963380DB493604E9CA0B0B54F040F58C9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDE2974A30E5B66516F2F896888886CB66076966F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE9AE4413482A84EE59C945089E083F66D6268C7B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE9E2B623812D35AF4C1D3239F740CAD7A0651723;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralEF10ADCC18283AF2781D4ACAA0F23E143BB0594E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF737EF2F2C6774257D22D2CCC2C56E4E232B0774;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFB2B20364FF75B0DEC3AB6A5BD65ABF3CECB0C75;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFE095003EE3416B496D435096CEC3D1753DC49F4;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_mB283D45C301F4607211D245262697A9C921670FC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_m52BAB111BC86C9800C05C42CCACA414DC465879F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m3EF4F6B2EC138E3A20BD7549CE6DE54B0608CD4D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m0AF6A9E01056850C9F7AE464B4099CA3F6D5E8EC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m81C780A4F8494DFCAB83CC83B05D8B561F4E32CB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m559F9E6FB26D818379CC6B6F508C570ECE93BBB6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_OfType_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m9689B236ECCE8C65FE02731208EAD4E73C9D2A6B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_SelectMany_TisNavmeshTile_tB162562405C06B86115076300DED318EC59873C0_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_mB9BC76BFFBFCF193F6B732DE510E434A0D2A0F60_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_ToArray_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m603BA72AE08F0DD04D1E17F56B0FC1831417C3C4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_ToDictionary_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_mCBF385C140B774C2976A5041731241B53482CDEA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GraphGizmoHelper_DrawConnections_m4755A762AF5496F1FFC2FEEDC49C8C7BD0005E58_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GridGraph_GetNodesInRegion_mECD7D85C527F0DF46656BC9B66185E2127DA1CEF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GridGraph_RelocateNodes_m54876E5ADBF05A05F18146E7818FE5449F3444FE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListExtensions_ClearFast_TisMeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095_mDB2E13F2BD57E9538ADFA7F952744BEDC6093591_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0C38062438086C42E2A235399DCF158AF5DF6B37_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m4BBC825391EFA3F544030C47A0107D7887F6918E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Capacity_m37C5CAC1E43187364525B1DBFE5B3CA68FF8BD03_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Capacity_m9F199D9799BAB78344107D572B7695001E1CEC79_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_ClearTile_m5AD5CDBDCC976B9B26D049034D488AED8960F618_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_ConnectTileWithNeighbours_m8E3E8CD8A49453696BD3AA726C8D7E8A6F9A463B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_CreateNodes_m7BFF7CCFE468A7BAD42CBA3A35808AE5427FCEA1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_DeserializeExtraInfo_m23ACF8EAE0D29C13CB7283B609AC5E3E81C19AF0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_EndBatchTileUpdate_mE4AFB99C74A92C1026952D872179E5A14BD00553_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_ReplaceTile_m5D3C27F3D401BAD8AC9EC6B92493CF4EF829FD69_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_SerializeExtraInfo_m6168B4B5021680672337D59531829C78654273AE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* NavmeshBase_StartBatchTileUpdate_m8A08C3E41F560CBB3373A3E74ED52C14E5CF9302_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ObjectPoolSimple_1_Claim_m1031F43009A56E8BE3F0DC202B0E4A62DDFBFE4A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ObjectPoolSimple_1_Release_m26A4253C56A368B3D30757C1B2870C0C0644B3B5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Object_FindObjectsOfType_TisMonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_mDF62FF06EFCF4912EC4EA0E6AB3CFEF74507E58C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PathPool_Pool_mFE6BE9197A2C5C36F9E7AEC6F54607DE92EB4CFF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PathProcessor_CalculatePathsThreaded_m3A95732FD5083C2FBB321E9409C270ADA1DF3759_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PathProcessor_InitializeNode_mAED966B69CEDFDE83E0F471ED084DD3CE40947C2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PathProcessor_Unlock_mA82A7915541D83DB891FEE665DB2A16E12F03536_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* PathProcessor__ctor_mA72FA649C64AA10C31DBC3A482680AEA3FDE2A30_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Path_Claim_mE8B5AEDE7A691A8E07D8E9C51B9FFD947EBE78D3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Path_Reset_m616CBCB3DCC5903EA195F4CE7E953B84EFEB21EC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_Dequeue_m5AB4196653F6689A3B3C1B05C5E49AB868891AE4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_Enqueue_m3FB0DB7753257520A15F10AC02CB3BAB6EF2B57D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1__ctor_mBEF40D980CAAFAACF58475044636E64E634718A6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Queue_1_get_Count_m2CC93F0C5AC0A1436DE84FD36D1D258E2CCDD36B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_Push_mB80DD005FBE60BF950CF25FF2A7FBE91472E2EC3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1__ctor_m8B46118001B802791A3290844225D8F2BF8E7A16_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Stack_1_get_Count_mC37C8B470DA3123EE7857CF890456483D845E8B5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CCalculatePathsU3Ed__36_System_Collections_IEnumerator_Reset_m0198CDDAD2E12F0E63402D967F47B914C34D1376_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CScanInternalU3Ed__88_System_Collections_IEnumerator_Reset_m84B9309EC95F13C88087D2EE9B0865C195F8B326_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CDestroyAllNodesU3Eb__1_0_m7C53C16C192978C034BBB92D31054761039F1D22_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CDestroyAllNodesU3Eb__24_0_mEE4E6D221C86270DEDDA84110EA0F5CDA4E57DBA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CPostDeserializationU3Eb__74_0_mD1E0786A187954DA5C197FC3AD7CE6CF5B856AFC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CPostDeserializationU3Eb__74_1_mA9F50141FEDA62EE26B6BAAB4125BF97F870CE48_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CPostDeserializationU3Eb__74_2_mB5823CDDD61117437A2C0E81589D98DF307783FB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass11_0_U3CCountNodesU3Eb__0_m91550D015325CED0309495185C112C1A28D57D6F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass12_0_U3CGetNodesU3Eb__0_mE5B742D9E0D11FA186E6FD447D5704AA9E2BDAD1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass18_0_U3CRelocateNodesU3Eb__0_m9B916973F17690B42602F772825A20609087C39E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass21_0_U3CGetNearestU3Eb__0_mEECD6D230EBC50EADEBB44A79F17264508BB0165_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass24_0_U3C_ctorU3Eb__0_m9FA29525541DFEF71299B7CB6572AD4AC66B59C1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass32_0_U3COnDrawGizmosU3Eb__0_mB3FC9C3CCE93E83B017DD3E9BBF5E9F5F7592DC4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass33_0_U3CDrawUnwalkableNodesU3Eb__0_mCCA81716C727D662FA8DE65AF222AE4E5F5C1921_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass60_0_U3CUpdateRecursiveGU3Eb__0_m1A6AC12FF3FE4F87C35ABA8CB5DC4BE6AE6D26DB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass61_0_U3CRelocateNodesU3Eb__0_mB971DC2795D35D5ADCAC78063EB1DCEDB013360F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass65_0_U3CContainsConnectionU3Eb__0_mDB8C80CDB4887C69C69B458682079ABEC439ACB4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass74_0_U3CPostDeserializationU3Eb__3_mE36262BC17A64F58CD4EDBF718D5E5380928115F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CWaitForPathU3Ed__54_MoveNext_mD2462ED18FBF664404838513D1979C0ECB214B2F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CWaitForPathU3Ed__54_System_Collections_IEnumerator_Reset_m9D7C2E22A01ECE52A77A815D2FF541FBF26F6848_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* WorkItemProcessor_ProcessWorkItems_mE9C873F8DB275A7ED7D3E3B608A2AE0061A4560F_RuntimeMethod_var;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4;
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
struct Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034;
|
|
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389;
|
|
struct ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82;
|
|
struct GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA;
|
|
struct GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477;
|
|
struct IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514;
|
|
struct Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926;
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
struct MonoBehaviourU5BU5D_tEB91860B3CEE2D63A7833A2842EB9CE4547DDBD7;
|
|
struct NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152;
|
|
struct PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F;
|
|
struct RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8;
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
struct ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2;
|
|
struct TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142;
|
|
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
|
|
IL2CPP_EXTERN_C_BEGIN
|
|
IL2CPP_EXTERN_C_END
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>
|
|
struct Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_tCEC7F50D4D081F5711DC0B44DB4FB53668FF05D3* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_t89E5AC3126B46788F064437FB7DA2EAB6FE6C60B* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_tE67AA3841DE3E7F0A43FBB26FD58D03D75ECC1A5* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
|
|
struct Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_t197C691F43F1694B771BF83C278D12BBFEEB86FA* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_t67E8423B5AEB30C254013AD88AB68D2A36F1F436* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_t74AF7C1BAE06C66E984668F663D574ED6A596D28* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
struct Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_t3877E6E3A73A17100CC870EBC6AD42B7FAEE19B0* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_tA7BF47219F0BBF9B5BFFF0438E5DBC9788F63DA6* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_tF36CE635295D4731FFA1256FBA024025C9E832C5* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>
|
|
struct Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_tA664F850CB42F2ED33632632B2C3369EB0194C97* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_t4FC430040050245945281DBD919064F4D0CDA428* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_t7E544A8E91162E9B063654C368FA9F3F0F35D071* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Int32>
|
|
struct Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_tD80C7495BA8BE64BC139A54FA961AB3EC66D7319* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_tE2F56A37776137F5D3C1BA6C49999EF1EC0E216F* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_tAD56DF94D7373625A22E80E942606DC8509CB6D2* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>
|
|
struct IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12 : public RuntimeObject
|
|
{
|
|
// T[] Pathfinding.WorkItemProcessor/IndexedQueue`1::buffer
|
|
AstarWorkItemU5BU5D_tF2C37438306356897E5E2127BE587A177F6685E4* ___buffer_0;
|
|
// System.Int32 Pathfinding.WorkItemProcessor/IndexedQueue`1::start
|
|
int32_t ___start_1;
|
|
// System.Int32 Pathfinding.WorkItemProcessor/IndexedQueue`1::<Count>k__BackingField
|
|
int32_t ___U3CCountU3Ek__BackingField_2;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.Connection>
|
|
struct List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ____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<Pathfinding.GraphNode>
|
|
struct List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.MeshNode>
|
|
struct List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
MeshNodeU5BU5D_tC22F3ED768A35E5BFCE7A98075FBCAA6B471247C* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____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.Queue`1<System.Object>
|
|
struct Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Queue`1::_array
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_head
|
|
int32_t ____head_1;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_tail
|
|
int32_t ____tail_2;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_size
|
|
int32_t ____size_3;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_version
|
|
int32_t ____version_4;
|
|
// System.Object System.Collections.Generic.Queue`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_5;
|
|
};
|
|
|
|
// System.Collections.Generic.Queue`1<Pathfinding.Path>
|
|
struct Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Queue`1::_array
|
|
PathU5BU5D_t310DFE8573ED0B6F01FE27E8E5AABA479BFF6332* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_head
|
|
int32_t ____head_1;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_tail
|
|
int32_t ____tail_2;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_size
|
|
int32_t ____size_3;
|
|
// System.Int32 System.Collections.Generic.Queue`1::_version
|
|
int32_t ____version_4;
|
|
// System.Object System.Collections.Generic.Queue`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_5;
|
|
};
|
|
|
|
// System.Collections.Generic.Stack`1<System.Int32>
|
|
struct Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Stack`1::_array
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Stack`1::_size
|
|
int32_t ____size_1;
|
|
// System.Int32 System.Collections.Generic.Stack`1::_version
|
|
int32_t ____version_2;
|
|
// System.Object System.Collections.Generic.Stack`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_3;
|
|
};
|
|
|
|
// System.Collections.Generic.Stack`1<System.Object>
|
|
struct Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Stack`1::_array
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Stack`1::_size
|
|
int32_t ____size_1;
|
|
// System.Int32 System.Collections.Generic.Stack`1::_version
|
|
int32_t ____version_2;
|
|
// System.Object System.Collections.Generic.Stack`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_3;
|
|
};
|
|
|
|
// System.Collections.Generic.Stack`1<Pathfinding.Path>
|
|
struct Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.Stack`1::_array
|
|
PathU5BU5D_t310DFE8573ED0B6F01FE27E8E5AABA479BFF6332* ____array_0;
|
|
// System.Int32 System.Collections.Generic.Stack`1::_size
|
|
int32_t ____size_1;
|
|
// System.Int32 System.Collections.Generic.Stack`1::_version
|
|
int32_t ____version_2;
|
|
// System.Object System.Collections.Generic.Stack`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_3;
|
|
};
|
|
|
|
// Pathfinding.AstarData
|
|
struct AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81 : public RuntimeObject
|
|
{
|
|
// Pathfinding.NavMeshGraph Pathfinding.AstarData::<navmesh>k__BackingField
|
|
NavMeshGraph_t07889D557909002DD2A38B00B9102D324849658B* ___U3CnavmeshU3Ek__BackingField_0;
|
|
// Pathfinding.GridGraph Pathfinding.AstarData::<gridGraph>k__BackingField
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___U3CgridGraphU3Ek__BackingField_1;
|
|
// Pathfinding.PointGraph Pathfinding.AstarData::<pointGraph>k__BackingField
|
|
PointGraph_t0E8C9C0D4F34D5EA15013A007002BCDDFA5F3178* ___U3CpointGraphU3Ek__BackingField_2;
|
|
// System.Type[] Pathfinding.AstarData::<graphTypes>k__BackingField
|
|
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___U3CgraphTypesU3Ek__BackingField_3;
|
|
// Pathfinding.NavGraph[] Pathfinding.AstarData::graphs
|
|
NavGraphU5BU5D_tCD8E01900C524AE9B8A467B06E1D606FB9E0FD93* ___graphs_4;
|
|
// System.String Pathfinding.AstarData::dataString
|
|
String_t* ___dataString_5;
|
|
// System.Byte[] Pathfinding.AstarData::upgradeData
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___upgradeData_6;
|
|
// UnityEngine.TextAsset Pathfinding.AstarData::file_cachedStartup
|
|
TextAsset_t2C64E93DA366D9DE5A8209E1802FA4884AC1BD69* ___file_cachedStartup_7;
|
|
// System.Byte[] Pathfinding.AstarData::data_cachedStartup
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___data_cachedStartup_8;
|
|
// System.Boolean Pathfinding.AstarData::cacheStartup
|
|
bool ___cacheStartup_9;
|
|
// System.Collections.Generic.List`1<System.Boolean> Pathfinding.AstarData::graphStructureLocked
|
|
List_1_t01207CE5982A7640E56B1F9F672A06F96B09367A* ___graphStructureLocked_10;
|
|
};
|
|
|
|
// Pathfinding.Serialization.AstarSerializer
|
|
struct AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0 : public RuntimeObject
|
|
{
|
|
// Pathfinding.AstarData Pathfinding.Serialization.AstarSerializer::data
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* ___data_0;
|
|
// Pathfinding.Ionic.Zip.ZipFile Pathfinding.Serialization.AstarSerializer::zip
|
|
ZipFile_t9DF6FA07046D82E186A9D42B3B8DBBAE516B89DF* ___zip_1;
|
|
// System.IO.MemoryStream Pathfinding.Serialization.AstarSerializer::zipStream
|
|
MemoryStream_tAAED1B42172E3390584E4194308AB878E786AAC2* ___zipStream_2;
|
|
// Pathfinding.Serialization.GraphMeta Pathfinding.Serialization.AstarSerializer::meta
|
|
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* ___meta_3;
|
|
// Pathfinding.Serialization.SerializeSettings Pathfinding.Serialization.AstarSerializer::settings
|
|
SerializeSettings_tD9568A89D0CA78EA5391BDACC5AC288C89B2D35F* ___settings_4;
|
|
// UnityEngine.GameObject Pathfinding.Serialization.AstarSerializer::contextRoot
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___contextRoot_5;
|
|
// Pathfinding.NavGraph[] Pathfinding.Serialization.AstarSerializer::graphs
|
|
NavGraphU5BU5D_tCD8E01900C524AE9B8A467B06E1D606FB9E0FD93* ___graphs_6;
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.NavGraph,System.Int32> Pathfinding.Serialization.AstarSerializer::graphIndexInZip
|
|
Dictionary_2_t57DE010FA204AEBA366AFF531618E9916A878D9D* ___graphIndexInZip_7;
|
|
// System.Int32 Pathfinding.Serialization.AstarSerializer::graphIndexOffset
|
|
int32_t ___graphIndexOffset_8;
|
|
// System.UInt32 Pathfinding.Serialization.AstarSerializer::checksum
|
|
uint32_t ___checksum_11;
|
|
// System.Text.UTF8Encoding Pathfinding.Serialization.AstarSerializer::encoding
|
|
UTF8Encoding_t90B56215A1B0B7ED5CDEA772E695F0DDAFBCD3BE* ___encoding_12;
|
|
};
|
|
|
|
// Pathfinding.BBTree
|
|
struct BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E : public RuntimeObject
|
|
{
|
|
// Pathfinding.BBTree/BBTreeBox[] Pathfinding.BBTree::tree
|
|
BBTreeBoxU5BU5D_tDBBB797D9BB4F41EF9B560AC92CB13ED1984FA7A* ___tree_0;
|
|
// Pathfinding.TriangleMeshNode[] Pathfinding.BBTree::nodeLookup
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___nodeLookup_1;
|
|
// System.Int32 Pathfinding.BBTree::count
|
|
int32_t ___count_2;
|
|
// System.Int32 Pathfinding.BBTree::leafNodes
|
|
int32_t ___leafNodes_3;
|
|
};
|
|
|
|
// Pathfinding.BinaryHeap
|
|
struct BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A : public RuntimeObject
|
|
{
|
|
// System.Int32 Pathfinding.BinaryHeap::numberOfItems
|
|
int32_t ___numberOfItems_0;
|
|
// System.Single Pathfinding.BinaryHeap::growthFactor
|
|
float ___growthFactor_1;
|
|
// Pathfinding.BinaryHeap/Tuple[] Pathfinding.BinaryHeap::heap
|
|
TupleU5BU5D_tEA48D47F98E16D0FCC5E0CDF753BDC61A28D53CD* ___heap_5;
|
|
};
|
|
|
|
// System.IO.BinaryReader
|
|
struct BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158 : public RuntimeObject
|
|
{
|
|
// System.IO.Stream System.IO.BinaryReader::m_stream
|
|
Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE* ___m_stream_0;
|
|
// System.Byte[] System.IO.BinaryReader::m_buffer
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___m_buffer_1;
|
|
// System.Text.Decoder System.IO.BinaryReader::m_decoder
|
|
Decoder_tE16E789E38B25DD304004FC630EA8B21000ECBBC* ___m_decoder_2;
|
|
// System.Byte[] System.IO.BinaryReader::m_charBytes
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___m_charBytes_3;
|
|
// System.Char[] System.IO.BinaryReader::m_singleChar
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_singleChar_4;
|
|
// System.Char[] System.IO.BinaryReader::m_charBuffer
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_charBuffer_5;
|
|
// System.Int32 System.IO.BinaryReader::m_maxCharsSize
|
|
int32_t ___m_maxCharsSize_6;
|
|
// System.Boolean System.IO.BinaryReader::m_2BytesPerChar
|
|
bool ___m_2BytesPerChar_7;
|
|
// System.Boolean System.IO.BinaryReader::m_isMemoryStream
|
|
bool ___m_isMemoryStream_8;
|
|
// System.Boolean System.IO.BinaryReader::m_leaveOpen
|
|
bool ___m_leaveOpen_9;
|
|
};
|
|
|
|
// System.IO.BinaryWriter
|
|
struct BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E : public RuntimeObject
|
|
{
|
|
// System.IO.Stream System.IO.BinaryWriter::OutStream
|
|
Stream_tF844051B786E8F7F4244DBD218D74E8617B9A2DE* ___OutStream_1;
|
|
// System.Byte[] System.IO.BinaryWriter::_buffer
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ____buffer_2;
|
|
// System.Text.Encoding System.IO.BinaryWriter::_encoding
|
|
Encoding_t65CDEF28CF20A7B8C92E85A4E808920C2465F095* ____encoding_3;
|
|
// System.Text.Encoder System.IO.BinaryWriter::_encoder
|
|
Encoder_tAF9067231A76315584BDF4CD27990E2F485A78FA* ____encoder_4;
|
|
// System.Boolean System.IO.BinaryWriter::_leaveOpen
|
|
bool ____leaveOpen_5;
|
|
// System.Byte[] System.IO.BinaryWriter::_largeByteBuffer
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ____largeByteBuffer_6;
|
|
// System.Int32 System.IO.BinaryWriter::_maxChars
|
|
int32_t ____maxChars_7;
|
|
};
|
|
|
|
// System.Runtime.ConstrainedExecution.CriticalFinalizerObject
|
|
struct CriticalFinalizerObject_t1DCAB623CAEA6529A96F5F3EDE3C7048A6E313C9 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.DefaultITraversalProvider
|
|
struct DefaultITraversalProvider_tF243A7D1764578E10A90182AE343AE05C4EAE648 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.Serialization.GraphMeta
|
|
struct GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79 : public RuntimeObject
|
|
{
|
|
// System.Version Pathfinding.Serialization.GraphMeta::version
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___version_0;
|
|
// System.Int32 Pathfinding.Serialization.GraphMeta::graphs
|
|
int32_t ___graphs_1;
|
|
// System.Collections.Generic.List`1<System.String> Pathfinding.Serialization.GraphMeta::guids
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___guids_2;
|
|
// System.Collections.Generic.List`1<System.String> Pathfinding.Serialization.GraphMeta::typeNames
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___typeNames_3;
|
|
};
|
|
|
|
// Pathfinding.Serialization.GraphSerializationContext
|
|
struct GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283 : public RuntimeObject
|
|
{
|
|
// Pathfinding.GraphNode[] Pathfinding.Serialization.GraphSerializationContext::id2NodeMapping
|
|
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___id2NodeMapping_0;
|
|
// System.IO.BinaryReader Pathfinding.Serialization.GraphSerializationContext::reader
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* ___reader_1;
|
|
// System.IO.BinaryWriter Pathfinding.Serialization.GraphSerializationContext::writer
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* ___writer_2;
|
|
// System.UInt32 Pathfinding.Serialization.GraphSerializationContext::graphIndex
|
|
uint32_t ___graphIndex_3;
|
|
// Pathfinding.Serialization.GraphMeta Pathfinding.Serialization.GraphSerializationContext::meta
|
|
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* ___meta_4;
|
|
};
|
|
|
|
// Pathfinding.HierarchicalGraph
|
|
struct HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode>[] Pathfinding.HierarchicalGraph::children
|
|
List_1U5BU5D_t35DBA366950D94C09F4106122C8475036A4EFEBE* ___children_3;
|
|
// System.Collections.Generic.List`1<System.Int32>[] Pathfinding.HierarchicalGraph::connections
|
|
List_1U5BU5D_t37294D7C303231F2FD83B3C398AED0937F4F3206* ___connections_4;
|
|
// System.Int32[] Pathfinding.HierarchicalGraph::areas
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___areas_5;
|
|
// System.Byte[] Pathfinding.HierarchicalGraph::dirty
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___dirty_6;
|
|
// System.Int32 Pathfinding.HierarchicalGraph::<version>k__BackingField
|
|
int32_t ___U3CversionU3Ek__BackingField_7;
|
|
// System.Action Pathfinding.HierarchicalGraph::onConnectedComponentsChanged
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___onConnectedComponentsChanged_8;
|
|
// System.Action`1<Pathfinding.GraphNode> Pathfinding.HierarchicalGraph::connectionCallback
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___connectionCallback_9;
|
|
// System.Collections.Generic.Queue`1<Pathfinding.GraphNode> Pathfinding.HierarchicalGraph::temporaryQueue
|
|
Queue_1_t650C221587750A78A5F24F28500F5EACF98E3822* ___temporaryQueue_10;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.HierarchicalGraph::currentChildren
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___currentChildren_11;
|
|
// System.Collections.Generic.List`1<System.Int32> Pathfinding.HierarchicalGraph::currentConnections
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___currentConnections_12;
|
|
// System.Int32 Pathfinding.HierarchicalGraph::currentHierarchicalNodeIndex
|
|
int32_t ___currentHierarchicalNodeIndex_13;
|
|
// System.Collections.Generic.Stack`1<System.Int32> Pathfinding.HierarchicalGraph::temporaryStack
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* ___temporaryStack_14;
|
|
// System.Int32 Pathfinding.HierarchicalGraph::numDirtyNodes
|
|
int32_t ___numDirtyNodes_15;
|
|
// Pathfinding.GraphNode[] Pathfinding.HierarchicalGraph::dirtyNodes
|
|
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___dirtyNodes_16;
|
|
// System.Collections.Generic.Stack`1<System.Int32> Pathfinding.HierarchicalGraph::freeNodeIndices
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* ___freeNodeIndices_17;
|
|
// System.Int32 Pathfinding.HierarchicalGraph::gizmoVersion
|
|
int32_t ___gizmoVersion_18;
|
|
// System.Int32 Pathfinding.HierarchicalGraph::<NumConnectedComponents>k__BackingField
|
|
int32_t ___U3CNumConnectedComponentsU3Ek__BackingField_19;
|
|
};
|
|
|
|
// System.MarshalByRefObject
|
|
struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE : public RuntimeObject
|
|
{
|
|
// System.Object System.MarshalByRefObject::_identity
|
|
RuntimeObject* ____identity_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.MarshalByRefObject
|
|
struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
|
|
{
|
|
Il2CppIUnknown* ____identity_0;
|
|
};
|
|
// Native definition for COM marshalling of System.MarshalByRefObject
|
|
struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
|
|
{
|
|
Il2CppIUnknown* ____identity_0;
|
|
};
|
|
|
|
// System.Reflection.MemberInfo
|
|
struct MemberInfo_t : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.NavmeshTile
|
|
struct NavmeshTile_tB162562405C06B86115076300DED318EC59873C0 : public RuntimeObject
|
|
{
|
|
// System.Int32[] Pathfinding.NavmeshTile::tris
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___tris_0;
|
|
// Pathfinding.Int3[] Pathfinding.NavmeshTile::verts
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___verts_1;
|
|
// Pathfinding.Int3[] Pathfinding.NavmeshTile::vertsInGraphSpace
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___vertsInGraphSpace_2;
|
|
// System.Int32 Pathfinding.NavmeshTile::x
|
|
int32_t ___x_3;
|
|
// System.Int32 Pathfinding.NavmeshTile::z
|
|
int32_t ___z_4;
|
|
// System.Int32 Pathfinding.NavmeshTile::w
|
|
int32_t ___w_5;
|
|
// System.Int32 Pathfinding.NavmeshTile::d
|
|
int32_t ___d_6;
|
|
// Pathfinding.TriangleMeshNode[] Pathfinding.NavmeshTile::nodes
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___nodes_7;
|
|
// Pathfinding.BBTree Pathfinding.NavmeshTile::bbTree
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* ___bbTree_8;
|
|
// System.Boolean Pathfinding.NavmeshTile::flag
|
|
bool ___flag_9;
|
|
// Pathfinding.NavmeshBase Pathfinding.NavmeshTile::graph
|
|
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* ___graph_10;
|
|
};
|
|
|
|
// Pathfinding.PathHandler
|
|
struct PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638 : public RuntimeObject
|
|
{
|
|
// System.UInt16 Pathfinding.PathHandler::pathID
|
|
uint16_t ___pathID_0;
|
|
// System.Int32 Pathfinding.PathHandler::threadID
|
|
int32_t ___threadID_1;
|
|
// System.Int32 Pathfinding.PathHandler::totalThreadCount
|
|
int32_t ___totalThreadCount_2;
|
|
// Pathfinding.BinaryHeap Pathfinding.PathHandler::heap
|
|
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* ___heap_3;
|
|
// Pathfinding.PathNode[] Pathfinding.PathHandler::nodes
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* ___nodes_4;
|
|
// System.Text.StringBuilder Pathfinding.PathHandler::DebugStringBuilder
|
|
StringBuilder_t* ___DebugStringBuilder_5;
|
|
};
|
|
|
|
// Pathfinding.PathNode
|
|
struct PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A : public RuntimeObject
|
|
{
|
|
// Pathfinding.GraphNode Pathfinding.PathNode::node
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
// Pathfinding.PathNode Pathfinding.PathNode::parent
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___parent_1;
|
|
// System.UInt16 Pathfinding.PathNode::pathID
|
|
uint16_t ___pathID_2;
|
|
// System.UInt16 Pathfinding.PathNode::heapIndex
|
|
uint16_t ___heapIndex_3;
|
|
// System.UInt32 Pathfinding.PathNode::flags
|
|
uint32_t ___flags_4;
|
|
// System.UInt32 Pathfinding.PathNode::g
|
|
uint32_t ___g_10;
|
|
// System.UInt32 Pathfinding.PathNode::h
|
|
uint32_t ___h_11;
|
|
};
|
|
|
|
// Pathfinding.PathPool
|
|
struct PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.PathProcessor
|
|
struct PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C : public RuntimeObject
|
|
{
|
|
// System.Action`1<Pathfinding.Path> Pathfinding.PathProcessor::OnPathPreSearch
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* ___OnPathPreSearch_0;
|
|
// System.Action`1<Pathfinding.Path> Pathfinding.PathProcessor::OnPathPostSearch
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* ___OnPathPostSearch_1;
|
|
// System.Action Pathfinding.PathProcessor::OnQueueUnblocked
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnQueueUnblocked_2;
|
|
// Pathfinding.ThreadControlQueue Pathfinding.PathProcessor::queue
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* ___queue_3;
|
|
// AstarPath Pathfinding.PathProcessor::astar
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___astar_4;
|
|
// Pathfinding.PathReturnQueue Pathfinding.PathProcessor::returnQueue
|
|
PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* ___returnQueue_5;
|
|
// Pathfinding.PathHandler[] Pathfinding.PathProcessor::pathHandlers
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* ___pathHandlers_6;
|
|
// System.Threading.Thread[] Pathfinding.PathProcessor::threads
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* ___threads_7;
|
|
// System.Collections.IEnumerator Pathfinding.PathProcessor::threadCoroutine
|
|
RuntimeObject* ___threadCoroutine_8;
|
|
// System.Int32 Pathfinding.PathProcessor::nextNodeIndex
|
|
int32_t ___nextNodeIndex_9;
|
|
// System.Collections.Generic.Stack`1<System.Int32> Pathfinding.PathProcessor::nodeIndexPool
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* ___nodeIndexPool_10;
|
|
// System.Collections.Generic.List`1<System.Int32> Pathfinding.PathProcessor::locks
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___locks_11;
|
|
// System.Int32 Pathfinding.PathProcessor::nextLockID
|
|
int32_t ___nextLockID_12;
|
|
// UnityEngine.Profiling.CustomSampler Pathfinding.PathProcessor::profilingSampler
|
|
CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487* ___profilingSampler_13;
|
|
};
|
|
|
|
// Pathfinding.PathReturnQueue
|
|
struct PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.Queue`1<Pathfinding.Path> Pathfinding.PathReturnQueue::pathReturnQueue
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* ___pathReturnQueue_0;
|
|
// System.Object Pathfinding.PathReturnQueue::pathsClaimedSilentlyBy
|
|
RuntimeObject* ___pathsClaimedSilentlyBy_1;
|
|
};
|
|
|
|
// Pathfinding.Util.RetainedGizmos
|
|
struct RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<Pathfinding.Util.RetainedGizmos/MeshWithHash> Pathfinding.Util.RetainedGizmos::meshes
|
|
List_1_t5D9C322926B817A5785ECBEFC0167FB2BA8909CC* ___meshes_0;
|
|
// System.Collections.Generic.HashSet`1<System.UInt64> Pathfinding.Util.RetainedGizmos::usedHashes
|
|
HashSet_1_t69B3138379C60F0B2D0D83966D6FF40BF4B4256C* ___usedHashes_1;
|
|
// System.Collections.Generic.HashSet`1<System.UInt64> Pathfinding.Util.RetainedGizmos::existingHashes
|
|
HashSet_1_t69B3138379C60F0B2D0D83966D6FF40BF4B4256C* ___existingHashes_2;
|
|
// System.Collections.Generic.Stack`1<UnityEngine.Mesh> Pathfinding.Util.RetainedGizmos::cachedMeshes
|
|
Stack_1_tF9E13C26246873C383615C9CF8F8208CFB975FFA* ___cachedMeshes_3;
|
|
// UnityEngine.Material Pathfinding.Util.RetainedGizmos::surfaceMaterial
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___surfaceMaterial_4;
|
|
// UnityEngine.Material Pathfinding.Util.RetainedGizmos::lineMaterial
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___lineMaterial_5;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// System.Text.StringBuilder
|
|
struct StringBuilder_t : public RuntimeObject
|
|
{
|
|
// System.Char[] System.Text.StringBuilder::m_ChunkChars
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_ChunkChars_0;
|
|
// System.Text.StringBuilder System.Text.StringBuilder::m_ChunkPrevious
|
|
StringBuilder_t* ___m_ChunkPrevious_1;
|
|
// System.Int32 System.Text.StringBuilder::m_ChunkLength
|
|
int32_t ___m_ChunkLength_2;
|
|
// System.Int32 System.Text.StringBuilder::m_ChunkOffset
|
|
int32_t ___m_ChunkOffset_3;
|
|
// System.Int32 System.Text.StringBuilder::m_MaxCapacity
|
|
int32_t ___m_MaxCapacity_4;
|
|
};
|
|
|
|
// Pathfinding.ThreadControlQueue
|
|
struct ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92 : public RuntimeObject
|
|
{
|
|
// Pathfinding.Path Pathfinding.ThreadControlQueue::head
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___head_0;
|
|
// Pathfinding.Path Pathfinding.ThreadControlQueue::tail
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___tail_1;
|
|
// System.Object Pathfinding.ThreadControlQueue::lockObj
|
|
RuntimeObject* ___lockObj_2;
|
|
// System.Int32 Pathfinding.ThreadControlQueue::numReceivers
|
|
int32_t ___numReceivers_3;
|
|
// System.Boolean Pathfinding.ThreadControlQueue::blocked
|
|
bool ___blocked_4;
|
|
// System.Int32 Pathfinding.ThreadControlQueue::blockedReceivers
|
|
int32_t ___blockedReceivers_5;
|
|
// System.Boolean Pathfinding.ThreadControlQueue::starving
|
|
bool ___starving_6;
|
|
// System.Boolean Pathfinding.ThreadControlQueue::terminate
|
|
bool ___terminate_7;
|
|
// System.Threading.ManualResetEvent Pathfinding.ThreadControlQueue::block
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* ___block_8;
|
|
};
|
|
|
|
// 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
|
|
{
|
|
};
|
|
|
|
// System.Version
|
|
struct Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7 : public RuntimeObject
|
|
{
|
|
// System.Int32 System.Version::_Major
|
|
int32_t ____Major_0;
|
|
// System.Int32 System.Version::_Minor
|
|
int32_t ____Minor_1;
|
|
// System.Int32 System.Version::_Build
|
|
int32_t ____Build_2;
|
|
// System.Int32 System.Version::_Revision
|
|
int32_t ____Revision_3;
|
|
};
|
|
|
|
// Pathfinding.WorkItemProcessor
|
|
struct WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5 : public RuntimeObject
|
|
{
|
|
// System.Boolean Pathfinding.WorkItemProcessor::<workItemsInProgressRightNow>k__BackingField
|
|
bool ___U3CworkItemsInProgressRightNowU3Ek__BackingField_0;
|
|
// AstarPath Pathfinding.WorkItemProcessor::astar
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___astar_1;
|
|
// Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem> Pathfinding.WorkItemProcessor::workItems
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* ___workItems_2;
|
|
// System.Boolean Pathfinding.WorkItemProcessor::queuedWorkItemFloodFill
|
|
bool ___queuedWorkItemFloodFill_3;
|
|
// System.Boolean Pathfinding.WorkItemProcessor::anyGraphsDirty
|
|
bool ___anyGraphsDirty_4;
|
|
// System.Boolean Pathfinding.WorkItemProcessor::<workItemsInProgress>k__BackingField
|
|
bool ___U3CworkItemsInProgressU3Ek__BackingField_5;
|
|
};
|
|
|
|
// Pathfinding.GraphNode/<>c__DisplayClass60_0
|
|
struct U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB : public RuntimeObject
|
|
{
|
|
// Pathfinding.PathHandler Pathfinding.GraphNode/<>c__DisplayClass60_0::handler
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___handler_0;
|
|
// Pathfinding.PathNode Pathfinding.GraphNode/<>c__DisplayClass60_0::pathNode
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___pathNode_1;
|
|
// Pathfinding.Path Pathfinding.GraphNode/<>c__DisplayClass60_0::path
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___path_2;
|
|
};
|
|
|
|
// Pathfinding.GraphNode/<>c__DisplayClass65_0
|
|
struct U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1 : public RuntimeObject
|
|
{
|
|
// System.Boolean Pathfinding.GraphNode/<>c__DisplayClass65_0::contains
|
|
bool ___contains_0;
|
|
// Pathfinding.GraphNode Pathfinding.GraphNode/<>c__DisplayClass65_0::node
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_1;
|
|
};
|
|
|
|
// Pathfinding.GridGraph/<>c
|
|
struct U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.GridGraph/<>c__DisplayClass61_0
|
|
struct U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D : public RuntimeObject
|
|
{
|
|
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph/<>c__DisplayClass61_0::previousTransform
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___previousTransform_0;
|
|
// Pathfinding.GridGraph Pathfinding.GridGraph/<>c__DisplayClass61_0::<>4__this
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___U3CU3E4__this_1;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c
|
|
struct U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass11_0
|
|
struct U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6 : public RuntimeObject
|
|
{
|
|
// System.Int32 Pathfinding.NavGraph/<>c__DisplayClass11_0::count
|
|
int32_t ___count_0;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass12_0
|
|
struct U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F : public RuntimeObject
|
|
{
|
|
// System.Boolean Pathfinding.NavGraph/<>c__DisplayClass12_0::cont
|
|
bool ___cont_0;
|
|
// System.Func`2<Pathfinding.GraphNode,System.Boolean> Pathfinding.NavGraph/<>c__DisplayClass12_0::action
|
|
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___action_1;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass33_0
|
|
struct U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E : public RuntimeObject
|
|
{
|
|
// System.Single Pathfinding.NavGraph/<>c__DisplayClass33_0::size
|
|
float ___size_0;
|
|
};
|
|
|
|
// Pathfinding.NavmeshBase/<>c
|
|
struct U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
|
|
struct U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]> Pathfinding.NavmeshBase/<>c__DisplayClass74_0::conns
|
|
Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* ___conns_0;
|
|
};
|
|
|
|
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
|
|
struct NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Pathfinding.Path/<WaitForPath>d__54
|
|
struct U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871 : public RuntimeObject
|
|
{
|
|
// System.Int32 Pathfinding.Path/<WaitForPath>d__54::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object Pathfinding.Path/<WaitForPath>d__54::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// Pathfinding.Path Pathfinding.Path/<WaitForPath>d__54::<>4__this
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___U3CU3E4__this_2;
|
|
};
|
|
|
|
// Pathfinding.PathProcessor/<>c__DisplayClass24_0
|
|
struct U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392 : public RuntimeObject
|
|
{
|
|
// Pathfinding.PathHandler Pathfinding.PathProcessor/<>c__DisplayClass24_0::pathHandler
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___pathHandler_0;
|
|
// Pathfinding.PathProcessor Pathfinding.PathProcessor/<>c__DisplayClass24_0::<>4__this
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___U3CU3E4__this_1;
|
|
};
|
|
|
|
// Pathfinding.PathProcessor/<CalculatePaths>d__36
|
|
struct U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D : public RuntimeObject
|
|
{
|
|
// System.Int32 Pathfinding.PathProcessor/<CalculatePaths>d__36::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object Pathfinding.PathProcessor/<CalculatePaths>d__36::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// Pathfinding.PathProcessor Pathfinding.PathProcessor/<CalculatePaths>d__36::<>4__this
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___U3CU3E4__this_2;
|
|
// Pathfinding.PathHandler Pathfinding.PathProcessor/<CalculatePaths>d__36::pathHandler
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___pathHandler_3;
|
|
// System.Int64 Pathfinding.PathProcessor/<CalculatePaths>d__36::<maxTicks>5__2
|
|
int64_t ___U3CmaxTicksU3E5__2_4;
|
|
// System.Int64 Pathfinding.PathProcessor/<CalculatePaths>d__36::<targetTick>5__3
|
|
int64_t ___U3CtargetTickU3E5__3_5;
|
|
// Pathfinding.Path Pathfinding.PathProcessor/<CalculatePaths>d__36::<p>5__4
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___U3CpU3E5__4_6;
|
|
// System.Boolean Pathfinding.PathProcessor/<CalculatePaths>d__36::<blockedBefore>5__5
|
|
bool ___U3CblockedBeforeU3E5__5_7;
|
|
// Pathfinding.IPathInternals Pathfinding.PathProcessor/<CalculatePaths>d__36::<ip>5__6
|
|
RuntimeObject* ___U3CipU3E5__6_8;
|
|
// System.Int64 Pathfinding.PathProcessor/<CalculatePaths>d__36::<totalTicks>5__7
|
|
int64_t ___U3CtotalTicksU3E5__7_9;
|
|
};
|
|
|
|
// Pathfinding.Util.RetainedGizmos/Builder
|
|
struct Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Util.RetainedGizmos/Builder::lines
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___lines_0;
|
|
// System.Collections.Generic.List`1<UnityEngine.Color32> Pathfinding.Util.RetainedGizmos/Builder::lineColors
|
|
List_1_t3517D52AE25CA3B19051E691E9C06ED03A3AB9B8* ___lineColors_1;
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh> Pathfinding.Util.RetainedGizmos/Builder::meshes
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* ___meshes_2;
|
|
};
|
|
|
|
// Pathfinding.AstarWorkItem
|
|
struct AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469
|
|
{
|
|
// System.Action Pathfinding.AstarWorkItem::init
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___init_0;
|
|
// System.Action`1<Pathfinding.IWorkItemContext> Pathfinding.AstarWorkItem::initWithContext
|
|
Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* ___initWithContext_1;
|
|
// System.Func`2<System.Boolean,System.Boolean> Pathfinding.AstarWorkItem::update
|
|
Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___update_2;
|
|
// System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean> Pathfinding.AstarWorkItem::updateWithContext
|
|
Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___updateWithContext_3;
|
|
};
|
|
// Native definition for P/Invoke marshalling of Pathfinding.AstarWorkItem
|
|
struct AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_pinvoke
|
|
{
|
|
Il2CppMethodPointer ___init_0;
|
|
Il2CppMethodPointer ___initWithContext_1;
|
|
Il2CppMethodPointer ___update_2;
|
|
Il2CppMethodPointer ___updateWithContext_3;
|
|
};
|
|
// Native definition for COM marshalling of Pathfinding.AstarWorkItem
|
|
struct AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_com
|
|
{
|
|
Il2CppMethodPointer ___init_0;
|
|
Il2CppMethodPointer ___initWithContext_1;
|
|
Il2CppMethodPointer ___update_2;
|
|
Il2CppMethodPointer ___updateWithContext_3;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// UnityEngine.Color
|
|
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
|
|
{
|
|
// System.Single UnityEngine.Color::r
|
|
float ___r_0;
|
|
// System.Single UnityEngine.Color::g
|
|
float ___g_1;
|
|
// System.Single UnityEngine.Color::b
|
|
float ___b_2;
|
|
// System.Single UnityEngine.Color::a
|
|
float ___a_3;
|
|
};
|
|
|
|
// Pathfinding.Connection
|
|
struct Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0
|
|
{
|
|
// Pathfinding.GraphNode Pathfinding.Connection::node
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
// System.UInt32 Pathfinding.Connection::cost
|
|
uint32_t ___cost_1;
|
|
// System.Byte Pathfinding.Connection::shapeEdge
|
|
uint8_t ___shapeEdge_2;
|
|
};
|
|
// Native definition for P/Invoke marshalling of Pathfinding.Connection
|
|
struct Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_pinvoke
|
|
{
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
uint32_t ___cost_1;
|
|
uint8_t ___shapeEdge_2;
|
|
};
|
|
// Native definition for COM marshalling of Pathfinding.Connection
|
|
struct Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_com
|
|
{
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
uint32_t ___cost_1;
|
|
uint8_t ___shapeEdge_2;
|
|
};
|
|
|
|
// System.DateTime
|
|
struct DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D
|
|
{
|
|
// System.UInt64 System.DateTime::_dateData
|
|
uint64_t ____dateData_46;
|
|
};
|
|
|
|
// 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
|
|
{
|
|
};
|
|
|
|
// Pathfinding.GraphMask
|
|
struct GraphMask_t0D3B81600BFA722AB8C720E124358F9ABA57D404
|
|
{
|
|
// System.Int32 Pathfinding.GraphMask::value
|
|
int32_t ___value_0;
|
|
};
|
|
|
|
// Pathfinding.Util.Guid
|
|
struct Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A
|
|
{
|
|
// System.UInt64 Pathfinding.Util.Guid::_a
|
|
uint64_t ____a_3;
|
|
// System.UInt64 Pathfinding.Util.Guid::_b
|
|
uint64_t ____b_4;
|
|
};
|
|
|
|
// Pathfinding.Int2
|
|
struct Int2_tA237834D44F8B70CEF05461E599DAE1137180731
|
|
{
|
|
// System.Int32 Pathfinding.Int2::x
|
|
int32_t ___x_0;
|
|
// System.Int32 Pathfinding.Int2::y
|
|
int32_t ___y_1;
|
|
};
|
|
|
|
// Pathfinding.Int3
|
|
struct Int3_t3D1B990C798A218E8F705930EF9F0A373A439553
|
|
{
|
|
// System.Int32 Pathfinding.Int3::x
|
|
int32_t ___x_0;
|
|
// System.Int32 Pathfinding.Int3::y
|
|
int32_t ___y_1;
|
|
// System.Int32 Pathfinding.Int3::z
|
|
int32_t ___z_2;
|
|
};
|
|
|
|
// System.Int32
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
// System.Int32 System.Int32::m_value
|
|
int32_t ___m_value_0;
|
|
};
|
|
|
|
// System.Int64
|
|
struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
|
|
{
|
|
// System.Int64 System.Int64::m_value
|
|
int64_t ___m_value_0;
|
|
};
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
};
|
|
|
|
// Pathfinding.IntRect
|
|
struct IntRect_t60B6F9748EA84B611917F6C791199A0122F51312
|
|
{
|
|
// System.Int32 Pathfinding.IntRect::xmin
|
|
int32_t ___xmin_0;
|
|
// System.Int32 Pathfinding.IntRect::ymin
|
|
int32_t ___ymin_1;
|
|
// System.Int32 Pathfinding.IntRect::xmax
|
|
int32_t ___xmax_2;
|
|
// System.Int32 Pathfinding.IntRect::ymax
|
|
int32_t ___ymax_3;
|
|
};
|
|
|
|
// UnityEngine.LayerMask
|
|
struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
|
|
{
|
|
// System.Int32 UnityEngine.LayerMask::m_Mask
|
|
int32_t ___m_Mask_0;
|
|
};
|
|
|
|
// UnityEngine.Mathf
|
|
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682__padding[1];
|
|
};
|
|
};
|
|
|
|
// UnityEngine.Matrix4x4
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
|
|
{
|
|
// System.Single UnityEngine.Matrix4x4::m00
|
|
float ___m00_0;
|
|
// System.Single UnityEngine.Matrix4x4::m10
|
|
float ___m10_1;
|
|
// System.Single UnityEngine.Matrix4x4::m20
|
|
float ___m20_2;
|
|
// System.Single UnityEngine.Matrix4x4::m30
|
|
float ___m30_3;
|
|
// System.Single UnityEngine.Matrix4x4::m01
|
|
float ___m01_4;
|
|
// System.Single UnityEngine.Matrix4x4::m11
|
|
float ___m11_5;
|
|
// System.Single UnityEngine.Matrix4x4::m21
|
|
float ___m21_6;
|
|
// System.Single UnityEngine.Matrix4x4::m31
|
|
float ___m31_7;
|
|
// System.Single UnityEngine.Matrix4x4::m02
|
|
float ___m02_8;
|
|
// System.Single UnityEngine.Matrix4x4::m12
|
|
float ___m12_9;
|
|
// System.Single UnityEngine.Matrix4x4::m22
|
|
float ___m22_10;
|
|
// System.Single UnityEngine.Matrix4x4::m32
|
|
float ___m32_11;
|
|
// System.Single UnityEngine.Matrix4x4::m03
|
|
float ___m03_12;
|
|
// System.Single UnityEngine.Matrix4x4::m13
|
|
float ___m13_13;
|
|
// System.Single UnityEngine.Matrix4x4::m23
|
|
float ___m23_14;
|
|
// System.Single UnityEngine.Matrix4x4::m33
|
|
float ___m33_15;
|
|
};
|
|
|
|
// Pathfinding.Progress
|
|
struct Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8
|
|
{
|
|
// System.Single Pathfinding.Progress::progress
|
|
float ___progress_0;
|
|
// System.String Pathfinding.Progress::description
|
|
String_t* ___description_1;
|
|
};
|
|
// Native definition for P/Invoke marshalling of Pathfinding.Progress
|
|
struct Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_marshaled_pinvoke
|
|
{
|
|
float ___progress_0;
|
|
char* ___description_1;
|
|
};
|
|
// Native definition for COM marshalling of Pathfinding.Progress
|
|
struct Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_marshaled_com
|
|
{
|
|
float ___progress_0;
|
|
Il2CppChar* ___description_1;
|
|
};
|
|
|
|
// UnityEngine.Quaternion
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
|
|
{
|
|
// System.Single UnityEngine.Quaternion::x
|
|
float ___x_0;
|
|
// System.Single UnityEngine.Quaternion::y
|
|
float ___y_1;
|
|
// System.Single UnityEngine.Quaternion::z
|
|
float ___z_2;
|
|
// System.Single UnityEngine.Quaternion::w
|
|
float ___w_3;
|
|
};
|
|
|
|
// UnityEngine.Rect
|
|
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
|
|
{
|
|
// System.Single UnityEngine.Rect::m_XMin
|
|
float ___m_XMin_0;
|
|
// System.Single UnityEngine.Rect::m_YMin
|
|
float ___m_YMin_1;
|
|
// System.Single UnityEngine.Rect::m_Width
|
|
float ___m_Width_2;
|
|
// System.Single UnityEngine.Rect::m_Height
|
|
float ___m_Height_3;
|
|
};
|
|
|
|
// System.Single
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
// System.Single System.Single::m_value
|
|
float ___m_value_0;
|
|
};
|
|
|
|
// System.Threading.Thread
|
|
struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F : public CriticalFinalizerObject_t1DCAB623CAEA6529A96F5F3EDE3C7048A6E313C9
|
|
{
|
|
// System.Threading.InternalThread System.Threading.Thread::internal_thread
|
|
InternalThread_tF40B7BFCBD60C82BD8475A22FF5186CA10293687* ___internal_thread_6;
|
|
// System.Object System.Threading.Thread::m_ThreadStartArg
|
|
RuntimeObject* ___m_ThreadStartArg_7;
|
|
// System.Object System.Threading.Thread::pending_exception
|
|
RuntimeObject* ___pending_exception_8;
|
|
// System.MulticastDelegate System.Threading.Thread::m_Delegate
|
|
MulticastDelegate_t* ___m_Delegate_10;
|
|
// System.Threading.ExecutionContext System.Threading.Thread::m_ExecutionContext
|
|
ExecutionContext_t9D6EDFD92F0B2D391751963E2D77A8B03CB81710* ___m_ExecutionContext_11;
|
|
// System.Boolean System.Threading.Thread::m_ExecutionContextBelongsToOuterScope
|
|
bool ___m_ExecutionContextBelongsToOuterScope_12;
|
|
// System.Security.Principal.IPrincipal System.Threading.Thread::principal
|
|
RuntimeObject* ___principal_13;
|
|
// System.Int32 System.Threading.Thread::principal_version
|
|
int32_t ___principal_version_14;
|
|
};
|
|
|
|
// System.UInt16
|
|
struct UInt16_tF4C148C876015C212FD72652D0B6ED8CC247A455
|
|
{
|
|
// System.UInt16 System.UInt16::m_value
|
|
uint16_t ___m_value_0;
|
|
};
|
|
|
|
// System.UInt32
|
|
struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
|
|
{
|
|
// System.UInt32 System.UInt32::m_value
|
|
uint32_t ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.Vector2
|
|
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
|
|
{
|
|
// System.Single UnityEngine.Vector2::x
|
|
float ___x_0;
|
|
// System.Single UnityEngine.Vector2::y
|
|
float ___y_1;
|
|
};
|
|
|
|
// UnityEngine.Vector3
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
|
|
{
|
|
// System.Single UnityEngine.Vector3::x
|
|
float ___x_2;
|
|
// System.Single UnityEngine.Vector3::y
|
|
float ___y_3;
|
|
// System.Single UnityEngine.Vector3::z
|
|
float ___z_4;
|
|
};
|
|
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
|
|
// Pathfinding.PathProcessor/GraphUpdateLock
|
|
struct GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3
|
|
{
|
|
// Pathfinding.PathProcessor Pathfinding.PathProcessor/GraphUpdateLock::pathProcessor
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_0;
|
|
// System.Int32 Pathfinding.PathProcessor/GraphUpdateLock::id
|
|
int32_t ___id_1;
|
|
};
|
|
// Native definition for P/Invoke marshalling of Pathfinding.PathProcessor/GraphUpdateLock
|
|
struct GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_pinvoke
|
|
{
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_0;
|
|
int32_t ___id_1;
|
|
};
|
|
// Native definition for COM marshalling of Pathfinding.PathProcessor/GraphUpdateLock
|
|
struct GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_com
|
|
{
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_0;
|
|
int32_t ___id_1;
|
|
};
|
|
|
|
// Pathfinding.Util.RetainedGizmos/Hasher
|
|
struct Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B
|
|
{
|
|
// System.UInt64 Pathfinding.Util.RetainedGizmos/Hasher::hash
|
|
uint64_t ___hash_0;
|
|
// System.Boolean Pathfinding.Util.RetainedGizmos/Hasher::includePathSearchInfo
|
|
bool ___includePathSearchInfo_1;
|
|
// System.Boolean Pathfinding.Util.RetainedGizmos/Hasher::includeAreaInfo
|
|
bool ___includeAreaInfo_2;
|
|
// Pathfinding.PathHandler Pathfinding.Util.RetainedGizmos/Hasher::debugData
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___debugData_3;
|
|
};
|
|
// Native definition for P/Invoke marshalling of Pathfinding.Util.RetainedGizmos/Hasher
|
|
struct Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B_marshaled_pinvoke
|
|
{
|
|
uint64_t ___hash_0;
|
|
int32_t ___includePathSearchInfo_1;
|
|
int32_t ___includeAreaInfo_2;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___debugData_3;
|
|
};
|
|
// Native definition for COM marshalling of Pathfinding.Util.RetainedGizmos/Hasher
|
|
struct Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B_marshaled_com
|
|
{
|
|
uint64_t ___hash_0;
|
|
int32_t ___includePathSearchInfo_1;
|
|
int32_t ___includeAreaInfo_2;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___debugData_3;
|
|
};
|
|
|
|
// Pathfinding.AstarColor
|
|
struct AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Color Pathfinding.AstarColor::_SolidColor
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____SolidColor_0;
|
|
// UnityEngine.Color Pathfinding.AstarColor::_UnwalkableNode
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____UnwalkableNode_1;
|
|
// UnityEngine.Color Pathfinding.AstarColor::_BoundsHandles
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____BoundsHandles_2;
|
|
// UnityEngine.Color Pathfinding.AstarColor::_ConnectionLowLerp
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____ConnectionLowLerp_3;
|
|
// UnityEngine.Color Pathfinding.AstarColor::_ConnectionHighLerp
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____ConnectionHighLerp_4;
|
|
// UnityEngine.Color Pathfinding.AstarColor::_MeshEdgeColor
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____MeshEdgeColor_5;
|
|
// UnityEngine.Color[] Pathfinding.AstarColor::_AreaColors
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ____AreaColors_6;
|
|
};
|
|
|
|
// UnityEngine.Bounds
|
|
struct Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Center_0;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Extents_1;
|
|
};
|
|
|
|
// Pathfinding.ColliderType
|
|
struct ColliderType_t6AB78C3E1351F957D7208760E224F941FC9370C5
|
|
{
|
|
// System.Int32 Pathfinding.ColliderType::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.ContactFilter2D
|
|
struct ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14
|
|
{
|
|
// System.Boolean UnityEngine.ContactFilter2D::useTriggers
|
|
bool ___useTriggers_0;
|
|
// System.Boolean UnityEngine.ContactFilter2D::useLayerMask
|
|
bool ___useLayerMask_1;
|
|
// System.Boolean UnityEngine.ContactFilter2D::useDepth
|
|
bool ___useDepth_2;
|
|
// System.Boolean UnityEngine.ContactFilter2D::useOutsideDepth
|
|
bool ___useOutsideDepth_3;
|
|
// System.Boolean UnityEngine.ContactFilter2D::useNormalAngle
|
|
bool ___useNormalAngle_4;
|
|
// System.Boolean UnityEngine.ContactFilter2D::useOutsideNormalAngle
|
|
bool ___useOutsideNormalAngle_5;
|
|
// UnityEngine.LayerMask UnityEngine.ContactFilter2D::layerMask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___layerMask_6;
|
|
// System.Single UnityEngine.ContactFilter2D::minDepth
|
|
float ___minDepth_7;
|
|
// System.Single UnityEngine.ContactFilter2D::maxDepth
|
|
float ___maxDepth_8;
|
|
// System.Single UnityEngine.ContactFilter2D::minNormalAngle
|
|
float ___minNormalAngle_9;
|
|
// System.Single UnityEngine.ContactFilter2D::maxNormalAngle
|
|
float ___maxNormalAngle_10;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.ContactFilter2D
|
|
struct ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14_marshaled_pinvoke
|
|
{
|
|
int32_t ___useTriggers_0;
|
|
int32_t ___useLayerMask_1;
|
|
int32_t ___useDepth_2;
|
|
int32_t ___useOutsideDepth_3;
|
|
int32_t ___useNormalAngle_4;
|
|
int32_t ___useOutsideNormalAngle_5;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___layerMask_6;
|
|
float ___minDepth_7;
|
|
float ___maxDepth_8;
|
|
float ___minNormalAngle_9;
|
|
float ___maxNormalAngle_10;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.ContactFilter2D
|
|
struct ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14_marshaled_com
|
|
{
|
|
int32_t ___useTriggers_0;
|
|
int32_t ___useLayerMask_1;
|
|
int32_t ___useDepth_2;
|
|
int32_t ___useOutsideDepth_3;
|
|
int32_t ___useNormalAngle_4;
|
|
int32_t ___useOutsideNormalAngle_5;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___layerMask_6;
|
|
float ___minDepth_7;
|
|
float ___maxDepth_8;
|
|
float ___minNormalAngle_9;
|
|
float ___maxNormalAngle_10;
|
|
};
|
|
|
|
// System.Delegate
|
|
struct Delegate_t : public RuntimeObject
|
|
{
|
|
// System.IntPtr System.Delegate::method_ptr
|
|
intptr_t ___method_ptr_0;
|
|
// System.IntPtr System.Delegate::invoke_impl
|
|
intptr_t ___invoke_impl_1;
|
|
// System.Object System.Delegate::m_target
|
|
RuntimeObject* ___m_target_2;
|
|
// System.IntPtr System.Delegate::method
|
|
intptr_t ___method_3;
|
|
// System.IntPtr System.Delegate::delegate_trampoline
|
|
intptr_t ___delegate_trampoline_4;
|
|
// System.IntPtr System.Delegate::extra_arg
|
|
intptr_t ___extra_arg_5;
|
|
// System.IntPtr System.Delegate::method_code
|
|
intptr_t ___method_code_6;
|
|
// System.IntPtr System.Delegate::interp_method
|
|
intptr_t ___interp_method_7;
|
|
// System.IntPtr System.Delegate::interp_invoke_impl
|
|
intptr_t ___interp_invoke_impl_8;
|
|
// System.Reflection.MethodInfo System.Delegate::method_info
|
|
MethodInfo_t* ___method_info_9;
|
|
// System.Reflection.MethodInfo System.Delegate::original_method_info
|
|
MethodInfo_t* ___original_method_info_10;
|
|
// System.DelegateData System.Delegate::data
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
// System.Boolean System.Delegate::method_is_virtual
|
|
bool ___method_is_virtual_12;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_pinvoke
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
// Native definition for COM marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_com
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
|
|
// UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Event::m_Ptr
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB_marshaled_com
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
|
|
// UnityEngine.EventType
|
|
struct EventType_tC62F0D77DB08D7326B58B2D8CF43BD45CFD3203E
|
|
{
|
|
// System.Int32 UnityEngine.EventType::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// Pathfinding.GraphDebugMode
|
|
struct GraphDebugMode_t594C2969498E14C2A34F6E07010CCF6DF31746D3
|
|
{
|
|
// System.Int32 Pathfinding.GraphDebugMode::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.GraphNode
|
|
struct GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A : public RuntimeObject
|
|
{
|
|
// System.Int32 Pathfinding.GraphNode::nodeIndex
|
|
int32_t ___nodeIndex_0;
|
|
// System.UInt32 Pathfinding.GraphNode::flags
|
|
uint32_t ___flags_1;
|
|
// System.UInt32 Pathfinding.GraphNode::penalty
|
|
uint32_t ___penalty_2;
|
|
// Pathfinding.Int3 Pathfinding.GraphNode::position
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___position_7;
|
|
};
|
|
|
|
// Pathfinding.Util.GraphTransform
|
|
struct GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426 : public RuntimeObject
|
|
{
|
|
// System.Boolean Pathfinding.Util.GraphTransform::identity
|
|
bool ___identity_0;
|
|
// System.Boolean Pathfinding.Util.GraphTransform::onlyTranslational
|
|
bool ___onlyTranslational_1;
|
|
// System.Boolean Pathfinding.Util.GraphTransform::isXY
|
|
bool ___isXY_2;
|
|
// System.Boolean Pathfinding.Util.GraphTransform::isXZ
|
|
bool ___isXZ_3;
|
|
// UnityEngine.Matrix4x4 Pathfinding.Util.GraphTransform::matrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___matrix_4;
|
|
// UnityEngine.Matrix4x4 Pathfinding.Util.GraphTransform::inverseMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___inverseMatrix_5;
|
|
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::up
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___up_6;
|
|
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::translation
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___translation_7;
|
|
// Pathfinding.Int3 Pathfinding.Util.GraphTransform::i3translation
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___i3translation_8;
|
|
// UnityEngine.Quaternion Pathfinding.Util.GraphTransform::rotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_9;
|
|
// UnityEngine.Quaternion Pathfinding.Util.GraphTransform::inverseRotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___inverseRotation_10;
|
|
};
|
|
|
|
// Pathfinding.GraphUpdateShape
|
|
struct GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3[] Pathfinding.GraphUpdateShape::_points
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____points_0;
|
|
// UnityEngine.Vector3[] Pathfinding.GraphUpdateShape::_convexPoints
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____convexPoints_1;
|
|
// System.Boolean Pathfinding.GraphUpdateShape::_convex
|
|
bool ____convex_2;
|
|
// UnityEngine.Vector3 Pathfinding.GraphUpdateShape::right
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___right_3;
|
|
// UnityEngine.Vector3 Pathfinding.GraphUpdateShape::forward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forward_4;
|
|
// UnityEngine.Vector3 Pathfinding.GraphUpdateShape::up
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___up_5;
|
|
// UnityEngine.Vector3 Pathfinding.GraphUpdateShape::origin
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___origin_6;
|
|
// System.Single Pathfinding.GraphUpdateShape::minimumHeight
|
|
float ___minimumHeight_7;
|
|
};
|
|
|
|
// Pathfinding.GraphUpdateThreading
|
|
struct GraphUpdateThreading_tA53130F64E947753F7C4AAEF5D50472660F7A27B
|
|
{
|
|
// System.Int32 Pathfinding.GraphUpdateThreading::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.Heuristic
|
|
struct Heuristic_t682FD4AD16A830982AE098B3901C9BA07E1AE888
|
|
{
|
|
// System.Int32 Pathfinding.Heuristic::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.InspectorGridHexagonNodeSize
|
|
struct InspectorGridHexagonNodeSize_tEE87738014F31098C87CE0DCA94342EFBDA77B37
|
|
{
|
|
// System.Int32 Pathfinding.InspectorGridHexagonNodeSize::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.InspectorGridMode
|
|
struct InspectorGridMode_t808D76F52FFED436BADC661BE22F910D80AD14E0
|
|
{
|
|
// System.Int32 Pathfinding.InspectorGridMode::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.NNConstraint
|
|
struct NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5 : public RuntimeObject
|
|
{
|
|
// Pathfinding.GraphMask Pathfinding.NNConstraint::graphMask
|
|
GraphMask_t0D3B81600BFA722AB8C720E124358F9ABA57D404 ___graphMask_0;
|
|
// System.Boolean Pathfinding.NNConstraint::constrainArea
|
|
bool ___constrainArea_1;
|
|
// System.Int32 Pathfinding.NNConstraint::area
|
|
int32_t ___area_2;
|
|
// System.Boolean Pathfinding.NNConstraint::constrainWalkability
|
|
bool ___constrainWalkability_3;
|
|
// System.Boolean Pathfinding.NNConstraint::walkable
|
|
bool ___walkable_4;
|
|
// System.Boolean Pathfinding.NNConstraint::distanceXZ
|
|
bool ___distanceXZ_5;
|
|
// System.Boolean Pathfinding.NNConstraint::constrainTags
|
|
bool ___constrainTags_6;
|
|
// System.Int32 Pathfinding.NNConstraint::tags
|
|
int32_t ___tags_7;
|
|
// System.Boolean Pathfinding.NNConstraint::constrainDistance
|
|
bool ___constrainDistance_8;
|
|
};
|
|
|
|
// Pathfinding.NNInfoInternal
|
|
struct NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801
|
|
{
|
|
// Pathfinding.GraphNode Pathfinding.NNInfoInternal::node
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
// Pathfinding.GraphNode Pathfinding.NNInfoInternal::constrainedNode
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___constrainedNode_1;
|
|
// UnityEngine.Vector3 Pathfinding.NNInfoInternal::clampedPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedPosition_2;
|
|
// UnityEngine.Vector3 Pathfinding.NNInfoInternal::constClampedPosition
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___constClampedPosition_3;
|
|
};
|
|
// Native definition for P/Invoke marshalling of Pathfinding.NNInfoInternal
|
|
struct NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801_marshaled_pinvoke
|
|
{
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___constrainedNode_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedPosition_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___constClampedPosition_3;
|
|
};
|
|
// Native definition for COM marshalling of Pathfinding.NNInfoInternal
|
|
struct NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801_marshaled_com
|
|
{
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___node_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___constrainedNode_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___clampedPosition_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___constClampedPosition_3;
|
|
};
|
|
|
|
// Pathfinding.NavGraph
|
|
struct NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0 : public RuntimeObject
|
|
{
|
|
// AstarPath Pathfinding.NavGraph::active
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___active_0;
|
|
// Pathfinding.Util.Guid Pathfinding.NavGraph::guid
|
|
Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A ___guid_1;
|
|
// System.UInt32 Pathfinding.NavGraph::initialPenalty
|
|
uint32_t ___initialPenalty_2;
|
|
// System.Boolean Pathfinding.NavGraph::open
|
|
bool ___open_3;
|
|
// System.UInt32 Pathfinding.NavGraph::graphIndex
|
|
uint32_t ___graphIndex_4;
|
|
// System.String Pathfinding.NavGraph::name
|
|
String_t* ___name_5;
|
|
// System.Boolean Pathfinding.NavGraph::drawGizmos
|
|
bool ___drawGizmos_6;
|
|
// System.Boolean Pathfinding.NavGraph::infoScreenOpen
|
|
bool ___infoScreenOpen_7;
|
|
// System.String Pathfinding.NavGraph::serializedEditorSettings
|
|
String_t* ___serializedEditorSettings_8;
|
|
// UnityEngine.Matrix4x4 Pathfinding.NavGraph::matrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___matrix_9;
|
|
// UnityEngine.Matrix4x4 Pathfinding.NavGraph::inverseMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___inverseMatrix_10;
|
|
};
|
|
|
|
// Pathfinding.NumNeighbours
|
|
struct NumNeighbours_tE73E49796B97DBF8D03330BA237C8FF81B53368F
|
|
{
|
|
// System.Int32 Pathfinding.NumNeighbours::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Object::m_CachedPtr
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
// Pathfinding.PathCompleteState
|
|
struct PathCompleteState_tE8C58BD32B43D49750064066CE12F7467F63D700
|
|
{
|
|
// System.Int32 Pathfinding.PathCompleteState::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.PathLog
|
|
struct PathLog_t77F45694699941A640940A2DD18E53EE513C99A6
|
|
{
|
|
// System.Int32 Pathfinding.PathLog::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.PathState
|
|
struct PathState_tC6833B9DC1F70871D5FB2B6D62ACFEEA6C32C8FB
|
|
{
|
|
// System.Int32 Pathfinding.PathState::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.QueryTriggerInteraction
|
|
struct QueryTriggerInteraction_t5AA443202C8B671F391534A002B7CF48A1412D23
|
|
{
|
|
// System.Int32 UnityEngine.QueryTriggerInteraction::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.Ray
|
|
struct Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Ray::m_Origin
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Origin_0;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::m_Direction
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Direction_1;
|
|
};
|
|
|
|
// Pathfinding.RayDirection
|
|
struct RayDirection_t2BA2B259A3B431815E82FB4F5D546DDC38BBE01B
|
|
{
|
|
// System.Int32 Pathfinding.RayDirection::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// UnityEngine.RaycastHit
|
|
struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Point
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point_0;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Normal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal_1;
|
|
// System.UInt32 UnityEngine.RaycastHit::m_FaceID
|
|
uint32_t ___m_FaceID_2;
|
|
// System.Single UnityEngine.RaycastHit::m_Distance
|
|
float ___m_Distance_3;
|
|
// UnityEngine.Vector2 UnityEngine.RaycastHit::m_UV
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV_4;
|
|
// System.Int32 UnityEngine.RaycastHit::m_Collider
|
|
int32_t ___m_Collider_5;
|
|
};
|
|
|
|
// System.RuntimeFieldHandle
|
|
struct RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5
|
|
{
|
|
// System.IntPtr System.RuntimeFieldHandle::value
|
|
intptr_t ___value_0;
|
|
};
|
|
|
|
// System.RuntimeTypeHandle
|
|
struct RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
|
|
{
|
|
// System.IntPtr System.RuntimeTypeHandle::value
|
|
intptr_t ___value_0;
|
|
};
|
|
|
|
// UnityEngine.Profiling.Sampler
|
|
struct Sampler_t5AC6EA95DC44B5F830F9E8351D37B2A0AC5678E5 : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Profiling.Sampler::m_Ptr
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
|
|
// Pathfinding.ThreadCount
|
|
struct ThreadCount_tF5C773E982AEB9688A7BD5B315F902627D59D6F0
|
|
{
|
|
// System.Int32 Pathfinding.ThreadCount::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// System.Threading.WaitHandle
|
|
struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8 : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE
|
|
{
|
|
// System.IntPtr System.Threading.WaitHandle::waitHandle
|
|
intptr_t ___waitHandle_3;
|
|
// Microsoft.Win32.SafeHandles.SafeWaitHandle modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.WaitHandle::safeWaitHandle
|
|
SafeWaitHandle_t58F5662CD56F6462A687198A64987F8980804449* ___safeWaitHandle_4;
|
|
// System.Boolean System.Threading.WaitHandle::hasThreadAffinity
|
|
bool ___hasThreadAffinity_5;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Threading.WaitHandle
|
|
struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_marshaled_pinvoke : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
|
|
{
|
|
intptr_t ___waitHandle_3;
|
|
void* ___safeWaitHandle_4;
|
|
int32_t ___hasThreadAffinity_5;
|
|
};
|
|
// Native definition for COM marshalling of System.Threading.WaitHandle
|
|
struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_marshaled_com : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
|
|
{
|
|
intptr_t ___waitHandle_3;
|
|
void* ___safeWaitHandle_4;
|
|
int32_t ___hasThreadAffinity_5;
|
|
};
|
|
|
|
// AstarPath/AstarDistribution
|
|
struct AstarDistribution_t809CED9BB018B0954EED823E1A8866AD98E71394
|
|
{
|
|
// System.Int32 AstarPath/AstarDistribution::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.GraphModifier/EventType
|
|
struct EventType_tB13347EDB89A3DF21B045D7A3A1683A53AF7C8E4
|
|
{
|
|
// System.Int32 Pathfinding.GraphModifier/EventType::value__
|
|
int32_t ___value___2;
|
|
};
|
|
|
|
// Pathfinding.GridGraph/<ScanInternal>d__88
|
|
struct U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB : public RuntimeObject
|
|
{
|
|
// System.Int32 Pathfinding.GridGraph/<ScanInternal>d__88::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// Pathfinding.Progress Pathfinding.GridGraph/<ScanInternal>d__88::<>2__current
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 ___U3CU3E2__current_1;
|
|
// System.Int32 Pathfinding.GridGraph/<ScanInternal>d__88::<>l__initialThreadId
|
|
int32_t ___U3CU3El__initialThreadId_2;
|
|
// Pathfinding.GridGraph Pathfinding.GridGraph/<ScanInternal>d__88::<>4__this
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___U3CU3E4__this_3;
|
|
// System.Int32 Pathfinding.GridGraph/<ScanInternal>d__88::<progressCounter>5__2
|
|
int32_t ___U3CprogressCounterU3E5__2_4;
|
|
// System.Int32 Pathfinding.GridGraph/<ScanInternal>d__88::<z>5__3
|
|
int32_t ___U3CzU3E5__3_5;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass18_0
|
|
struct U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Matrix4x4 Pathfinding.NavGraph/<>c__DisplayClass18_0::deltaMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___deltaMatrix_0;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass21_0
|
|
struct U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3 Pathfinding.NavGraph/<>c__DisplayClass21_0::position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_0;
|
|
// System.Single Pathfinding.NavGraph/<>c__DisplayClass21_0::minDist
|
|
float ___minDist_1;
|
|
// Pathfinding.GraphNode Pathfinding.NavGraph/<>c__DisplayClass21_0::minNode
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___minNode_2;
|
|
// System.Single Pathfinding.NavGraph/<>c__DisplayClass21_0::minConstDist
|
|
float ___minConstDist_3;
|
|
// System.Single Pathfinding.NavGraph/<>c__DisplayClass21_0::maxDistSqr
|
|
float ___maxDistSqr_4;
|
|
// Pathfinding.NNConstraint Pathfinding.NavGraph/<>c__DisplayClass21_0::constraint
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___constraint_5;
|
|
// Pathfinding.GraphNode Pathfinding.NavGraph/<>c__DisplayClass21_0::minConstNode
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___minConstNode_6;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass32_0
|
|
struct U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C : public RuntimeObject
|
|
{
|
|
// Pathfinding.Util.RetainedGizmos/Hasher Pathfinding.NavGraph/<>c__DisplayClass32_0::hasher
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B ___hasher_0;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Profiling.CustomSampler
|
|
struct CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487 : public Sampler_t5AC6EA95DC44B5F830F9E8351D37B2A0AC5678E5
|
|
{
|
|
};
|
|
|
|
// System.Threading.EventWaitHandle
|
|
struct EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E : public WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8
|
|
{
|
|
};
|
|
|
|
// Pathfinding.GraphCollision
|
|
struct GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9 : public RuntimeObject
|
|
{
|
|
// Pathfinding.ColliderType Pathfinding.GraphCollision::type
|
|
int32_t ___type_0;
|
|
// System.Single Pathfinding.GraphCollision::diameter
|
|
float ___diameter_1;
|
|
// System.Single Pathfinding.GraphCollision::height
|
|
float ___height_2;
|
|
// System.Single Pathfinding.GraphCollision::collisionOffset
|
|
float ___collisionOffset_3;
|
|
// Pathfinding.RayDirection Pathfinding.GraphCollision::rayDirection
|
|
int32_t ___rayDirection_4;
|
|
// UnityEngine.LayerMask Pathfinding.GraphCollision::mask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask_5;
|
|
// UnityEngine.LayerMask Pathfinding.GraphCollision::heightMask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___heightMask_6;
|
|
// System.Single Pathfinding.GraphCollision::fromHeight
|
|
float ___fromHeight_7;
|
|
// System.Boolean Pathfinding.GraphCollision::thickRaycast
|
|
bool ___thickRaycast_8;
|
|
// System.Single Pathfinding.GraphCollision::thickRaycastDiameter
|
|
float ___thickRaycastDiameter_9;
|
|
// System.Boolean Pathfinding.GraphCollision::unwalkableWhenNoGround
|
|
bool ___unwalkableWhenNoGround_10;
|
|
// System.Boolean Pathfinding.GraphCollision::use2D
|
|
bool ___use2D_11;
|
|
// System.Boolean Pathfinding.GraphCollision::collisionCheck
|
|
bool ___collisionCheck_12;
|
|
// System.Boolean Pathfinding.GraphCollision::heightCheck
|
|
bool ___heightCheck_13;
|
|
// UnityEngine.Vector3 Pathfinding.GraphCollision::up
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___up_14;
|
|
// UnityEngine.Vector3 Pathfinding.GraphCollision::upheight
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upheight_15;
|
|
// UnityEngine.ContactFilter2D Pathfinding.GraphCollision::contactFilter
|
|
ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 ___contactFilter_16;
|
|
// System.Single Pathfinding.GraphCollision::finalRadius
|
|
float ___finalRadius_18;
|
|
// System.Single Pathfinding.GraphCollision::finalRaycastRadius
|
|
float ___finalRaycastRadius_19;
|
|
// UnityEngine.RaycastHit[] Pathfinding.GraphCollision::hitBuffer
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* ___hitBuffer_21;
|
|
};
|
|
|
|
// Pathfinding.Util.GraphGizmoHelper
|
|
struct GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2 : public RuntimeObject
|
|
{
|
|
// Pathfinding.Util.RetainedGizmos/Hasher Pathfinding.Util.GraphGizmoHelper::<hasher>k__BackingField
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B ___U3ChasherU3Ek__BackingField_0;
|
|
// Pathfinding.Util.RetainedGizmos Pathfinding.Util.GraphGizmoHelper::gizmos
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* ___gizmos_1;
|
|
// Pathfinding.PathHandler Pathfinding.Util.GraphGizmoHelper::debugData
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___debugData_2;
|
|
// System.UInt16 Pathfinding.Util.GraphGizmoHelper::debugPathID
|
|
uint16_t ___debugPathID_3;
|
|
// Pathfinding.GraphDebugMode Pathfinding.Util.GraphGizmoHelper::debugMode
|
|
int32_t ___debugMode_4;
|
|
// System.Boolean Pathfinding.Util.GraphGizmoHelper::showSearchTree
|
|
bool ___showSearchTree_5;
|
|
// System.Single Pathfinding.Util.GraphGizmoHelper::debugFloor
|
|
float ___debugFloor_6;
|
|
// System.Single Pathfinding.Util.GraphGizmoHelper::debugRoof
|
|
float ___debugRoof_7;
|
|
// Pathfinding.Util.RetainedGizmos/Builder Pathfinding.Util.GraphGizmoHelper::<builder>k__BackingField
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* ___U3CbuilderU3Ek__BackingField_8;
|
|
// UnityEngine.Vector3 Pathfinding.Util.GraphGizmoHelper::drawConnectionStart
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___drawConnectionStart_9;
|
|
// UnityEngine.Color Pathfinding.Util.GraphGizmoHelper::drawConnectionColor
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___drawConnectionColor_10;
|
|
// System.Action`1<Pathfinding.GraphNode> Pathfinding.Util.GraphGizmoHelper::drawConnection
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___drawConnection_11;
|
|
};
|
|
|
|
// Pathfinding.GraphUpdateObject
|
|
struct GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Bounds Pathfinding.GraphUpdateObject::bounds
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___bounds_0;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::updatePhysics
|
|
bool ___updatePhysics_1;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::resetPenaltyOnPhysics
|
|
bool ___resetPenaltyOnPhysics_2;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::updateErosion
|
|
bool ___updateErosion_3;
|
|
// Pathfinding.NNConstraint Pathfinding.GraphUpdateObject::nnConstraint
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___nnConstraint_4;
|
|
// System.Int32 Pathfinding.GraphUpdateObject::addPenalty
|
|
int32_t ___addPenalty_5;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::modifyWalkability
|
|
bool ___modifyWalkability_6;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::setWalkability
|
|
bool ___setWalkability_7;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::modifyTag
|
|
bool ___modifyTag_8;
|
|
// System.Int32 Pathfinding.GraphUpdateObject::setTag
|
|
int32_t ___setTag_9;
|
|
// System.Boolean Pathfinding.GraphUpdateObject::trackChangedNodes
|
|
bool ___trackChangedNodes_10;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GraphUpdateObject::changedNodes
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___changedNodes_11;
|
|
// System.Collections.Generic.List`1<System.UInt32> Pathfinding.GraphUpdateObject::backupData
|
|
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A* ___backupData_12;
|
|
// System.Collections.Generic.List`1<Pathfinding.Int3> Pathfinding.GraphUpdateObject::backupPositionData
|
|
List_1_t2D193AD9DEA93BB987A194E35B94812AA94FA200* ___backupPositionData_13;
|
|
// Pathfinding.GraphUpdateShape Pathfinding.GraphUpdateObject::shape
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___shape_14;
|
|
// System.Int32 Pathfinding.GraphUpdateObject::internalStage
|
|
int32_t ___internalStage_15;
|
|
};
|
|
|
|
// Pathfinding.GridGraph
|
|
struct GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC : public NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0
|
|
{
|
|
// Pathfinding.InspectorGridMode Pathfinding.GridGraph::inspectorGridMode
|
|
int32_t ___inspectorGridMode_11;
|
|
// Pathfinding.InspectorGridHexagonNodeSize Pathfinding.GridGraph::inspectorHexagonSizeMode
|
|
int32_t ___inspectorHexagonSizeMode_12;
|
|
// System.Int32 Pathfinding.GridGraph::width
|
|
int32_t ___width_13;
|
|
// System.Int32 Pathfinding.GridGraph::depth
|
|
int32_t ___depth_14;
|
|
// System.Single Pathfinding.GridGraph::aspectRatio
|
|
float ___aspectRatio_15;
|
|
// System.Single Pathfinding.GridGraph::isometricAngle
|
|
float ___isometricAngle_16;
|
|
// System.Boolean Pathfinding.GridGraph::uniformEdgeCosts
|
|
bool ___uniformEdgeCosts_19;
|
|
// UnityEngine.Vector3 Pathfinding.GridGraph::rotation
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rotation_20;
|
|
// UnityEngine.Vector3 Pathfinding.GridGraph::center
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___center_21;
|
|
// UnityEngine.Vector2 Pathfinding.GridGraph::unclampedSize
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___unclampedSize_22;
|
|
// System.Single Pathfinding.GridGraph::nodeSize
|
|
float ___nodeSize_23;
|
|
// Pathfinding.GraphCollision Pathfinding.GridGraph::collision
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* ___collision_24;
|
|
// System.Single Pathfinding.GridGraph::maxClimb
|
|
float ___maxClimb_25;
|
|
// System.Single Pathfinding.GridGraph::maxSlope
|
|
float ___maxSlope_26;
|
|
// System.Int32 Pathfinding.GridGraph::erodeIterations
|
|
int32_t ___erodeIterations_27;
|
|
// System.Boolean Pathfinding.GridGraph::erosionUseTags
|
|
bool ___erosionUseTags_28;
|
|
// System.Int32 Pathfinding.GridGraph::erosionFirstTag
|
|
int32_t ___erosionFirstTag_29;
|
|
// Pathfinding.NumNeighbours Pathfinding.GridGraph::neighbours
|
|
int32_t ___neighbours_30;
|
|
// System.Boolean Pathfinding.GridGraph::cutCorners
|
|
bool ___cutCorners_31;
|
|
// System.Single Pathfinding.GridGraph::penaltyPositionOffset
|
|
float ___penaltyPositionOffset_32;
|
|
// System.Boolean Pathfinding.GridGraph::penaltyPosition
|
|
bool ___penaltyPosition_33;
|
|
// System.Single Pathfinding.GridGraph::penaltyPositionFactor
|
|
float ___penaltyPositionFactor_34;
|
|
// System.Boolean Pathfinding.GridGraph::penaltyAngle
|
|
bool ___penaltyAngle_35;
|
|
// System.Single Pathfinding.GridGraph::penaltyAngleFactor
|
|
float ___penaltyAngleFactor_36;
|
|
// System.Single Pathfinding.GridGraph::penaltyAnglePower
|
|
float ___penaltyAnglePower_37;
|
|
// System.Boolean Pathfinding.GridGraph::showMeshOutline
|
|
bool ___showMeshOutline_38;
|
|
// System.Boolean Pathfinding.GridGraph::showNodeConnections
|
|
bool ___showNodeConnections_39;
|
|
// System.Boolean Pathfinding.GridGraph::showMeshSurface
|
|
bool ___showMeshSurface_40;
|
|
// UnityEngine.Vector2 Pathfinding.GridGraph::<size>k__BackingField
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CsizeU3Ek__BackingField_41;
|
|
// System.Int32[] Pathfinding.GridGraph::neighbourOffsets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighbourOffsets_42;
|
|
// System.UInt32[] Pathfinding.GridGraph::neighbourCosts
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___neighbourCosts_43;
|
|
// System.Int32[] Pathfinding.GridGraph::neighbourXOffsets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighbourXOffsets_44;
|
|
// System.Int32[] Pathfinding.GridGraph::neighbourZOffsets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___neighbourZOffsets_45;
|
|
// Pathfinding.GridNode[] Pathfinding.GridGraph::nodes
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* ___nodes_48;
|
|
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::<transform>k__BackingField
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___U3CtransformU3Ek__BackingField_49;
|
|
};
|
|
|
|
// Pathfinding.GridNodeBase
|
|
struct GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25 : public GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A
|
|
{
|
|
// System.Int32 Pathfinding.GridNodeBase::nodeInGridIndex
|
|
int32_t ___nodeInGridIndex_26;
|
|
// System.UInt16 Pathfinding.GridNodeBase::gridFlags
|
|
uint16_t ___gridFlags_27;
|
|
// Pathfinding.Connection[] Pathfinding.GridNodeBase::connections
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___connections_28;
|
|
};
|
|
|
|
// Pathfinding.MeshNode
|
|
struct MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095 : public GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A
|
|
{
|
|
// Pathfinding.Connection[] Pathfinding.MeshNode::connections
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___connections_20;
|
|
};
|
|
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t : public Delegate_t
|
|
{
|
|
// System.Delegate[] System.MulticastDelegate::delegates
|
|
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
|
|
{
|
|
Delegate_t_marshaled_pinvoke** ___delegates_13;
|
|
};
|
|
// Native definition for COM marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
|
|
{
|
|
Delegate_t_marshaled_com** ___delegates_13;
|
|
};
|
|
|
|
// Pathfinding.NavmeshBase
|
|
struct NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704 : public NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0
|
|
{
|
|
// UnityEngine.Vector3 Pathfinding.NavmeshBase::forcedBoundsSize
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forcedBoundsSize_14;
|
|
// System.Boolean Pathfinding.NavmeshBase::showMeshOutline
|
|
bool ___showMeshOutline_15;
|
|
// System.Boolean Pathfinding.NavmeshBase::showNodeConnections
|
|
bool ___showNodeConnections_16;
|
|
// System.Boolean Pathfinding.NavmeshBase::showMeshSurface
|
|
bool ___showMeshSurface_17;
|
|
// System.Int32 Pathfinding.NavmeshBase::tileXCount
|
|
int32_t ___tileXCount_18;
|
|
// System.Int32 Pathfinding.NavmeshBase::tileZCount
|
|
int32_t ___tileZCount_19;
|
|
// Pathfinding.NavmeshTile[] Pathfinding.NavmeshBase::tiles
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___tiles_20;
|
|
// System.Boolean Pathfinding.NavmeshBase::nearestSearchOnlyXZ
|
|
bool ___nearestSearchOnlyXZ_21;
|
|
// System.Boolean Pathfinding.NavmeshBase::enableNavmeshCutting
|
|
bool ___enableNavmeshCutting_22;
|
|
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings Pathfinding.NavmeshBase::navmeshUpdateData
|
|
NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F* ___navmeshUpdateData_23;
|
|
// System.Boolean Pathfinding.NavmeshBase::batchTileUpdate
|
|
bool ___batchTileUpdate_24;
|
|
// System.Collections.Generic.List`1<System.Int32> Pathfinding.NavmeshBase::batchUpdatedTiles
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___batchUpdatedTiles_25;
|
|
// System.Collections.Generic.List`1<Pathfinding.MeshNode> Pathfinding.NavmeshBase::batchNodesToDestroy
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* ___batchNodesToDestroy_26;
|
|
// Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::transform
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___transform_27;
|
|
// System.Action`1<Pathfinding.NavmeshTile[]> Pathfinding.NavmeshBase::OnRecalculatedTiles
|
|
Action_1_tA3439EC8A386FAF754C06299F3FD4600EF357973* ___OnRecalculatedTiles_28;
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32> Pathfinding.NavmeshBase::nodeRecyclingHashBuffer
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* ___nodeRecyclingHashBuffer_30;
|
|
};
|
|
|
|
// Pathfinding.Path
|
|
struct Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A : public RuntimeObject
|
|
{
|
|
// Pathfinding.PathHandler Pathfinding.Path::pathHandler
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___pathHandler_0;
|
|
// Pathfinding.OnPathDelegate Pathfinding.Path::callback
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___callback_1;
|
|
// Pathfinding.OnPathDelegate Pathfinding.Path::immediateCallback
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___immediateCallback_2;
|
|
// Pathfinding.PathState Pathfinding.Path::<PipelineState>k__BackingField
|
|
int32_t ___U3CPipelineStateU3Ek__BackingField_3;
|
|
// System.Object Pathfinding.Path::stateLock
|
|
RuntimeObject* ___stateLock_4;
|
|
// Pathfinding.ITraversalProvider Pathfinding.Path::traversalProvider
|
|
RuntimeObject* ___traversalProvider_5;
|
|
// Pathfinding.PathCompleteState Pathfinding.Path::completeState
|
|
int32_t ___completeState_6;
|
|
// System.String Pathfinding.Path::<errorLog>k__BackingField
|
|
String_t* ___U3CerrorLogU3Ek__BackingField_7;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.Path::path
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ___path_8;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> Pathfinding.Path::vectorPath
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___vectorPath_9;
|
|
// Pathfinding.PathNode Pathfinding.Path::currentR
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___currentR_10;
|
|
// System.Single Pathfinding.Path::duration
|
|
float ___duration_11;
|
|
// System.Int32 Pathfinding.Path::<searchedNodes>k__BackingField
|
|
int32_t ___U3CsearchedNodesU3Ek__BackingField_12;
|
|
// System.Boolean Pathfinding.Path::<Pathfinding.IPathInternals.Pooled>k__BackingField
|
|
bool ___U3CPathfinding_IPathInternals_PooledU3Ek__BackingField_13;
|
|
// System.Boolean Pathfinding.Path::hasBeenReset
|
|
bool ___hasBeenReset_14;
|
|
// Pathfinding.NNConstraint Pathfinding.Path::nnConstraint
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___nnConstraint_15;
|
|
// Pathfinding.Path Pathfinding.Path::next
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___next_16;
|
|
// Pathfinding.Heuristic Pathfinding.Path::heuristic
|
|
int32_t ___heuristic_17;
|
|
// System.Single Pathfinding.Path::heuristicScale
|
|
float ___heuristicScale_18;
|
|
// System.UInt16 Pathfinding.Path::<pathID>k__BackingField
|
|
uint16_t ___U3CpathIDU3Ek__BackingField_19;
|
|
// Pathfinding.GraphNode Pathfinding.Path::hTargetNode
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___hTargetNode_20;
|
|
// Pathfinding.Int3 Pathfinding.Path::hTarget
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___hTarget_21;
|
|
// System.Int32 Pathfinding.Path::enabledTags
|
|
int32_t ___enabledTags_22;
|
|
// System.Int32[] Pathfinding.Path::internalTagPenalties
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___internalTagPenalties_24;
|
|
// System.Int32[] Pathfinding.Path::manualTagPenalties
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___manualTagPenalties_25;
|
|
// System.Collections.Generic.List`1<System.Object> Pathfinding.Path::claimed
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* ___claimed_26;
|
|
// System.Boolean Pathfinding.Path::releasedNotSilent
|
|
bool ___releasedNotSilent_27;
|
|
};
|
|
|
|
// Pathfinding.PathNNConstraint
|
|
struct PathNNConstraint_tD4EC529CCAF3C78A35DF6F147DC195983505DA76 : public NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5
|
|
{
|
|
};
|
|
|
|
// System.SystemException
|
|
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// System.Type
|
|
struct Type_t : public MemberInfo_t
|
|
{
|
|
// System.RuntimeTypeHandle System.Type::_impl
|
|
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl_8;
|
|
};
|
|
|
|
// Pathfinding.ThreadControlQueue/QueueTerminationException
|
|
struct QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// System.Action`1<Pathfinding.GraphNode>
|
|
struct Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Action`1<Pathfinding.IWorkItemContext>
|
|
struct Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Action`1<System.Object>
|
|
struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Action`1<Pathfinding.Path>
|
|
struct Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<System.Boolean,System.Boolean>
|
|
struct Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
|
|
struct Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>>
|
|
struct Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
struct Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
struct Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode>
|
|
struct Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>
|
|
struct Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`3<System.Object,System.Boolean,System.Boolean>
|
|
struct Func_3_t50E159DCCFD1AFE2F58DC0D7B987B725EBD0F102 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Action
|
|
struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.ArgumentException
|
|
struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
// System.String System.ArgumentException::_paramName
|
|
String_t* ____paramName_18;
|
|
};
|
|
|
|
// UnityEngine.Behaviour
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// Pathfinding.GridNode
|
|
struct GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578 : public GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25
|
|
{
|
|
};
|
|
|
|
// System.InvalidOperationException
|
|
struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// System.Threading.ManualResetEvent
|
|
struct ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158 : public EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E
|
|
{
|
|
};
|
|
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// System.NullReferenceException
|
|
struct NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// Pathfinding.OnPathDelegate
|
|
struct OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Threading.ThreadAbortException
|
|
struct ThreadAbortException_tCA1833E5D49782387EDF3BDCBDB90597B273F3C4 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// System.Threading.ThreadStart
|
|
struct ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// Pathfinding.TriangleMeshNode
|
|
struct TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80 : public MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095
|
|
{
|
|
// System.Int32 Pathfinding.TriangleMeshNode::v0
|
|
int32_t ___v0_21;
|
|
// System.Int32 Pathfinding.TriangleMeshNode::v1
|
|
int32_t ___v1_22;
|
|
// System.Int32 Pathfinding.TriangleMeshNode::v2
|
|
int32_t ___v2_23;
|
|
};
|
|
|
|
// System.ArgumentNullException
|
|
struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129 : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
|
|
{
|
|
};
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
|
|
{
|
|
// System.Object System.ArgumentOutOfRangeException::_actualValue
|
|
RuntimeObject* ____actualValue_19;
|
|
};
|
|
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Collider2D
|
|
struct Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// Pathfinding.TargetMover
|
|
struct TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.LayerMask Pathfinding.TargetMover::mask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___mask_4;
|
|
// UnityEngine.Transform Pathfinding.TargetMover::target
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___target_5;
|
|
// Pathfinding.IAstarAI[] Pathfinding.TargetMover::ais
|
|
IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* ___ais_6;
|
|
// System.Boolean Pathfinding.TargetMover::onlyOnDoubleClick
|
|
bool ___onlyOnDoubleClick_7;
|
|
// System.Boolean Pathfinding.TargetMover::use2D
|
|
bool ___use2D_8;
|
|
// UnityEngine.Camera Pathfinding.TargetMover::cam
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ___cam_9;
|
|
};
|
|
|
|
// Pathfinding.VersionedMonoBehaviour
|
|
struct VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// System.Int32 Pathfinding.VersionedMonoBehaviour::version
|
|
int32_t ___version_4;
|
|
};
|
|
|
|
// AstarPath
|
|
struct AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760 : public VersionedMonoBehaviour_t13F17B0D6039238CC5328E19B6DBB74A6E9CFD3B
|
|
{
|
|
// Pathfinding.AstarData AstarPath::data
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* ___data_8;
|
|
// System.Boolean AstarPath::showNavGraphs
|
|
bool ___showNavGraphs_10;
|
|
// System.Boolean AstarPath::showUnwalkableNodes
|
|
bool ___showUnwalkableNodes_11;
|
|
// Pathfinding.GraphDebugMode AstarPath::debugMode
|
|
int32_t ___debugMode_12;
|
|
// System.Single AstarPath::debugFloor
|
|
float ___debugFloor_13;
|
|
// System.Single AstarPath::debugRoof
|
|
float ___debugRoof_14;
|
|
// System.Boolean AstarPath::manualDebugFloorRoof
|
|
bool ___manualDebugFloorRoof_15;
|
|
// System.Boolean AstarPath::showSearchTree
|
|
bool ___showSearchTree_16;
|
|
// System.Single AstarPath::unwalkableNodeDebugSize
|
|
float ___unwalkableNodeDebugSize_17;
|
|
// Pathfinding.PathLog AstarPath::logPathResults
|
|
int32_t ___logPathResults_18;
|
|
// System.Single AstarPath::maxNearestNodeDistance
|
|
float ___maxNearestNodeDistance_19;
|
|
// System.Boolean AstarPath::scanOnStartup
|
|
bool ___scanOnStartup_20;
|
|
// System.Boolean AstarPath::fullGetNearestSearch
|
|
bool ___fullGetNearestSearch_21;
|
|
// System.Boolean AstarPath::prioritizeGraphs
|
|
bool ___prioritizeGraphs_22;
|
|
// System.Single AstarPath::prioritizeGraphsLimit
|
|
float ___prioritizeGraphsLimit_23;
|
|
// Pathfinding.AstarColor AstarPath::colorSettings
|
|
AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632* ___colorSettings_24;
|
|
// System.String[] AstarPath::tagNames
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___tagNames_25;
|
|
// Pathfinding.Heuristic AstarPath::heuristic
|
|
int32_t ___heuristic_26;
|
|
// System.Single AstarPath::heuristicScale
|
|
float ___heuristicScale_27;
|
|
// Pathfinding.ThreadCount AstarPath::threadCount
|
|
int32_t ___threadCount_28;
|
|
// System.Single AstarPath::maxFrameTime
|
|
float ___maxFrameTime_29;
|
|
// System.Boolean AstarPath::batchGraphUpdates
|
|
bool ___batchGraphUpdates_30;
|
|
// System.Single AstarPath::graphUpdateBatchingInterval
|
|
float ___graphUpdateBatchingInterval_31;
|
|
// System.Single AstarPath::<lastScanTime>k__BackingField
|
|
float ___U3ClastScanTimeU3Ek__BackingField_32;
|
|
// Pathfinding.PathHandler AstarPath::debugPathData
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___debugPathData_33;
|
|
// System.UInt16 AstarPath::debugPathID
|
|
uint16_t ___debugPathID_34;
|
|
// System.String AstarPath::inGameDebugPath
|
|
String_t* ___inGameDebugPath_35;
|
|
// System.Boolean AstarPath::isScanningBacking
|
|
bool ___isScanningBacking_36;
|
|
// System.Action AstarPath::OnGraphsWillBeUpdated
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnGraphsWillBeUpdated_47;
|
|
// System.Action AstarPath::OnGraphsWillBeUpdated2
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnGraphsWillBeUpdated2_48;
|
|
// Pathfinding.GraphUpdateProcessor AstarPath::graphUpdates
|
|
GraphUpdateProcessor_t85A8143F946CAAF56C39223ACB7B75649E0D4598* ___graphUpdates_49;
|
|
// Pathfinding.HierarchicalGraph AstarPath::hierarchicalGraph
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* ___hierarchicalGraph_50;
|
|
// Pathfinding.NavmeshUpdates AstarPath::navmeshUpdates
|
|
NavmeshUpdates_t7F920048D3085C42E645452F047686C8E51C4A77* ___navmeshUpdates_51;
|
|
// Pathfinding.WorkItemProcessor AstarPath::workItems
|
|
WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* ___workItems_52;
|
|
// Pathfinding.PathProcessor AstarPath::pathProcessor
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___pathProcessor_53;
|
|
// System.Boolean AstarPath::graphUpdateRoutineRunning
|
|
bool ___graphUpdateRoutineRunning_54;
|
|
// System.Boolean AstarPath::graphUpdatesWorkItemAdded
|
|
bool ___graphUpdatesWorkItemAdded_55;
|
|
// System.Single AstarPath::lastGraphUpdate
|
|
float ___lastGraphUpdate_56;
|
|
// Pathfinding.PathProcessor/GraphUpdateLock AstarPath::workItemLock
|
|
GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3 ___workItemLock_57;
|
|
// Pathfinding.PathReturnQueue AstarPath::pathReturnQueue
|
|
PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* ___pathReturnQueue_58;
|
|
// Pathfinding.EuclideanEmbedding AstarPath::euclideanEmbedding
|
|
EuclideanEmbedding_t32FF528EC8221FF28E2D58DEB5A58C07613D6890* ___euclideanEmbedding_59;
|
|
// System.Boolean AstarPath::showGraphs
|
|
bool ___showGraphs_60;
|
|
// System.UInt16 AstarPath::nextFreePathID
|
|
uint16_t ___nextFreePathID_61;
|
|
// Pathfinding.Util.RetainedGizmos AstarPath::gizmos
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* ___gizmos_62;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>
|
|
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
|
|
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
|
|
// System.Collections.Generic.Dictionary`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Int32>
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Int32>
|
|
|
|
// Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>
|
|
|
|
// Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.Connection>
|
|
struct List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.Connection>
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
|
|
struct List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
GraphNodeU5BU5D_t1B47AFD5D51C24EB714BE282E3708C04CAFD1557* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode>
|
|
|
|
// 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<Pathfinding.MeshNode>
|
|
struct List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
MeshNodeU5BU5D_tC22F3ED768A35E5BFCE7A98075FBCAA6B471247C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<Pathfinding.MeshNode>
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
|
|
// System.Collections.Generic.Queue`1<System.Object>
|
|
|
|
// System.Collections.Generic.Queue`1<Pathfinding.Path>
|
|
|
|
// System.Collections.Generic.Queue`1<Pathfinding.Path>
|
|
|
|
// System.Collections.Generic.Stack`1<System.Int32>
|
|
|
|
// System.Collections.Generic.Stack`1<System.Int32>
|
|
|
|
// System.Collections.Generic.Stack`1<System.Object>
|
|
|
|
// System.Collections.Generic.Stack`1<System.Object>
|
|
|
|
// System.Collections.Generic.Stack`1<Pathfinding.Path>
|
|
|
|
// System.Collections.Generic.Stack`1<Pathfinding.Path>
|
|
|
|
// Pathfinding.AstarData
|
|
|
|
// Pathfinding.AstarData
|
|
|
|
// Pathfinding.Serialization.AstarSerializer
|
|
struct AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_StaticFields
|
|
{
|
|
// System.Text.StringBuilder Pathfinding.Serialization.AstarSerializer::_stringBuilder
|
|
StringBuilder_t* ____stringBuilder_13;
|
|
// System.Version Pathfinding.Serialization.AstarSerializer::V3_8_3
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___V3_8_3_14;
|
|
// System.Version Pathfinding.Serialization.AstarSerializer::V3_9_0
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___V3_9_0_15;
|
|
// System.Version Pathfinding.Serialization.AstarSerializer::V4_1_0
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___V4_1_0_16;
|
|
};
|
|
|
|
// Pathfinding.Serialization.AstarSerializer
|
|
|
|
// Pathfinding.BBTree
|
|
|
|
// Pathfinding.BBTree
|
|
|
|
// Pathfinding.BinaryHeap
|
|
|
|
// Pathfinding.BinaryHeap
|
|
|
|
// System.IO.BinaryReader
|
|
|
|
// System.IO.BinaryReader
|
|
|
|
// System.IO.BinaryWriter
|
|
struct BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E_StaticFields
|
|
{
|
|
// System.IO.BinaryWriter System.IO.BinaryWriter::Null
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* ___Null_0;
|
|
};
|
|
|
|
// System.IO.BinaryWriter
|
|
|
|
// Pathfinding.DefaultITraversalProvider
|
|
|
|
// Pathfinding.DefaultITraversalProvider
|
|
|
|
// Pathfinding.Serialization.GraphMeta
|
|
|
|
// Pathfinding.Serialization.GraphMeta
|
|
|
|
// Pathfinding.Serialization.GraphSerializationContext
|
|
|
|
// Pathfinding.Serialization.GraphSerializationContext
|
|
|
|
// Pathfinding.HierarchicalGraph
|
|
|
|
// Pathfinding.HierarchicalGraph
|
|
|
|
// Pathfinding.NavmeshTile
|
|
|
|
// Pathfinding.NavmeshTile
|
|
|
|
// Pathfinding.PathHandler
|
|
|
|
// Pathfinding.PathHandler
|
|
|
|
// Pathfinding.PathNode
|
|
|
|
// Pathfinding.PathNode
|
|
|
|
// Pathfinding.PathPool
|
|
struct PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields
|
|
{
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>> Pathfinding.PathPool::pool
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* ___pool_0;
|
|
// System.Collections.Generic.Dictionary`2<System.Type,System.Int32> Pathfinding.PathPool::totalCreated
|
|
Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455* ___totalCreated_1;
|
|
};
|
|
|
|
// Pathfinding.PathPool
|
|
|
|
// Pathfinding.PathProcessor
|
|
|
|
// Pathfinding.PathProcessor
|
|
|
|
// Pathfinding.PathReturnQueue
|
|
|
|
// Pathfinding.PathReturnQueue
|
|
|
|
// Pathfinding.Util.RetainedGizmos
|
|
|
|
// Pathfinding.Util.RetainedGizmos
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// System.Text.StringBuilder
|
|
|
|
// System.Text.StringBuilder
|
|
|
|
// Pathfinding.ThreadControlQueue
|
|
|
|
// Pathfinding.ThreadControlQueue
|
|
|
|
// System.Version
|
|
|
|
// System.Version
|
|
|
|
// Pathfinding.WorkItemProcessor
|
|
|
|
// Pathfinding.WorkItemProcessor
|
|
|
|
// Pathfinding.GraphNode/<>c__DisplayClass60_0
|
|
|
|
// Pathfinding.GraphNode/<>c__DisplayClass60_0
|
|
|
|
// Pathfinding.GraphNode/<>c__DisplayClass65_0
|
|
|
|
// Pathfinding.GraphNode/<>c__DisplayClass65_0
|
|
|
|
// Pathfinding.GridGraph/<>c
|
|
struct U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields
|
|
{
|
|
// Pathfinding.GridGraph/<>c Pathfinding.GridGraph/<>c::<>9
|
|
U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9* ___U3CU3E9_0;
|
|
// System.Action`1<Pathfinding.GraphNode> Pathfinding.GridGraph/<>c::<>9__1_0
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___U3CU3E9__1_0_1;
|
|
};
|
|
|
|
// Pathfinding.GridGraph/<>c
|
|
|
|
// Pathfinding.GridGraph/<>c__DisplayClass61_0
|
|
|
|
// Pathfinding.GridGraph/<>c__DisplayClass61_0
|
|
|
|
// Pathfinding.NavGraph/<>c
|
|
struct U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields
|
|
{
|
|
// Pathfinding.NavGraph/<>c Pathfinding.NavGraph/<>c::<>9
|
|
U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194* ___U3CU3E9_0;
|
|
// System.Action`1<Pathfinding.GraphNode> Pathfinding.NavGraph/<>c::<>9__24_0
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___U3CU3E9__24_0_1;
|
|
};
|
|
|
|
// Pathfinding.NavGraph/<>c
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass11_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass11_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass12_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass12_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass33_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass33_0
|
|
|
|
// Pathfinding.NavmeshBase/<>c
|
|
struct U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields
|
|
{
|
|
// Pathfinding.NavmeshBase/<>c Pathfinding.NavmeshBase/<>c::<>9
|
|
U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* ___U3CU3E9_0;
|
|
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>> Pathfinding.NavmeshBase/<>c::<>9__74_0
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* ___U3CU3E9__74_0_1;
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode> Pathfinding.NavmeshBase/<>c::<>9__74_1
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* ___U3CU3E9__74_1_2;
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]> Pathfinding.NavmeshBase/<>c::<>9__74_2
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* ___U3CU3E9__74_2_3;
|
|
};
|
|
|
|
// Pathfinding.NavmeshBase/<>c
|
|
|
|
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
|
|
|
|
// Pathfinding.NavmeshBase/<>c__DisplayClass74_0
|
|
|
|
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
|
|
|
|
// Pathfinding.NavmeshUpdates/NavmeshUpdateSettings
|
|
|
|
// Pathfinding.Path/<WaitForPath>d__54
|
|
|
|
// Pathfinding.Path/<WaitForPath>d__54
|
|
|
|
// Pathfinding.PathProcessor/<>c__DisplayClass24_0
|
|
|
|
// Pathfinding.PathProcessor/<>c__DisplayClass24_0
|
|
|
|
// Pathfinding.PathProcessor/<CalculatePaths>d__36
|
|
|
|
// Pathfinding.PathProcessor/<CalculatePaths>d__36
|
|
|
|
// Pathfinding.Util.RetainedGizmos/Builder
|
|
|
|
// Pathfinding.Util.RetainedGizmos/Builder
|
|
|
|
// Pathfinding.AstarWorkItem
|
|
|
|
// Pathfinding.AstarWorkItem
|
|
|
|
// 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
|
|
|
|
// UnityEngine.Color
|
|
|
|
// UnityEngine.Color
|
|
|
|
// Pathfinding.Connection
|
|
|
|
// Pathfinding.Connection
|
|
|
|
// System.DateTime
|
|
struct DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_StaticFields
|
|
{
|
|
// System.Int32[] System.DateTime::s_daysToMonth365
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___s_daysToMonth365_30;
|
|
// System.Int32[] System.DateTime::s_daysToMonth366
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___s_daysToMonth366_31;
|
|
// System.DateTime System.DateTime::MinValue
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D ___MinValue_32;
|
|
// System.DateTime System.DateTime::MaxValue
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D ___MaxValue_33;
|
|
// System.DateTime System.DateTime::UnixEpoch
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D ___UnixEpoch_34;
|
|
};
|
|
|
|
// System.DateTime
|
|
|
|
// System.Double
|
|
|
|
// System.Double
|
|
|
|
// Pathfinding.Util.Guid
|
|
struct Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A_StaticFields
|
|
{
|
|
// Pathfinding.Util.Guid Pathfinding.Util.Guid::zero
|
|
Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A ___zero_1;
|
|
// System.String Pathfinding.Util.Guid::zeroString
|
|
String_t* ___zeroString_2;
|
|
// System.Random Pathfinding.Util.Guid::random
|
|
Random_t79716069EDE67D1D7734F60AE402D0CA3FB6B4C8* ___random_5;
|
|
// System.Text.StringBuilder Pathfinding.Util.Guid::text
|
|
StringBuilder_t* ___text_6;
|
|
};
|
|
|
|
// Pathfinding.Util.Guid
|
|
|
|
// Pathfinding.Int2
|
|
|
|
// Pathfinding.Int2
|
|
|
|
// Pathfinding.Int3
|
|
|
|
// Pathfinding.Int3
|
|
|
|
// System.Int32
|
|
|
|
// System.Int32
|
|
|
|
// System.Int64
|
|
|
|
// System.Int64
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
};
|
|
|
|
// System.IntPtr
|
|
|
|
// Pathfinding.IntRect
|
|
|
|
// Pathfinding.IntRect
|
|
|
|
// UnityEngine.LayerMask
|
|
|
|
// UnityEngine.LayerMask
|
|
|
|
// UnityEngine.Mathf
|
|
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields
|
|
{
|
|
// System.Single UnityEngine.Mathf::Epsilon
|
|
float ___Epsilon_0;
|
|
};
|
|
|
|
// UnityEngine.Mathf
|
|
|
|
// UnityEngine.Matrix4x4
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
|
|
{
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
|
|
};
|
|
|
|
// UnityEngine.Matrix4x4
|
|
|
|
// Pathfinding.Progress
|
|
|
|
// Pathfinding.Progress
|
|
|
|
// UnityEngine.Quaternion
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
|
|
{
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
|
|
};
|
|
|
|
// UnityEngine.Quaternion
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// System.Single
|
|
|
|
// System.Single
|
|
|
|
// System.Threading.Thread
|
|
struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_StaticFields
|
|
{
|
|
// System.LocalDataStoreMgr System.Threading.Thread::s_LocalDataStoreMgr
|
|
LocalDataStoreMgr_t205F1783D5CC2B148E829B5882E5406FF9A3AC1E* ___s_LocalDataStoreMgr_0;
|
|
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentCulture
|
|
AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD* ___s_asyncLocalCurrentCulture_4;
|
|
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentUICulture
|
|
AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD* ___s_asyncLocalCurrentUICulture_5;
|
|
};
|
|
|
|
// System.Threading.Thread
|
|
struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_ThreadStaticFields
|
|
{
|
|
// System.LocalDataStoreHolder System.Threading.Thread::s_LocalDataStore
|
|
LocalDataStoreHolder_t789DD474AE5141213C2105CE57830ECFC2D3C03F* ___s_LocalDataStore_1;
|
|
// System.Globalization.CultureInfo System.Threading.Thread::m_CurrentCulture
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___m_CurrentCulture_2;
|
|
// System.Globalization.CultureInfo System.Threading.Thread::m_CurrentUICulture
|
|
CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___m_CurrentUICulture_3;
|
|
// System.Threading.Thread System.Threading.Thread::current_thread
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* ___current_thread_9;
|
|
};
|
|
|
|
// System.UInt16
|
|
|
|
// System.UInt16
|
|
|
|
// System.UInt32
|
|
|
|
// System.UInt32
|
|
|
|
// UnityEngine.Vector2
|
|
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
|
|
{
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
|
|
};
|
|
|
|
// UnityEngine.Vector2
|
|
|
|
// UnityEngine.Vector3
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
|
|
};
|
|
|
|
// UnityEngine.Vector3
|
|
|
|
// System.Void
|
|
|
|
// System.Void
|
|
|
|
// Pathfinding.PathProcessor/GraphUpdateLock
|
|
|
|
// Pathfinding.PathProcessor/GraphUpdateLock
|
|
|
|
// Pathfinding.Util.RetainedGizmos/Hasher
|
|
|
|
// Pathfinding.Util.RetainedGizmos/Hasher
|
|
|
|
// Pathfinding.AstarColor
|
|
struct AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632_StaticFields
|
|
{
|
|
// UnityEngine.Color Pathfinding.AstarColor::SolidColor
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___SolidColor_7;
|
|
// UnityEngine.Color Pathfinding.AstarColor::UnwalkableNode
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___UnwalkableNode_8;
|
|
// UnityEngine.Color Pathfinding.AstarColor::BoundsHandles
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___BoundsHandles_9;
|
|
// UnityEngine.Color Pathfinding.AstarColor::ConnectionLowLerp
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___ConnectionLowLerp_10;
|
|
// UnityEngine.Color Pathfinding.AstarColor::ConnectionHighLerp
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___ConnectionHighLerp_11;
|
|
// UnityEngine.Color Pathfinding.AstarColor::MeshEdgeColor
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___MeshEdgeColor_12;
|
|
// UnityEngine.Color[] Pathfinding.AstarColor::AreaColors
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ___AreaColors_13;
|
|
};
|
|
|
|
// Pathfinding.AstarColor
|
|
|
|
// UnityEngine.Bounds
|
|
|
|
// UnityEngine.Bounds
|
|
|
|
// Pathfinding.ColliderType
|
|
|
|
// Pathfinding.ColliderType
|
|
|
|
// UnityEngine.ContactFilter2D
|
|
|
|
// UnityEngine.ContactFilter2D
|
|
|
|
// System.Delegate
|
|
|
|
// System.Delegate
|
|
|
|
// UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB_StaticFields
|
|
{
|
|
// UnityEngine.Event UnityEngine.Event::s_Current
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* ___s_Current_1;
|
|
// UnityEngine.Event UnityEngine.Event::s_MasterEvent
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* ___s_MasterEvent_2;
|
|
};
|
|
|
|
// UnityEngine.Event
|
|
|
|
// UnityEngine.EventType
|
|
|
|
// UnityEngine.EventType
|
|
|
|
// System.Exception
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
|
|
// System.Exception
|
|
|
|
// Pathfinding.GraphNode
|
|
|
|
// Pathfinding.GraphNode
|
|
|
|
// Pathfinding.Util.GraphTransform
|
|
struct GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_StaticFields
|
|
{
|
|
// Pathfinding.Util.GraphTransform Pathfinding.Util.GraphTransform::identityTransform
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___identityTransform_11;
|
|
};
|
|
|
|
// Pathfinding.Util.GraphTransform
|
|
|
|
// Pathfinding.GraphUpdateShape
|
|
|
|
// Pathfinding.GraphUpdateShape
|
|
|
|
// Pathfinding.GraphUpdateThreading
|
|
|
|
// Pathfinding.GraphUpdateThreading
|
|
|
|
// Pathfinding.Heuristic
|
|
|
|
// Pathfinding.Heuristic
|
|
|
|
// Pathfinding.InspectorGridHexagonNodeSize
|
|
|
|
// Pathfinding.InspectorGridHexagonNodeSize
|
|
|
|
// Pathfinding.InspectorGridMode
|
|
|
|
// Pathfinding.InspectorGridMode
|
|
|
|
// Pathfinding.NNConstraint
|
|
|
|
// Pathfinding.NNConstraint
|
|
|
|
// Pathfinding.NNInfoInternal
|
|
|
|
// Pathfinding.NNInfoInternal
|
|
|
|
// Pathfinding.NavGraph
|
|
|
|
// Pathfinding.NavGraph
|
|
|
|
// Pathfinding.NumNeighbours
|
|
|
|
// Pathfinding.NumNeighbours
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
|
|
// Pathfinding.PathCompleteState
|
|
|
|
// Pathfinding.PathCompleteState
|
|
|
|
// Pathfinding.PathLog
|
|
|
|
// Pathfinding.PathLog
|
|
|
|
// Pathfinding.PathState
|
|
|
|
// Pathfinding.PathState
|
|
|
|
// UnityEngine.QueryTriggerInteraction
|
|
|
|
// UnityEngine.QueryTriggerInteraction
|
|
|
|
// UnityEngine.Ray
|
|
|
|
// UnityEngine.Ray
|
|
|
|
// Pathfinding.RayDirection
|
|
|
|
// Pathfinding.RayDirection
|
|
|
|
// UnityEngine.RaycastHit
|
|
|
|
// UnityEngine.RaycastHit
|
|
|
|
// System.RuntimeFieldHandle
|
|
|
|
// System.RuntimeFieldHandle
|
|
|
|
// System.Threading.WaitHandle
|
|
struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_StaticFields
|
|
{
|
|
// System.IntPtr System.Threading.WaitHandle::InvalidHandle
|
|
intptr_t ___InvalidHandle_11;
|
|
};
|
|
|
|
// System.Threading.WaitHandle
|
|
|
|
// Pathfinding.GraphModifier/EventType
|
|
|
|
// Pathfinding.GraphModifier/EventType
|
|
|
|
// Pathfinding.GridGraph/<ScanInternal>d__88
|
|
|
|
// Pathfinding.GridGraph/<ScanInternal>d__88
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass18_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass18_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass21_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass21_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass32_0
|
|
|
|
// Pathfinding.NavGraph/<>c__DisplayClass32_0
|
|
|
|
// UnityEngine.Profiling.CustomSampler
|
|
struct CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487_StaticFields
|
|
{
|
|
// UnityEngine.Profiling.CustomSampler UnityEngine.Profiling.CustomSampler::s_InvalidCustomSampler
|
|
CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487* ___s_InvalidCustomSampler_2;
|
|
};
|
|
|
|
// UnityEngine.Profiling.CustomSampler
|
|
|
|
// System.Threading.EventWaitHandle
|
|
|
|
// System.Threading.EventWaitHandle
|
|
|
|
// Pathfinding.GraphCollision
|
|
struct GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_StaticFields
|
|
{
|
|
// UnityEngine.Collider2D[] Pathfinding.GraphCollision::dummyArray
|
|
Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* ___dummyArray_17;
|
|
};
|
|
|
|
// Pathfinding.GraphCollision
|
|
|
|
// Pathfinding.Util.GraphGizmoHelper
|
|
|
|
// Pathfinding.Util.GraphGizmoHelper
|
|
|
|
// Pathfinding.GraphUpdateObject
|
|
|
|
// Pathfinding.GraphUpdateObject
|
|
|
|
// Pathfinding.GridGraph
|
|
struct GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields
|
|
{
|
|
// System.Single Pathfinding.GridGraph::StandardIsometricAngle
|
|
float ___StandardIsometricAngle_17;
|
|
// System.Single Pathfinding.GridGraph::StandardDimetricAngle
|
|
float ___StandardDimetricAngle_18;
|
|
// System.Int32[] Pathfinding.GridGraph::hexagonNeighbourIndices
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___hexagonNeighbourIndices_46;
|
|
};
|
|
|
|
// Pathfinding.GridGraph
|
|
|
|
// Pathfinding.GridNodeBase
|
|
|
|
// Pathfinding.GridNodeBase
|
|
|
|
// Pathfinding.MeshNode
|
|
|
|
// Pathfinding.MeshNode
|
|
|
|
// Pathfinding.NavmeshBase
|
|
struct NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_StaticFields
|
|
{
|
|
// Pathfinding.NNConstraint Pathfinding.NavmeshBase::NNConstraintDistanceXZ
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___NNConstraintDistanceXZ_29;
|
|
};
|
|
|
|
// Pathfinding.NavmeshBase
|
|
|
|
// Pathfinding.Path
|
|
struct Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_StaticFields
|
|
{
|
|
// System.Int32[] Pathfinding.Path::ZeroTagPenalties
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___ZeroTagPenalties_23;
|
|
};
|
|
|
|
// Pathfinding.Path
|
|
|
|
// Pathfinding.PathNNConstraint
|
|
|
|
// Pathfinding.PathNNConstraint
|
|
|
|
// System.Type
|
|
struct Type_t_StaticFields
|
|
{
|
|
// System.Reflection.Binder modreq(System.Runtime.CompilerServices.IsVolatile) System.Type::s_defaultBinder
|
|
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235* ___s_defaultBinder_0;
|
|
// System.Char System.Type::Delimiter
|
|
Il2CppChar ___Delimiter_1;
|
|
// System.Type[] System.Type::EmptyTypes
|
|
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes_2;
|
|
// System.Object System.Type::Missing
|
|
RuntimeObject* ___Missing_3;
|
|
// System.Reflection.MemberFilter System.Type::FilterAttribute
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterAttribute_4;
|
|
// System.Reflection.MemberFilter System.Type::FilterName
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterName_5;
|
|
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterNameIgnoreCase_6;
|
|
};
|
|
|
|
// System.Type
|
|
|
|
// Pathfinding.ThreadControlQueue/QueueTerminationException
|
|
|
|
// Pathfinding.ThreadControlQueue/QueueTerminationException
|
|
|
|
// System.Action`1<Pathfinding.GraphNode>
|
|
|
|
// System.Action`1<Pathfinding.GraphNode>
|
|
|
|
// System.Action`1<Pathfinding.IWorkItemContext>
|
|
|
|
// System.Action`1<Pathfinding.IWorkItemContext>
|
|
|
|
// System.Action`1<System.Object>
|
|
|
|
// System.Action`1<System.Object>
|
|
|
|
// System.Action`1<Pathfinding.Path>
|
|
|
|
// System.Action`1<Pathfinding.Path>
|
|
|
|
// System.Func`2<System.Boolean,System.Boolean>
|
|
|
|
// System.Func`2<System.Boolean,System.Boolean>
|
|
|
|
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
|
|
|
|
// System.Func`2<Pathfinding.GraphNode,System.Boolean>
|
|
|
|
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>>
|
|
|
|
// System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>>
|
|
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>
|
|
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode>
|
|
|
|
// System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode>
|
|
|
|
// System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>
|
|
|
|
// System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>
|
|
|
|
// System.Func`3<System.Object,System.Boolean,System.Boolean>
|
|
|
|
// System.Func`3<System.Object,System.Boolean,System.Boolean>
|
|
|
|
// System.Action
|
|
|
|
// System.Action
|
|
|
|
// System.ArgumentException
|
|
|
|
// System.ArgumentException
|
|
|
|
// Pathfinding.GridNode
|
|
struct GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_StaticFields
|
|
{
|
|
// Pathfinding.GridGraph[] Pathfinding.GridNode::_gridGraphs
|
|
GridGraphU5BU5D_t75E17C80B7AB43283826ADB1D04E30F992F4F46D* ____gridGraphs_29;
|
|
};
|
|
|
|
// Pathfinding.GridNode
|
|
|
|
// System.InvalidOperationException
|
|
|
|
// System.InvalidOperationException
|
|
|
|
// System.Threading.ManualResetEvent
|
|
|
|
// System.Threading.ManualResetEvent
|
|
|
|
// System.NotSupportedException
|
|
|
|
// System.NotSupportedException
|
|
|
|
// System.NullReferenceException
|
|
|
|
// System.NullReferenceException
|
|
|
|
// Pathfinding.OnPathDelegate
|
|
|
|
// Pathfinding.OnPathDelegate
|
|
|
|
// System.Threading.ThreadAbortException
|
|
|
|
// System.Threading.ThreadAbortException
|
|
|
|
// System.Threading.ThreadStart
|
|
|
|
// System.Threading.ThreadStart
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// Pathfinding.TriangleMeshNode
|
|
struct TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_StaticFields
|
|
{
|
|
// Pathfinding.INavmeshHolder[] Pathfinding.TriangleMeshNode::_navmeshHolders
|
|
INavmeshHolderU5BU5D_t514C362832753549ED740DBE0DD745EE0E9C3B9E* ____navmeshHolders_24;
|
|
// System.Object Pathfinding.TriangleMeshNode::lockObject
|
|
RuntimeObject* ___lockObject_25;
|
|
};
|
|
|
|
// Pathfinding.TriangleMeshNode
|
|
|
|
// System.ArgumentNullException
|
|
|
|
// System.ArgumentNullException
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
|
|
// System.ArgumentOutOfRangeException
|
|
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_StaticFields
|
|
{
|
|
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreCull
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreCull_4;
|
|
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreRender
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPreRender_5;
|
|
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPostRender
|
|
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD* ___onPostRender_6;
|
|
};
|
|
|
|
// UnityEngine.Camera
|
|
|
|
// UnityEngine.Collider2D
|
|
|
|
// UnityEngine.Collider2D
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// Pathfinding.TargetMover
|
|
|
|
// Pathfinding.TargetMover
|
|
|
|
// AstarPath
|
|
struct AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields
|
|
{
|
|
// System.Version AstarPath::Version
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___Version_5;
|
|
// AstarPath/AstarDistribution AstarPath::Distribution
|
|
int32_t ___Distribution_6;
|
|
// System.String AstarPath::Branch
|
|
String_t* ___Branch_7;
|
|
// AstarPath AstarPath::active
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___active_9;
|
|
// System.Action AstarPath::OnAwakeSettings
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___OnAwakeSettings_37;
|
|
// Pathfinding.OnGraphDelegate AstarPath::OnGraphPreScan
|
|
OnGraphDelegate_tDBDF2146A1F5472AAF480750BC84F179B134D858* ___OnGraphPreScan_38;
|
|
// Pathfinding.OnGraphDelegate AstarPath::OnGraphPostScan
|
|
OnGraphDelegate_tDBDF2146A1F5472AAF480750BC84F179B134D858* ___OnGraphPostScan_39;
|
|
// Pathfinding.OnPathDelegate AstarPath::OnPathPreSearch
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___OnPathPreSearch_40;
|
|
// Pathfinding.OnPathDelegate AstarPath::OnPathPostSearch
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* ___OnPathPostSearch_41;
|
|
// Pathfinding.OnScanDelegate AstarPath::OnPreScan
|
|
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnPreScan_42;
|
|
// Pathfinding.OnScanDelegate AstarPath::OnPostScan
|
|
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnPostScan_43;
|
|
// Pathfinding.OnScanDelegate AstarPath::OnLatePostScan
|
|
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnLatePostScan_44;
|
|
// Pathfinding.OnScanDelegate AstarPath::OnGraphsUpdated
|
|
OnScanDelegate_t1E383E26D0B3355F61774202E93984756AC1FD88* ___OnGraphsUpdated_45;
|
|
// System.Action AstarPath::On65KOverflow
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___On65KOverflow_46;
|
|
// System.Int32 AstarPath::waitForPathDepth
|
|
int32_t ___waitForPathDepth_63;
|
|
// Pathfinding.NNConstraint AstarPath::NNConstraintNone
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___NNConstraintNone_64;
|
|
};
|
|
|
|
// AstarPath
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// Pathfinding.PathHandler[]
|
|
struct PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* m_Items[1];
|
|
|
|
inline PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638** 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, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.Threading.Thread[]
|
|
struct ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* m_Items[1];
|
|
|
|
inline Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F** 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, Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) String_t* m_Items[1];
|
|
|
|
inline String_t* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// Pathfinding.Connection[]
|
|
struct ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 m_Items[1];
|
|
|
|
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* 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, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___node_0), (void*)NULL);
|
|
}
|
|
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___node_0), (void*)NULL);
|
|
}
|
|
};
|
|
// 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;
|
|
}
|
|
};
|
|
// Pathfinding.PathNode[]
|
|
struct PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* m_Items[1];
|
|
|
|
inline PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A** 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, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.MonoBehaviour[]
|
|
struct MonoBehaviourU5BU5D_tEB91860B3CEE2D63A7833A2842EB9CE4547DDBD7 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* m_Items[1];
|
|
|
|
inline MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71** 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, MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// Pathfinding.IAstarAI[]
|
|
struct IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514 : 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);
|
|
}
|
|
};
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) uint8_t m_Items[1];
|
|
|
|
inline uint8_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_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, uint8_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// UnityEngine.Collider2D[]
|
|
struct Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52* m_Items[1];
|
|
|
|
inline Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52** 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, Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Collider2D_t6A17BA7734600EF3F26588E9ED903617D5B8EB52* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.RaycastHit[]
|
|
struct RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 m_Items[1];
|
|
|
|
inline RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* 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, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// Pathfinding.GridNode[]
|
|
struct GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* m_Items[1];
|
|
|
|
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578** 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, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.UInt32[]
|
|
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) uint32_t m_Items[1];
|
|
|
|
inline uint32_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline uint32_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, uint32_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// Pathfinding.GridNodeBase[]
|
|
struct GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* m_Items[1];
|
|
|
|
inline GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25** 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, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.Vector3[]
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
|
|
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* 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_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// UnityEngine.Color[]
|
|
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Color_tD001788D726C3A7F1379BEED0260B9591F440C1F m_Items[1];
|
|
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* 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, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// Pathfinding.NavmeshTile[]
|
|
struct NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* m_Items[1];
|
|
|
|
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0** 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, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline NavmeshTile_tB162562405C06B86115076300DED318EC59873C0** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// Pathfinding.Int3[]
|
|
struct Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 m_Items[1];
|
|
|
|
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* 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, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// Pathfinding.TriangleMeshNode[]
|
|
struct TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* m_Items[1];
|
|
|
|
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80** 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, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.Boolean[]
|
|
struct BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) bool m_Items[1];
|
|
|
|
inline bool GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline bool* 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, bool value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline bool GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline bool* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, bool 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);
|
|
}
|
|
};
|
|
|
|
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::TryGetValue(TKey,TValue&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mD15380A4ED7CDEE99EA45881577D26BA9CE1B849_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, RuntimeObject** ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Stack`1<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stack_1__ctor_m70E8EDA96A608CE9BAB7FC8313B233AADA573BD4_gshared (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::set_Item(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m1A840355E8EDAECEA9D0C6F5E51B248FAA449CBD_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Stack`1<System.Object>::Push(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stack_1_Push_m709DD11BC1291A905814182CF9A367DE7399A778_gshared (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Int32>::TryGetValue(TKey,TValue&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m4B8EE45640C70BBFD6F3EFF1040983404C098342_gshared (Dictionary_2_t5C96F4B6841710A9013966F76224BAE01FB4B4D1* __this, RuntimeObject* ___0_key, int32_t* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Stack`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Stack_1_get_Count_mD08AE71D49787D30DDD9D484BCD323D646744D2E_gshared_inline (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Int32>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m517E7F9D104FEAE6646EABDDC9C852510E86077C_gshared (Dictionary_2_t5C96F4B6841710A9013966F76224BAE01FB4B4D1* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Stack`1<System.Int32>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1_gshared (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<System.Int32>::Remove(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Stack`1<System.Int32>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_gshared_inline (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.Stack`1<System.Int32>::Pop()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748_gshared (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Stack`1<System.Int32>::Push(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA_gshared (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Action`1<System.Object>::Invoke(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<System.Int32>::Contains(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Queue_1__ctor_m6E2A5A8173E0CC524496D5155C737DF8FD10D0EB_gshared (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Queue`1<System.Object>::Enqueue(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Queue_1_Enqueue_m5CB8CF3906F1289F92036F0973EC5BE3450402EF_gshared (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Queue`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Queue_1_get_Count_m1768ADA9855B7CDA14C9C42E098A287F1A39C3A2_gshared_inline (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.Queue`1<System.Object>::Dequeue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Queue_1_Dequeue_m86B243DF9EC238316EC3D27DF3E0AB8DB0987E84_gshared (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_gshared_inline (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C_gshared (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::Enqueue(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212_gshared (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 ___0_item, const RuntimeMethod* method) ;
|
|
// T Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1_gshared (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7_gshared (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, int32_t ___0_index, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 ___1_value, const RuntimeMethod* method) ;
|
|
// TResult System.Func`2<System.Boolean,System.Boolean>::Invoke(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_2_Invoke_m186F4854CBE22B314553D85B8EAC73C995FF64E4_gshared_inline (Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* __this, bool ___0_arg, const RuntimeMethod* method) ;
|
|
// TResult System.Func`3<System.Object,System.Boolean,System.Boolean>::Invoke(T1,T2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_3_Invoke_mB7B84565E5E531257DCAD69B65B9FB43D5D8B097_gshared_inline (Func_3_t50E159DCCFD1AFE2F58DC0D7B987B725EBD0F102* __this, RuntimeObject* ___0_arg1, bool ___1_arg2, const RuntimeMethod* method) ;
|
|
// T Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::Dequeue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C_gshared (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.Connection>::Release(T[]&,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_gshared (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.Connection>::ClaimWithExactLength(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_gshared (int32_t ___0_length, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** ___0_list, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListPool`1<System.Object>::Release(System.Collections.Generic.List`1<T>&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m7C0F4137C46B65BBD9AD8AFB413F45B8840D0196_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D** ___0_list, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<System.Object>::Claim()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* ListPool_1_Claim_mD5ABCA62B8F3359A8E5CF71E04B00BFC1761BACE_gshared (const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Claim()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_gshared (const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Capacity()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_mF05ADA0EC0B9CC71EDE6D06F6A33A50705EEA32D_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::set_Capacity(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_mD826E33A9E5EBC19C714653217071790693E0B95_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Capacity()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Capacity(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m3C58DBC69A321AF2826595584FF3E9F43C07EA56_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// T[] UnityEngine.Object::FindObjectsOfType<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* Object_FindObjectsOfType_TisRuntimeObject_m0B4DF4B8AB4C71E0F471BC9D0440B40844DA221D_gshared (const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerable`1<TResult> System.Linq.Enumerable::OfType<System.Object>(System.Collections.IEnumerable)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_OfType_TisRuntimeObject_m159512A788C6571FEF13C708CB20374087C762DD_gshared (RuntimeObject* ___0_source, const RuntimeMethod* method) ;
|
|
// TSource[] System.Linq.Enumerable::ToArray<System.Object>(System.Collections.Generic.IEnumerable`1<TSource>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* Enumerable_ToArray_TisRuntimeObject_mA54265C2C8A0864929ECD300B75E4952D553D17D_gshared (RuntimeObject* ___0_source, const RuntimeMethod* method) ;
|
|
// TResult System.Func`2<System.Object,System.Boolean>::Invoke(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_2_Invoke_m2014423FB900F135C8FF994125604FF9E6AAE829_gshared_inline (Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00* __this, RuntimeObject* ___0_arg, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<System.Object>::Claim(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ArrayPool_1_Claim_m90AC36C9C0DA2578B0F8DA90402B7149FB96D46A_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<System.Object>::Release(T[]&,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_m3DCD37428C4AEC264F51DB11183BA7B298A39D41_gshared (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<UnityEngine.Vector3>::Claim(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<UnityEngine.Color>::Claim(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_gshared (int32_t ___0_minimumLength, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<UnityEngine.Vector3>::Release(T[]&,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_gshared (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<UnityEngine.Color>::Release(T[]&,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_gshared (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<System.Object>::Claim(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* ListPool_1_Claim_m909F627E3F61146A5AF90B9BAA44AF928BC02287_gshared (int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ObjectPool`1<System.Object>::Release(T&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectPool_1_Release_mC27ACB8D914730EA4DFA954341C214BD3DFB39F6_gshared (RuntimeObject** ___0_obj, const RuntimeMethod* method) ;
|
|
// T Pathfinding.Util.ObjectPool`1<System.Object>::Claim()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ObjectPool_1_Claim_mC0B0793D74306C61C9E53D3DA2BDB0F48D3BA421_gshared (const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<Pathfinding.Connection>::Claim()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_gshared (const RuntimeMethod* method) ;
|
|
// T Pathfinding.Util.ObjectPoolSimple`1<System.Object>::Claim()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ObjectPoolSimple_1_Claim_m52214EC7831D9C941307A6652CB995C1BC8F5970_gshared (const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8_gshared (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::ContainsKey(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8_gshared (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, Int2_tA237834D44F8B70CEF05461E599DAE1137180731 ___0_key, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::Add(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F_gshared (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, Int2_tA237834D44F8B70CEF05461E599DAE1137180731 ___0_key, int32_t ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::TryGetValue(TKey,TValue&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E_gshared (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, Int2_tA237834D44F8B70CEF05461E599DAE1137180731 ___0_key, int32_t* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_item, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ListExtensions::ToArrayFromPool<Pathfinding.Connection>(System.Collections.Generic.List`1<T>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_gshared (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* ___0_list, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ObjectPoolSimple`1<System.Object>::Release(T&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectPoolSimple_1_Release_m63957FB0758A9D9BD53BB4FBB5FF79C27A3DB171_gshared (RuntimeObject** ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.Connection>::Release(System.Collections.Generic.List`1<T>&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_gshared (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F** ___0_list, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListExtensions::ClearFast<System.Object>(System.Collections.Generic.List`1<T>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListExtensions_ClearFast_TisRuntimeObject_m4392D79A92CBCF77928C9BB22C67AE6A8A9D8238_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* ___0_list, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListExtensions::ClearFast<System.Int32>(System.Collections.Generic.List`1<T>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___0_list, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::set_Item(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF_gshared (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, int32_t ___0_key, int32_t ___1_value, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::TryGetValue(TKey,TValue&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9_gshared (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, int32_t ___0_key, int32_t* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<Pathfinding.Connection>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0_gshared (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.Memory::Swap<System.Int32>(T&,T&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679_gshared (int32_t* ___0_a, int32_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_gshared (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Func`2<System.Object,System.Object>::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_2__ctor_m7F8A01C0B02BC1D4063F4EB1E817F7A48562A398_gshared (Func_2_tACBF5A1656250800CE861707354491F0611F6624* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerable`1<TResult> System.Linq.Enumerable::SelectMany<System.Object,System.Object>(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,System.Collections.Generic.IEnumerable`1<TResult>>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_SelectMany_TisRuntimeObject_TisRuntimeObject_mC89216034DEE8779F1AC2D0A984C0ADE855BED00_gshared (RuntimeObject* ___0_source, Func_2_t9F45EF9F857977243C345F24571962D2521DB4A1* ___1_selector, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.Dictionary`2<TKey,TElement> System.Linq.Enumerable::ToDictionary<System.Object,System.Object,System.Object>(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,TKey>,System.Func`2<TSource,TElement>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* Enumerable_ToDictionary_TisRuntimeObject_TisRuntimeObject_TisRuntimeObject_mA712BB5A297282995D1266B8F0BD27C3C7E16E9A_gshared (RuntimeObject* ___0_source, Func_2_tACBF5A1656250800CE861707354491F0611F6624* ___1_keySelector, Func_2_tACBF5A1656250800CE861707354491F0611F6624* ___2_elementSelector, const RuntimeMethod* method) ;
|
|
|
|
// System.Void System.Threading.Monitor::Exit(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149 (RuntimeObject* ___0_obj, bool* ___1_lockTaken, const RuntimeMethod* method) ;
|
|
// System.Void System.ArgumentException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465 (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* __this, String_t* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Type System.Object::GetType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t* Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>::TryGetValue(TKey,TValue&)
|
|
inline bool Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6 (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* __this, Type_t* ___0_key, Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815** ___1_value, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5*, Type_t*, Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815**, const RuntimeMethod*))Dictionary_2_TryGetValue_mD15380A4ED7CDEE99EA45881577D26BA9CE1B849_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Stack`1<Pathfinding.Path>::.ctor()
|
|
inline void Stack_1__ctor_m8B46118001B802791A3290844225D8F2BF8E7A16 (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815*, const RuntimeMethod*))Stack_1__ctor_m70E8EDA96A608CE9BAB7FC8313B233AADA573BD4_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>::set_Item(TKey,TValue)
|
|
inline void Dictionary_2_set_Item_m559F9E6FB26D818379CC6B6F508C570ECE93BBB6 (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* __this, Type_t* ___0_key, Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5*, Type_t*, Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815*, const RuntimeMethod*))Dictionary_2_set_Item_m1A840355E8EDAECEA9D0C6F5E51B248FAA449CBD_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Stack`1<Pathfinding.Path>::Push(T)
|
|
inline void Stack_1_Push_mB80DD005FBE60BF950CF25FF2A7FBE91472E2EC3 (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815*, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, const RuntimeMethod*))Stack_1_Push_m709DD11BC1291A905814182CF9A367DE7399A778_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Type,System.Int32>::TryGetValue(TKey,TValue&)
|
|
inline bool Dictionary_2_TryGetValue_m3EF4F6B2EC138E3A20BD7549CE6DE54B0608CD4D (Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455* __this, Type_t* ___0_key, int32_t* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455*, Type_t*, int32_t*, const RuntimeMethod*))Dictionary_2_TryGetValue_m4B8EE45640C70BBFD6F3EFF1040983404C098342_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.Stack`1<Pathfinding.Path>::get_Count()
|
|
inline int32_t Stack_1_get_Count_mC37C8B470DA3123EE7857CF890456483D845E8B5_inline (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815*, const RuntimeMethod*))Stack_1_get_Count_mD08AE71D49787D30DDD9D484BCD323D646744D2E_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.Stack`1<Pathfinding.Path>>::.ctor()
|
|
inline void Dictionary_2__ctor_m81C780A4F8494DFCAB83CC83B05D8B561F4E32CB (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5*, const RuntimeMethod*))Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Type,System.Int32>::.ctor()
|
|
inline void Dictionary_2__ctor_m0AF6A9E01056850C9F7AE464B4099CA3F6D5E8EC (Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455*, const RuntimeMethod*))Dictionary_2__ctor_m517E7F9D104FEAE6646EABDDC9C852510E86077C_gshared)(__this, method);
|
|
}
|
|
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00 (Delegate_t* ___0_a, Delegate_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t* Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3 (Delegate_t* ___0_source, Delegate_t* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Stack`1<System.Int32>::.ctor()
|
|
inline void Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1 (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6*, const RuntimeMethod*))Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
|
|
inline void List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8 (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, 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.Void System.Exception::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F (Exception_t* __this, String_t* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue__ctor_m76CE5F6D19A8CC60CFCDFFA6E0B07130C895E8E4 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, int32_t ___0_numReceivers, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathHandler::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler__ctor_m74609E7430123DF00B84CCA212F28B3A6EFC8471 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, int32_t ___0_threadID, int32_t ___1_totalThreadCount, const RuntimeMethod* method) ;
|
|
// UnityEngine.Profiling.CustomSampler UnityEngine.Profiling.CustomSampler::Create(System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487* CustomSampler_Create_m7F949EE6A33CEEC8420DC3362992C2272E76815D (String_t* ___0_name, bool ___1_collectGpuData, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor/<>c__DisplayClass24_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass24_0__ctor_m415D77018EE062167616D71194E037A2C03A6A14 (U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.ThreadStart::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStart__ctor_m35CE51F76358F20E4A0C8F2963C3AE14E5FF7E71 (ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Thread::.ctor(System.Threading.ThreadStart)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread__ctor_m1FA23A179DF4F5B659689D6FA40DE903086212E2 (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2* ___0_start, 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,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.Threading.Thread::set_Name(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_Name_m53E2BA6E84C04A6393EA5E470E516703CB892E4A (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Thread::set_IsBackground(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_IsBackground_m45F00BD4C46F9B8A7C46A20A170B22BABB8FBA30 (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Thread::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Thread_Start_m2230799AA331CA9ACEF49D5500281D0C1A9F72FA (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.IEnumerator Pathfinding.PathProcessor::CalculatePaths(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PathProcessor_CalculatePaths_m065EE70E33515B21F7BE4309D1CADEBE962F7CC1 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_pathHandler, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue::Block()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Block_m8963DA80862DFFED119858687CBE03BED3D1046F (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.PathProcessor::get_IsUsingMultithreading()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathProcessor_get_IsUsingMultithreading_m5AC7A0DA792294902C1F5F28EF4816BFD263002D (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Thread::Sleep(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549 (int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor::TickNonMultithreaded()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_TickNonMultithreaded_mCE73F28C1193CFB77FDF955B6BDCB18C5F45344E (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.ThreadControlQueue::get_AllReceiversBlocked()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadControlQueue_get_AllReceiversBlocked_m269C454E9155860FFAC33E715B3D5B9E903BE4DD (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, 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);
|
|
}
|
|
// System.Boolean System.Collections.Generic.List`1<System.Int32>::Remove(T)
|
|
inline bool List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5 (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
|
|
inline int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Action::Invoke()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue::Unblock()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Unblock_m6D416ACFD94C94BE53CB1628DF9B26487C9C5D10 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor/GraphUpdateLock::.ctor(Pathfinding.PathProcessor,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphUpdateLock__ctor_m72FDD7B09CFA3493907C1181D4E657CB999D3DC8 (GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* __this, PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___0_pathProcessor, bool ___1_block, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogException(System.Exception)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0 (Exception_t* ___0_exception, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue::TerminateReceivers()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_TerminateReceivers_mB2BC0ECA57D64842B193DC833849EB61C9A92617 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.Path Pathfinding.ThreadControlQueue::PopNoBlock(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, bool ___0_blockedBefore, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Threading.Thread::Join(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_Join_mEE23C739BE03BA0A3D0083A7848300192EF9F5C2 (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B (String_t* ___0_str0, String_t* ___1_str1, String_t* ___2_str2, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Thread::Abort()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Abort_mB956BACF405EFC38C6A3D0B93142E4CEDD64D941 (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Threading.Thread::get_IsAlive()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_IsAlive_m87922B882A526D780570799F497EEB4C99F005DF (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.Stack`1<System.Int32>::get_Count()
|
|
inline int32_t Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_inline (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6*, const RuntimeMethod*))Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.Stack`1<System.Int32>::Pop()
|
|
inline int32_t Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748 (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6*, const RuntimeMethod*))Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748_gshared)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.PathHandler::InitializeNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_InitializeNode_m7B8415CA68528C025A3F2BFB20E5236052A1630D (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.HierarchicalGraph::OnCreatedNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HierarchicalGraph_OnCreatedNode_m7BBBE07C8242DBEA4DCC83CE9B96628A1432DBE7 (HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GraphNode::get_NodeIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Stack`1<System.Int32>::Push(T)
|
|
inline void Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6*, int32_t, const RuntimeMethod*))Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Void Pathfinding.PathHandler::DestroyNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_DestroyNode_m3D987420EDBACCBBBAF997F6D9E5E63660D0F919 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.HierarchicalGraph::AddDirtyNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823 (HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Profiling.Profiler::EndThreadProfiling()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Profiler_EndThreadProfiling_mBD04DF047DA91FC87323E09B6CF8CAA55896AA4D (const RuntimeMethod* method) ;
|
|
// System.DateTime System.DateTime::get_UtcNow()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA (const RuntimeMethod* method) ;
|
|
// System.Int64 System.DateTime::get_Ticks()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6 (DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.Path Pathfinding.ThreadControlQueue::Pop()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Action`1<Pathfinding.Path>::Invoke(T)
|
|
inline void Action_1_Invoke_mB3DD6BFD5B7AB0E85A32E3002B6900DEE4C32F4D_inline (Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, const RuntimeMethod*))Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline)(__this, ___0_obj, method);
|
|
}
|
|
// Pathfinding.PathCompleteState Pathfinding.Path::get_CompleteState()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.UInt16 Pathfinding.Path::get_pathID()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.ThreadControlQueue::get_IsTerminating()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool ThreadControlQueue_get_IsTerminating_m966601A5E4511BE83AAA3956C2E62461DE571458_inline (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::FailWithError(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_msg, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.OnPathDelegate::Invoke(Pathfinding.Path)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void OnPathDelegate_Invoke_m17E23601849FDCA5C8558EB78BE36C6202423A80_inline (OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathReturnQueue::Enqueue(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathReturnQueue_Enqueue_mE9E6A9B9AF077F4C3E02BF5DA77CBC8C2FE6D4EE (PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogWarning(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue::ReceiverTerminated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_ReceiverTerminated_m843CD3825CFE806324EA30AC8151C40FC5229209 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor/<CalculatePaths>d__36::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CCalculatePathsU3Ed__36__ctor_m80AE35E939C06EC3CA1B243C3CC14D95A9622CC3 (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.PathProcessor::Lock(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathProcessor_Lock_m7E76D2ECD2989F844C2786B65AACE8A44E62C1FF (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, bool ___0_block, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<System.Int32>::Contains(T)
|
|
inline bool List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean Pathfinding.PathProcessor/GraphUpdateLock::get_Held()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphUpdateLock_get_Held_m1D5503FC3E06005CF7C0B70E0B976F57709C21A0 (GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor::Unlock(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_Unlock_mA82A7915541D83DB891FEE665DB2A16E12F03536 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, int32_t ___0_id, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor/GraphUpdateLock::Release()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphUpdateLock_Release_m5DD2E0681ED1C58B742460500AC5FC6EDB4933FB (GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathProcessor::CalculatePathsThreaded(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_CalculatePathsThreaded_m3A95732FD5083C2FBB321E9409C270ADA1DF3759 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_pathHandler, 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.Void System.Collections.Generic.Queue`1<Pathfinding.Path>::.ctor()
|
|
inline void Queue_1__ctor_mBEF40D980CAAFAACF58475044636E64E634718A6 (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF*, const RuntimeMethod*))Queue_1__ctor_m6E2A5A8173E0CC524496D5155C737DF8FD10D0EB_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Queue`1<Pathfinding.Path>::Enqueue(T)
|
|
inline void Queue_1_Enqueue_m3FB0DB7753257520A15F10AC02CB3BAB6EF2B57D (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF*, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, const RuntimeMethod*))Queue_1_Enqueue_m5CB8CF3906F1289F92036F0973EC5BE3450402EF_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.Queue`1<Pathfinding.Path>::get_Count()
|
|
inline int32_t Queue_1_get_Count_m2CC93F0C5AC0A1436DE84FD36D1D258E2CCDD36B_inline (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF*, const RuntimeMethod*))Queue_1_get_Count_m1768ADA9855B7CDA14C9C42E098A287F1A39C3A2_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.Queue`1<Pathfinding.Path>::Dequeue()
|
|
inline Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* Queue_1_Dequeue_m5AB4196653F6689A3B3C1B05C5E49AB868891AE4 (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* (*) (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF*, const RuntimeMethod*))Queue_1_Dequeue_m86B243DF9EC238316EC3D27DF3E0AB8DB0987E84_gshared)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.Path::Release(System.Object,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, RuntimeObject* ___0_o, bool ___1_silent, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.ManualResetEvent::.ctor(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEvent__ctor_m361CFCF6AC28BFFF5C8790DC2B5951791A1C4CEE (ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* __this, bool ___0_initialState, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Threading.EventWaitHandle::Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6 (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Threading.EventWaitHandle::Set()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Threading.Monitor::Enter(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_m759A82E6E56E06C313A9AF4679E304E0D58ABB93 (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Threading.Monitor::IsEntered(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Monitor_IsEntered_m2B0B0362042E7C55268E3446CD65A2EEEF9E3F4A (RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue/QueueTerminationException::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueTerminationException__ctor_m5947656F45F3E3F548FAF83B59DC93FE33A502B2 (QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.ThreadControlQueue::Starving()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Starving_m8CE943DDE1D42DF6CF861E6565C8B5E67AD4FEA5 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __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.Void System.InvalidOperationException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162 (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* __this, String_t* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Void System.Exception::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m203319D1EA1274689B380A947B4ADC8445662B8F (Exception_t* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Func`2<System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_m80ECD25182BAE190E36A03B3F4580FEEB2712D10 (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___0_update, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_mA9A13FF76A946336BBB4500FA3445DAD5796A5F1 (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___0_update, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Action,System.Func`2<System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_m3D28340F13DC5ADB7DA7F8D6799BFB8E1193E0EF (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_init, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___1_update, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Action`1<Pathfinding.IWorkItemContext>,System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_mECE98A7AF478834B9D18E594D0ADCC01A65C4183 (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* ___0_init, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___1_update, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::get_Count()
|
|
inline int32_t IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_inline (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*, const RuntimeMethod*))IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.HierarchicalGraph::RecalculateAll()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HierarchicalGraph_RecalculateAll_mC4C447C2915F1F5FA06CAEE6B07CFFB0F4171FF5 (HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.HierarchicalGraph::RecalculateIfNecessary()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HierarchicalGraph_RecalculateIfNecessary_mE8FA1B677D429C912DD8CC13E7C574C75E237876 (HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::.ctor()
|
|
inline void IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*, const RuntimeMethod*))IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C_gshared)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::Enqueue(T)
|
|
inline void IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212 (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469, const RuntimeMethod*))IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean Pathfinding.WorkItemProcessor::get_workItemsInProgressRightNow()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_workItemsInProgressRightNow_m60FBD7509CEF87981D9181DFC8D50AFC87ACDE45_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Physics2D::SyncTransforms()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Physics2D_SyncTransforms_mF936634793253A203EF6632454731E44509256D8 (const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor::set_workItemsInProgressRightNow(System.Boolean)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.AstarData::LockGraphStructure(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarData_LockGraphStructure_mBE798D94E20933A51206614C49FB0B3D8D749AFB (AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* __this, bool ___0_allowAddingGraphs, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.WorkItemProcessor::get_workItemsInProgress()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_workItemsInProgress_mAE52A544C670C0C6DA7709C73CD6C7F0E3388DC9_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor::set_workItemsInProgress(System.Boolean)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WorkItemProcessor_set_workItemsInProgress_m2061576C1F113A0726D7D414AAD2020C68CAAF3C_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// T Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::get_Item(System.Int32)
|
|
inline AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1 (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 (*) (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*, int32_t, const RuntimeMethod*))IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Action`1<Pathfinding.IWorkItemContext>::Invoke(T)
|
|
inline void Action_1_Invoke_mD4695616630A0B7A630B78F757EE0F861C9F257D_inline (Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*, RuntimeObject*, const RuntimeMethod*))Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline)(__this, ___0_obj, method);
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::set_Item(System.Int32,T)
|
|
inline void IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7 (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, int32_t ___0_index, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*, int32_t, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469, const RuntimeMethod*))IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// TResult System.Func`2<System.Boolean,System.Boolean>::Invoke(T)
|
|
inline bool Func_2_Invoke_m186F4854CBE22B314553D85B8EAC73C995FF64E4_inline (Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* __this, bool ___0_arg, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB*, bool, const RuntimeMethod*))Func_2_Invoke_m186F4854CBE22B314553D85B8EAC73C995FF64E4_gshared_inline)(__this, ___0_arg, method);
|
|
}
|
|
// TResult System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>::Invoke(T1,T2)
|
|
inline bool Func_3_Invoke_m5694323AFF4139CEB1379C15FB0602AEA8F4B5C9_inline (Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* __this, RuntimeObject* ___0_arg1, bool ___1_arg2, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99*, RuntimeObject*, bool, const RuntimeMethod*))Func_3_Invoke_mB7B84565E5E531257DCAD69B65B9FB43D5D8B097_gshared_inline)(__this, ___0_arg1, ___1_arg2, method);
|
|
}
|
|
// T Pathfinding.WorkItemProcessor/IndexedQueue`1<Pathfinding.AstarWorkItem>::Dequeue()
|
|
inline AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 (*) (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*, const RuntimeMethod*))IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C_gshared)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.AstarData::UnlockGraphStructure()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarData_UnlockGraphStructure_mF922B95D3B2C44F675D0F772FC07D06EC7BA5D2A (AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.WorkItemProcessor::EnsureValidFloodFill()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_EnsureValidFloodFill_m891B9D7CC280F560B1B97118096C5505943F759E (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphModifier::TriggerEvent(Pathfinding.GraphModifier/EventType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphModifier_TriggerEvent_mE3187A21AD5747B3B8A9DCF1360FA3B621C7414A (int32_t ___0_type, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Connection::.ctor(Pathfinding.GraphNode,System.UInt32,System.Byte)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, uint8_t ___2_shapeEdge, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.Connection::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.Connection::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Connection_Equals_m0B5A487BB2AB4F6914AD87DA3D591528704EA702 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GraphNode::get_Destroyed()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_Destroyed_m6BE532323FF36C53B8B56D60495A1B0576F9C423 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.NavGraph Pathfinding.AstarData::GetGraph(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* AstarData_GetGraph_m277003679707540B49B5ADCDE494AA6492F3450F (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Int32 AstarPath::GetNewNodeIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AstarPath_GetNewNodeIndex_m639304DD9DEB7B2FABBF4A6C8F1164A48F7E534F (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, const RuntimeMethod* method) ;
|
|
// System.Void AstarPath::InitializeNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarPath_InitializeNode_m6F3829E454531076C1E614E3BD343D3E77B385CD (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void AstarPath::DestroyNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarPath_DestroyNode_mDFB2B0EE80E4A2B375DA63614F8A146E80CB0B95 (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::set_NodeIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_NodeIndex_m67711B4DDE1E6351C0C139EE9E0B9725DD053EAC (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.String System.UInt32::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UInt32_ToString_mB6FA6D2459C82ADCF285C55363491D9669A80154 (uint32_t* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GraphNode::get_HierarchicalNodeIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_get_HierarchicalNodeIndex_mDA5F72F73692892E6A1AB01877463381A0391D56 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.UInt32 Pathfinding.HierarchicalGraph::GetConnectedComponent(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t HierarchicalGraph_GetConnectedComponent_mB8A909F8D19752DA94E09CC2F3B846AA07A49F2E (HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* __this, int32_t ___0_hierarchicalNodeIndex, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode/<>c__DisplayClass60_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass60_0__ctor_m28FE7B59344928FCDAEAD87098B7F5EF73E52BB3 (U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathNode::UpdateG(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.BinaryHeap::Add(Pathfinding.PathNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4 (BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* __this, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void System.Action`1<Pathfinding.GraphNode>::.ctor(System.Object,System.IntPtr)
|
|
inline void Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692 (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared)(__this, ___0_object, ___1_method, method);
|
|
}
|
|
// System.Void Pathfinding.GraphNode/<>c__DisplayClass65_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass65_0__ctor_m9907DABE36BDAFB6DB8ED0807FDB684B9F54D41C (U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.Int3::op_Explicit(Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_ob, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.Int3::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, const RuntimeMethod* method) ;
|
|
// System.UInt32 Pathfinding.GraphNode::get_Penalty()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.UInt32 Pathfinding.GraphNode::get_Flags()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Flags_m3C230B3005D139D8B4D575E8D35E43967837B4B1_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::set_Penalty(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::set_Flags(System.UInt32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void GraphNode_set_Flags_mA3BFC8E434A7ECA94058A1BBD5204586A82E245E_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::set_GraphIndex(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_GraphIndex_m9B2794336E89B1606DDA06CE9042A64BC06BCCEF (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
|
|
// Pathfinding.PathNode Pathfinding.PathHandler::GetPathNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.UInt16 Pathfinding.PathHandler::get_PathID()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.Connection>::Release(T[]&,System.Boolean)
|
|
inline void ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82**, bool, const RuntimeMethod*))ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
|
|
}
|
|
// System.Void System.Action`1<Pathfinding.GraphNode>::Invoke(T)
|
|
inline void Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, const RuntimeMethod*))Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline)(__this, ___0_obj, method);
|
|
}
|
|
// System.Void Pathfinding.MeshNode::AddConnection(Pathfinding.GraphNode,System.UInt32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, int32_t ___2_shapeEdge, const RuntimeMethod* method) ;
|
|
// System.Void System.ArgumentNullException::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m4A0936689D360EBC545690326B4DF187196BF2B9 (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* __this, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.Connection>::ClaimWithExactLength(System.Int32)
|
|
inline ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7 (int32_t ___0_length, const RuntimeMethod* method)
|
|
{
|
|
return (( ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_gshared)(___0_length, method);
|
|
}
|
|
// System.Int32 Pathfinding.GraphNode::GetGizmoHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_GetGizmoHashCode_m4F6FBDB8048E7493E8FCE4CF3B800DA49DAAA686 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Serialization.GraphSerializationContext::SerializeNodeReference(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphSerializationContext_SerializeNodeReference_m7DDFE9416F1E4BCF332867FEAC72C852D68D45B0 (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// Pathfinding.GraphNode Pathfinding.Serialization.GraphSerializationContext::DeserializeNodeReference()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* GraphSerializationContext_DeserializeNodeReference_m968E85AF963D69ED085D263960B9D6605616353D (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Version::op_LessThan(System.Version,System.Version)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Version_op_LessThan_m83ED9AEB1F6175AF9C8CDEDD9329CE0D2DA2CE4E (Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___0_v1, Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* ___1_v2, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GraphNode::get_Walkable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.UInt32 Pathfinding.GraphNode::get_Tag()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.UInt32 Pathfinding.Path::GetTagPenalty(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_GetTagPenalty_m933FF50BB43D802C60831C3F262E053D290A0249 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_tag, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, const RuntimeMethod*))List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single UnityEngine.Vector3::Distance(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
|
|
inline int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.Path/<WaitForPath>d__54::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWaitForPathU3Ed__54__ctor_m947D1894B6D6008CA7C6358255CBCB45A113ECEE (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// System.Void AstarPath::BlockUntilCalculated(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarPath_BlockUntilCalculated_m8C2D3EE61F89286A0BFC3B59CDD8C672E0F115A6 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.Path::GetHTarget()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Path_GetHTarget_mBC4019E5939A632FB6B22111B782C46E6007AEF3_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.Int3::op_Subtraction(Pathfinding.Int3,Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_lhs, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.Int3::get_costMagnitude()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int3_get_costMagnitude_m6286EB04015DE9C7D4C177B0D006A2E7F71E4250 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Math::Min(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52 (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Math::Max(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF (int32_t ___0_val1, int32_t ___1_val2, const RuntimeMethod* method) ;
|
|
// Pathfinding.PathState Pathfinding.Path::get_PipelineState()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::set_PipelineState(Pathfinding.PathState)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_PipelineState_mEB9D1B611E4E759C1C313263C6E914E92FB97DB8_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::Error()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Error_m1343A204BD28D52D57A34BC7D4235B1FD6322713 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.String Pathfinding.Path::get_errorLog()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::op_Inequality(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::set_errorLog(System.String)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::Log(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Log_m9F20428B49A54F05B31810484520D897C0E722D7 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_msg, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::set_CompleteState(Pathfinding.PathCompleteState)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_CompleteState_m4DCDB8EE538A927682FA71BC376AE1A37DDB5C74 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>&)
|
|
inline void ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** ___0_list, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**, const RuntimeMethod*))ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_gshared)(___0_list, method);
|
|
}
|
|
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.GraphNode>::Release(System.Collections.Generic.List`1<T>&)
|
|
inline void ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59** ___0_list, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59**, const RuntimeMethod*))ListPool_1_Release_m7C0F4137C46B65BBD9AD8AFB413F45B8840D0196_gshared)(___0_list, method);
|
|
}
|
|
// System.Void System.NullReferenceException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullReferenceException__ctor_mA41317A57F5C1C0E3F59C7EB25ABD484564B23D4 (NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB* __this, String_t* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<Pathfinding.GraphNode>::Claim()
|
|
inline List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562 (const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* (*) (const RuntimeMethod*))ListPool_1_Claim_mD5ABCA62B8F3359A8E5CF71E04B00BFC1761BACE_gshared)(method);
|
|
}
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<UnityEngine.Vector3>::Claim()
|
|
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7 (const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* (*) (const RuntimeMethod*))ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_gshared)(method);
|
|
}
|
|
// System.Void Pathfinding.Path::set_searchedNodes(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_searchedNodes_mEE42EB4BEA9B85DBB6910F04ACDA7B9D09C7194A_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// Pathfinding.PathNNConstraint Pathfinding.PathNNConstraint::get_Default()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathNNConstraint_tD4EC529CCAF3C78A35DF6F147DC195983505DA76* PathNNConstraint_get_Default_m4D87AB0993FC27983CCFD0FF96FC9461F7916874 (const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::set_tagPenalties(System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_tagPenalties_mD7B79BBBF32D5193353A01FDD4454883EEC3EE70 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_value, const RuntimeMethod* method) ;
|
|
// System.UInt16 AstarPath::GetNextPathID()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t AstarPath_GetNextPathID_m38470F5A6582385A0DA657972E014652463BEAE2 (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::set_pathID(System.UInt16)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_pathID_m1809310BA902166A40AF2D8323B60540258210F4_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, uint16_t ___0_value, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.Int3::get_zero()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_get_zero_mE60104509A05E695E5E18E42F0CA94157A6DF25C (const RuntimeMethod* method) ;
|
|
// System.Void System.ArgumentNullException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
|
|
inline RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38 (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( RuntimeObject* (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
|
|
inline int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
|
|
inline void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, RuntimeObject*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54 (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void Pathfinding.PathPool::Pool(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathPool_Pool_mFE6BE9197A2C5C36F9E7AEC6F54607DE92EB4CFF (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<Pathfinding.GraphNode>::get_Capacity()
|
|
inline int32_t List_1_get_Capacity_m37C5CAC1E43187364525B1DBFE5B3CA68FF8BD03 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, const RuntimeMethod*))List_1_get_Capacity_mF05ADA0EC0B9CC71EDE6D06F6A33A50705EEA32D_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::set_Capacity(System.Int32)
|
|
inline void List_1_set_Capacity_m9F199D9799BAB78344107D572B7695001E1CEC79 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, int32_t, const RuntimeMethod*))List_1_set_Capacity_mD826E33A9E5EBC19C714653217071790693E0B95_gshared)(__this, ___0_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Capacity()
|
|
inline int32_t List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Capacity(System.Int32)
|
|
inline void List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, const RuntimeMethod*))List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE_gshared)(__this, ___0_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::Add(T)
|
|
inline void List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<Pathfinding.GraphNode>::get_Item(System.Int32)
|
|
inline GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* List_1_get_Item_m9C60036A6132012418113197759818C140CECC84 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.GraphNode>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8 (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, int32_t ___0_index, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, int32_t, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, const RuntimeMethod*))List_1_set_Item_m3C58DBC69A321AF2826595584FF3E9F43C07EA56_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
|
|
inline void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean Pathfinding.Path::get_error()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_get_error_m53DE4309315C8B6A124412EC3CBF9AA514414FE2 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t* StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D (StringBuilder_t* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.String System.Single::ToString(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Single_ToString_m3F2C4433B6ADFA5ED8E3F14ED19CD23014E5179D (float* __this, String_t* ___0_format, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.Path::get_searchedNodes()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Path_get_searchedNodes_m292CBC10DFDEBD2883B746F99009506C2F5C0D4C_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t* StringBuilder_Append_m283B617AC29FB0DD6F3A7D8C01D385C25A5F0FAA (StringBuilder_t* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<Pathfinding.GraphNode>::get_Count()
|
|
inline int32_t List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean AstarPath::get_IsUsingMultithreading()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AstarPath_get_IsUsingMultithreading_m8BE0924F24838A5D4EDE803BAC99A52A2D94443B (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, const RuntimeMethod* method) ;
|
|
// System.Object System.Delegate::get_Target()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* Delegate_get_Target_m6E203F111C1548193A5AB7E616BD5834CD269753_inline (Delegate_t* __this, const RuntimeMethod* method) ;
|
|
// System.Text.StringBuilder System.Text.StringBuilder::AppendLine()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t* StringBuilder_AppendLine_m3BC704C4E6A8531027D8C9287D0AB2AA0188AC4E (StringBuilder_t* __this, const RuntimeMethod* method) ;
|
|
// System.Text.StringBuilder System.Text.StringBuilder::AppendLine(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t* StringBuilder_AppendLine_mF75744CE941C63E33188E22E936B71A24D3CBF88 (StringBuilder_t* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.UInt16)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t* StringBuilder_Append_m68993BA3B76A53683D6512B65586648C339AD583 (StringBuilder_t* __this, uint16_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Text.StringBuilder::set_Length(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder_set_Length_mE2427BDAEF91C4E4A6C80F3BDF1F6E01DBCC2414 (StringBuilder_t* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::DebugStringPrefix(Pathfinding.PathLog,System.Text.StringBuilder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_DebugStringPrefix_m66C8FCA88350362AEE54B3A93030B58CDFCE234A (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_logMode, StringBuilder_t* ___1_text, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::DebugStringSuffix(Pathfinding.PathLog,System.Text.StringBuilder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_DebugStringSuffix_m245C85FD8EBF769BFA25B6C717E81BCDFC77EC4F (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_logMode, StringBuilder_t* ___1_text, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathHandler::ClearPathIDs()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_ClearPathIDs_m2F5E23B4E9A681DC6ABD2008F0B838C0FA3F77DF (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathHandler::InitializeForPath(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_InitializeForPath_mA2B36824C7E5BAB511CAC7B15EF2F1C22BC6D3B7 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::ErrorCheck()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_ErrorCheck_mED7550AE1CC95C04F2505EEE5147B79E8FB46E1B (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Path::PrepareBase(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_PrepareBase_mC4C06A11184142FA79C6715EAA25519A4BD66192 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_pathHandler, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
|
|
inline void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690 (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.UInt32 Pathfinding.PathNode::get_cost()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t PathNode_get_cost_m2F7832895C415641D680D0076BFEA78FD476A5FF (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method) ;
|
|
// System.UInt32 Pathfinding.Path::GetTraversalCost(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.BinaryHeap::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BinaryHeap__ctor_m691C935A39E8D01859A51EA2C00EB2E1B5B7A9F7 (BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* __this, int32_t ___0_capacity, const RuntimeMethod* method) ;
|
|
// System.Void System.Text.StringBuilder::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_m1D99713357DE05DAFA296633639DB55F8C30587D (StringBuilder_t* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.BinaryHeap::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BinaryHeap_Clear_m809DA2C5784270DE1CE83123B867C1C427C3345C (BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathNode::set_G(System.UInt32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PathNode_set_G_m3442A82598E500CE060A1D38E4A51B1AAF27D22B_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathNode::set_H(System.UInt32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Array::CopyTo(System.Array,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB (RuntimeArray* __this, RuntimeArray* ___0_array, int32_t ___1_index, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.PathNode::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode__ctor_m10FE50BD2C5A48657DF99F0353A9D887A5E19026 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Camera UnityEngine.Camera::get_main()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* Camera_get_main_m52C992F18E05355ABB9EEB64A4BF2215E12762DF (const RuntimeMethod* method) ;
|
|
// T[] UnityEngine.Object::FindObjectsOfType<UnityEngine.MonoBehaviour>()
|
|
inline MonoBehaviourU5BU5D_tEB91860B3CEE2D63A7833A2842EB9CE4547DDBD7* Object_FindObjectsOfType_TisMonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_mDF62FF06EFCF4912EC4EA0E6AB3CFEF74507E58C (const RuntimeMethod* method)
|
|
{
|
|
return (( MonoBehaviourU5BU5D_tEB91860B3CEE2D63A7833A2842EB9CE4547DDBD7* (*) (const RuntimeMethod*))Object_FindObjectsOfType_TisRuntimeObject_m0B4DF4B8AB4C71E0F471BC9D0440B40844DA221D_gshared)(method);
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<TResult> System.Linq.Enumerable::OfType<Pathfinding.IAstarAI>(System.Collections.IEnumerable)
|
|
inline RuntimeObject* Enumerable_OfType_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m9689B236ECCE8C65FE02731208EAD4E73C9D2A6B (RuntimeObject* ___0_source, const RuntimeMethod* method)
|
|
{
|
|
return (( RuntimeObject* (*) (RuntimeObject*, const RuntimeMethod*))Enumerable_OfType_TisRuntimeObject_m159512A788C6571FEF13C708CB20374087C762DD_gshared)(___0_source, method);
|
|
}
|
|
// TSource[] System.Linq.Enumerable::ToArray<Pathfinding.IAstarAI>(System.Collections.Generic.IEnumerable`1<TSource>)
|
|
inline IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* Enumerable_ToArray_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m603BA72AE08F0DD04D1E17F56B0FC1831417C3C4 (RuntimeObject* ___0_source, const RuntimeMethod* method)
|
|
{
|
|
return (( IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* (*) (RuntimeObject*, const RuntimeMethod*))Enumerable_ToArray_TisRuntimeObject_mA54265C2C8A0864929ECD300B75E4952D553D17D_gshared)(___0_source, method);
|
|
}
|
|
// System.Void UnityEngine.MonoBehaviour::set_useGUILayout(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_set_useGUILayout_m56F0C62F4B6889D7472074ECCB56EBA462285134 (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Event UnityEngine.Event::get_current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* Event_get_current_mBD7135E10C392EAD61AC0A0D2489EF758C8A3FAD (const RuntimeMethod* method) ;
|
|
// UnityEngine.EventType UnityEngine.Event::get_type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_type_m8A825D6DA432B967DAA3E22E5C8571620A75F8A8 (Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Event::get_clickCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_clickCount_mEF418EB4A36318F07E5F3463E4E5E8A4C454DE7D (Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.TargetMover::UpdateTargetPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetMover_UpdateTargetPosition_m5824ACB069D9B82BADAB03CB500BB3C0B8034905 (TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Input::get_mousePosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Input_get_mousePosition_mFF21FBD2647DAE2A23BD4C45571CA95D05A0A42C (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Camera::ScreenToWorldPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Camera_ScreenToWorldPoint_m5EA3148F070985EC72127AAC3448D8D6ABE6E7E5 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// UnityEngine.Ray UnityEngine.Camera::ScreenPointToRay(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.LayerMask::op_Implicit(UnityEngine.LayerMask)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D (LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___0_mask, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Ray,UnityEngine.RaycastHit&,System.Single,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m34AC1210E893A9EF969BD2C7104B10BE5B580025 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 ___0_ray, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___1_hitInfo, float ___2_maxDistance, int32_t ___3_layerMask, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::get_point()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector3::op_Inequality(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_position(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.MonoBehaviour::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass11_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass11_0__ctor_mF41D6D3AF3F103EEC29E9C6ED77F535B46F4ACB7 (U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass12_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass12_0__ctor_m10E7CC41EDD9472074850B2093CE0C420F6F7A38 (U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_inverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_inverse_m4F4A881CD789281EA90EB68CFD39F36C8A81E6BD (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::op_Multiply(UnityEngine.Matrix4x4,UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_lhs, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass18_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass18_0__ctor_mF2A09316DEA576C4263D56F7E47938FFB3F55029 (U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.NNConstraint Pathfinding.NNConstraint::get_None()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* NNConstraint_get_None_m64D379ED16BA6D507F7A3837557A44C519FA4811 (const RuntimeMethod* method) ;
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavGraph_GetNearest_m708159D21DAA4F54ED2592F2C6AEB07E49215416 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass21_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass21_0__ctor_mD9D3C7D9ECE5A2203BA837914759CE7F15EE0AED (U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* __this, const RuntimeMethod* method) ;
|
|
// System.Single AstarPath::get_maxNearestNodeDistanceSqr()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AstarPath_get_maxNearestNodeDistanceSqr_mFED817A3319393CD0214F4C95AC9A38475AA75B0 (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NNInfoInternal::.ctor(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1 (NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph::Scan()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Scan_m4605013BDBD87C4F82790C25C5468D6CEB3B582E (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method) ;
|
|
// System.Void AstarPath::Scan(Pathfinding.NavGraph)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarPath_Scan_mE593853C6A25DBC3969D591FA59AF0DA6375F38E (AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* __this, NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* ___0_graphToScan, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.Guid::.ctor(System.Byte[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Guid__ctor_mFD7BF76A57089492CF8A7A37D3BD0EFEFD927BBC (Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A* __this, ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___0_bytes, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass32_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass32_0__ctor_m85B17B81740EFD5D0A2AA4FF89F0A0CB0A922D5F (U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.RetainedGizmos/Hasher::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hasher__ctor_m25E88DB00502DF7D65073E1CF46CD641400E0280 (Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_active, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.Util.RetainedGizmos::Draw(Pathfinding.Util.RetainedGizmos/Hasher)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RetainedGizmos_Draw_m40981AE44C3717C1CE9A13BD49BAA2D58A6B42B3 (RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* __this, Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B ___0_hasher, const RuntimeMethod* method) ;
|
|
// Pathfinding.Util.GraphGizmoHelper Pathfinding.Util.RetainedGizmos::GetGizmoHelper(AstarPath,Pathfinding.Util.RetainedGizmos/Hasher)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* RetainedGizmos_GetGizmoHelper_mB46B01229353232A3BC7C5E43EB59BAC4B0961F4 (RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_active, Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B ___1_hasher, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph::DrawUnwalkableNodes(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DrawUnwalkableNodes_m051B14CF783BEBA83CA553553DC0C5E536D3ECF6 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, float ___0_size, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass33_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass33_0__ctor_m68F72FAA1D3C13A701E2A6CFF02ED96CC2A0EB23 (U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Gizmos::set_color(UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_set_color_m53927A2741937484180B20B55F7F20F8F60C5797 (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_identity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline (const RuntimeMethod* method) ;
|
|
// TResult System.Func`2<Pathfinding.GraphNode,System.Boolean>::Invoke(T)
|
|
inline bool Func_2_Invoke_m433004D7925FFD2311264387933722E962BDC498_inline (Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_arg, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*, const RuntimeMethod*))Func_2_Invoke_m2014423FB900F135C8FF994125604FF9E6AAE829_gshared_inline)(__this, ___0_arg, method);
|
|
}
|
|
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.Int3::op_Explicit(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_ob, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::get_sqrMagnitude()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph/<>c::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mBF8BA5A32E065F552DAADA652B756EA7C01C6E88 (U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::Destroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_Destroy_mDA77B05D323D3821AAE1CB7DE44F9DD48823C41D (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.RetainedGizmos/Hasher::HashNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hasher_HashNode_mCB33513725CA63B5C3E8676EFFE8C5E2C9FC378D (Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Gizmos::DrawCube(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Gizmos_DrawCube_m4417EAEA479EF4AD52445810D840BA8FCBC6EF3F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_center, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_size, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::Transform(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Physics2D::OverlapCircle(UnityEngine.Vector2,System.Single,UnityEngine.ContactFilter2D,UnityEngine.Collider2D[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Physics2D_OverlapCircle_mFB365F1CC268016D6BC0DDDDF06DB7AEC8AA1EE7 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_point, float ___1_radius, ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 ___2_contactFilter, Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* ___3_results, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Physics2D::OverlapPoint(UnityEngine.Vector2,UnityEngine.ContactFilter2D,UnityEngine.Collider2D[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Physics2D_OverlapPoint_m7DE14703086A7AD5F061A5E915CF0047532C23D7 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_point, ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 ___1_contactFilter, Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* ___2_results, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::CheckCapsule(UnityEngine.Vector3,UnityEngine.Vector3,System.Single,System.Int32,UnityEngine.QueryTriggerInteraction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_CheckCapsule_mFFAADF3C5B987AA3ACBF33377C9D292FA8680532 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_end, float ___2_radius, int32_t ___3_layerMask, int32_t ___4_queryTriggerInteraction, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::CheckSphere(UnityEngine.Vector3,System.Single,System.Int32,UnityEngine.QueryTriggerInteraction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_CheckSphere_mC32BB961B0CF9D23EDDEEC3F30021FD1BE88E261 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, float ___1_radius, int32_t ___2_layerMask, int32_t ___3_queryTriggerInteraction, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Vector3,UnityEngine.Vector3,System.Single,System.Int32,UnityEngine.QueryTriggerInteraction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m453681A406AADE0A30227D955279F5E7050B790D (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, float ___2_maxDistance, int32_t ___3_layerMask, int32_t ___4_queryTriggerInteraction, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_UnaryNegation(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.GraphCollision::CheckHeight(UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphCollision_CheckHeight_m8C08DC713428CB1995F8F1F775E79C3FD624DD3D (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___1_hit, bool* ___2_walkable, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Ray::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::SphereCast(UnityEngine.Ray,System.Single,UnityEngine.RaycastHit&,System.Single,System.Int32,UnityEngine.QueryTriggerInteraction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_SphereCast_mE7656F9355B33AED9095D8A0301734611EC95B05 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 ___0_ray, float ___1_radius, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___2_hitInfo, float ___3_maxDistance, int32_t ___4_layerMask, int32_t ___5_queryTriggerInteraction, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::get_origin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::get_direction()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.VectorMath::ClosestPointOnLine(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 VectorMath_ClosestPointOnLine_m12B3AF57DF967C65DF62177E581288AAA4732684 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lineStart, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_lineEnd, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_point, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Single,System.Int32,UnityEngine.QueryTriggerInteraction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_mA782767AD4F149FBEA32C71460DFF061B7563688 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___2_hitInfo, float ___3_maxDistance, int32_t ___4_layerMask, int32_t ___5_queryTriggerInteraction, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RaycastHit::set_point(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastHit_set_point_m3B63BEB25A82BFCF9FBB300022D0362BC2CF9E11 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RaycastHit::set_distance(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaycastHit_set_distance_mD5C9C6A5F7EDFFAC302DA4981F3483AA9981A9DC (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Physics::RaycastNonAlloc(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit[],System.Single,System.Int32,UnityEngine.QueryTriggerInteraction)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Physics_RaycastNonAlloc_mB8FE279E06CE87D77387AA9A10562B8052DC8836 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* ___2_results, float ___3_maxDistance, int32_t ___4_layerMask, int32_t ___5_queryTriggerInteraction, const RuntimeMethod* method) ;
|
|
// UnityEngine.RaycastHit[] Pathfinding.GraphCollision::CheckHeightAll(UnityEngine.Vector3,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* GraphCollision_CheckHeightAll_m4D517E0AC5FA1316D656EFA8423ADB6F3C7AF80B (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, int32_t* ___1_numHits, const RuntimeMethod* method) ;
|
|
// UnityEngine.LayerMask UnityEngine.LayerMask::op_Implicit(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222 (int32_t ___0_intVal, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_OnDestroy_m968A86AF2585EC3929586B733DE68CE929484EFC (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::RemoveGridGraphFromStatic()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_RemoveGridGraphFromStatic_m47900E530E4C13CE3B220CA66095106D86DC6C50 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.AstarData::GetGraphIndex(Pathfinding.NavGraph)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AstarData_GetGraphIndex_mEE39A9C890D7D44B139C86A4DF94AA0E171069C0 (AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* __this, NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* ___0_graph, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNode::ClearGridGraph(System.Int32,Pathfinding.GridGraph)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_ClearGridGraph_m0A229F6C68B33836893E6651D200179D83833A42 (int32_t ___0_graphIndex, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___1_graph, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_point, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_forward()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector3::op_Equality(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridGraph::get_is2D()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_get_is2D_m5F4835C4F9D339122331A832569CF55C3730F770 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph__ctor_mAA234C62A98AC3CD20D1CD0642D6EC2CDCBEF015 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphCollision::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision__ctor_mD0D746B70FD873393EB5D6138F160B4F208AD5DD (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.GraphTransform::.ctor(UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphTransform__ctor_mF0D350BA128D610C33975209F3E04290F0936A88 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_matrix, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::set_transform(Pathfinding.Util.GraphTransform)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void GridGraph_set_transform_m0B297D6791CDC5CE67F98D2D0AF363F215FC584D_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph/<>c__DisplayClass61_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass61_0__ctor_m1596246DC0BCF083A124C59DC7E8949BA920F369 (U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::get_transform()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::get_eulerAngles()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::SetDimensions(System.Int32,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetDimensions_m2582F4A6A9F4E05B1D7BC1DA769B4DE6BDA8EC57 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_width, int32_t ___1_depth, float ___2_nodeSize, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridNode::HasConnectionInDirection(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridNode::get_EdgeNode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNode_get_EdgeNode_m48794BCE0D4C526953754CF9D4BDCDB4F1569D0C (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GridNodeBase::get_NodeInGridIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GridGraph::get_Width()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.GridNode Pathfinding.GridGraph::GetNodeConnection(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GridGraph_GetNodeConnection_mFA6DB89CD1F495C829C71DD2F40FC262457B6877 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_index, int32_t ___1_x, int32_t ___2_z, int32_t ___3_dir, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridGraph::HasNodeConnection(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_HasNodeConnection_m7A0C9F937362564C8B365A6A4173A915B3469DEE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_index, int32_t ___1_x, int32_t ___2_z, int32_t ___3_dir, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::SetNodeConnection(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetNodeConnection_mE2D562C6365ED36E506B270B8CA20D3055F5F720 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_index, int32_t ___1_x, int32_t ___2_z, int32_t ___3_dir, bool ___4_value, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GridGraph::get_Depth()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t GridGraph_get_Depth_m82B29650EBDB2AA2FA075D786043FA76E7AF25D0_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNode::SetConnectionInternal(System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetConnectionInternal_mA9FEC910BFD91692F42444F30F46EB4931D9AB0F (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_dir, bool ___1_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Multiply(UnityEngine.Vector2,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::UpdateTransform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_UpdateTransform_m9BA7A9D16EA9221C2E30D94927ADDC61D563AD21 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::CalculateDimensions(System.Int32&,System.Int32&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateDimensions_m08862DDCE0D3C478FA8ED1CDA7C681F64E1A8CCF (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t* ___0_width, int32_t* ___1_depth, float* ___2_nodeSize, const RuntimeMethod* method) ;
|
|
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::CalculateTransform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_CalculateTransform_m5477ECADF04C51740AF2999ED287BB71C2E97FCE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline (float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_q, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_s, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::Scale(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_Scale_m95902D2A889FD6E7B04BBEAE6FAE5D6D8A88E642 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint3x4(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Sign(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::set_size(UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void GridGraph_set_size_m6C0D706F47946922AEB296FE6E1295D8D72AAF07_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 Pathfinding.GridGraph::get_size()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mathf::FloorToInt(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mathf::CeilToInt(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Mathf::Approximately(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::InverseTransform(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mathf::Clamp(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline (int32_t ___0_value, int32_t ___1_min, int32_t ___2_max, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mathf::RoundToInt(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph/<ScanInternal>d__88::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__88__ctor_mD84F86AE3ACDBEF007981F0E14F5B46FBC27A3A9 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.GridGraph::GraphPointToWorld(System.Int32,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GridGraph_GraphPointToWorld_m5BC2E2993E52AA4FCA07834F1C342B4CB3F80607 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, float ___2_height, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::set_Tag(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridGraph::get_useRaycastNormal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_get_useRaycastNormal_mABFD21A578BDBE476765E254804373D64F964CF9 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::get_normal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Dot(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GraphCollision::Check(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphCollision_Check_mB1F407BCD997E9592019725084DD66B6B2975FF2 (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphNode::set_Walkable(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNodeBase::set_WalkableErosion(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_set_WalkableErosion_m7C0B98F5A3A6D09B9B407975295E468D6D5BC699 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridGraph::HasNodeConnection(Pathfinding.GridNode,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, int32_t ___1_dir, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::ErodeWalkableArea(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeWalkableArea_m658BCA17D20DDDC83FFE45B812BD5E53F0BE4AB7 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_xmin, int32_t ___1_zmin, int32_t ___2_xmax, int32_t ___3_zmax, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E (RuntimeObject* ___0_message, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_context, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.IntRect::.ctor(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, int32_t ___0_xmin, int32_t ___1_ymin, int32_t ___2_xmax, int32_t ___3_ymax, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::ErodeNodeWithTagsInit(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeNodeWithTagsInit_m9BCE71473AF883FA0B567E8ECAA012DB0933FC90 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::ErodeNodeWithTags(Pathfinding.GraphNode,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeNodeWithTags_m501199523BBB7461377B071FE7E77C33CC6E1266 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, int32_t ___1_iteration, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::ErodeNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeNode_mE9C4DDEC5D18177C6681A216D846DC04061D320D (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.Util.GraphTransform::WorldUpAtGraphPosition(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphTransform_WorldUpAtGraphPosition_mEC612828C2CAC05154539507D7E22193C6AA0884_inline (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNode::ResetConnectionsInternal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_ResetConnectionsInternal_mC19D8936C87C2DFA436B5373F2A37DB50FBD3B1D (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNode::SetAllConnectionInternal(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetAllConnectionInternal_m8A95E28BBAC42AE397037E8457BC5D76C67AF43B (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, int32_t ___0_connections, const RuntimeMethod* method) ;
|
|
// Pathfinding.Util.GraphGizmoHelper Pathfinding.Util.RetainedGizmos::GetSingleFrameGizmoHelper(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* RetainedGizmos_GetSingleFrameGizmoHelper_m3420A5101BCCA4E22822F44EEF8C12FBF5CA848D (RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_active, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Bounds::SetMinMax(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_SetMinMax_mB5F7DDF18EDB7F3F25FA6D2B36824F28978C540F (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_min, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_max, const RuntimeMethod* method) ;
|
|
// Pathfinding.Util.RetainedGizmos/Builder Pathfinding.Util.GraphGizmoHelper::get_builder()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline (GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Color UnityEngine.Color::get_white()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.RetainedGizmos/Builder::DrawWireCube(Pathfinding.Util.GraphTransform,UnityEngine.Bounds,UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Builder_DrawWireCube_mB68EC0D905E39411D59E3BD67564DCD203CE78F0 (Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_tr, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___1_bounds, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_color, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.RetainedGizmos/Builder::DrawLine(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Builder_DrawLine_m7CFB057D3CD668DA90730CABE4C3915E4A458F27 (Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_start, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_end, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___2_color, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.GridNodeBase>::Claim(System.Int32)
|
|
inline GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* ArrayPool_1_Claim_mB283D45C301F4607211D245262697A9C921670FC (int32_t ___0_minimumLength, const RuntimeMethod* method)
|
|
{
|
|
return (( GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m90AC36C9C0DA2578B0F8DA90402B7149FB96D46A_gshared)(___0_minimumLength, method);
|
|
}
|
|
// System.Void Pathfinding.Util.RetainedGizmos/Hasher::AddHash(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C (Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* __this, int32_t ___0_hash, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.GraphGizmoHelper::DrawConnections(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphGizmoHelper_DrawConnections_m4755A762AF5496F1FFC2FEEDC49C8C7BD0005E58 (GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::CreateNavmeshSurfaceVisualization(Pathfinding.GridNodeBase[],System.Int32,Pathfinding.Util.GraphGizmoHelper)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CreateNavmeshSurfaceVisualization_m2F4728EEB3CCF634EDFCFBB2F64F9C7AB416254E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* ___0_nodes, int32_t ___1_nodeCount, GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* ___2_helper, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.GridNodeBase>::Release(T[]&,System.Boolean)
|
|
inline void ArrayPool_1_Release_m52BAB111BC86C9800C05C42CCACA414DC465879F (GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477**, bool, const RuntimeMethod*))ArrayPool_1_Release_m3DCD37428C4AEC264F51DB11183BA7B298A39D41_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
|
|
}
|
|
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B (RuntimeArray* ___0_array, RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 ___1_fldHandle, const RuntimeMethod* method) ;
|
|
// T[] Pathfinding.Util.ArrayPool`1<UnityEngine.Vector3>::Claim(System.Int32)
|
|
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54 (int32_t ___0_minimumLength, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_gshared)(___0_minimumLength, method);
|
|
}
|
|
// T[] Pathfinding.Util.ArrayPool`1<UnityEngine.Color>::Claim(System.Int32)
|
|
inline ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8 (int32_t ___0_minimumLength, const RuntimeMethod* method)
|
|
{
|
|
return (( ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_gshared)(___0_minimumLength, method);
|
|
}
|
|
// UnityEngine.Color Pathfinding.Util.GraphGizmoHelper::NodeColor(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GraphGizmoHelper_NodeColor_m4400F7E47FA70D696CB5E31403A6D24C05D5237B (GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GridNodeBase::get_XCoordinateInGrid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_XCoordinateInGrid_m04C635EDF95D5B9B5EB79102FF0058A347B0A0D9 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.GridNodeBase::get_ZCoordinateInGrid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridNodeBase_get_ZCoordinateInGrid_mE095CC84E83924713E966E9CB4785300A03376EA (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Color UnityEngine.Color::get_black()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.GraphGizmoHelper::DrawTriangles(UnityEngine.Vector3[],UnityEngine.Color[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphGizmoHelper_DrawTriangles_m8B310DFDFB0133CFB1C9826295793691898A172E (GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_vertices, ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ___1_colors, int32_t ___2_numTriangles, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<UnityEngine.Vector3>::Release(T[]&,System.Boolean)
|
|
inline void ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C**, bool, const RuntimeMethod*))ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
|
|
}
|
|
// System.Void Pathfinding.Util.ArrayPool`1<UnityEngine.Color>::Release(T[]&,System.Boolean)
|
|
inline void ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910 (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389**, bool, const RuntimeMethod*))ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
|
|
}
|
|
// UnityEngine.Bounds Pathfinding.Util.GraphTransform::InverseTransform(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_min()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_max()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.IntRect Pathfinding.IntRect::Intersection(Pathfinding.IntRect,Pathfinding.IntRect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_a, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInRegion_m36C2E3697E2AA2F6B60B64BB2088BFB769DF9A8E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(Pathfinding.GraphUpdateShape)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInRegion_m12215EE72F413C97611A5D29935B9C48416850FB (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___0_shape, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds Pathfinding.GraphUpdateShape::GetBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 GraphUpdateShape_GetBounds_m86481EBB14746EE1596FE7B72011EDDD12747167 (GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.IntRect Pathfinding.GridGraph::GetRectFromBounds(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 GridGraph_GetRectFromBounds_m35D5952C908B01C5FADC0B096A8BCB42387305A4 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.IntRect::IsValid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntRect_IsValid_m30D2815DE068E60D2D00FF0D5704EA49CF6265B6 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.IntRect::get_Width()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.IntRect::get_Height()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IntRect_get_Height_m8F1FAE617C491964F4C2E4D873F04C27ACE7EDB6 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<Pathfinding.GraphNode>::Claim(System.Int32)
|
|
inline List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492 (int32_t ___0_capacity, const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* (*) (int32_t, const RuntimeMethod*))ListPool_1_Claim_m909F627E3F61146A5AF90B9BAA44AF928BC02287_gshared)(___0_capacity, method);
|
|
}
|
|
// System.Boolean UnityEngine.Bounds::Contains(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Bounds_Contains_m584E9DE0CF9D90C3C4F928BA8F5AD328393F3555 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GraphUpdateShape::Contains(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphUpdateShape_Contains_m3320DAC00E765940CF1CE0F1C4A3EA80000FD46D (GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Copy_mB4904E17BD92E320613A3251C0205E0786B3BF41 (RuntimeArray* ___0_sourceArray, int32_t ___1_sourceIndex, RuntimeArray* ___2_destinationArray, int32_t ___3_destinationIndex, int32_t ___4_length, const RuntimeMethod* method) ;
|
|
// Pathfinding.IntRect Pathfinding.IntRect::Union(Pathfinding.IntRect,Pathfinding.IntRect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 IntRect_Union_m0E7D1469F99F79979C07AAC375BF504230415A1B (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_a, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___1_b, const RuntimeMethod* method) ;
|
|
// Pathfinding.IntRect Pathfinding.IntRect::Expand(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 IntRect_Expand_m1C793316AD4030CC25DC01024264FF1C18D9A261 (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, int32_t ___0_range, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph::CalculateAffectedRegions(Pathfinding.GraphUpdateObject,Pathfinding.IntRect&,Pathfinding.IntRect&,Pathfinding.IntRect&,System.Boolean&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateAffectedRegions_m41399ADE7E4B7D6253839AB6B8132FF8B9D70BEE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* ___1_originalRect, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* ___2_affectRect, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* ___3_physicsRect, bool* ___4_willChangeWalkability, int32_t* ___5_erosion, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphCollision::Initialize(Pathfinding.Util.GraphTransform,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision_Initialize_mB72C0C6794B3D2CD60E46238A425EB9FBE5EFB30 (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_transform, float ___1_scale, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridNodeBase::get_WalkableErosion()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNodeBase_get_WalkableErosion_mC98B1993EE9F2DACEDA550A423A16FD670FF33A0 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.IntRect::Contains(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntRect_Contains_m5E307C7E3F45B01584E41D0A141A3AF5E5D6549D (IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNodeBase::set_TmpWalkable(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_set_TmpWalkable_mF74EC290D2AE6C2B4CE242EBB345FBC4336A3323 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.GridNodeBase::get_TmpWalkable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridNodeBase_get_TmpWalkable_mF3F059C26379774B1034E55D2595B2B8DC2D396B (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNode::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode__ctor_m49A61AAAE3D00861021A696392EAFDA03599B283 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DeserializeSettingsCompatibility_m4EDCD5F5616313CD38308D2D5072FB53568092DB (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 Pathfinding.Serialization.GraphSerializationContext::DeserializeVector3()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GraphCollision::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision_DeserializeSettingsCompatibility_mDEFAACD94F980169A1DF619E7AFA8A853B941B5C (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNode::SetGridGraph(System.Int32,Pathfinding.GridGraph)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNode_SetGridGraph_m2CCB8816869CD881A613914B8E34E553B4C4710F (int32_t ___0_graphIndex, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* ___1_graph, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNodeBase::set_NodeInGridIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_set_NodeInGridIndex_m80DEAF4A350036BF760A8809418A070CFDD9F368 (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridGraph/<>c::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mC0FF2AE3DFA2642617E458513D30E66A0D1A3844 (U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.GridNodeBase::ClearCustomConnections(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridNodeBase_ClearCustomConnections_mDEFE7C5C9365D28C7ACF91DDA765F4E0D1C5B12D (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* __this, bool ___0_alsoReverse, 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 Pathfinding.Progress::.ctor(System.Single,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A (Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8* __this, float ___0_progress, String_t* ___1_description, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.GridGraph/<ScanInternal>d__88::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__88_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_m2D8570149884AFCDC2CDD50699DACBD1DE7AF704 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.NavmeshTile::GetVertex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 NavmeshTile_GetVertex_mBFCEA6E7A688A93C762655604E4057B1F80B8ED7 (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.NavmeshTile::GetVertexInGraphSpace(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 NavmeshTile_GetVertexInGraphSpace_mB6875DBDB21105EB809289CDFA62B88AFB48C739 (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds Pathfinding.NavmeshBase::GetTileBounds(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 NavmeshBase_GetTileBounds_m7D1EC5DA5A0D73442D2A6582D2834251C144BBF2 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, int32_t ___2_width, int32_t ___3_depth, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds Pathfinding.NavmeshBase::GetTileBoundsInGraphSpace(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 NavmeshBase_GetTileBoundsInGraphSpace_mE0D02B715CF5F315B1A1383038CFCB95BB5E4018 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, int32_t ___2_width, int32_t ___3_depth, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds Pathfinding.Util.GraphTransform::Transform(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 GraphTransform_Transform_m1410298EA9E313C081437E9056B5E7C5B089EEA1 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Int2::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Int2__ctor_m10E45E61E7A435B387D725D0278EC1FEB97CE284 (Int2_tA237834D44F8B70CEF05461E599DAE1137180731* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.TriangleMeshNode::SetNavmeshHolder(System.Int32,Pathfinding.INavmeshHolder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_SetNavmeshHolder_mFA2533EB627690E28F9394DFCDD8517D7C42200F (int32_t ___0_graphIndex, RuntimeObject* ___1_graph, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ObjectPool`1<Pathfinding.BBTree>::Release(T&)
|
|
inline void ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E** ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E**, const RuntimeMethod*))ObjectPool_1_Release_mC27ACB8D914730EA4DFA954341C214BD3DFB39F6_gshared)(___0_obj, method);
|
|
}
|
|
// Pathfinding.Util.GraphTransform Pathfinding.Util.GraphTransform::op_Multiply(UnityEngine.Matrix4x4,Pathfinding.Util.GraphTransform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GraphTransform_op_Multiply_mA40B8CC890924EC9F7920B8FBBC48A024251C9F7 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_lhs, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::RelocateNodes(Pathfinding.Util.GraphTransform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_RelocateNodes_mA893BE9E8CE84A96F3BCCDB9F434641AC2565727 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_newTransform, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.GraphTransform::Transform(Pathfinding.Int3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphTransform_Transform_m89864B9C7AAD43CD182434A6D79D245887D56E03 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___0_arr, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.TriangleMeshNode::UpdatePositionFromVertices()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_UpdatePositionFromVertices_m6CCA5F5853B69E596C4375E99B0CC141E577BC61 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.BBTree::RebuildFrom(Pathfinding.TriangleMeshNode[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BBTree_RebuildFrom_mDFA8828FEEB0A074733D3C8C72153A05E5747988 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshTile::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshTile__ctor_mAA38CC4E0AFD8FE328F54E47D8A7922597B9165A (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* __this, const RuntimeMethod* method) ;
|
|
// T Pathfinding.Util.ObjectPool`1<Pathfinding.BBTree>::Claim()
|
|
inline BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284 (const RuntimeMethod* method)
|
|
{
|
|
return (( BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* (*) (const RuntimeMethod*))ObjectPool_1_Claim_mC0B0793D74306C61C9E53D3DA2BDB0F48D3BA421_gshared)(method);
|
|
}
|
|
// System.Single UnityEngine.Rect::get_xMin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_xMin_mE89C40702926D016A633399E20DB9501E251630D (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_yMin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_yMin_mB19848FB25DE61EDF958F7A22CFDD86DE103062F (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_xMax()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_xMax_m2339C7D2FCDA98A9B007F815F6E2059BA6BE425F (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_yMax()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_yMax_mBC37BEE1CD632AADD8B9EAF9FE3BA143F79CAF8E (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::ConnectTiles(Pathfinding.NavmeshTile,Pathfinding.NavmeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_tile1, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___1_tile2, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::RemoveConnectionsFromTo(Pathfinding.NavmeshTile,Pathfinding.NavmeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_RemoveConnectionsFromTo_mDB763CF70F86F2D6B71FAF94ADB51267E635AB62 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_a, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.TriangleMeshNode::GetVertexIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int2 Pathfinding.NavmeshBase::GetTileCoordinates(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int2_tA237834D44F8B70CEF05461E599DAE1137180731 NavmeshBase_GetTileCoordinates_m453BD8D644FECE41B7E29BEF0AA9D1EE50FF67CF (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method) ;
|
|
// System.Single System.Math::Max(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA (float ___0_val1, float ___1_val2, const RuntimeMethod* method) ;
|
|
// Pathfinding.NNInfoInternal Pathfinding.BBTree::QueryClosestXZ(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Single&,Pathfinding.NNInfoInternal)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 BBTree_QueryClosestXZ_m2F4A3A196EA28EBBAB5E27B1F76B88295C2B7BF0 (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, float* ___2_distance, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 ___3_previous, const RuntimeMethod* method) ;
|
|
// Pathfinding.NNInfoInternal Pathfinding.BBTree::QueryClosest(UnityEngine.Vector3,Pathfinding.NNConstraint,System.Single&,Pathfinding.NNInfoInternal)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 BBTree_QueryClosest_mE3EF7ED37870AF968A5436D33A294A560B1DEDCA (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, float* ___2_distance, NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 ___3_previous, const RuntimeMethod* method) ;
|
|
// Pathfinding.NavmeshTile Pathfinding.NavmeshBase::GetTile(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* NavmeshBase_GetTile_mD94F785359795C4760F72CF31111898D65B607C3 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method) ;
|
|
// Pathfinding.TriangleMeshNode Pathfinding.BBTree::QueryInside(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* BBTree_QueryInside_mDA078A1C152E313D9A9986B65CF98CA22567AF3C (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_p, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method) ;
|
|
// Pathfinding.NavmeshTile Pathfinding.NavmeshBase::NewEmptyTile(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* NavmeshBase_NewEmptyTile_mA89DA614A405548C8D120B2787927D379AB83148 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> Pathfinding.Util.ListPool`1<Pathfinding.Connection>::Claim()
|
|
inline List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB (const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* (*) (const RuntimeMethod*))ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_gshared)(method);
|
|
}
|
|
// T Pathfinding.Util.ObjectPoolSimple`1<System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>>::Claim()
|
|
inline Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* ObjectPoolSimple_1_Claim_m1031F43009A56E8BE3F0DC202B0E4A62DDFBFE4A (const RuntimeMethod* method)
|
|
{
|
|
return (( Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* (*) (const RuntimeMethod*))ObjectPoolSimple_1_Claim_m52214EC7831D9C941307A6652CB995C1BC8F5970_gshared)(method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::Clear()
|
|
inline void Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8 (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE*, const RuntimeMethod*))Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8_gshared)(__this, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::ContainsKey(TKey)
|
|
inline bool Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8 (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, Int2_tA237834D44F8B70CEF05461E599DAE1137180731 ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE*, Int2_tA237834D44F8B70CEF05461E599DAE1137180731, const RuntimeMethod*))Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8_gshared)(__this, ___0_key, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::Add(TKey,TValue)
|
|
inline void Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, Int2_tA237834D44F8B70CEF05461E599DAE1137180731 ___0_key, int32_t ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE*, Int2_tA237834D44F8B70CEF05461E599DAE1137180731, int32_t, const RuntimeMethod*))Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Clear()
|
|
inline void List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>::TryGetValue(TKey,TValue&)
|
|
inline bool Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* __this, Int2_tA237834D44F8B70CEF05461E599DAE1137180731 ___0_key, int32_t* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE*, Int2_tA237834D44F8B70CEF05461E599DAE1137180731, int32_t*, const RuntimeMethod*))Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.Connection>::Add(T)
|
|
inline void List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0, const RuntimeMethod*))List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T[] Pathfinding.Util.ListExtensions::ToArrayFromPool<Pathfinding.Connection>(System.Collections.Generic.List`1<T>)
|
|
inline ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3 (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* ___0_list, const RuntimeMethod* method)
|
|
{
|
|
return (( ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_gshared)(___0_list, method);
|
|
}
|
|
// System.Void Pathfinding.GraphNode::SetConnectivityDirty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_SetConnectivityDirty_m1B823A693BA88849DB202D906E6DD5646D83E86E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ObjectPoolSimple`1<System.Collections.Generic.Dictionary`2<Pathfinding.Int2,System.Int32>>::Release(T&)
|
|
inline void ObjectPoolSimple_1_Release_m26A4253C56A368B3D30757C1B2870C0C0644B3B5 (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE** ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE**, const RuntimeMethod*))ObjectPoolSimple_1_Release_m63957FB0758A9D9BD53BB4FBB5FF79C27A3DB171_gshared)(___0_obj, method);
|
|
}
|
|
// System.Void Pathfinding.Util.ListPool`1<Pathfinding.Connection>::Release(System.Collections.Generic.List`1<T>&)
|
|
inline void ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3 (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F** ___0_list, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F**, const RuntimeMethod*))ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_gshared)(___0_list, method);
|
|
}
|
|
// T[] Pathfinding.Util.ArrayPool`1<Pathfinding.TriangleMeshNode>::Claim(System.Int32)
|
|
inline TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79 (int32_t ___0_minimumLength, const RuntimeMethod* method)
|
|
{
|
|
return (( TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* (*) (int32_t, const RuntimeMethod*))ArrayPool_1_Claim_m90AC36C9C0DA2578B0F8DA90402B7149FB96D46A_gshared)(___0_minimumLength, method);
|
|
}
|
|
// Pathfinding.Int3 Pathfinding.TriangleMeshNode::GetVertexInGraphSpace(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, int32_t ___0_i, const RuntimeMethod* method) ;
|
|
// System.Int32 Pathfinding.Int3::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* __this, int32_t ___0_i, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.Int3::op_Equality(Pathfinding.Int3,Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_lhs, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Single Pathfinding.VectorMath::SqrDistanceSegmentSegment(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float VectorMath_SqrDistanceSegmentSegment_m80031F06D84EC22124533A86CFC0F6D0944E962F (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_s1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_e1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_s2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_e2, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ArrayPool`1<Pathfinding.TriangleMeshNode>::Release(T[]&,System.Boolean)
|
|
inline void ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142** ___0_array, bool ___1_allowNonPowerOfTwo, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142**, bool, const RuntimeMethod*))ArrayPool_1_Release_m3DCD37428C4AEC264F51DB11183BA7B298A39D41_gshared)(___0_array, ___1_allowNonPowerOfTwo, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<Pathfinding.MeshNode>::get_Item(System.Int32)
|
|
inline MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* (*) (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_TemporaryFlag1(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_TemporaryFlag1_m49B9FE36353FF71A77F4342745A17C2986EB6387 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<Pathfinding.MeshNode>::get_Count()
|
|
inline int32_t List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_inline (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::get_TemporaryFlag1()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_TemporaryFlag1_m291417336DCCA22A7DED7A2CB298156D2092CD26 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::DestroyNodes(System.Collections.Generic.List`1<Pathfinding.MeshNode>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_DestroyNodes_mCF55C9DD982BD8DAA62DDFD7A19BBF23027D717A (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* ___0_nodes, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListExtensions::ClearFast<Pathfinding.MeshNode>(System.Collections.Generic.List`1<T>)
|
|
inline void ListExtensions_ClearFast_TisMeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095_mDB2E13F2BD57E9538ADFA7F952744BEDC6093591 (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* ___0_list, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9*, const RuntimeMethod*))ListExtensions_ClearFast_TisRuntimeObject_m4392D79A92CBCF77928C9BB22C67AE6A8A9D8238_gshared)(___0_list, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
|
|
inline int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::TryConnect(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_TryConnect_mDE382DF8A9FF17534A929101E1BDE73793F091FD (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_tileIdx1, int32_t ___1_tileIdx2, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.ListExtensions::ClearFast<System.Int32>(System.Collections.Generic.List`1<T>)
|
|
inline void ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9 (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___0_list, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9_gshared)(___0_list, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.MeshNode>::Add(T)
|
|
inline void List_1_Add_m0C38062438086C42E2A235399DCF158AF5DF6B37_inline (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* __this, MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9*, MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::set_Item(TKey,TValue)
|
|
inline void Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, int32_t ___0_key, int32_t ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*, int32_t, int32_t, const RuntimeMethod*))Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Void Pathfinding.TriangleMeshNode::GetVerticesInGraphSpace(Pathfinding.Int3&,Pathfinding.Int3&,Pathfinding.Int3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_GetVerticesInGraphSpace_mFD3B0AE6576FC60EAAA3B5BCBE8AA14DC586FECE (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___0_v0, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___1_v1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___2_v2, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::TryGetValue(TKey,TValue&)
|
|
inline bool Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9 (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, int32_t ___0_key, int32_t* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*, int32_t, int32_t*, const RuntimeMethod*))Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.UInt32 Pathfinding.GraphNode::get_GraphIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<Pathfinding.Connection>::get_Count()
|
|
inline int32_t List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, const RuntimeMethod*))List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::Clear()
|
|
inline void Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0 (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*, const RuntimeMethod*))Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0_gshared)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::StartBatchTileUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_StartBatchTileUpdate_m8A08C3E41F560CBB3373A3E74ED52C14E5CF9302 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.Int3::op_Addition(Pathfinding.Int3,Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_lhs, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Object System.Array::Clone()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Array_Clone_m66C9D0727C9BAA0995E4142F29B45BC03582E042 (RuntimeArray* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::PrepareNodeRecycling(System.Int32,System.Int32,Pathfinding.Int3[],System.Int32[],Pathfinding.TriangleMeshNode[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_PrepareNodeRecycling_m96F0801E7CEBE11EEC99E38E5221AB5660E5B834 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_tris, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___4_recycledNodeBuffer, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::ClearTile(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ClearTile_m5AD5CDBDCC976B9B26D049034D488AED8960F618 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::CreateNodes(Pathfinding.TriangleMeshNode[],System.Int32[],System.Int32,System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNodes_m7BFF7CCFE468A7BAD42CBA3A35808AE5427FCEA1 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_buffer, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_tris, int32_t ___2_tileIndex, uint32_t ___3_graphIndex, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::CreateNodeConnections(Pathfinding.TriangleMeshNode[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNodeConnections_mE3D1C55960D9F60C06AFCA6775A164E7AF12856D (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::EndBatchTileUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_EndBatchTileUpdate_mE4AFB99C74A92C1026952D872179E5A14BD00553 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.TriangleMeshNode::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode__ctor_m14C08A0315BDC1EE96D50B6153A6366C502F0809 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method) ;
|
|
// System.Boolean Pathfinding.VectorMath::IsClockwiseXZ(Pathfinding.Int3,Pathfinding.Int3,Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool VectorMath_IsClockwiseXZ_mA7D8D82EDB9ED7455275BC7966151B8713D7F901 (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_a, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___1_b, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___2_c, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.Memory::Swap<System.Int32>(T&,T&)
|
|
inline void Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679 (int32_t* ___0_a, int32_t* ___1_b, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (int32_t*, int32_t*, const RuntimeMethod*))Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679_gshared)(___0_a, ___1_b, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<Pathfinding.MeshNode>::.ctor()
|
|
inline void List_1__ctor_m4BBC825391EFA3F544030C47A0107D7887F6918E (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>::.ctor()
|
|
inline void Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*, const RuntimeMethod*))Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_gshared)(__this, method);
|
|
}
|
|
// System.Void Pathfinding.NavmeshUpdates/NavmeshUpdateSettings::.ctor(Pathfinding.NavmeshBase)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshUpdateSettings__ctor_m75291D2A5315A9AED5CEB888EA21D64439F5CB3C (NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F* __this, NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* ___0_graph, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::CreateNavmeshSurfaceVisualization(Pathfinding.NavmeshTile[],System.Int32,System.Int32,Pathfinding.Util.GraphGizmoHelper)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNavmeshSurfaceVisualization_mE34B5EEDDD48B630D599D95936A4E77634F2BA4E (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___0_tiles, int32_t ___1_startTile, int32_t ___2_endTile, GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* ___3_helper, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase::CreateNavmeshOutlineVisualization(Pathfinding.NavmeshTile[],System.Int32,System.Int32,Pathfinding.Util.GraphGizmoHelper)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNavmeshOutlineVisualization_m9FBC256BBF14998F30609B0905144E6BC23902A5 (NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___0_tiles, int32_t ___1_startTile, int32_t ___2_endTile, GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* ___3_helper, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.TriangleMeshNode::GetVertices(Pathfinding.Int3&,Pathfinding.Int3&,Pathfinding.Int3&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0 (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___0_v0, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___1_v1, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* ___2_v2, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.GraphGizmoHelper::DrawWireTriangles(UnityEngine.Vector3[],UnityEngine.Color[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphGizmoHelper_DrawWireTriangles_mA886C3CADB735053CE861152B2459544FA46691C (GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_vertices, ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ___1_colors, int32_t ___2_numTriangles, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Serialization.GraphSerializationContext::SerializeInt3(Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphSerializationContext_SerializeInt3_m1F740467D95784EF5AA89024FC8C133FCC7799E4 (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_v, const RuntimeMethod* method) ;
|
|
// Pathfinding.Int3 Pathfinding.Serialization.GraphSerializationContext::DeserializeInt3()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GraphSerializationContext_DeserializeInt3_m7B3A252F1DD5E434B6B3D822CC076C5C8DC5F27F (GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Version::get_Major()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Version_get_Major_m1F782BA72C64627627ADC2090C147CF887CE7795_inline (Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* __this, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.Util.GraphTransform::InverseTransform(Pathfinding.Int3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphTransform_InverseTransform_mDACD8126730569FA2AB9071C4496C45D93A06CD2 (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___0_arr, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NavmeshBase/<>c__DisplayClass74_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass74_0__ctor_mBA6E4F03EE75AE2C93E6AC9EA1D62603070D4ACD (U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Func`2<Pathfinding.NavmeshTile,System.Collections.Generic.IEnumerable`1<Pathfinding.TriangleMeshNode>>::.ctor(System.Object,System.IntPtr)
|
|
inline void Func_2__ctor_m6DB6A7F54379DE7662EF2A4F86E8B177F482FA51 (Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130*, RuntimeObject*, intptr_t, const RuntimeMethod*))Func_2__ctor_m7F8A01C0B02BC1D4063F4EB1E817F7A48562A398_gshared)(__this, ___0_object, ___1_method, method);
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<TResult> System.Linq.Enumerable::SelectMany<Pathfinding.NavmeshTile,Pathfinding.TriangleMeshNode>(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,System.Collections.Generic.IEnumerable`1<TResult>>)
|
|
inline RuntimeObject* Enumerable_SelectMany_TisNavmeshTile_tB162562405C06B86115076300DED318EC59873C0_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_mB9BC76BFFBFCF193F6B732DE510E434A0D2A0F60 (RuntimeObject* ___0_source, Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* ___1_selector, const RuntimeMethod* method)
|
|
{
|
|
return (( RuntimeObject* (*) (RuntimeObject*, Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130*, const RuntimeMethod*))Enumerable_SelectMany_TisRuntimeObject_TisRuntimeObject_mC89216034DEE8779F1AC2D0A984C0ADE855BED00_gshared)(___0_source, ___1_selector, method);
|
|
}
|
|
// System.Void System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode>::.ctor(System.Object,System.IntPtr)
|
|
inline void Func_2__ctor_mBCB4F335CEDD3E291C9AA00D355BD889458E74C9 (Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E*, RuntimeObject*, intptr_t, const RuntimeMethod*))Func_2__ctor_m7F8A01C0B02BC1D4063F4EB1E817F7A48562A398_gshared)(__this, ___0_object, ___1_method, method);
|
|
}
|
|
// System.Void System.Func`2<Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>::.ctor(System.Object,System.IntPtr)
|
|
inline void Func_2__ctor_m685A2628D34765D278E72BDE1F0123692BE14C41 (Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23*, RuntimeObject*, intptr_t, const RuntimeMethod*))Func_2__ctor_m7F8A01C0B02BC1D4063F4EB1E817F7A48562A398_gshared)(__this, ___0_object, ___1_method, method);
|
|
}
|
|
// System.Collections.Generic.Dictionary`2<TKey,TElement> System.Linq.Enumerable::ToDictionary<Pathfinding.TriangleMeshNode,Pathfinding.TriangleMeshNode,Pathfinding.Connection[]>(System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource,TKey>,System.Func`2<TSource,TElement>)
|
|
inline Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* Enumerable_ToDictionary_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_mCBF385C140B774C2976A5041731241B53482CDEA (RuntimeObject* ___0_source, Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* ___1_keySelector, Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* ___2_elementSelector, const RuntimeMethod* method)
|
|
{
|
|
return (( Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* (*) (RuntimeObject*, Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E*, Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23*, const RuntimeMethod*))Enumerable_ToDictionary_TisRuntimeObject_TisRuntimeObject_TisRuntimeObject_mA712BB5A297282995D1266B8F0BD27C3C7E16E9A_gshared)(___0_source, ___1_keySelector, ___2_elementSelector, method);
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::ConnectTileWithNeighbours(Pathfinding.NavmeshTile,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ConnectTileWithNeighbours_m8E3E8CD8A49453696BD3AA726C8D7E8A6F9A463B (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_tile, bool ___1_onlyUnflagged, const RuntimeMethod* method) ;
|
|
// System.Void Pathfinding.NNConstraint::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NNConstraint__ctor_m89532DC1D551FE988E139BD5558B16E6A6FFF088 (NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Normalize(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Internal_FromEulerRad(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::Internal_ToEulerRad(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_Internal_ToEulerRad_m5BD0EEC543120C320DC77FCCDFD2CE2E6BD3F1A8 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::Internal_MakePositive(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_Internal_MakePositive_m73E2D01920CB0DFE661A55022C129E8617F0C9A8 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_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) ;
|
|
// System.Single UnityEngine.Vector3::Magnitude(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void Pathfinding.PathPool::Pool(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathPool_Pool_mFE6BE9197A2C5C36F9E7AEC6F54607DE92EB4CFF (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_m559F9E6FB26D818379CC6B6F508C570ECE93BBB6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_Push_mB80DD005FBE60BF950CF25FF2A7FBE91472E2EC3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1__ctor_m8B46118001B802791A3290844225D8F2BF8E7A16_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* V_0 = NULL;
|
|
bool V_1 = false;
|
|
Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* V_2 = NULL;
|
|
{
|
|
// lock (pool) {
|
|
il2cpp_codegen_runtime_class_init_inline(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_0 = ((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___pool_0;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0064:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
}
|
|
{
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// if (((IPathInternals)path).Pooled) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_4 = ___0_path;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean Pathfinding.IPathInternals::get_Pooled() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_4);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0023_1;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.ArgumentException("The path is already pooled.");
|
|
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_m026938A67AF9D36BB7ED27F80425D7194B514465(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral0FB1F4E9991CBFCC61CC7A49CF6D75D8AD218561)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PathPool_Pool_mFE6BE9197A2C5C36F9E7AEC6F54607DE92EB4CFF_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0023_1:
|
|
{
|
|
// if (!pool.TryGetValue(path.GetType(), out poolStack)) {
|
|
il2cpp_codegen_runtime_class_init_inline(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_7 = ((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___pool_0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_8 = ___0_path;
|
|
NullCheck(L_8);
|
|
Type_t* L_9;
|
|
L_9 = Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3(L_8, NULL);
|
|
NullCheck(L_7);
|
|
bool L_10;
|
|
L_10 = Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6(L_7, L_9, (&V_2), Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6_RuntimeMethod_var);
|
|
if (L_10)
|
|
{
|
|
goto IL_004e_1;
|
|
}
|
|
}
|
|
{
|
|
// poolStack = new Stack<Path>();
|
|
Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* L_11 = (Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815*)il2cpp_codegen_object_new(Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815_il2cpp_TypeInfo_var);
|
|
NullCheck(L_11);
|
|
Stack_1__ctor_m8B46118001B802791A3290844225D8F2BF8E7A16(L_11, Stack_1__ctor_m8B46118001B802791A3290844225D8F2BF8E7A16_RuntimeMethod_var);
|
|
V_2 = L_11;
|
|
// pool[path.GetType()] = poolStack;
|
|
il2cpp_codegen_runtime_class_init_inline(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_12 = ((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___pool_0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_13 = ___0_path;
|
|
NullCheck(L_13);
|
|
Type_t* L_14;
|
|
L_14 = Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3(L_13, NULL);
|
|
Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* L_15 = V_2;
|
|
NullCheck(L_12);
|
|
Dictionary_2_set_Item_m559F9E6FB26D818379CC6B6F508C570ECE93BBB6(L_12, L_14, L_15, Dictionary_2_set_Item_m559F9E6FB26D818379CC6B6F508C570ECE93BBB6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_004e_1:
|
|
{
|
|
// ((IPathInternals)path).Pooled = true;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_16 = ___0_path;
|
|
NullCheck(L_16);
|
|
InterfaceActionInvoker1< bool >::Invoke(2 /* System.Void Pathfinding.IPathInternals::set_Pooled(System.Boolean) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_16, (bool)1);
|
|
// ((IPathInternals)path).OnEnterPool();
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_17 = ___0_path;
|
|
NullCheck(L_17);
|
|
InterfaceActionInvoker0::Invoke(4 /* System.Void Pathfinding.IPathInternals::OnEnterPool() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_17);
|
|
// poolStack.Push(path);
|
|
Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* L_18 = V_2;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_19 = ___0_path;
|
|
NullCheck(L_18);
|
|
Stack_1_Push_mB80DD005FBE60BF950CF25FF2A7FBE91472E2EC3(L_18, L_19, Stack_1_Push_mB80DD005FBE60BF950CF25FF2A7FBE91472E2EC3_RuntimeMethod_var);
|
|
// }
|
|
goto IL_006e;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.PathPool::GetTotalCreated(System.Type)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathPool_GetTotalCreated_mE78E21D85C5A14742F1ABF04E667EDBDC509309E (Type_t* ___0_type, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_m3EF4F6B2EC138E3A20BD7549CE6DE54B0608CD4D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (totalCreated.TryGetValue(type, out created)) {
|
|
il2cpp_codegen_runtime_class_init_inline(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455* L_0 = ((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___totalCreated_1;
|
|
Type_t* L_1 = ___0_type;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = Dictionary_2_TryGetValue_m3EF4F6B2EC138E3A20BD7549CE6DE54B0608CD4D(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_m3EF4F6B2EC138E3A20BD7549CE6DE54B0608CD4D_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// return created;
|
|
int32_t L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.PathPool::GetSize(System.Type)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathPool_GetSize_m2A2FF5D4FD3155744632997982F8A93D5BF2BE0E (Type_t* ___0_type, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_get_Count_mC37C8B470DA3123EE7857CF890456483D845E8B5_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* V_0 = NULL;
|
|
{
|
|
// if (pool.TryGetValue(type, out poolStack)) {
|
|
il2cpp_codegen_runtime_class_init_inline(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_0 = ((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___pool_0;
|
|
Type_t* L_1 = ___0_type;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6(L_0, L_1, (&V_0), Dictionary_2_TryGetValue_mBB2043D541EFC50176B5FAE651AF95EA126BE4D6_RuntimeMethod_var);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// return poolStack.Count;
|
|
Stack_1_tE99763525748BDCDAF6ED0FE0D6816FD358A4815* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = Stack_1_get_Count_mC37C8B470DA3123EE7857CF890456483D845E8B5_inline(L_3, Stack_1_get_Count_mC37C8B470DA3123EE7857CF890456483D845E8B5_RuntimeMethod_var);
|
|
return L_4;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathPool::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathPool__cctor_mF38E37CC5DF5EEBBB7883F18263C8FEA46DB033D (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m0AF6A9E01056850C9F7AE464B4099CA3F6D5E8EC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m81C780A4F8494DFCAB83CC83B05D8B561F4E32CB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// static readonly Dictionary<Type, Stack<Path> > pool = new Dictionary<Type, Stack<Path> >();
|
|
Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5* L_0 = (Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5*)il2cpp_codegen_object_new(Dictionary_2_t6008DF4C73058BB9ADDBCE9387118E28C1E5F7B5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Dictionary_2__ctor_m81C780A4F8494DFCAB83CC83B05D8B561F4E32CB(L_0, Dictionary_2__ctor_m81C780A4F8494DFCAB83CC83B05D8B561F4E32CB_RuntimeMethod_var);
|
|
((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___pool_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___pool_0), (void*)L_0);
|
|
// static readonly Dictionary<Type, int> totalCreated = new Dictionary<Type, int>();
|
|
Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455* L_1 = (Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455*)il2cpp_codegen_object_new(Dictionary_2_t384D2A0FF42BF1302A3F513FC32DB105F1CD5455_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
Dictionary_2__ctor_m0AF6A9E01056850C9F7AE464B4099CA3F6D5E8EC(L_1, Dictionary_2__ctor_m0AF6A9E01056850C9F7AE464B4099CA3F6D5E8EC_RuntimeMethod_var);
|
|
((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___totalCreated_1 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_StaticFields*)il2cpp_codegen_static_fields_for(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var))->___totalCreated_1), (void*)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
|
|
// System.Void Pathfinding.PathProcessor::add_OnPathPreSearch(System.Action`1<Pathfinding.Path>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_add_OnPathPreSearch_mA861A05C411BC978B0D63729413DE6E45560CE3A (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_0 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_1 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_2 = NULL;
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_0 = __this->___OnPathPreSearch_0;
|
|
V_0 = L_0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_1 = V_0;
|
|
V_1 = L_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_2 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_3 = ___0_value;
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
|
|
V_2 = ((Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)Castclass((RuntimeObject*)L_4, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var));
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B** L_5 = (Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B**)(&__this->___OnPathPreSearch_0);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_6 = V_2;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_7 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_8;
|
|
L_8 = InterlockedCompareExchangeImpl<Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*>(L_5, L_6, L_7);
|
|
V_0 = L_8;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_9 = V_0;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_10 = V_1;
|
|
if ((!(((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_9) == ((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_10))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::remove_OnPathPreSearch(System.Action`1<Pathfinding.Path>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_remove_OnPathPreSearch_m2E46C6CFA2A0DAF9A591A8C8870C934915F282D7 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_0 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_1 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_2 = NULL;
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_0 = __this->___OnPathPreSearch_0;
|
|
V_0 = L_0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_1 = V_0;
|
|
V_1 = L_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_2 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_3 = ___0_value;
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
|
|
V_2 = ((Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)Castclass((RuntimeObject*)L_4, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var));
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B** L_5 = (Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B**)(&__this->___OnPathPreSearch_0);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_6 = V_2;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_7 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_8;
|
|
L_8 = InterlockedCompareExchangeImpl<Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*>(L_5, L_6, L_7);
|
|
V_0 = L_8;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_9 = V_0;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_10 = V_1;
|
|
if ((!(((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_9) == ((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_10))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::add_OnPathPostSearch(System.Action`1<Pathfinding.Path>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_add_OnPathPostSearch_m2F7975C753F7DA823E8934A2A522F5AA729A805F (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_0 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_1 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_2 = NULL;
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_0 = __this->___OnPathPostSearch_1;
|
|
V_0 = L_0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_1 = V_0;
|
|
V_1 = L_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_2 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_3 = ___0_value;
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
|
|
V_2 = ((Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)Castclass((RuntimeObject*)L_4, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var));
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B** L_5 = (Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B**)(&__this->___OnPathPostSearch_1);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_6 = V_2;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_7 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_8;
|
|
L_8 = InterlockedCompareExchangeImpl<Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*>(L_5, L_6, L_7);
|
|
V_0 = L_8;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_9 = V_0;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_10 = V_1;
|
|
if ((!(((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_9) == ((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_10))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::remove_OnPathPostSearch(System.Action`1<Pathfinding.Path>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_remove_OnPathPostSearch_m36E9CF6A8485F847AED5144C8145E1F45626BC05 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_0 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_1 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_2 = NULL;
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_0 = __this->___OnPathPostSearch_1;
|
|
V_0 = L_0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_1 = V_0;
|
|
V_1 = L_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_2 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_3 = ___0_value;
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
|
|
V_2 = ((Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)Castclass((RuntimeObject*)L_4, Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B_il2cpp_TypeInfo_var));
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B** L_5 = (Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B**)(&__this->___OnPathPostSearch_1);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_6 = V_2;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_7 = V_1;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_8;
|
|
L_8 = InterlockedCompareExchangeImpl<Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*>(L_5, L_6, L_7);
|
|
V_0 = L_8;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_9 = V_0;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_10 = V_1;
|
|
if ((!(((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_9) == ((RuntimeObject*)(Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B*)L_10))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::add_OnQueueUnblocked(System.Action)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_add_OnQueueUnblocked_mD0402FE7AFDA4D67BEB55D6CF96E498D7DDC0797 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* V_0 = NULL;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* V_1 = NULL;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* V_2 = NULL;
|
|
{
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_0 = __this->___OnQueueUnblocked_2;
|
|
V_0 = L_0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_1 = V_0;
|
|
V_1 = L_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_2 = V_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_3 = ___0_value;
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Combine_m1F725AEF318BE6F0426863490691A6F4606E7D00(L_2, L_3, NULL);
|
|
V_2 = ((Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)CastclassSealed((RuntimeObject*)L_4, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var));
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07** L_5 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07**)(&__this->___OnQueueUnblocked_2);
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_6 = V_2;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_7 = V_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_8;
|
|
L_8 = InterlockedCompareExchangeImpl<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*>(L_5, L_6, L_7);
|
|
V_0 = L_8;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_9 = V_0;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_10 = V_1;
|
|
if ((!(((RuntimeObject*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)L_9) == ((RuntimeObject*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)L_10))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::remove_OnQueueUnblocked(System.Action)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_remove_OnQueueUnblocked_m2E30DF3F194D83B3A77071F0CA94841354E39B69 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* V_0 = NULL;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* V_1 = NULL;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* V_2 = NULL;
|
|
{
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_0 = __this->___OnQueueUnblocked_2;
|
|
V_0 = L_0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_1 = V_0;
|
|
V_1 = L_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_2 = V_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_3 = ___0_value;
|
|
Delegate_t* L_4;
|
|
L_4 = Delegate_Remove_m8B7DD5661308FA972E23CA1CC3FC9CEB355504E3(L_2, L_3, NULL);
|
|
V_2 = ((Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)CastclassSealed((RuntimeObject*)L_4, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var));
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07** L_5 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07**)(&__this->___OnQueueUnblocked_2);
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_6 = V_2;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_7 = V_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_8;
|
|
L_8 = InterlockedCompareExchangeImpl<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*>(L_5, L_6, L_7);
|
|
V_0 = L_8;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_9 = V_0;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_10 = V_1;
|
|
if ((!(((RuntimeObject*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)L_9) == ((RuntimeObject*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)L_10))))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.PathProcessor::get_NumThreads()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathProcessor_get_NumThreads_m6A72E19A8110D40DCCD4A2E82C1CD6B5A5397D55 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return pathHandlers.Length;
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_0 = __this->___pathHandlers_6;
|
|
NullCheck(L_0);
|
|
return ((int32_t)(((RuntimeArray*)L_0)->max_length));
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.PathProcessor::get_IsUsingMultithreading()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathProcessor_get_IsUsingMultithreading_m5AC7A0DA792294902C1F5F28EF4816BFD263002D (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return threads != null;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_0 = __this->___threads_7;
|
|
return (bool)((!(((RuntimeObject*)(ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2*)L_0) <= ((RuntimeObject*)(RuntimeObject*)NULL)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::.ctor(AstarPath,Pathfinding.PathReturnQueue,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor__ctor_mA72FA649C64AA10C31DBC3A482680AEA3FDE2A30 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* ___1_returnQueue, int32_t ___2_processors, bool ___3_multithreaded, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass24_0_U3C_ctorU3Eb__0_m9FA29525541DFEF71299B7CB6572AD4AC66B59C1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1A86FF2B97FDDF1C4B09B5F5891980AFE6312910);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6DA784FB74103919D4A753446D2B255B96B6F7C5);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* V_2 = NULL;
|
|
{
|
|
// int nextNodeIndex = 1;
|
|
__this->___nextNodeIndex_9 = 1;
|
|
// readonly Stack<int> nodeIndexPool = new Stack<int>();
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* L_0 = (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6*)il2cpp_codegen_object_new(Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1(L_0, Stack_1__ctor_mF63AE96E8925749CDACE05B89002A389DDD748D1_RuntimeMethod_var);
|
|
__this->___nodeIndexPool_10 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodeIndexPool_10), (void*)L_0);
|
|
// readonly List<int> locks = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_1 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_1, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
__this->___locks_11 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___locks_11), (void*)L_1);
|
|
// internal PathProcessor (AstarPath astar, PathReturnQueue returnQueue, int processors, bool multithreaded) {
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.astar = astar;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_2 = ___0_astar;
|
|
__this->___astar_4 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___astar_4), (void*)L_2);
|
|
// this.returnQueue = returnQueue;
|
|
PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* L_3 = ___1_returnQueue;
|
|
__this->___returnQueue_5 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___returnQueue_5), (void*)L_3);
|
|
// if (processors < 0) {
|
|
int32_t L_4 = ___2_processors;
|
|
if ((((int32_t)L_4) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.ArgumentOutOfRangeException("processors");
|
|
ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_5 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_5);
|
|
ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6D1EA1D1617B794A461DC1D05B22D5D0138A939D)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PathProcessor__ctor_mA72FA649C64AA10C31DBC3A482680AEA3FDE2A30_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// if (!multithreaded && processors != 1) {
|
|
bool L_6 = ___3_multithreaded;
|
|
if (L_6)
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_7 = ___2_processors;
|
|
if ((((int32_t)L_7) == ((int32_t)1)))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.Exception("Only a single non-multithreaded processor is allowed");
|
|
Exception_t* L_8 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_8);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_8, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral15C56BD98B8DED54DFFC721529B6397397BB1A9C)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PathProcessor__ctor_mA72FA649C64AA10C31DBC3A482680AEA3FDE2A30_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// queue = new ThreadControlQueue(processors);
|
|
int32_t L_9 = ___2_processors;
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_10 = (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92*)il2cpp_codegen_object_new(ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
ThreadControlQueue__ctor_m76CE5F6D19A8CC60CFCDFFA6E0B07130C895E8E4(L_10, L_9, NULL);
|
|
__this->___queue_3 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___queue_3), (void*)L_10);
|
|
// pathHandlers = new PathHandler[processors];
|
|
int32_t L_11 = ___2_processors;
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_12 = (PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152*)(PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152*)SZArrayNew(PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152_il2cpp_TypeInfo_var, (uint32_t)L_11);
|
|
__this->___pathHandlers_6 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathHandlers_6), (void*)L_12);
|
|
// for (int i = 0; i < processors; i++) {
|
|
V_0 = 0;
|
|
goto IL_0082;
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// pathHandlers[i] = new PathHandler(i, processors);
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_13 = __this->___pathHandlers_6;
|
|
int32_t L_14 = V_0;
|
|
int32_t L_15 = V_0;
|
|
int32_t L_16 = ___2_processors;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_17 = (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638*)il2cpp_codegen_object_new(PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638_il2cpp_TypeInfo_var);
|
|
NullCheck(L_17);
|
|
PathHandler__ctor_m74609E7430123DF00B84CCA212F28B3A6EFC8471(L_17, L_15, L_16, NULL);
|
|
NullCheck(L_13);
|
|
ArrayElementTypeCheck (L_13, L_17);
|
|
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638*)L_17);
|
|
// for (int i = 0; i < processors; i++) {
|
|
int32_t L_18 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_18, 1));
|
|
}
|
|
|
|
IL_0082:
|
|
{
|
|
// for (int i = 0; i < processors; i++) {
|
|
int32_t L_19 = V_0;
|
|
int32_t L_20 = ___2_processors;
|
|
if ((((int32_t)L_19) < ((int32_t)L_20)))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if (multithreaded) {
|
|
bool L_21 = ___3_multithreaded;
|
|
if (!L_21)
|
|
{
|
|
goto IL_0124;
|
|
}
|
|
}
|
|
{
|
|
// profilingSampler = CustomSampler.Create("Calculating Path");
|
|
il2cpp_codegen_runtime_class_init_inline(CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487_il2cpp_TypeInfo_var);
|
|
CustomSampler_tDA472186F08B4016626F032F944036BADFDB5487* L_22;
|
|
L_22 = CustomSampler_Create_m7F949EE6A33CEEC8420DC3362992C2272E76815D(_stringLiteral6DA784FB74103919D4A753446D2B255B96B6F7C5, (bool)0, NULL);
|
|
__this->___profilingSampler_13 = L_22;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___profilingSampler_13), (void*)L_22);
|
|
// threads = new Thread[processors];
|
|
int32_t L_23 = ___2_processors;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_24 = (ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2*)(ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2*)SZArrayNew(ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2_il2cpp_TypeInfo_var, (uint32_t)L_23);
|
|
__this->___threads_7 = L_24;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___threads_7), (void*)L_24);
|
|
// for (int i = 0; i < processors; i++) {
|
|
V_1 = 0;
|
|
goto IL_011f;
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* L_25 = (U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392_il2cpp_TypeInfo_var);
|
|
NullCheck(L_25);
|
|
U3CU3Ec__DisplayClass24_0__ctor_m415D77018EE062167616D71194E037A2C03A6A14(L_25, NULL);
|
|
V_2 = L_25;
|
|
U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* L_26 = V_2;
|
|
NullCheck(L_26);
|
|
L_26->___U3CU3E4__this_1 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_26->___U3CU3E4__this_1), (void*)__this);
|
|
// var pathHandler = pathHandlers[i];
|
|
U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* L_27 = V_2;
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_28 = __this->___pathHandlers_6;
|
|
int32_t L_29 = V_1;
|
|
NullCheck(L_28);
|
|
int32_t L_30 = L_29;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
|
|
NullCheck(L_27);
|
|
L_27->___pathHandler_0 = L_31;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_27->___pathHandler_0), (void*)L_31);
|
|
// threads[i] = new Thread(() => CalculatePathsThreaded(pathHandler));
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_32 = __this->___threads_7;
|
|
int32_t L_33 = V_1;
|
|
U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* L_34 = V_2;
|
|
ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2* L_35 = (ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2*)il2cpp_codegen_object_new(ThreadStart_t7662D98F1793EDE90192D7304D1C3C44119328A2_il2cpp_TypeInfo_var);
|
|
NullCheck(L_35);
|
|
ThreadStart__ctor_m35CE51F76358F20E4A0C8F2963C3AE14E5FF7E71(L_35, L_34, (intptr_t)((void*)U3CU3Ec__DisplayClass24_0_U3C_ctorU3Eb__0_m9FA29525541DFEF71299B7CB6572AD4AC66B59C1_RuntimeMethod_var), NULL);
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_36 = (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F*)il2cpp_codegen_object_new(Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_36);
|
|
Thread__ctor_m1FA23A179DF4F5B659689D6FA40DE903086212E2(L_36, L_35, NULL);
|
|
NullCheck(L_32);
|
|
ArrayElementTypeCheck (L_32, L_36);
|
|
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(L_33), (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F*)L_36);
|
|
// threads[i].Name = "Pathfinding Thread " + i;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_37 = __this->___threads_7;
|
|
int32_t L_38 = V_1;
|
|
NullCheck(L_37);
|
|
int32_t L_39 = L_38;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
|
|
String_t* L_41;
|
|
L_41 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_1), NULL);
|
|
String_t* L_42;
|
|
L_42 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral1A86FF2B97FDDF1C4B09B5F5891980AFE6312910, L_41, NULL);
|
|
NullCheck(L_40);
|
|
Thread_set_Name_m53E2BA6E84C04A6393EA5E470E516703CB892E4A(L_40, L_42, NULL);
|
|
// threads[i].IsBackground = true;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_43 = __this->___threads_7;
|
|
int32_t L_44 = V_1;
|
|
NullCheck(L_43);
|
|
int32_t L_45 = L_44;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
|
|
NullCheck(L_46);
|
|
Thread_set_IsBackground_m45F00BD4C46F9B8A7C46A20A170B22BABB8FBA30(L_46, (bool)1, NULL);
|
|
// threads[i].Start();
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_47 = __this->___threads_7;
|
|
int32_t L_48 = V_1;
|
|
NullCheck(L_47);
|
|
int32_t L_49 = L_48;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
|
|
NullCheck(L_50);
|
|
Thread_Start_m2230799AA331CA9ACEF49D5500281D0C1A9F72FA(L_50, NULL);
|
|
// for (int i = 0; i < processors; i++) {
|
|
int32_t L_51 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_51, 1));
|
|
}
|
|
|
|
IL_011f:
|
|
{
|
|
// for (int i = 0; i < processors; i++) {
|
|
int32_t L_52 = V_1;
|
|
int32_t L_53 = ___2_processors;
|
|
if ((((int32_t)L_52) < ((int32_t)L_53)))
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0124:
|
|
{
|
|
// threadCoroutine = CalculatePaths(pathHandlers[0]);
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_54 = __this->___pathHandlers_6;
|
|
NullCheck(L_54);
|
|
int32_t L_55 = 0;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_56 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
|
|
RuntimeObject* L_57;
|
|
L_57 = PathProcessor_CalculatePaths_m065EE70E33515B21F7BE4309D1CADEBE962F7CC1(__this, L_56, NULL);
|
|
__this->___threadCoroutine_8 = L_57;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___threadCoroutine_8), (void*)L_57);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.PathProcessor::Lock(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathProcessor_Lock_m7E76D2ECD2989F844C2786B65AACE8A44E62C1FF (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, bool ___0_block, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// queue.Block();
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_0 = __this->___queue_3;
|
|
NullCheck(L_0);
|
|
ThreadControlQueue_Block_m8963DA80862DFFED119858687CBE03BED3D1046F(L_0, NULL);
|
|
// if (block) {
|
|
bool L_1 = ___0_block;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// if (IsUsingMultithreading) {
|
|
bool L_2;
|
|
L_2 = PathProcessor_get_IsUsingMultithreading_m5AC7A0DA792294902C1F5F28EF4816BFD263002D(__this, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// Thread.Sleep(1);
|
|
Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(1, NULL);
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// TickNonMultithreaded();
|
|
PathProcessor_TickNonMultithreaded_mCE73F28C1193CFB77FDF955B6BDCB18C5F45344E(__this, NULL);
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// while (!queue.AllReceiversBlocked) {
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_3 = __this->___queue_3;
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = ThreadControlQueue_get_AllReceiversBlocked_m269C454E9155860FFAC33E715B3D5B9E903BE4DD(L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// nextLockID++;
|
|
int32_t L_5 = __this->___nextLockID_12;
|
|
__this->___nextLockID_12 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
// locks.Add(nextLockID);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_6 = __this->___locks_11;
|
|
int32_t L_7 = __this->___nextLockID_12;
|
|
NullCheck(L_6);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_6, L_7, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// return nextLockID;
|
|
int32_t L_8 = __this->___nextLockID_12;
|
|
return L_8;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::Unlock(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_Unlock_mA82A7915541D83DB891FEE665DB2A16E12F03536 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, int32_t ___0_id, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!locks.Remove(id)) {
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_0 = __this->___locks_11;
|
|
int32_t L_1 = ___0_id;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5(L_0, L_1, List_1_Remove_m2B41E5B9E061DD4D5F58B693018024AADF2AD7F5_RuntimeMethod_var);
|
|
if (L_2)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.ArgumentException("This lock has already been released");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_3 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_3);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral010B46A9DAB7C3D59530A463AC8A70C3AE5FAF6F)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PathProcessor_Unlock_mA82A7915541D83DB891FEE665DB2A16E12F03536_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// if (locks.Count == 0) {
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_4 = __this->___locks_11;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_4, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if (L_5)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// if (OnQueueUnblocked != null) OnQueueUnblocked();
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_6 = __this->___OnQueueUnblocked_2;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// if (OnQueueUnblocked != null) OnQueueUnblocked();
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_7 = __this->___OnQueueUnblocked_2;
|
|
NullCheck(L_7);
|
|
Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline(L_7, NULL);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// queue.Unblock();
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_8 = __this->___queue_3;
|
|
NullCheck(L_8);
|
|
ThreadControlQueue_Unblock_m6D416ACFD94C94BE53CB1628DF9B26487C9C5D10(L_8, NULL);
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.PathProcessor/GraphUpdateLock Pathfinding.PathProcessor::PausePathfinding(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3 PathProcessor_PausePathfinding_m290E9ECDE3ADC3A0AC26484DEF13803E1BA2C310 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, bool ___0_block, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new GraphUpdateLock(this, block);
|
|
bool L_0 = ___0_block;
|
|
GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
GraphUpdateLock__ctor_m72FDD7B09CFA3493907C1181D4E657CB999D3DC8((&L_1), __this, L_0, /*hidden argument*/NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::TickNonMultithreaded()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_TickNonMultithreaded_mCE73F28C1193CFB77FDF955B6BDCB18C5F45344E (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Exception_t* V_0 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 2> __active_exceptions;
|
|
{
|
|
// if (threadCoroutine != null) {
|
|
RuntimeObject* L_0 = __this->___threadCoroutine_8;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0055;
|
|
}
|
|
}
|
|
try
|
|
{// begin try (depth: 1)
|
|
// threadCoroutine.MoveNext();
|
|
RuntimeObject* L_1 = __this->___threadCoroutine_8;
|
|
NullCheck(L_1);
|
|
bool L_2;
|
|
L_2 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_1);
|
|
// } catch (System.Exception e) {
|
|
goto IL_0055;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_0016;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_0016:
|
|
{// begin catch(System.Exception)
|
|
{
|
|
Exception_t* L_3 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));;
|
|
// } catch (System.Exception e) {
|
|
V_0 = L_3;
|
|
// threadCoroutine = null;
|
|
__this->___threadCoroutine_8 = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___threadCoroutine_8), (void*)(RuntimeObject*)NULL);
|
|
// if (!(e is ThreadControlQueue.QueueTerminationException)) {
|
|
Exception_t* L_4 = V_0;
|
|
if (((QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)IsInstClass((RuntimeObject*)L_4, ((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)))))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogException(e);
|
|
Exception_t* L_5 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
|
|
Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0(L_5, NULL);
|
|
// Debug.LogError("Unhandled exception during pathfinding. Terminating.");
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF737EF2F2C6774257D22D2CCC2C56E4E232B0774)), NULL);
|
|
// queue.TerminateReceivers();
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_6 = __this->___queue_3;
|
|
NullCheck(L_6);
|
|
ThreadControlQueue_TerminateReceivers_mB2BC0ECA57D64842B193DC833849EB61C9A92617(L_6, NULL);
|
|
}
|
|
try
|
|
{// begin try (depth: 2)
|
|
// queue.PopNoBlock(false);
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_7 = __this->___queue_3;
|
|
NullCheck(L_7);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_8;
|
|
L_8 = ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2(L_7, (bool)0, NULL);
|
|
// } catch {}
|
|
goto IL_0053;
|
|
}// end try (depth: 2)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_0050;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_0050:
|
|
{// begin catch(System.Object)
|
|
RuntimeObject* L_9 = ((RuntimeObject*)IL2CPP_GET_ACTIVE_EXCEPTION(RuntimeObject*));;
|
|
// } catch {}
|
|
// } catch {}
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_0053;
|
|
}// end catch (depth: 2)
|
|
|
|
IL_0053:
|
|
{
|
|
// }
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_0055;
|
|
}
|
|
}// end catch (depth: 1)
|
|
|
|
IL_0055:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::JoinThreads()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_JoinThreads_m8882A8D63D7A39F1565868E92D92ADDEB2435165 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00C0F4AF489C009CD975610E2CED6844D16D12B1);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral479904710C5DB018C6245810DEEF9629FF8C71A8);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (threads != null) {
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_0 = __this->___threads_7;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < threads.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_004c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// if (!threads[i].Join(200)) {
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_1 = __this->___threads_7;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = Thread_Join_mEE23C739BE03BA0A3D0083A7848300192EF9F5C2(L_4, ((int32_t)200), NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Could not terminate pathfinding thread["+i+"] in 200ms, trying Thread.Abort");
|
|
String_t* L_6;
|
|
L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_0), NULL);
|
|
String_t* L_7;
|
|
L_7 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteral00C0F4AF489C009CD975610E2CED6844D16D12B1, L_6, _stringLiteral479904710C5DB018C6245810DEEF9629FF8C71A8, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_7, NULL);
|
|
// threads[i].Abort();
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_8 = __this->___threads_7;
|
|
int32_t L_9 = V_0;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
NullCheck(L_11);
|
|
Thread_Abort_mB956BACF405EFC38C6A3D0B93142E4CEDD64D941(L_11, NULL);
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// for (int i = 0; i < threads.Length; i++) {
|
|
int32_t L_12 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// for (int i = 0; i < threads.Length; i++) {
|
|
int32_t L_13 = V_0;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_14 = __this->___threads_7;
|
|
NullCheck(L_14);
|
|
if ((((int32_t)L_13) < ((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::AbortThreads()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_AbortThreads_m2E62C86C019016B5EB5D2AA1EDEA9A0B741DDE6D (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (threads == null) return;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_0 = __this->___threads_7;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (threads == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// for (int i = 0; i < threads.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0037;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// if (threads[i] != null && threads[i].IsAlive) threads[i].Abort();
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_1 = __this->___threads_7;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
if (!L_4)
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_5 = __this->___threads_7;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
NullCheck(L_8);
|
|
bool L_9;
|
|
L_9 = Thread_get_IsAlive_m87922B882A526D780570799F497EEB4C99F005DF(L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
// if (threads[i] != null && threads[i].IsAlive) threads[i].Abort();
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_10 = __this->___threads_7;
|
|
int32_t L_11 = V_0;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
NullCheck(L_13);
|
|
Thread_Abort_mB956BACF405EFC38C6A3D0B93142E4CEDD64D941(L_13, NULL);
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// for (int i = 0; i < threads.Length; i++) {
|
|
int32_t L_14 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// for (int i = 0; i < threads.Length; i++) {
|
|
int32_t L_15 = V_0;
|
|
ThreadU5BU5D_t9D34A6A5BE8998FAD6B8556B1E16BF0C836572B2* L_16 = __this->___threads_7;
|
|
NullCheck(L_16);
|
|
if ((((int32_t)L_15) < ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.PathProcessor::GetNewNodeIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PathProcessor_GetNewNodeIndex_mB62BE252552039B0CEA2B6644B1D519546E53837 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// return nodeIndexPool.Count > 0 ? nodeIndexPool.Pop() : nextNodeIndex++;
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* L_0 = __this->___nodeIndexPool_10;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_inline(L_0, Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_RuntimeMethod_var);
|
|
if ((((int32_t)L_1) > ((int32_t)0)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = __this->___nextNodeIndex_9;
|
|
V_0 = L_2;
|
|
int32_t L_3 = V_0;
|
|
__this->___nextNodeIndex_9 = ((int32_t)il2cpp_codegen_add(L_3, 1));
|
|
int32_t L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* L_5 = __this->___nodeIndexPool_10;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748(L_5, Stack_1_Pop_m59DFD2B5EC8D9044532E0AD0BDB20DB33BA76748_RuntimeMethod_var);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::InitializeNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_InitializeNode_mAED966B69CEDFDE83E0F471ED084DD3CE40947C2 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (!queue.AllReceiversBlocked) {
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_0 = __this->___queue_3;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = ThreadControlQueue_get_AllReceiversBlocked_m269C454E9155860FFAC33E715B3D5B9E903BE4DD(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.Exception("Trying to initialize a node when it is not safe to initialize any nodes. Must be done during a graph update. See http://arongranberg.com/astar/docs/graph-updates.php#direct");
|
|
Exception_t* L_2 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_2);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_2, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC39972D2DF6C02661AA1F8A26C5C9A2A4A579C77)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PathProcessor_InitializeNode_mAED966B69CEDFDE83E0F471ED084DD3CE40947C2_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// for (int i = 0; i < pathHandlers.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_002e;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// pathHandlers[i].InitializeNode(node);
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_3 = __this->___pathHandlers_6;
|
|
int32_t L_4 = V_0;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ___0_node;
|
|
NullCheck(L_6);
|
|
PathHandler_InitializeNode_m7B8415CA68528C025A3F2BFB20E5236052A1630D(L_6, L_7, NULL);
|
|
// for (int i = 0; i < pathHandlers.Length; i++) {
|
|
int32_t L_8 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// for (int i = 0; i < pathHandlers.Length; i++) {
|
|
int32_t L_9 = V_0;
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_10 = __this->___pathHandlers_6;
|
|
NullCheck(L_10);
|
|
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// astar.hierarchicalGraph.OnCreatedNode(node);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_11 = __this->___astar_4;
|
|
NullCheck(L_11);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_12 = L_11->___hierarchicalGraph_50;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_13 = ___0_node;
|
|
NullCheck(L_12);
|
|
HierarchicalGraph_OnCreatedNode_m7BBBE07C8242DBEA4DCC83CE9B96628A1432DBE7(L_12, L_13, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::DestroyNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_DestroyNode_m8FA8A9CE820F0EE8EB8AB6A6ED355C367441A804 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (node.NodeIndex == -1) return;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532(L_0, NULL);
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (node.NodeIndex == -1) return;
|
|
return;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// nodeIndexPool.Push(node.NodeIndex);
|
|
Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* L_2 = __this->___nodeIndexPool_10;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___0_node;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532(L_3, NULL);
|
|
NullCheck(L_2);
|
|
Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA(L_2, L_4, Stack_1_Push_mF7CC12CF73D9D4B66FFA2E2D264270212CAB3EDA_RuntimeMethod_var);
|
|
// for (int i = 0; i < pathHandlers.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0031;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// pathHandlers[i].DestroyNode(node);
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_5 = __this->___pathHandlers_6;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ___0_node;
|
|
NullCheck(L_8);
|
|
PathHandler_DestroyNode_m3D987420EDBACCBBBAF997F6D9E5E63660D0F919(L_8, L_9, NULL);
|
|
// for (int i = 0; i < pathHandlers.Length; i++) {
|
|
int32_t L_10 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
// for (int i = 0; i < pathHandlers.Length; i++) {
|
|
int32_t L_11 = V_0;
|
|
PathHandlerU5BU5D_tB842F38E2536D46803C918170C59A668E85C5152* L_12 = __this->___pathHandlers_6;
|
|
NullCheck(L_12);
|
|
if ((((int32_t)L_11) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// astar.hierarchicalGraph.AddDirtyNode(node);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_13 = __this->___astar_4;
|
|
NullCheck(L_13);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_14 = L_13->___hierarchicalGraph_50;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_15 = ___0_node;
|
|
NullCheck(L_14);
|
|
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_14, L_15, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor::CalculatePathsThreaded(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathProcessor_CalculatePathsThreaded_m3A95732FD5083C2FBB321E9409C270ADA1DF3759 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_pathHandler, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0A5EF6E5BE8777B7385DA6D418204D21C6C960C1);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F6464E3183B9357FD0EC1778D866615DC22D476);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int64_t V_0 = 0;
|
|
int64_t V_1 = 0;
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_3 = NULL;
|
|
RuntimeObject* V_4 = NULL;
|
|
int64_t V_5 = 0;
|
|
Exception_t* V_6 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_01a4:
|
|
{// begin finally (depth: 1)
|
|
// UnityEngine.Profiling.Profiler.EndThreadProfiling();
|
|
Profiler_EndThreadProfiling_mBD04DF047DA91FC87323E09B6CF8CAA55896AA4D(NULL);
|
|
// }
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
try
|
|
{// begin try (depth: 2)
|
|
{
|
|
// long maxTicks = (long)(10*10000);
|
|
V_0 = ((int64_t)((int32_t)100000));
|
|
// long targetTick = System.DateTime.UtcNow.Ticks + maxTicks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_0;
|
|
L_0 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_2 = L_0;
|
|
int64_t L_1;
|
|
L_1 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_2), NULL);
|
|
int64_t L_2 = V_0;
|
|
V_1 = ((int64_t)il2cpp_codegen_add(L_1, L_2));
|
|
}
|
|
|
|
IL_0017_2:
|
|
{
|
|
// Path path = queue.Pop();
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_3 = __this->___queue_3;
|
|
NullCheck(L_3);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_4;
|
|
L_4 = ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9(L_3, NULL);
|
|
V_3 = L_4;
|
|
// IPathInternals ipath = (IPathInternals)path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = V_3;
|
|
V_4 = L_5;
|
|
// if (pathHandler.threadID > 0) {
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_6 = ___0_pathHandler;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___threadID_1;
|
|
if ((((int32_t)L_7) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003a_2;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.Exception("Thread Error");
|
|
Exception_t* L_8 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_8);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_8, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral93D5E26DE8A518E4AE50E6C30947D5C73623A172)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PathProcessor_CalculatePathsThreaded_m3A95732FD5083C2FBB321E9409C270ADA1DF3759_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_003a_2:
|
|
{
|
|
// ipath.PrepareBase(pathHandler);
|
|
RuntimeObject* L_9 = V_4;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_10 = ___0_pathHandler;
|
|
NullCheck(L_9);
|
|
InterfaceActionInvoker1< PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(7 /* System.Void Pathfinding.IPathInternals::PrepareBase(Pathfinding.PathHandler) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_9, L_10);
|
|
// ipath.AdvanceState(PathState.Processing);
|
|
RuntimeObject* L_11 = V_4;
|
|
NullCheck(L_11);
|
|
InterfaceActionInvoker1< int32_t >::Invoke(3 /* System.Void Pathfinding.IPathInternals::AdvanceState(Pathfinding.PathState) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_11, 2);
|
|
// if (OnPathPreSearch != null) {
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_12 = __this->___OnPathPreSearch_0;
|
|
if (!L_12)
|
|
{
|
|
goto IL_005e_2;
|
|
}
|
|
}
|
|
{
|
|
// OnPathPreSearch(path);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_13 = __this->___OnPathPreSearch_0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_14 = V_3;
|
|
NullCheck(L_13);
|
|
Action_1_Invoke_mB3DD6BFD5B7AB0E85A32E3002B6900DEE4C32F4D_inline(L_13, L_14, NULL);
|
|
}
|
|
|
|
IL_005e_2:
|
|
{
|
|
// long startTicks = System.DateTime.UtcNow.Ticks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_15;
|
|
L_15 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_2 = L_15;
|
|
int64_t L_16;
|
|
L_16 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_2), NULL);
|
|
V_5 = L_16;
|
|
// ipath.Prepare();
|
|
RuntimeObject* L_17 = V_4;
|
|
NullCheck(L_17);
|
|
InterfaceActionInvoker0::Invoke(8 /* System.Void Pathfinding.IPathInternals::Prepare() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_17);
|
|
// if (path.CompleteState == PathCompleteState.NotCalculated) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_18 = V_3;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline(L_18, NULL);
|
|
if (L_19)
|
|
{
|
|
goto IL_0100_2;
|
|
}
|
|
}
|
|
{
|
|
// astar.debugPathData = ipath.PathHandler;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_20 = __this->___astar_4;
|
|
RuntimeObject* L_21 = V_4;
|
|
NullCheck(L_21);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_22;
|
|
L_22 = InterfaceFuncInvoker0< PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(0 /* Pathfinding.PathHandler Pathfinding.IPathInternals::get_PathHandler() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_21);
|
|
NullCheck(L_20);
|
|
L_20->___debugPathData_33 = L_22;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_20->___debugPathData_33), (void*)L_22);
|
|
// astar.debugPathID = path.pathID;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_23 = __this->___astar_4;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_24 = V_3;
|
|
NullCheck(L_24);
|
|
uint16_t L_25;
|
|
L_25 = Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline(L_24, NULL);
|
|
NullCheck(L_23);
|
|
L_23->___debugPathID_34 = L_25;
|
|
// ipath.Initialize();
|
|
RuntimeObject* L_26 = V_4;
|
|
NullCheck(L_26);
|
|
InterfaceActionInvoker0::Invoke(9 /* System.Void Pathfinding.IPathInternals::Initialize() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_26);
|
|
goto IL_00db_2;
|
|
}
|
|
|
|
IL_00ab_2:
|
|
{
|
|
// ipath.CalculateStep(targetTick);
|
|
RuntimeObject* L_27 = V_4;
|
|
int64_t L_28 = V_1;
|
|
NullCheck(L_27);
|
|
InterfaceActionInvoker1< int64_t >::Invoke(11 /* System.Void Pathfinding.IPathInternals::CalculateStep(System.Int64) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_27, L_28);
|
|
// targetTick = System.DateTime.UtcNow.Ticks + maxTicks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_29;
|
|
L_29 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_2 = L_29;
|
|
int64_t L_30;
|
|
L_30 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_2), NULL);
|
|
int64_t L_31 = V_0;
|
|
V_1 = ((int64_t)il2cpp_codegen_add(L_30, L_31));
|
|
// if (queue.IsTerminating) {
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_32 = __this->___queue_3;
|
|
NullCheck(L_32);
|
|
bool L_33;
|
|
L_33 = ThreadControlQueue_get_IsTerminating_m966601A5E4511BE83AAA3956C2E62461DE571458_inline(L_32, NULL);
|
|
if (!L_33)
|
|
{
|
|
goto IL_00db_2;
|
|
}
|
|
}
|
|
{
|
|
// path.FailWithError("AstarPath object destroyed");
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_34 = V_3;
|
|
NullCheck(L_34);
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(L_34, _stringLiteral2F6464E3183B9357FD0EC1778D866615DC22D476, NULL);
|
|
}
|
|
|
|
IL_00db_2:
|
|
{
|
|
// while (path.CompleteState == PathCompleteState.NotCalculated) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_35 = V_3;
|
|
NullCheck(L_35);
|
|
int32_t L_36;
|
|
L_36 = Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline(L_35, NULL);
|
|
if (!L_36)
|
|
{
|
|
goto IL_00ab_2;
|
|
}
|
|
}
|
|
{
|
|
// path.duration = (System.DateTime.UtcNow.Ticks - startTicks)*0.0001F;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_37 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_38;
|
|
L_38 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_2 = L_38;
|
|
int64_t L_39;
|
|
L_39 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_2), NULL);
|
|
int64_t L_40 = V_5;
|
|
NullCheck(L_37);
|
|
L_37->___duration_11 = ((float)il2cpp_codegen_multiply(((float)((int64_t)il2cpp_codegen_subtract(L_39, L_40))), (9.99999975E-05f)));
|
|
}
|
|
|
|
IL_0100_2:
|
|
{
|
|
// ipath.Cleanup();
|
|
RuntimeObject* L_41 = V_4;
|
|
NullCheck(L_41);
|
|
InterfaceActionInvoker0::Invoke(10 /* System.Void Pathfinding.IPathInternals::Cleanup() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_41);
|
|
// if (path.immediateCallback != null) path.immediateCallback(path);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_42 = V_3;
|
|
NullCheck(L_42);
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_43 = L_42->___immediateCallback_2;
|
|
if (!L_43)
|
|
{
|
|
goto IL_011b_2;
|
|
}
|
|
}
|
|
{
|
|
// if (path.immediateCallback != null) path.immediateCallback(path);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_44 = V_3;
|
|
NullCheck(L_44);
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_45 = L_44->___immediateCallback_2;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_46 = V_3;
|
|
NullCheck(L_45);
|
|
OnPathDelegate_Invoke_m17E23601849FDCA5C8558EB78BE36C6202423A80_inline(L_45, L_46, NULL);
|
|
}
|
|
|
|
IL_011b_2:
|
|
{
|
|
// if (OnPathPostSearch != null) {
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_47 = __this->___OnPathPostSearch_1;
|
|
if (!L_47)
|
|
{
|
|
goto IL_012f_2;
|
|
}
|
|
}
|
|
{
|
|
// OnPathPostSearch(path);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_48 = __this->___OnPathPostSearch_1;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_49 = V_3;
|
|
NullCheck(L_48);
|
|
Action_1_Invoke_mB3DD6BFD5B7AB0E85A32E3002B6900DEE4C32F4D_inline(L_48, L_49, NULL);
|
|
}
|
|
|
|
IL_012f_2:
|
|
{
|
|
// returnQueue.Enqueue(path);
|
|
PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* L_50 = __this->___returnQueue_5;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_51 = V_3;
|
|
NullCheck(L_50);
|
|
PathReturnQueue_Enqueue_mE9E6A9B9AF077F4C3E02BF5DA77CBC8C2FE6D4EE(L_50, L_51, NULL);
|
|
// ipath.AdvanceState(PathState.ReturnQueue);
|
|
RuntimeObject* L_52 = V_4;
|
|
NullCheck(L_52);
|
|
InterfaceActionInvoker1< int32_t >::Invoke(3 /* System.Void Pathfinding.IPathInternals::AdvanceState(Pathfinding.PathState) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_52, 3);
|
|
// while (true) {
|
|
goto IL_0017_2;
|
|
}
|
|
}// end try (depth: 2)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_0148_1;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_0148_1:
|
|
{// begin catch(System.Exception)
|
|
{
|
|
Exception_t* L_53 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));;
|
|
// catch (System.Exception e) {
|
|
V_6 = L_53;
|
|
// if (e is ThreadAbortException || e is ThreadControlQueue.QueueTerminationException)
|
|
Exception_t* L_54 = V_6;
|
|
if (((ThreadAbortException_tCA1833E5D49782387EDF3BDCBDB90597B273F3C4*)IsInstSealed((RuntimeObject*)L_54, ((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadAbortException_tCA1833E5D49782387EDF3BDCBDB90597B273F3C4_il2cpp_TypeInfo_var)))))
|
|
{
|
|
goto IL_015c_1;
|
|
}
|
|
}
|
|
{
|
|
Exception_t* L_55 = V_6;
|
|
if (!((QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)IsInstClass((RuntimeObject*)L_55, ((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)))))
|
|
{
|
|
goto IL_0186_1;
|
|
}
|
|
}
|
|
|
|
IL_015c_1:
|
|
{
|
|
// if (astar.logPathResults == PathLog.Heavy)
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_56 = __this->___astar_4;
|
|
NullCheck(L_56);
|
|
int32_t L_57 = L_56->___logPathResults_18;
|
|
if ((!(((uint32_t)L_57) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0184_1;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogWarning("Shutting down pathfinding thread #" + pathHandler.threadID);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_58 = ___0_pathHandler;
|
|
NullCheck(L_58);
|
|
int32_t* L_59 = (int32_t*)(&L_58->___threadID_1);
|
|
String_t* L_60;
|
|
L_60 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_59, NULL);
|
|
String_t* L_61;
|
|
L_61 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralFE095003EE3416B496D435096CEC3D1753DC49F4)), L_60, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_61, NULL);
|
|
}
|
|
|
|
IL_0184_1:
|
|
{
|
|
// return;
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_01bf;
|
|
}
|
|
|
|
IL_0186_1:
|
|
{
|
|
// Debug.LogException(e);
|
|
Exception_t* L_62 = V_6;
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
|
|
Debug_LogException_mAB3F4DC7297ED8FBB49DAA718B70E59A6B0171B0(L_62, NULL);
|
|
// Debug.LogError("Unhandled exception during pathfinding. Terminating.");
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF737EF2F2C6774257D22D2CCC2C56E4E232B0774)), NULL);
|
|
// queue.TerminateReceivers();
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_63 = __this->___queue_3;
|
|
NullCheck(L_63);
|
|
ThreadControlQueue_TerminateReceivers_mB2BC0ECA57D64842B193DC833849EB61C9A92617(L_63, NULL);
|
|
// } finally {
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_01aa;
|
|
}
|
|
}// end catch (depth: 2)
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_01aa:
|
|
{
|
|
// Debug.LogError("Error : This part should never be reached.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral0A5EF6E5BE8777B7385DA6D418204D21C6C960C1, NULL);
|
|
// queue.ReceiverTerminated();
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_64 = __this->___queue_3;
|
|
NullCheck(L_64);
|
|
ThreadControlQueue_ReceiverTerminated_m843CD3825CFE806324EA30AC8151C40FC5229209(L_64, NULL);
|
|
}
|
|
|
|
IL_01bf:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator Pathfinding.PathProcessor::CalculatePaths(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PathProcessor_CalculatePaths_m065EE70E33515B21F7BE4309D1CADEBE962F7CC1 (PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_pathHandler, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* L_0 = (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D*)il2cpp_codegen_object_new(U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CCalculatePathsU3Ed__36__ctor_m80AE35E939C06EC3CA1B243C3CC14D95A9622CC3(L_0, 0, NULL);
|
|
U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_2 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
|
|
U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* L_2 = L_1;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_3 = ___0_pathHandler;
|
|
NullCheck(L_2);
|
|
L_2->___pathHandler_3 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___pathHandler_3), (void*)L_3);
|
|
return L_2;
|
|
}
|
|
}
|
|
#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: Pathfinding.PathProcessor/GraphUpdateLock
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshal_pinvoke(const GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3& unmarshaled, GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_pinvoke& marshaled)
|
|
{
|
|
Exception_t* ___pathProcessor_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pathProcessor' of type 'GraphUpdateLock': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___pathProcessor_0Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshal_pinvoke_back(const GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_pinvoke& marshaled, GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3& unmarshaled)
|
|
{
|
|
Exception_t* ___pathProcessor_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pathProcessor' of type 'GraphUpdateLock': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___pathProcessor_0Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: Pathfinding.PathProcessor/GraphUpdateLock
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshal_pinvoke_cleanup(GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
// Conversion methods for marshalling of: Pathfinding.PathProcessor/GraphUpdateLock
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshal_com(const GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3& unmarshaled, GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_com& marshaled)
|
|
{
|
|
Exception_t* ___pathProcessor_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pathProcessor' of type 'GraphUpdateLock': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___pathProcessor_0Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshal_com_back(const GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_com& marshaled, GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3& unmarshaled)
|
|
{
|
|
Exception_t* ___pathProcessor_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pathProcessor' of type 'GraphUpdateLock': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___pathProcessor_0Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: Pathfinding.PathProcessor/GraphUpdateLock
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshal_com_cleanup(GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
// System.Void Pathfinding.PathProcessor/GraphUpdateLock::.ctor(Pathfinding.PathProcessor,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphUpdateLock__ctor_m72FDD7B09CFA3493907C1181D4E657CB999D3DC8 (GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* __this, PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___0_pathProcessor, bool ___1_block, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.pathProcessor = pathProcessor;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_0 = ___0_pathProcessor;
|
|
__this->___pathProcessor_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathProcessor_0), (void*)L_0);
|
|
// id = pathProcessor.Lock(block);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_1 = ___0_pathProcessor;
|
|
bool L_2 = ___1_block;
|
|
NullCheck(L_1);
|
|
int32_t L_3;
|
|
L_3 = PathProcessor_Lock_m7E76D2ECD2989F844C2786B65AACE8A44E62C1FF(L_1, L_2, NULL);
|
|
__this->___id_1 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void GraphUpdateLock__ctor_m72FDD7B09CFA3493907C1181D4E657CB999D3DC8_AdjustorThunk (RuntimeObject* __this, PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* ___0_pathProcessor, bool ___1_block, const RuntimeMethod* method)
|
|
{
|
|
GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3*>(__this + _offset);
|
|
GraphUpdateLock__ctor_m72FDD7B09CFA3493907C1181D4E657CB999D3DC8(_thisAdjusted, ___0_pathProcessor, ___1_block, method);
|
|
}
|
|
// System.Boolean Pathfinding.PathProcessor/GraphUpdateLock::get_Held()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphUpdateLock_get_Held_m1D5503FC3E06005CF7C0B70E0B976F57709C21A0 (GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return pathProcessor != null && pathProcessor.locks.Contains(id);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_0 = __this->___pathProcessor_0;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_1 = __this->___pathProcessor_0;
|
|
NullCheck(L_1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_2 = L_1->___locks_11;
|
|
int32_t L_3 = __this->___id_1;
|
|
NullCheck(L_2);
|
|
bool L_4;
|
|
L_4 = List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B(L_2, L_3, List_1_Contains_m4FD96E89F15844C90032C7386BAB528817F1FF5B_RuntimeMethod_var);
|
|
return L_4;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool GraphUpdateLock_get_Held_m1D5503FC3E06005CF7C0B70E0B976F57709C21A0_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = GraphUpdateLock_get_Held_m1D5503FC3E06005CF7C0B70E0B976F57709C21A0(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Void Pathfinding.PathProcessor/GraphUpdateLock::Release()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphUpdateLock_Release_m5DD2E0681ED1C58B742460500AC5FC6EDB4933FB (GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// pathProcessor.Unlock(id);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_0 = __this->___pathProcessor_0;
|
|
int32_t L_1 = __this->___id_1;
|
|
NullCheck(L_0);
|
|
PathProcessor_Unlock_mA82A7915541D83DB891FEE665DB2A16E12F03536(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void GraphUpdateLock_Release_m5DD2E0681ED1C58B742460500AC5FC6EDB4933FB_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<GraphUpdateLock_t3E2169DB76769025E0F70E0265BF1C1837B33AC3*>(__this + _offset);
|
|
GraphUpdateLock_Release_m5DD2E0681ED1C58B742460500AC5FC6EDB4933FB(_thisAdjusted, 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 Pathfinding.PathProcessor/<>c__DisplayClass24_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass24_0__ctor_m415D77018EE062167616D71194E037A2C03A6A14 (U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor/<>c__DisplayClass24_0::<.ctor>b__0()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass24_0_U3C_ctorU3Eb__0_m9FA29525541DFEF71299B7CB6572AD4AC66B59C1 (U3CU3Ec__DisplayClass24_0_t3DD42952365BBB8B42559FFDD4BB0C87C2F98392* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// threads[i] = new Thread(() => CalculatePathsThreaded(pathHandler));
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_0 = __this->___U3CU3E4__this_1;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_1 = __this->___pathHandler_0;
|
|
NullCheck(L_0);
|
|
PathProcessor_CalculatePathsThreaded_m3A95732FD5083C2FBB321E9409C270ADA1DF3759(L_0, L_1, 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 Pathfinding.PathProcessor/<CalculatePaths>d__36::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CCalculatePathsU3Ed__36__ctor_m80AE35E939C06EC3CA1B243C3CC14D95A9622CC3 (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __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;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor/<CalculatePaths>d__36::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CCalculatePathsU3Ed__36_System_IDisposable_Dispose_m7A8F2103770CB401D2D2DF00EE4E3BC22ACDD8EB (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.PathProcessor/<CalculatePaths>d__36::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CCalculatePathsU3Ed__36_MoveNext_m1E1066C354A3B15B87E3D71A44F29EFEA931F3F7 (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F6464E3183B9357FD0EC1778D866615DC22D476);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
int32_t V_1 = 0;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* V_2 = NULL;
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_4 = NULL;
|
|
int64_t V_5 = 0;
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* V_6 = NULL;
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* V_7 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_1 = L_0;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_1 = __this->___U3CU3E4__this_2;
|
|
V_2 = L_1;
|
|
int32_t L_2 = V_1;
|
|
switch (L_2)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_00bf;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_01e4;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_02fa;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// long maxTicks = (long)(astar.maxFrameTime*10000);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_3 = V_2;
|
|
NullCheck(L_3);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_4 = L_3->___astar_4;
|
|
NullCheck(L_4);
|
|
float L_5 = L_4->___maxFrameTime_29;
|
|
__this->___U3CmaxTicksU3E5__2_4 = il2cpp_codegen_cast_double_to_int<int64_t>(((float)il2cpp_codegen_multiply(L_5, (10000.0f))));
|
|
// long targetTick = System.DateTime.UtcNow.Ticks + maxTicks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_6;
|
|
L_6 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_6;
|
|
int64_t L_7;
|
|
L_7 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
int64_t L_8 = __this->___U3CmaxTicksU3E5__2_4;
|
|
__this->___U3CtargetTickU3E5__3_5 = ((int64_t)il2cpp_codegen_add(L_7, L_8));
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// Path p = null;
|
|
__this->___U3CpU3E5__4_6 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CpU3E5__4_6), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
// bool blockedBefore = false;
|
|
__this->___U3CblockedBeforeU3E5__5_7 = (bool)0;
|
|
goto IL_00c6;
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
}
|
|
try
|
|
{// begin try (depth: 1)
|
|
// p = queue.PopNoBlock(blockedBefore);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_9 = V_2;
|
|
NullCheck(L_9);
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_10 = L_9->___queue_3;
|
|
bool L_11 = __this->___U3CblockedBeforeU3E5__5_7;
|
|
NullCheck(L_10);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_12;
|
|
L_12 = ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2(L_10, L_11, NULL);
|
|
__this->___U3CpU3E5__4_6 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CpU3E5__4_6), (void*)L_12);
|
|
// blockedBefore |= p == null;
|
|
bool L_13 = __this->___U3CblockedBeforeU3E5__5_7;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_14 = __this->___U3CpU3E5__4_6;
|
|
__this->___U3CblockedBeforeU3E5__5_7 = (bool)((int32_t)((int32_t)L_13|((((RuntimeObject*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_14) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0)));
|
|
// } catch (ThreadControlQueue.QueueTerminationException) {
|
|
goto IL_00a7;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_009f;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_009f:
|
|
{// begin catch(Pathfinding.ThreadControlQueue/QueueTerminationException)
|
|
QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* L_15 = ((QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)IL2CPP_GET_ACTIVE_EXCEPTION(QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*));;
|
|
// } catch (ThreadControlQueue.QueueTerminationException) {
|
|
// yield break;
|
|
V_0 = (bool)0;
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_032e;
|
|
}// end catch (depth: 1)
|
|
|
|
IL_00a7:
|
|
{
|
|
// if (p == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_16 = __this->___U3CpU3E5__4_6;
|
|
if (L_16)
|
|
{
|
|
goto IL_00c6;
|
|
}
|
|
}
|
|
{
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_00c6:
|
|
{
|
|
// while (p == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_17 = __this->___U3CpU3E5__4_6;
|
|
if (!L_17)
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// IPathInternals ip = (IPathInternals)p;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_18 = __this->___U3CpU3E5__4_6;
|
|
__this->___U3CipU3E5__6_8 = L_18;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CipU3E5__6_8), (void*)L_18);
|
|
// maxTicks = (long)(astar.maxFrameTime*10000);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_19 = V_2;
|
|
NullCheck(L_19);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_20 = L_19->___astar_4;
|
|
NullCheck(L_20);
|
|
float L_21 = L_20->___maxFrameTime_29;
|
|
__this->___U3CmaxTicksU3E5__2_4 = il2cpp_codegen_cast_double_to_int<int64_t>(((float)il2cpp_codegen_multiply(L_21, (10000.0f))));
|
|
// ip.PrepareBase(pathHandler);
|
|
RuntimeObject* L_22 = __this->___U3CipU3E5__6_8;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_23 = __this->___pathHandler_3;
|
|
NullCheck(L_22);
|
|
InterfaceActionInvoker1< PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(7 /* System.Void Pathfinding.IPathInternals::PrepareBase(Pathfinding.PathHandler) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_22, L_23);
|
|
// ip.AdvanceState(PathState.Processing);
|
|
RuntimeObject* L_24 = __this->___U3CipU3E5__6_8;
|
|
NullCheck(L_24);
|
|
InterfaceActionInvoker1< int32_t >::Invoke(3 /* System.Void Pathfinding.IPathInternals::AdvanceState(Pathfinding.PathState) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_24, 2);
|
|
// var tmpOnPathPreSearch = OnPathPreSearch;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_25 = V_2;
|
|
NullCheck(L_25);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_26 = L_25->___OnPathPreSearch_0;
|
|
V_4 = L_26;
|
|
// if (tmpOnPathPreSearch != null) tmpOnPathPreSearch(p);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_27 = V_4;
|
|
if (!L_27)
|
|
{
|
|
goto IL_0128;
|
|
}
|
|
}
|
|
{
|
|
// if (tmpOnPathPreSearch != null) tmpOnPathPreSearch(p);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_28 = V_4;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_29 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_28);
|
|
Action_1_Invoke_mB3DD6BFD5B7AB0E85A32E3002B6900DEE4C32F4D_inline(L_28, L_29, NULL);
|
|
}
|
|
|
|
IL_0128:
|
|
{
|
|
// long startTicks = System.DateTime.UtcNow.Ticks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_30;
|
|
L_30 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_30;
|
|
int64_t L_31;
|
|
L_31 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
V_5 = L_31;
|
|
// long totalTicks = 0;
|
|
__this->___U3CtotalTicksU3E5__7_9 = ((int64_t)0);
|
|
// ip.Prepare();
|
|
RuntimeObject* L_32 = __this->___U3CipU3E5__6_8;
|
|
NullCheck(L_32);
|
|
InterfaceActionInvoker0::Invoke(8 /* System.Void Pathfinding.IPathInternals::Prepare() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_32);
|
|
// if (p.CompleteState == PathCompleteState.NotCalculated) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_33 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline(L_33, NULL);
|
|
if (L_34)
|
|
{
|
|
goto IL_0276;
|
|
}
|
|
}
|
|
{
|
|
// astar.debugPathData = ip.PathHandler;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_35 = V_2;
|
|
NullCheck(L_35);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_36 = L_35->___astar_4;
|
|
RuntimeObject* L_37 = __this->___U3CipU3E5__6_8;
|
|
NullCheck(L_37);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_38;
|
|
L_38 = InterfaceFuncInvoker0< PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(0 /* Pathfinding.PathHandler Pathfinding.IPathInternals::get_PathHandler() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_37);
|
|
NullCheck(L_36);
|
|
L_36->___debugPathData_33 = L_38;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_36->___debugPathData_33), (void*)L_38);
|
|
// astar.debugPathID = p.pathID;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_39 = V_2;
|
|
NullCheck(L_39);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_40 = L_39->___astar_4;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_41 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_41);
|
|
uint16_t L_42;
|
|
L_42 = Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline(L_41, NULL);
|
|
NullCheck(L_40);
|
|
L_40->___debugPathID_34 = L_42;
|
|
// ip.Initialize();
|
|
RuntimeObject* L_43 = __this->___U3CipU3E5__6_8;
|
|
NullCheck(L_43);
|
|
InterfaceActionInvoker0::Invoke(9 /* System.Void Pathfinding.IPathInternals::Initialize() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_43);
|
|
goto IL_0231;
|
|
}
|
|
|
|
IL_0196:
|
|
{
|
|
// ip.CalculateStep(targetTick);
|
|
RuntimeObject* L_44 = __this->___U3CipU3E5__6_8;
|
|
int64_t L_45 = __this->___U3CtargetTickU3E5__3_5;
|
|
NullCheck(L_44);
|
|
InterfaceActionInvoker1< int64_t >::Invoke(11 /* System.Void Pathfinding.IPathInternals::CalculateStep(System.Int64) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_44, L_45);
|
|
// if (p.CompleteState != PathCompleteState.NotCalculated) break;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_46 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_46);
|
|
int32_t L_47;
|
|
L_47 = Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline(L_46, NULL);
|
|
if (L_47)
|
|
{
|
|
goto IL_0241;
|
|
}
|
|
}
|
|
{
|
|
// totalTicks += System.DateTime.UtcNow.Ticks-startTicks;
|
|
int64_t L_48 = __this->___U3CtotalTicksU3E5__7_9;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_49;
|
|
L_49 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_49;
|
|
int64_t L_50;
|
|
L_50 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
int64_t L_51 = V_5;
|
|
__this->___U3CtotalTicksU3E5__7_9 = ((int64_t)il2cpp_codegen_add(L_48, ((int64_t)il2cpp_codegen_subtract(L_50, L_51))));
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 2;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_01e4:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// startTicks = System.DateTime.UtcNow.Ticks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_52;
|
|
L_52 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_52;
|
|
int64_t L_53;
|
|
L_53 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
V_5 = L_53;
|
|
// if (queue.IsTerminating) {
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_54 = V_2;
|
|
NullCheck(L_54);
|
|
ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* L_55 = L_54->___queue_3;
|
|
NullCheck(L_55);
|
|
bool L_56;
|
|
L_56 = ThreadControlQueue_get_IsTerminating_m966601A5E4511BE83AAA3956C2E62461DE571458_inline(L_55, NULL);
|
|
if (!L_56)
|
|
{
|
|
goto IL_0217;
|
|
}
|
|
}
|
|
{
|
|
// p.FailWithError("AstarPath object destroyed");
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_57 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_57);
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(L_57, _stringLiteral2F6464E3183B9357FD0EC1778D866615DC22D476, NULL);
|
|
}
|
|
|
|
IL_0217:
|
|
{
|
|
// targetTick = System.DateTime.UtcNow.Ticks + maxTicks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_58;
|
|
L_58 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_58;
|
|
int64_t L_59;
|
|
L_59 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
int64_t L_60 = __this->___U3CmaxTicksU3E5__2_4;
|
|
__this->___U3CtargetTickU3E5__3_5 = ((int64_t)il2cpp_codegen_add(L_59, L_60));
|
|
}
|
|
|
|
IL_0231:
|
|
{
|
|
// while (p.CompleteState == PathCompleteState.NotCalculated) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_61 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_61);
|
|
int32_t L_62;
|
|
L_62 = Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline(L_61, NULL);
|
|
if (!L_62)
|
|
{
|
|
goto IL_0196;
|
|
}
|
|
}
|
|
|
|
IL_0241:
|
|
{
|
|
// totalTicks += System.DateTime.UtcNow.Ticks-startTicks;
|
|
int64_t L_63 = __this->___U3CtotalTicksU3E5__7_9;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_64;
|
|
L_64 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_64;
|
|
int64_t L_65;
|
|
L_65 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
int64_t L_66 = V_5;
|
|
__this->___U3CtotalTicksU3E5__7_9 = ((int64_t)il2cpp_codegen_add(L_63, ((int64_t)il2cpp_codegen_subtract(L_65, L_66))));
|
|
// p.duration = totalTicks*0.0001F;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_67 = __this->___U3CpU3E5__4_6;
|
|
int64_t L_68 = __this->___U3CtotalTicksU3E5__7_9;
|
|
NullCheck(L_67);
|
|
L_67->___duration_11 = ((float)il2cpp_codegen_multiply(((float)L_68), (9.99999975E-05f)));
|
|
}
|
|
|
|
IL_0276:
|
|
{
|
|
// ip.Cleanup();
|
|
RuntimeObject* L_69 = __this->___U3CipU3E5__6_8;
|
|
NullCheck(L_69);
|
|
InterfaceActionInvoker0::Invoke(10 /* System.Void Pathfinding.IPathInternals::Cleanup() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_69);
|
|
// var tmpImmediateCallback = p.immediateCallback;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_70 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_70);
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_71 = L_70->___immediateCallback_2;
|
|
V_6 = L_71;
|
|
// if (tmpImmediateCallback != null) tmpImmediateCallback(p);
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_72 = V_6;
|
|
if (!L_72)
|
|
{
|
|
goto IL_029f;
|
|
}
|
|
}
|
|
{
|
|
// if (tmpImmediateCallback != null) tmpImmediateCallback(p);
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_73 = V_6;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_74 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_73);
|
|
OnPathDelegate_Invoke_m17E23601849FDCA5C8558EB78BE36C6202423A80_inline(L_73, L_74, NULL);
|
|
}
|
|
|
|
IL_029f:
|
|
{
|
|
// var tmpOnPathPostSearch = OnPathPostSearch;
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_75 = V_2;
|
|
NullCheck(L_75);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_76 = L_75->___OnPathPostSearch_1;
|
|
V_7 = L_76;
|
|
// if (tmpOnPathPostSearch != null) tmpOnPathPostSearch(p);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_77 = V_7;
|
|
if (!L_77)
|
|
{
|
|
goto IL_02b8;
|
|
}
|
|
}
|
|
{
|
|
// if (tmpOnPathPostSearch != null) tmpOnPathPostSearch(p);
|
|
Action_1_t531D22393EA48E1740B90950E83B3D2A6E329A1B* L_78 = V_7;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_79 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_78);
|
|
Action_1_Invoke_mB3DD6BFD5B7AB0E85A32E3002B6900DEE4C32F4D_inline(L_78, L_79, NULL);
|
|
}
|
|
|
|
IL_02b8:
|
|
{
|
|
// returnQueue.Enqueue(p);
|
|
PathProcessor_tF043F94D8E0B53A24D04F8E05FDFB6841691817C* L_80 = V_2;
|
|
NullCheck(L_80);
|
|
PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* L_81 = L_80->___returnQueue_5;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_82 = __this->___U3CpU3E5__4_6;
|
|
NullCheck(L_81);
|
|
PathReturnQueue_Enqueue_mE9E6A9B9AF077F4C3E02BF5DA77CBC8C2FE6D4EE(L_81, L_82, NULL);
|
|
// ip.AdvanceState(PathState.ReturnQueue);
|
|
RuntimeObject* L_83 = __this->___U3CipU3E5__6_8;
|
|
NullCheck(L_83);
|
|
InterfaceActionInvoker1< int32_t >::Invoke(3 /* System.Void Pathfinding.IPathInternals::AdvanceState(Pathfinding.PathState) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_83, 3);
|
|
// if (System.DateTime.UtcNow.Ticks > targetTick) {
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_84;
|
|
L_84 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_84;
|
|
int64_t L_85;
|
|
L_85 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
int64_t L_86 = __this->___U3CtargetTickU3E5__3_5;
|
|
if ((((int64_t)L_85) <= ((int64_t)L_86)))
|
|
{
|
|
goto IL_031b;
|
|
}
|
|
}
|
|
{
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 3;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_02fa:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// targetTick = System.DateTime.UtcNow.Ticks + maxTicks;
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_87;
|
|
L_87 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_3 = L_87;
|
|
int64_t L_88;
|
|
L_88 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_3), NULL);
|
|
int64_t L_89 = __this->___U3CmaxTicksU3E5__2_4;
|
|
__this->___U3CtargetTickU3E5__3_5 = ((int64_t)il2cpp_codegen_add(L_88, L_89));
|
|
}
|
|
|
|
IL_031b:
|
|
{
|
|
// }
|
|
__this->___U3CpU3E5__4_6 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CpU3E5__4_6), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
__this->___U3CipU3E5__6_8 = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CipU3E5__6_8), (void*)(RuntimeObject*)NULL);
|
|
// while (true) {
|
|
goto IL_005f;
|
|
}
|
|
|
|
IL_032e:
|
|
{
|
|
bool L_90 = V_0;
|
|
return L_90;
|
|
}
|
|
}
|
|
// System.Object Pathfinding.PathProcessor/<CalculatePaths>d__36::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CCalculatePathsU3Ed__36_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mB5B0734D07149D1FA9AAEF46F4AEF9E90FCAE96C (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathProcessor/<CalculatePaths>d__36::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CCalculatePathsU3Ed__36_System_Collections_IEnumerator_Reset_m0198CDDAD2E12F0E63402D967F47B914C34D1376 (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __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*)&U3CCalculatePathsU3Ed__36_System_Collections_IEnumerator_Reset_m0198CDDAD2E12F0E63402D967F47B914C34D1376_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object Pathfinding.PathProcessor/<CalculatePaths>d__36::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CCalculatePathsU3Ed__36_System_Collections_IEnumerator_get_Current_m88AC50D18738FFE5F385627D171A3A61986D1D38 (U3CCalculatePathsU3Ed__36_t504B66683F530AA7A9E4D14AF7F7D29FB9CB9D5D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
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 Pathfinding.PathReturnQueue::.ctor(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathReturnQueue__ctor_mA77E28BA23C901BA18249A0703A69CEE45897FC8 (PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* __this, RuntimeObject* ___0_pathsClaimedSilentlyBy, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1__ctor_mBEF40D980CAAFAACF58475044636E64E634718A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Queue<Path> pathReturnQueue = new Queue<Path>();
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_0 = (Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF*)il2cpp_codegen_object_new(Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Queue_1__ctor_mBEF40D980CAAFAACF58475044636E64E634718A6(L_0, Queue_1__ctor_mBEF40D980CAAFAACF58475044636E64E634718A6_RuntimeMethod_var);
|
|
__this->___pathReturnQueue_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathReturnQueue_0), (void*)L_0);
|
|
// public PathReturnQueue (System.Object pathsClaimedSilentlyBy) {
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.pathsClaimedSilentlyBy = pathsClaimedSilentlyBy;
|
|
RuntimeObject* L_1 = ___0_pathsClaimedSilentlyBy;
|
|
__this->___pathsClaimedSilentlyBy_1 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathsClaimedSilentlyBy_1), (void*)L_1);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathReturnQueue::Enqueue(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathReturnQueue_Enqueue_mE9E6A9B9AF077F4C3E02BF5DA77CBC8C2FE6D4EE (PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_Enqueue_m3FB0DB7753257520A15F10AC02CB3BAB6EF2B57D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (pathReturnQueue) {
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_0 = __this->___pathReturnQueue_0;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_001f:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// pathReturnQueue.Enqueue(path);
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_4 = __this->___pathReturnQueue_0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = ___0_path;
|
|
NullCheck(L_4);
|
|
Queue_1_Enqueue_m3FB0DB7753257520A15F10AC02CB3BAB6EF2B57D(L_4, L_5, Queue_1_Enqueue_m3FB0DB7753257520A15F10AC02CB3BAB6EF2B57D_RuntimeMethod_var);
|
|
// }
|
|
goto IL_0029;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathReturnQueue::ReturnPaths(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathReturnQueue_ReturnPaths_m40E2D149A15EE345F34E97FE88ABD9D40CAB3B29 (PathReturnQueue_t4544DBDC58AEF52AC877EDE3203080D4B5E26E31* __this, bool ___0_timeSlice, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_Dequeue_m5AB4196653F6689A3B3C1B05C5E49AB868891AE4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Queue_1_get_Count_m2CC93F0C5AC0A1436DE84FD36D1D258E2CCDD36B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int64_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_3 = NULL;
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* V_4 = NULL;
|
|
bool V_5 = false;
|
|
int64_t G_B3_0 = 0;
|
|
{
|
|
// long targetTick = timeSlice ? System.DateTime.UtcNow.Ticks + 1 * 10000 : 0;
|
|
bool L_0 = ___0_timeSlice;
|
|
if (L_0)
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = ((int64_t)0);
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_1;
|
|
L_1 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_2 = L_1;
|
|
int64_t L_2;
|
|
L_2 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_2), NULL);
|
|
G_B3_0 = ((int64_t)il2cpp_codegen_add(L_2, ((int64_t)((int32_t)10000))));
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
V_0 = G_B3_0;
|
|
// int counter = 0;
|
|
V_1 = 0;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// lock (pathReturnQueue) {
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_3 = __this->___pathReturnQueue_0;
|
|
V_4 = L_3;
|
|
V_5 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_004f:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_4 = V_5;
|
|
if (!L_4)
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_5 = V_4;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_5, NULL);
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_6 = V_4;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_6, (&V_5), NULL);
|
|
// if (pathReturnQueue.Count == 0) break;
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_7 = __this->___pathReturnQueue_0;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = Queue_1_get_Count_m2CC93F0C5AC0A1436DE84FD36D1D258E2CCDD36B_inline(L_7, Queue_1_get_Count_m2CC93F0C5AC0A1436DE84FD36D1D258E2CCDD36B_RuntimeMethod_var);
|
|
if (L_8)
|
|
{
|
|
goto IL_0041_1;
|
|
}
|
|
}
|
|
{
|
|
// if (pathReturnQueue.Count == 0) break;
|
|
goto IL_0093;
|
|
}
|
|
|
|
IL_0041_1:
|
|
{
|
|
// path = pathReturnQueue.Dequeue();
|
|
Queue_1_tA99543B1B54342301B12F2FDBA144396457227DF* L_9 = __this->___pathReturnQueue_0;
|
|
NullCheck(L_9);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_10;
|
|
L_10 = Queue_1_Dequeue_m5AB4196653F6689A3B3C1B05C5E49AB868891AE4(L_9, Queue_1_Dequeue_m5AB4196653F6689A3B3C1B05C5E49AB868891AE4_RuntimeMethod_var);
|
|
V_3 = L_10;
|
|
// }
|
|
goto IL_005b;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// ((IPathInternals)path).ReturnPath();
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_11 = V_3;
|
|
NullCheck(L_11);
|
|
InterfaceActionInvoker0::Invoke(6 /* System.Void Pathfinding.IPathInternals::ReturnPath() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_11);
|
|
// ((IPathInternals)path).AdvanceState(PathState.Returned);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_12 = V_3;
|
|
NullCheck(L_12);
|
|
InterfaceActionInvoker1< int32_t >::Invoke(3 /* System.Void Pathfinding.IPathInternals::AdvanceState(Pathfinding.PathState) */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, L_12, 4);
|
|
// path.Release(pathsClaimedSilentlyBy, true);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_13 = V_3;
|
|
RuntimeObject* L_14 = __this->___pathsClaimedSilentlyBy_1;
|
|
NullCheck(L_13);
|
|
Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5(L_13, L_14, (bool)1, NULL);
|
|
// counter++;
|
|
int32_t L_15 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
// if (counter > 5 && timeSlice) {
|
|
int32_t L_16 = V_1;
|
|
bool L_17 = ___0_timeSlice;
|
|
if (!((int32_t)(((((int32_t)L_16) > ((int32_t)5))? 1 : 0)&(int32_t)L_17)))
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// counter = 0;
|
|
V_1 = 0;
|
|
// if (System.DateTime.UtcNow.Ticks >= targetTick) {
|
|
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
|
|
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_18;
|
|
L_18 = DateTime_get_UtcNow_m06B6E9995FE16846A0F71EC9DB23E90BE2C5F9FA(NULL);
|
|
V_2 = L_18;
|
|
int64_t L_19;
|
|
L_19 = DateTime_get_Ticks_mC2CF04ED0EAB425C72C2532FFC5743777F3C93A6((&V_2), NULL);
|
|
int64_t L_20 = V_0;
|
|
if ((((int64_t)L_19) < ((int64_t)L_20)))
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
// }
|
|
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 Pathfinding.ThreadControlQueue::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue__ctor_m76CE5F6D19A8CC60CFCDFFA6E0B07130C895E8E4 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, int32_t ___0_numReceivers, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// readonly System.Object lockObj = new System.Object();
|
|
RuntimeObject* L_0 = (RuntimeObject*)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(L_0, NULL);
|
|
__this->___lockObj_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___lockObj_2), (void*)L_0);
|
|
// ManualResetEvent block = new ManualResetEvent(true);
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_1 = (ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158*)il2cpp_codegen_object_new(ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
ManualResetEvent__ctor_m361CFCF6AC28BFFF5C8790DC2B5951791A1C4CEE(L_1, (bool)1, NULL);
|
|
__this->___block_8 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___block_8), (void*)L_1);
|
|
// public ThreadControlQueue (int numReceivers) {
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.numReceivers = numReceivers;
|
|
int32_t L_2 = ___0_numReceivers;
|
|
__this->___numReceivers_3 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.ThreadControlQueue::get_IsEmpty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadControlQueue_get_IsEmpty_m99C266CB45DB5321BB4E38028EEBE68CBC3D1C0A (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return head == null;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = __this->___head_0;
|
|
return (bool)((((RuntimeObject*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.ThreadControlQueue::get_IsTerminating()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadControlQueue_get_IsTerminating_m966601A5E4511BE83AAA3956C2E62461DE571458 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return terminate;
|
|
bool L_0 = __this->___terminate_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::Block()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Block_m8963DA80862DFFED119858687CBE03BED3D1046F (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (lockObj) {
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0026:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// blocked = true;
|
|
__this->___blocked_4 = (bool)1;
|
|
// block.Reset();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_4 = __this->___block_8;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6(L_4, NULL);
|
|
// }
|
|
goto IL_0030;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::Unblock()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Unblock_m6D416ACFD94C94BE53CB1628DF9B26487C9C5D10 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (lockObj) {
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0026:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// blocked = false;
|
|
__this->___blocked_4 = (bool)0;
|
|
// block.Set();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_4 = __this->___block_8;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_4, NULL);
|
|
// }
|
|
goto IL_0030;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::Lock()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Lock_m3D881CB65C3519C68AD56760D73B06CB60066E79 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Monitor.Enter(lockObj);
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
Monitor_Enter_m759A82E6E56E06C313A9AF4679E304E0D58ABB93(L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::Unlock()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Unlock_m7CE7E777AC8681BAC47B59FD11490D4EB569ED66 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Monitor.Exit(lockObj);
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.ThreadControlQueue::get_AllReceiversBlocked()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadControlQueue_get_AllReceiversBlocked_m269C454E9155860FFAC33E715B3D5B9E903BE4DD (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
bool V_2 = false;
|
|
int32_t G_B4_0 = 0;
|
|
{
|
|
// lock (lockObj) {
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_002d:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// return blocked && blockedReceivers == numReceivers;
|
|
bool L_4 = __this->___blocked_4;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0029_1;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = __this->___blockedReceivers_5;
|
|
int32_t L_6 = __this->___numReceivers_3;
|
|
G_B4_0 = ((((int32_t)L_5) == ((int32_t)L_6))? 1 : 0);
|
|
goto IL_002a_1;
|
|
}
|
|
|
|
IL_0029_1:
|
|
{
|
|
G_B4_0 = 0;
|
|
}
|
|
|
|
IL_002a_1:
|
|
{
|
|
V_2 = (bool)G_B4_0;
|
|
goto IL_0037;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// }
|
|
bool L_7 = V_2;
|
|
return L_7;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::PushFront(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_PushFront_m9C6E3BA0316577BC6EB047B4EC19BA2CE031F07B (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (lockObj) {
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0074:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// if (terminate) return;
|
|
bool L_4 = __this->___terminate_7;
|
|
if (!L_4)
|
|
{
|
|
goto IL_001b_1;
|
|
}
|
|
}
|
|
{
|
|
// if (terminate) return;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_001b_1:
|
|
{
|
|
// if (tail == null) {// (tail == null) ==> (head == null)
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = __this->___tail_1;
|
|
if (L_5)
|
|
{
|
|
goto IL_005f_1;
|
|
}
|
|
}
|
|
{
|
|
// head = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_6 = ___0_path;
|
|
__this->___head_0 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___head_0), (void*)L_6);
|
|
// tail = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = ___0_path;
|
|
__this->___tail_1 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tail_1), (void*)L_7);
|
|
// if (starving && !blocked) {
|
|
bool L_8 = __this->___starving_6;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0056_1;
|
|
}
|
|
}
|
|
{
|
|
bool L_9 = __this->___blocked_4;
|
|
if (L_9)
|
|
{
|
|
goto IL_0056_1;
|
|
}
|
|
}
|
|
{
|
|
// starving = false;
|
|
__this->___starving_6 = (bool)0;
|
|
// block.Set();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_10 = __this->___block_8;
|
|
NullCheck(L_10);
|
|
bool L_11;
|
|
L_11 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_10, NULL);
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_0056_1:
|
|
{
|
|
// starving = false;
|
|
__this->___starving_6 = (bool)0;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_005f_1:
|
|
{
|
|
// path.next = head;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_12 = ___0_path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_13 = __this->___head_0;
|
|
NullCheck(L_12);
|
|
L_12->___next_16 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_12->___next_16), (void*)L_13);
|
|
// head = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_14 = ___0_path;
|
|
__this->___head_0 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___head_0), (void*)L_14);
|
|
// }
|
|
goto IL_007e;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::Push(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Push_mCBB4DF9651B49E250129426841A5A54EDFD1FB5E (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (lockObj) {
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0074:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// if (terminate) return;
|
|
bool L_4 = __this->___terminate_7;
|
|
if (!L_4)
|
|
{
|
|
goto IL_001b_1;
|
|
}
|
|
}
|
|
{
|
|
// if (terminate) return;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_001b_1:
|
|
{
|
|
// if (tail == null) {// (tail == null) ==> (head == null)
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = __this->___tail_1;
|
|
if (L_5)
|
|
{
|
|
goto IL_005f_1;
|
|
}
|
|
}
|
|
{
|
|
// head = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_6 = ___0_path;
|
|
__this->___head_0 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___head_0), (void*)L_6);
|
|
// tail = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = ___0_path;
|
|
__this->___tail_1 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tail_1), (void*)L_7);
|
|
// if (starving && !blocked) {
|
|
bool L_8 = __this->___starving_6;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0056_1;
|
|
}
|
|
}
|
|
{
|
|
bool L_9 = __this->___blocked_4;
|
|
if (L_9)
|
|
{
|
|
goto IL_0056_1;
|
|
}
|
|
}
|
|
{
|
|
// starving = false;
|
|
__this->___starving_6 = (bool)0;
|
|
// block.Set();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_10 = __this->___block_8;
|
|
NullCheck(L_10);
|
|
bool L_11;
|
|
L_11 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_10, NULL);
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_0056_1:
|
|
{
|
|
// starving = false;
|
|
__this->___starving_6 = (bool)0;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_005f_1:
|
|
{
|
|
// tail.next = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_12 = __this->___tail_1;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_13 = ___0_path;
|
|
NullCheck(L_12);
|
|
L_12->___next_16 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_12->___next_16), (void*)L_13);
|
|
// tail = path;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_14 = ___0_path;
|
|
__this->___tail_1 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tail_1), (void*)L_14);
|
|
// }
|
|
goto IL_007e;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::Starving()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_Starving_m8CE943DDE1D42DF6CF861E6565C8B5E67AD4FEA5 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// starving = true;
|
|
__this->___starving_6 = (bool)1;
|
|
// block.Reset();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_0 = __this->___block_8;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6(L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::TerminateReceivers()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_TerminateReceivers_mB2BC0ECA57D64842B193DC833849EB61C9A92617 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (lockObj) {
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0026:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// terminate = true;
|
|
__this->___terminate_7 = (bool)1;
|
|
// block.Set();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_4 = __this->___block_8;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_4, NULL);
|
|
// }
|
|
goto IL_0030;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.Path Pathfinding.ThreadControlQueue::Pop()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_0 = NULL;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_1 = NULL;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* G_B15_0 = NULL;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* G_B14_0 = NULL;
|
|
{
|
|
// Monitor.Enter(lockObj);
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
Monitor_Enter_m759A82E6E56E06C313A9AF4679E304E0D58ABB93(L_0, NULL);
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0132:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
// if (Monitor.IsEntered(lockObj)) {
|
|
RuntimeObject* L_1 = __this->___lockObj_2;
|
|
bool L_2;
|
|
L_2 = Monitor_IsEntered_m2B0B0362042E7C55268E3446CD65A2EEEF9E3F4A(L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_014a;
|
|
}
|
|
}
|
|
{
|
|
// Monitor.Exit(lockObj);
|
|
RuntimeObject* L_3 = __this->___lockObj_2;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_3, NULL);
|
|
}
|
|
|
|
IL_014a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// if (terminate) {
|
|
bool L_4 = __this->___terminate_7;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0027_1;
|
|
}
|
|
}
|
|
{
|
|
// blockedReceivers++;
|
|
int32_t L_5 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
// throw new QueueTerminationException();
|
|
QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* L_6 = (QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_6);
|
|
QueueTerminationException__ctor_m5947656F45F3E3F548FAF83B59DC93FE33A502B2(L_6, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0027_1:
|
|
{
|
|
// if (head == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = __this->___head_0;
|
|
if (L_7)
|
|
{
|
|
goto IL_00ea_1;
|
|
}
|
|
}
|
|
{
|
|
// Starving();
|
|
ThreadControlQueue_Starving_m8CE943DDE1D42DF6CF861E6565C8B5E67AD4FEA5(__this, NULL);
|
|
goto IL_00ea_1;
|
|
}
|
|
|
|
IL_003d_1:
|
|
{
|
|
// blockedReceivers++;
|
|
int32_t L_8 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
// if (blockedReceivers > numReceivers) {
|
|
int32_t L_9 = __this->___blockedReceivers_5;
|
|
int32_t L_10 = __this->___numReceivers_3;
|
|
if ((((int32_t)L_9) <= ((int32_t)L_10)))
|
|
{
|
|
goto IL_009e_1;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.InvalidOperationException("More receivers are blocked than specified in constructor ("+blockedReceivers + " > " + numReceivers+")");
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_11 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var)), (uint32_t)5);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_12 = L_11;
|
|
NullCheck(L_12);
|
|
ArrayElementTypeCheck (L_12, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral34F2E9A352EAEC9EFF8283F9F8B497D555185692)));
|
|
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral34F2E9A352EAEC9EFF8283F9F8B497D555185692)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_13 = L_12;
|
|
int32_t* L_14 = (int32_t*)(&__this->___blockedReceivers_5);
|
|
String_t* L_15;
|
|
L_15 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_14, NULL);
|
|
NullCheck(L_13);
|
|
ArrayElementTypeCheck (L_13, L_15);
|
|
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_15);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_16 = L_13;
|
|
NullCheck(L_16);
|
|
ArrayElementTypeCheck (L_16, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657)));
|
|
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_17 = L_16;
|
|
int32_t* L_18 = (int32_t*)(&__this->___numReceivers_3);
|
|
String_t* L_19;
|
|
L_19 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_18, NULL);
|
|
NullCheck(L_17);
|
|
ArrayElementTypeCheck (L_17, L_19);
|
|
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_19);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_20 = L_17;
|
|
NullCheck(L_20);
|
|
ArrayElementTypeCheck (L_20, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
|
|
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
|
|
String_t* L_21;
|
|
L_21 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_20, NULL);
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_22 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_22);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_22, L_21, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_009e_1:
|
|
{
|
|
// Monitor.Exit(lockObj);
|
|
RuntimeObject* L_23 = __this->___lockObj_2;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_23, NULL);
|
|
// block.WaitOne();
|
|
ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_24 = __this->___block_8;
|
|
NullCheck(L_24);
|
|
bool L_25;
|
|
L_25 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_24);
|
|
// Monitor.Enter(lockObj);
|
|
RuntimeObject* L_26 = __this->___lockObj_2;
|
|
Monitor_Enter_m759A82E6E56E06C313A9AF4679E304E0D58ABB93(L_26, NULL);
|
|
// if (terminate) {
|
|
bool L_27 = __this->___terminate_7;
|
|
if (!L_27)
|
|
{
|
|
goto IL_00ce_1;
|
|
}
|
|
}
|
|
{
|
|
// throw new QueueTerminationException();
|
|
QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* L_28 = (QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_28);
|
|
QueueTerminationException__ctor_m5947656F45F3E3F548FAF83B59DC93FE33A502B2(L_28, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadControlQueue_Pop_m1E79416C32F5F20774C81B045E6E569DE8049FA9_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00ce_1:
|
|
{
|
|
// blockedReceivers--;
|
|
int32_t L_29 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_subtract(L_29, 1));
|
|
// if (head == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_30 = __this->___head_0;
|
|
if (L_30)
|
|
{
|
|
goto IL_00ea_1;
|
|
}
|
|
}
|
|
{
|
|
// Starving();
|
|
ThreadControlQueue_Starving_m8CE943DDE1D42DF6CF861E6565C8B5E67AD4FEA5(__this, NULL);
|
|
}
|
|
|
|
IL_00ea_1:
|
|
{
|
|
// while (blocked || starving) {
|
|
bool L_31 = __this->___blocked_4;
|
|
if (L_31)
|
|
{
|
|
goto IL_003d_1;
|
|
}
|
|
}
|
|
{
|
|
bool L_32 = __this->___starving_6;
|
|
if (L_32)
|
|
{
|
|
goto IL_003d_1;
|
|
}
|
|
}
|
|
{
|
|
// Path p = head;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_33 = __this->___head_0;
|
|
// var newHead = head.next;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_34 = __this->___head_0;
|
|
NullCheck(L_34);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_35 = L_34->___next_16;
|
|
V_0 = L_35;
|
|
// if (newHead == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_36 = V_0;
|
|
G_B14_0 = L_33;
|
|
if (L_36)
|
|
{
|
|
G_B15_0 = L_33;
|
|
goto IL_011c_1;
|
|
}
|
|
}
|
|
{
|
|
// tail = null;
|
|
__this->___tail_1 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tail_1), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
G_B15_0 = G_B14_0;
|
|
}
|
|
|
|
IL_011c_1:
|
|
{
|
|
// head.next = null;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_37 = __this->___head_0;
|
|
NullCheck(L_37);
|
|
L_37->___next_16 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_37->___next_16), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
// head = newHead;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_38 = V_0;
|
|
__this->___head_0 = L_38;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___head_0), (void*)L_38);
|
|
// return p;
|
|
V_1 = G_B15_0;
|
|
goto IL_014b;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_014b:
|
|
{
|
|
// }
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_39 = V_1;
|
|
return L_39;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.ThreadControlQueue::ReceiverTerminated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadControlQueue_ReceiverTerminated_m843CD3825CFE806324EA30AC8151C40FC5229209 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Monitor.Enter(lockObj);
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
Monitor_Enter_m759A82E6E56E06C313A9AF4679E304E0D58ABB93(L_0, NULL);
|
|
// blockedReceivers++;
|
|
int32_t L_1 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_add(L_1, 1));
|
|
// Monitor.Exit(lockObj);
|
|
RuntimeObject* L_2 = __this->___lockObj_2;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.Path Pathfinding.ThreadControlQueue::PopNoBlock(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2 (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, bool ___0_blockedBefore, const RuntimeMethod* method)
|
|
{
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_0 = NULL;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_1 = NULL;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* G_B18_0 = NULL;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* G_B17_0 = NULL;
|
|
{
|
|
// Monitor.Enter(lockObj);
|
|
RuntimeObject* L_0 = __this->___lockObj_2;
|
|
Monitor_Enter_m759A82E6E56E06C313A9AF4679E304E0D58ABB93(L_0, NULL);
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_010f:
|
|
{// begin finally (depth: 1)
|
|
// Monitor.Exit(lockObj);
|
|
RuntimeObject* L_1 = __this->___lockObj_2;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_1, NULL);
|
|
// }
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// if (terminate) {
|
|
bool L_2 = __this->___terminate_7;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0027_1;
|
|
}
|
|
}
|
|
{
|
|
// blockedReceivers++;
|
|
int32_t L_3 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_add(L_3, 1));
|
|
// throw new QueueTerminationException();
|
|
QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* L_4 = (QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_4);
|
|
QueueTerminationException__ctor_m5947656F45F3E3F548FAF83B59DC93FE33A502B2(L_4, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0027_1:
|
|
{
|
|
// if (head == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_5 = __this->___head_0;
|
|
if (L_5)
|
|
{
|
|
goto IL_0035_1;
|
|
}
|
|
}
|
|
{
|
|
// Starving();
|
|
ThreadControlQueue_Starving_m8CE943DDE1D42DF6CF861E6565C8B5E67AD4FEA5(__this, NULL);
|
|
}
|
|
|
|
IL_0035_1:
|
|
{
|
|
// if (blocked || starving) {
|
|
bool L_6 = __this->___blocked_4;
|
|
if (L_6)
|
|
{
|
|
goto IL_0048_1;
|
|
}
|
|
}
|
|
{
|
|
bool L_7 = __this->___starving_6;
|
|
if (!L_7)
|
|
{
|
|
goto IL_00cc_1;
|
|
}
|
|
}
|
|
|
|
IL_0048_1:
|
|
{
|
|
// if (!blockedBefore) {
|
|
bool L_8 = ___0_blockedBefore;
|
|
if (L_8)
|
|
{
|
|
goto IL_00c8_1;
|
|
}
|
|
}
|
|
{
|
|
// blockedReceivers++;
|
|
int32_t L_9 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
// if (terminate) throw new QueueTerminationException();
|
|
bool L_10 = __this->___terminate_7;
|
|
if (!L_10)
|
|
{
|
|
goto IL_0067_1;
|
|
}
|
|
}
|
|
{
|
|
// if (terminate) throw new QueueTerminationException();
|
|
QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* L_11 = (QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_11);
|
|
QueueTerminationException__ctor_m5947656F45F3E3F548FAF83B59DC93FE33A502B2(L_11, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0067_1:
|
|
{
|
|
// if (blockedReceivers == numReceivers) {
|
|
int32_t L_12 = __this->___blockedReceivers_5;
|
|
int32_t L_13 = __this->___numReceivers_3;
|
|
if ((((int32_t)L_12) == ((int32_t)L_13)))
|
|
{
|
|
goto IL_00c8_1;
|
|
}
|
|
}
|
|
{
|
|
// } else if (blockedReceivers > numReceivers) {
|
|
int32_t L_14 = __this->___blockedReceivers_5;
|
|
int32_t L_15 = __this->___numReceivers_3;
|
|
if ((((int32_t)L_14) <= ((int32_t)L_15)))
|
|
{
|
|
goto IL_00c8_1;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.InvalidOperationException("More receivers are blocked than specified in constructor ("+blockedReceivers + " > " + numReceivers+")");
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_16 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var)), (uint32_t)5);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_17 = L_16;
|
|
NullCheck(L_17);
|
|
ArrayElementTypeCheck (L_17, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral34F2E9A352EAEC9EFF8283F9F8B497D555185692)));
|
|
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral34F2E9A352EAEC9EFF8283F9F8B497D555185692)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = L_17;
|
|
int32_t* L_19 = (int32_t*)(&__this->___blockedReceivers_5);
|
|
String_t* L_20;
|
|
L_20 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_19, NULL);
|
|
NullCheck(L_18);
|
|
ArrayElementTypeCheck (L_18, L_20);
|
|
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_20);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_21 = L_18;
|
|
NullCheck(L_21);
|
|
ArrayElementTypeCheck (L_21, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657)));
|
|
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_22 = L_21;
|
|
int32_t* L_23 = (int32_t*)(&__this->___numReceivers_3);
|
|
String_t* L_24;
|
|
L_24 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_23, NULL);
|
|
NullCheck(L_22);
|
|
ArrayElementTypeCheck (L_22, L_24);
|
|
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_24);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_25 = L_22;
|
|
NullCheck(L_25);
|
|
ArrayElementTypeCheck (L_25, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
|
|
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
|
|
String_t* L_26;
|
|
L_26 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_25, NULL);
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_27 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_27);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_27, L_26, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_27, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ThreadControlQueue_PopNoBlock_mC52796BEF793CA1D6B171388AF18ECCB635CA5A2_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00c8_1:
|
|
{
|
|
// return null;
|
|
V_1 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
goto IL_011b;
|
|
}
|
|
|
|
IL_00cc_1:
|
|
{
|
|
// if (blockedBefore) {
|
|
bool L_28 = ___0_blockedBefore;
|
|
if (!L_28)
|
|
{
|
|
goto IL_00dd_1;
|
|
}
|
|
}
|
|
{
|
|
// blockedReceivers--;
|
|
int32_t L_29 = __this->___blockedReceivers_5;
|
|
__this->___blockedReceivers_5 = ((int32_t)il2cpp_codegen_subtract(L_29, 1));
|
|
}
|
|
|
|
IL_00dd_1:
|
|
{
|
|
// Path p = head;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_30 = __this->___head_0;
|
|
// var newHead = head.next;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_31 = __this->___head_0;
|
|
NullCheck(L_31);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_32 = L_31->___next_16;
|
|
V_0 = L_32;
|
|
// if (newHead == null) {
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_33 = V_0;
|
|
G_B17_0 = L_30;
|
|
if (L_33)
|
|
{
|
|
G_B18_0 = L_30;
|
|
goto IL_00f9_1;
|
|
}
|
|
}
|
|
{
|
|
// tail = null;
|
|
__this->___tail_1 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tail_1), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
G_B18_0 = G_B17_0;
|
|
}
|
|
|
|
IL_00f9_1:
|
|
{
|
|
// head.next = null;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_34 = __this->___head_0;
|
|
NullCheck(L_34);
|
|
L_34->___next_16 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_34->___next_16), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
// head = newHead;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_35 = V_0;
|
|
__this->___head_0 = L_35;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___head_0), (void*)L_35);
|
|
// return p;
|
|
V_1 = G_B18_0;
|
|
goto IL_011b;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_011b:
|
|
{
|
|
// }
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_36 = V_1;
|
|
return L_36;
|
|
}
|
|
}
|
|
#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 Pathfinding.ThreadControlQueue/QueueTerminationException::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueTerminationException__ctor_m5947656F45F3E3F548FAF83B59DC93FE33A502B2 (QueueTerminationException_tCB47482F1B0163B0F060CCBBD5993142ABF7AC56* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(Exception_t_il2cpp_TypeInfo_var);
|
|
Exception__ctor_m203319D1EA1274689B380A947B4ADC8445662B8F(__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
|
|
// Conversion methods for marshalling of: Pathfinding.AstarWorkItem
|
|
IL2CPP_EXTERN_C void AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshal_pinvoke(const AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469& unmarshaled, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_pinvoke& marshaled)
|
|
{
|
|
marshaled.___init_0 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___init_0));
|
|
marshaled.___initWithContext_1 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___initWithContext_1));
|
|
marshaled.___update_2 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___update_2));
|
|
marshaled.___updateWithContext_3 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___updateWithContext_3));
|
|
}
|
|
IL2CPP_EXTERN_C void AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshal_pinvoke_back(const AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_pinvoke& marshaled, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469& unmarshaled)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
unmarshaled.___init_0 = il2cpp_codegen_marshal_function_ptr_to_delegate<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07>(marshaled.___init_0, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___init_0), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07>(marshaled.___init_0, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var));
|
|
unmarshaled.___initWithContext_1 = il2cpp_codegen_marshal_function_ptr_to_delegate<Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B>(marshaled.___initWithContext_1, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___initWithContext_1), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B>(marshaled.___initWithContext_1, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var));
|
|
unmarshaled.___update_2 = il2cpp_codegen_marshal_function_ptr_to_delegate<Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB>(marshaled.___update_2, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___update_2), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB>(marshaled.___update_2, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var));
|
|
unmarshaled.___updateWithContext_3 = il2cpp_codegen_marshal_function_ptr_to_delegate<Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99>(marshaled.___updateWithContext_3, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___updateWithContext_3), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99>(marshaled.___updateWithContext_3, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var));
|
|
}
|
|
// Conversion method for clean up from marshalling of: Pathfinding.AstarWorkItem
|
|
IL2CPP_EXTERN_C void AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshal_pinvoke_cleanup(AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
// Conversion methods for marshalling of: Pathfinding.AstarWorkItem
|
|
IL2CPP_EXTERN_C void AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshal_com(const AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469& unmarshaled, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_com& marshaled)
|
|
{
|
|
marshaled.___init_0 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___init_0));
|
|
marshaled.___initWithContext_1 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___initWithContext_1));
|
|
marshaled.___update_2 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___update_2));
|
|
marshaled.___updateWithContext_3 = il2cpp_codegen_marshal_delegate(reinterpret_cast<MulticastDelegate_t*>(unmarshaled.___updateWithContext_3));
|
|
}
|
|
IL2CPP_EXTERN_C void AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshal_com_back(const AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_com& marshaled, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469& unmarshaled)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
unmarshaled.___init_0 = il2cpp_codegen_marshal_function_ptr_to_delegate<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07>(marshaled.___init_0, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___init_0), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07>(marshaled.___init_0, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var));
|
|
unmarshaled.___initWithContext_1 = il2cpp_codegen_marshal_function_ptr_to_delegate<Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B>(marshaled.___initWithContext_1, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___initWithContext_1), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B>(marshaled.___initWithContext_1, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B_il2cpp_TypeInfo_var));
|
|
unmarshaled.___update_2 = il2cpp_codegen_marshal_function_ptr_to_delegate<Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB>(marshaled.___update_2, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___update_2), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB>(marshaled.___update_2, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB_il2cpp_TypeInfo_var));
|
|
unmarshaled.___updateWithContext_3 = il2cpp_codegen_marshal_function_ptr_to_delegate<Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99>(marshaled.___updateWithContext_3, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___updateWithContext_3), (void*)il2cpp_codegen_marshal_function_ptr_to_delegate<Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99>(marshaled.___updateWithContext_3, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99_il2cpp_TypeInfo_var));
|
|
}
|
|
// Conversion method for clean up from marshalling of: Pathfinding.AstarWorkItem
|
|
IL2CPP_EXTERN_C void AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshal_com_cleanup(AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Func`2<System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_m80ECD25182BAE190E36A03B3F4580FEEB2712D10 (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___0_update, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.init = null;
|
|
__this->___init_0 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___init_0), (void*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL);
|
|
// this.initWithContext = null;
|
|
__this->___initWithContext_1 = (Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___initWithContext_1), (void*)(Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL);
|
|
// this.updateWithContext = null;
|
|
__this->___updateWithContext_3 = (Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___updateWithContext_3), (void*)(Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99*)NULL);
|
|
// this.update = update;
|
|
Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* L_0 = ___0_update;
|
|
__this->___update_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___update_2), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void AstarWorkItem__ctor_m80ECD25182BAE190E36A03B3F4580FEEB2712D10_AdjustorThunk (RuntimeObject* __this, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___0_update, const RuntimeMethod* method)
|
|
{
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469*>(__this + _offset);
|
|
AstarWorkItem__ctor_m80ECD25182BAE190E36A03B3F4580FEEB2712D10(_thisAdjusted, ___0_update, method);
|
|
}
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_mA9A13FF76A946336BBB4500FA3445DAD5796A5F1 (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___0_update, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.init = null;
|
|
__this->___init_0 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___init_0), (void*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL);
|
|
// this.initWithContext = null;
|
|
__this->___initWithContext_1 = (Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___initWithContext_1), (void*)(Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL);
|
|
// this.updateWithContext = update;
|
|
Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* L_0 = ___0_update;
|
|
__this->___updateWithContext_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___updateWithContext_3), (void*)L_0);
|
|
// this.update = null;
|
|
__this->___update_2 = (Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___update_2), (void*)(Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB*)NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void AstarWorkItem__ctor_mA9A13FF76A946336BBB4500FA3445DAD5796A5F1_AdjustorThunk (RuntimeObject* __this, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___0_update, const RuntimeMethod* method)
|
|
{
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469*>(__this + _offset);
|
|
AstarWorkItem__ctor_mA9A13FF76A946336BBB4500FA3445DAD5796A5F1(_thisAdjusted, ___0_update, method);
|
|
}
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Action,System.Func`2<System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_m3D28340F13DC5ADB7DA7F8D6799BFB8E1193E0EF (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_init, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___1_update, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.init = init;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_0 = ___0_init;
|
|
__this->___init_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___init_0), (void*)L_0);
|
|
// this.initWithContext = null;
|
|
__this->___initWithContext_1 = (Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___initWithContext_1), (void*)(Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL);
|
|
// this.update = update;
|
|
Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* L_1 = ___1_update;
|
|
__this->___update_2 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___update_2), (void*)L_1);
|
|
// this.updateWithContext = null;
|
|
__this->___updateWithContext_3 = (Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___updateWithContext_3), (void*)(Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99*)NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void AstarWorkItem__ctor_m3D28340F13DC5ADB7DA7F8D6799BFB8E1193E0EF_AdjustorThunk (RuntimeObject* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_init, Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* ___1_update, const RuntimeMethod* method)
|
|
{
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469*>(__this + _offset);
|
|
AstarWorkItem__ctor_m3D28340F13DC5ADB7DA7F8D6799BFB8E1193E0EF(_thisAdjusted, ___0_init, ___1_update, method);
|
|
}
|
|
// System.Void Pathfinding.AstarWorkItem::.ctor(System.Action`1<Pathfinding.IWorkItemContext>,System.Func`3<Pathfinding.IWorkItemContext,System.Boolean,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AstarWorkItem__ctor_mECE98A7AF478834B9D18E594D0ADCC01A65C4183 (AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* __this, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* ___0_init, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___1_update, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.init = null;
|
|
__this->___init_0 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___init_0), (void*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL);
|
|
// this.initWithContext = init;
|
|
Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* L_0 = ___0_init;
|
|
__this->___initWithContext_1 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___initWithContext_1), (void*)L_0);
|
|
// this.update = null;
|
|
__this->___update_2 = (Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___update_2), (void*)(Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB*)NULL);
|
|
// this.updateWithContext = update;
|
|
Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* L_1 = ___1_update;
|
|
__this->___updateWithContext_3 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___updateWithContext_3), (void*)L_1);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void AstarWorkItem__ctor_mECE98A7AF478834B9D18E594D0ADCC01A65C4183_AdjustorThunk (RuntimeObject* __this, Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* ___0_init, Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* ___1_update, const RuntimeMethod* method)
|
|
{
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469*>(__this + _offset);
|
|
AstarWorkItem__ctor_mECE98A7AF478834B9D18E594D0ADCC01A65C4183(_thisAdjusted, ___0_init, ___1_update, 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.Boolean Pathfinding.WorkItemProcessor::get_workItemsInProgressRightNow()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_workItemsInProgressRightNow_m60FBD7509CEF87981D9181DFC8D50AFC87ACDE45 (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgressRightNow { get; private set; }
|
|
bool L_0 = __this->___U3CworkItemsInProgressRightNowU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::set_workItemsInProgressRightNow(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35 (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgressRightNow { get; private set; }
|
|
bool L_0 = ___0_value;
|
|
__this->___U3CworkItemsInProgressRightNowU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.WorkItemProcessor::get_anyQueued()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_anyQueued_mC7426515D6AB3ACBBBC25DF194BBD8637D22B439 (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// get { return workItems.Count > 0; }
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_0 = __this->___workItems_2;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_inline(L_0, IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_RuntimeMethod_var);
|
|
return (bool)((((int32_t)L_1) > ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.WorkItemProcessor::get_workItemsInProgress()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_workItemsInProgress_mAE52A544C670C0C6DA7709C73CD6C7F0E3388DC9 (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgress { get; private set; }
|
|
bool L_0 = __this->___U3CworkItemsInProgressU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::set_workItemsInProgress(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_set_workItemsInProgress_m2061576C1F113A0726D7D414AAD2020C68CAAF3C (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgress { get; private set; }
|
|
bool L_0 = ___0_value;
|
|
__this->___U3CworkItemsInProgressU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::Pathfinding.IWorkItemContext.QueueFloodFill()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_Pathfinding_IWorkItemContext_QueueFloodFill_m08636DD313CDE9E1C96D59560B135825F115C4BF (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// queuedWorkItemFloodFill = true;
|
|
__this->___queuedWorkItemFloodFill_3 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::Pathfinding.IWorkItemContext.SetGraphDirty(Pathfinding.NavGraph)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_Pathfinding_IWorkItemContext_SetGraphDirty_mD27A771BCC7AAE494FAAB268BFB8C5C99681E22B (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* ___0_graph, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// anyGraphsDirty = true;
|
|
__this->___anyGraphsDirty_4 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::EnsureValidFloodFill()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_EnsureValidFloodFill_m891B9D7CC280F560B1B97118096C5505943F759E (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (queuedWorkItemFloodFill) {
|
|
bool L_0 = __this->___queuedWorkItemFloodFill_3;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// astar.hierarchicalGraph.RecalculateAll();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_1 = __this->___astar_1;
|
|
NullCheck(L_1);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_2 = L_1->___hierarchicalGraph_50;
|
|
NullCheck(L_2);
|
|
HierarchicalGraph_RecalculateAll_mC4C447C2915F1F5FA06CAEE6B07CFFB0F4171FF5(L_2, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// astar.hierarchicalGraph.RecalculateIfNecessary();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_3 = __this->___astar_1;
|
|
NullCheck(L_3);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_4 = L_3->___hierarchicalGraph_50;
|
|
NullCheck(L_4);
|
|
HierarchicalGraph_RecalculateIfNecessary_mE8FA1B677D429C912DD8CC13E7C574C75E237876(L_4, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor__ctor_mA5FFB2611E46B546AC0E7BEC2AF9B2C1F1E07EFF (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// readonly IndexedQueue<AstarWorkItem> workItems = new IndexedQueue<AstarWorkItem>();
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_0 = (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12*)il2cpp_codegen_object_new(IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C(L_0, IndexedQueue_1__ctor_mDCE3EB9E592DBA3E36D81650C9A112DCE77A950C_RuntimeMethod_var);
|
|
__this->___workItems_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___workItems_2), (void*)L_0);
|
|
// bool anyGraphsDirty = true;
|
|
__this->___anyGraphsDirty_4 = (bool)1;
|
|
// public WorkItemProcessor (AstarPath astar) {
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.astar = astar;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_1 = ___0_astar;
|
|
__this->___astar_1 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___astar_1), (void*)L_1);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::OnFloodFill()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_OnFloodFill_mE7B7FE3B231C99D711A95F8FE2B3C6743EFC8C27 (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// queuedWorkItemFloodFill = false;
|
|
__this->___queuedWorkItemFloodFill_3 = (bool)0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.WorkItemProcessor::AddWorkItem(Pathfinding.AstarWorkItem)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkItemProcessor_AddWorkItem_mDCC92BD549244780274132E4AD3A65B7FD00DADC (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// workItems.Enqueue(item);
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_0 = __this->___workItems_2;
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_1 = ___0_item;
|
|
NullCheck(L_0);
|
|
IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212(L_0, L_1, IndexedQueue_1_Enqueue_m8A4C87DC3F3C6584ED8AA304FE9C8102BA27B212_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.WorkItemProcessor::ProcessWorkItems(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkItemProcessor_ProcessWorkItems_mE9C873F8DB275A7ED7D3E3B608A2AE0061A4560F (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_force, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphModifier_t14378BD19E61F907DE1F9D4E93C20C1F5FB2A54C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral986A1498F3A9FE5104B5E957FD1F853FAD39CAAE);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
bool V_1 = false;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
{
|
|
// if (workItemsInProgressRightNow) throw new System.Exception("Processing work items recursively. Please do not wait for other work items to be completed inside work items. " +
|
|
bool L_0;
|
|
L_0 = WorkItemProcessor_get_workItemsInProgressRightNow_m60FBD7509CEF87981D9181DFC8D50AFC87ACDE45_inline(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (workItemsInProgressRightNow) throw new System.Exception("Processing work items recursively. Please do not wait for other work items to be completed inside work items. " +
|
|
// "If you think this is not caused by any of your scripts, this might be a bug.");
|
|
Exception_t* L_1 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB9101CC8D03D9A73C119B071072E5AB9857E1BC3)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&WorkItemProcessor_ProcessWorkItems_mE9C873F8DB275A7ED7D3E3B608A2AE0061A4560F_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// UnityEngine.Physics2D.SyncTransforms();
|
|
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
|
|
Physics2D_SyncTransforms_mF936634793253A203EF6632454731E44509256D8(NULL);
|
|
// workItemsInProgressRightNow = true;
|
|
WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35_inline(__this, (bool)1, NULL);
|
|
// astar.data.LockGraphStructure(true);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_2 = __this->___astar_1;
|
|
NullCheck(L_2);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_3 = L_2->___data_8;
|
|
NullCheck(L_3);
|
|
AstarData_LockGraphStructure_mBE798D94E20933A51206614C49FB0B3D8D749AFB(L_3, (bool)1, NULL);
|
|
goto IL_012a;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// if (!workItemsInProgress) {
|
|
bool L_4;
|
|
L_4 = WorkItemProcessor_get_workItemsInProgress_mAE52A544C670C0C6DA7709C73CD6C7F0E3388DC9_inline(__this, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_004b;
|
|
}
|
|
}
|
|
{
|
|
// workItemsInProgress = true;
|
|
WorkItemProcessor_set_workItemsInProgress_m2061576C1F113A0726D7D414AAD2020C68CAAF3C_inline(__this, (bool)1, NULL);
|
|
// queuedWorkItemFloodFill = false;
|
|
__this->___queuedWorkItemFloodFill_3 = (bool)0;
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// AstarWorkItem itm = workItems[0];
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_5 = __this->___workItems_2;
|
|
NullCheck(L_5);
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_6;
|
|
L_6 = IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1(L_5, 0, IndexedQueue_1_get_Item_m7C77C254D3FCC4B24264FECE8CC7B2B8DBBDC0E1_RuntimeMethod_var);
|
|
V_0 = L_6;
|
|
}
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// if (itm.init != null) {
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_7 = V_0;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_8 = L_7.___init_0;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0073_1;
|
|
}
|
|
}
|
|
{
|
|
// itm.init();
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_9 = V_0;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_10 = L_9.___init_0;
|
|
NullCheck(L_10);
|
|
Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline(L_10, NULL);
|
|
// itm.init = null;
|
|
(&V_0)->___init_0 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___init_0), (void*)(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)NULL);
|
|
}
|
|
|
|
IL_0073_1:
|
|
{
|
|
// if (itm.initWithContext != null) {
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_11 = V_0;
|
|
Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* L_12 = L_11.___initWithContext_1;
|
|
if (!L_12)
|
|
{
|
|
goto IL_008f_1;
|
|
}
|
|
}
|
|
{
|
|
// itm.initWithContext(this);
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_13 = V_0;
|
|
Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B* L_14 = L_13.___initWithContext_1;
|
|
NullCheck(L_14);
|
|
Action_1_Invoke_mD4695616630A0B7A630B78F757EE0F861C9F257D_inline(L_14, __this, NULL);
|
|
// itm.initWithContext = null;
|
|
(&V_0)->___initWithContext_1 = (Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_0)->___initWithContext_1), (void*)(Action_1_t6E7CED3B93C2E2B39BE498268E43C23662250E1B*)NULL);
|
|
}
|
|
|
|
IL_008f_1:
|
|
{
|
|
// workItems[0] = itm;
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_15 = __this->___workItems_2;
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_16 = V_0;
|
|
NullCheck(L_15);
|
|
IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7(L_15, 0, L_16, IndexedQueue_1_set_Item_mE86E34E7065D1F9EDDC75DEB3A905286868132D7_RuntimeMethod_var);
|
|
// if (itm.update != null) {
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_17 = V_0;
|
|
Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* L_18 = L_17.___update_2;
|
|
if (!L_18)
|
|
{
|
|
goto IL_00b3_1;
|
|
}
|
|
}
|
|
{
|
|
// status = itm.update(force);
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_19 = V_0;
|
|
Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* L_20 = L_19.___update_2;
|
|
bool L_21 = ___0_force;
|
|
NullCheck(L_20);
|
|
bool L_22;
|
|
L_22 = Func_2_Invoke_m186F4854CBE22B314553D85B8EAC73C995FF64E4_inline(L_20, L_21, NULL);
|
|
V_1 = L_22;
|
|
goto IL_00cd_1;
|
|
}
|
|
|
|
IL_00b3_1:
|
|
{
|
|
// } else if (itm.updateWithContext != null) {
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_23 = V_0;
|
|
Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* L_24 = L_23.___updateWithContext_3;
|
|
if (!L_24)
|
|
{
|
|
goto IL_00cb_1;
|
|
}
|
|
}
|
|
{
|
|
// status = itm.updateWithContext(this, force);
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_25 = V_0;
|
|
Func_3_tDF24D10F626EAE8311BFB477AA885DA642E66D99* L_26 = L_25.___updateWithContext_3;
|
|
bool L_27 = ___0_force;
|
|
NullCheck(L_26);
|
|
bool L_28;
|
|
L_28 = Func_3_Invoke_m5694323AFF4139CEB1379C15FB0602AEA8F4B5C9_inline(L_26, __this, L_27, NULL);
|
|
V_1 = L_28;
|
|
goto IL_00cd_1;
|
|
}
|
|
|
|
IL_00cb_1:
|
|
{
|
|
// status = true;
|
|
V_1 = (bool)1;
|
|
}
|
|
|
|
IL_00cd_1:
|
|
{
|
|
// } catch {
|
|
goto IL_00f5;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_00cf;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_00cf:
|
|
{// begin catch(System.Object)
|
|
RuntimeObject* L_29 = ((RuntimeObject*)IL2CPP_GET_ACTIVE_EXCEPTION(RuntimeObject*));;
|
|
// } catch {
|
|
// workItems.Dequeue();
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_30 = __this->___workItems_2;
|
|
NullCheck(L_30);
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_31;
|
|
L_31 = IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C(L_30, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C_RuntimeMethod_var)));
|
|
// workItemsInProgressRightNow = false;
|
|
WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35_inline(__this, (bool)0, NULL);
|
|
// astar.data.UnlockGraphStructure();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_32 = __this->___astar_1;
|
|
NullCheck(L_32);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_33 = L_32->___data_8;
|
|
NullCheck(L_33);
|
|
AstarData_UnlockGraphStructure_mF922B95D3B2C44F675D0F772FC07D06EC7BA5D2A(L_33, NULL);
|
|
// throw;
|
|
IL2CPP_RETHROW_MANAGED_EXCEPTION(IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*));
|
|
}// end catch (depth: 1)
|
|
|
|
IL_00f5:
|
|
{
|
|
// if (!status) {
|
|
bool L_34 = V_1;
|
|
if (L_34)
|
|
{
|
|
goto IL_011e;
|
|
}
|
|
}
|
|
{
|
|
// if (force) {
|
|
bool L_35 = ___0_force;
|
|
if (!L_35)
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Misbehaving WorkItem. 'force'=true but the work item did not complete.\nIf force=true is passed to a WorkItem it should always return true.");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral986A1498F3A9FE5104B5E957FD1F853FAD39CAAE, NULL);
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// workItemsInProgressRightNow = false;
|
|
WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35_inline(__this, (bool)0, NULL);
|
|
// astar.data.UnlockGraphStructure();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_36 = __this->___astar_1;
|
|
NullCheck(L_36);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_37 = L_36->___data_8;
|
|
NullCheck(L_37);
|
|
AstarData_UnlockGraphStructure_mF922B95D3B2C44F675D0F772FC07D06EC7BA5D2A(L_37, NULL);
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_011e:
|
|
{
|
|
// workItems.Dequeue();
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_38 = __this->___workItems_2;
|
|
NullCheck(L_38);
|
|
AstarWorkItem_t3A55391DE40F0A9B744EFE499AF41DAABB4B5469 L_39;
|
|
L_39 = IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C(L_38, IndexedQueue_1_Dequeue_mA3F468D1961F859AC4FF8BEF155BA1C262E76A8C_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_012a:
|
|
{
|
|
// while (workItems.Count > 0) {
|
|
IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* L_40 = __this->___workItems_2;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_inline(L_40, IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_RuntimeMethod_var);
|
|
if ((((int32_t)L_41) > ((int32_t)0)))
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// EnsureValidFloodFill();
|
|
WorkItemProcessor_EnsureValidFloodFill_m891B9D7CC280F560B1B97118096C5505943F759E(__this, NULL);
|
|
// if (anyGraphsDirty) GraphModifier.TriggerEvent(GraphModifier.EventType.PostUpdate);
|
|
bool L_42 = __this->___anyGraphsDirty_4;
|
|
if (!L_42)
|
|
{
|
|
goto IL_0150;
|
|
}
|
|
}
|
|
{
|
|
// if (anyGraphsDirty) GraphModifier.TriggerEvent(GraphModifier.EventType.PostUpdate);
|
|
il2cpp_codegen_runtime_class_init_inline(GraphModifier_t14378BD19E61F907DE1F9D4E93C20C1F5FB2A54C_il2cpp_TypeInfo_var);
|
|
GraphModifier_TriggerEvent_mE3187A21AD5747B3B8A9DCF1360FA3B621C7414A(((int32_t)16), NULL);
|
|
}
|
|
|
|
IL_0150:
|
|
{
|
|
// anyGraphsDirty = false;
|
|
__this->___anyGraphsDirty_4 = (bool)0;
|
|
// workItemsInProgressRightNow = false;
|
|
WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35_inline(__this, (bool)0, NULL);
|
|
// workItemsInProgress = false;
|
|
WorkItemProcessor_set_workItemsInProgress_m2061576C1F113A0726D7D414AAD2020C68CAAF3C_inline(__this, (bool)0, NULL);
|
|
// astar.data.UnlockGraphStructure();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_43 = __this->___astar_1;
|
|
NullCheck(L_43);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_44 = L_43->___data_8;
|
|
NullCheck(L_44);
|
|
AstarData_UnlockGraphStructure_mF922B95D3B2C44F675D0F772FC07D06EC7BA5D2A(L_44, NULL);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// Conversion methods for marshalling of: Pathfinding.Connection
|
|
IL2CPP_EXTERN_C void Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshal_pinvoke(const Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0& unmarshaled, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_pinvoke& marshaled)
|
|
{
|
|
Exception_t* ___node_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'node' of type 'Connection': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___node_0Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshal_pinvoke_back(const Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_pinvoke& marshaled, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0& unmarshaled)
|
|
{
|
|
Exception_t* ___node_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'node' of type 'Connection': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___node_0Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: Pathfinding.Connection
|
|
IL2CPP_EXTERN_C void Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshal_pinvoke_cleanup(Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
// Conversion methods for marshalling of: Pathfinding.Connection
|
|
IL2CPP_EXTERN_C void Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshal_com(const Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0& unmarshaled, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_com& marshaled)
|
|
{
|
|
Exception_t* ___node_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'node' of type 'Connection': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___node_0Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshal_com_back(const Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_com& marshaled, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0& unmarshaled)
|
|
{
|
|
Exception_t* ___node_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'node' of type 'Connection': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___node_0Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: Pathfinding.Connection
|
|
IL2CPP_EXTERN_C void Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshal_com_cleanup(Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
// System.Void Pathfinding.Connection::.ctor(Pathfinding.GraphNode,System.UInt32,System.Byte)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, uint8_t ___2_shapeEdge, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.node = node;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
__this->___node_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___node_0), (void*)L_0);
|
|
// this.cost = cost;
|
|
uint32_t L_1 = ___1_cost;
|
|
__this->___cost_1 = L_1;
|
|
// this.shapeEdge = shapeEdge;
|
|
uint8_t L_2 = ___2_shapeEdge;
|
|
__this->___shapeEdge_2 = L_2;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2_AdjustorThunk (RuntimeObject* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, uint8_t ___2_shapeEdge, const RuntimeMethod* method)
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0*>(__this + _offset);
|
|
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2(_thisAdjusted, ___0_node, ___1_cost, ___2_shapeEdge, method);
|
|
}
|
|
// System.Int32 Pathfinding.Connection::GetHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return node.GetHashCode() ^ (int)cost;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = __this->___node_0;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = VirtualFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0);
|
|
uint32_t L_2 = __this->___cost_1;
|
|
return ((int32_t)(L_1^(int32_t)L_2));
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean Pathfinding.Connection::Equals(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Connection_Equals_m0B5A487BB2AB4F6914AD87DA3D591528704EA702 (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (obj == null) return false;
|
|
RuntimeObject* L_0 = ___0_obj;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// if (obj == null) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// var conn = (Connection)obj;
|
|
RuntimeObject* L_1 = ___0_obj;
|
|
V_0 = ((*(Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0*)((Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0*)(Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0*)UnBox(L_1, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_il2cpp_TypeInfo_var))));
|
|
// return conn.node == node && conn.cost == cost && conn.shapeEdge == shapeEdge;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_2 = V_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = L_2.___node_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = __this->___node_0;
|
|
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_5 = V_0;
|
|
uint32_t L_6 = L_5.___cost_1;
|
|
uint32_t L_7 = __this->___cost_1;
|
|
if ((!(((uint32_t)L_6) == ((uint32_t)L_7))))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_8 = V_0;
|
|
uint8_t L_9 = L_8.___shapeEdge_2;
|
|
uint8_t L_10 = __this->___shapeEdge_2;
|
|
return (bool)((((int32_t)L_9) == ((int32_t)L_10))? 1 : 0);
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool Connection_Equals_m0B5A487BB2AB4F6914AD87DA3D591528704EA702_AdjustorThunk (RuntimeObject* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = Connection_Equals_m0B5A487BB2AB4F6914AD87DA3D591528704EA702(_thisAdjusted, ___0_obj, 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
|
|
// Pathfinding.NavGraph Pathfinding.GraphNode::get_Graph()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* GraphNode_get_Graph_mB23268E38AA50142FEE9276D0F2C11146E4A50AE (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Destroyed ? null : AstarData.GetGraph(this);
|
|
bool L_0;
|
|
L_0 = GraphNode_get_Destroyed_m6BE532323FF36C53B8B56D60495A1B0576F9C423(__this, NULL);
|
|
if (L_0)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_1;
|
|
L_1 = AstarData_GetGraph_m277003679707540B49B5ADCDE494AA6492F3450F(__this, NULL);
|
|
return L_1;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
return (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)NULL;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// protected GraphNode (AstarPath astar) {
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// if (!System.Object.ReferenceEquals(astar, null)) {
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ___0_astar;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// this.nodeIndex = astar.GetNewNodeIndex();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_1 = ___0_astar;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = AstarPath_GetNewNodeIndex_m639304DD9DEB7B2FABBF4A6C8F1164A48F7E534F(L_1, NULL);
|
|
__this->___nodeIndex_0 = L_2;
|
|
// astar.InitializeNode(this);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_3 = ___0_astar;
|
|
NullCheck(L_3);
|
|
AstarPath_InitializeNode_m6F3829E454531076C1E614E3BD343D3E77B385CD(L_3, __this, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// throw new System.Exception("No active AstarPath object to bind to");
|
|
Exception_t* L_4 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_4);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral79A6F5108EC9F0F08A45FCE8C438693A19C09D9D)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::Destroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_Destroy_mDA77B05D323D3821AAE1CB7DE44F9DD48823C41D (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (Destroyed) return;
|
|
bool L_0;
|
|
L_0 = GraphNode_get_Destroyed_m6BE532323FF36C53B8B56D60495A1B0576F9C423(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (Destroyed) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// ClearConnections(true);
|
|
VirtualActionInvoker1< bool >::Invoke(8 /* System.Void Pathfinding.GraphNode::ClearConnections(System.Boolean) */, __this, (bool)1);
|
|
// if (AstarPath.active != null) {
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_1 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// AstarPath.active.DestroyNode(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_3 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_3);
|
|
AstarPath_DestroyNode_mDFB2B0EE80E4A2B375DA63614F8A146E80CB0B95(L_3, __this, NULL);
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// NodeIndex = DestroyedNodeIndex;
|
|
GraphNode_set_NodeIndex_m67711B4DDE1E6351C0C139EE9E0B9725DD053EAC(__this, ((int32_t)268435454), NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::get_Destroyed()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_Destroyed_m6BE532323FF36C53B8B56D60495A1B0576F9C423 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return NodeIndex == DestroyedNodeIndex;
|
|
int32_t L_0;
|
|
L_0 = GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532(__this, NULL);
|
|
return (bool)((((int32_t)L_0) == ((int32_t)((int32_t)268435454)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GraphNode::get_NodeIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int NodeIndex { get { return nodeIndex & NodeIndexMask; } private set { nodeIndex = (nodeIndex & ~NodeIndexMask) | value; } }
|
|
int32_t L_0 = __this->___nodeIndex_0;
|
|
return ((int32_t)(L_0&((int32_t)268435455)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_NodeIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_NodeIndex_m67711B4DDE1E6351C0C139EE9E0B9725DD053EAC (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int NodeIndex { get { return nodeIndex & NodeIndexMask; } private set { nodeIndex = (nodeIndex & ~NodeIndexMask) | value; } }
|
|
int32_t L_0 = __this->___nodeIndex_0;
|
|
int32_t L_1 = ___0_value;
|
|
__this->___nodeIndex_0 = ((int32_t)(((int32_t)(L_0&((int32_t)-268435456)))|L_1));
|
|
// public int NodeIndex { get { return nodeIndex & NodeIndexMask; } private set { nodeIndex = (nodeIndex & ~NodeIndexMask) | value; } }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::get_TemporaryFlag1()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_TemporaryFlag1_m291417336DCCA22A7DED7A2CB298156D2092CD26 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal bool TemporaryFlag1 { get { return (nodeIndex & TemporaryFlag1Mask) != 0; } set { nodeIndex = (nodeIndex & ~TemporaryFlag1Mask) | (value ? TemporaryFlag1Mask : 0); } }
|
|
int32_t L_0 = __this->___nodeIndex_0;
|
|
return (bool)((!(((uint32_t)((int32_t)(L_0&((int32_t)268435456)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_TemporaryFlag1(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_TemporaryFlag1_m49B9FE36353FF71A77F4342745A17C2986EB6387 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
int32_t G_B2_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B2_1 = NULL;
|
|
int32_t G_B1_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B1_1 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
int32_t G_B3_1 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B3_2 = NULL;
|
|
{
|
|
// internal bool TemporaryFlag1 { get { return (nodeIndex & TemporaryFlag1Mask) != 0; } set { nodeIndex = (nodeIndex & ~TemporaryFlag1Mask) | (value ? TemporaryFlag1Mask : 0); } }
|
|
int32_t L_0 = __this->___nodeIndex_0;
|
|
bool L_1 = ___0_value;
|
|
G_B1_0 = ((int32_t)(L_0&((int32_t)-268435457)));
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = ((int32_t)(L_0&((int32_t)-268435457)));
|
|
G_B2_1 = __this;
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0018;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
G_B3_0 = ((int32_t)268435456);
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___nodeIndex_0 = ((int32_t)(G_B3_1|G_B3_0));
|
|
// internal bool TemporaryFlag1 { get { return (nodeIndex & TemporaryFlag1Mask) != 0; } set { nodeIndex = (nodeIndex & ~TemporaryFlag1Mask) | (value ? TemporaryFlag1Mask : 0); } }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::get_TemporaryFlag2()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_TemporaryFlag2_mD932726CEA12AB522BA0829CC1D8364051556149 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal bool TemporaryFlag2 { get { return (nodeIndex & TemporaryFlag2Mask) != 0; } set { nodeIndex = (nodeIndex & ~TemporaryFlag2Mask) | (value ? TemporaryFlag2Mask : 0); } }
|
|
int32_t L_0 = __this->___nodeIndex_0;
|
|
return (bool)((!(((uint32_t)((int32_t)(L_0&((int32_t)536870912)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_TemporaryFlag2(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_TemporaryFlag2_m0BC5863C24CFE1AA72D1B730CCC3283456EDBC09 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
int32_t G_B2_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B2_1 = NULL;
|
|
int32_t G_B1_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B1_1 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
int32_t G_B3_1 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B3_2 = NULL;
|
|
{
|
|
// internal bool TemporaryFlag2 { get { return (nodeIndex & TemporaryFlag2Mask) != 0; } set { nodeIndex = (nodeIndex & ~TemporaryFlag2Mask) | (value ? TemporaryFlag2Mask : 0); } }
|
|
int32_t L_0 = __this->___nodeIndex_0;
|
|
bool L_1 = ___0_value;
|
|
G_B1_0 = ((int32_t)(L_0&((int32_t)-536870913)));
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = ((int32_t)(L_0&((int32_t)-536870913)));
|
|
G_B2_1 = __this;
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0018;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
G_B3_0 = ((int32_t)536870912);
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___nodeIndex_0 = ((int32_t)(G_B3_1|G_B3_0));
|
|
// internal bool TemporaryFlag2 { get { return (nodeIndex & TemporaryFlag2Mask) != 0; } set { nodeIndex = (nodeIndex & ~TemporaryFlag2Mask) | (value ? TemporaryFlag2Mask : 0); } }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.GraphNode::get_Flags()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Flags_m3C230B3005D139D8B4D575E8D35E43967837B4B1 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return flags;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_Flags(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Flags_mA3BFC8E434A7ECA94058A1BBD5204586A82E245E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = value;
|
|
uint32_t L_0 = ___0_value;
|
|
__this->___flags_1 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.GraphNode::get_Penalty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return penalty;
|
|
uint32_t L_0 = __this->___penalty_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_Penalty(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral908C6A7F463C186E813055AF48B8B1527B7ED5FC);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (value > 0xFFFFFF)
|
|
uint32_t L_0 = ___0_value;
|
|
if ((!(((uint32_t)L_0) > ((uint32_t)((int32_t)16777215)))))
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogWarning("Very high penalty applied. Are you sure negative values haven't underflowed?\n" +
|
|
// "Penalty values this high could with long paths cause overflows and in some cases infinity loops because of that.\n" +
|
|
// "Penalty value applied: "+value);
|
|
String_t* L_1;
|
|
L_1 = UInt32_ToString_mB6FA6D2459C82ADCF285C55363491D9669A80154((&___0_value), NULL);
|
|
String_t* L_2;
|
|
L_2 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral908C6A7F463C186E813055AF48B8B1527B7ED5FC, L_1, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(L_2, NULL);
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// penalty = value;
|
|
uint32_t L_3 = ___0_value;
|
|
__this->___penalty_2 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::get_Walkable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flags & FlagsWalkableMask) != 0;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&1))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_Walkable(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
uint32_t G_B2_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B2_1 = NULL;
|
|
uint32_t G_B1_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B1_1 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
uint32_t G_B3_1 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B3_2 = NULL;
|
|
{
|
|
// flags = flags & ~FlagsWalkableMask | (value ? 1U : 0U) << FlagsWalkableOffset;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
bool L_1 = ___0_value;
|
|
G_B1_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-2)))));
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-2)))));
|
|
G_B2_1 = __this;
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0011;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___flags_1 = ((int32_t)((int32_t)G_B3_1|G_B3_0));
|
|
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_2 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_2);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_3 = L_2->___hierarchicalGraph_50;
|
|
NullCheck(L_3);
|
|
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_3, __this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GraphNode::get_HierarchicalNodeIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_get_HierarchicalNodeIndex_mDA5F72F73692892E6A1AB01877463381A0391D56 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (int)((flags & HierarchicalIndexMask) >> FlagsHierarchicalIndexOffset);
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return ((int32_t)((uint32_t)((int32_t)((int32_t)L_0&((int32_t)262142)))>>1));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_HierarchicalNodeIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_HierarchicalNodeIndex_mA2E26494D068C19E65D75A14F1263E2345334F02 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = (flags & ~HierarchicalIndexMask) | (uint)(value << FlagsHierarchicalIndexOffset);
|
|
uint32_t L_0 = __this->___flags_1;
|
|
int32_t L_1 = ___0_value;
|
|
__this->___flags_1 = ((int32_t)(((int32_t)((int32_t)L_0&((int32_t)-262143)))|((int32_t)(L_1<<1))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::get_IsHierarchicalNodeDirty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_get_IsHierarchicalNodeDirty_m719B212B4EA163EE1DFED96E7BCEF2555C551DA8 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flags & HierarchicalDirtyMask) != 0;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&((int32_t)262144)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_IsHierarchicalNodeDirty(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_IsHierarchicalNodeDirty_mA9AAB9D2771A905DD1F802F19381CF42CC6CAE7D (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
uint32_t G_B2_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B2_1 = NULL;
|
|
uint32_t G_B1_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B1_1 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
uint32_t G_B3_1 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B3_2 = NULL;
|
|
{
|
|
// flags = flags & ~HierarchicalDirtyMask | (value ? 1U : 0U) << HierarchicalDirtyOffset;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
bool L_1 = ___0_value;
|
|
G_B1_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-262145)))));
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-262145)))));
|
|
G_B2_1 = __this;
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0014;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
G_B3_0 = 1;
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___flags_1 = ((int32_t)((int32_t)G_B3_1|((int32_t)(G_B3_0<<((int32_t)18)))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.GraphNode::get_Area()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Area_m5696D85F0AAF24AEE54DB0FDF83FFC2C83704339 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return AstarPath.active.hierarchicalGraph.GetConnectedComponent(HierarchicalNodeIndex);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_0);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_1 = L_0->___hierarchicalGraph_50;
|
|
int32_t L_2;
|
|
L_2 = GraphNode_get_HierarchicalNodeIndex_mDA5F72F73692892E6A1AB01877463381A0391D56(__this, NULL);
|
|
NullCheck(L_1);
|
|
uint32_t L_3;
|
|
L_3 = HierarchicalGraph_GetConnectedComponent_mB8A909F8D19752DA94E09CC2F3B846AA07A49F2E(L_1, L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.GraphNode::get_GraphIndex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flags & FlagsGraphMask) >> FlagsGraphOffset;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return ((int32_t)((uint32_t)((int32_t)((int32_t)L_0&((int32_t)-16777216)))>>((int32_t)24)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_GraphIndex(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_GraphIndex_m9B2794336E89B1606DDA06CE9042A64BC06BCCEF (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = flags & ~FlagsGraphMask | value << FlagsGraphOffset;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
uint32_t L_1 = ___0_value;
|
|
__this->___flags_1 = ((int32_t)(((int32_t)((int32_t)L_0&((int32_t)16777215)))|((int32_t)((int32_t)L_1<<((int32_t)24)))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.GraphNode::get_Tag()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flags & FlagsTagMask) >> FlagsTagOffset;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return ((int32_t)((uint32_t)((int32_t)((int32_t)L_0&((int32_t)16252928)))>>((int32_t)19)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::set_Tag(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = flags & ~FlagsTagMask | ((value << FlagsTagOffset) & FlagsTagMask);
|
|
uint32_t L_0 = __this->___flags_1;
|
|
uint32_t L_1 = ___0_value;
|
|
__this->___flags_1 = ((int32_t)(((int32_t)((int32_t)L_0&((int32_t)-16252929)))|((int32_t)(((int32_t)((int32_t)L_1<<((int32_t)19)))&((int32_t)16252928)))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::SetConnectivityDirty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_SetConnectivityDirty_m1B823A693BA88849DB202D906E6DD5646D83E86E (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_0);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_1 = L_0->___hierarchicalGraph_50;
|
|
NullCheck(L_1);
|
|
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_1, __this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::RecalculateConnectionCosts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_RecalculateConnectionCosts_mE9BF028AB1E148AD373B19A101F99B8E70F51848 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_UpdateRecursiveG_m29F7399EF7EA34BA3AE932F962FEBDD03058407A (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass60_0_U3CUpdateRecursiveGU3Eb__0_m1A6AC12FF3FE4F87C35ABA8CB5DC4BE6AE6D26DB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_0 = (U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass60_0__ctor_m28FE7B59344928FCDAEAD87098B7F5EF73E52BB3(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_1 = V_0;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_2 = ___2_handler;
|
|
NullCheck(L_1);
|
|
L_1->___handler_0 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___handler_0), (void*)L_2);
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_3 = V_0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = ___1_pathNode;
|
|
NullCheck(L_3);
|
|
L_3->___pathNode_1 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___pathNode_1), (void*)L_4);
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_5 = V_0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_6 = ___0_path;
|
|
NullCheck(L_5);
|
|
L_5->___path_2 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_5->___path_2), (void*)L_6);
|
|
// pathNode.UpdateG(path);
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_7 = V_0;
|
|
NullCheck(L_7);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_8 = L_7->___pathNode_1;
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_10 = L_9->___path_2;
|
|
NullCheck(L_8);
|
|
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_8, L_10, NULL);
|
|
// handler.heap.Add(pathNode);
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_12 = L_11->___handler_0;
|
|
NullCheck(L_12);
|
|
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_13 = L_12->___heap_3;
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_14 = V_0;
|
|
NullCheck(L_14);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_15 = L_14->___pathNode_1;
|
|
NullCheck(L_13);
|
|
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_13, L_15, NULL);
|
|
// GetConnections((GraphNode other) => {
|
|
// PathNode otherPN = handler.GetPathNode(other);
|
|
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) other.UpdateRecursiveG(path, otherPN, handler);
|
|
// });
|
|
U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* L_16 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_17 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_17);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_17, L_16, (intptr_t)((void*)U3CU3Ec__DisplayClass60_0_U3CUpdateRecursiveGU3Eb__0_m1A6AC12FF3FE4F87C35ABA8CB5DC4BE6AE6D26DB_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(5 /* System.Void Pathfinding.GraphNode::GetConnections(System.Action`1<Pathfinding.GraphNode>) */, __this, L_17);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::ContainsConnection(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_ContainsConnection_m852720DA2F5101851274EA0E5EF978F1AD5978EE (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass65_0_U3CContainsConnectionU3Eb__0_mDB8C80CDB4887C69C69B458682079ABEC439ACB4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* L_0 = (U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass65_0__ctor_m9907DABE36BDAFB6DB8ED0807FDB684B9F54D41C(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* L_1 = V_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_1);
|
|
L_1->___node_1 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___node_1), (void*)L_2);
|
|
// bool contains = false;
|
|
U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
L_3->___contains_0 = (bool)0;
|
|
// GetConnections(neighbour => {
|
|
// contains |= neighbour == node;
|
|
// });
|
|
U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* L_4 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_5 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_5, L_4, (intptr_t)((void*)U3CU3Ec__DisplayClass65_0_U3CContainsConnectionU3Eb__0_mDB8C80CDB4887C69C69B458682079ABEC439ACB4_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(5 /* System.Void Pathfinding.GraphNode::GetConnections(System.Action`1<Pathfinding.GraphNode>) */, __this, L_5);
|
|
// return contains;
|
|
U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
bool L_7 = L_6->___contains_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphNode::GetPortal(Pathfinding.GraphNode,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphNode_GetPortal_mDB390BB5EB7267D4E6ADC31A382B186F6A1F2F52 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_other, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_left, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___2_right, bool ___3_backwards, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Single Pathfinding.GraphNode::SurfaceArea()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GraphNode_SurfaceArea_m432669C94BD9E2A1C11F1A6AE532BE8796A5B742 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return 0;
|
|
return (0.0f);
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 Pathfinding.GraphNode::RandomPointOnSurface()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphNode_RandomPointOnSurface_m3D1D1304AF7EB1A2C65030BC94AB93D4DACD9508 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (Vector3)position;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = __this->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GraphNode::GetGizmoHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GraphNode_GetGizmoHashCode_m4F6FBDB8048E7493E8FCE4CF3B800DA49DAAA686 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return position.GetHashCode() ^ (19 * (int)Penalty) ^ (41 * (int)(flags & ~(HierarchicalIndexMask | HierarchicalDirtyMask)));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_0 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&__this->___position_7);
|
|
int32_t L_1;
|
|
L_1 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051(L_0, NULL);
|
|
uint32_t L_2;
|
|
L_2 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(__this, NULL);
|
|
uint32_t L_3 = __this->___flags_1;
|
|
return ((int32_t)(((int32_t)(L_1^((int32_t)il2cpp_codegen_multiply(((int32_t)19), (int32_t)L_2))))^((int32_t)il2cpp_codegen_multiply(((int32_t)41), ((int32_t)((int32_t)L_3&((int32_t)-524287)))))));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_SerializeNode_mD33B9C61E7205A8A098807428025CF2FF4626DDA (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ctx.writer.Write(Penalty);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_1 = L_0->___writer_2;
|
|
uint32_t L_2;
|
|
L_2 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(__this, NULL);
|
|
NullCheck(L_1);
|
|
VirtualActionInvoker1< uint32_t >::Invoke(19 /* System.Void System.IO.BinaryWriter::Write(System.UInt32) */, L_1, L_2);
|
|
// ctx.writer.Write(Flags & ~(HierarchicalIndexMask | HierarchicalDirtyMask));
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
|
|
NullCheck(L_3);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
|
|
uint32_t L_5;
|
|
L_5 = GraphNode_get_Flags_m3C230B3005D139D8B4D575E8D35E43967837B4B1_inline(__this, NULL);
|
|
NullCheck(L_4);
|
|
VirtualActionInvoker1< uint32_t >::Invoke(19 /* System.Void System.IO.BinaryWriter::Write(System.UInt32) */, L_4, ((int32_t)((int32_t)L_5&((int32_t)-524287))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_DeserializeNode_mE353ED15276B00A0A798066891B1FF38B91EF1CA (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Penalty = ctx.reader.ReadUInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
|
|
NullCheck(L_1);
|
|
uint32_t L_2;
|
|
L_2 = VirtualFuncInvoker0< uint32_t >::Invoke(16 /* System.UInt32 System.IO.BinaryReader::ReadUInt32() */, L_1);
|
|
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(__this, L_2, NULL);
|
|
// Flags = (ctx.reader.ReadUInt32() & ~(HierarchicalIndexMask | HierarchicalDirtyMask)) | (Flags & (HierarchicalIndexMask | HierarchicalDirtyMask));
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
|
|
NullCheck(L_3);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_4 = L_3->___reader_1;
|
|
NullCheck(L_4);
|
|
uint32_t L_5;
|
|
L_5 = VirtualFuncInvoker0< uint32_t >::Invoke(16 /* System.UInt32 System.IO.BinaryReader::ReadUInt32() */, L_4);
|
|
uint32_t L_6;
|
|
L_6 = GraphNode_get_Flags_m3C230B3005D139D8B4D575E8D35E43967837B4B1_inline(__this, NULL);
|
|
GraphNode_set_Flags_mA3BFC8E434A7ECA94058A1BBD5204586A82E245E_inline(__this, ((int32_t)(((int32_t)((int32_t)L_5&((int32_t)-524287)))|((int32_t)((int32_t)L_6&((int32_t)524286))))), NULL);
|
|
// GraphIndex = ctx.graphIndex;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_7 = ___0_ctx;
|
|
NullCheck(L_7);
|
|
uint32_t L_8 = L_7->___graphIndex_3;
|
|
GraphNode_set_GraphIndex_m9B2794336E89B1606DDA06CE9042A64BC06BCCEF(__this, L_8, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::SerializeReferences(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_SerializeReferences_m790F6FF88A7247A12E05A1E93FF4688E22E332A6 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode::DeserializeReferences(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphNode_DeserializeReferences_mB7820280A75661780353F01F51D90E50701CC159 (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
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 Pathfinding.GraphNode/<>c__DisplayClass60_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass60_0__ctor_m28FE7B59344928FCDAEAD87098B7F5EF73E52BB3 (U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode/<>c__DisplayClass60_0::<UpdateRecursiveG>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass60_0_U3CUpdateRecursiveGU3Eb__0_m1A6AC12FF3FE4F87C35ABA8CB5DC4BE6AE6D26DB (U3CU3Ec__DisplayClass60_0_t71596973465D4947687A822327D4F469904A8BBB* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_other, const RuntimeMethod* method)
|
|
{
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_0 = NULL;
|
|
{
|
|
// PathNode otherPN = handler.GetPathNode(other);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_0 = __this->___handler_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_other;
|
|
NullCheck(L_0);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_2;
|
|
L_2 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) other.UpdateRecursiveG(path, otherPN, handler);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = L_3->___parent_1;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_5 = __this->___pathNode_1;
|
|
if ((!(((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_4) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_5))))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
uint16_t L_7 = L_6->___pathID_2;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_8 = __this->___handler_0;
|
|
NullCheck(L_8);
|
|
uint16_t L_9;
|
|
L_9 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_8, NULL);
|
|
if ((!(((uint32_t)L_7) == ((uint32_t)L_9))))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) other.UpdateRecursiveG(path, otherPN, handler);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_10 = ___0_other;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_11 = __this->___path_2;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_12 = V_0;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_13 = __this->___handler_0;
|
|
NullCheck(L_10);
|
|
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_10, L_11, L_12, L_13);
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// });
|
|
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 Pathfinding.GraphNode/<>c__DisplayClass65_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass65_0__ctor_m9907DABE36BDAFB6DB8ED0807FDB684B9F54D41C (U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphNode/<>c__DisplayClass65_0::<ContainsConnection>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass65_0_U3CContainsConnectionU3Eb__0_mDB8C80CDB4887C69C69B458682079ABEC439ACB4 (U3CU3Ec__DisplayClass65_0_t4DC1552335126DFAD0D1B2EDCB118D5C4908B4B1* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_neighbour, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// contains |= neighbour == node;
|
|
bool L_0 = __this->___contains_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_neighbour;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = __this->___node_1;
|
|
__this->___contains_0 = (bool)((int32_t)((int32_t)L_0|((((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_1) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_2))? 1 : 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 Pathfinding.MeshNode::.ctor(AstarPath)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode__ctor_m0D20EE79DC4C9F222B97C79D91D3748AB3E6B846 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* ___0_astar, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// protected MeshNode (AstarPath astar) : base(astar) {
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ___0_astar;
|
|
GraphNode__ctor_m962B0F8CB16339D10AD78273E651373A10B3ACC2(__this, L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::ClearConnections(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_ClearConnections_m013FE20F4EFC3B361335E70752A2EA5B03EC7302 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, bool ___0_alsoReverse, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (alsoReverse && connections != null) {
|
|
bool L_0 = ___0_alsoReverse;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_003d;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// if (connections[i].node != null) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_20;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___node_0;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// connections[i].node.RemoveConnection(this);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___node_0;
|
|
NullCheck(L_7);
|
|
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(7 /* System.Void Pathfinding.GraphNode::RemoveConnection(Pathfinding.GraphNode) */, L_7, __this);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_8 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_9 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = __this->___connections_20;
|
|
NullCheck(L_10);
|
|
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// ArrayPool<Connection>.Release(ref connections, true);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** L_11 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82**)(&__this->___connections_20);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD(L_11, (bool)1, ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_12 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_12);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_13 = L_12->___hierarchicalGraph_50;
|
|
NullCheck(L_13);
|
|
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_13, __this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::GetConnections(System.Action`1<Pathfinding.GraphNode>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_GetConnections_mB284529C8FC8E028ABF179293BBFF1B3517B7304 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (connections == null) return;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (connections == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
|
|
V_0 = 0;
|
|
goto IL_0028;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = ___0_action;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_20;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_3)))->___node_0;
|
|
NullCheck(L_1);
|
|
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_1, L_4, NULL);
|
|
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
|
|
int32_t L_5 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) action(connections[i].node);
|
|
int32_t L_6 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
|
|
NullCheck(L_7);
|
|
if ((((int32_t)L_6) < ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.MeshNode::ContainsConnection(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MeshNode_ContainsConnection_m4514B07EF704605FBF6489C4F3CBBAEDDD6A47E9 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
|
|
V_0 = 0;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))->___node_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___0_node;
|
|
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_2) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
|
|
int32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) if (connections[i].node == node) return true;
|
|
int32_t L_5 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = __this->___connections_20;
|
|
NullCheck(L_6);
|
|
if ((((int32_t)L_5) < ((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_UpdateRecursiveG_m275BA4F068F7CD2B259D6F8A8C2ED6863512F021 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___1_pathNode, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___2_handler, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_1 = NULL;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_2 = NULL;
|
|
{
|
|
// pathNode.UpdateG(path);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_0 = ___1_pathNode;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_1 = ___0_path;
|
|
NullCheck(L_0);
|
|
PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86(L_0, L_1, NULL);
|
|
// handler.heap.Add(pathNode);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_2 = ___2_handler;
|
|
NullCheck(L_2);
|
|
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_3 = L_2->___heap_3;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = ___1_pathNode;
|
|
NullCheck(L_3);
|
|
BinaryHeap_Add_mB5BC32B95CB5A82A97C54966C7B3EC5D8BD900C4(L_3, L_4, NULL);
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0055;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// GraphNode other = connections[i].node;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)))->___node_0;
|
|
V_1 = L_7;
|
|
// PathNode otherPN = handler.GetPathNode(other);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_8 = ___2_handler;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = V_1;
|
|
NullCheck(L_8);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_10;
|
|
L_10 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(L_8, L_9, NULL);
|
|
V_2 = L_10;
|
|
// if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) {
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_11 = V_2;
|
|
NullCheck(L_11);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_12 = L_11->___parent_1;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_13 = ___1_pathNode;
|
|
if ((!(((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_12) == ((RuntimeObject*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_13))))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_14 = V_2;
|
|
NullCheck(L_14);
|
|
uint16_t L_15 = L_14->___pathID_2;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_16 = ___2_handler;
|
|
NullCheck(L_16);
|
|
uint16_t L_17;
|
|
L_17 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_16, NULL);
|
|
if ((!(((uint32_t)L_15) == ((uint32_t)L_17))))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
// other.UpdateRecursiveG(path, otherPN, handler);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_18 = V_1;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_19 = ___0_path;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_20 = V_2;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_21 = ___2_handler;
|
|
NullCheck(L_18);
|
|
VirtualActionInvoker3< Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* >::Invoke(4 /* System.Void Pathfinding.GraphNode::UpdateRecursiveG(Pathfinding.Path,Pathfinding.PathNode,Pathfinding.PathHandler) */, L_18, L_19, L_20, L_21);
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_22 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_23 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_24 = __this->___connections_20;
|
|
NullCheck(L_24);
|
|
if ((((int32_t)L_23) < ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::AddConnection(Pathfinding.GraphNode,System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_AddConnection_mF3AB32BDC0AEBDD82A8C850C864B1B0D510C932F (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AddConnection(node, cost, -1);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
uint32_t L_1 = ___1_cost;
|
|
MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E(__this, L_0, L_1, (-1), NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::AddConnection(Pathfinding.GraphNode,System.UInt32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, uint32_t ___1_cost, int32_t ___2_shapeEdge, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* G_B7_0 = NULL;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* G_B6_0 = NULL;
|
|
int32_t G_B8_0 = 0;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0* G_B8_1 = NULL;
|
|
int32_t G_B14_0 = 0;
|
|
{
|
|
// if (node == null) throw new System.ArgumentNullException();
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (node == null) throw new System.ArgumentNullException();
|
|
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_1 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
ArgumentNullException__ctor_m4A0936689D360EBC545690326B4DF187196BF2B9(L_1, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (connections != null) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_2 = __this->___connections_20;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0075;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
V_2 = 0;
|
|
goto IL_006a;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// if (connections[i].node == node) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_20;
|
|
int32_t L_4 = V_2;
|
|
NullCheck(L_3);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_5 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->___node_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_6 = ___0_node;
|
|
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_5) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_6))))
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// connections[i].cost = cost;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
|
|
int32_t L_8 = V_2;
|
|
NullCheck(L_7);
|
|
uint32_t L_9 = ___1_cost;
|
|
((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___cost_1 = L_9;
|
|
// connections[i].shapeEdge = shapeEdge >= 0 ? (byte)shapeEdge : connections[i].shapeEdge;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = __this->___connections_20;
|
|
int32_t L_11 = V_2;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = ___2_shapeEdge;
|
|
G_B6_0 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)));
|
|
if ((((int32_t)L_12) >= ((int32_t)0)))
|
|
{
|
|
G_B7_0 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)));
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_13 = __this->___connections_20;
|
|
int32_t L_14 = V_2;
|
|
NullCheck(L_13);
|
|
uint8_t L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->___shapeEdge_2;
|
|
G_B8_0 = ((int32_t)(L_15));
|
|
G_B8_1 = G_B6_0;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
int32_t L_16 = ___2_shapeEdge;
|
|
G_B8_0 = ((int32_t)(uint8_t)L_16);
|
|
G_B8_1 = G_B7_0;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
G_B8_1->___shapeEdge_2 = (uint8_t)G_B8_0;
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_17 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_17, 1));
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_18 = V_2;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_19 = __this->___connections_20;
|
|
NullCheck(L_19);
|
|
if ((((int32_t)L_18) < ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// int connLength = connections != null ? connections.Length : 0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = __this->___connections_20;
|
|
if (L_20)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
G_B14_0 = 0;
|
|
goto IL_0088;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_21 = __this->___connections_20;
|
|
NullCheck(L_21);
|
|
G_B14_0 = ((int32_t)(((RuntimeArray*)L_21)->max_length));
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
V_0 = G_B14_0;
|
|
// var newconns = ArrayPool<Connection>.ClaimWithExactLength(connLength+1);
|
|
int32_t L_22 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_23;
|
|
L_23 = ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7(((int32_t)il2cpp_codegen_add(L_22, 1)), ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var);
|
|
V_1 = L_23;
|
|
// for (int i = 0; i < connLength; i++) {
|
|
V_3 = 0;
|
|
goto IL_00ad;
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
// newconns[i] = connections[i];
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_24 = V_1;
|
|
int32_t L_25 = V_3;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_26 = __this->___connections_20;
|
|
int32_t L_27 = V_3;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
NullCheck(L_24);
|
|
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_25), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_29);
|
|
// for (int i = 0; i < connLength; i++) {
|
|
int32_t L_30 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// for (int i = 0; i < connLength; i++) {
|
|
int32_t L_31 = V_3;
|
|
int32_t L_32 = V_0;
|
|
if ((((int32_t)L_31) < ((int32_t)L_32)))
|
|
{
|
|
goto IL_0096;
|
|
}
|
|
}
|
|
{
|
|
// newconns[connLength] = new Connection(node, cost, (byte)shapeEdge);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_33 = V_1;
|
|
int32_t L_34 = V_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_35 = ___0_node;
|
|
uint32_t L_36 = ___1_cost;
|
|
int32_t L_37 = ___2_shapeEdge;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_38;
|
|
memset((&L_38), 0, sizeof(L_38));
|
|
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_38), L_35, L_36, (uint8_t)((int32_t)(uint8_t)L_37), /*hidden argument*/NULL);
|
|
NullCheck(L_33);
|
|
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(L_34), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_38);
|
|
// if (connections != null) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_39 = __this->___connections_20;
|
|
if (!L_39)
|
|
{
|
|
goto IL_00d5;
|
|
}
|
|
}
|
|
{
|
|
// ArrayPool<Connection>.Release(ref connections, true);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** L_40 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82**)(&__this->___connections_20);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD(L_40, (bool)1, ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00d5:
|
|
{
|
|
// connections = newconns;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_41 = V_1;
|
|
__this->___connections_20 = L_41;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)L_41);
|
|
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_42 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_42);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_43 = L_42->___hierarchicalGraph_50;
|
|
NullCheck(L_43);
|
|
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_43, __this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::RemoveConnection(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_RemoveConnection_m118105CA71D15BAD51AFB791376C92DFC1E864DD (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
{
|
|
// if (connections == null) return;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (connections == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_00b1;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// if (connections[i].node == node) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->___node_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
|
|
if ((!(((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_3) == ((RuntimeObject*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_4))))
|
|
{
|
|
goto IL_00ad;
|
|
}
|
|
}
|
|
{
|
|
// int connLength = connections.Length;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
|
|
NullCheck(L_5);
|
|
V_1 = ((int32_t)(((RuntimeArray*)L_5)->max_length));
|
|
// var newconns = ArrayPool<Connection>.ClaimWithExactLength(connLength-1);
|
|
int32_t L_6 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7;
|
|
L_7 = ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7(((int32_t)il2cpp_codegen_subtract(L_6, 1)), ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var);
|
|
V_2 = L_7;
|
|
// for (int j = 0; j < i; j++) {
|
|
V_3 = 0;
|
|
goto IL_0054;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// newconns[j] = connections[j];
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = V_2;
|
|
int32_t L_9 = V_3;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_10 = __this->___connections_20;
|
|
int32_t L_11 = V_3;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
NullCheck(L_8);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_13);
|
|
// for (int j = 0; j < i; j++) {
|
|
int32_t L_14 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// for (int j = 0; j < i; j++) {
|
|
int32_t L_15 = V_3;
|
|
int32_t L_16 = V_0;
|
|
if ((((int32_t)L_15) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = i+1; j < connLength; j++) {
|
|
int32_t L_17 = V_0;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_17, 1));
|
|
goto IL_007c;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// newconns[j-1] = connections[j];
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_18 = V_2;
|
|
int32_t L_19 = V_4;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = __this->___connections_20;
|
|
int32_t L_21 = V_4;
|
|
NullCheck(L_20);
|
|
int32_t L_22 = L_21;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
NullCheck(L_18);
|
|
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_19, 1))), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_23);
|
|
// for (int j = i+1; j < connLength; j++) {
|
|
int32_t L_24 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_24, 1));
|
|
}
|
|
|
|
IL_007c:
|
|
{
|
|
// for (int j = i+1; j < connLength; j++) {
|
|
int32_t L_25 = V_4;
|
|
int32_t L_26 = V_1;
|
|
if ((((int32_t)L_25) < ((int32_t)L_26)))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (connections != null) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_27 = __this->___connections_20;
|
|
if (!L_27)
|
|
{
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
{
|
|
// ArrayPool<Connection>.Release(ref connections, true);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** L_28 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82**)(&__this->___connections_20);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD(L_28, (bool)1, ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0095:
|
|
{
|
|
// connections = newconns;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_29 = V_2;
|
|
__this->___connections_20 = L_29;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)L_29);
|
|
// AstarPath.active.hierarchicalGraph.AddDirtyNode(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_30 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_30);
|
|
HierarchicalGraph_tAB3EAB59B3832B5B2E0BF3875B9ECD3F6C1776B8* L_31 = L_30->___hierarchicalGraph_50;
|
|
NullCheck(L_31);
|
|
HierarchicalGraph_AddDirtyNode_m7EF882514CA190295D8580CB34B0AEF5891B7823(L_31, __this, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_32 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_33 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_34 = __this->___connections_20;
|
|
NullCheck(L_34);
|
|
if ((((int32_t)L_33) < ((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length)))))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.MeshNode::ContainsPoint(Pathfinding.Int3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MeshNode_ContainsPoint_mF6EB5DAB65526BF65B60B7B619647CDCF109F7E4 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 ___0_point, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return ContainsPoint((Vector3)point);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = ___0_point;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_0, NULL);
|
|
bool L_2;
|
|
L_2 = VirtualFuncInvoker1< bool, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 >::Invoke(24 /* System.Boolean Pathfinding.MeshNode::ContainsPoint(UnityEngine.Vector3) */, __this, L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.MeshNode::GetGizmoHashCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MeshNode_GetGizmoHashCode_mA1FAFB4E32FA1F9CB6EF501A1BBDADC9BDB9BE03 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// var hash = base.GetGizmoHashCode();
|
|
int32_t L_0;
|
|
L_0 = GraphNode_GetGizmoHashCode_m4F6FBDB8048E7493E8FCE4CF3B800DA49DAAA686(__this, NULL);
|
|
V_0 = L_0;
|
|
// if (connections != null) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->___connections_20;
|
|
if (!L_1)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
V_1 = 0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// hash ^= 17 * connections[i].GetHashCode();
|
|
int32_t L_2 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->___connections_20;
|
|
int32_t L_4 = V_1;
|
|
NullCheck(L_3);
|
|
int32_t L_5;
|
|
L_5 = Connection_GetHashCode_m1B33710893D1443A103B25749ED833D3830ECCA2(((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4))), NULL);
|
|
V_0 = ((int32_t)(L_2^((int32_t)il2cpp_codegen_multiply(((int32_t)17), L_5))));
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_6 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_7 = V_1;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_8 = __this->___connections_20;
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// return hash;
|
|
int32_t L_9 = V_0;
|
|
return L_9;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::SerializeReferences(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_SerializeReferences_mE91E27A818134DF02401026AD9EE137078E1383F (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (connections == null) {
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_0 = __this->___connections_20;
|
|
if (L_0)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// ctx.writer.Write(-1);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
|
|
NullCheck(L_1);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_2 = L_1->___writer_2;
|
|
NullCheck(L_2);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_2, (-1));
|
|
return;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// ctx.writer.Write(connections.Length);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
|
|
NullCheck(L_3);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5 = __this->___connections_20;
|
|
NullCheck(L_5);
|
|
NullCheck(L_4);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_4, ((int32_t)(((RuntimeArray*)L_5)->max_length)));
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_007f;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// ctx.SerializeNodeReference(connections[i].node);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_6 = ___0_ctx;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_7 = __this->___connections_20;
|
|
int32_t L_8 = V_0;
|
|
NullCheck(L_7);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->___node_0;
|
|
NullCheck(L_6);
|
|
GraphSerializationContext_SerializeNodeReference_m7DDFE9416F1E4BCF332867FEAC72C852D68D45B0(L_6, L_9, NULL);
|
|
// ctx.writer.Write(connections[i].cost);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
|
|
NullCheck(L_10);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_11 = L_10->___writer_2;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_12 = __this->___connections_20;
|
|
int32_t L_13 = V_0;
|
|
NullCheck(L_12);
|
|
uint32_t L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->___cost_1;
|
|
NullCheck(L_11);
|
|
VirtualActionInvoker1< uint32_t >::Invoke(19 /* System.Void System.IO.BinaryWriter::Write(System.UInt32) */, L_11, L_14);
|
|
// ctx.writer.Write(connections[i].shapeEdge);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_15 = ___0_ctx;
|
|
NullCheck(L_15);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_16 = L_15->___writer_2;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_17 = __this->___connections_20;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
uint8_t L_19 = ((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18)))->___shapeEdge_2;
|
|
NullCheck(L_16);
|
|
VirtualActionInvoker1< uint8_t >::Invoke(9 /* System.Void System.IO.BinaryWriter::Write(System.Byte) */, L_16, L_19);
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_20 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_007f:
|
|
{
|
|
// for (int i = 0; i < connections.Length; i++) {
|
|
int32_t L_21 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_22 = __this->___connections_20;
|
|
NullCheck(L_22);
|
|
if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.MeshNode::DeserializeReferences(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshNode_DeserializeReferences_m637586192D6948D92FFA263DB471A0CDE69DEFF7 (MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
uint32_t G_B5_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B5_1 = NULL;
|
|
int32_t G_B5_2 = 0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B5_3 = NULL;
|
|
uint32_t G_B4_0 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B4_1 = NULL;
|
|
int32_t G_B4_2 = 0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B4_3 = NULL;
|
|
int32_t G_B6_0 = 0;
|
|
uint32_t G_B6_1 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* G_B6_2 = NULL;
|
|
int32_t G_B6_3 = 0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* G_B6_4 = NULL;
|
|
{
|
|
// int count = ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_1);
|
|
V_0 = L_2;
|
|
// if (count == -1) {
|
|
int32_t L_3 = V_0;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// connections = null;
|
|
__this->___connections_20 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)(ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82*)NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// connections = ArrayPool<Connection>.ClaimWithExactLength(count);
|
|
int32_t L_4 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_5;
|
|
L_5 = ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7(L_4, ArrayPool_1_ClaimWithExactLength_m14935F2EA9D554EDE990C49B9551FD899DF875A7_RuntimeMethod_var);
|
|
__this->___connections_20 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___connections_20), (void*)L_5);
|
|
// for (int i = 0; i < count; i++) {
|
|
V_1 = 0;
|
|
goto IL_0077;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// connections[i] = new Connection(
|
|
// ctx.DeserializeNodeReference(),
|
|
// ctx.reader.ReadUInt32(),
|
|
// ctx.meta.version < AstarSerializer.V4_1_0 ? (byte)0xFF : ctx.reader.ReadByte()
|
|
// );
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = __this->___connections_20;
|
|
int32_t L_7 = V_1;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_8 = ___0_ctx;
|
|
NullCheck(L_8);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9;
|
|
L_9 = GraphSerializationContext_DeserializeNodeReference_m968E85AF963D69ED085D263960B9D6605616353D(L_8, NULL);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
|
|
NullCheck(L_10);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_11 = L_10->___reader_1;
|
|
NullCheck(L_11);
|
|
uint32_t L_12;
|
|
L_12 = VirtualFuncInvoker0< uint32_t >::Invoke(16 /* System.UInt32 System.IO.BinaryReader::ReadUInt32() */, L_11);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_13 = ___0_ctx;
|
|
NullCheck(L_13);
|
|
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* L_14 = L_13->___meta_4;
|
|
NullCheck(L_14);
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_15 = L_14->___version_0;
|
|
il2cpp_codegen_runtime_class_init_inline(AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var);
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_16 = ((AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_StaticFields*)il2cpp_codegen_static_fields_for(AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var))->___V4_1_0_16;
|
|
bool L_17;
|
|
L_17 = Version_op_LessThan_m83ED9AEB1F6175AF9C8CDEDD9329CE0D2DA2CE4E(L_15, L_16, NULL);
|
|
G_B4_0 = L_12;
|
|
G_B4_1 = L_9;
|
|
G_B4_2 = L_7;
|
|
G_B4_3 = L_6;
|
|
if (L_17)
|
|
{
|
|
G_B5_0 = L_12;
|
|
G_B5_1 = L_9;
|
|
G_B5_2 = L_7;
|
|
G_B5_3 = L_6;
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_18 = ___0_ctx;
|
|
NullCheck(L_18);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_19 = L_18->___reader_1;
|
|
NullCheck(L_19);
|
|
uint8_t L_20;
|
|
L_20 = VirtualFuncInvoker0< uint8_t >::Invoke(10 /* System.Byte System.IO.BinaryReader::ReadByte() */, L_19);
|
|
G_B6_0 = ((int32_t)(L_20));
|
|
G_B6_1 = G_B4_0;
|
|
G_B6_2 = G_B4_1;
|
|
G_B6_3 = G_B4_2;
|
|
G_B6_4 = G_B4_3;
|
|
goto IL_0069;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
G_B6_0 = ((int32_t)255);
|
|
G_B6_1 = G_B5_0;
|
|
G_B6_2 = G_B5_1;
|
|
G_B6_3 = G_B5_2;
|
|
G_B6_4 = G_B5_3;
|
|
}
|
|
|
|
IL_0069:
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_21;
|
|
memset((&L_21), 0, sizeof(L_21));
|
|
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_21), G_B6_2, G_B6_1, (uint8_t)G_B6_0, /*hidden argument*/NULL);
|
|
NullCheck(G_B6_4);
|
|
(G_B6_4)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_3), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_21);
|
|
// for (int i = 0; i < count; i++) {
|
|
int32_t L_22 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// for (int i = 0; i < count; i++) {
|
|
int32_t L_23 = V_1;
|
|
int32_t L_24 = V_0;
|
|
if ((((int32_t)L_23) < ((int32_t)L_24)))
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
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.Boolean Pathfinding.DefaultITraversalProvider::CanTraverse(Pathfinding.Path,Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DefaultITraversalProvider_CanTraverse_mD8F0537C9E7564A2E91EA4114E642972B609588B (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return node.Walkable && (path.enabledTags >> (int)node.Tag & 0x1) != 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___1_node;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_2 = ___0_path;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___enabledTags_22;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___1_node;
|
|
NullCheck(L_4);
|
|
uint32_t L_5;
|
|
L_5 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_4, NULL);
|
|
return (bool)((!(((uint32_t)((int32_t)(((int32_t)(L_3>>((int32_t)((int32_t)L_5&((int32_t)31)))))&1))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.DefaultITraversalProvider::GetTraversalCost(Pathfinding.Path,Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t DefaultITraversalProvider_GetTraversalCost_mCD5C2A86307819BCD13A0E0800B7105863EB2A97 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return path.GetTagPenalty((int)node.Tag) + node.Penalty;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = ___0_path;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___1_node;
|
|
NullCheck(L_1);
|
|
uint32_t L_2;
|
|
L_2 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_1, NULL);
|
|
NullCheck(L_0);
|
|
uint32_t L_3;
|
|
L_3 = Path_GetTagPenalty_m933FF50BB43D802C60831C3F262E053D290A0249(L_0, L_2, NULL);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___1_node;
|
|
NullCheck(L_4);
|
|
uint32_t L_5;
|
|
L_5 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_4, NULL);
|
|
return ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)L_5));
|
|
}
|
|
}
|
|
#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
|
|
// Pathfinding.PathState Pathfinding.Path::get_PipelineState()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathState PipelineState { get; private set; }
|
|
int32_t L_0 = __this->___U3CPipelineStateU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::set_PipelineState(Pathfinding.PathState)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_PipelineState_mEB9D1B611E4E759C1C313263C6E914E92FB97DB8 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathState PipelineState { get; private set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CPipelineStateU3Ek__BackingField_3 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.PathCompleteState Pathfinding.Path::get_CompleteState()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return completeState; }
|
|
int32_t L_0 = __this->___completeState_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::set_CompleteState(Pathfinding.PathCompleteState)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_CompleteState_m4DCDB8EE538A927682FA71BC376AE1A37DDB5C74 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (stateLock) {
|
|
RuntimeObject* L_0 = __this->___stateLock_4;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0023:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// if (completeState != PathCompleteState.Error) completeState = value;
|
|
int32_t L_4 = __this->___completeState_6;
|
|
if ((((int32_t)L_4) == ((int32_t)1)))
|
|
{
|
|
goto IL_0021_1;
|
|
}
|
|
}
|
|
{
|
|
// if (completeState != PathCompleteState.Error) completeState = value;
|
|
int32_t L_5 = ___0_value;
|
|
__this->___completeState_6 = L_5;
|
|
}
|
|
|
|
IL_0021_1:
|
|
{
|
|
// }
|
|
goto IL_002d;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path::get_error()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_get_error_m53DE4309315C8B6A124412EC3CBF9AA514414FE2 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool error { get { return CompleteState == PathCompleteState.Error; } }
|
|
int32_t L_0;
|
|
L_0 = Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline(__this, NULL);
|
|
return (bool)((((int32_t)L_0) == ((int32_t)1))? 1 : 0);
|
|
}
|
|
}
|
|
// System.String Pathfinding.Path::get_errorLog()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string errorLog { get; private set; }
|
|
String_t* L_0 = __this->___U3CerrorLogU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::set_errorLog(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string errorLog { get; private set; }
|
|
String_t* L_0 = ___0_value;
|
|
__this->___U3CerrorLogU3Ek__BackingField_7 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CerrorLogU3Ek__BackingField_7), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.Path::get_searchedNodes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Path_get_searchedNodes_m292CBC10DFDEBD2883B746F99009506C2F5C0D4C (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int searchedNodes { get; protected set; }
|
|
int32_t L_0 = __this->___U3CsearchedNodesU3Ek__BackingField_12;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::set_searchedNodes(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_searchedNodes_mEE42EB4BEA9B85DBB6910F04ACDA7B9D09C7194A (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int searchedNodes { get; protected set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CsearchedNodesU3Ek__BackingField_12 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path::Pathfinding.IPathInternals.get_Pooled()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_Pathfinding_IPathInternals_get_Pooled_m2230BEF8850B2B3D9067851209FEC0E88B26A386 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// bool IPathInternals.Pooled { get; set; }
|
|
bool L_0 = __this->___U3CPathfinding_IPathInternals_PooledU3Ek__BackingField_13;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.set_Pooled(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_set_Pooled_m45F4DC6C8F5D1C44A4637A650FDB35A95FF22FB6 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// bool IPathInternals.Pooled { get; set; }
|
|
bool L_0 = ___0_value;
|
|
__this->___U3CPathfinding_IPathInternals_PooledU3Ek__BackingField_13 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path::get_recycled()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_get_recycled_m87B67D75E28C1995BF58409781079D2BC73C6636 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal bool recycled { get { return false; } }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.UInt16 Pathfinding.Path::get_pathID()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort pathID { get; private set; }
|
|
uint16_t L_0 = __this->___U3CpathIDU3Ek__BackingField_19;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::set_pathID(System.UInt16)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_pathID_m1809310BA902166A40AF2D8323B60540258210F4 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, uint16_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort pathID { get; private set; }
|
|
uint16_t L_0 = ___0_value;
|
|
__this->___U3CpathIDU3Ek__BackingField_19 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32[] Pathfinding.Path::get_tagPenalties()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Path_get_tagPenalties_m23AEA6E36491D6641376284840A296BD2309CEF9 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return manualTagPenalties;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___manualTagPenalties_25;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::set_tagPenalties(System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_set_tagPenalties_mD7B79BBBF32D5193353A01FDD4454883EEC3EE70 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (value == null || value.Length != 32) {
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___0_value;
|
|
if (!L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___0_value;
|
|
NullCheck(L_1);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))) == ((int32_t)((int32_t)32))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// manualTagPenalties = null;
|
|
__this->___manualTagPenalties_25 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___manualTagPenalties_25), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL);
|
|
// internalTagPenalties = ZeroTagPenalties;
|
|
il2cpp_codegen_runtime_class_init_inline(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_StaticFields*)il2cpp_codegen_static_fields_for(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var))->___ZeroTagPenalties_23;
|
|
__this->___internalTagPenalties_24 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___internalTagPenalties_24), (void*)L_2);
|
|
return;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// manualTagPenalties = value;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = ___0_value;
|
|
__this->___manualTagPenalties_25 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___manualTagPenalties_25), (void*)L_3);
|
|
// internalTagPenalties = value;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = ___0_value;
|
|
__this->___internalTagPenalties_24 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___internalTagPenalties_24), (void*)L_4);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path::get_FloodingPath()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_get_FloodingPath_m2259FB773338D2B87ED9F4D36AEE0871756FF68C (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Single Pathfinding.Path::GetTotalLength()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Path_GetTotalLength_m8FF950877569E8B90E86C3062EF6B73CD5AEBD5B (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (vectorPath == null) return float.PositiveInfinity;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = __this->___vectorPath_9;
|
|
if (L_0)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (vectorPath == null) return float.PositiveInfinity;
|
|
return (std::numeric_limits<float>::infinity());
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// float tot = 0;
|
|
V_0 = (0.0f);
|
|
// for (int i = 0; i < vectorPath.Count-1; i++) tot += Vector3.Distance(vectorPath[i], vectorPath[i+1]);
|
|
V_1 = 0;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// for (int i = 0; i < vectorPath.Count-1; i++) tot += Vector3.Distance(vectorPath[i], vectorPath[i+1]);
|
|
float L_1 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2 = __this->___vectorPath_9;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_2, L_3, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = __this->___vectorPath_9;
|
|
int32_t L_6 = V_1;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_5, ((int32_t)il2cpp_codegen_add(L_6, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_8;
|
|
L_8 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_4, L_7, NULL);
|
|
V_0 = ((float)il2cpp_codegen_add(L_1, L_8));
|
|
// for (int i = 0; i < vectorPath.Count-1; i++) tot += Vector3.Distance(vectorPath[i], vectorPath[i+1]);
|
|
int32_t L_9 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// for (int i = 0; i < vectorPath.Count-1; i++) tot += Vector3.Distance(vectorPath[i], vectorPath[i+1]);
|
|
int32_t L_10 = V_1;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_11 = __this->___vectorPath_9;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_11, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_10) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_12, 1)))))
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// return tot;
|
|
float L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator Pathfinding.Path::WaitForPath()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Path_WaitForPath_m0346AFC61522E7E67310431CE6CE2C1E5EC30649 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* L_0 = (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871*)il2cpp_codegen_object_new(U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CWaitForPathU3Ed__54__ctor_m947D1894B6D6008CA7C6358255CBCB45A113ECEE(L_0, 0, NULL);
|
|
U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_2 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::BlockUntilCalculated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_BlockUntilCalculated_mD99F5939C4DDFD539D939B509EA185A982E66846 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// AstarPath.BlockUntilCalculated(this);
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_BlockUntilCalculated_m8C2D3EE61F89286A0BFC3B59CDD8C672E0F115A6(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.Path::CalculateHScore(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_CalculateHScore_m2DC595B3B0268A737F8E956819C3F14C5663BD13 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, 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;
|
|
}
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// switch (heuristic) {
|
|
int32_t L_0 = __this->___heuristic_17;
|
|
V_4 = L_0;
|
|
int32_t L_1 = V_4;
|
|
switch (L_1)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_009c;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0124;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// h = (uint)(((GetHTarget() - node.position).costMagnitude)*heuristicScale);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2;
|
|
L_2 = Path_GetHTarget_mBC4019E5939A632FB6B22111B782C46E6007AEF3_inline(__this, NULL);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___0_node;
|
|
NullCheck(L_3);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_4 = L_3->___position_7;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_5;
|
|
L_5 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_2, L_4, NULL);
|
|
V_5 = L_5;
|
|
int32_t L_6;
|
|
L_6 = Int3_get_costMagnitude_m6286EB04015DE9C7D4C177B0D006A2E7F71E4250((&V_5), NULL);
|
|
float L_7 = __this->___heuristicScale_18;
|
|
// return h;
|
|
return il2cpp_codegen_cast_floating_point<uint32_t, int32_t, float>(((float)il2cpp_codegen_multiply(((float)L_6), L_7)));
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// Int3 p2 = node.position;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_8 = ___0_node;
|
|
NullCheck(L_8);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9 = L_8->___position_7;
|
|
V_0 = L_9;
|
|
// h = (uint)((System.Math.Abs(hTarget.x-p2.x) + System.Math.Abs(hTarget.y-p2.y) + System.Math.Abs(hTarget.z-p2.z))*heuristicScale);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_10 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&__this->___hTarget_21);
|
|
int32_t L_11 = L_10->___x_0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12 = V_0;
|
|
int32_t L_13 = L_12.___x_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_14;
|
|
L_14 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_11, L_13)));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_15 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&__this->___hTarget_21);
|
|
int32_t L_16 = L_15->___y_1;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_17 = V_0;
|
|
int32_t L_18 = L_17.___y_1;
|
|
int32_t L_19;
|
|
L_19 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_16, L_18)));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_20 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&__this->___hTarget_21);
|
|
int32_t L_21 = L_20->___z_2;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_22 = V_0;
|
|
int32_t L_23 = L_22.___z_2;
|
|
int32_t L_24;
|
|
L_24 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_21, L_23)));
|
|
float L_25 = __this->___heuristicScale_18;
|
|
// return h;
|
|
return il2cpp_codegen_cast_floating_point<uint32_t, int32_t, float>(((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_14, L_19)), L_24))), L_25)));
|
|
}
|
|
|
|
IL_009c:
|
|
{
|
|
// Int3 p = GetHTarget() - node.position;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_26;
|
|
L_26 = Path_GetHTarget_mBC4019E5939A632FB6B22111B782C46E6007AEF3_inline(__this, NULL);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_27 = ___0_node;
|
|
NullCheck(L_27);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_28 = L_27->___position_7;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_29;
|
|
L_29 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_26, L_28, NULL);
|
|
V_1 = L_29;
|
|
// p.x = System.Math.Abs(p.x);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_30 = V_1;
|
|
int32_t L_31 = L_30.___x_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_32;
|
|
L_32 = il2cpp_codegen_abs(L_31);
|
|
(&V_1)->___x_0 = L_32;
|
|
// p.y = System.Math.Abs(p.y);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_33 = V_1;
|
|
int32_t L_34 = L_33.___y_1;
|
|
int32_t L_35;
|
|
L_35 = il2cpp_codegen_abs(L_34);
|
|
(&V_1)->___y_1 = L_35;
|
|
// p.z = System.Math.Abs(p.z);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_36 = V_1;
|
|
int32_t L_37 = L_36.___z_2;
|
|
int32_t L_38;
|
|
L_38 = il2cpp_codegen_abs(L_37);
|
|
(&V_1)->___z_2 = L_38;
|
|
// int diag = System.Math.Min(p.x, p.z);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_39 = V_1;
|
|
int32_t L_40 = L_39.___x_0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_41 = V_1;
|
|
int32_t L_42 = L_41.___z_2;
|
|
int32_t L_43;
|
|
L_43 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_40, L_42, NULL);
|
|
V_2 = L_43;
|
|
// int diag2 = System.Math.Max(p.x, p.z);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44 = V_1;
|
|
int32_t L_45 = L_44.___x_0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_46 = V_1;
|
|
int32_t L_47 = L_46.___z_2;
|
|
int32_t L_48;
|
|
L_48 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_45, L_47, NULL);
|
|
V_3 = L_48;
|
|
// h = (uint)((((14*diag)/10) + (diag2-diag) + p.y) * heuristicScale);
|
|
int32_t L_49 = V_2;
|
|
int32_t L_50 = V_3;
|
|
int32_t L_51 = V_2;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_52 = V_1;
|
|
int32_t L_53 = L_52.___y_1;
|
|
float L_54 = __this->___heuristicScale_18;
|
|
// return h;
|
|
return il2cpp_codegen_cast_floating_point<uint32_t, int32_t, float>(((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)(((int32_t)il2cpp_codegen_multiply(((int32_t)14), L_49))/((int32_t)10))), ((int32_t)il2cpp_codegen_subtract(L_50, L_51)))), L_53))), L_54)));
|
|
}
|
|
|
|
IL_0124:
|
|
{
|
|
// return 0U;
|
|
return 0;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.Path::GetTagPenalty(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_GetTagPenalty_m933FF50BB43D802C60831C3F262E053D290A0249 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_tag, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (uint)internalTagPenalties[tag];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___internalTagPenalties_24;
|
|
int32_t L_1 = ___0_tag;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
return L_3;
|
|
}
|
|
}
|
|
// Pathfinding.Int3 Pathfinding.Path::GetHTarget()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Path_GetHTarget_mBC4019E5939A632FB6B22111B782C46E6007AEF3 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return hTarget;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = __this->___hTarget_21;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path::CanTraverse(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_CanTraverse_m6591EBB82B68115ECC6D103EBF00414BDDC0A308 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (traversalProvider != null)
|
|
RuntimeObject* L_0 = __this->___traversalProvider_5;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// return traversalProvider.CanTraverse(this, node);
|
|
RuntimeObject* L_1 = __this->___traversalProvider_5;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_1);
|
|
bool L_3;
|
|
L_3 = InterfaceFuncInvoker2< bool, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(0 /* System.Boolean Pathfinding.ITraversalProvider::CanTraverse(Pathfinding.Path,Pathfinding.GraphNode) */, ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2_il2cpp_TypeInfo_var, L_1, __this, L_2);
|
|
return L_3;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// unchecked { return node.Walkable && (enabledTags >> (int)node.Tag & 0x1) != 0; }
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
|
|
NullCheck(L_4);
|
|
bool L_5;
|
|
L_5 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_6 = __this->___enabledTags_22;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ___0_node;
|
|
NullCheck(L_7);
|
|
uint32_t L_8;
|
|
L_8 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_7, NULL);
|
|
return (bool)((!(((uint32_t)((int32_t)(((int32_t)(L_6>>((int32_t)((int32_t)L_8&((int32_t)31)))))&1))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.Path::GetTraversalCost(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (traversalProvider != null)
|
|
RuntimeObject* L_0 = __this->___traversalProvider_5;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// return traversalProvider.GetTraversalCost(this, node);
|
|
RuntimeObject* L_1 = __this->___traversalProvider_5;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_1);
|
|
uint32_t L_3;
|
|
L_3 = InterfaceFuncInvoker2< uint32_t, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(1 /* System.UInt32 Pathfinding.ITraversalProvider::GetTraversalCost(Pathfinding.Path,Pathfinding.GraphNode) */, ITraversalProvider_t474AA0687BE15276ECA6110D88A03BFFED8340A2_il2cpp_TypeInfo_var, L_1, __this, L_2);
|
|
return L_3;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// unchecked { return GetTagPenalty((int)node.Tag) + node.Penalty; }
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
|
|
NullCheck(L_4);
|
|
uint32_t L_5;
|
|
L_5 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_4, NULL);
|
|
uint32_t L_6;
|
|
L_6 = Path_GetTagPenalty_m933FF50BB43D802C60831C3F262E053D290A0249(__this, L_5, NULL);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ___0_node;
|
|
NullCheck(L_7);
|
|
uint32_t L_8;
|
|
L_8 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_7, NULL);
|
|
return ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_8));
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.Path::GetConnectionSpecialCost(Pathfinding.GraphNode,Pathfinding.GraphNode,System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Path_GetConnectionSpecialCost_mB706A47537513D393B19B2F06EC8B32D55B7034D (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_a, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___1_b, uint32_t ___2_currentCost, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return currentCost;
|
|
uint32_t L_0 = ___2_currentCost;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path::IsDone()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_IsDone_mAA4925F728BEEDEC381214064699D9D1731272BC (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return PipelineState > PathState.Processing;
|
|
int32_t L_0;
|
|
L_0 = Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline(__this, NULL);
|
|
return (bool)((((int32_t)L_0) > ((int32_t)2))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.AdvanceState(Pathfinding.PathState)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_AdvanceState_m76BBEB1E74103B504C9DCAA002B789336A6E4203 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_s, 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;
|
|
}
|
|
RuntimeObject* V_0 = NULL;
|
|
bool V_1 = false;
|
|
{
|
|
// lock (stateLock) {
|
|
RuntimeObject* L_0 = __this->___stateLock_4;
|
|
V_0 = L_0;
|
|
V_1 = (bool)0;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0025:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
bool L_1 = V_1;
|
|
if (!L_1)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = V_0;
|
|
Monitor_Exit_m05B2CF037E2214B3208198C282490A2A475653FA(L_2, NULL);
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
RuntimeObject* L_3 = V_0;
|
|
Monitor_Enter_m3CDB589DA1300B513D55FDCFB52B63E879794149(L_3, (&V_1), NULL);
|
|
// PipelineState = (PathState)System.Math.Max((int)PipelineState, (int)s);
|
|
int32_t L_4;
|
|
L_4 = Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline(__this, NULL);
|
|
int32_t L_5 = ___0_s;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_6;
|
|
L_6 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_4, L_5, NULL);
|
|
Path_set_PipelineState_mEB9D1B611E4E759C1C313263C6E914E92FB97DB8_inline(__this, L_6, NULL);
|
|
// }
|
|
goto IL_002f;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.PathState Pathfinding.Path::GetState()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Path_GetState_m40FB7FBE809E4D9F11762A732194FE0151EF65EC (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return PipelineState;
|
|
int32_t L_0;
|
|
L_0 = Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline(__this, NULL);
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::FailWithError(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_msg, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// Error();
|
|
Path_Error_m1343A204BD28D52D57A34BC7D4235B1FD6322713(__this, NULL);
|
|
// if (errorLog != "") errorLog += "\n" + msg;
|
|
String_t* L_0;
|
|
L_0 = Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76_inline(__this, NULL);
|
|
bool L_1;
|
|
L_1 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_0, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
// if (errorLog != "") errorLog += "\n" + msg;
|
|
String_t* L_2;
|
|
L_2 = Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76_inline(__this, NULL);
|
|
String_t* L_3 = ___0_msg;
|
|
String_t* L_4;
|
|
L_4 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(L_2, _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD, L_3, NULL);
|
|
Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959_inline(__this, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// else errorLog = msg;
|
|
String_t* L_5 = ___0_msg;
|
|
Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959_inline(__this, L_5, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::LogError(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_LogError_m33EC3D350697315CC5843D6AC00CBDD1A55FBD08 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_msg, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Log(msg);
|
|
String_t* L_0 = ___0_msg;
|
|
Path_Log_m9F20428B49A54F05B31810484520D897C0E722D7(__this, L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Log(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Log_m9F20428B49A54F05B31810484520D897C0E722D7 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_msg, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// errorLog += msg;
|
|
String_t* L_0;
|
|
L_0 = Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76_inline(__this, NULL);
|
|
String_t* L_1 = ___0_msg;
|
|
String_t* L_2;
|
|
L_2 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_0, L_1, NULL);
|
|
Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959_inline(__this, L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Error()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Error_m1343A204BD28D52D57A34BC7D4235B1FD6322713 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// CompleteState = PathCompleteState.Error;
|
|
Path_set_CompleteState_m4DCDB8EE538A927682FA71BC376AE1A37DDB5C74(__this, 1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::ErrorCheck()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_ErrorCheck_mED7550AE1CC95C04F2505EEE5147B79E8FB46E1B (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0CF61E93B3D1D797E22C585144827DAB52FAF8F1);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3F83DD0C4FCE9700D0AB1CC3172478FE7629BB6C);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5941593CBB9736F2E089D439CDD8FF62CD4BBDAF);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBD434B6A3FF178D746319FE186C7BEC90C09A6F8);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!hasBeenReset) FailWithError("Please use the static Construct function for creating paths, do not use the normal constructors.");
|
|
bool L_0 = __this->___hasBeenReset_14;
|
|
if (L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (!hasBeenReset) FailWithError("Please use the static Construct function for creating paths, do not use the normal constructors.");
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(__this, _stringLiteralBD434B6A3FF178D746319FE186C7BEC90C09A6F8, NULL);
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// if (((IPathInternals)this).Pooled) FailWithError("The path is currently in a path pool. Are you sending the path for calculation twice?");
|
|
bool L_1;
|
|
L_1 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean Pathfinding.IPathInternals::get_Pooled() */, IPathInternals_tF704F3EEA4CCCC0F4F53A22CAEE90877E4E39939_il2cpp_TypeInfo_var, __this);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// if (((IPathInternals)this).Pooled) FailWithError("The path is currently in a path pool. Are you sending the path for calculation twice?");
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(__this, _stringLiteral3F83DD0C4FCE9700D0AB1CC3172478FE7629BB6C, NULL);
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// if (pathHandler == null) FailWithError("Field pathHandler is not set. Please report this bug.");
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_2 = __this->___pathHandler_0;
|
|
if (L_2)
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// if (pathHandler == null) FailWithError("Field pathHandler is not set. Please report this bug.");
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(__this, _stringLiteral0CF61E93B3D1D797E22C585144827DAB52FAF8F1, NULL);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// if (PipelineState > PathState.Processing) FailWithError("This path has already been processed. Do not request a path with the same path object twice.");
|
|
int32_t L_3;
|
|
L_3 = Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline(__this, NULL);
|
|
if ((((int32_t)L_3) <= ((int32_t)2)))
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
// if (PipelineState > PathState.Processing) FailWithError("This path has already been processed. Do not request a path with the same path object twice.");
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(__this, _stringLiteral5941593CBB9736F2E089D439CDD8FF62CD4BBDAF, NULL);
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::OnEnterPool()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_OnEnterPool_m370FB5B60870575F18F96849D82AA54DBB7BFA68 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (vectorPath != null) Pathfinding.Util.ListPool<Vector3>.Release(ref vectorPath);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = __this->___vectorPath_9;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (vectorPath != null) Pathfinding.Util.ListPool<Vector3>.Release(ref vectorPath);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** L_1 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B**)(&__this->___vectorPath_9);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
|
|
ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0(L_1, ListPool_1_Release_m2A0ADBC1731FF95BB5174DF06AAF12806BAF06F0_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// if (path != null) Pathfinding.Util.ListPool<GraphNode>.Release(ref path);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2 = __this->___path_8;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// if (path != null) Pathfinding.Util.ListPool<GraphNode>.Release(ref path);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59** L_3 = (List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59**)(&__this->___path_8);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B(L_3, ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// callback = null;
|
|
__this->___callback_1 = (OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_1), (void*)(OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL);
|
|
// immediateCallback = null;
|
|
__this->___immediateCallback_2 = (OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___immediateCallback_2), (void*)(OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL);
|
|
// traversalProvider = null;
|
|
__this->___traversalProvider_5 = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___traversalProvider_5), (void*)(RuntimeObject*)NULL);
|
|
// pathHandler = null;
|
|
__this->___pathHandler_0 = (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathHandler_0), (void*)(PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638*)NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Reset_m616CBCB3DCC5903EA195F4CE7E953B84EFEB21EC (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (System.Object.ReferenceEquals(AstarPath.active, null))
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
if (L_0)
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.NullReferenceException("No AstarPath object found in the scene. " +
|
|
// "Make sure there is one or do not create paths in Awake");
|
|
NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB* L_1 = (NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NullReferenceException_tBDE63A6D24569B964908408389070C6A9F5005BB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
NullReferenceException__ctor_mA41317A57F5C1C0E3F59C7EB25ABD484564B23D4(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8E08344BCFC7FDCC3A9838522676DC76376DBE00)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Path_Reset_m616CBCB3DCC5903EA195F4CE7E953B84EFEB21EC_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// hasBeenReset = true;
|
|
__this->___hasBeenReset_14 = (bool)1;
|
|
// PipelineState = (int)PathState.Created;
|
|
Path_set_PipelineState_mEB9D1B611E4E759C1C313263C6E914E92FB97DB8_inline(__this, 0, NULL);
|
|
// releasedNotSilent = false;
|
|
__this->___releasedNotSilent_27 = (bool)0;
|
|
// pathHandler = null;
|
|
__this->___pathHandler_0 = (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathHandler_0), (void*)(PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638*)NULL);
|
|
// callback = null;
|
|
__this->___callback_1 = (OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___callback_1), (void*)(OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL);
|
|
// immediateCallback = null;
|
|
__this->___immediateCallback_2 = (OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___immediateCallback_2), (void*)(OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4*)NULL);
|
|
// errorLog = "";
|
|
Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959_inline(__this, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
|
|
// completeState = PathCompleteState.NotCalculated;
|
|
__this->___completeState_6 = 0;
|
|
// path = Pathfinding.Util.ListPool<GraphNode>.Claim();
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2;
|
|
L_2 = ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562(ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562_RuntimeMethod_var);
|
|
__this->___path_8 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___path_8), (void*)L_2);
|
|
// vectorPath = Pathfinding.Util.ListPool<Vector3>.Claim();
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_tE0BD2C0781CFDB7BD4C2D1726E574D045AA93AE3_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3;
|
|
L_3 = ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7(ListPool_1_Claim_m7CBBEA50A26B70AF7F824386A6C19275F20BAEC7_RuntimeMethod_var);
|
|
__this->___vectorPath_9 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___vectorPath_9), (void*)L_3);
|
|
// currentR = null;
|
|
__this->___currentR_10 = (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___currentR_10), (void*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)NULL);
|
|
// duration = 0;
|
|
__this->___duration_11 = (0.0f);
|
|
// searchedNodes = 0;
|
|
Path_set_searchedNodes_mEE42EB4BEA9B85DBB6910F04ACDA7B9D09C7194A_inline(__this, 0, NULL);
|
|
// nnConstraint = PathNNConstraint.Default;
|
|
PathNNConstraint_tD4EC529CCAF3C78A35DF6F147DC195983505DA76* L_4;
|
|
L_4 = PathNNConstraint_get_Default_m4D87AB0993FC27983CCFD0FF96FC9461F7916874(NULL);
|
|
__this->___nnConstraint_15 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nnConstraint_15), (void*)L_4);
|
|
// next = null;
|
|
__this->___next_16 = (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___next_16), (void*)(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*)NULL);
|
|
// heuristic = AstarPath.active.heuristic;
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_5 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_5);
|
|
int32_t L_6 = L_5->___heuristic_26;
|
|
__this->___heuristic_17 = L_6;
|
|
// heuristicScale = AstarPath.active.heuristicScale;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_7 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_7);
|
|
float L_8 = L_7->___heuristicScale_27;
|
|
__this->___heuristicScale_18 = L_8;
|
|
// enabledTags = -1;
|
|
__this->___enabledTags_22 = (-1);
|
|
// tagPenalties = null;
|
|
Path_set_tagPenalties_mD7B79BBBF32D5193353A01FDD4454883EEC3EE70(__this, (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL, NULL);
|
|
// pathID = AstarPath.active.GetNextPathID();
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_9 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_9);
|
|
uint16_t L_10;
|
|
L_10 = AstarPath_GetNextPathID_m38470F5A6582385A0DA657972E014652463BEAE2(L_9, NULL);
|
|
Path_set_pathID_m1809310BA902166A40AF2D8323B60540258210F4_inline(__this, L_10, NULL);
|
|
// hTarget = Int3.zero;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_11;
|
|
L_11 = Int3_get_zero_mE60104509A05E695E5E18E42F0CA94157A6DF25C(NULL);
|
|
__this->___hTarget_21 = L_11;
|
|
// hTargetNode = null;
|
|
__this->___hTargetNode_20 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___hTargetNode_20), (void*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
|
|
// traversalProvider = null;
|
|
__this->___traversalProvider_5 = (RuntimeObject*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___traversalProvider_5), (void*)(RuntimeObject*)NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Claim(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Claim_mE8B5AEDE7A691A8E07D8E9C51B9FFD947EBE78D3 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, RuntimeObject* ___0_o, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
String_t* G_B6_0 = NULL;
|
|
String_t* G_B5_0 = NULL;
|
|
String_t* G_B7_0 = NULL;
|
|
String_t* G_B7_1 = NULL;
|
|
{
|
|
// if (System.Object.ReferenceEquals(o, null)) throw new System.ArgumentNullException("o");
|
|
RuntimeObject* L_0 = ___0_o;
|
|
if (L_0)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (System.Object.ReferenceEquals(o, null)) throw new System.ArgumentNullException("o");
|
|
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_1 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10682F3387EA548C626C08591967BD5D821B3ACA)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Path_Claim_mE8B5AEDE7A691A8E07D8E9C51B9FFD947EBE78D3_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// for (int i = 0; i < claimed.Count; i++) {
|
|
V_0 = 0;
|
|
goto IL_0046;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// if (System.Object.ReferenceEquals(claimed[i], o))
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_2 = __this->___claimed_26;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
RuntimeObject* L_4;
|
|
L_4 = List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38(L_2, L_3, List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_RuntimeMethod_var);
|
|
RuntimeObject* L_5 = ___0_o;
|
|
if ((!(((RuntimeObject*)(RuntimeObject*)L_4) == ((RuntimeObject*)(RuntimeObject*)L_5))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.ArgumentException("You have already claimed the path with that object ("+o+"). Are you claiming the path with the same object twice?");
|
|
RuntimeObject* L_6 = ___0_o;
|
|
G_B5_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2F75BD2EAE72C08BB24BF69A9CB78BF70251E855));
|
|
if (L_6)
|
|
{
|
|
G_B6_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2F75BD2EAE72C08BB24BF69A9CB78BF70251E855));
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
G_B7_0 = ((String_t*)(NULL));
|
|
G_B7_1 = G_B5_0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
RuntimeObject* L_7 = ___0_o;
|
|
NullCheck(L_7);
|
|
String_t* L_8;
|
|
L_8 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_7);
|
|
G_B7_0 = L_8;
|
|
G_B7_1 = G_B6_0;
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
String_t* L_9;
|
|
L_9 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(G_B7_1, G_B7_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral1BBD183247F3E732167CF49A475C4C1AF0DD4D60)), NULL);
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_10 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_10);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_10, L_9, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Path_Claim_mE8B5AEDE7A691A8E07D8E9C51B9FFD947EBE78D3_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// for (int i = 0; i < claimed.Count; i++) {
|
|
int32_t L_11 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// for (int i = 0; i < claimed.Count; i++) {
|
|
int32_t L_12 = V_0;
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_13 = __this->___claimed_26;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_inline(L_13, List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var);
|
|
if ((((int32_t)L_12) < ((int32_t)L_14)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// claimed.Add(o);
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_15 = __this->___claimed_26;
|
|
RuntimeObject* L_16 = ___0_o;
|
|
NullCheck(L_15);
|
|
List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_inline(L_15, L_16, List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::ReleaseSilent(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_ReleaseSilent_m12FD8408D126636F32A0FDB27B3A97B8316ADF8A (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, RuntimeObject* ___0_o, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Release(o, true);
|
|
RuntimeObject* L_0 = ___0_o;
|
|
Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5(__this, L_0, (bool)1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Release(System.Object,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, RuntimeObject* ___0_o, bool ___1_silent, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
String_t* G_B15_0 = NULL;
|
|
String_t* G_B14_0 = NULL;
|
|
String_t* G_B16_0 = NULL;
|
|
String_t* G_B16_1 = NULL;
|
|
String_t* G_B19_0 = NULL;
|
|
String_t* G_B18_0 = NULL;
|
|
String_t* G_B20_0 = NULL;
|
|
String_t* G_B20_1 = NULL;
|
|
{
|
|
// if (o == null) throw new System.ArgumentNullException("o");
|
|
RuntimeObject* L_0 = ___0_o;
|
|
if (L_0)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (o == null) throw new System.ArgumentNullException("o");
|
|
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_1 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10682F3387EA548C626C08591967BD5D821B3ACA)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// for (int i = 0; i < claimed.Count; i++) {
|
|
V_0 = 0;
|
|
goto IL_0057;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// if (System.Object.ReferenceEquals(claimed[i], o)) {
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_2 = __this->___claimed_26;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
RuntimeObject* L_4;
|
|
L_4 = List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38(L_2, L_3, List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_RuntimeMethod_var);
|
|
RuntimeObject* L_5 = ___0_o;
|
|
if ((!(((RuntimeObject*)(RuntimeObject*)L_4) == ((RuntimeObject*)(RuntimeObject*)L_5))))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// claimed.RemoveAt(i);
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_6 = __this->___claimed_26;
|
|
int32_t L_7 = V_0;
|
|
NullCheck(L_6);
|
|
List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54(L_6, L_7, List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_RuntimeMethod_var);
|
|
// if (!silent) {
|
|
bool L_8 = ___1_silent;
|
|
if (L_8)
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
// releasedNotSilent = true;
|
|
__this->___releasedNotSilent_27 = (bool)1;
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// if (claimed.Count == 0 && releasedNotSilent) {
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_9 = __this->___claimed_26;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_inline(L_9, List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var);
|
|
if (L_10)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
bool L_11 = __this->___releasedNotSilent_27;
|
|
if (!L_11)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// PathPool.Pool(this);
|
|
il2cpp_codegen_runtime_class_init_inline(PathPool_t765B6EC4CA749EC6CE4CBF7492C8B565EE7A0B63_il2cpp_TypeInfo_var);
|
|
PathPool_Pool_mFE6BE9197A2C5C36F9E7AEC6F54607DE92EB4CFF(__this, NULL);
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// for (int i = 0; i < claimed.Count; i++) {
|
|
int32_t L_12 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// for (int i = 0; i < claimed.Count; i++) {
|
|
int32_t L_13 = V_0;
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_14 = __this->___claimed_26;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_inline(L_14, List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var);
|
|
if ((((int32_t)L_13) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// if (claimed.Count == 0) {
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_16 = __this->___claimed_26;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_inline(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_RuntimeMethod_var)));
|
|
if (L_17)
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.ArgumentException("You are releasing a path which is not claimed at all (most likely it has been pooled already). " +
|
|
// "Are you releasing the path with the same object ("+o+") twice?" +
|
|
// "\nCheck out the documentation on path pooling for help.");
|
|
RuntimeObject* L_18 = ___0_o;
|
|
G_B14_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB67A47E396AC24E89226783D7DFE6E0AEC962CD7));
|
|
if (L_18)
|
|
{
|
|
G_B15_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB67A47E396AC24E89226783D7DFE6E0AEC962CD7));
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
{
|
|
G_B16_0 = ((String_t*)(NULL));
|
|
G_B16_1 = G_B14_0;
|
|
goto IL_0083;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
RuntimeObject* L_19 = ___0_o;
|
|
NullCheck(L_19);
|
|
String_t* L_20;
|
|
L_20 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_19);
|
|
G_B16_0 = L_20;
|
|
G_B16_1 = G_B15_0;
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
String_t* L_21;
|
|
L_21 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(G_B16_1, G_B16_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8CC8D39E5441882897B021793025F2C9A413B8F1)), NULL);
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_22 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_22);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_22, L_21, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
// throw new System.ArgumentException("You are releasing a path which has not been claimed with this object ("+o+"). " +
|
|
// "Are you releasing the path with the same object twice?\n" +
|
|
// "Check out the documentation on path pooling for help.");
|
|
RuntimeObject* L_23 = ___0_o;
|
|
G_B18_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral7AA32CE253020FA51760CD2DB1021CF8889802E9));
|
|
if (L_23)
|
|
{
|
|
G_B19_0 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral7AA32CE253020FA51760CD2DB1021CF8889802E9));
|
|
goto IL_009e;
|
|
}
|
|
}
|
|
{
|
|
G_B20_0 = ((String_t*)(NULL));
|
|
G_B20_1 = G_B18_0;
|
|
goto IL_00a4;
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
RuntimeObject* L_24 = ___0_o;
|
|
NullCheck(L_24);
|
|
String_t* L_25;
|
|
L_25 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_24);
|
|
G_B20_0 = L_25;
|
|
G_B20_1 = G_B19_0;
|
|
}
|
|
|
|
IL_00a4:
|
|
{
|
|
String_t* L_26;
|
|
L_26 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(G_B20_1, G_B20_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2AA3FFD592D87212F4DE11ECA546FFF2B72183DD)), NULL);
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_27 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_27);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_27, L_26, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_27, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Path_Release_m74BF2DB429B29E8369F9204F7A995D5C261886B5_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Trace(Pathfinding.PathNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Trace_mE505DEE95CDF7B88A5EB208FE9FD03521076F24C (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* ___0_from, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Capacity_m37C5CAC1E43187364525B1DBFE5B3CA68FF8BD03_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Capacity_m9F199D9799BAB78344107D572B7695001E1CEC79_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAB872CF03EC4A5E5469192F63894D9446E782538);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
{
|
|
// PathNode c = from;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_0 = ___0_from;
|
|
V_0 = L_0;
|
|
// int count = 0;
|
|
V_1 = 0;
|
|
goto IL_0025;
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// c = c.parent;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_2 = L_1->___parent_1;
|
|
V_0 = L_2;
|
|
// count++;
|
|
int32_t L_3 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_3, 1));
|
|
// if (count > 2048) {
|
|
int32_t L_4 = V_1;
|
|
if ((((int32_t)L_4) <= ((int32_t)((int32_t)2048))))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogWarning("Infinite loop? >2048 node path. Remove this message if you really have that long paths (Path.cs, Trace method)");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralAB872CF03EC4A5E5469192F63894D9446E782538, NULL);
|
|
// break;
|
|
goto IL_0028;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// while (c != null) {
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_5 = V_0;
|
|
if (L_5)
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// if (path.Capacity < count) path.Capacity = count;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_6 = __this->___path_8;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = List_1_get_Capacity_m37C5CAC1E43187364525B1DBFE5B3CA68FF8BD03(L_6, List_1_get_Capacity_m37C5CAC1E43187364525B1DBFE5B3CA68FF8BD03_RuntimeMethod_var);
|
|
int32_t L_8 = V_1;
|
|
if ((((int32_t)L_7) >= ((int32_t)L_8)))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// if (path.Capacity < count) path.Capacity = count;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_9 = __this->___path_8;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_9);
|
|
List_1_set_Capacity_m9F199D9799BAB78344107D572B7695001E1CEC79(L_9, L_10, List_1_set_Capacity_m9F199D9799BAB78344107D572B7695001E1CEC79_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// if (vectorPath.Capacity < count) vectorPath.Capacity = count;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_11 = __this->___vectorPath_9;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6(L_11, List_1_get_Capacity_m1810FC505867C713DCDDD7468F8BA2BF1DF0D3B6_RuntimeMethod_var);
|
|
int32_t L_13 = V_1;
|
|
if ((((int32_t)L_12) >= ((int32_t)L_13)))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// if (vectorPath.Capacity < count) vectorPath.Capacity = count;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_14 = __this->___vectorPath_9;
|
|
int32_t L_15 = V_1;
|
|
NullCheck(L_14);
|
|
List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE(L_14, L_15, List_1_set_Capacity_mF3F5104AB534524CF6D04659241FBD48C9080FFE_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// c = from;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_16 = ___0_from;
|
|
V_0 = L_16;
|
|
// for (int i = 0; i < count; i++) {
|
|
V_3 = 0;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// path.Add(c.node);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_17 = __this->___path_8;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_18 = V_0;
|
|
NullCheck(L_18);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_19 = L_18->___node_0;
|
|
NullCheck(L_17);
|
|
List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline(L_17, L_19, List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
|
|
// c = c.parent;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_20 = V_0;
|
|
NullCheck(L_20);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_21 = L_20->___parent_1;
|
|
V_0 = L_21;
|
|
// for (int i = 0; i < count; i++) {
|
|
int32_t L_22 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// for (int i = 0; i < count; i++) {
|
|
int32_t L_23 = V_3;
|
|
int32_t L_24 = V_1;
|
|
if ((((int32_t)L_23) < ((int32_t)L_24)))
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}
|
|
{
|
|
// int half = count/2;
|
|
int32_t L_25 = V_1;
|
|
V_2 = ((int32_t)(L_25/2));
|
|
// for (int i = 0; i < half; i++) {
|
|
V_4 = 0;
|
|
goto IL_00d1;
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// var tmp = path[i];
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_26 = __this->___path_8;
|
|
int32_t L_27 = V_4;
|
|
NullCheck(L_26);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_28;
|
|
L_28 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_26, L_27, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
V_5 = L_28;
|
|
// path[i] = path[count-i-1];
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_29 = __this->___path_8;
|
|
int32_t L_30 = V_4;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_31 = __this->___path_8;
|
|
int32_t L_32 = V_1;
|
|
int32_t L_33 = V_4;
|
|
NullCheck(L_31);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_34;
|
|
L_34 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_31, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(L_32, L_33)), 1)), List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
NullCheck(L_29);
|
|
List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8(L_29, L_30, L_34, List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8_RuntimeMethod_var);
|
|
// path[count - i - 1] = tmp;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_35 = __this->___path_8;
|
|
int32_t L_36 = V_1;
|
|
int32_t L_37 = V_4;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_38 = V_5;
|
|
NullCheck(L_35);
|
|
List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8(L_35, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(L_36, L_37)), 1)), L_38, List_1_set_Item_mBFFC48534DEDE76B2E72E98677AE79C17D34DCF8_RuntimeMethod_var);
|
|
// for (int i = 0; i < half; i++) {
|
|
int32_t L_39 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_39, 1));
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// for (int i = 0; i < half; i++) {
|
|
int32_t L_40 = V_4;
|
|
int32_t L_41 = V_2;
|
|
if ((((int32_t)L_40) < ((int32_t)L_41)))
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < count; i++) {
|
|
V_6 = 0;
|
|
goto IL_0103;
|
|
}
|
|
|
|
IL_00db:
|
|
{
|
|
// vectorPath.Add((Vector3)path[i].position);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_42 = __this->___vectorPath_9;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_43 = __this->___path_8;
|
|
int32_t L_44 = V_6;
|
|
NullCheck(L_43);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_45;
|
|
L_45 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_43, L_44, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
NullCheck(L_45);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_46 = L_45->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_46, NULL);
|
|
NullCheck(L_42);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_42, L_47, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int i = 0; i < count; i++) {
|
|
int32_t L_48 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_48, 1));
|
|
}
|
|
|
|
IL_0103:
|
|
{
|
|
// for (int i = 0; i < count; i++) {
|
|
int32_t L_49 = V_6;
|
|
int32_t L_50 = V_1;
|
|
if ((((int32_t)L_49) < ((int32_t)L_50)))
|
|
{
|
|
goto IL_00db;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::DebugStringPrefix(Pathfinding.PathLog,System.Text.StringBuilder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_DebugStringPrefix_m66C8FCA88350362AEE54B3A93030B58CDFCE234A (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_logMode, StringBuilder_t* ___1_text, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral04E4B5A1A451CE21D403729E2B78357FB017E764);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1A59CBB597021E0D3BC86F377CF9FF18364E1090);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral26F8DD5C0465D07E4938D5C736D5BDBC3EFB1B77);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral64039C786C776C1A0E270FB9B59F2B42E58B6717);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7376C5FDD9387C0CB0CD4C47442C8B3583804D32);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral88EFC41E85739330C4C8C77FBBD9F714E9BC0AE3);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9966EED976DD427431A3316F6D7D591475296ACE);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA4BE0F963380DB493604E9CA0B0B54F040F58C9);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
StringBuilder_t* G_B2_0 = NULL;
|
|
StringBuilder_t* G_B1_0 = NULL;
|
|
String_t* G_B3_0 = NULL;
|
|
StringBuilder_t* G_B3_1 = NULL;
|
|
float* G_B5_0 = NULL;
|
|
StringBuilder_t* G_B5_1 = NULL;
|
|
float* G_B4_0 = NULL;
|
|
StringBuilder_t* G_B4_1 = NULL;
|
|
String_t* G_B6_0 = NULL;
|
|
float* G_B6_1 = NULL;
|
|
StringBuilder_t* G_B6_2 = NULL;
|
|
StringBuilder_t* G_B9_0 = NULL;
|
|
StringBuilder_t* G_B8_0 = NULL;
|
|
String_t* G_B10_0 = NULL;
|
|
StringBuilder_t* G_B10_1 = NULL;
|
|
{
|
|
// text.Append(error ? "Path Failed : " : "Path Completed : ");
|
|
StringBuilder_t* L_0 = ___1_text;
|
|
bool L_1;
|
|
L_1 = Path_get_error_m53DE4309315C8B6A124412EC3CBF9AA514414FE2(__this, NULL);
|
|
G_B1_0 = L_0;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_0;
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = _stringLiteral1A59CBB597021E0D3BC86F377CF9FF18364E1090;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
G_B3_0 = _stringLiteral26F8DD5C0465D07E4938D5C736D5BDBC3EFB1B77;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
NullCheck(G_B3_1);
|
|
StringBuilder_t* L_2;
|
|
L_2 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(G_B3_1, G_B3_0, NULL);
|
|
// text.Append("Computation Time ");
|
|
StringBuilder_t* L_3 = ___1_text;
|
|
NullCheck(L_3);
|
|
StringBuilder_t* L_4;
|
|
L_4 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_3, _stringLiteral64039C786C776C1A0E270FB9B59F2B42E58B6717, NULL);
|
|
// text.Append(duration.ToString(logMode == PathLog.Heavy ? "0.000 ms " : "0.00 ms "));
|
|
StringBuilder_t* L_5 = ___1_text;
|
|
float* L_6 = (float*)(&__this->___duration_11);
|
|
int32_t L_7 = ___0_logMode;
|
|
G_B4_0 = L_6;
|
|
G_B4_1 = L_5;
|
|
if ((((int32_t)L_7) == ((int32_t)2)))
|
|
{
|
|
G_B5_0 = L_6;
|
|
G_B5_1 = L_5;
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
G_B6_0 = _stringLiteral9966EED976DD427431A3316F6D7D591475296ACE;
|
|
G_B6_1 = G_B4_0;
|
|
G_B6_2 = G_B4_1;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
G_B6_0 = _stringLiteral88EFC41E85739330C4C8C77FBBD9F714E9BC0AE3;
|
|
G_B6_1 = G_B5_0;
|
|
G_B6_2 = G_B5_1;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
String_t* L_8;
|
|
L_8 = Single_ToString_m3F2C4433B6ADFA5ED8E3F14ED19CD23014E5179D(G_B6_1, G_B6_0, NULL);
|
|
NullCheck(G_B6_2);
|
|
StringBuilder_t* L_9;
|
|
L_9 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(G_B6_2, L_8, NULL);
|
|
// text.Append("Searched Nodes ").Append(searchedNodes);
|
|
StringBuilder_t* L_10 = ___1_text;
|
|
NullCheck(L_10);
|
|
StringBuilder_t* L_11;
|
|
L_11 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_10, _stringLiteral04E4B5A1A451CE21D403729E2B78357FB017E764, NULL);
|
|
int32_t L_12;
|
|
L_12 = Path_get_searchedNodes_m292CBC10DFDEBD2883B746F99009506C2F5C0D4C_inline(__this, NULL);
|
|
NullCheck(L_11);
|
|
StringBuilder_t* L_13;
|
|
L_13 = StringBuilder_Append_m283B617AC29FB0DD6F3A7D8C01D385C25A5F0FAA(L_11, L_12, NULL);
|
|
// if (!error) {
|
|
bool L_14;
|
|
L_14 = Path_get_error_m53DE4309315C8B6A124412EC3CBF9AA514414FE2(__this, NULL);
|
|
if (L_14)
|
|
{
|
|
goto IL_009d;
|
|
}
|
|
}
|
|
{
|
|
// text.Append(" Path Length ");
|
|
StringBuilder_t* L_15 = ___1_text;
|
|
NullCheck(L_15);
|
|
StringBuilder_t* L_16;
|
|
L_16 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_15, _stringLiteral7376C5FDD9387C0CB0CD4C47442C8B3583804D32, NULL);
|
|
// text.Append(path == null ? "Null" : path.Count.ToString());
|
|
StringBuilder_t* L_17 = ___1_text;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_18 = __this->___path_8;
|
|
G_B8_0 = L_17;
|
|
if (!L_18)
|
|
{
|
|
G_B9_0 = L_17;
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_19 = __this->___path_8;
|
|
NullCheck(L_19);
|
|
int32_t L_20;
|
|
L_20 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_19, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
|
|
V_0 = L_20;
|
|
String_t* L_21;
|
|
L_21 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_0), NULL);
|
|
G_B10_0 = L_21;
|
|
G_B10_1 = G_B8_0;
|
|
goto IL_0097;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
G_B10_0 = _stringLiteralDA4BE0F963380DB493604E9CA0B0B54F040F58C9;
|
|
G_B10_1 = G_B9_0;
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
NullCheck(G_B10_1);
|
|
StringBuilder_t* L_22;
|
|
L_22 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(G_B10_1, G_B10_0, NULL);
|
|
}
|
|
|
|
IL_009d:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::DebugStringSuffix(Pathfinding.PathLog,System.Text.StringBuilder)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_DebugStringSuffix_m245C85FD8EBF769BFA25B6C717E81BCDFC77EC4F (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_logMode, StringBuilder_t* ___1_text, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral14458E405FAD9392840AA1B9840D5D80E5F61AC2);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral900D858FE9ABCD2ED2B25CD27110A78ADCC6EC6B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9402668AFBCCB673B987A7E172AC2F7FD66F9636);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD3BDCF4E5C635E6DC0861D23D82DB4DB60EA9EA6);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD3DB90C6A039B52608A354BE6FBC05D780BEE803);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (error) {
|
|
bool L_0;
|
|
L_0 = Path_get_error_m53DE4309315C8B6A124412EC3CBF9AA514414FE2(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// text.Append("\nError: ").Append(errorLog);
|
|
StringBuilder_t* L_1 = ___1_text;
|
|
NullCheck(L_1);
|
|
StringBuilder_t* L_2;
|
|
L_2 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_1, _stringLiteral9402668AFBCCB673B987A7E172AC2F7FD66F9636, NULL);
|
|
String_t* L_3;
|
|
L_3 = Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76_inline(__this, NULL);
|
|
NullCheck(L_2);
|
|
StringBuilder_t* L_4;
|
|
L_4 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_2, L_3, NULL);
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// if (logMode == PathLog.Heavy && !AstarPath.active.IsUsingMultithreading) {
|
|
int32_t L_5 = ___0_logMode;
|
|
if ((!(((uint32_t)L_5) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0072;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_6 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_6);
|
|
bool L_7;
|
|
L_7 = AstarPath_get_IsUsingMultithreading_m8BE0924F24838A5D4EDE803BAC99A52A2D94443B(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_0072;
|
|
}
|
|
}
|
|
{
|
|
// text.Append("\nCallback references ");
|
|
StringBuilder_t* L_8 = ___1_text;
|
|
NullCheck(L_8);
|
|
StringBuilder_t* L_9;
|
|
L_9 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_8, _stringLiteralD3DB90C6A039B52608A354BE6FBC05D780BEE803, NULL);
|
|
// if (callback != null) text.Append(callback.Target.GetType().FullName).AppendLine();
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_10 = __this->___callback_1;
|
|
if (!L_10)
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// if (callback != null) text.Append(callback.Target.GetType().FullName).AppendLine();
|
|
StringBuilder_t* L_11 = ___1_text;
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_12 = __this->___callback_1;
|
|
NullCheck(L_12);
|
|
RuntimeObject* L_13;
|
|
L_13 = Delegate_get_Target_m6E203F111C1548193A5AB7E616BD5834CD269753_inline(L_12, NULL);
|
|
NullCheck(L_13);
|
|
Type_t* L_14;
|
|
L_14 = Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3(L_13, NULL);
|
|
NullCheck(L_14);
|
|
String_t* L_15;
|
|
L_15 = VirtualFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_14);
|
|
NullCheck(L_11);
|
|
StringBuilder_t* L_16;
|
|
L_16 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_11, L_15, NULL);
|
|
NullCheck(L_16);
|
|
StringBuilder_t* L_17;
|
|
L_17 = StringBuilder_AppendLine_m3BC704C4E6A8531027D8C9287D0AB2AA0188AC4E(L_16, NULL);
|
|
goto IL_0072;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// else text.AppendLine("NULL");
|
|
StringBuilder_t* L_18 = ___1_text;
|
|
NullCheck(L_18);
|
|
StringBuilder_t* L_19;
|
|
L_19 = StringBuilder_AppendLine_mF75744CE941C63E33188E22E936B71A24D3CBF88(L_18, _stringLiteral900D858FE9ABCD2ED2B25CD27110A78ADCC6EC6B, NULL);
|
|
}
|
|
|
|
IL_0072:
|
|
{
|
|
// text.Append("\nPath Number ").Append(pathID).Append(" (unique id)");
|
|
StringBuilder_t* L_20 = ___1_text;
|
|
NullCheck(L_20);
|
|
StringBuilder_t* L_21;
|
|
L_21 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_20, _stringLiteralD3BDCF4E5C635E6DC0861D23D82DB4DB60EA9EA6, NULL);
|
|
uint16_t L_22;
|
|
L_22 = Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline(__this, NULL);
|
|
NullCheck(L_21);
|
|
StringBuilder_t* L_23;
|
|
L_23 = StringBuilder_Append_m68993BA3B76A53683D6512B65586648C339AD583(L_21, L_22, NULL);
|
|
NullCheck(L_23);
|
|
StringBuilder_t* L_24;
|
|
L_24 = StringBuilder_Append_m08904D74E0C78E5F36DCD9C9303BDD07886D9F7D(L_23, _stringLiteral14458E405FAD9392840AA1B9840D5D80E5F61AC2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.String Pathfinding.Path::DebugString(Pathfinding.PathLog)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_DebugString_m8B08D7E67FEE568B2C3BC4C38D6447783EB8BAFF (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_logMode, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
StringBuilder_t* V_0 = NULL;
|
|
{
|
|
// if (logMode == PathLog.None || (!error && logMode == PathLog.OnlyErrors)) {
|
|
int32_t L_0 = ___0_logMode;
|
|
if (!L_0)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
bool L_1;
|
|
L_1 = Path_get_error_m53DE4309315C8B6A124412EC3CBF9AA514414FE2(__this, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = ___0_logMode;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// return "";
|
|
return _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// System.Text.StringBuilder text = pathHandler.DebugStringBuilder;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_3 = __this->___pathHandler_0;
|
|
NullCheck(L_3);
|
|
StringBuilder_t* L_4 = L_3->___DebugStringBuilder_5;
|
|
V_0 = L_4;
|
|
// text.Length = 0;
|
|
StringBuilder_t* L_5 = V_0;
|
|
NullCheck(L_5);
|
|
StringBuilder_set_Length_mE2427BDAEF91C4E4A6C80F3BDF1F6E01DBCC2414(L_5, 0, NULL);
|
|
// DebugStringPrefix(logMode, text);
|
|
int32_t L_6 = ___0_logMode;
|
|
StringBuilder_t* L_7 = V_0;
|
|
Path_DebugStringPrefix_m66C8FCA88350362AEE54B3A93030B58CDFCE234A(__this, L_6, L_7, NULL);
|
|
// DebugStringSuffix(logMode, text);
|
|
int32_t L_8 = ___0_logMode;
|
|
StringBuilder_t* L_9 = V_0;
|
|
Path_DebugStringSuffix_m245C85FD8EBF769BFA25B6C717E81BCDFC77EC4F(__this, L_8, L_9, NULL);
|
|
// return text.ToString();
|
|
StringBuilder_t* L_10 = V_0;
|
|
NullCheck(L_10);
|
|
String_t* L_11;
|
|
L_11 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_10);
|
|
return L_11;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::ReturnPath()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_ReturnPath_mA94644EA96286A4B079EA6FB2EFC953F6CA69392 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (callback != null) {
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_0 = __this->___callback_1;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// callback(this);
|
|
OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* L_1 = __this->___callback_1;
|
|
NullCheck(L_1);
|
|
OnPathDelegate_Invoke_m17E23601849FDCA5C8558EB78BE36C6202423A80_inline(L_1, __this, NULL);
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::PrepareBase(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_PrepareBase_mC4C06A11184142FA79C6715EAA25519A4BD66192 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_pathHandler, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Exception_t* V_0 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
{
|
|
// if (pathHandler.PathID > pathID) {
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_0 = ___0_pathHandler;
|
|
NullCheck(L_0);
|
|
uint16_t L_1;
|
|
L_1 = PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline(L_0, NULL);
|
|
uint16_t L_2;
|
|
L_2 = Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline(__this, NULL);
|
|
if ((((int32_t)L_1) <= ((int32_t)L_2)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// pathHandler.ClearPathIDs();
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_3 = ___0_pathHandler;
|
|
NullCheck(L_3);
|
|
PathHandler_ClearPathIDs_m2F5E23B4E9A681DC6ABD2008F0B838C0FA3F77DF(L_3, NULL);
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// this.pathHandler = pathHandler;
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_4 = ___0_pathHandler;
|
|
__this->___pathHandler_0 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pathHandler_0), (void*)L_4);
|
|
// pathHandler.InitializeForPath(this);
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_5 = ___0_pathHandler;
|
|
NullCheck(L_5);
|
|
PathHandler_InitializeForPath_mA2B36824C7E5BAB511CAC7B15EF2F1C22BC6D3B7(L_5, __this, NULL);
|
|
// if (internalTagPenalties == null || internalTagPenalties.Length != 32)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = __this->___internalTagPenalties_24;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___internalTagPenalties_24;
|
|
NullCheck(L_7);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))) == ((int32_t)((int32_t)32))))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// internalTagPenalties = ZeroTagPenalties;
|
|
il2cpp_codegen_runtime_class_init_inline(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = ((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_StaticFields*)il2cpp_codegen_static_fields_for(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var))->___ZeroTagPenalties_23;
|
|
__this->___internalTagPenalties_24 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___internalTagPenalties_24), (void*)L_8);
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
}
|
|
try
|
|
{// begin try (depth: 1)
|
|
// ErrorCheck();
|
|
Path_ErrorCheck_mED7550AE1CC95C04F2505EEE5147B79E8FB46E1B(__this, NULL);
|
|
// } catch (System.Exception e) {
|
|
goto IL_0059;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_004a;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_004a:
|
|
{// begin catch(System.Exception)
|
|
Exception_t* L_9 = ((Exception_t*)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t*));;
|
|
// } catch (System.Exception e) {
|
|
V_0 = L_9;
|
|
// FailWithError(e.Message);
|
|
Exception_t* L_10 = V_0;
|
|
NullCheck(L_10);
|
|
String_t* L_11;
|
|
L_11 = VirtualFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_10);
|
|
Path_FailWithError_mA4AF1BC36520C428CDDE5EEDF1FA730F07068AC7(__this, L_11, NULL);
|
|
// }
|
|
IL2CPP_POP_ACTIVE_EXCEPTION(Exception_t*);
|
|
goto IL_0059;
|
|
}// end catch (depth: 1)
|
|
|
|
IL_0059:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Cleanup()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Cleanup_mFF47B8310BBFBE8F9D2C96A8EFB8F409448F182C (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// protected virtual void Cleanup () {}
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.PathHandler Pathfinding.Path::Pathfinding.IPathInternals.get_PathHandler()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* Path_Pathfinding_IPathInternals_get_PathHandler_m647D6C32FA737C74F438B4781DA7BCFB405A857E (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// PathHandler IPathInternals.PathHandler { get { return pathHandler; } }
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_0 = __this->___pathHandler_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.OnEnterPool()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_OnEnterPool_m24D425EF812BAA8B4B1C678B457EF5B7691DE5C1 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.OnEnterPool () { OnEnterPool(); }
|
|
VirtualActionInvoker0::Invoke(19 /* System.Void Pathfinding.Path::OnEnterPool() */, __this);
|
|
// void IPathInternals.OnEnterPool () { OnEnterPool(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_Reset_mFB73313ADCA2CAB5491C38683E8014D94670EB99 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.Reset () { Reset(); }
|
|
VirtualActionInvoker0::Invoke(20 /* System.Void Pathfinding.Path::Reset() */, __this);
|
|
// void IPathInternals.Reset () { Reset(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.ReturnPath()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_ReturnPath_mF9D5521AF637EF99CA7F0AA7A422FBD9902572CE (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.ReturnPath () { ReturnPath(); }
|
|
VirtualActionInvoker0::Invoke(23 /* System.Void Pathfinding.Path::ReturnPath() */, __this);
|
|
// void IPathInternals.ReturnPath () { ReturnPath(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.PrepareBase(Pathfinding.PathHandler)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_PrepareBase_mBC4D419B4805BDA190E4F29B9D40B0FCCF306174 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* ___0_handler, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.PrepareBase (PathHandler handler) { PrepareBase(handler); }
|
|
PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* L_0 = ___0_handler;
|
|
Path_PrepareBase_mC4C06A11184142FA79C6715EAA25519A4BD66192(__this, L_0, NULL);
|
|
// void IPathInternals.PrepareBase (PathHandler handler) { PrepareBase(handler); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.Prepare()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_Prepare_m28BE3EFA3D5F882D34599CBC89A1F588D2363DE9 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.Prepare () { Prepare(); }
|
|
VirtualActionInvoker0::Invoke(24 /* System.Void Pathfinding.Path::Prepare() */, __this);
|
|
// void IPathInternals.Prepare () { Prepare(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.Cleanup()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_Cleanup_m81AFACC491FBF58C87968B91AA0B9678CC819395 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.Cleanup () { Cleanup(); }
|
|
VirtualActionInvoker0::Invoke(25 /* System.Void Pathfinding.Path::Cleanup() */, __this);
|
|
// void IPathInternals.Cleanup () { Cleanup(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.Initialize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_Initialize_m6A06274ED2650137A3D0564CC3058B3C246BC453 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.Initialize () { Initialize(); }
|
|
VirtualActionInvoker0::Invoke(26 /* System.Void Pathfinding.Path::Initialize() */, __this);
|
|
// void IPathInternals.Initialize () { Initialize(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::Pathfinding.IPathInternals.CalculateStep(System.Int64)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path_Pathfinding_IPathInternals_CalculateStep_mB33CAE4A8A8F734C64F3566D2D5F9C1038961E8E (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int64_t ___0_targetTick, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IPathInternals.CalculateStep (long targetTick) { CalculateStep(targetTick); }
|
|
int64_t L_0 = ___0_targetTick;
|
|
VirtualActionInvoker1< int64_t >::Invoke(27 /* System.Void Pathfinding.Path::CalculateStep(System.Int64) */, __this, L_0);
|
|
// void IPathInternals.CalculateStep (long targetTick) { CalculateStep(targetTick); }
|
|
return;
|
|
}
|
|
}
|
|
// System.String Pathfinding.Path::Pathfinding.IPathInternals.DebugString(Pathfinding.PathLog)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_Pathfinding_IPathInternals_DebugString_m3F07FE61BE5397807693A993C02ED62204C74419 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_logMode, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// string IPathInternals.DebugString (PathLog logMode) { return DebugString(logMode); }
|
|
int32_t L_0 = ___0_logMode;
|
|
String_t* L_1;
|
|
L_1 = VirtualFuncInvoker1< String_t*, int32_t >::Invoke(22 /* System.String Pathfinding.Path::DebugString(Pathfinding.PathLog) */, __this, L_0);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path__ctor_m1D9F63CFC622F0877C161853252523DA35A6F395 (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// System.Object stateLock = new object();
|
|
RuntimeObject* L_0 = (RuntimeObject*)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(L_0, NULL);
|
|
__this->___stateLock_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___stateLock_4), (void*)L_0);
|
|
// public NNConstraint nnConstraint = PathNNConstraint.Default;
|
|
PathNNConstraint_tD4EC529CCAF3C78A35DF6F147DC195983505DA76* L_1;
|
|
L_1 = PathNNConstraint_get_Default_m4D87AB0993FC27983CCFD0FF96FC9461F7916874(NULL);
|
|
__this->___nnConstraint_15 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nnConstraint_15), (void*)L_1);
|
|
// public float heuristicScale = 1F;
|
|
__this->___heuristicScale_18 = (1.0f);
|
|
// public int enabledTags = -1;
|
|
__this->___enabledTags_22 = (-1);
|
|
// private List<System.Object> claimed = new List<System.Object>();
|
|
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* L_2 = (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*)il2cpp_codegen_object_new(List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690(L_2, List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_RuntimeMethod_var);
|
|
__this->___claimed_26 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___claimed_26), (void*)L_2);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Path__cctor_m95CF5FCF4D9BFFBFAC91FBE2FBBB7224941B32B2 (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*)&Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// static readonly int[] ZeroTagPenalties = new int[32];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
|
|
((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_StaticFields*)il2cpp_codegen_static_fields_for(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var))->___ZeroTagPenalties_23 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_StaticFields*)il2cpp_codegen_static_fields_for(Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A_il2cpp_TypeInfo_var))->___ZeroTagPenalties_23), (void*)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 Pathfinding.Path/<WaitForPath>d__54::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWaitForPathU3Ed__54__ctor_m947D1894B6D6008CA7C6358255CBCB45A113ECEE (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __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;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path/<WaitForPath>d__54::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWaitForPathU3Ed__54_System_IDisposable_Dispose_mF955CE6158FB1CE4AEFF28957FC5EF3EF894B7DD (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.Path/<WaitForPath>d__54::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CWaitForPathU3Ed__54_MoveNext_mD2462ED18FBF664404838513D1979C0ECB214B2F (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* V_1 = NULL;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_1 = __this->___U3CU3E4__this_2;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = V_0;
|
|
if ((((int32_t)L_3) == ((int32_t)1)))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// if (PipelineState == PathState.Created) throw new System.InvalidOperationException("This path has not been started yet");
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline(L_4, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// if (PipelineState == PathState.Created) throw new System.InvalidOperationException("This path has not been started yet");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_6 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_6);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral226C577AD08F87660F70DAA6326AC76B387850F4)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CWaitForPathU3Ed__54_MoveNext_mD2462ED18FBF664404838513D1979C0ECB214B2F_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
// while (PipelineState != PathState.Returned) yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// while (PipelineState != PathState.Returned) yield return null;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_7 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline(L_7, NULL);
|
|
if ((!(((uint32_t)L_8) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0031;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Object Pathfinding.Path/<WaitForPath>d__54::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CWaitForPathU3Ed__54_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m779553A6648CDBF16E5AC05F69E0A6ED50B4D725 (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.Path/<WaitForPath>d__54::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWaitForPathU3Ed__54_System_Collections_IEnumerator_Reset_m9D7C2E22A01ECE52A77A815D2FF541FBF26F6848 (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __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*)&U3CWaitForPathU3Ed__54_System_Collections_IEnumerator_Reset_m9D7C2E22A01ECE52A77A815D2FF541FBF26F6848_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object Pathfinding.Path/<WaitForPath>d__54::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CWaitForPathU3Ed__54_System_Collections_IEnumerator_get_Current_m810DA1157874185387CA75CEF4316EA55A735B5E (U3CWaitForPathU3Ed__54_t7E6B00B84D42728F3353DBDC4EBDDB20169BB871* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
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.UInt32 Pathfinding.PathNode::get_cost()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t PathNode_get_cost_m2F7832895C415641D680D0076BFEA78FD476A5FF (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return flags & CostMask;
|
|
uint32_t L_0 = __this->___flags_4;
|
|
return ((int32_t)((int32_t)L_0&((int32_t)268435455)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::set_cost(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_set_cost_m4F0D1036108954F1BEEE9B2F05D2B1361340DB9B (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = (flags & ~CostMask) | value;
|
|
uint32_t L_0 = __this->___flags_4;
|
|
uint32_t L_1 = ___0_value;
|
|
__this->___flags_4 = ((int32_t)(((int32_t)((int32_t)L_0&((int32_t)-268435456)))|(int32_t)L_1));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.PathNode::get_flag1()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathNode_get_flag1_m00AA9F729101A2E09DDF3F46BD4E7436F60B52FD (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flags & Flag1Mask) != 0;
|
|
uint32_t L_0 = __this->___flags_4;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&((int32_t)268435456)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::set_flag1(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_set_flag1_m65365E945A7D9B5E84135815329E8B5A874F947C (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
uint32_t G_B2_0 = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* G_B2_1 = NULL;
|
|
uint32_t G_B1_0 = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* G_B1_1 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
uint32_t G_B3_1 = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* G_B3_2 = NULL;
|
|
{
|
|
// flags = (flags & ~Flag1Mask) | (value ? Flag1Mask : 0U);
|
|
uint32_t L_0 = __this->___flags_4;
|
|
bool L_1 = ___0_value;
|
|
G_B1_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-268435457)))));
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-268435457)))));
|
|
G_B2_1 = __this;
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0018;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
G_B3_0 = ((int32_t)268435456);
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___flags_4 = ((int32_t)((int32_t)G_B3_1|G_B3_0));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.PathNode::get_flag2()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PathNode_get_flag2_mC736180A7E80447EE033429097B927B0418B5E89 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (flags & Flag2Mask) != 0;
|
|
uint32_t L_0 = __this->___flags_4;
|
|
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&((int32_t)536870912)))) <= ((uint32_t)0)))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::set_flag2(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_set_flag2_mFD251C4F3B6A314822D452F55629473C66D73AB3 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
uint32_t G_B2_0 = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* G_B2_1 = NULL;
|
|
uint32_t G_B1_0 = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* G_B1_1 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
uint32_t G_B3_1 = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* G_B3_2 = NULL;
|
|
{
|
|
// flags = (flags & ~Flag2Mask) | (value ? Flag2Mask : 0U);
|
|
uint32_t L_0 = __this->___flags_4;
|
|
bool L_1 = ___0_value;
|
|
G_B1_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-536870913)))));
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = ((uint32_t)(((int32_t)((int32_t)L_0&((int32_t)-536870913)))));
|
|
G_B2_1 = __this;
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_0018;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
G_B3_0 = ((int32_t)536870912);
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
NullCheck(G_B3_2);
|
|
G_B3_2->___flags_4 = ((int32_t)((int32_t)G_B3_1|G_B3_0));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.PathNode::get_G()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t PathNode_get_G_m0E7AE64273951DD9497FF7C653C106AE49E46DCA (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint G { get { return g; } set { g = value; } }
|
|
uint32_t L_0 = __this->___g_10;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::set_G(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_set_G_m3442A82598E500CE060A1D38E4A51B1AAF27D22B (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint G { get { return g; } set { g = value; } }
|
|
uint32_t L_0 = ___0_value;
|
|
__this->___g_10 = L_0;
|
|
// public uint G { get { return g; } set { g = value; } }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.PathNode::get_H()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t PathNode_get_H_m744D5E3A3334D37CF6C655D83D38ACD478062A68 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint H { get { return h; } set { h = value; } }
|
|
uint32_t L_0 = __this->___h_11;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::set_H(System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint H { get { return h; } set { h = value; } }
|
|
uint32_t L_0 = ___0_value;
|
|
__this->___h_11 = L_0;
|
|
// public uint H { get { return h; } set { h = value; } }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.PathNode::get_F()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t PathNode_get_F_m28D9FAC258B95CADE70FBEA7D0453166ED64A548 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint F { get { return g+h; } }
|
|
uint32_t L_0 = __this->___g_10;
|
|
uint32_t L_1 = __this->___h_11;
|
|
return ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::UpdateG(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode_UpdateG_m1FA6C1922FB9FF49CB36AE406FF4EF4E56AF3C86 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_path, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// g = parent.g + cost + path.GetTraversalCost(node);
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_0 = __this->___parent_1;
|
|
NullCheck(L_0);
|
|
uint32_t L_1 = L_0->___g_10;
|
|
uint32_t L_2;
|
|
L_2 = PathNode_get_cost_m2F7832895C415641D680D0076BFEA78FD476A5FF(__this, NULL);
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_3 = ___0_path;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = __this->___node_0;
|
|
NullCheck(L_3);
|
|
uint32_t L_5;
|
|
L_5 = Path_GetTraversalCost_mC9C3D703DF4EB5AF7B3B8C61CD7F952063E4D1B1(L_3, L_4, NULL);
|
|
__this->___g_10 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_2)), (int32_t)L_5));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathNode::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathNode__ctor_m10FE50BD2C5A48657DF99F0353A9D887A5E19026 (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort heapIndex = BinaryHeap.NotInHeap;
|
|
__this->___heapIndex_3 = (uint16_t)((int32_t)65535);
|
|
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.UInt16 Pathfinding.PathHandler::get_PathID()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort PathID { get { return pathID; } }
|
|
uint16_t L_0 = __this->___pathID_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathHandler::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler__ctor_m74609E7430123DF00B84CCA212F28B3A6EFC8471 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, int32_t ___0_threadID, int32_t ___1_totalThreadCount, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public readonly BinaryHeap heap = new BinaryHeap(128);
|
|
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_0 = (BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A*)il2cpp_codegen_object_new(BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
BinaryHeap__ctor_m691C935A39E8D01859A51EA2C00EB2E1B5B7A9F7(L_0, ((int32_t)128), NULL);
|
|
__this->___heap_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___heap_3), (void*)L_0);
|
|
// public PathNode[] nodes = new PathNode[0];
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_1 = (PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F*)(PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F*)SZArrayNew(PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
__this->___nodes_4 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_4), (void*)L_1);
|
|
// public readonly System.Text.StringBuilder DebugStringBuilder = new System.Text.StringBuilder();
|
|
StringBuilder_t* L_2 = (StringBuilder_t*)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
StringBuilder__ctor_m1D99713357DE05DAFA296633639DB55F8C30587D(L_2, NULL);
|
|
__this->___DebugStringBuilder_5 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___DebugStringBuilder_5), (void*)L_2);
|
|
// public PathHandler (int threadID, int totalThreadCount) {
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// this.threadID = threadID;
|
|
int32_t L_3 = ___0_threadID;
|
|
__this->___threadID_1 = L_3;
|
|
// this.totalThreadCount = totalThreadCount;
|
|
int32_t L_4 = ___1_totalThreadCount;
|
|
__this->___totalThreadCount_2 = L_4;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathHandler::InitializeForPath(Pathfinding.Path)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_InitializeForPath_mA2B36824C7E5BAB511CAC7B15EF2F1C22BC6D3B7 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// pathID = p.pathID;
|
|
Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* L_0 = ___0_p;
|
|
NullCheck(L_0);
|
|
uint16_t L_1;
|
|
L_1 = Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline(L_0, NULL);
|
|
__this->___pathID_0 = L_1;
|
|
// heap.Clear();
|
|
BinaryHeap_tFAB87F2B7060A873094B4831B816E60C22FD249A* L_2 = __this->___heap_3;
|
|
NullCheck(L_2);
|
|
BinaryHeap_Clear_m809DA2C5784270DE1CE83123B867C1C427C3345C(L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathHandler::DestroyNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_DestroyNode_m3D987420EDBACCBBBAF997F6D9E5E63660D0F919 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// PathNode pn = GetPathNode(node);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_1;
|
|
L_1 = PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879(__this, L_0, NULL);
|
|
// pn.node = null;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_2 = L_1;
|
|
NullCheck(L_2);
|
|
L_2->___node_0 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___node_0), (void*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
|
|
// pn.parent = null;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_3 = L_2;
|
|
NullCheck(L_3);
|
|
L_3->___parent_1 = (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___parent_1), (void*)(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)NULL);
|
|
// pn.pathID = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
L_4->___pathID_2 = (uint16_t)0;
|
|
// pn.G = 0;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_5 = L_4;
|
|
NullCheck(L_5);
|
|
PathNode_set_G_m3442A82598E500CE060A1D38E4A51B1AAF27D22B_inline(L_5, 0, NULL);
|
|
// pn.H = 0;
|
|
NullCheck(L_5);
|
|
PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline(L_5, 0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathHandler::InitializeNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_InitializeNode_m7B8415CA68528C025A3F2BFB20E5236052A1630D (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, 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*)&PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// int ind = node.NodeIndex;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532(L_0, NULL);
|
|
V_0 = L_1;
|
|
// if (ind >= nodes.Length) {
|
|
int32_t L_2 = V_0;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_3 = __this->___nodes_4;
|
|
NullCheck(L_3);
|
|
if ((((int32_t)L_2) < ((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// PathNode[] newNodes = new PathNode[System.Math.Max(128, nodes.Length*2)];
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_4 = __this->___nodes_4;
|
|
NullCheck(L_4);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_5;
|
|
L_5 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(((int32_t)128), ((int32_t)il2cpp_codegen_multiply(((int32_t)(((RuntimeArray*)L_4)->max_length)), 2)), NULL);
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_6 = (PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F*)(PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F*)SZArrayNew(PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F_il2cpp_TypeInfo_var, (uint32_t)L_5);
|
|
V_1 = L_6;
|
|
// nodes.CopyTo(newNodes, 0);
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_7 = __this->___nodes_4;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_8 = V_1;
|
|
NullCheck((RuntimeArray*)L_7);
|
|
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_7, (RuntimeArray*)L_8, 0, NULL);
|
|
// for (int i = nodes.Length; i < newNodes.Length; i++) newNodes[i] = new PathNode();
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_9 = __this->___nodes_4;
|
|
NullCheck(L_9);
|
|
V_2 = ((int32_t)(((RuntimeArray*)L_9)->max_length));
|
|
goto IL_0050;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// for (int i = nodes.Length; i < newNodes.Length; i++) newNodes[i] = new PathNode();
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_10 = V_1;
|
|
int32_t L_11 = V_2;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_12 = (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)il2cpp_codegen_object_new(PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A_il2cpp_TypeInfo_var);
|
|
NullCheck(L_12);
|
|
PathNode__ctor_m10FE50BD2C5A48657DF99F0353A9D887A5E19026(L_12, NULL);
|
|
NullCheck(L_10);
|
|
ArrayElementTypeCheck (L_10, L_12);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A*)L_12);
|
|
// for (int i = nodes.Length; i < newNodes.Length; i++) newNodes[i] = new PathNode();
|
|
int32_t L_13 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// for (int i = nodes.Length; i < newNodes.Length; i++) newNodes[i] = new PathNode();
|
|
int32_t L_14 = V_2;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_15 = V_1;
|
|
NullCheck(L_15);
|
|
if ((((int32_t)L_14) < ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))))
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// nodes = newNodes;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_16 = V_1;
|
|
__this->___nodes_4 = L_16;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_4), (void*)L_16);
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// nodes[ind].node = node;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_17 = __this->___nodes_4;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = L_18;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_21 = ___0_node;
|
|
NullCheck(L_20);
|
|
L_20->___node_0 = L_21;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_20->___node_0), (void*)L_21);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.PathNode Pathfinding.PathHandler::GetPathNode(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* PathHandler_GetPathNode_m8B0F028B65232B2A10F2A7A61C56D8CFF41D6B41 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, int32_t ___0_nodeIndex, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return nodes[nodeIndex];
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_0 = __this->___nodes_4;
|
|
int32_t L_1 = ___0_nodeIndex;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
return L_3;
|
|
}
|
|
}
|
|
// Pathfinding.PathNode Pathfinding.PathHandler::GetPathNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* PathHandler_GetPathNode_mB0C878D58DE62369AF0843FA14AA078251CB2879 (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return nodes[node.NodeIndex];
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_0 = __this->___nodes_4;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_node;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = GraphNode_get_NodeIndex_m0C1ABD402641993CE78427C724352DE9B459B532(L_1, NULL);
|
|
NullCheck(L_0);
|
|
int32_t L_3 = L_2;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_4 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.PathHandler::ClearPathIDs()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PathHandler_ClearPathIDs_m2F5E23B4E9A681DC6ABD2008F0B838C0FA3F77DF (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0020;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// if (nodes[i] != null) nodes[i].pathID = 0;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_0 = __this->___nodes_4;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
if (!L_3)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// if (nodes[i] != null) nodes[i].pathID = 0;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_4 = __this->___nodes_4;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
L_7->___pathID_2 = (uint16_t)0;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_8 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_9 = V_0;
|
|
PathNodeU5BU5D_t9BC1FD00DE9E5BEB670380DD944C9F13DE87507F* L_10 = __this->___nodes_4;
|
|
NullCheck(L_10);
|
|
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
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 Pathfinding.TargetMover::Start()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetMover_Start_m7EEE2A79B29AC7CA7122B6EBCAE54D494CDED94D (TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_OfType_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m9689B236ECCE8C65FE02731208EAD4E73C9D2A6B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_ToArray_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m603BA72AE08F0DD04D1E17F56B0FC1831417C3C4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_FindObjectsOfType_TisMonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_mDF62FF06EFCF4912EC4EA0E6AB3CFEF74507E58C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// cam = Camera.main;
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_0;
|
|
L_0 = Camera_get_main_m52C992F18E05355ABB9EEB64A4BF2215E12762DF(NULL);
|
|
__this->___cam_9 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___cam_9), (void*)L_0);
|
|
// ais = FindObjectsOfType<MonoBehaviour>().OfType<IAstarAI>().ToArray();
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
MonoBehaviourU5BU5D_tEB91860B3CEE2D63A7833A2842EB9CE4547DDBD7* L_1;
|
|
L_1 = Object_FindObjectsOfType_TisMonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_mDF62FF06EFCF4912EC4EA0E6AB3CFEF74507E58C(Object_FindObjectsOfType_TisMonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71_mDF62FF06EFCF4912EC4EA0E6AB3CFEF74507E58C_RuntimeMethod_var);
|
|
RuntimeObject* L_2;
|
|
L_2 = Enumerable_OfType_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m9689B236ECCE8C65FE02731208EAD4E73C9D2A6B((RuntimeObject*)L_1, Enumerable_OfType_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m9689B236ECCE8C65FE02731208EAD4E73C9D2A6B_RuntimeMethod_var);
|
|
IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* L_3;
|
|
L_3 = Enumerable_ToArray_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m603BA72AE08F0DD04D1E17F56B0FC1831417C3C4(L_2, Enumerable_ToArray_TisIAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_m603BA72AE08F0DD04D1E17F56B0FC1831417C3C4_RuntimeMethod_var);
|
|
__this->___ais_6 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ais_6), (void*)L_3);
|
|
// useGUILayout = false;
|
|
MonoBehaviour_set_useGUILayout_m56F0C62F4B6889D7472074ECCB56EBA462285134(__this, (bool)0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.TargetMover::OnGUI()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetMover_OnGUI_m9F30BBB41E82B41A4104CFE380D08598509FBEAD (TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (onlyOnDoubleClick && cam != null && Event.current.type == EventType.MouseDown && Event.current.clickCount == 2) {
|
|
bool L_0 = __this->___onlyOnDoubleClick_7;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_1 = __this->___cam_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* L_3;
|
|
L_3 = Event_get_current_mBD7135E10C392EAD61AC0A0D2489EF758C8A3FAD(NULL);
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = Event_get_type_m8A825D6DA432B967DAA3E22E5C8571620A75F8A8(L_3, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* L_5;
|
|
L_5 = Event_get_current_mBD7135E10C392EAD61AC0A0D2489EF758C8A3FAD(NULL);
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = Event_get_clickCount_mEF418EB4A36318F07E5F3463E4E5E8A4C454DE7D(L_5, NULL);
|
|
if ((!(((uint32_t)L_6) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// UpdateTargetPosition();
|
|
TargetMover_UpdateTargetPosition_m5824ACB069D9B82BADAB03CB500BB3C0B8034905(__this, NULL);
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.TargetMover::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetMover_Update_mE5CAE9FA83F94566D5F1F2E2F7EE5703F2FEDF1F (TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!onlyOnDoubleClick && cam != null) {
|
|
bool L_0 = __this->___onlyOnDoubleClick_7;
|
|
if (L_0)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_1 = __this->___cam_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// UpdateTargetPosition();
|
|
TargetMover_UpdateTargetPosition_m5824ACB069D9B82BADAB03CB500BB3C0B8034905(__this, NULL);
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.TargetMover::UpdateTargetPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetMover_UpdateTargetPosition_m5824ACB069D9B82BADAB03CB500BB3C0B8034905 (TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
bool V_1 = false;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
{
|
|
// Vector3 newPosition = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_0 = L_0;
|
|
// bool positionFound = false;
|
|
V_1 = (bool)0;
|
|
// if (use2D) {
|
|
bool L_1 = __this->___use2D_8;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0031;
|
|
}
|
|
}
|
|
{
|
|
// newPosition = cam.ScreenToWorldPoint(Input.mousePosition);
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_2 = __this->___cam_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Input_get_mousePosition_mFF21FBD2647DAE2A23BD4C45571CA95D05A0A42C(NULL);
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Camera_ScreenToWorldPoint_m5EA3148F070985EC72127AAC3448D8D6ABE6E7E5(L_2, L_3, NULL);
|
|
V_0 = L_4;
|
|
// newPosition.z = 0;
|
|
(&V_0)->___z_4 = (0.0f);
|
|
// positionFound = true;
|
|
V_1 = (bool)1;
|
|
goto IL_0064;
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
// if (Physics.Raycast(cam.ScreenPointToRay(Input.mousePosition), out hit, Mathf.Infinity, mask)) {
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* L_5 = __this->___cam_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Input_get_mousePosition_mFF21FBD2647DAE2A23BD4C45571CA95D05A0A42C(NULL);
|
|
NullCheck(L_5);
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_7;
|
|
L_7 = Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315(L_5, L_6, NULL);
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_8 = __this->___mask_4;
|
|
int32_t L_9;
|
|
L_9 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_8, NULL);
|
|
bool L_10;
|
|
L_10 = Physics_Raycast_m34AC1210E893A9EF969BD2C7104B10BE5B580025(L_7, (&V_2), (std::numeric_limits<float>::infinity()), L_9, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// newPosition = hit.point;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39((&V_2), NULL);
|
|
V_0 = L_11;
|
|
// positionFound = true;
|
|
V_1 = (bool)1;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// if (positionFound && newPosition != target.position) {
|
|
bool L_12 = V_1;
|
|
if (!L_12)
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_14 = __this->___target_5;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_14, NULL);
|
|
bool L_16;
|
|
L_16 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_13, L_15, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
// target.position = newPosition;
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17 = __this->___target_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = V_0;
|
|
NullCheck(L_17);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_17, L_18, NULL);
|
|
// if (onlyOnDoubleClick) {
|
|
bool L_19 = __this->___onlyOnDoubleClick_7;
|
|
if (!L_19)
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < ais.Length; i++) {
|
|
V_3 = 0;
|
|
goto IL_00ad;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// if (ais[i] != null) ais[i].SearchPath();
|
|
IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* L_20 = __this->___ais_6;
|
|
int32_t L_21 = V_3;
|
|
NullCheck(L_20);
|
|
int32_t L_22 = L_21;
|
|
RuntimeObject* L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
if (!L_23)
|
|
{
|
|
goto IL_00a9;
|
|
}
|
|
}
|
|
{
|
|
// if (ais[i] != null) ais[i].SearchPath();
|
|
IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* L_24 = __this->___ais_6;
|
|
int32_t L_25 = V_3;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
RuntimeObject* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
NullCheck(L_27);
|
|
InterfaceActionInvoker0::Invoke(28 /* System.Void Pathfinding.IAstarAI::SearchPath() */, IAstarAI_t03F71956A99FA83F0E00225A59B301459306E4D8_il2cpp_TypeInfo_var, L_27);
|
|
}
|
|
|
|
IL_00a9:
|
|
{
|
|
// for (int i = 0; i < ais.Length; i++) {
|
|
int32_t L_28 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// for (int i = 0; i < ais.Length; i++) {
|
|
int32_t L_29 = V_3;
|
|
IAstarAIU5BU5D_t32E00116FD59CA52135CCAD84F68DBFDE3FE4514* L_30 = __this->___ais_6;
|
|
NullCheck(L_30);
|
|
if ((((int32_t)L_29) < ((int32_t)((int32_t)(((RuntimeArray*)L_30)->max_length)))))
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.TargetMover::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TargetMover__ctor_mC780C0507E987DB3DD02293A28FA0170F3E1C7D3 (TargetMover_tAB712166613A09B4AD7DEACACC0A3B0B7FC20CEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__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.Boolean Pathfinding.NavGraph::get_exists()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NavGraph_get_exists_m23804C86FA01D73BB6E1475DF1A2597EBB94AB9A (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// internal bool exists { get { return active != null; } }
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = __this->___active_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.NavGraph::CountNodes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavGraph_CountNodes_m490E6E0011A43834764555ADF9B77D36F79F8A98 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass11_0_U3CCountNodesU3Eb__0_m91550D015325CED0309495185C112C1A28D57D6F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* L_0 = (U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass11_0__ctor_mF41D6D3AF3F103EEC29E9C6ED77F535B46F4ACB7(L_0, NULL);
|
|
V_0 = L_0;
|
|
// int count = 0;
|
|
U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
L_1->___count_0 = 0;
|
|
// GetNodes(node => count++);
|
|
U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* L_2 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_3 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_3, L_2, (intptr_t)((void*)U3CU3Ec__DisplayClass11_0_U3CCountNodesU3Eb__0_m91550D015325CED0309495185C112C1A28D57D6F_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_3);
|
|
// return count;
|
|
U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_5 = L_4->___count_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::GetNodes(System.Func`2<Pathfinding.GraphNode,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_GetNodes_m87E0AAB94BA325607E7707ABE01C51163B8EBB50 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* ___0_action, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass12_0_U3CGetNodesU3Eb__0_mE5B742D9E0D11FA186E6FD447D5704AA9E2BDAD1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* L_0 = (U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass12_0__ctor_m10E7CC41EDD9472074850B2093CE0C420F6F7A38(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* L_1 = V_0;
|
|
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_2 = ___0_action;
|
|
NullCheck(L_1);
|
|
L_1->___action_1 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___action_1), (void*)L_2);
|
|
// bool cont = true;
|
|
U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
L_3->___cont_0 = (bool)1;
|
|
// GetNodes(node => {
|
|
// if (cont) cont &= action(node);
|
|
// });
|
|
U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* L_4 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_5 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_5, L_4, (intptr_t)((void*)U3CU3Ec__DisplayClass12_0_U3CGetNodesU3Eb__0_mE5B742D9E0D11FA186E6FD447D5704AA9E2BDAD1_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_5);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::SetMatrix(UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_SetMatrix_mA68521DE91AFAA2782853BD190F0F4D9B75A5824 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_m, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// matrix = m;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ___0_m;
|
|
__this->___matrix_9 = L_0;
|
|
// inverseMatrix = m.inverse;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1;
|
|
L_1 = Matrix4x4_get_inverse_m4F4A881CD789281EA90EB68CFD39F36C8A81E6BD((&___0_m), NULL);
|
|
__this->___inverseMatrix_10 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::RelocateNodes(UnityEngine.Matrix4x4,UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_RelocateNodes_mED9A4B52DCB7055237B9209CB8E5B740F78EA374 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_oldMatrix, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___1_newMatrix, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// RelocateNodes(newMatrix * oldMatrix.inverse);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ___1_newMatrix;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1;
|
|
L_1 = Matrix4x4_get_inverse_m4F4A881CD789281EA90EB68CFD39F36C8A81E6BD((&___0_oldMatrix), NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_2;
|
|
L_2 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(L_0, L_1, NULL);
|
|
VirtualActionInvoker1< Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 >::Invoke(15 /* System.Void Pathfinding.NavGraph::RelocateNodes(UnityEngine.Matrix4x4) */, __this, L_2);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::RelocateNodes(UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_RelocateNodes_m5B704FE4D364C894665619FABA57CA257B159D88 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_deltaMatrix, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass18_0_U3CRelocateNodesU3Eb__0_m9B916973F17690B42602F772825A20609087C39E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* L_0 = (U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass18_0__ctor_mF2A09316DEA576C4263D56F7E47938FFB3F55029(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* L_1 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_2 = ___0_deltaMatrix;
|
|
NullCheck(L_1);
|
|
L_1->___deltaMatrix_0 = L_2;
|
|
// GetNodes(node => node.position = ((Int3)deltaMatrix.MultiplyPoint((Vector3)node.position)));
|
|
U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* L_3 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_4 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_4, L_3, (intptr_t)((void*)U3CU3Ec__DisplayClass18_0_U3CRelocateNodesU3Eb__0_m9B916973F17690B42602F772825A20609087C39E_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_4);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearest(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavGraph_GetNearest_mBEDF1B1B308FE31E64F0575EDE4F54D33D51AD38 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNearest(position, NNConstraint.None);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1;
|
|
L_1 = NNConstraint_get_None_m64D379ED16BA6D507F7A3837557A44C519FA4811(NULL);
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_2;
|
|
L_2 = NavGraph_GetNearest_m708159D21DAA4F54ED2592F2C6AEB07E49215416(__this, L_0, L_1, NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavGraph_GetNearest_m708159D21DAA4F54ED2592F2C6AEB07E49215416 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNearest(position, constraint, null);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = ___1_constraint;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_2;
|
|
L_2 = VirtualFuncInvoker3< NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5*, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(16 /* Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint,Pathfinding.GraphNode) */, __this, L_0, L_1, (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint,Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavGraph_GetNearest_mA0DDE43A6C2246327A7C38F2E1CCAB1DCBCB1CF3 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___2_hint, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass21_0_U3CGetNearestU3Eb__0_mEECD6D230EBC50EADEBB44A79F17264508BB0165_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* V_0 = NULL;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* G_B3_0 = NULL;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* G_B1_0 = NULL;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* G_B2_0 = NULL;
|
|
float G_B4_0 = 0.0f;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* G_B4_1 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_0 = (U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass21_0__ctor_mD9D3C7D9ECE5A2203BA837914759CE7F15EE0AED(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_1 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
|
|
NullCheck(L_1);
|
|
L_1->___position_0 = L_2;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_3 = V_0;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_4 = ___1_constraint;
|
|
NullCheck(L_3);
|
|
L_3->___constraint_5 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___constraint_5), (void*)L_4);
|
|
// float maxDistSqr = constraint == null || constraint.constrainDistance ? AstarPath.active.maxNearestNodeDistanceSqr : float.PositiveInfinity;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_5 = V_0;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_7 = L_6->___constraint_5;
|
|
G_B1_0 = L_5;
|
|
if (!L_7)
|
|
{
|
|
G_B3_0 = L_5;
|
|
goto IL_0031;
|
|
}
|
|
}
|
|
{
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_9 = L_8->___constraint_5;
|
|
NullCheck(L_9);
|
|
bool L_10 = L_9->___constrainDistance_8;
|
|
G_B2_0 = G_B1_0;
|
|
if (L_10)
|
|
{
|
|
G_B3_0 = G_B1_0;
|
|
goto IL_0031;
|
|
}
|
|
}
|
|
{
|
|
G_B4_0 = (std::numeric_limits<float>::infinity());
|
|
G_B4_1 = G_B2_0;
|
|
goto IL_003b;
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_11 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_11);
|
|
float L_12;
|
|
L_12 = AstarPath_get_maxNearestNodeDistanceSqr_mFED817A3319393CD0214F4C95AC9A38475AA75B0(L_11, NULL);
|
|
G_B4_0 = L_12;
|
|
G_B4_1 = G_B3_0;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
NullCheck(G_B4_1);
|
|
G_B4_1->___maxDistSqr_4 = G_B4_0;
|
|
// float minDist = float.PositiveInfinity;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_13 = V_0;
|
|
NullCheck(L_13);
|
|
L_13->___minDist_1 = (std::numeric_limits<float>::infinity());
|
|
// GraphNode minNode = null;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_14 = V_0;
|
|
NullCheck(L_14);
|
|
L_14->___minNode_2 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_14->___minNode_2), (void*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
|
|
// float minConstDist = float.PositiveInfinity;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_15 = V_0;
|
|
NullCheck(L_15);
|
|
L_15->___minConstDist_3 = (std::numeric_limits<float>::infinity());
|
|
// GraphNode minConstNode = null;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_16 = V_0;
|
|
NullCheck(L_16);
|
|
L_16->___minConstNode_6 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_16->___minConstNode_6), (void*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
|
|
// GetNodes(node => {
|
|
// float dist = (position-(Vector3)node.position).sqrMagnitude;
|
|
//
|
|
// if (dist < minDist) {
|
|
// minDist = dist;
|
|
// minNode = node;
|
|
// }
|
|
//
|
|
// if (dist < minConstDist && dist < maxDistSqr && (constraint == null || constraint.Suitable(node))) {
|
|
// minConstDist = dist;
|
|
// minConstNode = node;
|
|
// }
|
|
// });
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_17 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_18 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_18);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_18, L_17, (intptr_t)((void*)U3CU3Ec__DisplayClass21_0_U3CGetNearestU3Eb__0_mEECD6D230EBC50EADEBB44A79F17264508BB0165_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_18);
|
|
// var nnInfo = new NNInfoInternal(minNode);
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_19 = V_0;
|
|
NullCheck(L_19);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_20 = L_19->___minNode_2;
|
|
NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1((&V_1), L_20, NULL);
|
|
// nnInfo.constrainedNode = minConstNode;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_21 = V_0;
|
|
NullCheck(L_21);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22 = L_21->___minConstNode_6;
|
|
(&V_1)->___constrainedNode_1 = L_22;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_1)->___constrainedNode_1), (void*)L_22);
|
|
// if (minConstNode != null) {
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_23 = V_0;
|
|
NullCheck(L_23);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_24 = L_23->___minConstNode_6;
|
|
if (!L_24)
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// nnInfo.constClampedPosition = (Vector3)minConstNode.position;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_25 = V_0;
|
|
NullCheck(L_25);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_26 = L_25->___minConstNode_6;
|
|
NullCheck(L_26);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_27 = L_26->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_27, NULL);
|
|
(&V_1)->___constClampedPosition_3 = L_28;
|
|
goto IL_00dd;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// } else if (minNode != null) {
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_29 = V_0;
|
|
NullCheck(L_29);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_30 = L_29->___minNode_2;
|
|
if (!L_30)
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// nnInfo.constrainedNode = minNode;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_31 = V_0;
|
|
NullCheck(L_31);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_32 = L_31->___minNode_2;
|
|
(&V_1)->___constrainedNode_1 = L_32;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_1)->___constrainedNode_1), (void*)L_32);
|
|
// nnInfo.constClampedPosition = (Vector3)minNode.position;
|
|
U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* L_33 = V_0;
|
|
NullCheck(L_33);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_34 = L_33->___minNode_2;
|
|
NullCheck(L_34);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_35 = L_34->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_35, NULL);
|
|
(&V_1)->___constClampedPosition_3 = L_36;
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// return nnInfo;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_37 = V_1;
|
|
return L_37;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearestForce(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavGraph_GetNearestForce_m331EB944D43E6AEB6765357CDE4DC6A7D8FE0C46 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNearest(position, constraint);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = ___1_constraint;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_2;
|
|
L_2 = NavGraph_GetNearest_m708159D21DAA4F54ED2592F2C6AEB07E49215416(__this, L_0, L_1, NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_OnDestroy_m968A86AF2585EC3929586B733DE68CE929484EFC (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// DestroyAllNodes();
|
|
VirtualActionInvoker0::Invoke(19 /* System.Void Pathfinding.NavGraph::DestroyAllNodes() */, __this);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::DestroyAllNodes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DestroyAllNodes_mE71588C7CE47FEF72DBDF770AA5663DECA8E1D3A (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3CDestroyAllNodesU3Eb__24_0_mEE4E6D221C86270DEDDA84110EA0F5CDA4E57DBA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* G_B2_0 = NULL;
|
|
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* G_B2_1 = NULL;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* G_B1_0 = NULL;
|
|
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* G_B1_1 = NULL;
|
|
{
|
|
// GetNodes(node => node.Destroy());
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_0 = ((U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var))->___U3CU3E9__24_0_1;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = L_0;
|
|
G_B1_0 = L_1;
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_1;
|
|
G_B2_1 = __this;
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var);
|
|
U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194* L_2 = ((U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var))->___U3CU3E9_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_3 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_3, L_2, (intptr_t)((void*)U3CU3Ec_U3CDestroyAllNodesU3Eb__24_0_mEE4E6D221C86270DEDDA84110EA0F5CDA4E57DBA_RuntimeMethod_var), NULL);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_4 = L_3;
|
|
((U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var))->___U3CU3E9__24_0_1 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var))->___U3CU3E9__24_0_1), (void*)L_4);
|
|
G_B2_0 = L_4;
|
|
G_B2_1 = G_B1_1;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
NullCheck(G_B2_1);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, G_B2_1, G_B2_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::ScanGraph()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_ScanGraph_mC4C4F85A6381FF8A36705B26AF68295A84D711AF (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Scan();
|
|
NavGraph_Scan_m4605013BDBD87C4F82790C25C5468D6CEB3B582E(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Scan()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Scan_m4605013BDBD87C4F82790C25C5468D6CEB3B582E (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// active.Scan(this);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = __this->___active_0;
|
|
NullCheck(L_0);
|
|
AstarPath_Scan_mE593853C6A25DBC3969D591FA59AF0DA6375F38E(L_0, __this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::SerializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_SerializeExtraInfo_m3DF5B7404915EC4C3FF99C06A5847FD0ACA02494 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::DeserializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DeserializeExtraInfo_m2C253719FE8A4E5CBD1E8133188DDC49AC9E9104 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::PostDeserialization(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_PostDeserialization_m33A4CA11FC757DBB479DE5920D755ACC4FC4A864 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DeserializeSettingsCompatibility_m4EDCD5F5616313CD38308D2D5072FB53568092DB (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// guid = new Guid(ctx.reader.ReadBytes(16));
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
|
|
NullCheck(L_1);
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_2;
|
|
L_2 = VirtualFuncInvoker1< ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*, int32_t >::Invoke(25 /* System.Byte[] System.IO.BinaryReader::ReadBytes(System.Int32) */, L_1, ((int32_t)16));
|
|
Guid_tBC9E5F061A2D2C250FE723BF5874F7DFCE0A983A L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Guid__ctor_mFD7BF76A57089492CF8A7A37D3BD0EFEFD927BBC((&L_3), L_2, /*hidden argument*/NULL);
|
|
__this->___guid_1 = L_3;
|
|
// initialPenalty = ctx.reader.ReadUInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_4 = ___0_ctx;
|
|
NullCheck(L_4);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_5 = L_4->___reader_1;
|
|
NullCheck(L_5);
|
|
uint32_t L_6;
|
|
L_6 = VirtualFuncInvoker0< uint32_t >::Invoke(16 /* System.UInt32 System.IO.BinaryReader::ReadUInt32() */, L_5);
|
|
__this->___initialPenalty_2 = L_6;
|
|
// open = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_7 = ___0_ctx;
|
|
NullCheck(L_7);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_8 = L_7->___reader_1;
|
|
NullCheck(L_8);
|
|
bool L_9;
|
|
L_9 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_8);
|
|
__this->___open_3 = L_9;
|
|
// name = ctx.reader.ReadString();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
|
|
NullCheck(L_10);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_11 = L_10->___reader_1;
|
|
NullCheck(L_11);
|
|
String_t* L_12;
|
|
L_12 = VirtualFuncInvoker0< String_t* >::Invoke(22 /* System.String System.IO.BinaryReader::ReadString() */, L_11);
|
|
__this->___name_5 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___name_5), (void*)L_12);
|
|
// drawGizmos = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_13 = ___0_ctx;
|
|
NullCheck(L_13);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_14 = L_13->___reader_1;
|
|
NullCheck(L_14);
|
|
bool L_15;
|
|
L_15 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_14);
|
|
__this->___drawGizmos_6 = L_15;
|
|
// infoScreenOpen = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_16 = ___0_ctx;
|
|
NullCheck(L_16);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_17 = L_16->___reader_1;
|
|
NullCheck(L_17);
|
|
bool L_18;
|
|
L_18 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_17);
|
|
__this->___infoScreenOpen_7 = L_18;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::OnDrawGizmos(Pathfinding.Util.RetainedGizmos,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_OnDrawGizmos_m106E55ACEFF0F6805759BFAB91B9AA098CEB21BB (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* ___0_gizmos, bool ___1_drawNodes, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphGizmoHelper_DrawConnections_m4755A762AF5496F1FFC2FEEDC49C8C7BD0005E58_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass32_0_U3COnDrawGizmosU3Eb__0_mB3FC9C3CCE93E83B017DD3E9BBF5E9F5F7592DC4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* V_0 = NULL;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* V_1 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* L_0 = (U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass32_0__ctor_m85B17B81740EFD5D0A2AA4FF89F0A0CB0A922D5F(L_0, NULL);
|
|
V_0 = L_0;
|
|
// if (!drawNodes) {
|
|
bool L_1 = ___1_drawNodes;
|
|
if (L_1)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// var hasher = new RetainedGizmos.Hasher(active);
|
|
U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* L_2 = V_0;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_3 = __this->___active_0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Hasher__ctor_m25E88DB00502DF7D65073E1CF46CD641400E0280((&L_4), L_3, /*hidden argument*/NULL);
|
|
NullCheck(L_2);
|
|
L_2->___hasher_0 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&L_2->___hasher_0))->___debugData_3), (void*)NULL);
|
|
// GetNodes(node => hasher.HashNode(node));
|
|
U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* L_5 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_6 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_6, L_5, (intptr_t)((void*)U3CU3Ec__DisplayClass32_0_U3COnDrawGizmosU3Eb__0_mB3FC9C3CCE93E83B017DD3E9BBF5E9F5F7592DC4_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_6);
|
|
// if (!gizmos.Draw(hasher)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_7 = ___0_gizmos;
|
|
U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_9 = L_8->___hasher_0;
|
|
NullCheck(L_7);
|
|
bool L_10;
|
|
L_10 = RetainedGizmos_Draw_m40981AE44C3717C1CE9A13BD49BAA2D58A6B42B3(L_7, L_9, NULL);
|
|
if (L_10)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// using (var helper = gizmos.GetGizmoHelper(active, hasher)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_11 = ___0_gizmos;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_12 = __this->___active_0;
|
|
U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* L_13 = V_0;
|
|
NullCheck(L_13);
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_14 = L_13->___hasher_0;
|
|
NullCheck(L_11);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_15;
|
|
L_15 = RetainedGizmos_GetGizmoHelper_mB46B01229353232A3BC7C5E43EB59BAC4B0961F4(L_11, L_12, L_14, NULL);
|
|
V_1 = L_15;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0062:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_16 = V_1;
|
|
if (!L_16)
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_17 = V_1;
|
|
NullCheck(L_17);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_17);
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
// GetNodes((System.Action<GraphNode>)helper.DrawConnections);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_18 = V_1;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_19 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_19);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_19, L_18, (intptr_t)((void*)GraphGizmoHelper_DrawConnections_m4755A762AF5496F1FFC2FEEDC49C8C7BD0005E58_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_19);
|
|
// }
|
|
goto IL_006c;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// if (active.showUnwalkableNodes) DrawUnwalkableNodes(active.unwalkableNodeDebugSize);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_20 = __this->___active_0;
|
|
NullCheck(L_20);
|
|
bool L_21 = L_20->___showUnwalkableNodes_11;
|
|
if (!L_21)
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// if (active.showUnwalkableNodes) DrawUnwalkableNodes(active.unwalkableNodeDebugSize);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_22 = __this->___active_0;
|
|
NullCheck(L_22);
|
|
float L_23 = L_22->___unwalkableNodeDebugSize_17;
|
|
NavGraph_DrawUnwalkableNodes_m051B14CF783BEBA83CA553553DC0C5E536D3ECF6(__this, L_23, NULL);
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::DrawUnwalkableNodes(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_DrawUnwalkableNodes_m051B14CF783BEBA83CA553553DC0C5E536D3ECF6 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, float ___0_size, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass33_0_U3CDrawUnwalkableNodesU3Eb__0_mCCA81716C727D662FA8DE65AF222AE4E5F5C1921_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* L_0 = (U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass33_0__ctor_m68F72FAA1D3C13A701E2A6CFF02ED96CC2A0EB23(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* L_1 = V_0;
|
|
float L_2 = ___0_size;
|
|
NullCheck(L_1);
|
|
L_1->___size_0 = L_2;
|
|
// Gizmos.color = AstarColor.UnwalkableNode;
|
|
il2cpp_codegen_runtime_class_init_inline(AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632_il2cpp_TypeInfo_var);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_3 = ((AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632_StaticFields*)il2cpp_codegen_static_fields_for(AstarColor_tFAF4A7D142159E29F255628637572A2C7623F632_il2cpp_TypeInfo_var))->___UnwalkableNode_8;
|
|
Gizmos_set_color_m53927A2741937484180B20B55F7F20F8F60C5797(L_3, NULL);
|
|
// GetNodes(node => {
|
|
// if (!node.Walkable) Gizmos.DrawCube((Vector3)node.position, Vector3.one*size);
|
|
// });
|
|
U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* L_4 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_5 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_5, L_4, (intptr_t)((void*)U3CU3Ec__DisplayClass33_0_U3CDrawUnwalkableNodesU3Eb__0_mCCA81716C727D662FA8DE65AF222AE4E5F5C1921_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_5);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.String Pathfinding.NavGraph::Pathfinding.IGraphInternals.get_SerializedEditorSettings()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NavGraph_Pathfinding_IGraphInternals_get_SerializedEditorSettings_mFB3558E2D27FAEFFAC44EA845DB417970BDC7390 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// string IGraphInternals.SerializedEditorSettings { get { return serializedEditorSettings; } set { serializedEditorSettings = value; } }
|
|
String_t* L_0 = __this->___serializedEditorSettings_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.set_SerializedEditorSettings(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_set_SerializedEditorSettings_m8C6BADE92E33DBF3E9851B48FD73A184DCE73B52 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, String_t* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// string IGraphInternals.SerializedEditorSettings { get { return serializedEditorSettings; } set { serializedEditorSettings = value; } }
|
|
String_t* L_0 = ___0_value;
|
|
__this->___serializedEditorSettings_8 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___serializedEditorSettings_8), (void*)L_0);
|
|
// string IGraphInternals.SerializedEditorSettings { get { return serializedEditorSettings; } set { serializedEditorSettings = value; } }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_OnDestroy_m6A98AFED9FB0F8A3F82CDCACED05A9C1F6143A31 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IGraphInternals.OnDestroy () { OnDestroy(); }
|
|
VirtualActionInvoker0::Invoke(18 /* System.Void Pathfinding.NavGraph::OnDestroy() */, __this);
|
|
// void IGraphInternals.OnDestroy () { OnDestroy(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.DestroyAllNodes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_DestroyAllNodes_mACF2CC93B4AD97DDC7028722868AE545602F2132 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IGraphInternals.DestroyAllNodes () { DestroyAllNodes(); }
|
|
VirtualActionInvoker0::Invoke(19 /* System.Void Pathfinding.NavGraph::DestroyAllNodes() */, __this);
|
|
// void IGraphInternals.DestroyAllNodes () { DestroyAllNodes(); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.NavGraph::Pathfinding.IGraphInternals.ScanInternal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* NavGraph_Pathfinding_IGraphInternals_ScanInternal_mF7AD53C8698EEEF6F380B8C23C835263E312BC3F (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// IEnumerable<Progress> IGraphInternals.ScanInternal () { return ScanInternal(); }
|
|
RuntimeObject* L_0;
|
|
L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.NavGraph::ScanInternal() */, __this);
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.SerializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_SerializeExtraInfo_m8733FB900403EB3619C55F20D9A1DF803760E129 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IGraphInternals.SerializeExtraInfo (GraphSerializationContext ctx) { SerializeExtraInfo(ctx); }
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(21 /* System.Void Pathfinding.NavGraph::SerializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext) */, __this, L_0);
|
|
// void IGraphInternals.SerializeExtraInfo (GraphSerializationContext ctx) { SerializeExtraInfo(ctx); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.DeserializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_DeserializeExtraInfo_mAB90644D0C316FF4298743AE1B21A0BF40D42584 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IGraphInternals.DeserializeExtraInfo (GraphSerializationContext ctx) { DeserializeExtraInfo(ctx); }
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(22 /* System.Void Pathfinding.NavGraph::DeserializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext) */, __this, L_0);
|
|
// void IGraphInternals.DeserializeExtraInfo (GraphSerializationContext ctx) { DeserializeExtraInfo(ctx); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.PostDeserialization(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_PostDeserialization_m696AE1FD21AE720E695D93E88169978443D9A6F7 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IGraphInternals.PostDeserialization (GraphSerializationContext ctx) { PostDeserialization(ctx); }
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(23 /* System.Void Pathfinding.NavGraph::PostDeserialization(Pathfinding.Serialization.GraphSerializationContext) */, __this, L_0);
|
|
// void IGraphInternals.PostDeserialization (GraphSerializationContext ctx) { PostDeserialization(ctx); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::Pathfinding.IGraphInternals.DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph_Pathfinding_IGraphInternals_DeserializeSettingsCompatibility_m6BF8C484360AF82593919D9C4A6FB3C22B4D262E (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IGraphInternals.DeserializeSettingsCompatibility (GraphSerializationContext ctx) { DeserializeSettingsCompatibility(ctx); }
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(24 /* System.Void Pathfinding.NavGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext) */, __this, L_0);
|
|
// void IGraphInternals.DeserializeSettingsCompatibility (GraphSerializationContext ctx) { DeserializeSettingsCompatibility(ctx); }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavGraph__ctor_mAA234C62A98AC3CD20D1CD0642D6EC2CDCBEF015 (NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool drawGizmos = true;
|
|
__this->___drawGizmos_6 = (bool)1;
|
|
// public Matrix4x4 matrix = Matrix4x4.identity;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0;
|
|
L_0 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
__this->___matrix_9 = L_0;
|
|
// public Matrix4x4 inverseMatrix = Matrix4x4.identity;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1;
|
|
L_1 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
__this->___inverseMatrix_10 = L_1;
|
|
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 Pathfinding.NavGraph/<>c__DisplayClass11_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass11_0__ctor_mF41D6D3AF3F103EEC29E9C6ED77F535B46F4ACB7 (U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass11_0::<CountNodes>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass11_0_U3CCountNodesU3Eb__0_m91550D015325CED0309495185C112C1A28D57D6F (U3CU3Ec__DisplayClass11_0_tC685A1CBE90F3EF88058D70BB5F4F143DB8DA1B6* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// GetNodes(node => count++);
|
|
int32_t L_0 = __this->___count_0;
|
|
V_0 = L_0;
|
|
int32_t L_1 = V_0;
|
|
__this->___count_0 = ((int32_t)il2cpp_codegen_add(L_1, 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
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass12_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass12_0__ctor_m10E7CC41EDD9472074850B2093CE0C420F6F7A38 (U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass12_0::<GetNodes>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass12_0_U3CGetNodesU3Eb__0_mE5B742D9E0D11FA186E6FD447D5704AA9E2BDAD1 (U3CU3Ec__DisplayClass12_0_t3C0CDC60541C0290FAFC5CB810019AE2F35F8F7F* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (cont) cont &= action(node);
|
|
bool L_0 = __this->___cont_0;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// if (cont) cont &= action(node);
|
|
bool L_1 = __this->___cont_0;
|
|
Func_2_t86770EE4CB48662F5434A6B49BB452B44BD8A1CB* L_2 = __this->___action_1;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_3 = ___0_node;
|
|
NullCheck(L_2);
|
|
bool L_4;
|
|
L_4 = Func_2_Invoke_m433004D7925FFD2311264387933722E962BDC498_inline(L_2, L_3, NULL);
|
|
__this->___cont_0 = (bool)((int32_t)((int32_t)L_1&(int32_t)L_4));
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// });
|
|
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 Pathfinding.NavGraph/<>c__DisplayClass18_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass18_0__ctor_mF2A09316DEA576C4263D56F7E47938FFB3F55029 (U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass18_0::<RelocateNodes>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass18_0_U3CRelocateNodesU3Eb__0_m9B916973F17690B42602F772825A20609087C39E (U3CU3Ec__DisplayClass18_0_tD94A4CD0E2D1A6C3478D691D1B1AA0EC8359E292* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// GetNodes(node => node.position = ((Int3)deltaMatrix.MultiplyPoint((Vector3)node.position)));
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* L_1 = (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6*)(&__this->___deltaMatrix_0);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_2);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3 = L_2->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E(L_1, L_4, NULL);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6;
|
|
L_6 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_5, NULL);
|
|
NullCheck(L_0);
|
|
L_0->___position_7 = 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 Pathfinding.NavGraph/<>c__DisplayClass21_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass21_0__ctor_mD9D3C7D9ECE5A2203BA837914759CE7F15EE0AED (U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass21_0::<GetNearest>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass21_0_U3CGetNearestU3Eb__0_mEECD6D230EBC50EADEBB44A79F17264508BB0165 (U3CU3Ec__DisplayClass21_0_tFCC9EED79A9EAED481F89C4A225D1F2968249E86* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// float dist = (position-(Vector3)node.position).sqrMagnitude;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___position_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_node;
|
|
NullCheck(L_1);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_2 = L_1->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_2, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_0, L_3, NULL);
|
|
V_1 = L_4;
|
|
float L_5;
|
|
L_5 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_1), NULL);
|
|
V_0 = L_5;
|
|
// if (dist < minDist) {
|
|
float L_6 = V_0;
|
|
float L_7 = __this->___minDist_1;
|
|
if ((!(((float)L_6) < ((float)L_7))))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
// minDist = dist;
|
|
float L_8 = V_0;
|
|
__this->___minDist_1 = L_8;
|
|
// minNode = node;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_9 = ___0_node;
|
|
__this->___minNode_2 = L_9;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___minNode_2), (void*)L_9);
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// if (dist < minConstDist && dist < maxDistSqr && (constraint == null || constraint.Suitable(node))) {
|
|
float L_10 = V_0;
|
|
float L_11 = __this->___minConstDist_3;
|
|
if ((!(((float)L_10) < ((float)L_11))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
float L_12 = V_0;
|
|
float L_13 = __this->___maxDistSqr_4;
|
|
if ((!(((float)L_12) < ((float)L_13))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_14 = __this->___constraint_5;
|
|
if (!L_14)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_15 = __this->___constraint_5;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_16 = ___0_node;
|
|
NullCheck(L_15);
|
|
bool L_17;
|
|
L_17 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_15, L_16);
|
|
if (!L_17)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// minConstDist = dist;
|
|
float L_18 = V_0;
|
|
__this->___minConstDist_3 = L_18;
|
|
// minConstNode = node;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_19 = ___0_node;
|
|
__this->___minConstNode_6 = L_19;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___minConstNode_6), (void*)L_19);
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// });
|
|
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 Pathfinding.NavGraph/<>c::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_mE4ED66866B2B722CD2326FDECAC67C1923081E94 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194* L_0 = (U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194*)il2cpp_codegen_object_new(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__ctor_mBF8BA5A32E065F552DAADA652B756EA7C01C6E88(L_0, NULL);
|
|
((U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var))->___U3CU3E9_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194_il2cpp_TypeInfo_var))->___U3CU3E9_0), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mBF8BA5A32E065F552DAADA652B756EA7C01C6E88 (U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c::<DestroyAllNodes>b__24_0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3CDestroyAllNodesU3Eb__24_0_mEE4E6D221C86270DEDDA84110EA0F5CDA4E57DBA (U3CU3Ec_t8E1AC23DAE3A489E8C837AD92266E219D5820194* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// GetNodes(node => node.Destroy());
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
GraphNode_Destroy_mDA77B05D323D3821AAE1CB7DE44F9DD48823C41D(L_0, 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 Pathfinding.NavGraph/<>c__DisplayClass32_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass32_0__ctor_m85B17B81740EFD5D0A2AA4FF89F0A0CB0A922D5F (U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass32_0::<OnDrawGizmos>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass32_0_U3COnDrawGizmosU3Eb__0_mB3FC9C3CCE93E83B017DD3E9BBF5E9F5F7592DC4 (U3CU3Ec__DisplayClass32_0_t318421826A363A9880AF66FD22B68137E21FFE4C* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// GetNodes(node => hasher.HashNode(node));
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* L_0 = (Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B*)(&__this->___hasher_0);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_node;
|
|
Hasher_HashNode_mCB33513725CA63B5C3E8676EFFE8C5E2C9FC378D(L_0, L_1, 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 Pathfinding.NavGraph/<>c__DisplayClass33_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass33_0__ctor_m68F72FAA1D3C13A701E2A6CFF02ED96CC2A0EB23 (U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavGraph/<>c__DisplayClass33_0::<DrawUnwalkableNodes>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass33_0_U3CDrawUnwalkableNodesU3Eb__0_mCCA81716C727D662FA8DE65AF222AE4E5F5C1921 (U3CU3Ec__DisplayClass33_0_tFC7CD8EF15EF5D518C276266C14A6519B114B32E* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (!node.Walkable) Gizmos.DrawCube((Vector3)node.position, Vector3.one*size);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// if (!node.Walkable) Gizmos.DrawCube((Vector3)node.position, Vector3.one*size);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_2);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3 = L_2->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
float L_6 = __this->___size_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_5, L_6, NULL);
|
|
Gizmos_DrawCube_m4417EAEA479EF4AD52445810D840BA8FCBC6EF3F(L_4, L_7, NULL);
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// });
|
|
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 Pathfinding.GraphCollision::Initialize(Pathfinding.Util.GraphTransform,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision_Initialize_mB72C0C6794B3D2CD60E46238A425EB9FBE5EFB30 (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_transform, float ___1_scale, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// up = (transform.Transform(Vector3.up) - transform.Transform(Vector3.zero)).normalized;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = ___0_transform;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_0, L_1, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_3 = ___0_transform;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_3, L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_5, NULL);
|
|
V_0 = L_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_0), NULL);
|
|
__this->___up_14 = L_7;
|
|
// upheight = up*height;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = __this->___up_14;
|
|
float L_9 = __this->___height_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_8, L_9, NULL);
|
|
__this->___upheight_15 = L_10;
|
|
// finalRadius = diameter*scale*0.5F;
|
|
float L_11 = __this->___diameter_1;
|
|
float L_12 = ___1_scale;
|
|
__this->___finalRadius_18 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_11, L_12)), (0.5f)));
|
|
// finalRaycastRadius = thickRaycastDiameter*scale*0.5F;
|
|
float L_13 = __this->___thickRaycastDiameter_9;
|
|
float L_14 = ___1_scale;
|
|
__this->___finalRaycastRadius_19 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_13, L_14)), (0.5f)));
|
|
// contactFilter = new ContactFilter2D { layerMask = mask, useDepth = false, useLayerMask = true, useNormalAngle = false, useTriggers = false };
|
|
il2cpp_codegen_initobj((&V_1), sizeof(ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14));
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_15 = __this->___mask_5;
|
|
(&V_1)->___layerMask_6 = L_15;
|
|
(&V_1)->___useDepth_2 = (bool)0;
|
|
(&V_1)->___useLayerMask_1 = (bool)1;
|
|
(&V_1)->___useNormalAngle_4 = (bool)0;
|
|
(&V_1)->___useTriggers_0 = (bool)0;
|
|
ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 L_16 = V_1;
|
|
__this->___contactFilter_16 = L_16;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GraphCollision::Check(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GraphCollision_Check_mB1F407BCD997E9592019725084DD66B6B2975FF2 (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (!collisionCheck) {
|
|
bool L_0 = __this->___collisionCheck_12;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// if (use2D) {
|
|
bool L_1 = __this->___use2D_11;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// switch (type) {
|
|
int32_t L_2 = __this->___type_0;
|
|
V_0 = L_2;
|
|
int32_t L_3 = V_0;
|
|
if ((!(((uint32_t)L_3) <= ((uint32_t)1))))
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
// return Physics2D.OverlapCircle(position, finalRadius, contactFilter, dummyArray) == 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_position;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
|
|
L_5 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_4, NULL);
|
|
float L_6 = __this->___finalRadius_18;
|
|
ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 L_7 = __this->___contactFilter_16;
|
|
il2cpp_codegen_runtime_class_init_inline(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* L_8 = ((GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_StaticFields*)il2cpp_codegen_static_fields_for(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var))->___dummyArray_17;
|
|
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
|
|
int32_t L_9;
|
|
L_9 = Physics2D_OverlapCircle_mFB365F1CC268016D6BC0DDDDF06DB7AEC8AA1EE7(L_5, L_6, L_7, L_8, NULL);
|
|
return (bool)((((int32_t)L_9) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// return Physics2D.OverlapPoint(position, contactFilter, dummyArray) == 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_position;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11;
|
|
L_11 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_10, NULL);
|
|
ContactFilter2D_t54A8515C326BF7DA16E5DE97EA7D3CD9B2F77F14 L_12 = __this->___contactFilter_16;
|
|
il2cpp_codegen_runtime_class_init_inline(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* L_13 = ((GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_StaticFields*)il2cpp_codegen_static_fields_for(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var))->___dummyArray_17;
|
|
il2cpp_codegen_runtime_class_init_inline(Physics2D_t64C0DB5246067DAC2E83A52558A0AC68AF3BE94D_il2cpp_TypeInfo_var);
|
|
int32_t L_14;
|
|
L_14 = Physics2D_OverlapPoint_m7DE14703086A7AD5F061A5E915CF0047532C23D7(L_11, L_12, L_13, NULL);
|
|
return (bool)((((int32_t)L_14) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// position += up*collisionOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___up_14;
|
|
float L_17 = __this->___collisionOffset_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_16, L_17, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_18, NULL);
|
|
___0_position = L_19;
|
|
// switch (type) {
|
|
int32_t L_20 = __this->___type_0;
|
|
V_0 = L_20;
|
|
int32_t L_21 = V_0;
|
|
if (!L_21)
|
|
{
|
|
goto IL_00a6;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_22 = V_0;
|
|
if ((!(((uint32_t)L_22) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// return !Physics.CheckCapsule(position, position+upheight, finalRadius, mask, QueryTriggerInteraction.Ignore);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = __this->___upheight_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_24, L_25, NULL);
|
|
float L_27 = __this->___finalRadius_18;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_28 = __this->___mask_5;
|
|
int32_t L_29;
|
|
L_29 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_28, NULL);
|
|
bool L_30;
|
|
L_30 = Physics_CheckCapsule_mFFAADF3C5B987AA3ACBF33377C9D292FA8680532(L_23, L_26, L_27, L_29, 1, NULL);
|
|
return (bool)((((int32_t)L_30) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_00a6:
|
|
{
|
|
// return !Physics.CheckSphere(position, finalRadius, mask, QueryTriggerInteraction.Ignore);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = ___0_position;
|
|
float L_32 = __this->___finalRadius_18;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_33 = __this->___mask_5;
|
|
int32_t L_34;
|
|
L_34 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_33, NULL);
|
|
bool L_35;
|
|
L_35 = Physics_CheckSphere_mC32BB961B0CF9D23EDDEEC3F30021FD1BE88E261(L_31, L_32, L_34, 1, NULL);
|
|
return (bool)((((int32_t)L_35) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// switch (rayDirection) {
|
|
int32_t L_36 = __this->___rayDirection_4;
|
|
V_1 = L_36;
|
|
int32_t L_37 = V_1;
|
|
if (!L_37)
|
|
{
|
|
goto IL_0124;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_38 = V_1;
|
|
if ((!(((uint32_t)L_38) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0146;
|
|
}
|
|
}
|
|
{
|
|
// return !Physics.Raycast(position, up, height, mask, QueryTriggerInteraction.Ignore) && !Physics.Raycast(position+upheight, -up, height, mask, QueryTriggerInteraction.Ignore);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = __this->___up_14;
|
|
float L_41 = __this->___height_2;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_42 = __this->___mask_5;
|
|
int32_t L_43;
|
|
L_43 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_42, NULL);
|
|
bool L_44;
|
|
L_44 = Physics_Raycast_m453681A406AADE0A30227D955279F5E7050B790D(L_39, L_40, L_41, L_43, 1, NULL);
|
|
if (L_44)
|
|
{
|
|
goto IL_0122;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = __this->___upheight_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_45, L_46, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = __this->___up_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
|
|
L_49 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_48, NULL);
|
|
float L_50 = __this->___height_2;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_51 = __this->___mask_5;
|
|
int32_t L_52;
|
|
L_52 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_51, NULL);
|
|
bool L_53;
|
|
L_53 = Physics_Raycast_m453681A406AADE0A30227D955279F5E7050B790D(L_47, L_49, L_50, L_52, 1, NULL);
|
|
return (bool)((((int32_t)L_53) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0122:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0124:
|
|
{
|
|
// return !Physics.Raycast(position, up, height, mask, QueryTriggerInteraction.Ignore);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = __this->___up_14;
|
|
float L_56 = __this->___height_2;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_57 = __this->___mask_5;
|
|
int32_t L_58;
|
|
L_58 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_57, NULL);
|
|
bool L_59;
|
|
L_59 = Physics_Raycast_m453681A406AADE0A30227D955279F5E7050B790D(L_54, L_55, L_56, L_58, 1, NULL);
|
|
return (bool)((((int32_t)L_59) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0146:
|
|
{
|
|
// return !Physics.Raycast(position+upheight, -up, height, mask, QueryTriggerInteraction.Ignore);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = __this->___upheight_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
|
|
L_62 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_60, L_61, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = __this->___up_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_63, NULL);
|
|
float L_65 = __this->___height_2;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_66 = __this->___mask_5;
|
|
int32_t L_67;
|
|
L_67 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_66, NULL);
|
|
bool L_68;
|
|
L_68 = Physics_Raycast_m453681A406AADE0A30227D955279F5E7050B790D(L_62, L_64, L_65, L_67, 1, NULL);
|
|
return (bool)((((int32_t)L_68) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 Pathfinding.GraphCollision::CheckHeight(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphCollision_CheckHeight_m073F55539AE7C10C368EBFFAFC87F2398A850024 (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
|
|
{
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
bool V_1 = false;
|
|
{
|
|
// return CheckHeight(position, out hit, out walkable);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = GraphCollision_CheckHeight_m8C08DC713428CB1995F8F1F775E79C3FD624DD3D(__this, L_0, (&V_0), (&V_1), NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 Pathfinding.GraphCollision::CheckHeight(UnityEngine.Vector3,UnityEngine.RaycastHit&,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphCollision_CheckHeight_m8C08DC713428CB1995F8F1F775E79C3FD624DD3D (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* ___1_hit, bool* ___2_walkable, const RuntimeMethod* method)
|
|
{
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// walkable = true;
|
|
bool* L_0 = ___2_walkable;
|
|
*((int8_t*)L_0) = (int8_t)1;
|
|
// if (!heightCheck || use2D) {
|
|
bool L_1 = __this->___heightCheck_13;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
bool L_2 = __this->___use2D_11;
|
|
if (!L_2)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// hit = new RaycastHit();
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_3 = ___1_hit;
|
|
il2cpp_codegen_initobj(L_3, sizeof(RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5));
|
|
// return position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_position;
|
|
return L_4;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// if (thickRaycast) {
|
|
bool L_5 = __this->___thickRaycast_8;
|
|
if (!L_5)
|
|
{
|
|
goto IL_00ad;
|
|
}
|
|
}
|
|
{
|
|
// var ray = new Ray(position+up*fromHeight, -up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___up_14;
|
|
float L_8 = __this->___fromHeight_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_7, L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_6, L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = __this->___up_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_11, NULL);
|
|
Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C((&V_0), L_10, L_12, NULL);
|
|
// if (Physics.SphereCast(ray, finalRaycastRadius, out hit, fromHeight+0.005F, heightMask, QueryTriggerInteraction.Ignore)) {
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_13 = V_0;
|
|
float L_14 = __this->___finalRaycastRadius_19;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_15 = ___1_hit;
|
|
float L_16 = __this->___fromHeight_7;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_17 = __this->___heightMask_6;
|
|
int32_t L_18;
|
|
L_18 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_17, NULL);
|
|
bool L_19;
|
|
L_19 = Physics_SphereCast_mE7656F9355B33AED9095D8A0301734611EC95B05(L_13, L_14, L_15, ((float)il2cpp_codegen_add(L_16, (0.00499999989f))), L_18, 1, NULL);
|
|
if (!L_19)
|
|
{
|
|
goto IL_009d;
|
|
}
|
|
}
|
|
{
|
|
// return VectorMath.ClosestPointOnLine(ray.origin, ray.origin+ray.direction, hit.point);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6((&V_0), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6((&V_0), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_0), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_21, L_22, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_24 = ___1_hit;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_24, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = VectorMath_ClosestPointOnLine_m12B3AF57DF967C65DF62177E581288AAA4732684(L_20, L_23, L_25, NULL);
|
|
return L_26;
|
|
}
|
|
|
|
IL_009d:
|
|
{
|
|
// walkable &= !unwalkableWhenNoGround;
|
|
bool* L_27 = ___2_walkable;
|
|
bool* L_28 = ___2_walkable;
|
|
int32_t L_29 = *((uint8_t*)L_28);
|
|
bool L_30 = __this->___unwalkableWhenNoGround_10;
|
|
*((int8_t*)L_27) = (int8_t)((int32_t)(L_29&((((int32_t)L_30) == ((int32_t)0))? 1 : 0)));
|
|
goto IL_0104;
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// if (Physics.Raycast(position+up*fromHeight, -up, out hit, fromHeight+0.005F, heightMask, QueryTriggerInteraction.Ignore)) {
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = __this->___up_14;
|
|
float L_33 = __this->___fromHeight_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_32, L_33, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_31, L_34, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = __this->___up_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
L_37 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_36, NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_38 = ___1_hit;
|
|
float L_39 = __this->___fromHeight_7;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_40 = __this->___heightMask_6;
|
|
int32_t L_41;
|
|
L_41 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_40, NULL);
|
|
bool L_42;
|
|
L_42 = Physics_Raycast_mA782767AD4F149FBEA32C71460DFF061B7563688(L_35, L_37, L_38, ((float)il2cpp_codegen_add(L_39, (0.00499999989f))), L_41, 1, NULL);
|
|
if (!L_42)
|
|
{
|
|
goto IL_00f6;
|
|
}
|
|
}
|
|
{
|
|
// return hit.point;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5* L_43 = ___1_hit;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
|
|
L_44 = RaycastHit_get_point_m02B764612562AFE0F998CC7CFB2EEDE41BA47F39(L_43, NULL);
|
|
return L_44;
|
|
}
|
|
|
|
IL_00f6:
|
|
{
|
|
// walkable &= !unwalkableWhenNoGround;
|
|
bool* L_45 = ___2_walkable;
|
|
bool* L_46 = ___2_walkable;
|
|
int32_t L_47 = *((uint8_t*)L_46);
|
|
bool L_48 = __this->___unwalkableWhenNoGround_10;
|
|
*((int8_t*)L_45) = (int8_t)((int32_t)(L_47&((((int32_t)L_48) == ((int32_t)0))? 1 : 0)));
|
|
}
|
|
|
|
IL_0104:
|
|
{
|
|
// return position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = ___0_position;
|
|
return L_49;
|
|
}
|
|
}
|
|
// UnityEngine.RaycastHit[] Pathfinding.GraphCollision::CheckHeightAll(UnityEngine.Vector3,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* GraphCollision_CheckHeightAll_m4D517E0AC5FA1316D656EFA8423ADB6F3C7AF80B (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, int32_t* ___1_numHits, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (!heightCheck || use2D) {
|
|
bool L_0 = __this->___heightCheck_13;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
bool L_1 = __this->___use2D_11;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// hitBuffer[0] = new RaycastHit {
|
|
// point = position,
|
|
// distance = 0,
|
|
// };
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_2 = __this->___hitBuffer_21;
|
|
il2cpp_codegen_initobj((&V_0), sizeof(RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_position;
|
|
RaycastHit_set_point_m3B63BEB25A82BFCF9FBB300022D0362BC2CF9E11((&V_0), L_3, NULL);
|
|
RaycastHit_set_distance_mD5C9C6A5F7EDFFAC302DA4981F3483AA9981A9DC((&V_0), (0.0f), NULL);
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 L_4 = V_0;
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5)L_4);
|
|
// numHits = 1;
|
|
int32_t* L_5 = ___1_numHits;
|
|
*((int32_t*)L_5) = (int32_t)1;
|
|
// return hitBuffer;
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_6 = __this->___hitBuffer_21;
|
|
return L_6;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// numHits = Physics.RaycastNonAlloc(position+up*fromHeight, -up, hitBuffer, fromHeight+0.005F, heightMask, QueryTriggerInteraction.Ignore);
|
|
int32_t* L_7 = ___1_numHits;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = __this->___up_14;
|
|
float L_10 = __this->___fromHeight_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_9, L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_8, L_11, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___up_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_13, NULL);
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_15 = __this->___hitBuffer_21;
|
|
float L_16 = __this->___fromHeight_7;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_17 = __this->___heightMask_6;
|
|
int32_t L_18;
|
|
L_18 = LayerMask_op_Implicit_m7F5A5B9D079281AC445ED39DEE1FCFA9D795810D(L_17, NULL);
|
|
int32_t L_19;
|
|
L_19 = Physics_RaycastNonAlloc_mB8FE279E06CE87D77387AA9A10562B8052DC8836(L_12, L_14, L_15, ((float)il2cpp_codegen_add(L_16, (0.00499999989f))), L_18, 1, NULL);
|
|
*((int32_t*)L_7) = (int32_t)L_19;
|
|
// if (numHits == hitBuffer.Length) {
|
|
int32_t* L_20 = ___1_numHits;
|
|
int32_t L_21 = *((int32_t*)L_20);
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_22 = __this->___hitBuffer_21;
|
|
NullCheck(L_22);
|
|
if ((!(((uint32_t)L_21) == ((uint32_t)((int32_t)(((RuntimeArray*)L_22)->max_length))))))
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
}
|
|
{
|
|
// hitBuffer = new RaycastHit[hitBuffer.Length*2];
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_23 = __this->___hitBuffer_21;
|
|
NullCheck(L_23);
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_24 = (RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8*)(RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8*)SZArrayNew(RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply(((int32_t)(((RuntimeArray*)L_23)->max_length)), 2)));
|
|
__this->___hitBuffer_21 = L_24;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___hitBuffer_21), (void*)L_24);
|
|
// return CheckHeightAll(position, out numHits);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = ___0_position;
|
|
int32_t* L_26 = ___1_numHits;
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_27;
|
|
L_27 = GraphCollision_CheckHeightAll_m4D517E0AC5FA1316D656EFA8423ADB6F3C7AF80B(__this, L_25, L_26, NULL);
|
|
return L_27;
|
|
}
|
|
|
|
IL_00b4:
|
|
{
|
|
// return hitBuffer;
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_28 = __this->___hitBuffer_21;
|
|
return L_28;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphCollision::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision_DeserializeSettingsCompatibility_mDEFAACD94F980169A1DF619E7AFA8A853B941B5C (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// type = (ColliderType)ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_1);
|
|
__this->___type_0 = L_2;
|
|
// diameter = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
|
|
NullCheck(L_3);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_4 = L_3->___reader_1;
|
|
NullCheck(L_4);
|
|
float L_5;
|
|
L_5 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_4);
|
|
__this->___diameter_1 = L_5;
|
|
// height = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_6 = ___0_ctx;
|
|
NullCheck(L_6);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_7 = L_6->___reader_1;
|
|
NullCheck(L_7);
|
|
float L_8;
|
|
L_8 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_7);
|
|
__this->___height_2 = L_8;
|
|
// collisionOffset = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_9 = ___0_ctx;
|
|
NullCheck(L_9);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_10 = L_9->___reader_1;
|
|
NullCheck(L_10);
|
|
float L_11;
|
|
L_11 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_10);
|
|
__this->___collisionOffset_3 = L_11;
|
|
// rayDirection = (RayDirection)ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_12 = ___0_ctx;
|
|
NullCheck(L_12);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_13 = L_12->___reader_1;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_13);
|
|
__this->___rayDirection_4 = L_14;
|
|
// mask = (LayerMask)ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_15 = ___0_ctx;
|
|
NullCheck(L_15);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_16 = L_15->___reader_1;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_16);
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_18;
|
|
L_18 = LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222(L_17, NULL);
|
|
__this->___mask_5 = L_18;
|
|
// heightMask = (LayerMask)ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_19 = ___0_ctx;
|
|
NullCheck(L_19);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_20 = L_19->___reader_1;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_20);
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_22;
|
|
L_22 = LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222(L_21, NULL);
|
|
__this->___heightMask_6 = L_22;
|
|
// fromHeight = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_23 = ___0_ctx;
|
|
NullCheck(L_23);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_24 = L_23->___reader_1;
|
|
NullCheck(L_24);
|
|
float L_25;
|
|
L_25 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_24);
|
|
__this->___fromHeight_7 = L_25;
|
|
// thickRaycast = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_26 = ___0_ctx;
|
|
NullCheck(L_26);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_27 = L_26->___reader_1;
|
|
NullCheck(L_27);
|
|
bool L_28;
|
|
L_28 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_27);
|
|
__this->___thickRaycast_8 = L_28;
|
|
// thickRaycastDiameter = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_29 = ___0_ctx;
|
|
NullCheck(L_29);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_30 = L_29->___reader_1;
|
|
NullCheck(L_30);
|
|
float L_31;
|
|
L_31 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_30);
|
|
__this->___thickRaycastDiameter_9 = L_31;
|
|
// unwalkableWhenNoGround = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_32 = ___0_ctx;
|
|
NullCheck(L_32);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_33 = L_32->___reader_1;
|
|
NullCheck(L_33);
|
|
bool L_34;
|
|
L_34 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_33);
|
|
__this->___unwalkableWhenNoGround_10 = L_34;
|
|
// use2D = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_35 = ___0_ctx;
|
|
NullCheck(L_35);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_36 = L_35->___reader_1;
|
|
NullCheck(L_36);
|
|
bool L_37;
|
|
L_37 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_36);
|
|
__this->___use2D_11 = L_37;
|
|
// collisionCheck = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_38 = ___0_ctx;
|
|
NullCheck(L_38);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_39 = L_38->___reader_1;
|
|
NullCheck(L_39);
|
|
bool L_40;
|
|
L_40 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_39);
|
|
__this->___collisionCheck_12 = L_40;
|
|
// heightCheck = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_41 = ___0_ctx;
|
|
NullCheck(L_41);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_42 = L_41->___reader_1;
|
|
NullCheck(L_42);
|
|
bool L_43;
|
|
L_43 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_42);
|
|
__this->___heightCheck_13 = L_43;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphCollision::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision__ctor_mD0D746B70FD873393EB5D6138F160B4F208AD5DD (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public ColliderType type = ColliderType.Capsule;
|
|
__this->___type_0 = 1;
|
|
// public float diameter = 1F;
|
|
__this->___diameter_1 = (1.0f);
|
|
// public float height = 2F;
|
|
__this->___height_2 = (2.0f);
|
|
// public RayDirection rayDirection = RayDirection.Both;
|
|
__this->___rayDirection_4 = 2;
|
|
// public LayerMask heightMask = -1;
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB L_0;
|
|
L_0 = LayerMask_op_Implicit_m01C8996A2CB2085328B9C33539C43139660D8222((-1), NULL);
|
|
__this->___heightMask_6 = L_0;
|
|
// public float fromHeight = 100;
|
|
__this->___fromHeight_7 = (100.0f);
|
|
// public float thickRaycastDiameter = 1;
|
|
__this->___thickRaycastDiameter_9 = (1.0f);
|
|
// public bool unwalkableWhenNoGround = true;
|
|
__this->___unwalkableWhenNoGround_10 = (bool)1;
|
|
// public bool collisionCheck = true;
|
|
__this->___collisionCheck_12 = (bool)1;
|
|
// public bool heightCheck = true;
|
|
__this->___heightCheck_13 = (bool)1;
|
|
// RaycastHit[] hitBuffer = new RaycastHit[8];
|
|
RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8* L_1 = (RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8*)(RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8*)SZArrayNew(RaycastHitU5BU5D_t008B8309DE422FE7567068D743D68054D5EBF1A8_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
__this->___hitBuffer_21 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___hitBuffer_21), (void*)L_1);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GraphCollision::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GraphCollision__cctor_mC5D05613F8168FF71783C521A1BAA1305C154F1D (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// private static Collider2D[] dummyArray = new Collider2D[1];
|
|
Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034* L_0 = (Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034*)(Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034*)SZArrayNew(Collider2DU5BU5D_t4771A44B23D278BC01AB6ED33A9A28E48DC0B034_il2cpp_TypeInfo_var, (uint32_t)1);
|
|
((GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_StaticFields*)il2cpp_codegen_static_fields_for(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var))->___dummyArray_17 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_StaticFields*)il2cpp_codegen_static_fields_for(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var))->___dummyArray_17), (void*)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
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void Pathfinding.GridGraph::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_OnDestroy_mDDF689BCB795B49A7C57A8A0A6CCFF9D025F41DC (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// base.OnDestroy();
|
|
NavGraph_OnDestroy_m968A86AF2585EC3929586B733DE68CE929484EFC(__this, NULL);
|
|
// RemoveGridGraphFromStatic();
|
|
GridGraph_RemoveGridGraphFromStatic_m47900E530E4C13CE3B220CA66095106D86DC6C50(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::DestroyAllNodes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_DestroyAllNodes_mC8FE0BFB24881D972CE80A7A3A66F546394F2E31 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3CDestroyAllNodesU3Eb__1_0_m7C53C16C192978C034BBB92D31054761039F1D22_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* G_B2_0 = NULL;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* G_B2_1 = NULL;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* G_B1_0 = NULL;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* G_B1_1 = NULL;
|
|
{
|
|
// GetNodes(node => {
|
|
// // If the grid data happens to be invalid (e.g we had to abort a graph update while it was running) using 'false' as
|
|
// // the parameter will prevent the Destroy method from potentially throwing IndexOutOfRange exceptions due to trying
|
|
// // to access nodes outside the graph. It is safe to do this because we are destroying all nodes in the graph anyway.
|
|
// // We do however need to clear custom connections in both directions
|
|
// (node as GridNodeBase).ClearCustomConnections(true);
|
|
// node.ClearConnections(false);
|
|
// node.Destroy();
|
|
// });
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_0 = ((U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var))->___U3CU3E9__1_0_1;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = L_0;
|
|
G_B1_0 = L_1;
|
|
G_B1_1 = __this;
|
|
if (L_1)
|
|
{
|
|
G_B2_0 = L_1;
|
|
G_B2_1 = __this;
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var);
|
|
U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9* L_2 = ((U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var))->___U3CU3E9_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_3 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_3, L_2, (intptr_t)((void*)U3CU3Ec_U3CDestroyAllNodesU3Eb__1_0_m7C53C16C192978C034BBB92D31054761039F1D22_RuntimeMethod_var), NULL);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_4 = L_3;
|
|
((U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var))->___U3CU3E9__1_0_1 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var))->___U3CU3E9__1_0_1), (void*)L_4);
|
|
G_B2_0 = L_4;
|
|
G_B2_1 = G_B1_1;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
NullCheck(G_B2_1);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, G_B2_1, G_B2_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::RemoveGridGraphFromStatic()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_RemoveGridGraphFromStatic_m47900E530E4C13CE3B220CA66095106D86DC6C50 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// var graphIndex = active.data.GetGraphIndex(this);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_0);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_1 = L_0->___data_8;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = AstarData_GetGraphIndex_mEE39A9C890D7D44B139C86A4DF94AA0E171069C0(L_1, __this, NULL);
|
|
// GridNode.ClearGridGraph(graphIndex, this);
|
|
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
GridNode_ClearGridGraph_m0A229F6C68B33836893E6651D200179D83833A42(L_2, __this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::get_uniformWidthDepthGrid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_get_uniformWidthDepthGrid_m7A54BD8587F0DC1ED6FE81CEE1507D48A15636ED (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GridGraph::get_LayerCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridGraph_get_LayerCount_m15C5BFB0365E8531A3D5F2716AE0C20F9FBDB7DC (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GridGraph::CountNodes()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridGraph_CountNodes_mAAFBDE6724BC38A548F24B12A27D068013D22519 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return nodes != null ? nodes.Length : 0;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_1 = __this->___nodes_48;
|
|
NullCheck(L_1);
|
|
return ((int32_t)(((RuntimeArray*)L_1)->max_length));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_GetNodes_m7FDA918FF87B4E35411A46DAAAAD641E4089061B (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (nodes == null) return;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (nodes == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
|
|
V_0 = 0;
|
|
goto IL_001f;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_1 = ___0_action;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_2 = __this->___nodes_48;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
NullCheck(L_1);
|
|
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_1, L_5, NULL);
|
|
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
|
|
int32_t L_6 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) action(nodes[i]);
|
|
int32_t L_7 = V_0;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_8 = __this->___nodes_48;
|
|
NullCheck(L_8);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::get_useRaycastNormal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_get_useRaycastNormal_mABFD21A578BDBE476765E254804373D64F964CF9 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __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;
|
|
}
|
|
{
|
|
// protected bool useRaycastNormal { get { return Math.Abs(90-maxSlope) > float.Epsilon; } }
|
|
float L_0 = __this->___maxSlope_26;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_1;
|
|
L_1 = fabsf(((float)il2cpp_codegen_subtract((90.0f), L_0)));
|
|
return (bool)((((float)L_1) > ((float)(1.40129846E-45f)))? 1 : 0);
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 Pathfinding.GridGraph::get_size()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector2 size { get; protected set; }
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = __this->___U3CsizeU3Ek__BackingField_41;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::set_size(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_set_size_m6C0D706F47946922AEB296FE6E1295D8D72AAF07 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector2 size { get; protected set; }
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_value;
|
|
__this->___U3CsizeU3Ek__BackingField_41 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::get_transform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public GraphTransform transform { get; private set; }
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___U3CtransformU3Ek__BackingField_49;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::set_transform(Pathfinding.Util.GraphTransform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_set_transform_m0B297D6791CDC5CE67F98D2D0AF363F215FC584D (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public GraphTransform transform { get; private set; }
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = ___0_value;
|
|
__this->___U3CtransformU3Ek__BackingField_49 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtransformU3Ek__BackingField_49), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::get_is2D()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_get_is2D_m5F4835C4F9D339122331A832569CF55C3730F770 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Quaternion.Euler(this.rotation) * Vector3.up == -Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___rotation_20;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_1, L_2, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_4, NULL);
|
|
bool L_6;
|
|
L_6 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_3, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::set_is2D(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_set_is2D_m62E1B43516EBA70815F1004D1408EF56B92E3A26 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* G_B3_0 = NULL;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* G_B2_0 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B4_0;
|
|
memset((&G_B4_0), 0, sizeof(G_B4_0));
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* G_B4_1 = NULL;
|
|
{
|
|
// if (value != is2D) {
|
|
bool L_0 = ___0_value;
|
|
bool L_1;
|
|
L_1 = GridGraph_get_is2D_m5F4835C4F9D339122331A832569CF55C3730F770(__this, NULL);
|
|
if ((((int32_t)L_0) == ((int32_t)L_1)))
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// this.rotation = value ? new Vector3(this.rotation.y - 90, 270, 90) : new Vector3(0, this.rotation.x + 90, 0);
|
|
bool L_2 = ___0_value;
|
|
G_B2_0 = __this;
|
|
if (L_2)
|
|
{
|
|
G_B3_0 = __this;
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_3 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___rotation_20);
|
|
float L_4 = L_3->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
memset((&L_5), 0, sizeof(L_5));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_5), (0.0f), ((float)il2cpp_codegen_add(L_4, (90.0f))), (0.0f), /*hidden argument*/NULL);
|
|
G_B4_0 = L_5;
|
|
G_B4_1 = G_B2_0;
|
|
goto IL_004f;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_6 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___rotation_20);
|
|
float L_7 = L_6->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_8), ((float)il2cpp_codegen_subtract(L_7, (90.0f))), (270.0f), (90.0f), /*hidden argument*/NULL);
|
|
G_B4_0 = L_8;
|
|
G_B4_1 = G_B3_0;
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
NullCheck(G_B4_1);
|
|
G_B4_1->___rotation_20 = G_B4_0;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph__ctor_m6ACE823C1D09ABA3BBBFA50C2886B0BAFA55E9CD (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public float aspectRatio = 1F;
|
|
__this->___aspectRatio_15 = (1.0f);
|
|
// public float nodeSize = 1;
|
|
__this->___nodeSize_23 = (1.0f);
|
|
// public float maxClimb = 0.4F;
|
|
__this->___maxClimb_25 = (0.400000006f);
|
|
// public float maxSlope = 90;
|
|
__this->___maxSlope_26 = (90.0f);
|
|
// public int erosionFirstTag = 1;
|
|
__this->___erosionFirstTag_29 = 1;
|
|
// public NumNeighbours neighbours = NumNeighbours.Eight;
|
|
__this->___neighbours_30 = 1;
|
|
// public bool cutCorners = true;
|
|
__this->___cutCorners_31 = (bool)1;
|
|
// public float penaltyPositionFactor = 1F;
|
|
__this->___penaltyPositionFactor_34 = (1.0f);
|
|
// public float penaltyAngleFactor = 100F;
|
|
__this->___penaltyAngleFactor_36 = (100.0f);
|
|
// public float penaltyAnglePower = 1;
|
|
__this->___penaltyAnglePower_37 = (1.0f);
|
|
// public bool showMeshOutline = true;
|
|
__this->___showMeshOutline_38 = (bool)1;
|
|
// public bool showMeshSurface = true;
|
|
__this->___showMeshSurface_40 = (bool)1;
|
|
// public readonly int[] neighbourOffsets = new int[8];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
__this->___neighbourOffsets_42 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___neighbourOffsets_42), (void*)L_0);
|
|
// public readonly uint[] neighbourCosts = new uint[8];
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_1 = (UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA*)(UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA*)SZArrayNew(UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
__this->___neighbourCosts_43 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___neighbourCosts_43), (void*)L_1);
|
|
// public readonly int[] neighbourXOffsets = new int[8];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
__this->___neighbourXOffsets_44 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___neighbourXOffsets_44), (void*)L_2);
|
|
// public readonly int[] neighbourZOffsets = new int[8];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)8);
|
|
__this->___neighbourZOffsets_45 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___neighbourZOffsets_45), (void*)L_3);
|
|
// public GridGraph () {
|
|
NavGraph__ctor_mAA234C62A98AC3CD20D1CD0642D6EC2CDCBEF015(__this, NULL);
|
|
// unclampedSize = new Vector2(10, 10);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), (10.0f), (10.0f), /*hidden argument*/NULL);
|
|
__this->___unclampedSize_22 = L_4;
|
|
// nodeSize = 1F;
|
|
__this->___nodeSize_23 = (1.0f);
|
|
// collision = new GraphCollision();
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_5 = (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9*)il2cpp_codegen_object_new(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
GraphCollision__ctor_mD0D746B70FD873393EB5D6138F160B4F208AD5DD(L_5, NULL);
|
|
__this->___collision_24 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___collision_24), (void*)L_5);
|
|
// transform = new GraphTransform(Matrix4x4.identity);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_6;
|
|
L_6 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_7 = (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426*)il2cpp_codegen_object_new(GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
GraphTransform__ctor_mF0D350BA128D610C33975209F3E04290F0936A88(L_7, L_6, NULL);
|
|
GridGraph_set_transform_m0B297D6791CDC5CE67F98D2D0AF363F215FC584D_inline(__this, L_7, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::RelocateNodes(UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_RelocateNodes_m54876E5ADBF05A05F18146E7818FE5449F3444FE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_deltaMatrix, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// throw new System.Exception("This method cannot be used for Grid Graphs. Please use the other overload of RelocateNodes instead");
|
|
Exception_t* L_0 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB2048883AE5A9E4A126EB2D1BF266E29AB6D6529)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&GridGraph_RelocateNodes_m54876E5ADBF05A05F18146E7818FE5449F3444FE_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::RelocateNodes(UnityEngine.Vector3,UnityEngine.Quaternion,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_RelocateNodes_m420D185FBC04994A12DC0537F66AE755C8AF9C37 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_center, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rotation, float ___2_nodeSize, float ___3_aspectRatio, float ___4_isometricAngle, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass61_0_U3CRelocateNodesU3Eb__0_mB971DC2795D35D5ADCAC78063EB1DCEDB013360F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* L_0 = (U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass61_0__ctor_m1596246DC0BCF083A124C59DC7E8949BA920F369(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_1 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_1), (void*)__this);
|
|
// var previousTransform = transform;
|
|
U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* L_2 = V_0;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_3;
|
|
L_3 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
NullCheck(L_2);
|
|
L_2->___previousTransform_0 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___previousTransform_0), (void*)L_3);
|
|
// this.center = center;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_center;
|
|
__this->___center_21 = L_4;
|
|
// this.rotation = rotation.eulerAngles;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&___1_rotation), NULL);
|
|
__this->___rotation_20 = L_5;
|
|
// this.aspectRatio = aspectRatio;
|
|
float L_6 = ___3_aspectRatio;
|
|
__this->___aspectRatio_15 = L_6;
|
|
// this.isometricAngle = isometricAngle;
|
|
float L_7 = ___4_isometricAngle;
|
|
__this->___isometricAngle_16 = L_7;
|
|
// SetDimensions(width, depth, nodeSize);
|
|
int32_t L_8 = __this->___width_13;
|
|
int32_t L_9 = __this->___depth_14;
|
|
float L_10 = ___2_nodeSize;
|
|
GridGraph_SetDimensions_m2582F4A6A9F4E05B1D7BC1DA769B4DE6BDA8EC57(__this, L_8, L_9, L_10, NULL);
|
|
// GetNodes(node => {
|
|
// var gnode = node as GridNodeBase;
|
|
// var height = previousTransform.InverseTransform((Vector3)node.position).y;
|
|
// node.position = GraphPointToWorld(gnode.XCoordinateInGrid, gnode.ZCoordinateInGrid, height);
|
|
// });
|
|
U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* L_11 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_12 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_12);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_12, L_11, (intptr_t)((void*)U3CU3Ec__DisplayClass61_0_U3CRelocateNodesU3Eb__0_mB971DC2795D35D5ADCAC78063EB1DCEDB013360F_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_12);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.Int3 Pathfinding.GridGraph::GraphPointToWorld(System.Int32,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 GridGraph_GraphPointToWorld_m5BC2E2993E52AA4FCA07834F1C342B4CB3F80607 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, float ___2_height, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (Int3)transform.Transform(new Vector3(x+0.5f, height, z+0.5f));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0;
|
|
L_0 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
int32_t L_1 = ___0_x;
|
|
float L_2 = ___2_height;
|
|
int32_t L_3 = ___1_z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), ((float)il2cpp_codegen_add(((float)L_1), (0.5f))), L_2, ((float)il2cpp_codegen_add(((float)L_3), (0.5f))), /*hidden argument*/NULL);
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_0, L_4, NULL);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6;
|
|
L_6 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Single Pathfinding.GridGraph::ConvertHexagonSizeToNodeSize(Pathfinding.InspectorGridHexagonNodeSize,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GridGraph_ConvertHexagonSizeToNodeSize_m96D52B96A224503F51CF96BF79A40E692AD2C5CA (int32_t ___0_mode, float ___1_value, 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;
|
|
}
|
|
{
|
|
// if (mode == InspectorGridHexagonNodeSize.Diameter) value *= 1.5f/(float)System.Math.Sqrt(2.0f);
|
|
int32_t L_0 = ___0_mode;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// if (mode == InspectorGridHexagonNodeSize.Diameter) value *= 1.5f/(float)System.Math.Sqrt(2.0f);
|
|
float L_1 = ___1_value;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_2;
|
|
L_2 = sqrt((2.0));
|
|
___1_value = ((float)il2cpp_codegen_multiply(L_1, ((float)((1.5f)/((float)L_2)))));
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// else if (mode == InspectorGridHexagonNodeSize.Width) value *= (float)System.Math.Sqrt(3.0f/2.0f);
|
|
int32_t L_3 = ___0_mode;
|
|
if (L_3)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// else if (mode == InspectorGridHexagonNodeSize.Width) value *= (float)System.Math.Sqrt(3.0f/2.0f);
|
|
float L_4 = ___1_value;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_5;
|
|
L_5 = sqrt((1.5));
|
|
___1_value = ((float)il2cpp_codegen_multiply(L_4, ((float)L_5)));
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// return value;
|
|
float L_6 = ___1_value;
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Single Pathfinding.GridGraph::ConvertNodeSizeToHexagonSize(Pathfinding.InspectorGridHexagonNodeSize,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float GridGraph_ConvertNodeSizeToHexagonSize_m265C6FE347A3557BB1562C7C11300929109DC8AF (int32_t ___0_mode, float ___1_value, 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;
|
|
}
|
|
{
|
|
// if (mode == InspectorGridHexagonNodeSize.Diameter) value *= (float)System.Math.Sqrt(2.0f)/1.5f;
|
|
int32_t L_0 = ___0_mode;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// if (mode == InspectorGridHexagonNodeSize.Diameter) value *= (float)System.Math.Sqrt(2.0f)/1.5f;
|
|
float L_1 = ___1_value;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_2;
|
|
L_2 = sqrt((2.0));
|
|
___1_value = ((float)il2cpp_codegen_multiply(L_1, ((float)(((float)L_2)/(1.5f)))));
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// else if (mode == InspectorGridHexagonNodeSize.Width) value *= (float)System.Math.Sqrt(2.0f/3.0f);
|
|
int32_t L_3 = ___0_mode;
|
|
if (L_3)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// else if (mode == InspectorGridHexagonNodeSize.Width) value *= (float)System.Math.Sqrt(2.0f/3.0f);
|
|
float L_4 = ___1_value;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_5;
|
|
L_5 = sqrt((0.66666668653488159));
|
|
___1_value = ((float)il2cpp_codegen_multiply(L_4, ((float)L_5)));
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// return value;
|
|
float L_6 = ___1_value;
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GridGraph::get_Width()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return width;
|
|
int32_t L_0 = __this->___width_13;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::set_Width(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_set_Width_m224617CC2EC1448FB817EB7566EE7A3A9BFD7984 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// width = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___width_13 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GridGraph::get_Depth()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridGraph_get_Depth_m82B29650EBDB2AA2FA075D786043FA76E7AF25D0 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return depth;
|
|
int32_t L_0 = __this->___depth_14;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::set_Depth(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_set_Depth_m947F8469901D4FCA90CD217A1680B55C6E855AA0 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// depth = value;
|
|
int32_t L_0 = ___0_value;
|
|
__this->___depth_14 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.UInt32 Pathfinding.GridGraph::GetConnectionCost(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t GridGraph_GetConnectionCost_m1EC0D67D0830D098925E19EB2E77FA7676910A5E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_dir, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return neighbourCosts[dir];
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_0 = __this->___neighbourCosts_43;
|
|
int32_t L_1 = ___0_dir;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
uint32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
return L_3;
|
|
}
|
|
}
|
|
// Pathfinding.GridNode Pathfinding.GridGraph::GetNodeConnection(Pathfinding.GridNode,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GridGraph_GetNodeConnection_m76291F48B5BEB47D16F4B7FBD0473DDB1FE5CABB (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, int32_t ___1_dir, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (!node.HasConnectionInDirection(dir)) return null;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_0 = ___0_node;
|
|
int32_t L_1 = ___1_dir;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(L_0, L_1, NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (!node.HasConnectionInDirection(dir)) return null;
|
|
return (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)NULL;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (!node.EdgeNode) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = ___0_node;
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = GridNode_get_EdgeNode_m48794BCE0D4C526953754CF9D4BDCDB4F1569D0C(L_3, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
{
|
|
// return nodes[node.NodeInGridIndex + neighbourOffsets[dir]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = __this->___nodes_48;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_6 = ___0_node;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_6, NULL);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = __this->___neighbourOffsets_42;
|
|
int32_t L_9 = ___1_dir;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
int32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
NullCheck(L_5);
|
|
int32_t L_12 = ((int32_t)il2cpp_codegen_add(L_7, L_11));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_13 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
return L_13;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// int index = node.NodeInGridIndex;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_14 = ___0_node;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_14, NULL);
|
|
V_0 = L_15;
|
|
// int z = index/Width;
|
|
int32_t L_16 = V_0;
|
|
int32_t L_17;
|
|
L_17 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_1 = ((int32_t)(L_16/L_17));
|
|
// int x = index - z*Width;
|
|
int32_t L_18 = V_0;
|
|
int32_t L_19 = V_1;
|
|
int32_t L_20;
|
|
L_20 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_18, ((int32_t)il2cpp_codegen_multiply(L_19, L_20))));
|
|
// return GetNodeConnection(index, x, z, dir);
|
|
int32_t L_21 = V_0;
|
|
int32_t L_22 = V_2;
|
|
int32_t L_23 = V_1;
|
|
int32_t L_24 = ___1_dir;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_25;
|
|
L_25 = GridGraph_GetNodeConnection_mFA6DB89CD1F495C829C71DD2F40FC262457B6877(__this, L_21, L_22, L_23, L_24, NULL);
|
|
return L_25;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::HasNodeConnection(Pathfinding.GridNode,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, int32_t ___1_dir, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (!node.HasConnectionInDirection(dir)) return false;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_0 = ___0_node;
|
|
int32_t L_1 = ___1_dir;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(L_0, L_1, NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (!node.HasConnectionInDirection(dir)) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (!node.EdgeNode) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = ___0_node;
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = GridNode_get_EdgeNode_m48794BCE0D4C526953754CF9D4BDCDB4F1569D0C(L_3, NULL);
|
|
if (L_4)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// int index = node.NodeInGridIndex;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_5 = ___0_node;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_5, NULL);
|
|
V_0 = L_6;
|
|
// int z = index/Width;
|
|
int32_t L_7 = V_0;
|
|
int32_t L_8;
|
|
L_8 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_1 = ((int32_t)(L_7/L_8));
|
|
// int x = index - z*Width;
|
|
int32_t L_9 = V_0;
|
|
int32_t L_10 = V_1;
|
|
int32_t L_11;
|
|
L_11 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_9, ((int32_t)il2cpp_codegen_multiply(L_10, L_11))));
|
|
// return HasNodeConnection(index, x, z, dir);
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13 = V_2;
|
|
int32_t L_14 = V_1;
|
|
int32_t L_15 = ___1_dir;
|
|
bool L_16;
|
|
L_16 = GridGraph_HasNodeConnection_m7A0C9F937362564C8B365A6A4173A915B3469DEE(__this, L_12, L_13, L_14, L_15, NULL);
|
|
return L_16;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::SetNodeConnection(Pathfinding.GridNode,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetNodeConnection_m5DFDF70B49A5059902EC1C95AE1BEA65E380F876 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, int32_t ___1_dir, bool ___2_value, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// int index = node.NodeInGridIndex;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_0, NULL);
|
|
V_0 = L_1;
|
|
// int z = index/Width;
|
|
int32_t L_2 = V_0;
|
|
int32_t L_3;
|
|
L_3 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_1 = ((int32_t)(L_2/L_3));
|
|
// int x = index - z*Width;
|
|
int32_t L_4 = V_0;
|
|
int32_t L_5 = V_1;
|
|
int32_t L_6;
|
|
L_6 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_2 = ((int32_t)il2cpp_codegen_subtract(L_4, ((int32_t)il2cpp_codegen_multiply(L_5, L_6))));
|
|
// SetNodeConnection(index, x, z, dir, value);
|
|
int32_t L_7 = V_0;
|
|
int32_t L_8 = V_2;
|
|
int32_t L_9 = V_1;
|
|
int32_t L_10 = ___1_dir;
|
|
bool L_11 = ___2_value;
|
|
GridGraph_SetNodeConnection_mE2D562C6365ED36E506B270B8CA20D3055F5F720(__this, L_7, L_8, L_9, L_10, L_11, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.GridNode Pathfinding.GridGraph::GetNodeConnection(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* GridGraph_GetNodeConnection_mFA6DB89CD1F495C829C71DD2F40FC262457B6877 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_index, int32_t ___1_x, int32_t ___2_z, int32_t ___3_dir, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (!nodes[index].HasConnectionInDirection(dir)) return null;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
int32_t L_1 = ___0_index;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
int32_t L_4 = ___3_dir;
|
|
NullCheck(L_3);
|
|
bool L_5;
|
|
L_5 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(L_3, L_4, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (!nodes[index].HasConnectionInDirection(dir)) return null;
|
|
return (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)NULL;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// int nx = x + neighbourXOffsets[dir];
|
|
int32_t L_6 = ___1_x;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___neighbourXOffsets_44;
|
|
int32_t L_8 = ___3_dir;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, L_10));
|
|
// if (nx < 0 || nx >= Width) return null; /// <summary>TODO: Modify to get adjacent grid graph here</summary>
|
|
int32_t L_11 = V_0;
|
|
if ((((int32_t)L_11) < ((int32_t)0)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13;
|
|
L_13 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
if ((((int32_t)L_12) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// if (nx < 0 || nx >= Width) return null; /// <summary>TODO: Modify to get adjacent grid graph here</summary>
|
|
return (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)NULL;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// int nz = z + neighbourZOffsets[dir];
|
|
int32_t L_14 = ___2_z;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15 = __this->___neighbourZOffsets_45;
|
|
int32_t L_16 = ___3_dir;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
int32_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_14, L_18));
|
|
// if (nz < 0 || nz >= Depth) return null;
|
|
int32_t L_19 = V_1;
|
|
if ((((int32_t)L_19) < ((int32_t)0)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_20 = V_1;
|
|
int32_t L_21;
|
|
L_21 = GridGraph_get_Depth_m82B29650EBDB2AA2FA075D786043FA76E7AF25D0_inline(__this, NULL);
|
|
if ((((int32_t)L_20) < ((int32_t)L_21)))
|
|
{
|
|
goto IL_0049;
|
|
}
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// if (nz < 0 || nz >= Depth) return null;
|
|
return (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)NULL;
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// int nindex = index + neighbourOffsets[dir];
|
|
int32_t L_22 = ___0_index;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = __this->___neighbourOffsets_42;
|
|
int32_t L_24 = ___3_dir;
|
|
NullCheck(L_23);
|
|
int32_t L_25 = L_24;
|
|
int32_t L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_22, L_26));
|
|
// return nodes[nindex];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_27 = __this->___nodes_48;
|
|
int32_t L_28 = V_2;
|
|
NullCheck(L_27);
|
|
int32_t L_29 = L_28;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
return L_30;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::SetNodeConnection(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetNodeConnection_mE2D562C6365ED36E506B270B8CA20D3055F5F720 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_index, int32_t ___1_x, int32_t ___2_z, int32_t ___3_dir, bool ___4_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// nodes[index].SetConnectionInternal(dir, value);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
int32_t L_1 = ___0_index;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
int32_t L_4 = ___3_dir;
|
|
bool L_5 = ___4_value;
|
|
NullCheck(L_3);
|
|
GridNode_SetConnectionInternal_mA9FEC910BFD91692F42444F30F46EB4931D9AB0F(L_3, L_4, L_5, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::HasNodeConnection(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_HasNodeConnection_m7A0C9F937362564C8B365A6A4173A915B3469DEE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_index, int32_t ___1_x, int32_t ___2_z, int32_t ___3_dir, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (!nodes[index].HasConnectionInDirection(dir)) return false;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
int32_t L_1 = ___0_index;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
int32_t L_4 = ___3_dir;
|
|
NullCheck(L_3);
|
|
bool L_5;
|
|
L_5 = GridNode_HasConnectionInDirection_m4815A23DB2D1B5DA292FB57704B866927DD0C754(L_3, L_4, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (!nodes[index].HasConnectionInDirection(dir)) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// int nx = x + neighbourXOffsets[dir];
|
|
int32_t L_6 = ___1_x;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_7 = __this->___neighbourXOffsets_44;
|
|
int32_t L_8 = ___3_dir;
|
|
NullCheck(L_7);
|
|
int32_t L_9 = L_8;
|
|
int32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, L_10));
|
|
// if (nx < 0 || nx >= Width) return false; /// <summary>TODO: Modify to get adjacent grid graph here</summary>
|
|
int32_t L_11 = V_0;
|
|
if ((((int32_t)L_11) < ((int32_t)0)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_12 = V_0;
|
|
int32_t L_13;
|
|
L_13 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
if ((((int32_t)L_12) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// if (nx < 0 || nx >= Width) return false; /// <summary>TODO: Modify to get adjacent grid graph here</summary>
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// int nz = z + neighbourZOffsets[dir];
|
|
int32_t L_14 = ___2_z;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15 = __this->___neighbourZOffsets_45;
|
|
int32_t L_16 = ___3_dir;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
int32_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_14, L_18));
|
|
// if (nz < 0 || nz >= Depth) return false;
|
|
int32_t L_19 = V_1;
|
|
if ((((int32_t)L_19) < ((int32_t)0)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_20 = V_1;
|
|
int32_t L_21;
|
|
L_21 = GridGraph_get_Depth_m82B29650EBDB2AA2FA075D786043FA76E7AF25D0_inline(__this, NULL);
|
|
if ((((int32_t)L_20) < ((int32_t)L_21)))
|
|
{
|
|
goto IL_0049;
|
|
}
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// if (nz < 0 || nz >= Depth) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::SetGridShape(Pathfinding.InspectorGridMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetGridShape_mFC4D9837D9BCFD96041C1CBC5EF6E2D8A703D4E2 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_shape, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___0_shape;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_008f;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// isometricAngle = 0;
|
|
__this->___isometricAngle_16 = (0.0f);
|
|
// aspectRatio = 1;
|
|
__this->___aspectRatio_15 = (1.0f);
|
|
// uniformEdgeCosts = false;
|
|
__this->___uniformEdgeCosts_19 = (bool)0;
|
|
// if (neighbours == NumNeighbours.Six) neighbours = NumNeighbours.Eight;
|
|
int32_t L_1 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
|
|
{
|
|
goto IL_008f;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbours == NumNeighbours.Six) neighbours = NumNeighbours.Eight;
|
|
__this->___neighbours_30 = 1;
|
|
// break;
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// isometricAngle = StandardIsometricAngle;
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
float L_2 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___StandardIsometricAngle_17;
|
|
__this->___isometricAngle_16 = L_2;
|
|
// aspectRatio = 1;
|
|
__this->___aspectRatio_15 = (1.0f);
|
|
// uniformEdgeCosts = true;
|
|
__this->___uniformEdgeCosts_19 = (bool)1;
|
|
// neighbours = NumNeighbours.Six;
|
|
__this->___neighbours_30 = 2;
|
|
// break;
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// uniformEdgeCosts = false;
|
|
__this->___uniformEdgeCosts_19 = (bool)0;
|
|
// if (neighbours == NumNeighbours.Six) neighbours = NumNeighbours.Eight;
|
|
int32_t L_3 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbours == NumNeighbours.Six) neighbours = NumNeighbours.Eight;
|
|
__this->___neighbours_30 = 1;
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// isometricAngle = StandardIsometricAngle;
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
float L_4 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___StandardIsometricAngle_17;
|
|
__this->___isometricAngle_16 = L_4;
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
// inspectorGridMode = shape;
|
|
int32_t L_5 = ___0_shape;
|
|
__this->___inspectorGridMode_11 = L_5;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::SetDimensions(System.Int32,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetDimensions_m2582F4A6A9F4E05B1D7BC1DA769B4DE6BDA8EC57 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_width, int32_t ___1_depth, float ___2_nodeSize, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// unclampedSize = new Vector2(width, depth)*nodeSize;
|
|
int32_t L_0 = ___0_width;
|
|
int32_t L_1 = ___1_depth;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_2), ((float)L_0), ((float)L_1), /*hidden argument*/NULL);
|
|
float L_3 = ___2_nodeSize;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_2, L_3, NULL);
|
|
__this->___unclampedSize_22 = L_4;
|
|
// this.nodeSize = nodeSize;
|
|
float L_5 = ___2_nodeSize;
|
|
__this->___nodeSize_23 = L_5;
|
|
// UpdateTransform();
|
|
GridGraph_UpdateTransform_m9BA7A9D16EA9221C2E30D94927ADDC61D563AD21(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::UpdateSizeFromWidthDepth()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_UpdateSizeFromWidthDepth_m8AFF82D90862F2733E4EC92E382BDEB16D55C77B (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// SetDimensions(width, depth, nodeSize);
|
|
int32_t L_0 = __this->___width_13;
|
|
int32_t L_1 = __this->___depth_14;
|
|
float L_2 = __this->___nodeSize_23;
|
|
GridGraph_SetDimensions_m2582F4A6A9F4E05B1D7BC1DA769B4DE6BDA8EC57(__this, L_0, L_1, L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::GenerateMatrix()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_GenerateMatrix_m658FFBE18135F7DF546C09573BF2448E67EF1C0F (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// UpdateTransform();
|
|
GridGraph_UpdateTransform_m9BA7A9D16EA9221C2E30D94927ADDC61D563AD21(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::UpdateTransform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_UpdateTransform_m9BA7A9D16EA9221C2E30D94927ADDC61D563AD21 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// CalculateDimensions(out width, out depth, out nodeSize);
|
|
int32_t* L_0 = (int32_t*)(&__this->___width_13);
|
|
int32_t* L_1 = (int32_t*)(&__this->___depth_14);
|
|
float* L_2 = (float*)(&__this->___nodeSize_23);
|
|
GridGraph_CalculateDimensions_m08862DDCE0D3C478FA8ED1CDA7C681F64E1A8CCF(__this, L_0, L_1, L_2, NULL);
|
|
// transform = CalculateTransform();
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_3;
|
|
L_3 = GridGraph_CalculateTransform_m5477ECADF04C51740AF2999ED287BB71C2E97FCE(__this, NULL);
|
|
GridGraph_set_transform_m0B297D6791CDC5CE67F98D2D0AF363F215FC584D_inline(__this, L_3, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.Util.GraphTransform Pathfinding.GridGraph::CalculateTransform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_CalculateTransform_m5477ECADF04C51740AF2999ED287BB71C2E97FCE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
float V_2 = 0.0f;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// CalculateDimensions(out newWidth, out newDepth, out newNodeSize);
|
|
GridGraph_CalculateDimensions_m08862DDCE0D3C478FA8ED1CDA7C681F64E1A8CCF(__this, (&V_0), (&V_1), (&V_2), NULL);
|
|
// var isometricMatrix = Matrix4x4.TRS(Vector3.zero, Quaternion.Euler(0, 45, 0), Vector3.one);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (45.0f), (0.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_3;
|
|
L_3 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_0, L_1, L_2, NULL);
|
|
V_3 = L_3;
|
|
// isometricMatrix = Matrix4x4.Scale(new Vector3(Mathf.Cos(Mathf.Deg2Rad*isometricAngle), 1, 1)) * isometricMatrix;
|
|
float L_4 = __this->___isometricAngle_16;
|
|
float L_5;
|
|
L_5 = cosf(((float)il2cpp_codegen_multiply((0.0174532924f), L_4)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), L_5, (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_7;
|
|
L_7 = Matrix4x4_Scale_m95902D2A889FD6E7B04BBEAE6FAE5D6D8A88E642(L_6, NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_8 = V_3;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_9;
|
|
L_9 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(L_7, L_8, NULL);
|
|
V_3 = L_9;
|
|
// isometricMatrix = Matrix4x4.TRS(Vector3.zero, Quaternion.Euler(0, -45, 0), Vector3.one) * isometricMatrix;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (-45.0f), (0.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_13;
|
|
L_13 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_10, L_11, L_12, NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_14 = V_3;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_15;
|
|
L_15 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(L_13, L_14, NULL);
|
|
V_3 = L_15;
|
|
// var boundsMatrix = Matrix4x4.TRS(center, Quaternion.Euler(rotation), new Vector3(aspectRatio, 1, 1)) * isometricMatrix;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___center_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = __this->___rotation_20;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_17, NULL);
|
|
float L_19 = __this->___aspectRatio_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
memset((&L_20), 0, sizeof(L_20));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_20), L_19, (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_21;
|
|
L_21 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_16, L_18, L_20, NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_22 = V_3;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_23;
|
|
L_23 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(L_21, L_22, NULL);
|
|
V_4 = L_23;
|
|
// var m = Matrix4x4.TRS(boundsMatrix.MultiplyPoint3x4(-new Vector3(newWidth*newNodeSize, 0, newDepth*newNodeSize)*0.5F), Quaternion.Euler(rotation), new Vector3(newNodeSize*aspectRatio, 1, newNodeSize)) * isometricMatrix;
|
|
int32_t L_24 = V_0;
|
|
float L_25 = V_2;
|
|
int32_t L_26 = V_1;
|
|
float L_27 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
memset((&L_28), 0, sizeof(L_28));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_28), ((float)il2cpp_codegen_multiply(((float)L_24), L_25)), (0.0f), ((float)il2cpp_codegen_multiply(((float)L_26), L_27)), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_28, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, (0.5f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_4), L_30, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = __this->___rotation_20;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_33;
|
|
L_33 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_32, NULL);
|
|
float L_34 = V_2;
|
|
float L_35 = __this->___aspectRatio_15;
|
|
float L_36 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
memset((&L_37), 0, sizeof(L_37));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_37), ((float)il2cpp_codegen_multiply(L_34, L_35)), (1.0f), L_36, /*hidden argument*/NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_38;
|
|
L_38 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_31, L_33, L_37, NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_39 = V_3;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_40;
|
|
L_40 = Matrix4x4_op_Multiply_m75E91775655DCA8DFC8EDE0AB787285BB3935162(L_38, L_39, NULL);
|
|
// return new GraphTransform(m);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_41 = (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426*)il2cpp_codegen_object_new(GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
NullCheck(L_41);
|
|
GraphTransform__ctor_mF0D350BA128D610C33975209F3E04290F0936A88(L_41, L_40, NULL);
|
|
return L_41;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateDimensions(System.Int32&,System.Int32&,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateDimensions_m08862DDCE0D3C478FA8ED1CDA7C681F64E1A8CCF (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t* ___0_width, int32_t* ___1_depth, float* ___2_nodeSize, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B2_0 = NULL;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B1_0 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B3_1 = NULL;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B5_0 = NULL;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B4_0 = NULL;
|
|
float G_B6_0 = 0.0f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* G_B6_1 = NULL;
|
|
{
|
|
// var newSize = unclampedSize;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = __this->___unclampedSize_22;
|
|
V_0 = L_0;
|
|
// newSize.x *= Mathf.Sign(newSize.x);
|
|
float* L_1 = (float*)(&(&V_0)->___x_0);
|
|
float* L_2 = L_1;
|
|
float L_3 = *((float*)L_2);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = V_0;
|
|
float L_5 = L_4.___x_0;
|
|
float L_6;
|
|
L_6 = Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline(L_5, NULL);
|
|
*((float*)L_2) = (float)((float)il2cpp_codegen_multiply(L_3, L_6));
|
|
// newSize.y *= Mathf.Sign(newSize.y);
|
|
float* L_7 = (float*)(&(&V_0)->___y_1);
|
|
float* L_8 = L_7;
|
|
float L_9 = *((float*)L_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10 = V_0;
|
|
float L_11 = L_10.___y_1;
|
|
float L_12;
|
|
L_12 = Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline(L_11, NULL);
|
|
*((float*)L_8) = (float)((float)il2cpp_codegen_multiply(L_9, L_12));
|
|
// nodeSize = Mathf.Max(this.nodeSize, newSize.x/1024F);
|
|
float* L_13 = ___2_nodeSize;
|
|
float L_14 = __this->___nodeSize_23;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = V_0;
|
|
float L_16 = L_15.___x_0;
|
|
float L_17;
|
|
L_17 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_14, ((float)(L_16/(1024.0f))), NULL);
|
|
*((float*)L_13) = (float)L_17;
|
|
// nodeSize = Mathf.Max(this.nodeSize, newSize.y/1024F);
|
|
float* L_18 = ___2_nodeSize;
|
|
float L_19 = __this->___nodeSize_23;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = V_0;
|
|
float L_21 = L_20.___y_1;
|
|
float L_22;
|
|
L_22 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_19, ((float)(L_21/(1024.0f))), NULL);
|
|
*((float*)L_18) = (float)L_22;
|
|
// newSize.x = newSize.x < nodeSize ? nodeSize : newSize.x;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23 = V_0;
|
|
float L_24 = L_23.___x_0;
|
|
float* L_25 = ___2_nodeSize;
|
|
float L_26 = *((float*)L_25);
|
|
G_B1_0 = (&V_0);
|
|
if ((((float)L_24) < ((float)L_26)))
|
|
{
|
|
G_B2_0 = (&V_0);
|
|
goto IL_0079;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_27 = V_0;
|
|
float L_28 = L_27.___x_0;
|
|
G_B3_0 = L_28;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_007b;
|
|
}
|
|
|
|
IL_0079:
|
|
{
|
|
float* L_29 = ___2_nodeSize;
|
|
float L_30 = *((float*)L_29);
|
|
G_B3_0 = L_30;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
G_B3_1->___x_0 = G_B3_0;
|
|
// newSize.y = newSize.y < nodeSize ? nodeSize : newSize.y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_31 = V_0;
|
|
float L_32 = L_31.___y_1;
|
|
float* L_33 = ___2_nodeSize;
|
|
float L_34 = *((float*)L_33);
|
|
G_B4_0 = (&V_0);
|
|
if ((((float)L_32) < ((float)L_34)))
|
|
{
|
|
G_B5_0 = (&V_0);
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_35 = V_0;
|
|
float L_36 = L_35.___y_1;
|
|
G_B6_0 = L_36;
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_0096;
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
float* L_37 = ___2_nodeSize;
|
|
float L_38 = *((float*)L_37);
|
|
G_B6_0 = L_38;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
G_B6_1->___y_1 = G_B6_0;
|
|
// size = newSize;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_39 = V_0;
|
|
GridGraph_set_size_m6C0D706F47946922AEB296FE6E1295D8D72AAF07_inline(__this, L_39, NULL);
|
|
// width = Mathf.FloorToInt(size.x / nodeSize);
|
|
int32_t* L_40 = ___0_width;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_41;
|
|
L_41 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_42 = L_41.___x_0;
|
|
float* L_43 = ___2_nodeSize;
|
|
float L_44 = *((float*)L_43);
|
|
int32_t L_45;
|
|
L_45 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_42/L_44)), NULL);
|
|
*((int32_t*)L_40) = (int32_t)L_45;
|
|
// depth = Mathf.FloorToInt(size.y / nodeSize);
|
|
int32_t* L_46 = ___1_depth;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_47;
|
|
L_47 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_48 = L_47.___y_1;
|
|
float* L_49 = ___2_nodeSize;
|
|
float L_50 = *((float*)L_49);
|
|
int32_t L_51;
|
|
L_51 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_48/L_50)), NULL);
|
|
*((int32_t*)L_46) = (int32_t)L_51;
|
|
// if (Mathf.Approximately(size.x / nodeSize, Mathf.CeilToInt(size.x / nodeSize))) {
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_52;
|
|
L_52 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_53 = L_52.___x_0;
|
|
float* L_54 = ___2_nodeSize;
|
|
float L_55 = *((float*)L_54);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_56;
|
|
L_56 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_57 = L_56.___x_0;
|
|
float* L_58 = ___2_nodeSize;
|
|
float L_59 = *((float*)L_58);
|
|
int32_t L_60;
|
|
L_60 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)(L_57/L_59)), NULL);
|
|
bool L_61;
|
|
L_61 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(((float)(L_53/L_55)), ((float)L_60), NULL);
|
|
if (!L_61)
|
|
{
|
|
goto IL_010a;
|
|
}
|
|
}
|
|
{
|
|
// width = Mathf.CeilToInt(size.x / nodeSize);
|
|
int32_t* L_62 = ___0_width;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_63;
|
|
L_63 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_64 = L_63.___x_0;
|
|
float* L_65 = ___2_nodeSize;
|
|
float L_66 = *((float*)L_65);
|
|
int32_t L_67;
|
|
L_67 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)(L_64/L_66)), NULL);
|
|
*((int32_t*)L_62) = (int32_t)L_67;
|
|
}
|
|
|
|
IL_010a:
|
|
{
|
|
// if (Mathf.Approximately(size.y / nodeSize, Mathf.CeilToInt(size.y / nodeSize))) {
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_68;
|
|
L_68 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_69 = L_68.___y_1;
|
|
float* L_70 = ___2_nodeSize;
|
|
float L_71 = *((float*)L_70);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_72;
|
|
L_72 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_73 = L_72.___y_1;
|
|
float* L_74 = ___2_nodeSize;
|
|
float L_75 = *((float*)L_74);
|
|
int32_t L_76;
|
|
L_76 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)(L_73/L_75)), NULL);
|
|
bool L_77;
|
|
L_77 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(((float)(L_69/L_71)), ((float)L_76), NULL);
|
|
if (!L_77)
|
|
{
|
|
goto IL_0148;
|
|
}
|
|
}
|
|
{
|
|
// depth = Mathf.CeilToInt(size.y / nodeSize);
|
|
int32_t* L_78 = ___1_depth;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_79;
|
|
L_79 = GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline(__this, NULL);
|
|
float L_80 = L_79.___y_1;
|
|
float* L_81 = ___2_nodeSize;
|
|
float L_82 = *((float*)L_81);
|
|
int32_t L_83;
|
|
L_83 = Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline(((float)(L_80/L_82)), NULL);
|
|
*((int32_t*)L_78) = (int32_t)L_83;
|
|
}
|
|
|
|
IL_0148:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.GridGraph::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint,Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 GridGraph_GetNearest_m534D9EB83C518A965A950372863AF5B8567F8B81 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___2_hint, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
float V_5 = 0.0f;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
{
|
|
// if (nodes == null || depth*width != nodes.Length) {
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___depth_14;
|
|
int32_t L_2 = __this->___width_13;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_3 = __this->___nodes_48;
|
|
NullCheck(L_3);
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_multiply(L_1, L_2))) == ((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// return new NNInfoInternal();
|
|
il2cpp_codegen_initobj((&V_6), sizeof(NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801));
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_4 = V_6;
|
|
return L_4;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// position = transform.InverseTransform(position);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_5;
|
|
L_5 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_position;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_5, L_6, NULL);
|
|
___0_position = L_7;
|
|
// float xf = position.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_position;
|
|
float L_9 = L_8.___x_2;
|
|
V_0 = L_9;
|
|
// float zf = position.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_position;
|
|
float L_11 = L_10.___z_4;
|
|
V_1 = L_11;
|
|
// int x = Mathf.Clamp((int)xf, 0, width-1);
|
|
float L_12 = V_0;
|
|
int32_t L_13 = __this->___width_13;
|
|
int32_t L_14;
|
|
L_14 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(il2cpp_codegen_cast_double_to_int<int32_t>(L_12), 0, ((int32_t)il2cpp_codegen_subtract(L_13, 1)), NULL);
|
|
V_2 = L_14;
|
|
// int z = Mathf.Clamp((int)zf, 0, depth-1);
|
|
float L_15 = V_1;
|
|
int32_t L_16 = __this->___depth_14;
|
|
int32_t L_17;
|
|
L_17 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(il2cpp_codegen_cast_double_to_int<int32_t>(L_15), 0, ((int32_t)il2cpp_codegen_subtract(L_16, 1)), NULL);
|
|
V_3 = L_17;
|
|
// var nn = new NNInfoInternal(nodes[z*width+x]);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_18 = __this->___nodes_48;
|
|
int32_t L_19 = V_3;
|
|
int32_t L_20 = __this->___width_13;
|
|
int32_t L_21 = V_2;
|
|
NullCheck(L_18);
|
|
int32_t L_22 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_19, L_20)), L_21));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_23 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1((&V_4), L_23, NULL);
|
|
// float y = transform.InverseTransform((Vector3)nodes[z*width+x].position).y;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_24;
|
|
L_24 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_25 = __this->___nodes_48;
|
|
int32_t L_26 = V_3;
|
|
int32_t L_27 = __this->___width_13;
|
|
int32_t L_28 = V_2;
|
|
NullCheck(L_25);
|
|
int32_t L_29 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_26, L_27)), L_28));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_30 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
NullCheck(L_30);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_31 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_30)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_31, NULL);
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_24, L_32, NULL);
|
|
float L_34 = L_33.___y_3;
|
|
V_5 = L_34;
|
|
// nn.clampedPosition = transform.Transform(new Vector3(Mathf.Clamp(xf, x, x+1f), y, Mathf.Clamp(zf, z, z+1f)));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_35;
|
|
L_35 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_36 = V_0;
|
|
int32_t L_37 = V_2;
|
|
int32_t L_38 = V_2;
|
|
float L_39;
|
|
L_39 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_36, ((float)L_37), ((float)il2cpp_codegen_add(((float)L_38), (1.0f))), NULL);
|
|
float L_40 = V_5;
|
|
float L_41 = V_1;
|
|
int32_t L_42 = V_3;
|
|
int32_t L_43 = V_3;
|
|
float L_44;
|
|
L_44 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_41, ((float)L_42), ((float)il2cpp_codegen_add(((float)L_43), (1.0f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
memset((&L_45), 0, sizeof(L_45));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_45), L_39, L_40, L_44, /*hidden argument*/NULL);
|
|
NullCheck(L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_35, L_45, NULL);
|
|
(&V_4)->___clampedPosition_2 = L_46;
|
|
// return nn;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_47 = V_4;
|
|
return L_47;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.GridGraph::GetNearestForce(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 GridGraph_GetNearestForce_mDD896A71B5848AC915FCF1F6AD27CF585F33AD82 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_5 = NULL;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_6 = NULL;
|
|
float V_7 = 0.0f;
|
|
int32_t V_8 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
float V_11 = 0.0f;
|
|
float V_12 = 0.0f;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
float V_14 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
int32_t V_16 = 0;
|
|
bool V_17 = false;
|
|
int32_t V_18 = 0;
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
float V_21 = 0.0f;
|
|
float V_22 = 0.0f;
|
|
float V_23 = 0.0f;
|
|
float V_24 = 0.0f;
|
|
float G_B14_0 = 0.0f;
|
|
{
|
|
// if (nodes == null || depth*width != nodes.Length) {
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___depth_14;
|
|
int32_t L_2 = __this->___width_13;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_3 = __this->___nodes_48;
|
|
NullCheck(L_3);
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_multiply(L_1, L_2))) == ((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// return new NNInfoInternal();
|
|
il2cpp_codegen_initobj((&V_13), sizeof(NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801));
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_4 = V_13;
|
|
return L_4;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// Vector3 globalPosition = position;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___0_position;
|
|
V_0 = L_5;
|
|
// position = transform.InverseTransform(position);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_6;
|
|
L_6 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_position;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_6, L_7, NULL);
|
|
___0_position = L_8;
|
|
// float xf = position.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_position;
|
|
float L_10 = L_9.___x_2;
|
|
V_1 = L_10;
|
|
// float zf = position.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_position;
|
|
float L_12 = L_11.___z_4;
|
|
V_2 = L_12;
|
|
// int x = Mathf.Clamp((int)xf, 0, width-1);
|
|
float L_13 = V_1;
|
|
int32_t L_14 = __this->___width_13;
|
|
int32_t L_15;
|
|
L_15 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(il2cpp_codegen_cast_double_to_int<int32_t>(L_13), 0, ((int32_t)il2cpp_codegen_subtract(L_14, 1)), NULL);
|
|
V_3 = L_15;
|
|
// int z = Mathf.Clamp((int)zf, 0, depth-1);
|
|
float L_16 = V_2;
|
|
int32_t L_17 = __this->___depth_14;
|
|
int32_t L_18;
|
|
L_18 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(il2cpp_codegen_cast_double_to_int<int32_t>(L_16), 0, ((int32_t)il2cpp_codegen_subtract(L_17, 1)), NULL);
|
|
V_4 = L_18;
|
|
// GridNode node = nodes[x+z*width];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_19 = __this->___nodes_48;
|
|
int32_t L_20 = V_3;
|
|
int32_t L_21 = V_4;
|
|
int32_t L_22 = __this->___width_13;
|
|
NullCheck(L_19);
|
|
int32_t L_23 = ((int32_t)il2cpp_codegen_add(L_20, ((int32_t)il2cpp_codegen_multiply(L_21, L_22))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_24 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
V_5 = L_24;
|
|
// GridNode minNode = null;
|
|
V_6 = (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)NULL;
|
|
// float minDist = float.PositiveInfinity;
|
|
V_7 = (std::numeric_limits<float>::infinity());
|
|
// int overlap = getNearestForceOverlap;
|
|
V_8 = 2;
|
|
// Vector3 clampedPosition = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_9 = L_25;
|
|
// var nn = new NNInfoInternal(null);
|
|
NNInfoInternal__ctor_mAF15F2D3925A1F1AF14425DAE40F6FD9168258E1((&V_10), (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL, NULL);
|
|
// if (constraint == null || constraint.Suitable(node)) {
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_26 = ___1_constraint;
|
|
if (!L_26)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_27 = ___1_constraint;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_28 = V_5;
|
|
NullCheck(L_27);
|
|
bool L_29;
|
|
L_29 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_27, L_28);
|
|
if (!L_29)
|
|
{
|
|
goto IL_011d;
|
|
}
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// minNode = node;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_30 = V_5;
|
|
V_6 = L_30;
|
|
// minDist = ((Vector3)minNode.position-globalPosition).sqrMagnitude;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_31 = V_6;
|
|
NullCheck(L_31);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_32 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_31)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_32, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_33, L_34, NULL);
|
|
V_15 = L_35;
|
|
float L_36;
|
|
L_36 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_15), NULL);
|
|
V_7 = L_36;
|
|
// float y = transform.InverseTransform((Vector3)node.position).y;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_37;
|
|
L_37 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_38 = V_5;
|
|
NullCheck(L_38);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_39 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_38)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_39, NULL);
|
|
NullCheck(L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_37, L_40, NULL);
|
|
float L_42 = L_41.___y_3;
|
|
V_14 = L_42;
|
|
// clampedPosition = transform.Transform(new Vector3(Mathf.Clamp(xf, x, x+1f), y, Mathf.Clamp(zf, z, z+1f)));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_43;
|
|
L_43 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_44 = V_1;
|
|
int32_t L_45 = V_3;
|
|
int32_t L_46 = V_3;
|
|
float L_47;
|
|
L_47 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_44, ((float)L_45), ((float)il2cpp_codegen_add(((float)L_46), (1.0f))), NULL);
|
|
float L_48 = V_14;
|
|
float L_49 = V_2;
|
|
int32_t L_50 = V_4;
|
|
int32_t L_51 = V_4;
|
|
float L_52;
|
|
L_52 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_49, ((float)L_50), ((float)il2cpp_codegen_add(((float)L_51), (1.0f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
memset((&L_53), 0, sizeof(L_53));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_53), L_47, L_48, L_52, /*hidden argument*/NULL);
|
|
NullCheck(L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_43, L_53, NULL);
|
|
V_9 = L_54;
|
|
}
|
|
|
|
IL_011d:
|
|
{
|
|
// if (minNode != null) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_55 = V_6;
|
|
if (!L_55)
|
|
{
|
|
goto IL_0140;
|
|
}
|
|
}
|
|
{
|
|
// nn.node = minNode;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_56 = V_6;
|
|
(&V_10)->___node_0 = L_56;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_10)->___node_0), (void*)L_56);
|
|
// nn.clampedPosition = clampedPosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = V_9;
|
|
(&V_10)->___clampedPosition_2 = L_57;
|
|
// if (overlap == 0) return nn;
|
|
int32_t L_58 = V_8;
|
|
if (L_58)
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
{
|
|
// if (overlap == 0) return nn;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_59 = V_10;
|
|
return L_59;
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// overlap--;
|
|
int32_t L_60 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_subtract(L_60, 1));
|
|
}
|
|
|
|
IL_0140:
|
|
{
|
|
// float maxDist = constraint == null || constraint.constrainDistance ? AstarPath.active.maxNearestNodeDistance : float.PositiveInfinity;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_61 = ___1_constraint;
|
|
if (!L_61)
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_62 = ___1_constraint;
|
|
NullCheck(L_62);
|
|
bool L_63 = L_62->___constrainDistance_8;
|
|
if (L_63)
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
G_B14_0 = (std::numeric_limits<float>::infinity());
|
|
goto IL_015c;
|
|
}
|
|
|
|
IL_0152:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_64 = ((AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_StaticFields*)il2cpp_codegen_static_fields_for(AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760_il2cpp_TypeInfo_var))->___active_9;
|
|
NullCheck(L_64);
|
|
float L_65 = L_64->___maxNearestNodeDistance_19;
|
|
G_B14_0 = L_65;
|
|
}
|
|
|
|
IL_015c:
|
|
{
|
|
V_11 = G_B14_0;
|
|
// float maxDistSqr = maxDist*maxDist;
|
|
float L_66 = V_11;
|
|
float L_67 = V_11;
|
|
V_12 = ((float)il2cpp_codegen_multiply(L_66, L_67));
|
|
// for (int w = 1;; w++) {
|
|
V_16 = 1;
|
|
}
|
|
|
|
IL_0168:
|
|
{
|
|
// if (nodeSize*w > maxDist) {
|
|
float L_68 = __this->___nodeSize_23;
|
|
int32_t L_69 = V_16;
|
|
float L_70 = V_11;
|
|
if ((((float)((float)il2cpp_codegen_multiply(L_68, ((float)L_69)))) > ((float)L_70)))
|
|
{
|
|
goto IL_05e7;
|
|
}
|
|
}
|
|
{
|
|
// bool anyInside = false;
|
|
V_17 = (bool)0;
|
|
// int nz = z+w;
|
|
int32_t L_71 = V_4;
|
|
int32_t L_72 = V_16;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_71, L_72));
|
|
// int nz2 = nz*width;
|
|
int32_t L_73 = V_19;
|
|
int32_t L_74 = __this->___width_13;
|
|
V_20 = ((int32_t)il2cpp_codegen_multiply(L_73, L_74));
|
|
// for (nx = x-w; nx <= x+w; nx++) {
|
|
int32_t L_75 = V_3;
|
|
int32_t L_76 = V_16;
|
|
V_18 = ((int32_t)il2cpp_codegen_subtract(L_75, L_76));
|
|
goto IL_027d;
|
|
}
|
|
|
|
IL_0199:
|
|
{
|
|
// if (nx < 0 || nz < 0 || nx >= width || nz >= depth) continue;
|
|
int32_t L_77 = V_18;
|
|
if ((((int32_t)L_77) < ((int32_t)0)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_78 = V_19;
|
|
if ((((int32_t)L_78) < ((int32_t)0)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_79 = V_18;
|
|
int32_t L_80 = __this->___width_13;
|
|
if ((((int32_t)L_79) >= ((int32_t)L_80)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_81 = V_19;
|
|
int32_t L_82 = __this->___depth_14;
|
|
if ((((int32_t)L_81) >= ((int32_t)L_82)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
// anyInside = true;
|
|
V_17 = (bool)1;
|
|
// if (constraint == null || constraint.Suitable(nodes[nx+nz2])) {
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_83 = ___1_constraint;
|
|
if (!L_83)
|
|
{
|
|
goto IL_01e0;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_84 = ___1_constraint;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_85 = __this->___nodes_48;
|
|
int32_t L_86 = V_18;
|
|
int32_t L_87 = V_20;
|
|
NullCheck(L_85);
|
|
int32_t L_88 = ((int32_t)il2cpp_codegen_add(L_86, L_87));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_89 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
|
|
NullCheck(L_84);
|
|
bool L_90;
|
|
L_90 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_84, L_89);
|
|
if (!L_90)
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
|
|
IL_01e0:
|
|
{
|
|
// float dist = ((Vector3)nodes[nx+nz2].position-globalPosition).sqrMagnitude;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_91 = __this->___nodes_48;
|
|
int32_t L_92 = V_18;
|
|
int32_t L_93 = V_20;
|
|
NullCheck(L_91);
|
|
int32_t L_94 = ((int32_t)il2cpp_codegen_add(L_92, L_93));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_95 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_94));
|
|
NullCheck(L_95);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_96 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_95)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
|
|
L_97 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_96, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
|
|
L_99 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_97, L_98, NULL);
|
|
V_15 = L_99;
|
|
float L_100;
|
|
L_100 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_15), NULL);
|
|
V_21 = L_100;
|
|
// if (dist < minDist && dist < maxDistSqr) {
|
|
float L_101 = V_21;
|
|
float L_102 = V_7;
|
|
if ((!(((float)L_101) < ((float)L_102))))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
float L_103 = V_21;
|
|
float L_104 = V_12;
|
|
if ((!(((float)L_103) < ((float)L_104))))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
// minDist = dist;
|
|
float L_105 = V_21;
|
|
V_7 = L_105;
|
|
// minNode = nodes[nx+nz2];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_106 = __this->___nodes_48;
|
|
int32_t L_107 = V_18;
|
|
int32_t L_108 = V_20;
|
|
NullCheck(L_106);
|
|
int32_t L_109 = ((int32_t)il2cpp_codegen_add(L_107, L_108));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_110 = (L_106)->GetAt(static_cast<il2cpp_array_size_t>(L_109));
|
|
V_6 = L_110;
|
|
// clampedPosition = transform.Transform(new Vector3(Mathf.Clamp(xf, nx, nx+1f), transform.InverseTransform((Vector3)minNode.position).y, Mathf.Clamp(zf, nz, nz+1f)));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_111;
|
|
L_111 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_112 = V_1;
|
|
int32_t L_113 = V_18;
|
|
int32_t L_114 = V_18;
|
|
float L_115;
|
|
L_115 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_112, ((float)L_113), ((float)il2cpp_codegen_add(((float)L_114), (1.0f))), NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_116;
|
|
L_116 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_117 = V_6;
|
|
NullCheck(L_117);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_118 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_117)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
|
|
L_119 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_118, NULL);
|
|
NullCheck(L_116);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_120;
|
|
L_120 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_116, L_119, NULL);
|
|
float L_121 = L_120.___y_3;
|
|
float L_122 = V_2;
|
|
int32_t L_123 = V_19;
|
|
int32_t L_124 = V_19;
|
|
float L_125;
|
|
L_125 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_122, ((float)L_123), ((float)il2cpp_codegen_add(((float)L_124), (1.0f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126;
|
|
memset((&L_126), 0, sizeof(L_126));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_126), L_115, L_121, L_125, /*hidden argument*/NULL);
|
|
NullCheck(L_111);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
|
|
L_127 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_111, L_126, NULL);
|
|
V_9 = L_127;
|
|
}
|
|
|
|
IL_0277:
|
|
{
|
|
// for (nx = x-w; nx <= x+w; nx++) {
|
|
int32_t L_128 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_128, 1));
|
|
}
|
|
|
|
IL_027d:
|
|
{
|
|
// for (nx = x-w; nx <= x+w; nx++) {
|
|
int32_t L_129 = V_18;
|
|
int32_t L_130 = V_3;
|
|
int32_t L_131 = V_16;
|
|
if ((((int32_t)L_129) <= ((int32_t)((int32_t)il2cpp_codegen_add(L_130, L_131)))))
|
|
{
|
|
goto IL_0199;
|
|
}
|
|
}
|
|
{
|
|
// nz = z-w;
|
|
int32_t L_132 = V_4;
|
|
int32_t L_133 = V_16;
|
|
V_19 = ((int32_t)il2cpp_codegen_subtract(L_132, L_133));
|
|
// nz2 = nz*width;
|
|
int32_t L_134 = V_19;
|
|
int32_t L_135 = __this->___width_13;
|
|
V_20 = ((int32_t)il2cpp_codegen_multiply(L_134, L_135));
|
|
// for (nx = x-w; nx <= x+w; nx++) {
|
|
int32_t L_136 = V_3;
|
|
int32_t L_137 = V_16;
|
|
V_18 = ((int32_t)il2cpp_codegen_subtract(L_136, L_137));
|
|
goto IL_0389;
|
|
}
|
|
|
|
IL_02a5:
|
|
{
|
|
// if (nx < 0 || nz < 0 || nx >= width || nz >= depth) continue;
|
|
int32_t L_138 = V_18;
|
|
if ((((int32_t)L_138) < ((int32_t)0)))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_139 = V_19;
|
|
if ((((int32_t)L_139) < ((int32_t)0)))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_140 = V_18;
|
|
int32_t L_141 = __this->___width_13;
|
|
if ((((int32_t)L_140) >= ((int32_t)L_141)))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_142 = V_19;
|
|
int32_t L_143 = __this->___depth_14;
|
|
if ((((int32_t)L_142) >= ((int32_t)L_143)))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
// anyInside = true;
|
|
V_17 = (bool)1;
|
|
// if (constraint == null || constraint.Suitable(nodes[nx+nz2])) {
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_144 = ___1_constraint;
|
|
if (!L_144)
|
|
{
|
|
goto IL_02ec;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_145 = ___1_constraint;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_146 = __this->___nodes_48;
|
|
int32_t L_147 = V_18;
|
|
int32_t L_148 = V_20;
|
|
NullCheck(L_146);
|
|
int32_t L_149 = ((int32_t)il2cpp_codegen_add(L_147, L_148));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_150 = (L_146)->GetAt(static_cast<il2cpp_array_size_t>(L_149));
|
|
NullCheck(L_145);
|
|
bool L_151;
|
|
L_151 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_145, L_150);
|
|
if (!L_151)
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
|
|
IL_02ec:
|
|
{
|
|
// float dist = ((Vector3)nodes[nx+nz2].position-globalPosition).sqrMagnitude;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_152 = __this->___nodes_48;
|
|
int32_t L_153 = V_18;
|
|
int32_t L_154 = V_20;
|
|
NullCheck(L_152);
|
|
int32_t L_155 = ((int32_t)il2cpp_codegen_add(L_153, L_154));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_156 = (L_152)->GetAt(static_cast<il2cpp_array_size_t>(L_155));
|
|
NullCheck(L_156);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_157 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_156)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158;
|
|
L_158 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_157, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_159 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_160;
|
|
L_160 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_158, L_159, NULL);
|
|
V_15 = L_160;
|
|
float L_161;
|
|
L_161 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_15), NULL);
|
|
V_22 = L_161;
|
|
// if (dist < minDist && dist < maxDistSqr) {
|
|
float L_162 = V_22;
|
|
float L_163 = V_7;
|
|
if ((!(((float)L_162) < ((float)L_163))))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
float L_164 = V_22;
|
|
float L_165 = V_12;
|
|
if ((!(((float)L_164) < ((float)L_165))))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
// minDist = dist;
|
|
float L_166 = V_22;
|
|
V_7 = L_166;
|
|
// minNode = nodes[nx+nz2];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_167 = __this->___nodes_48;
|
|
int32_t L_168 = V_18;
|
|
int32_t L_169 = V_20;
|
|
NullCheck(L_167);
|
|
int32_t L_170 = ((int32_t)il2cpp_codegen_add(L_168, L_169));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_171 = (L_167)->GetAt(static_cast<il2cpp_array_size_t>(L_170));
|
|
V_6 = L_171;
|
|
// clampedPosition = transform.Transform(new Vector3(Mathf.Clamp(xf, nx, nx+1f), transform.InverseTransform((Vector3)minNode.position).y, Mathf.Clamp(zf, nz, nz+1f)));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_172;
|
|
L_172 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_173 = V_1;
|
|
int32_t L_174 = V_18;
|
|
int32_t L_175 = V_18;
|
|
float L_176;
|
|
L_176 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_173, ((float)L_174), ((float)il2cpp_codegen_add(((float)L_175), (1.0f))), NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_177;
|
|
L_177 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_178 = V_6;
|
|
NullCheck(L_178);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_179 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_178)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_180;
|
|
L_180 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_179, NULL);
|
|
NullCheck(L_177);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_181;
|
|
L_181 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_177, L_180, NULL);
|
|
float L_182 = L_181.___y_3;
|
|
float L_183 = V_2;
|
|
int32_t L_184 = V_19;
|
|
int32_t L_185 = V_19;
|
|
float L_186;
|
|
L_186 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_183, ((float)L_184), ((float)il2cpp_codegen_add(((float)L_185), (1.0f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_187;
|
|
memset((&L_187), 0, sizeof(L_187));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_187), L_176, L_182, L_186, /*hidden argument*/NULL);
|
|
NullCheck(L_172);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_188;
|
|
L_188 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_172, L_187, NULL);
|
|
V_9 = L_188;
|
|
}
|
|
|
|
IL_0383:
|
|
{
|
|
// for (nx = x-w; nx <= x+w; nx++) {
|
|
int32_t L_189 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_189, 1));
|
|
}
|
|
|
|
IL_0389:
|
|
{
|
|
// for (nx = x-w; nx <= x+w; nx++) {
|
|
int32_t L_190 = V_18;
|
|
int32_t L_191 = V_3;
|
|
int32_t L_192 = V_16;
|
|
if ((((int32_t)L_190) <= ((int32_t)((int32_t)il2cpp_codegen_add(L_191, L_192)))))
|
|
{
|
|
goto IL_02a5;
|
|
}
|
|
}
|
|
{
|
|
// nx = x-w;
|
|
int32_t L_193 = V_3;
|
|
int32_t L_194 = V_16;
|
|
V_18 = ((int32_t)il2cpp_codegen_subtract(L_193, L_194));
|
|
// for (nz = z-w+1; nz <= z+w-1; nz++) {
|
|
int32_t L_195 = V_4;
|
|
int32_t L_196 = V_16;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_195, L_196)), 1));
|
|
goto IL_04a1;
|
|
}
|
|
|
|
IL_03a8:
|
|
{
|
|
// if (nx < 0 || nz < 0 || nx >= width || nz >= depth) continue;
|
|
int32_t L_197 = V_18;
|
|
if ((((int32_t)L_197) < ((int32_t)0)))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_198 = V_19;
|
|
if ((((int32_t)L_198) < ((int32_t)0)))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_199 = V_18;
|
|
int32_t L_200 = __this->___width_13;
|
|
if ((((int32_t)L_199) >= ((int32_t)L_200)))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_201 = V_19;
|
|
int32_t L_202 = __this->___depth_14;
|
|
if ((((int32_t)L_201) >= ((int32_t)L_202)))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
// anyInside = true;
|
|
V_17 = (bool)1;
|
|
// if (constraint == null || constraint.Suitable(nodes[nx+nz*width])) {
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_203 = ___1_constraint;
|
|
if (!L_203)
|
|
{
|
|
goto IL_03f6;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_204 = ___1_constraint;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_205 = __this->___nodes_48;
|
|
int32_t L_206 = V_18;
|
|
int32_t L_207 = V_19;
|
|
int32_t L_208 = __this->___width_13;
|
|
NullCheck(L_205);
|
|
int32_t L_209 = ((int32_t)il2cpp_codegen_add(L_206, ((int32_t)il2cpp_codegen_multiply(L_207, L_208))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_210 = (L_205)->GetAt(static_cast<il2cpp_array_size_t>(L_209));
|
|
NullCheck(L_204);
|
|
bool L_211;
|
|
L_211 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_204, L_210);
|
|
if (!L_211)
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
|
|
IL_03f6:
|
|
{
|
|
// float dist = ((Vector3)nodes[nx+nz*width].position-globalPosition).sqrMagnitude;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_212 = __this->___nodes_48;
|
|
int32_t L_213 = V_18;
|
|
int32_t L_214 = V_19;
|
|
int32_t L_215 = __this->___width_13;
|
|
NullCheck(L_212);
|
|
int32_t L_216 = ((int32_t)il2cpp_codegen_add(L_213, ((int32_t)il2cpp_codegen_multiply(L_214, L_215))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_217 = (L_212)->GetAt(static_cast<il2cpp_array_size_t>(L_216));
|
|
NullCheck(L_217);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_218 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_217)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_219;
|
|
L_219 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_218, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_220 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_221;
|
|
L_221 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_219, L_220, NULL);
|
|
V_15 = L_221;
|
|
float L_222;
|
|
L_222 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_15), NULL);
|
|
V_23 = L_222;
|
|
// if (dist < minDist && dist < maxDistSqr) {
|
|
float L_223 = V_23;
|
|
float L_224 = V_7;
|
|
if ((!(((float)L_223) < ((float)L_224))))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
float L_225 = V_23;
|
|
float L_226 = V_12;
|
|
if ((!(((float)L_225) < ((float)L_226))))
|
|
{
|
|
goto IL_049b;
|
|
}
|
|
}
|
|
{
|
|
// minDist = dist;
|
|
float L_227 = V_23;
|
|
V_7 = L_227;
|
|
// minNode = nodes[nx+nz*width];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_228 = __this->___nodes_48;
|
|
int32_t L_229 = V_18;
|
|
int32_t L_230 = V_19;
|
|
int32_t L_231 = __this->___width_13;
|
|
NullCheck(L_228);
|
|
int32_t L_232 = ((int32_t)il2cpp_codegen_add(L_229, ((int32_t)il2cpp_codegen_multiply(L_230, L_231))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_233 = (L_228)->GetAt(static_cast<il2cpp_array_size_t>(L_232));
|
|
V_6 = L_233;
|
|
// clampedPosition = transform.Transform(new Vector3(Mathf.Clamp(xf, nx, nx+1f), transform.InverseTransform((Vector3)minNode.position).y, Mathf.Clamp(zf, nz, nz+1f)));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_234;
|
|
L_234 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_235 = V_1;
|
|
int32_t L_236 = V_18;
|
|
int32_t L_237 = V_18;
|
|
float L_238;
|
|
L_238 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_235, ((float)L_236), ((float)il2cpp_codegen_add(((float)L_237), (1.0f))), NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_239;
|
|
L_239 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_240 = V_6;
|
|
NullCheck(L_240);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_241 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_240)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_242;
|
|
L_242 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_241, NULL);
|
|
NullCheck(L_239);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_243;
|
|
L_243 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_239, L_242, NULL);
|
|
float L_244 = L_243.___y_3;
|
|
float L_245 = V_2;
|
|
int32_t L_246 = V_19;
|
|
int32_t L_247 = V_19;
|
|
float L_248;
|
|
L_248 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_245, ((float)L_246), ((float)il2cpp_codegen_add(((float)L_247), (1.0f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_249;
|
|
memset((&L_249), 0, sizeof(L_249));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_249), L_238, L_244, L_248, /*hidden argument*/NULL);
|
|
NullCheck(L_234);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_250;
|
|
L_250 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_234, L_249, NULL);
|
|
V_9 = L_250;
|
|
}
|
|
|
|
IL_049b:
|
|
{
|
|
// for (nz = z-w+1; nz <= z+w-1; nz++) {
|
|
int32_t L_251 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_251, 1));
|
|
}
|
|
|
|
IL_04a1:
|
|
{
|
|
// for (nz = z-w+1; nz <= z+w-1; nz++) {
|
|
int32_t L_252 = V_19;
|
|
int32_t L_253 = V_4;
|
|
int32_t L_254 = V_16;
|
|
if ((((int32_t)L_252) <= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_253, L_254)), 1)))))
|
|
{
|
|
goto IL_03a8;
|
|
}
|
|
}
|
|
{
|
|
// nx = x+w;
|
|
int32_t L_255 = V_3;
|
|
int32_t L_256 = V_16;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_255, L_256));
|
|
// for (nz = z-w+1; nz <= z+w-1; nz++) {
|
|
int32_t L_257 = V_4;
|
|
int32_t L_258 = V_16;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_257, L_258)), 1));
|
|
goto IL_05bc;
|
|
}
|
|
|
|
IL_04c3:
|
|
{
|
|
// if (nx < 0 || nz < 0 || nx >= width || nz >= depth) continue;
|
|
int32_t L_259 = V_18;
|
|
if ((((int32_t)L_259) < ((int32_t)0)))
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_260 = V_19;
|
|
if ((((int32_t)L_260) < ((int32_t)0)))
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_261 = V_18;
|
|
int32_t L_262 = __this->___width_13;
|
|
if ((((int32_t)L_261) >= ((int32_t)L_262)))
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_263 = V_19;
|
|
int32_t L_264 = __this->___depth_14;
|
|
if ((((int32_t)L_263) >= ((int32_t)L_264)))
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
{
|
|
// anyInside = true;
|
|
V_17 = (bool)1;
|
|
// if (constraint == null || constraint.Suitable(nodes[nx+nz*width])) {
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_265 = ___1_constraint;
|
|
if (!L_265)
|
|
{
|
|
goto IL_0511;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_266 = ___1_constraint;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_267 = __this->___nodes_48;
|
|
int32_t L_268 = V_18;
|
|
int32_t L_269 = V_19;
|
|
int32_t L_270 = __this->___width_13;
|
|
NullCheck(L_267);
|
|
int32_t L_271 = ((int32_t)il2cpp_codegen_add(L_268, ((int32_t)il2cpp_codegen_multiply(L_269, L_270))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_272 = (L_267)->GetAt(static_cast<il2cpp_array_size_t>(L_271));
|
|
NullCheck(L_266);
|
|
bool L_273;
|
|
L_273 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(5 /* System.Boolean Pathfinding.NNConstraint::Suitable(Pathfinding.GraphNode) */, L_266, L_272);
|
|
if (!L_273)
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
|
|
IL_0511:
|
|
{
|
|
// float dist = ((Vector3)nodes[nx+nz*width].position-globalPosition).sqrMagnitude;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_274 = __this->___nodes_48;
|
|
int32_t L_275 = V_18;
|
|
int32_t L_276 = V_19;
|
|
int32_t L_277 = __this->___width_13;
|
|
NullCheck(L_274);
|
|
int32_t L_278 = ((int32_t)il2cpp_codegen_add(L_275, ((int32_t)il2cpp_codegen_multiply(L_276, L_277))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_279 = (L_274)->GetAt(static_cast<il2cpp_array_size_t>(L_278));
|
|
NullCheck(L_279);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_280 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_279)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_281;
|
|
L_281 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_280, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_282 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_283;
|
|
L_283 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_281, L_282, NULL);
|
|
V_15 = L_283;
|
|
float L_284;
|
|
L_284 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_15), NULL);
|
|
V_24 = L_284;
|
|
// if (dist < minDist && dist < maxDistSqr) {
|
|
float L_285 = V_24;
|
|
float L_286 = V_7;
|
|
if ((!(((float)L_285) < ((float)L_286))))
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
{
|
|
float L_287 = V_24;
|
|
float L_288 = V_12;
|
|
if ((!(((float)L_287) < ((float)L_288))))
|
|
{
|
|
goto IL_05b6;
|
|
}
|
|
}
|
|
{
|
|
// minDist = dist;
|
|
float L_289 = V_24;
|
|
V_7 = L_289;
|
|
// minNode = nodes[nx+nz*width];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_290 = __this->___nodes_48;
|
|
int32_t L_291 = V_18;
|
|
int32_t L_292 = V_19;
|
|
int32_t L_293 = __this->___width_13;
|
|
NullCheck(L_290);
|
|
int32_t L_294 = ((int32_t)il2cpp_codegen_add(L_291, ((int32_t)il2cpp_codegen_multiply(L_292, L_293))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_295 = (L_290)->GetAt(static_cast<il2cpp_array_size_t>(L_294));
|
|
V_6 = L_295;
|
|
// clampedPosition = transform.Transform(new Vector3(Mathf.Clamp(xf, nx, nx+1f), transform.InverseTransform((Vector3)minNode.position).y, Mathf.Clamp(zf, nz, nz+1f)));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_296;
|
|
L_296 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_297 = V_1;
|
|
int32_t L_298 = V_18;
|
|
int32_t L_299 = V_18;
|
|
float L_300;
|
|
L_300 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_297, ((float)L_298), ((float)il2cpp_codegen_add(((float)L_299), (1.0f))), NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_301;
|
|
L_301 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_302 = V_6;
|
|
NullCheck(L_302);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_303 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_302)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_304;
|
|
L_304 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_303, NULL);
|
|
NullCheck(L_301);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_305;
|
|
L_305 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_301, L_304, NULL);
|
|
float L_306 = L_305.___y_3;
|
|
float L_307 = V_2;
|
|
int32_t L_308 = V_19;
|
|
int32_t L_309 = V_19;
|
|
float L_310;
|
|
L_310 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_307, ((float)L_308), ((float)il2cpp_codegen_add(((float)L_309), (1.0f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_311;
|
|
memset((&L_311), 0, sizeof(L_311));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_311), L_300, L_306, L_310, /*hidden argument*/NULL);
|
|
NullCheck(L_296);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_312;
|
|
L_312 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_296, L_311, NULL);
|
|
V_9 = L_312;
|
|
}
|
|
|
|
IL_05b6:
|
|
{
|
|
// for (nz = z-w+1; nz <= z+w-1; nz++) {
|
|
int32_t L_313 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_313, 1));
|
|
}
|
|
|
|
IL_05bc:
|
|
{
|
|
// for (nz = z-w+1; nz <= z+w-1; nz++) {
|
|
int32_t L_314 = V_19;
|
|
int32_t L_315 = V_4;
|
|
int32_t L_316 = V_16;
|
|
if ((((int32_t)L_314) <= ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_315, L_316)), 1)))))
|
|
{
|
|
goto IL_04c3;
|
|
}
|
|
}
|
|
{
|
|
// if (minNode != null) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_317 = V_6;
|
|
if (!L_317)
|
|
{
|
|
goto IL_05d8;
|
|
}
|
|
}
|
|
{
|
|
// if (overlap == 0) {
|
|
int32_t L_318 = V_8;
|
|
if (!L_318)
|
|
{
|
|
goto IL_05e7;
|
|
}
|
|
}
|
|
{
|
|
// overlap--;
|
|
int32_t L_319 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_subtract(L_319, 1));
|
|
}
|
|
|
|
IL_05d8:
|
|
{
|
|
// if (!anyInside) {
|
|
bool L_320 = V_17;
|
|
if (!L_320)
|
|
{
|
|
goto IL_05e7;
|
|
}
|
|
}
|
|
{
|
|
// for (int w = 1;; w++) {
|
|
int32_t L_321 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_321, 1));
|
|
goto IL_0168;
|
|
}
|
|
|
|
IL_05e7:
|
|
{
|
|
// nn.node = minNode;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_322 = V_6;
|
|
(&V_10)->___node_0 = L_322;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_10)->___node_0), (void*)L_322);
|
|
// nn.clampedPosition = clampedPosition;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_323 = V_9;
|
|
(&V_10)->___clampedPosition_2 = L_323;
|
|
// return nn;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_324 = V_10;
|
|
return L_324;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::SetUpOffsetsAndCosts()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SetUpOffsetsAndCosts_m1EED143AFF0501E057F54389DBF5FD419A9381D3 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
uint32_t V_0 = 0;
|
|
uint32_t V_1 = 0;
|
|
uint32_t G_B3_0 = 0;
|
|
{
|
|
// neighbourOffsets[0] = -width;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = __this->___neighbourOffsets_42;
|
|
int32_t L_1 = __this->___width_13;
|
|
NullCheck(L_0);
|
|
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)((-L_1)));
|
|
// neighbourOffsets[1] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = __this->___neighbourOffsets_42;
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)1);
|
|
// neighbourOffsets[2] = width;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = __this->___neighbourOffsets_42;
|
|
int32_t L_4 = __this->___width_13;
|
|
NullCheck(L_3);
|
|
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)L_4);
|
|
// neighbourOffsets[3] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_5 = __this->___neighbourOffsets_42;
|
|
NullCheck(L_5);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(3), (int32_t)(-1));
|
|
// neighbourOffsets[4] = -width+1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = __this->___neighbourOffsets_42;
|
|
int32_t L_7 = __this->___width_13;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(4), (int32_t)((int32_t)il2cpp_codegen_add(((-L_7)), 1)));
|
|
// neighbourOffsets[5] = width+1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = __this->___neighbourOffsets_42;
|
|
int32_t L_9 = __this->___width_13;
|
|
NullCheck(L_8);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(5), (int32_t)((int32_t)il2cpp_codegen_add(L_9, 1)));
|
|
// neighbourOffsets[6] = width-1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = __this->___neighbourOffsets_42;
|
|
int32_t L_11 = __this->___width_13;
|
|
NullCheck(L_10);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(6), (int32_t)((int32_t)il2cpp_codegen_subtract(L_11, 1)));
|
|
// neighbourOffsets[7] = -width-1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = __this->___neighbourOffsets_42;
|
|
int32_t L_13 = __this->___width_13;
|
|
NullCheck(L_12);
|
|
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(7), (int32_t)((int32_t)il2cpp_codegen_subtract(((-L_13)), 1)));
|
|
// uint straightCost = (uint)Mathf.RoundToInt(nodeSize*Int3.Precision);
|
|
float L_14 = __this->___nodeSize_23;
|
|
int32_t L_15;
|
|
L_15 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(L_14, (1000.0f))), NULL);
|
|
V_0 = L_15;
|
|
// uint diagonalCost = uniformEdgeCosts ? straightCost : (uint)Mathf.RoundToInt(nodeSize*Mathf.Sqrt(2F)*Int3.Precision);
|
|
bool L_16 = __this->___uniformEdgeCosts_19;
|
|
if (L_16)
|
|
{
|
|
goto IL_00a9;
|
|
}
|
|
}
|
|
{
|
|
float L_17 = __this->___nodeSize_23;
|
|
float L_18;
|
|
L_18 = sqrtf((2.0f));
|
|
int32_t L_19;
|
|
L_19 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_17, L_18)), (1000.0f))), NULL);
|
|
G_B3_0 = ((uint32_t)(L_19));
|
|
goto IL_00aa;
|
|
}
|
|
|
|
IL_00a9:
|
|
{
|
|
uint32_t L_20 = V_0;
|
|
G_B3_0 = L_20;
|
|
}
|
|
|
|
IL_00aa:
|
|
{
|
|
V_1 = G_B3_0;
|
|
// neighbourCosts[0] = straightCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_21 = __this->___neighbourCosts_43;
|
|
uint32_t L_22 = V_0;
|
|
NullCheck(L_21);
|
|
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint32_t)L_22);
|
|
// neighbourCosts[1] = straightCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_23 = __this->___neighbourCosts_43;
|
|
uint32_t L_24 = V_0;
|
|
NullCheck(L_23);
|
|
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint32_t)L_24);
|
|
// neighbourCosts[2] = straightCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_25 = __this->___neighbourCosts_43;
|
|
uint32_t L_26 = V_0;
|
|
NullCheck(L_25);
|
|
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint32_t)L_26);
|
|
// neighbourCosts[3] = straightCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_27 = __this->___neighbourCosts_43;
|
|
uint32_t L_28 = V_0;
|
|
NullCheck(L_27);
|
|
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint32_t)L_28);
|
|
// neighbourCosts[4] = diagonalCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_29 = __this->___neighbourCosts_43;
|
|
uint32_t L_30 = V_1;
|
|
NullCheck(L_29);
|
|
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint32_t)L_30);
|
|
// neighbourCosts[5] = diagonalCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_31 = __this->___neighbourCosts_43;
|
|
uint32_t L_32 = V_1;
|
|
NullCheck(L_31);
|
|
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint32_t)L_32);
|
|
// neighbourCosts[6] = diagonalCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_33 = __this->___neighbourCosts_43;
|
|
uint32_t L_34 = V_1;
|
|
NullCheck(L_33);
|
|
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint32_t)L_34);
|
|
// neighbourCosts[7] = diagonalCost;
|
|
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* L_35 = __this->___neighbourCosts_43;
|
|
uint32_t L_36 = V_1;
|
|
NullCheck(L_35);
|
|
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint32_t)L_36);
|
|
// neighbourXOffsets[0] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_37 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_37);
|
|
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)0);
|
|
// neighbourXOffsets[1] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_38);
|
|
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)1);
|
|
// neighbourXOffsets[2] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_39 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_39);
|
|
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)0);
|
|
// neighbourXOffsets[3] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_40 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_40);
|
|
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(3), (int32_t)(-1));
|
|
// neighbourXOffsets[4] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_41 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_41);
|
|
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(4), (int32_t)1);
|
|
// neighbourXOffsets[5] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_42 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_42);
|
|
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(5), (int32_t)1);
|
|
// neighbourXOffsets[6] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_43 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_43);
|
|
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(6), (int32_t)(-1));
|
|
// neighbourXOffsets[7] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_44 = __this->___neighbourXOffsets_44;
|
|
NullCheck(L_44);
|
|
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(7), (int32_t)(-1));
|
|
// neighbourZOffsets[0] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_45 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_45);
|
|
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)(-1));
|
|
// neighbourZOffsets[1] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_46 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_46);
|
|
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)0);
|
|
// neighbourZOffsets[2] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_47 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_47);
|
|
(L_47)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)1);
|
|
// neighbourZOffsets[3] = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_48 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_48);
|
|
(L_48)->SetAt(static_cast<il2cpp_array_size_t>(3), (int32_t)0);
|
|
// neighbourZOffsets[4] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_49);
|
|
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(4), (int32_t)(-1));
|
|
// neighbourZOffsets[5] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_50 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_50);
|
|
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(5), (int32_t)1);
|
|
// neighbourZOffsets[6] = 1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_51 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_51);
|
|
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(6), (int32_t)1);
|
|
// neighbourZOffsets[7] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_52 = __this->___neighbourZOffsets_45;
|
|
NullCheck(L_52);
|
|
(L_52)->SetAt(static_cast<il2cpp_array_size_t>(7), (int32_t)(-1));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerable`1<Pathfinding.Progress> Pathfinding.GridGraph::ScanInternal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GridGraph_ScanInternal_m971CED9127FC1E3B92B041011EA60D2D81E048FD (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* L_0 = (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB*)il2cpp_codegen_object_new(U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CScanInternalU3Ed__88__ctor_mD84F86AE3ACDBEF007981F0E14F5B46FBC27A3A9(L_0, ((int32_t)-2), NULL);
|
|
U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_3 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_3), (void*)__this);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::UpdateNodePositionCollision(Pathfinding.GridNode,System.Int32,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_UpdateNodePositionCollision_m8520596A19FB0B949A5B219C24E36938F33205AF (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, int32_t ___1_x, int32_t ___2_z, bool ___3_resetPenalty, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// RecalculateCell(x, z, resetPenalty, false);
|
|
int32_t L_0 = ___1_x;
|
|
int32_t L_1 = ___2_z;
|
|
bool L_2 = ___3_resetPenalty;
|
|
VirtualActionInvoker4< int32_t, int32_t, bool, bool >::Invoke(35 /* System.Void Pathfinding.GridGraph::RecalculateCell(System.Int32,System.Int32,System.Boolean,System.Boolean) */, __this, L_0, L_1, L_2, (bool)0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::RecalculateCell(System.Int32,System.Int32,System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_RecalculateCell_m29CC51D193C844D7C6B88AB3A70A8807ABB9EBC6 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, bool ___2_resetPenalties, bool ___3_resetTags, const RuntimeMethod* method)
|
|
{
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_0 = NULL;
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
bool V_2 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B15_0 = NULL;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B14_0 = NULL;
|
|
int32_t G_B16_0 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* G_B16_1 = NULL;
|
|
{
|
|
// var node = nodes[z*width + x];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
int32_t L_1 = ___1_z;
|
|
int32_t L_2 = __this->___width_13;
|
|
int32_t L_3 = ___0_x;
|
|
NullCheck(L_0);
|
|
int32_t L_4 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_1, L_2)), L_3));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_5 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_0 = L_5;
|
|
// node.position = GraphPointToWorld(x, z, 0);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_6 = V_0;
|
|
int32_t L_7 = ___0_x;
|
|
int32_t L_8 = ___1_z;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_9;
|
|
L_9 = GridGraph_GraphPointToWorld_m5BC2E2993E52AA4FCA07834F1C342B4CB3F80607(__this, L_7, L_8, (0.0f), NULL);
|
|
NullCheck(L_6);
|
|
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_6)->___position_7 = L_9;
|
|
// Vector3 position = collision.CheckHeight((Vector3)node.position, out hit, out walkable);
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_10 = __this->___collision_24;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_12 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_11)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_12, NULL);
|
|
NullCheck(L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = GraphCollision_CheckHeight_m8C08DC713428CB1995F8F1F775E79C3FD624DD3D(L_10, L_13, (&V_1), (&V_2), NULL);
|
|
V_3 = L_14;
|
|
// node.position = (Int3)position;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_15 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_3;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_17;
|
|
L_17 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_16, NULL);
|
|
NullCheck(L_15);
|
|
((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_15)->___position_7 = L_17;
|
|
// if (resetPenalties) {
|
|
bool L_18 = ___2_resetPenalties;
|
|
if (!L_18)
|
|
{
|
|
goto IL_008f;
|
|
}
|
|
}
|
|
{
|
|
// node.Penalty = initialPenalty;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_19 = V_0;
|
|
uint32_t L_20 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___initialPenalty_2;
|
|
NullCheck(L_19);
|
|
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_19, L_20, NULL);
|
|
// if (penaltyPosition) {
|
|
bool L_21 = __this->___penaltyPosition_33;
|
|
if (!L_21)
|
|
{
|
|
goto IL_008f;
|
|
}
|
|
}
|
|
{
|
|
// node.Penalty += (uint)Mathf.RoundToInt((node.position.y-penaltyPositionOffset)*penaltyPositionFactor);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_22 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_23 = L_22;
|
|
NullCheck(L_23);
|
|
uint32_t L_24;
|
|
L_24 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_23, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_25 = V_0;
|
|
NullCheck(L_25);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_26 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_25)->___position_7);
|
|
int32_t L_27 = L_26->___y_1;
|
|
float L_28 = __this->___penaltyPositionOffset_32;
|
|
float L_29 = __this->___penaltyPositionFactor_34;
|
|
int32_t L_30;
|
|
L_30 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(((float)L_27), L_28)), L_29)), NULL);
|
|
NullCheck(L_23);
|
|
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_23, ((int32_t)il2cpp_codegen_add((int32_t)L_24, L_30)), NULL);
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
// if (resetTags) {
|
|
bool L_31 = ___3_resetTags;
|
|
if (!L_31)
|
|
{
|
|
goto IL_009a;
|
|
}
|
|
}
|
|
{
|
|
// node.Tag = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_32 = V_0;
|
|
NullCheck(L_32);
|
|
GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26(L_32, 0, NULL);
|
|
}
|
|
|
|
IL_009a:
|
|
{
|
|
// if (walkable && useRaycastNormal && collision.heightCheck) {
|
|
bool L_33 = V_2;
|
|
if (!L_33)
|
|
{
|
|
goto IL_0141;
|
|
}
|
|
}
|
|
{
|
|
bool L_34;
|
|
L_34 = GridGraph_get_useRaycastNormal_mABFD21A578BDBE476765E254804373D64F964CF9(__this, NULL);
|
|
if (!L_34)
|
|
{
|
|
goto IL_0141;
|
|
}
|
|
}
|
|
{
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_35 = __this->___collision_24;
|
|
NullCheck(L_35);
|
|
bool L_36 = L_35->___heightCheck_13;
|
|
if (!L_36)
|
|
{
|
|
goto IL_0141;
|
|
}
|
|
}
|
|
{
|
|
// if (hit.normal != Vector3.zero) {
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
L_37 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5((&V_1), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_39;
|
|
L_39 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_37, L_38, NULL);
|
|
if (!L_39)
|
|
{
|
|
goto IL_0141;
|
|
}
|
|
}
|
|
{
|
|
// float angle = Vector3.Dot(hit.normal.normalized, collision.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = RaycastHit_get_normal_mD8741B70D2039C5CAFC4368D4CE59D89562040B5((&V_1), NULL);
|
|
V_6 = L_40;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_6), NULL);
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_42 = __this->___collision_24;
|
|
NullCheck(L_42);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42->___up_14;
|
|
float L_44;
|
|
L_44 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_41, L_43, NULL);
|
|
V_4 = L_44;
|
|
// if (penaltyAngle && resetPenalties) {
|
|
bool L_45 = __this->___penaltyAngle_35;
|
|
bool L_46 = ___2_resetPenalties;
|
|
if (!((int32_t)((int32_t)L_45&(int32_t)L_46)))
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
{
|
|
// node.Penalty += (uint)Mathf.RoundToInt((1F-Mathf.Pow(angle, penaltyAnglePower))*penaltyAngleFactor);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_47 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_48 = L_47;
|
|
NullCheck(L_48);
|
|
uint32_t L_49;
|
|
L_49 = GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline(L_48, NULL);
|
|
float L_50 = V_4;
|
|
float L_51 = __this->___penaltyAnglePower_37;
|
|
float L_52;
|
|
L_52 = powf(L_50, L_51);
|
|
float L_53 = __this->___penaltyAngleFactor_36;
|
|
int32_t L_54;
|
|
L_54 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_52)), L_53)), NULL);
|
|
NullCheck(L_48);
|
|
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_48, ((int32_t)il2cpp_codegen_add((int32_t)L_49, L_54)), NULL);
|
|
}
|
|
|
|
IL_0126:
|
|
{
|
|
// float cosAngle = Mathf.Cos(maxSlope*Mathf.Deg2Rad);
|
|
float L_55 = __this->___maxSlope_26;
|
|
float L_56;
|
|
L_56 = cosf(((float)il2cpp_codegen_multiply(L_55, (0.0174532924f))));
|
|
V_5 = L_56;
|
|
// if (angle < cosAngle) {
|
|
float L_57 = V_4;
|
|
float L_58 = V_5;
|
|
if ((!(((float)L_57) < ((float)L_58))))
|
|
{
|
|
goto IL_0141;
|
|
}
|
|
}
|
|
{
|
|
// walkable = false;
|
|
V_2 = (bool)0;
|
|
}
|
|
|
|
IL_0141:
|
|
{
|
|
// node.Walkable = walkable && collision.Check((Vector3)node.position);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_59 = V_0;
|
|
bool L_60 = V_2;
|
|
G_B14_0 = L_59;
|
|
if (!L_60)
|
|
{
|
|
G_B15_0 = L_59;
|
|
goto IL_015d;
|
|
}
|
|
}
|
|
{
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_61 = __this->___collision_24;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_62 = V_0;
|
|
NullCheck(L_62);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_63 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_62)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_63, NULL);
|
|
NullCheck(L_61);
|
|
bool L_65;
|
|
L_65 = GraphCollision_Check_mB1F407BCD997E9592019725084DD66B6B2975FF2(L_61, L_64, NULL);
|
|
G_B16_0 = ((int32_t)(L_65));
|
|
G_B16_1 = G_B14_0;
|
|
goto IL_015e;
|
|
}
|
|
|
|
IL_015d:
|
|
{
|
|
G_B16_0 = 0;
|
|
G_B16_1 = G_B15_0;
|
|
}
|
|
|
|
IL_015e:
|
|
{
|
|
NullCheck(G_B16_1);
|
|
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(G_B16_1, (bool)G_B16_0, NULL);
|
|
// node.WalkableErosion = node.Walkable;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_66 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_67 = V_0;
|
|
NullCheck(L_67);
|
|
bool L_68;
|
|
L_68 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_67, NULL);
|
|
NullCheck(L_66);
|
|
GridNodeBase_set_WalkableErosion_m7C0B98F5A3A6D09B9B407975295E468D6D5BC699(L_66, L_68, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::ErosionAnyFalseConnections(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_ErosionAnyFalseConnections_mD8CC86D93A39E6B409B18393861E07B4448D71C1 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_baseNode, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// var node = baseNode as GridNode;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_baseNode;
|
|
V_0 = ((GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)IsInstClass((RuntimeObject*)L_0, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var));
|
|
// if (neighbours == NumNeighbours.Six) {
|
|
int32_t L_1 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < 6; i++) {
|
|
V_1 = 0;
|
|
goto IL_002a;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (!HasNodeConnection(node, hexagonNeighbourIndices[i])) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_2 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46;
|
|
int32_t L_4 = V_1;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
int32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
bool L_7;
|
|
L_7 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_2, L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// for (int i = 0; i < 6; i++) {
|
|
int32_t L_8 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// for (int i = 0; i < 6; i++) {
|
|
int32_t L_9 = V_1;
|
|
if ((((int32_t)L_9) < ((int32_t)6)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
V_2 = 0;
|
|
goto IL_0044;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// if (!HasNodeConnection(node, i)) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_10 = V_0;
|
|
int32_t L_11 = V_2;
|
|
bool L_12;
|
|
L_12 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_10, L_11, NULL);
|
|
if (L_12)
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_13 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_14 = V_2;
|
|
if ((((int32_t)L_14) < ((int32_t)4)))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::ErodeNode(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeNode_mE9C4DDEC5D18177C6681A216D846DC04061D320D (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (node.Walkable && ErosionAnyFalseConnections(node)) {
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
bool L_3;
|
|
L_3 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(36 /* System.Boolean Pathfinding.GridGraph::ErosionAnyFalseConnections(Pathfinding.GraphNode) */, __this, L_2);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// node.Walkable = false;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
|
|
NullCheck(L_4);
|
|
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_4, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::ErodeNodeWithTagsInit(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeNodeWithTagsInit_m9BCE71473AF883FA0B567E8ECAA012DB0933FC90 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (node.Walkable && ErosionAnyFalseConnections(node)) {
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
bool L_3;
|
|
L_3 = VirtualFuncInvoker1< bool, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(36 /* System.Boolean Pathfinding.GridGraph::ErosionAnyFalseConnections(Pathfinding.GraphNode) */, __this, L_2);
|
|
if (!L_3)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// node.Tag = (uint)erosionFirstTag;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_4 = ___0_node;
|
|
int32_t L_5 = __this->___erosionFirstTag_29;
|
|
NullCheck(L_4);
|
|
GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26(L_4, L_5, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// node.Tag = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_6 = ___0_node;
|
|
NullCheck(L_6);
|
|
GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26(L_6, 0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::ErodeNodeWithTags(Pathfinding.GraphNode,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeNodeWithTags_m501199523BBB7461377B071FE7E77C33CC6E1266 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, int32_t ___1_iteration, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_2 = NULL;
|
|
uint32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_5 = NULL;
|
|
uint32_t V_6 = 0;
|
|
{
|
|
// var gnode = node as GridNodeBase;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
V_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)IsInstClass((RuntimeObject*)L_0, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var));
|
|
// if (gnode.Walkable && gnode.Tag >= erosionFirstTag && gnode.Tag < erosionFirstTag + iteration) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
bool L_2;
|
|
L_2 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_00de;
|
|
}
|
|
}
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
uint32_t L_4;
|
|
L_4 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_3, NULL);
|
|
int32_t L_5 = __this->___erosionFirstTag_29;
|
|
if ((((int64_t)((int64_t)(uint64_t)L_4)) < ((int64_t)((int64_t)L_5))))
|
|
{
|
|
goto IL_00de;
|
|
}
|
|
}
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
uint32_t L_7;
|
|
L_7 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_6, NULL);
|
|
int32_t L_8 = __this->___erosionFirstTag_29;
|
|
int32_t L_9 = ___1_iteration;
|
|
if ((((int64_t)((int64_t)(uint64_t)L_7)) >= ((int64_t)((int64_t)((int32_t)il2cpp_codegen_add(L_8, L_9))))))
|
|
{
|
|
goto IL_00de;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbours == NumNeighbours.Six) {
|
|
int32_t L_10 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)2))))
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < 6; i++) {
|
|
V_1 = 0;
|
|
goto IL_0089;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// var other = gnode.GetNeighbourAlongDirection(hexagonNeighbourIndices[i]);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_11 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46;
|
|
int32_t L_13 = V_1;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
int32_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
NullCheck(L_11);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_16;
|
|
L_16 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_11, L_15);
|
|
V_2 = L_16;
|
|
// if (other != null) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_17 = V_2;
|
|
if (!L_17)
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
{
|
|
// uint tag = other.Tag;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_18 = V_2;
|
|
NullCheck(L_18);
|
|
uint32_t L_19;
|
|
L_19 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_18, NULL);
|
|
V_3 = L_19;
|
|
// if (tag > erosionFirstTag + iteration || tag < erosionFirstTag) {
|
|
uint32_t L_20 = V_3;
|
|
int32_t L_21 = __this->___erosionFirstTag_29;
|
|
int32_t L_22 = ___1_iteration;
|
|
if ((((int64_t)((int64_t)(uint64_t)L_20)) > ((int64_t)((int64_t)((int32_t)il2cpp_codegen_add(L_21, L_22))))))
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
uint32_t L_23 = V_3;
|
|
int32_t L_24 = __this->___erosionFirstTag_29;
|
|
if ((((int64_t)((int64_t)(uint64_t)L_23)) >= ((int64_t)((int64_t)L_24))))
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// other.Tag = (uint)(erosionFirstTag+iteration);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_25 = V_2;
|
|
int32_t L_26 = __this->___erosionFirstTag_29;
|
|
int32_t L_27 = ___1_iteration;
|
|
NullCheck(L_25);
|
|
GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26(L_25, ((int32_t)il2cpp_codegen_add(L_26, L_27)), NULL);
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// for (int i = 0; i < 6; i++) {
|
|
int32_t L_28 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
}
|
|
|
|
IL_0089:
|
|
{
|
|
// for (int i = 0; i < 6; i++) {
|
|
int32_t L_29 = V_1;
|
|
if ((((int32_t)L_29) < ((int32_t)6)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
V_4 = 0;
|
|
goto IL_00d9;
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
// var other = gnode.GetNeighbourAlongDirection(i);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_30 = V_0;
|
|
int32_t L_31 = V_4;
|
|
NullCheck(L_30);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_32;
|
|
L_32 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_30, L_31);
|
|
V_5 = L_32;
|
|
// if (other != null) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_33 = V_5;
|
|
if (!L_33)
|
|
{
|
|
goto IL_00d3;
|
|
}
|
|
}
|
|
{
|
|
// uint tag = other.Tag;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_34 = V_5;
|
|
NullCheck(L_34);
|
|
uint32_t L_35;
|
|
L_35 = GraphNode_get_Tag_m1E8BB45933CFC75EFFF09488C59CE1289A3543BC(L_34, NULL);
|
|
V_6 = L_35;
|
|
// if (tag > erosionFirstTag + iteration || tag < erosionFirstTag) {
|
|
uint32_t L_36 = V_6;
|
|
int32_t L_37 = __this->___erosionFirstTag_29;
|
|
int32_t L_38 = ___1_iteration;
|
|
if ((((int64_t)((int64_t)(uint64_t)L_36)) > ((int64_t)((int64_t)((int32_t)il2cpp_codegen_add(L_37, L_38))))))
|
|
{
|
|
goto IL_00c4;
|
|
}
|
|
}
|
|
{
|
|
uint32_t L_39 = V_6;
|
|
int32_t L_40 = __this->___erosionFirstTag_29;
|
|
if ((((int64_t)((int64_t)(uint64_t)L_39)) >= ((int64_t)((int64_t)L_40))))
|
|
{
|
|
goto IL_00d3;
|
|
}
|
|
}
|
|
|
|
IL_00c4:
|
|
{
|
|
// other.Tag = (uint)(erosionFirstTag+iteration);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_41 = V_5;
|
|
int32_t L_42 = __this->___erosionFirstTag_29;
|
|
int32_t L_43 = ___1_iteration;
|
|
NullCheck(L_41);
|
|
GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26(L_41, ((int32_t)il2cpp_codegen_add(L_42, L_43)), NULL);
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_44 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_44, 1));
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_45 = V_4;
|
|
if ((((int32_t)L_45) < ((int32_t)4)))
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
|
|
IL_00de:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::ErodeWalkableArea()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeWalkableArea_m09EBF4C3FD55692A84C5278D214777CEE01329D7 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ErodeWalkableArea(0, 0, Width, Depth);
|
|
int32_t L_0;
|
|
L_0 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
int32_t L_1;
|
|
L_1 = GridGraph_get_Depth_m82B29650EBDB2AA2FA075D786043FA76E7AF25D0_inline(__this, NULL);
|
|
GridGraph_ErodeWalkableArea_m658BCA17D20DDDC83FFE45B812BD5E53F0BE4AB7(__this, 0, 0, L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::ErodeWalkableArea(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_ErodeWalkableArea_m658BCA17D20DDDC83FFE45B812BD5E53F0BE4AB7 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_xmin, int32_t ___1_zmin, int32_t ___2_xmax, int32_t ___3_zmax, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1FF63041F72B8AD739D4D6A0FE80685AD80132D2);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral992DE7E6997EFE2589FA1D770B3E5B54470DD4B9);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB3C86974C1217EB4A0578D5F94A326F25DB57942);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE2974A30E5B66516F2F896888886CB66076966F);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
{
|
|
// if (erosionUseTags) {
|
|
bool L_0 = __this->___erosionUseTags_28;
|
|
if (!L_0)
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// if (erodeIterations+erosionFirstTag > 31) {
|
|
int32_t L_1 = __this->___erodeIterations_27;
|
|
int32_t L_2 = __this->___erosionFirstTag_29;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_1, L_2))) <= ((int32_t)((int32_t)31))))
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Too few tags available for "+erodeIterations+" erode iterations and starting with tag " + erosionFirstTag + " (erodeIterations+erosionFirstTag > 31)", active);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_3 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
ArrayElementTypeCheck (L_4, _stringLiteral1FF63041F72B8AD739D4D6A0FE80685AD80132D2);
|
|
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral1FF63041F72B8AD739D4D6A0FE80685AD80132D2);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_4;
|
|
int32_t* L_6 = (int32_t*)(&__this->___erodeIterations_27);
|
|
String_t* L_7;
|
|
L_7 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_6, NULL);
|
|
NullCheck(L_5);
|
|
ArrayElementTypeCheck (L_5, L_7);
|
|
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_7);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_8 = L_5;
|
|
NullCheck(L_8);
|
|
ArrayElementTypeCheck (L_8, _stringLiteralB3C86974C1217EB4A0578D5F94A326F25DB57942);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteralB3C86974C1217EB4A0578D5F94A326F25DB57942);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_9 = L_8;
|
|
int32_t* L_10 = (int32_t*)(&__this->___erosionFirstTag_29);
|
|
String_t* L_11;
|
|
L_11 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_10, NULL);
|
|
NullCheck(L_9);
|
|
ArrayElementTypeCheck (L_9, L_11);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_11);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_12 = L_9;
|
|
NullCheck(L_12);
|
|
ArrayElementTypeCheck (L_12, _stringLiteralDE2974A30E5B66516F2F896888886CB66076966F);
|
|
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralDE2974A30E5B66516F2F896888886CB66076966F);
|
|
String_t* L_13;
|
|
L_13 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_12, NULL);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_14 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(L_13, L_14, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// if (erosionFirstTag <= 0) {
|
|
int32_t L_15 = __this->___erosionFirstTag_29;
|
|
if ((((int32_t)L_15) > ((int32_t)0)))
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("First erosion tag must be greater or equal to 1", active);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_16 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_m94F967AB31244EACE68C3BE1DD85B69ED3334C0E(_stringLiteral992DE7E6997EFE2589FA1D770B3E5B54470DD4B9, L_16, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// if (erodeIterations == 0) return;
|
|
int32_t L_17 = __this->___erodeIterations_27;
|
|
if (L_17)
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
// if (erodeIterations == 0) return;
|
|
return;
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
// var rect = new IntRect(xmin, zmin, xmax - 1, zmax - 1);
|
|
int32_t L_18 = ___0_xmin;
|
|
int32_t L_19 = ___1_zmin;
|
|
int32_t L_20 = ___2_xmax;
|
|
int32_t L_21 = ___3_zmax;
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&V_0), L_18, L_19, ((int32_t)il2cpp_codegen_subtract(L_20, 1)), ((int32_t)il2cpp_codegen_subtract(L_21, 1)), NULL);
|
|
// var nodesInRect = GetNodesInRegion(rect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_22 = V_0;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_23;
|
|
L_23 = VirtualFuncInvoker1< List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 >::Invoke(43 /* System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(Pathfinding.IntRect) */, __this, L_22);
|
|
V_1 = L_23;
|
|
// int nodeCount = nodesInRect.Count;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_24 = V_1;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_inline(L_24, List_1_get_Count_m9D0C5C20530DDC118E3EE18EB0BEDCA1A9F95AD8_RuntimeMethod_var);
|
|
V_2 = L_25;
|
|
// for (int it = 0; it < erodeIterations; it++) {
|
|
V_3 = 0;
|
|
goto IL_013e;
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// if (erosionUseTags) {
|
|
bool L_26 = __this->___erosionUseTags_28;
|
|
if (!L_26)
|
|
{
|
|
goto IL_00f9;
|
|
}
|
|
}
|
|
{
|
|
// if (it == 0) {
|
|
int32_t L_27 = V_3;
|
|
if (L_27)
|
|
{
|
|
goto IL_00d8;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
V_4 = 0;
|
|
goto IL_00d1;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// ErodeNodeWithTagsInit(nodesInRect[i]);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_28 = V_1;
|
|
int32_t L_29 = V_4;
|
|
NullCheck(L_28);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_30;
|
|
L_30 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_28, L_29, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
GridGraph_ErodeNodeWithTagsInit_m9BCE71473AF883FA0B567E8ECAA012DB0933FC90(__this, L_30, NULL);
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_31 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_32 = V_4;
|
|
int32_t L_33 = V_2;
|
|
if ((((int32_t)L_32) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
|
|
IL_00d8:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
V_5 = 0;
|
|
goto IL_00f2;
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// ErodeNodeWithTags(nodesInRect[i], it);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_34 = V_1;
|
|
int32_t L_35 = V_5;
|
|
NullCheck(L_34);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_36;
|
|
L_36 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_34, L_35, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
int32_t L_37 = V_3;
|
|
GridGraph_ErodeNodeWithTags_m501199523BBB7461377B071FE7E77C33CC6E1266(__this, L_36, L_37, NULL);
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_38 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00f2:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_39 = V_5;
|
|
int32_t L_40 = V_2;
|
|
if ((((int32_t)L_39) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
|
|
IL_00f9:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
V_6 = 0;
|
|
goto IL_0112;
|
|
}
|
|
|
|
IL_00fe:
|
|
{
|
|
// ErodeNode(nodesInRect[i]);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_41 = V_1;
|
|
int32_t L_42 = V_6;
|
|
NullCheck(L_41);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_43;
|
|
L_43 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_41, L_42, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
GridGraph_ErodeNode_mE9C4DDEC5D18177C6681A216D846DC04061D320D(__this, L_43, NULL);
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_44 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_44, 1));
|
|
}
|
|
|
|
IL_0112:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_45 = V_6;
|
|
int32_t L_46 = V_2;
|
|
if ((((int32_t)L_45) < ((int32_t)L_46)))
|
|
{
|
|
goto IL_00fe;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
V_7 = 0;
|
|
goto IL_0135;
|
|
}
|
|
|
|
IL_011c:
|
|
{
|
|
// CalculateConnections(nodesInRect[i] as GridNodeBase);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_47 = V_1;
|
|
int32_t L_48 = V_7;
|
|
NullCheck(L_47);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_49;
|
|
L_49 = List_1_get_Item_m9C60036A6132012418113197759818C140CECC84(L_47, L_48, List_1_get_Item_m9C60036A6132012418113197759818C140CECC84_RuntimeMethod_var);
|
|
VirtualActionInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* >::Invoke(39 /* System.Void Pathfinding.GridGraph::CalculateConnections(Pathfinding.GridNodeBase) */, __this, ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)IsInstClass((RuntimeObject*)L_49, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var)));
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_50 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_50, 1));
|
|
}
|
|
|
|
IL_0135:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_51 = V_7;
|
|
int32_t L_52 = V_2;
|
|
if ((((int32_t)L_51) < ((int32_t)L_52)))
|
|
{
|
|
goto IL_011c;
|
|
}
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// for (int it = 0; it < erodeIterations; it++) {
|
|
int32_t L_53 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_53, 1));
|
|
}
|
|
|
|
IL_013e:
|
|
{
|
|
// for (int it = 0; it < erodeIterations; it++) {
|
|
int32_t L_54 = V_3;
|
|
int32_t L_55 = __this->___erodeIterations_27;
|
|
if ((((int32_t)L_54) < ((int32_t)L_55)))
|
|
{
|
|
goto IL_00ad;
|
|
}
|
|
}
|
|
{
|
|
// Pathfinding.Util.ListPool<GraphNode>.Release(ref nodesInRect);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B((&V_1), ListPool_1_Release_m7322E7191A95A036A9916FD78E9021B06DE7643B_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::IsValidConnection(Pathfinding.GridNodeBase,Pathfinding.GridNodeBase)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_IsValidConnection_m948C71F3FF5CA2E603BBD73A8A5D3F703DFC0060 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* ___0_node1, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* ___1_node2, 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;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// if (!node1.Walkable || !node2.Walkable) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_0 = ___0_node1;
|
|
NullCheck(L_0);
|
|
bool L_1;
|
|
L_1 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_2 = ___1_node2;
|
|
NullCheck(L_2);
|
|
bool L_3;
|
|
L_3 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// if (maxClimb <= 0 || collision.use2D) return true;
|
|
float L_4 = __this->___maxClimb_25;
|
|
if ((((float)L_4) <= ((float)(0.0f))))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_5 = __this->___collision_24;
|
|
NullCheck(L_5);
|
|
bool L_6 = L_5->___use2D_11;
|
|
if (!L_6)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// if (maxClimb <= 0 || collision.use2D) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// if (transform.onlyTranslational) {
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_7;
|
|
L_7 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
NullCheck(L_7);
|
|
bool L_8 = L_7->___onlyTranslational_1;
|
|
if (!L_8)
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
// return System.Math.Abs(node1.position.y - node2.position.y) <= maxClimb*Int3.Precision;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_9 = ___0_node1;
|
|
NullCheck(L_9);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_10 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_9)->___position_7);
|
|
int32_t L_11 = L_10->___y_1;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_12 = ___1_node2;
|
|
NullCheck(L_12);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_13 = (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)(&((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_12)->___position_7);
|
|
int32_t L_14 = L_13->___y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_15;
|
|
L_15 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_11, L_14)));
|
|
float L_16 = __this->___maxClimb_25;
|
|
return (bool)((((int32_t)((!(((float)((float)L_15)) <= ((float)((float)il2cpp_codegen_multiply(L_16, (1000.0f))))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// var p1 = (Vector3)node1.position;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_17 = ___0_node1;
|
|
NullCheck(L_17);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_18 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_17)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_18, NULL);
|
|
V_0 = L_19;
|
|
// var p2 = (Vector3)node2.position;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_20 = ___1_node2;
|
|
NullCheck(L_20);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_21 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_20)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_21, NULL);
|
|
V_1 = L_22;
|
|
// var up = transform.WorldUpAtGraphPosition(p1);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_23;
|
|
L_23 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = GraphTransform_WorldUpAtGraphPosition_mEC612828C2CAC05154539507D7E22193C6AA0884_inline(L_23, L_24, NULL);
|
|
V_2 = L_25;
|
|
// return System.Math.Abs(Vector3.Dot(up, p1) - Vector3.Dot(up, p2)) <= maxClimb;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_0;
|
|
float L_28;
|
|
L_28 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_26, L_27, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_1;
|
|
float L_31;
|
|
L_31 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_29, L_30, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_32;
|
|
L_32 = fabsf(((float)il2cpp_codegen_subtract(L_28, L_31)));
|
|
float L_33 = __this->___maxClimb_25;
|
|
return (bool)((((int32_t)((!(((float)L_32) <= ((float)L_33)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateConnectionsForCellAndNeighbours(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateConnectionsForCellAndNeighbours_m4AE7AB4C732D5D9BB1081B9918E6EFD313A63D7D (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// CalculateConnections(x, z);
|
|
int32_t L_0 = ___0_x;
|
|
int32_t L_1 = ___1_z;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_0, L_1);
|
|
// for (int i = 0; i < 8; i++) {
|
|
V_0 = 0;
|
|
goto IL_0053;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// int nx = x + neighbourXOffsets[i];
|
|
int32_t L_2 = ___0_x;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = __this->___neighbourXOffsets_44;
|
|
int32_t L_4 = V_0;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
int32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_2, L_6));
|
|
// int nz = z + neighbourZOffsets[i];
|
|
int32_t L_7 = ___1_z;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_8 = __this->___neighbourZOffsets_45;
|
|
int32_t L_9 = V_0;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
int32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_7, L_11));
|
|
// if (nx >= 0 & nz >= 0 & nx < width & nz < depth) {
|
|
int32_t L_12 = V_1;
|
|
int32_t L_13 = V_2;
|
|
int32_t L_14 = V_1;
|
|
int32_t L_15 = __this->___width_13;
|
|
int32_t L_16 = V_2;
|
|
int32_t L_17 = __this->___depth_14;
|
|
if (!((int32_t)(((int32_t)(((int32_t)(((((int32_t)((((int32_t)L_12) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)&((((int32_t)((((int32_t)L_13) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)))&((((int32_t)L_14) < ((int32_t)L_15))? 1 : 0)))&((((int32_t)L_16) < ((int32_t)L_17))? 1 : 0))))
|
|
{
|
|
goto IL_004f;
|
|
}
|
|
}
|
|
{
|
|
// CalculateConnections(nx, nz);
|
|
int32_t L_18 = V_1;
|
|
int32_t L_19 = V_2;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_18, L_19);
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
// for (int i = 0; i < 8; i++) {
|
|
int32_t L_20 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// for (int i = 0; i < 8; i++) {
|
|
int32_t L_21 = V_0;
|
|
if ((((int32_t)L_21) < ((int32_t)8)))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateConnections(Pathfinding.GridNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateConnections_m9198C2171CEA9D56102B7649BB0AF6F7D3114887 (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// (AstarData.GetGraph(node) as GridGraph).CalculateConnections((GridNodeBase)node);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_0 = ___0_node;
|
|
NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0* L_1;
|
|
L_1 = AstarData_GetGraph_m277003679707540B49B5ADCDE494AA6492F3450F(L_0, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_2 = ___0_node;
|
|
NullCheck(((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)IsInstClass((RuntimeObject*)L_1, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var)));
|
|
VirtualActionInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* >::Invoke(39 /* System.Void Pathfinding.GridGraph::CalculateConnections(Pathfinding.GridNodeBase) */, ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC*)IsInstClass((RuntimeObject*)L_1, GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var)), L_2);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateConnections(Pathfinding.GridNodeBase)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateConnections_m99AA73E4B5CE4B037C6C65FF7D3F325E7E7701E9 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// int index = node.NodeInGridIndex;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_0, NULL);
|
|
// int x = index % width;
|
|
int32_t L_2 = L_1;
|
|
int32_t L_3 = __this->___width_13;
|
|
V_0 = ((int32_t)(L_2%L_3));
|
|
// int z = index / width;
|
|
int32_t L_4 = __this->___width_13;
|
|
V_1 = ((int32_t)(L_2/L_4));
|
|
// CalculateConnections(x, z);
|
|
int32_t L_5 = V_0;
|
|
int32_t L_6 = V_1;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_5, L_6);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32,Pathfinding.GridNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateConnections_m8B138B35B947A1DFBBE8410C0CFFE1BB60FBCB85 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___2_node, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// CalculateConnections(x, z);
|
|
int32_t L_0 = ___0_x;
|
|
int32_t L_1 = ___1_z;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_0, L_1);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateConnections_mED369BA31C8143F5441FCAAA6F61098836B69B02 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
int32_t V_18 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_19 = NULL;
|
|
{
|
|
// var node = nodes[z*width + x];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
int32_t L_1 = ___1_z;
|
|
int32_t L_2 = __this->___width_13;
|
|
int32_t L_3 = ___0_x;
|
|
NullCheck(L_0);
|
|
int32_t L_4 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_1, L_2)), L_3));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_5 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_0 = L_5;
|
|
// if (!node.Walkable) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
bool L_7;
|
|
L_7 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// node.ResetConnectionsInternal();
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
GridNode_ResetConnectionsInternal_mC19D8936C87C2DFA436B5373F2A37DB50FBD3B1D(L_8, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// int index = node.NodeInGridIndex;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_9, NULL);
|
|
V_1 = L_10;
|
|
// if (neighbours == NumNeighbours.Four || neighbours == NumNeighbours.Eight) {
|
|
int32_t L_11 = __this->___neighbours_30;
|
|
if (!L_11)
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_12 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_12) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01e9;
|
|
}
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// int conns = 0;
|
|
V_2 = 0;
|
|
// for (int i = 0; i < 4; i++) {
|
|
V_4 = 0;
|
|
goto IL_00b5;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// int nx = x + neighbourXOffsets[i];
|
|
int32_t L_13 = ___0_x;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_14 = __this->___neighbourXOffsets_44;
|
|
int32_t L_15 = V_4;
|
|
NullCheck(L_14);
|
|
int32_t L_16 = L_15;
|
|
int32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_13, L_17));
|
|
// int nz = z + neighbourZOffsets[i];
|
|
int32_t L_18 = ___1_z;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = __this->___neighbourZOffsets_45;
|
|
int32_t L_20 = V_4;
|
|
NullCheck(L_19);
|
|
int32_t L_21 = L_20;
|
|
int32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_18, L_22));
|
|
// if (nx >= 0 & nz >= 0 & nx < width & nz < depth) {
|
|
int32_t L_23 = V_5;
|
|
int32_t L_24 = V_6;
|
|
int32_t L_25 = V_5;
|
|
int32_t L_26 = __this->___width_13;
|
|
int32_t L_27 = V_6;
|
|
int32_t L_28 = __this->___depth_14;
|
|
if (!((int32_t)(((int32_t)(((int32_t)(((((int32_t)((((int32_t)L_23) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)&((((int32_t)((((int32_t)L_24) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)))&((((int32_t)L_25) < ((int32_t)L_26))? 1 : 0)))&((((int32_t)L_27) < ((int32_t)L_28))? 1 : 0))))
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// var other = nodes[index+neighbourOffsets[i]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_29 = __this->___nodes_48;
|
|
int32_t L_30 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31 = __this->___neighbourOffsets_42;
|
|
int32_t L_32 = V_4;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = L_32;
|
|
int32_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
NullCheck(L_29);
|
|
int32_t L_35 = ((int32_t)il2cpp_codegen_add(L_30, L_34));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_36 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
V_7 = L_36;
|
|
// if (IsValidConnection(node, other)) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_37 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_38 = V_7;
|
|
bool L_39;
|
|
L_39 = VirtualFuncInvoker2< bool, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* >::Invoke(38 /* System.Boolean Pathfinding.GridGraph::IsValidConnection(Pathfinding.GridNodeBase,Pathfinding.GridNodeBase) */, __this, L_37, L_38);
|
|
if (!L_39)
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// conns |= 1 << i;
|
|
int32_t L_40 = V_2;
|
|
int32_t L_41 = V_4;
|
|
V_2 = ((int32_t)(L_40|((int32_t)(1<<((int32_t)(L_41&((int32_t)31)))))));
|
|
}
|
|
|
|
IL_00af:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_42 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_43 = V_4;
|
|
if ((((int32_t)L_43) < ((int32_t)4)))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
// int diagConns = 0;
|
|
V_3 = 0;
|
|
// if (neighbours == NumNeighbours.Eight) {
|
|
int32_t L_44 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_44) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01df;
|
|
}
|
|
}
|
|
{
|
|
// if (cutCorners) {
|
|
bool L_45 = __this->___cutCorners_31;
|
|
if (!L_45)
|
|
{
|
|
goto IL_017e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
V_8 = 0;
|
|
goto IL_0174;
|
|
}
|
|
|
|
IL_00db:
|
|
{
|
|
// if (((conns >> i | conns >> (i+1) | conns >> (i+1-4)) & 1) != 0) {
|
|
int32_t L_46 = V_2;
|
|
int32_t L_47 = V_8;
|
|
int32_t L_48 = V_2;
|
|
int32_t L_49 = V_8;
|
|
int32_t L_50 = V_2;
|
|
int32_t L_51 = V_8;
|
|
if (!((int32_t)(((int32_t)(((int32_t)(((int32_t)(L_46>>((int32_t)(L_47&((int32_t)31)))))|((int32_t)(L_48>>((int32_t)(((int32_t)il2cpp_codegen_add(L_49, 1))&((int32_t)31)))))))|((int32_t)(L_50>>((int32_t)(((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_51, 1)), 4))&((int32_t)31)))))))&1)))
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
{
|
|
// int directionIndex = i+4;
|
|
int32_t L_52 = V_8;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_52, 4));
|
|
// int nx = x + neighbourXOffsets[directionIndex];
|
|
int32_t L_53 = ___0_x;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_54 = __this->___neighbourXOffsets_44;
|
|
int32_t L_55 = V_9;
|
|
NullCheck(L_54);
|
|
int32_t L_56 = L_55;
|
|
int32_t L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_53, L_57));
|
|
// int nz = z + neighbourZOffsets[directionIndex];
|
|
int32_t L_58 = ___1_z;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_59 = __this->___neighbourZOffsets_45;
|
|
int32_t L_60 = V_9;
|
|
NullCheck(L_59);
|
|
int32_t L_61 = L_60;
|
|
int32_t L_62 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_58, L_62));
|
|
// if (nx >= 0 & nz >= 0 & nx < width & nz < depth) {
|
|
int32_t L_63 = V_10;
|
|
int32_t L_64 = V_11;
|
|
int32_t L_65 = V_10;
|
|
int32_t L_66 = __this->___width_13;
|
|
int32_t L_67 = V_11;
|
|
int32_t L_68 = __this->___depth_14;
|
|
if (!((int32_t)(((int32_t)(((int32_t)(((((int32_t)((((int32_t)L_63) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)&((((int32_t)((((int32_t)L_64) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)))&((((int32_t)L_65) < ((int32_t)L_66))? 1 : 0)))&((((int32_t)L_67) < ((int32_t)L_68))? 1 : 0))))
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
{
|
|
// GridNode other = nodes[index+neighbourOffsets[directionIndex]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_69 = __this->___nodes_48;
|
|
int32_t L_70 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_71 = __this->___neighbourOffsets_42;
|
|
int32_t L_72 = V_9;
|
|
NullCheck(L_71);
|
|
int32_t L_73 = L_72;
|
|
int32_t L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
|
|
NullCheck(L_69);
|
|
int32_t L_75 = ((int32_t)il2cpp_codegen_add(L_70, L_74));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_76 = (L_69)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
|
|
V_12 = L_76;
|
|
// if (IsValidConnection(node, other)) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_77 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_78 = V_12;
|
|
bool L_79;
|
|
L_79 = VirtualFuncInvoker2< bool, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* >::Invoke(38 /* System.Boolean Pathfinding.GridGraph::IsValidConnection(Pathfinding.GridNodeBase,Pathfinding.GridNodeBase) */, __this, L_77, L_78);
|
|
if (!L_79)
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
{
|
|
// diagConns |= 1 << directionIndex;
|
|
int32_t L_80 = V_3;
|
|
int32_t L_81 = V_9;
|
|
V_3 = ((int32_t)(L_80|((int32_t)(1<<((int32_t)(L_81&((int32_t)31)))))));
|
|
}
|
|
|
|
IL_016e:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_82 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_82, 1));
|
|
}
|
|
|
|
IL_0174:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_83 = V_8;
|
|
if ((((int32_t)L_83) < ((int32_t)4)))
|
|
{
|
|
goto IL_00db;
|
|
}
|
|
}
|
|
{
|
|
goto IL_01df;
|
|
}
|
|
|
|
IL_017e:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
V_13 = 0;
|
|
goto IL_01da;
|
|
}
|
|
|
|
IL_0183:
|
|
{
|
|
// if ((conns >> i & 1) != 0 && ((conns >> (i+1) | conns >> (i+1-4)) & 1) != 0) {
|
|
int32_t L_84 = V_2;
|
|
int32_t L_85 = V_13;
|
|
if (!((int32_t)(((int32_t)(L_84>>((int32_t)(L_85&((int32_t)31)))))&1)))
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_86 = V_2;
|
|
int32_t L_87 = V_13;
|
|
int32_t L_88 = V_2;
|
|
int32_t L_89 = V_13;
|
|
if (!((int32_t)(((int32_t)(((int32_t)(L_86>>((int32_t)(((int32_t)il2cpp_codegen_add(L_87, 1))&((int32_t)31)))))|((int32_t)(L_88>>((int32_t)(((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_89, 1)), 4))&((int32_t)31)))))))&1)))
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
{
|
|
// GridNode other = nodes[index+neighbourOffsets[i+4]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_90 = __this->___nodes_48;
|
|
int32_t L_91 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_92 = __this->___neighbourOffsets_42;
|
|
int32_t L_93 = V_13;
|
|
NullCheck(L_92);
|
|
int32_t L_94 = ((int32_t)il2cpp_codegen_add(L_93, 4));
|
|
int32_t L_95 = (L_92)->GetAt(static_cast<il2cpp_array_size_t>(L_94));
|
|
NullCheck(L_90);
|
|
int32_t L_96 = ((int32_t)il2cpp_codegen_add(L_91, L_95));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_97 = (L_90)->GetAt(static_cast<il2cpp_array_size_t>(L_96));
|
|
V_14 = L_97;
|
|
// if (IsValidConnection(node, other)) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_98 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_99 = V_14;
|
|
bool L_100;
|
|
L_100 = VirtualFuncInvoker2< bool, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* >::Invoke(38 /* System.Boolean Pathfinding.GridGraph::IsValidConnection(Pathfinding.GridNodeBase,Pathfinding.GridNodeBase) */, __this, L_98, L_99);
|
|
if (!L_100)
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
{
|
|
// diagConns |= 1 << (i+4);
|
|
int32_t L_101 = V_3;
|
|
int32_t L_102 = V_13;
|
|
V_3 = ((int32_t)(L_101|((int32_t)(1<<((int32_t)(((int32_t)il2cpp_codegen_add(L_102, 4))&((int32_t)31)))))));
|
|
}
|
|
|
|
IL_01d4:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_103 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_103, 1));
|
|
}
|
|
|
|
IL_01da:
|
|
{
|
|
// for (int i = 0; i < 4; i++) {
|
|
int32_t L_104 = V_13;
|
|
if ((((int32_t)L_104) < ((int32_t)4)))
|
|
{
|
|
goto IL_0183;
|
|
}
|
|
}
|
|
|
|
IL_01df:
|
|
{
|
|
// node.SetAllConnectionInternal(conns | diagConns);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_105 = V_0;
|
|
int32_t L_106 = V_2;
|
|
int32_t L_107 = V_3;
|
|
NullCheck(L_105);
|
|
GridNode_SetAllConnectionInternal_m8A95E28BBAC42AE397037E8457BC5D76C67AF43B(L_105, ((int32_t)(L_106|L_107)), NULL);
|
|
return;
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// node.ResetConnectionsInternal();
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_108 = V_0;
|
|
NullCheck(L_108);
|
|
GridNode_ResetConnectionsInternal_mC19D8936C87C2DFA436B5373F2A37DB50FBD3B1D(L_108, NULL);
|
|
// for (int j = 0; j < hexagonNeighbourIndices.Length; j++) {
|
|
V_15 = 0;
|
|
goto IL_026c;
|
|
}
|
|
|
|
IL_01f4:
|
|
{
|
|
// var i = hexagonNeighbourIndices[j];
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_109 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46;
|
|
int32_t L_110 = V_15;
|
|
NullCheck(L_109);
|
|
int32_t L_111 = L_110;
|
|
int32_t L_112 = (L_109)->GetAt(static_cast<il2cpp_array_size_t>(L_111));
|
|
V_16 = L_112;
|
|
// int nx = x + neighbourXOffsets[i];
|
|
int32_t L_113 = ___0_x;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_114 = __this->___neighbourXOffsets_44;
|
|
int32_t L_115 = V_16;
|
|
NullCheck(L_114);
|
|
int32_t L_116 = L_115;
|
|
int32_t L_117 = (L_114)->GetAt(static_cast<il2cpp_array_size_t>(L_116));
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_113, L_117));
|
|
// int nz = z + neighbourZOffsets[i];
|
|
int32_t L_118 = ___1_z;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_119 = __this->___neighbourZOffsets_45;
|
|
int32_t L_120 = V_16;
|
|
NullCheck(L_119);
|
|
int32_t L_121 = L_120;
|
|
int32_t L_122 = (L_119)->GetAt(static_cast<il2cpp_array_size_t>(L_121));
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_118, L_122));
|
|
// if (nx >= 0 & nz >= 0 & nx < width & nz < depth) {
|
|
int32_t L_123 = V_17;
|
|
int32_t L_124 = V_18;
|
|
int32_t L_125 = V_17;
|
|
int32_t L_126 = __this->___width_13;
|
|
int32_t L_127 = V_18;
|
|
int32_t L_128 = __this->___depth_14;
|
|
if (!((int32_t)(((int32_t)(((int32_t)(((((int32_t)((((int32_t)L_123) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)&((((int32_t)((((int32_t)L_124) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0)))&((((int32_t)L_125) < ((int32_t)L_126))? 1 : 0)))&((((int32_t)L_127) < ((int32_t)L_128))? 1 : 0))))
|
|
{
|
|
goto IL_0266;
|
|
}
|
|
}
|
|
{
|
|
// var other = nodes[index+neighbourOffsets[i]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_129 = __this->___nodes_48;
|
|
int32_t L_130 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_131 = __this->___neighbourOffsets_42;
|
|
int32_t L_132 = V_16;
|
|
NullCheck(L_131);
|
|
int32_t L_133 = L_132;
|
|
int32_t L_134 = (L_131)->GetAt(static_cast<il2cpp_array_size_t>(L_133));
|
|
NullCheck(L_129);
|
|
int32_t L_135 = ((int32_t)il2cpp_codegen_add(L_130, L_134));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_136 = (L_129)->GetAt(static_cast<il2cpp_array_size_t>(L_135));
|
|
V_19 = L_136;
|
|
// node.SetConnectionInternal(i, IsValidConnection(node, other));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_137 = V_0;
|
|
int32_t L_138 = V_16;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_139 = V_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_140 = V_19;
|
|
bool L_141;
|
|
L_141 = VirtualFuncInvoker2< bool, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* >::Invoke(38 /* System.Boolean Pathfinding.GridGraph::IsValidConnection(Pathfinding.GridNodeBase,Pathfinding.GridNodeBase) */, __this, L_139, L_140);
|
|
NullCheck(L_137);
|
|
GridNode_SetConnectionInternal_mA9FEC910BFD91692F42444F30F46EB4931D9AB0F(L_137, L_138, L_141, NULL);
|
|
}
|
|
|
|
IL_0266:
|
|
{
|
|
// for (int j = 0; j < hexagonNeighbourIndices.Length; j++) {
|
|
int32_t L_142 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_142, 1));
|
|
}
|
|
|
|
IL_026c:
|
|
{
|
|
// for (int j = 0; j < hexagonNeighbourIndices.Length; j++) {
|
|
int32_t L_143 = V_15;
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_144 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46;
|
|
NullCheck(L_144);
|
|
if ((((int32_t)L_143) < ((int32_t)((int32_t)(((RuntimeArray*)L_144)->max_length)))))
|
|
{
|
|
goto IL_01f4;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::OnDrawGizmos(Pathfinding.Util.RetainedGizmos,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_OnDrawGizmos_m2DF3F53A0483DEBDF0164AFDE76E55BB3C55BC22 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* ___0_gizmos, bool ___1_drawNodes, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_mB283D45C301F4607211D245262697A9C921670FC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_m52BAB111BC86C9800C05C42CCACA414DC465879F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_tC0D7414A0CEC2089657294E84A027B4A4F690631_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* V_0 = NULL;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
float V_4 = 0.0f;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
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;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
int32_t V_15 = 0;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* V_16 = NULL;
|
|
int32_t V_17 = 0;
|
|
int32_t G_B4_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B22_0 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B21_0 = NULL;
|
|
int32_t G_B23_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B23_1 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B25_0 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B24_0 = NULL;
|
|
int32_t G_B26_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B26_1 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B28_0 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B27_0 = NULL;
|
|
int32_t G_B29_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B29_1 = NULL;
|
|
{
|
|
// using (var helper = gizmos.GetSingleFrameGizmoHelper(active)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_0 = ___0_gizmos;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_1 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_0);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_2;
|
|
L_2 = RetainedGizmos_GetSingleFrameGizmoHelper_m3420A5101BCCA4E22822F44EEF8C12FBF5CA848D(L_0, L_1, NULL);
|
|
V_1 = L_2;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0142:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_014b;
|
|
}
|
|
}
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_4 = V_1;
|
|
NullCheck(L_4);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_4);
|
|
}
|
|
|
|
IL_014b:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// CalculateDimensions(out w, out d, out s);
|
|
GridGraph_CalculateDimensions_m08862DDCE0D3C478FA8ED1CDA7C681F64E1A8CCF(__this, (&V_2), (&V_3), (&V_4), NULL);
|
|
// var bounds = new Bounds();
|
|
il2cpp_codegen_initobj((&V_5), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
|
|
// bounds.SetMinMax(Vector3.zero, new Vector3(w, 0, d));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
int32_t L_6 = V_2;
|
|
int32_t L_7 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_8), ((float)L_6), (0.0f), ((float)L_7), /*hidden argument*/NULL);
|
|
Bounds_SetMinMax_mB5F7DDF18EDB7F3F25FA6D2B36824F28978C540F((&V_5), L_5, L_8, NULL);
|
|
// var trans = CalculateTransform();
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_9;
|
|
L_9 = GridGraph_CalculateTransform_m5477ECADF04C51740AF2999ED287BB71C2E97FCE(__this, NULL);
|
|
V_6 = L_9;
|
|
// helper.builder.DrawWireCube(trans, bounds, Color.white);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_10 = V_1;
|
|
NullCheck(L_10);
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_11;
|
|
L_11 = GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline(L_10, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_12 = V_6;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_13 = V_5;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_14;
|
|
L_14 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
NullCheck(L_11);
|
|
Builder_DrawWireCube_mB68EC0D905E39411D59E3BD67564DCD203CE78F0(L_11, L_12, L_13, L_14, NULL);
|
|
// int nodeCount = nodes != null ? nodes.Length : -1;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_15 = __this->___nodes_48;
|
|
if (L_15)
|
|
{
|
|
goto IL_0062_1;
|
|
}
|
|
}
|
|
{
|
|
G_B4_0 = (-1);
|
|
goto IL_006a_1;
|
|
}
|
|
|
|
IL_0062_1:
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_16 = __this->___nodes_48;
|
|
NullCheck(L_16);
|
|
G_B4_0 = ((int32_t)(((RuntimeArray*)L_16)->max_length));
|
|
}
|
|
|
|
IL_006a_1:
|
|
{
|
|
V_7 = G_B4_0;
|
|
// if (drawNodes && width*depth*LayerCount != nodeCount) {
|
|
bool L_17 = ___1_drawNodes;
|
|
if (!L_17)
|
|
{
|
|
goto IL_0140_1;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_18 = __this->___width_13;
|
|
int32_t L_19 = __this->___depth_14;
|
|
int32_t L_20;
|
|
L_20 = VirtualFuncInvoker0< int32_t >::Invoke(32 /* System.Int32 Pathfinding.GridGraph::get_LayerCount() */, __this);
|
|
int32_t L_21 = V_7;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_multiply(L_18, L_19)), L_20))) == ((int32_t)L_21)))
|
|
{
|
|
goto IL_0140_1;
|
|
}
|
|
}
|
|
{
|
|
// var color = new Color(1, 1, 1, 0.2f);
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&V_8), (1.0f), (1.0f), (1.0f), (0.200000003f), NULL);
|
|
// for (int z = 0; z < d; z++) {
|
|
V_9 = 0;
|
|
goto IL_00ef_1;
|
|
}
|
|
|
|
IL_00ad_1:
|
|
{
|
|
// helper.builder.DrawLine(trans.Transform(new Vector3(0, 0, z)), trans.Transform(new Vector3(w, 0, z)), color);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_22 = V_1;
|
|
NullCheck(L_22);
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_23;
|
|
L_23 = GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline(L_22, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_24 = V_6;
|
|
int32_t L_25 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
memset((&L_26), 0, sizeof(L_26));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_26), (0.0f), (0.0f), ((float)L_25), /*hidden argument*/NULL);
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_24, L_26, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_28 = V_6;
|
|
int32_t L_29 = V_2;
|
|
int32_t L_30 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
memset((&L_31), 0, sizeof(L_31));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_31), ((float)L_29), (0.0f), ((float)L_30), /*hidden argument*/NULL);
|
|
NullCheck(L_28);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_28, L_31, NULL);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_33 = V_8;
|
|
NullCheck(L_23);
|
|
Builder_DrawLine_m7CFB057D3CD668DA90730CABE4C3915E4A458F27(L_23, L_27, L_32, L_33, NULL);
|
|
// for (int z = 0; z < d; z++) {
|
|
int32_t L_34 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
}
|
|
|
|
IL_00ef_1:
|
|
{
|
|
// for (int z = 0; z < d; z++) {
|
|
int32_t L_35 = V_9;
|
|
int32_t L_36 = V_3;
|
|
if ((((int32_t)L_35) < ((int32_t)L_36)))
|
|
{
|
|
goto IL_00ad_1;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = 0; x < w; x++) {
|
|
V_10 = 0;
|
|
goto IL_013b_1;
|
|
}
|
|
|
|
IL_00f9_1:
|
|
{
|
|
// helper.builder.DrawLine(trans.Transform(new Vector3(x, 0, 0)), trans.Transform(new Vector3(x, 0, d)), color);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_37 = V_1;
|
|
NullCheck(L_37);
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_38;
|
|
L_38 = GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline(L_37, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_39 = V_6;
|
|
int32_t L_40 = V_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
memset((&L_41), 0, sizeof(L_41));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_41), ((float)L_40), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
NullCheck(L_39);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_39, L_41, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_43 = V_6;
|
|
int32_t L_44 = V_10;
|
|
int32_t L_45 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
memset((&L_46), 0, sizeof(L_46));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_46), ((float)L_44), (0.0f), ((float)L_45), /*hidden argument*/NULL);
|
|
NullCheck(L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_43, L_46, NULL);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_48 = V_8;
|
|
NullCheck(L_38);
|
|
Builder_DrawLine_m7CFB057D3CD668DA90730CABE4C3915E4A458F27(L_38, L_42, L_47, L_48, NULL);
|
|
// for (int x = 0; x < w; x++) {
|
|
int32_t L_49 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_49, 1));
|
|
}
|
|
|
|
IL_013b_1:
|
|
{
|
|
// for (int x = 0; x < w; x++) {
|
|
int32_t L_50 = V_10;
|
|
int32_t L_51 = V_2;
|
|
if ((((int32_t)L_50) < ((int32_t)L_51)))
|
|
{
|
|
goto IL_00f9_1;
|
|
}
|
|
}
|
|
|
|
IL_0140_1:
|
|
{
|
|
// }
|
|
goto IL_014c;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_014c:
|
|
{
|
|
// if (!drawNodes) {
|
|
bool L_52 = ___1_drawNodes;
|
|
if (L_52)
|
|
{
|
|
goto IL_0150;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0150:
|
|
{
|
|
// GridNodeBase[] allNodes = ArrayPool<GridNodeBase>.Claim(chunkWidth*chunkWidth*LayerCount);
|
|
int32_t L_53;
|
|
L_53 = VirtualFuncInvoker0< int32_t >::Invoke(32 /* System.Int32 Pathfinding.GridGraph::get_LayerCount() */, __this);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tC0D7414A0CEC2089657294E84A027B4A4F690631_il2cpp_TypeInfo_var);
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_54;
|
|
L_54 = ArrayPool_1_Claim_mB283D45C301F4607211D245262697A9C921670FC(((int32_t)il2cpp_codegen_multiply(((int32_t)1024), L_53)), ArrayPool_1_Claim_mB283D45C301F4607211D245262697A9C921670FC_RuntimeMethod_var);
|
|
V_0 = L_54;
|
|
// for (int cx = width/chunkWidth; cx >= 0; cx--) {
|
|
int32_t L_55 = __this->___width_13;
|
|
V_11 = ((int32_t)(L_55/((int32_t)32)));
|
|
goto IL_0294;
|
|
}
|
|
|
|
IL_0172:
|
|
{
|
|
// for (int cz = depth/chunkWidth; cz >= 0; cz--) {
|
|
int32_t L_56 = __this->___depth_14;
|
|
V_12 = ((int32_t)(L_56/((int32_t)32)));
|
|
goto IL_0286;
|
|
}
|
|
|
|
IL_0182:
|
|
{
|
|
// var allNodesCount = GetNodesInRegion(new IntRect(cx*chunkWidth, cz*chunkWidth, (cx+1)*chunkWidth - 1, (cz+1)*chunkWidth - 1), allNodes);
|
|
int32_t L_57 = V_11;
|
|
int32_t L_58 = V_12;
|
|
int32_t L_59 = V_11;
|
|
int32_t L_60 = V_12;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_61;
|
|
memset((&L_61), 0, sizeof(L_61));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_61), ((int32_t)il2cpp_codegen_multiply(L_57, ((int32_t)32))), ((int32_t)il2cpp_codegen_multiply(L_58, ((int32_t)32))), ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_59, 1)), ((int32_t)32))), 1)), ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_60, 1)), ((int32_t)32))), 1)), /*hidden argument*/NULL);
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_62 = V_0;
|
|
int32_t L_63;
|
|
L_63 = VirtualFuncInvoker2< int32_t, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312, GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* >::Invoke(44 /* System.Int32 Pathfinding.GridGraph::GetNodesInRegion(Pathfinding.IntRect,Pathfinding.GridNodeBase[]) */, __this, L_61, L_62);
|
|
V_13 = L_63;
|
|
// var hasher = new RetainedGizmos.Hasher(active);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_64 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
Hasher__ctor_m25E88DB00502DF7D65073E1CF46CD641400E0280((&V_14), L_64, NULL);
|
|
// hasher.AddHash(showMeshOutline ? 1 : 0);
|
|
bool L_65 = __this->___showMeshOutline_38;
|
|
G_B21_0 = (&V_14);
|
|
if (L_65)
|
|
{
|
|
G_B22_0 = (&V_14);
|
|
goto IL_01c6;
|
|
}
|
|
}
|
|
{
|
|
G_B23_0 = 0;
|
|
G_B23_1 = G_B21_0;
|
|
goto IL_01c7;
|
|
}
|
|
|
|
IL_01c6:
|
|
{
|
|
G_B23_0 = 1;
|
|
G_B23_1 = G_B22_0;
|
|
}
|
|
|
|
IL_01c7:
|
|
{
|
|
Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C(G_B23_1, G_B23_0, NULL);
|
|
// hasher.AddHash(showMeshSurface ? 1 : 0);
|
|
bool L_66 = __this->___showMeshSurface_40;
|
|
G_B24_0 = (&V_14);
|
|
if (L_66)
|
|
{
|
|
G_B25_0 = (&V_14);
|
|
goto IL_01d9;
|
|
}
|
|
}
|
|
{
|
|
G_B26_0 = 0;
|
|
G_B26_1 = G_B24_0;
|
|
goto IL_01da;
|
|
}
|
|
|
|
IL_01d9:
|
|
{
|
|
G_B26_0 = 1;
|
|
G_B26_1 = G_B25_0;
|
|
}
|
|
|
|
IL_01da:
|
|
{
|
|
Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C(G_B26_1, G_B26_0, NULL);
|
|
// hasher.AddHash(showNodeConnections ? 1 : 0);
|
|
bool L_67 = __this->___showNodeConnections_39;
|
|
G_B27_0 = (&V_14);
|
|
if (L_67)
|
|
{
|
|
G_B28_0 = (&V_14);
|
|
goto IL_01ec;
|
|
}
|
|
}
|
|
{
|
|
G_B29_0 = 0;
|
|
G_B29_1 = G_B27_0;
|
|
goto IL_01ed;
|
|
}
|
|
|
|
IL_01ec:
|
|
{
|
|
G_B29_0 = 1;
|
|
G_B29_1 = G_B28_0;
|
|
}
|
|
|
|
IL_01ed:
|
|
{
|
|
Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C(G_B29_1, G_B29_0, NULL);
|
|
// for (int i = 0; i < allNodesCount; i++) {
|
|
V_15 = 0;
|
|
goto IL_0208;
|
|
}
|
|
|
|
IL_01f7:
|
|
{
|
|
// hasher.HashNode(allNodes[i]);
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_68 = V_0;
|
|
int32_t L_69 = V_15;
|
|
NullCheck(L_68);
|
|
int32_t L_70 = L_69;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_71 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
|
|
Hasher_HashNode_mCB33513725CA63B5C3E8676EFFE8C5E2C9FC378D((&V_14), L_71, NULL);
|
|
// for (int i = 0; i < allNodesCount; i++) {
|
|
int32_t L_72 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_0208:
|
|
{
|
|
// for (int i = 0; i < allNodesCount; i++) {
|
|
int32_t L_73 = V_15;
|
|
int32_t L_74 = V_13;
|
|
if ((((int32_t)L_73) < ((int32_t)L_74)))
|
|
{
|
|
goto IL_01f7;
|
|
}
|
|
}
|
|
{
|
|
// if (!gizmos.Draw(hasher)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_75 = ___0_gizmos;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_76 = V_14;
|
|
NullCheck(L_75);
|
|
bool L_77;
|
|
L_77 = RetainedGizmos_Draw_m40981AE44C3717C1CE9A13BD49BAA2D58A6B42B3(L_75, L_76, NULL);
|
|
if (L_77)
|
|
{
|
|
goto IL_0280;
|
|
}
|
|
}
|
|
{
|
|
// using (var helper = gizmos.GetGizmoHelper(active, hasher)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_78 = ___0_gizmos;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_79 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_80 = V_14;
|
|
NullCheck(L_78);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_81;
|
|
L_81 = RetainedGizmos_GetGizmoHelper_mB46B01229353232A3BC7C5E43EB59BAC4B0961F4(L_78, L_79, L_80, NULL);
|
|
V_16 = L_81;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0274:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_82 = V_16;
|
|
if (!L_82)
|
|
{
|
|
goto IL_027f;
|
|
}
|
|
}
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_83 = V_16;
|
|
NullCheck(L_83);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_83);
|
|
}
|
|
|
|
IL_027f:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// if (showNodeConnections) {
|
|
bool L_84 = __this->___showNodeConnections_39;
|
|
if (!L_84)
|
|
{
|
|
goto IL_0257_1;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < allNodesCount; i++) {
|
|
V_17 = 0;
|
|
goto IL_0251_1;
|
|
}
|
|
|
|
IL_0235_1:
|
|
{
|
|
// if (allNodes[i].Walkable) {
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_85 = V_0;
|
|
int32_t L_86 = V_17;
|
|
NullCheck(L_85);
|
|
int32_t L_87 = L_86;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_88 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_87));
|
|
NullCheck(L_88);
|
|
bool L_89;
|
|
L_89 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_88, NULL);
|
|
if (!L_89)
|
|
{
|
|
goto IL_024b_1;
|
|
}
|
|
}
|
|
{
|
|
// helper.DrawConnections(allNodes[i]);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_90 = V_16;
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_91 = V_0;
|
|
int32_t L_92 = V_17;
|
|
NullCheck(L_91);
|
|
int32_t L_93 = L_92;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_94 = (L_91)->GetAt(static_cast<il2cpp_array_size_t>(L_93));
|
|
NullCheck(L_90);
|
|
GraphGizmoHelper_DrawConnections_m4755A762AF5496F1FFC2FEEDC49C8C7BD0005E58(L_90, L_94, NULL);
|
|
}
|
|
|
|
IL_024b_1:
|
|
{
|
|
// for (int i = 0; i < allNodesCount; i++) {
|
|
int32_t L_95 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_95, 1));
|
|
}
|
|
|
|
IL_0251_1:
|
|
{
|
|
// for (int i = 0; i < allNodesCount; i++) {
|
|
int32_t L_96 = V_17;
|
|
int32_t L_97 = V_13;
|
|
if ((((int32_t)L_96) < ((int32_t)L_97)))
|
|
{
|
|
goto IL_0235_1;
|
|
}
|
|
}
|
|
|
|
IL_0257_1:
|
|
{
|
|
// if (showMeshSurface || showMeshOutline) CreateNavmeshSurfaceVisualization(allNodes, allNodesCount, helper);
|
|
bool L_98 = __this->___showMeshSurface_40;
|
|
if (L_98)
|
|
{
|
|
goto IL_0267_1;
|
|
}
|
|
}
|
|
{
|
|
bool L_99 = __this->___showMeshOutline_38;
|
|
if (!L_99)
|
|
{
|
|
goto IL_0272_1;
|
|
}
|
|
}
|
|
|
|
IL_0267_1:
|
|
{
|
|
// if (showMeshSurface || showMeshOutline) CreateNavmeshSurfaceVisualization(allNodes, allNodesCount, helper);
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_100 = V_0;
|
|
int32_t L_101 = V_13;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_102 = V_16;
|
|
GridGraph_CreateNavmeshSurfaceVisualization_m2F4728EEB3CCF634EDFCFBB2F64F9C7AB416254E(__this, L_100, L_101, L_102, NULL);
|
|
}
|
|
|
|
IL_0272_1:
|
|
{
|
|
// }
|
|
goto IL_0280;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0280:
|
|
{
|
|
// for (int cz = depth/chunkWidth; cz >= 0; cz--) {
|
|
int32_t L_103 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_subtract(L_103, 1));
|
|
}
|
|
|
|
IL_0286:
|
|
{
|
|
// for (int cz = depth/chunkWidth; cz >= 0; cz--) {
|
|
int32_t L_104 = V_12;
|
|
if ((((int32_t)L_104) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0182;
|
|
}
|
|
}
|
|
{
|
|
// for (int cx = width/chunkWidth; cx >= 0; cx--) {
|
|
int32_t L_105 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_subtract(L_105, 1));
|
|
}
|
|
|
|
IL_0294:
|
|
{
|
|
// for (int cx = width/chunkWidth; cx >= 0; cx--) {
|
|
int32_t L_106 = V_11;
|
|
if ((((int32_t)L_106) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0172;
|
|
}
|
|
}
|
|
{
|
|
// ArrayPool<GridNodeBase>.Release(ref allNodes);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tC0D7414A0CEC2089657294E84A027B4A4F690631_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_m52BAB111BC86C9800C05C42CCACA414DC465879F((&V_0), (bool)0, ArrayPool_1_Release_m52BAB111BC86C9800C05C42CCACA414DC465879F_RuntimeMethod_var);
|
|
// if (active.showUnwalkableNodes) DrawUnwalkableNodes(nodeSize * 0.3f);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_107 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_107);
|
|
bool L_108 = L_107->___showUnwalkableNodes_11;
|
|
if (!L_108)
|
|
{
|
|
goto IL_02c3;
|
|
}
|
|
}
|
|
{
|
|
// if (active.showUnwalkableNodes) DrawUnwalkableNodes(nodeSize * 0.3f);
|
|
float L_109 = __this->___nodeSize_23;
|
|
NavGraph_DrawUnwalkableNodes_m051B14CF783BEBA83CA553553DC0C5E536D3ECF6(__this, ((float)il2cpp_codegen_multiply(L_109, (0.300000012f))), NULL);
|
|
}
|
|
|
|
IL_02c3:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CreateNavmeshSurfaceVisualization(Pathfinding.GridNodeBase[],System.Int32,Pathfinding.Util.GraphGizmoHelper)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CreateNavmeshSurfaceVisualization_m2F4728EEB3CCF634EDFCFBB2F64F9C7AB416254E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* ___0_nodes, int32_t ___1_nodeCount, GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* ___2_helper, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____BAED642339816AFFB3FE8719792D0E4CE82F12DB72B7373D244EAA65445800FE_0_FieldInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
|
|
float V_2 = 0.0f;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_5 = NULL;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_10 = NULL;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_15 = NULL;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_16 = NULL;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_17 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_21 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* G_B8_0 = NULL;
|
|
float G_B11_0 = 0.0f;
|
|
float G_B30_0 = 0.0f;
|
|
float G_B30_1 = 0.0f;
|
|
float* G_B30_2 = NULL;
|
|
float G_B29_0 = 0.0f;
|
|
float G_B29_1 = 0.0f;
|
|
float* G_B29_2 = NULL;
|
|
float G_B31_0 = 0.0f;
|
|
float G_B31_1 = 0.0f;
|
|
float G_B31_2 = 0.0f;
|
|
float* G_B31_3 = NULL;
|
|
float G_B33_0 = 0.0f;
|
|
float G_B33_1 = 0.0f;
|
|
float* G_B33_2 = NULL;
|
|
float G_B32_0 = 0.0f;
|
|
float G_B32_1 = 0.0f;
|
|
float* G_B32_2 = NULL;
|
|
float G_B34_0 = 0.0f;
|
|
float G_B34_1 = 0.0f;
|
|
float G_B34_2 = 0.0f;
|
|
float* G_B34_3 = NULL;
|
|
float G_B36_0 = 0.0f;
|
|
float G_B36_1 = 0.0f;
|
|
float* G_B36_2 = NULL;
|
|
float G_B35_0 = 0.0f;
|
|
float G_B35_1 = 0.0f;
|
|
float* G_B35_2 = NULL;
|
|
float G_B37_0 = 0.0f;
|
|
float G_B37_1 = 0.0f;
|
|
float G_B37_2 = 0.0f;
|
|
float* G_B37_3 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B51_0;
|
|
memset((&G_B51_0), 0, sizeof(G_B51_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B51_1;
|
|
memset((&G_B51_1), 0, sizeof(G_B51_1));
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* G_B51_2 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B50_0;
|
|
memset((&G_B50_0), 0, sizeof(G_B50_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B50_1;
|
|
memset((&G_B50_1), 0, sizeof(G_B50_1));
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* G_B50_2 = NULL;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F G_B52_0;
|
|
memset((&G_B52_0), 0, sizeof(G_B52_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B52_1;
|
|
memset((&G_B52_1), 0, sizeof(G_B52_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B52_2;
|
|
memset((&G_B52_2), 0, sizeof(G_B52_2));
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* G_B52_3 = NULL;
|
|
{
|
|
// int walkable = 0;
|
|
V_0 = 0;
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
V_8 = 0;
|
|
goto IL_001c;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// if (nodes[i].Walkable) walkable++;
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_0 = ___0_nodes;
|
|
int32_t L_1 = V_8;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
NullCheck(L_3);
|
|
bool L_4;
|
|
L_4 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// if (nodes[i].Walkable) walkable++;
|
|
int32_t L_5 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_6 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_7 = V_8;
|
|
int32_t L_8 = ___1_nodeCount;
|
|
if ((((int32_t)L_7) < ((int32_t)L_8)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// var neighbourIndices = neighbours == NumNeighbours.Six ? hexagonNeighbourIndices : new [] { 0, 1, 2, 3 };
|
|
int32_t L_9 = __this->___neighbours_30;
|
|
if ((((int32_t)L_9) == ((int32_t)2)))
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)4);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = L_10;
|
|
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_12 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____BAED642339816AFFB3FE8719792D0E4CE82F12DB72B7373D244EAA65445800FE_0_FieldInfo_var) };
|
|
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_11, L_12, NULL);
|
|
G_B8_0 = L_11;
|
|
goto IL_0042;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = ((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46;
|
|
G_B8_0 = L_13;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
V_1 = G_B8_0;
|
|
// var offsetMultiplier = neighbours == NumNeighbours.Six ? 0.333333f : 0.5f;
|
|
int32_t L_14 = __this->___neighbours_30;
|
|
if ((((int32_t)L_14) == ((int32_t)2)))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
G_B11_0 = (0.5f);
|
|
goto IL_0058;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
G_B11_0 = (0.333332986f);
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
V_2 = G_B11_0;
|
|
// var trianglesPerNode = neighbourIndices.Length-2;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15 = V_1;
|
|
NullCheck(L_15);
|
|
V_3 = ((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_15)->max_length)), 2));
|
|
// var verticesPerNode = 3*trianglesPerNode;
|
|
int32_t L_16 = V_3;
|
|
V_4 = ((int32_t)il2cpp_codegen_multiply(3, L_16));
|
|
// var vertices = ArrayPool<Vector3>.Claim(walkable*verticesPerNode);
|
|
int32_t L_17 = V_0;
|
|
int32_t L_18 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_19;
|
|
L_19 = ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54(((int32_t)il2cpp_codegen_multiply(L_17, L_18)), ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_RuntimeMethod_var);
|
|
V_5 = L_19;
|
|
// var colors = ArrayPool<Color>.Claim(walkable*verticesPerNode);
|
|
int32_t L_20 = V_0;
|
|
int32_t L_21 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_22;
|
|
L_22 = ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8(((int32_t)il2cpp_codegen_multiply(L_20, L_21)), ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_RuntimeMethod_var);
|
|
V_6 = L_22;
|
|
// int baseIndex = 0;
|
|
V_7 = 0;
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
V_9 = 0;
|
|
goto IL_03f9;
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// var node = nodes[i];
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_23 = ___0_nodes;
|
|
int32_t L_24 = V_9;
|
|
NullCheck(L_23);
|
|
int32_t L_25 = L_24;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
|
|
V_10 = L_26;
|
|
// if (!node.Walkable) continue;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_27 = V_10;
|
|
NullCheck(L_27);
|
|
bool L_28;
|
|
L_28 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_27, NULL);
|
|
if (!L_28)
|
|
{
|
|
goto IL_03f3;
|
|
}
|
|
}
|
|
{
|
|
// var nodeColor = helper.NodeColor(node);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_29 = ___2_helper;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_30 = V_10;
|
|
NullCheck(L_29);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_31;
|
|
L_31 = GraphGizmoHelper_NodeColor_m4400F7E47FA70D696CB5E31403A6D24C05D5237B(L_29, L_30, NULL);
|
|
V_11 = L_31;
|
|
// if (nodeColor.a <= 0.001f) continue;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_32 = V_11;
|
|
float L_33 = L_32.___a_3;
|
|
if ((((float)L_33) <= ((float)(0.00100000005f))))
|
|
{
|
|
goto IL_03f3;
|
|
}
|
|
}
|
|
{
|
|
// for (int dIndex = 0; dIndex < neighbourIndices.Length; dIndex++) {
|
|
V_12 = 0;
|
|
goto IL_0291;
|
|
}
|
|
|
|
IL_00ba:
|
|
{
|
|
// var d = neighbourIndices[dIndex];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_34 = V_1;
|
|
int32_t L_35 = V_12;
|
|
NullCheck(L_34);
|
|
int32_t L_36 = L_35;
|
|
int32_t L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
V_13 = L_37;
|
|
// var nextD = neighbourIndices[(dIndex + 1) % neighbourIndices.Length];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = V_1;
|
|
int32_t L_39 = V_12;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_40 = V_1;
|
|
NullCheck(L_40);
|
|
NullCheck(L_38);
|
|
int32_t L_41 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_39, 1))%((int32_t)(((RuntimeArray*)L_40)->max_length))));
|
|
int32_t L_42 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
V_14 = L_42;
|
|
// GridNodeBase n1, n2, n3 = null;
|
|
V_17 = (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)NULL;
|
|
// n1 = node.GetNeighbourAlongDirection(d);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_43 = V_10;
|
|
int32_t L_44 = V_13;
|
|
NullCheck(L_43);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_45;
|
|
L_45 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_43, L_44);
|
|
V_15 = L_45;
|
|
// if (n1 != null && neighbours != NumNeighbours.Six) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_46 = V_15;
|
|
if (!L_46)
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_47 = __this->___neighbours_30;
|
|
if ((((int32_t)L_47) == ((int32_t)2)))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
// n3 = n1.GetNeighbourAlongDirection(nextD);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_48 = V_15;
|
|
int32_t L_49 = V_14;
|
|
NullCheck(L_48);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_50;
|
|
L_50 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_48, L_49);
|
|
V_17 = L_50;
|
|
}
|
|
|
|
IL_00f2:
|
|
{
|
|
// n2 = node.GetNeighbourAlongDirection(nextD);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_51 = V_10;
|
|
int32_t L_52 = V_14;
|
|
NullCheck(L_51);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_53;
|
|
L_53 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_51, L_52);
|
|
V_16 = L_53;
|
|
// if (n2 != null && n3 == null && neighbours != NumNeighbours.Six) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_54 = V_16;
|
|
if (!L_54)
|
|
{
|
|
goto IL_0119;
|
|
}
|
|
}
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_55 = V_17;
|
|
if (L_55)
|
|
{
|
|
goto IL_0119;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_56 = __this->___neighbours_30;
|
|
if ((((int32_t)L_56) == ((int32_t)2)))
|
|
{
|
|
goto IL_0119;
|
|
}
|
|
}
|
|
{
|
|
// n3 = n2.GetNeighbourAlongDirection(d);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_57 = V_16;
|
|
int32_t L_58 = V_13;
|
|
NullCheck(L_57);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_59;
|
|
L_59 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_57, L_58);
|
|
V_17 = L_59;
|
|
}
|
|
|
|
IL_0119:
|
|
{
|
|
// Vector3 p = new Vector3(node.XCoordinateInGrid + 0.5f, 0, node.ZCoordinateInGrid + 0.5f);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_60 = V_10;
|
|
NullCheck(L_60);
|
|
int32_t L_61;
|
|
L_61 = GridNodeBase_get_XCoordinateInGrid_m04C635EDF95D5B9B5EB79102FF0058A347B0A0D9(L_60, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_62 = V_10;
|
|
NullCheck(L_62);
|
|
int32_t L_63;
|
|
L_63 = GridNodeBase_get_ZCoordinateInGrid_mE095CC84E83924713E966E9CB4785300A03376EA(L_62, NULL);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_18), ((float)il2cpp_codegen_add(((float)L_61), (0.5f))), (0.0f), ((float)il2cpp_codegen_add(((float)L_63), (0.5f))), NULL);
|
|
// p.x += (neighbourXOffsets[d] + neighbourXOffsets[nextD]) * offsetMultiplier;
|
|
float* L_64 = (float*)(&(&V_18)->___x_2);
|
|
float* L_65 = L_64;
|
|
float L_66 = *((float*)L_65);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_67 = __this->___neighbourXOffsets_44;
|
|
int32_t L_68 = V_13;
|
|
NullCheck(L_67);
|
|
int32_t L_69 = L_68;
|
|
int32_t L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_71 = __this->___neighbourXOffsets_44;
|
|
int32_t L_72 = V_14;
|
|
NullCheck(L_71);
|
|
int32_t L_73 = L_72;
|
|
int32_t L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
|
|
float L_75 = V_2;
|
|
*((float*)L_65) = (float)((float)il2cpp_codegen_add(L_66, ((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(L_70, L_74))), L_75))));
|
|
// p.z += (neighbourZOffsets[d] + neighbourZOffsets[nextD]) * offsetMultiplier;
|
|
float* L_76 = (float*)(&(&V_18)->___z_4);
|
|
float* L_77 = L_76;
|
|
float L_78 = *((float*)L_77);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_79 = __this->___neighbourZOffsets_45;
|
|
int32_t L_80 = V_13;
|
|
NullCheck(L_79);
|
|
int32_t L_81 = L_80;
|
|
int32_t L_82 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_81));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_83 = __this->___neighbourZOffsets_45;
|
|
int32_t L_84 = V_14;
|
|
NullCheck(L_83);
|
|
int32_t L_85 = L_84;
|
|
int32_t L_86 = (L_83)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
|
|
float L_87 = V_2;
|
|
*((float*)L_77) = (float)((float)il2cpp_codegen_add(L_78, ((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(L_82, L_86))), L_87))));
|
|
// p.y += transform.InverseTransform((Vector3)node.position).y;
|
|
float* L_88 = (float*)(&(&V_18)->___y_3);
|
|
float* L_89 = L_88;
|
|
float L_90 = *((float*)L_89);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_91;
|
|
L_91 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_92 = V_10;
|
|
NullCheck(L_92);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_93 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_92)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
|
|
L_94 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_93, NULL);
|
|
NullCheck(L_91);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
|
|
L_95 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_91, L_94, NULL);
|
|
float L_96 = L_95.___y_3;
|
|
*((float*)L_89) = (float)((float)il2cpp_codegen_add(L_90, L_96));
|
|
// if (n1 != null) p.y += transform.InverseTransform((Vector3)n1.position).y;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_97 = V_15;
|
|
if (!L_97)
|
|
{
|
|
goto IL_01d5;
|
|
}
|
|
}
|
|
{
|
|
// if (n1 != null) p.y += transform.InverseTransform((Vector3)n1.position).y;
|
|
float* L_98 = (float*)(&(&V_18)->___y_3);
|
|
float* L_99 = L_98;
|
|
float L_100 = *((float*)L_99);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_101;
|
|
L_101 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_102 = V_15;
|
|
NullCheck(L_102);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_103 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_102)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
|
|
L_104 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_103, NULL);
|
|
NullCheck(L_101);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
|
|
L_105 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_101, L_104, NULL);
|
|
float L_106 = L_105.___y_3;
|
|
*((float*)L_99) = (float)((float)il2cpp_codegen_add(L_100, L_106));
|
|
}
|
|
|
|
IL_01d5:
|
|
{
|
|
// if (n2 != null) p.y += transform.InverseTransform((Vector3)n2.position).y;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_107 = V_16;
|
|
if (!L_107)
|
|
{
|
|
goto IL_0200;
|
|
}
|
|
}
|
|
{
|
|
// if (n2 != null) p.y += transform.InverseTransform((Vector3)n2.position).y;
|
|
float* L_108 = (float*)(&(&V_18)->___y_3);
|
|
float* L_109 = L_108;
|
|
float L_110 = *((float*)L_109);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_111;
|
|
L_111 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_112 = V_16;
|
|
NullCheck(L_112);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_113 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_112)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114;
|
|
L_114 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_113, NULL);
|
|
NullCheck(L_111);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115;
|
|
L_115 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_111, L_114, NULL);
|
|
float L_116 = L_115.___y_3;
|
|
*((float*)L_109) = (float)((float)il2cpp_codegen_add(L_110, L_116));
|
|
}
|
|
|
|
IL_0200:
|
|
{
|
|
// if (n3 != null) p.y += transform.InverseTransform((Vector3)n3.position).y;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_117 = V_17;
|
|
if (!L_117)
|
|
{
|
|
goto IL_022b;
|
|
}
|
|
}
|
|
{
|
|
// if (n3 != null) p.y += transform.InverseTransform((Vector3)n3.position).y;
|
|
float* L_118 = (float*)(&(&V_18)->___y_3);
|
|
float* L_119 = L_118;
|
|
float L_120 = *((float*)L_119);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_121;
|
|
L_121 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_122 = V_17;
|
|
NullCheck(L_122);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_123 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_122)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124;
|
|
L_124 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_123, NULL);
|
|
NullCheck(L_121);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125;
|
|
L_125 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_121, L_124, NULL);
|
|
float L_126 = L_125.___y_3;
|
|
*((float*)L_119) = (float)((float)il2cpp_codegen_add(L_120, L_126));
|
|
}
|
|
|
|
IL_022b:
|
|
{
|
|
// p.y /= (1f + (n1 != null ? 1f : 0f) + (n2 != null ? 1f : 0f) + (n3 != null ? 1f : 0f));
|
|
float* L_127 = (float*)(&(&V_18)->___y_3);
|
|
float* L_128 = L_127;
|
|
float L_129 = *((float*)L_128);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_130 = V_15;
|
|
G_B29_0 = (1.0f);
|
|
G_B29_1 = L_129;
|
|
G_B29_2 = L_128;
|
|
if (L_130)
|
|
{
|
|
G_B30_0 = (1.0f);
|
|
G_B30_1 = L_129;
|
|
G_B30_2 = L_128;
|
|
goto IL_0244;
|
|
}
|
|
}
|
|
{
|
|
G_B31_0 = (0.0f);
|
|
G_B31_1 = G_B29_0;
|
|
G_B31_2 = G_B29_1;
|
|
G_B31_3 = G_B29_2;
|
|
goto IL_0249;
|
|
}
|
|
|
|
IL_0244:
|
|
{
|
|
G_B31_0 = (1.0f);
|
|
G_B31_1 = G_B30_0;
|
|
G_B31_2 = G_B30_1;
|
|
G_B31_3 = G_B30_2;
|
|
}
|
|
|
|
IL_0249:
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_131 = V_16;
|
|
G_B32_0 = ((float)il2cpp_codegen_add(G_B31_1, G_B31_0));
|
|
G_B32_1 = G_B31_2;
|
|
G_B32_2 = G_B31_3;
|
|
if (L_131)
|
|
{
|
|
G_B33_0 = ((float)il2cpp_codegen_add(G_B31_1, G_B31_0));
|
|
G_B33_1 = G_B31_2;
|
|
G_B33_2 = G_B31_3;
|
|
goto IL_0255;
|
|
}
|
|
}
|
|
{
|
|
G_B34_0 = (0.0f);
|
|
G_B34_1 = G_B32_0;
|
|
G_B34_2 = G_B32_1;
|
|
G_B34_3 = G_B32_2;
|
|
goto IL_025a;
|
|
}
|
|
|
|
IL_0255:
|
|
{
|
|
G_B34_0 = (1.0f);
|
|
G_B34_1 = G_B33_0;
|
|
G_B34_2 = G_B33_1;
|
|
G_B34_3 = G_B33_2;
|
|
}
|
|
|
|
IL_025a:
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_132 = V_17;
|
|
G_B35_0 = ((float)il2cpp_codegen_add(G_B34_1, G_B34_0));
|
|
G_B35_1 = G_B34_2;
|
|
G_B35_2 = G_B34_3;
|
|
if (L_132)
|
|
{
|
|
G_B36_0 = ((float)il2cpp_codegen_add(G_B34_1, G_B34_0));
|
|
G_B36_1 = G_B34_2;
|
|
G_B36_2 = G_B34_3;
|
|
goto IL_0266;
|
|
}
|
|
}
|
|
{
|
|
G_B37_0 = (0.0f);
|
|
G_B37_1 = G_B35_0;
|
|
G_B37_2 = G_B35_1;
|
|
G_B37_3 = G_B35_2;
|
|
goto IL_026b;
|
|
}
|
|
|
|
IL_0266:
|
|
{
|
|
G_B37_0 = (1.0f);
|
|
G_B37_1 = G_B36_0;
|
|
G_B37_2 = G_B36_1;
|
|
G_B37_3 = G_B36_2;
|
|
}
|
|
|
|
IL_026b:
|
|
{
|
|
*((float*)G_B37_3) = (float)((float)(G_B37_2/((float)il2cpp_codegen_add(G_B37_1, G_B37_0))));
|
|
// p = transform.Transform(p);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_133;
|
|
L_133 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_134 = V_18;
|
|
NullCheck(L_133);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_135;
|
|
L_135 = GraphTransform_Transform_m6A7EF5DFD1B7DFA043360360B8AA40BE7EAAA9E9(L_133, L_134, NULL);
|
|
V_18 = L_135;
|
|
// vertices[baseIndex + dIndex] = p;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_136 = V_5;
|
|
int32_t L_137 = V_7;
|
|
int32_t L_138 = V_12;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_139 = V_18;
|
|
NullCheck(L_136);
|
|
(L_136)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_137, L_138))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_139);
|
|
// for (int dIndex = 0; dIndex < neighbourIndices.Length; dIndex++) {
|
|
int32_t L_140 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_140, 1));
|
|
}
|
|
|
|
IL_0291:
|
|
{
|
|
// for (int dIndex = 0; dIndex < neighbourIndices.Length; dIndex++) {
|
|
int32_t L_141 = V_12;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_142 = V_1;
|
|
NullCheck(L_142);
|
|
if ((((int32_t)L_141) < ((int32_t)((int32_t)(((RuntimeArray*)L_142)->max_length)))))
|
|
{
|
|
goto IL_00ba;
|
|
}
|
|
}
|
|
{
|
|
// if (neighbours == NumNeighbours.Six) {
|
|
int32_t L_143 = __this->___neighbours_30;
|
|
if ((!(((uint32_t)L_143) == ((uint32_t)2))))
|
|
{
|
|
goto IL_032c;
|
|
}
|
|
}
|
|
{
|
|
// vertices[baseIndex + 6] = vertices[baseIndex + 0];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_144 = V_5;
|
|
int32_t L_145 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_146 = V_5;
|
|
int32_t L_147 = V_7;
|
|
NullCheck(L_146);
|
|
int32_t L_148 = L_147;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_149 = (L_146)->GetAt(static_cast<il2cpp_array_size_t>(L_148));
|
|
NullCheck(L_144);
|
|
(L_144)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_145, 6))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_149);
|
|
// vertices[baseIndex + 7] = vertices[baseIndex + 2];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_150 = V_5;
|
|
int32_t L_151 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_152 = V_5;
|
|
int32_t L_153 = V_7;
|
|
NullCheck(L_152);
|
|
int32_t L_154 = ((int32_t)il2cpp_codegen_add(L_153, 2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_155 = (L_152)->GetAt(static_cast<il2cpp_array_size_t>(L_154));
|
|
NullCheck(L_150);
|
|
(L_150)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_151, 7))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_155);
|
|
// vertices[baseIndex + 8] = vertices[baseIndex + 3];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_156 = V_5;
|
|
int32_t L_157 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_158 = V_5;
|
|
int32_t L_159 = V_7;
|
|
NullCheck(L_158);
|
|
int32_t L_160 = ((int32_t)il2cpp_codegen_add(L_159, 3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161 = (L_158)->GetAt(static_cast<il2cpp_array_size_t>(L_160));
|
|
NullCheck(L_156);
|
|
(L_156)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_157, 8))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_161);
|
|
// vertices[baseIndex + 9] = vertices[baseIndex + 0];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_162 = V_5;
|
|
int32_t L_163 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_164 = V_5;
|
|
int32_t L_165 = V_7;
|
|
NullCheck(L_164);
|
|
int32_t L_166 = L_165;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_167 = (L_164)->GetAt(static_cast<il2cpp_array_size_t>(L_166));
|
|
NullCheck(L_162);
|
|
(L_162)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_163, ((int32_t)9)))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_167);
|
|
// vertices[baseIndex + 10] = vertices[baseIndex + 3];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_168 = V_5;
|
|
int32_t L_169 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_170 = V_5;
|
|
int32_t L_171 = V_7;
|
|
NullCheck(L_170);
|
|
int32_t L_172 = ((int32_t)il2cpp_codegen_add(L_171, 3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_173 = (L_170)->GetAt(static_cast<il2cpp_array_size_t>(L_172));
|
|
NullCheck(L_168);
|
|
(L_168)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_169, ((int32_t)10)))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_173);
|
|
// vertices[baseIndex + 11] = vertices[baseIndex + 5];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_174 = V_5;
|
|
int32_t L_175 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_176 = V_5;
|
|
int32_t L_177 = V_7;
|
|
NullCheck(L_176);
|
|
int32_t L_178 = ((int32_t)il2cpp_codegen_add(L_177, 5));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_179 = (L_176)->GetAt(static_cast<il2cpp_array_size_t>(L_178));
|
|
NullCheck(L_174);
|
|
(L_174)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_175, ((int32_t)11)))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_179);
|
|
goto IL_0356;
|
|
}
|
|
|
|
IL_032c:
|
|
{
|
|
// vertices[baseIndex + 4] = vertices[baseIndex + 0];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_180 = V_5;
|
|
int32_t L_181 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_182 = V_5;
|
|
int32_t L_183 = V_7;
|
|
NullCheck(L_182);
|
|
int32_t L_184 = L_183;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_185 = (L_182)->GetAt(static_cast<il2cpp_array_size_t>(L_184));
|
|
NullCheck(L_180);
|
|
(L_180)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_181, 4))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_185);
|
|
// vertices[baseIndex + 5] = vertices[baseIndex + 2];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_186 = V_5;
|
|
int32_t L_187 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_188 = V_5;
|
|
int32_t L_189 = V_7;
|
|
NullCheck(L_188);
|
|
int32_t L_190 = ((int32_t)il2cpp_codegen_add(L_189, 2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_191 = (L_188)->GetAt(static_cast<il2cpp_array_size_t>(L_190));
|
|
NullCheck(L_186);
|
|
(L_186)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_187, 5))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_191);
|
|
}
|
|
|
|
IL_0356:
|
|
{
|
|
// for (int j = 0; j < verticesPerNode; j++) {
|
|
V_19 = 0;
|
|
goto IL_036f;
|
|
}
|
|
|
|
IL_035b:
|
|
{
|
|
// colors[baseIndex + j] = nodeColor;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_192 = V_6;
|
|
int32_t L_193 = V_7;
|
|
int32_t L_194 = V_19;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_195 = V_11;
|
|
NullCheck(L_192);
|
|
(L_192)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_193, L_194))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_195);
|
|
// for (int j = 0; j < verticesPerNode; j++) {
|
|
int32_t L_196 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_196, 1));
|
|
}
|
|
|
|
IL_036f:
|
|
{
|
|
// for (int j = 0; j < verticesPerNode; j++) {
|
|
int32_t L_197 = V_19;
|
|
int32_t L_198 = V_4;
|
|
if ((((int32_t)L_197) < ((int32_t)L_198)))
|
|
{
|
|
goto IL_035b;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < neighbourIndices.Length; j++) {
|
|
V_20 = 0;
|
|
goto IL_03e5;
|
|
}
|
|
|
|
IL_037a:
|
|
{
|
|
// var other = node.GetNeighbourAlongDirection(neighbourIndices[(j+1) % neighbourIndices.Length]);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_199 = V_10;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_200 = V_1;
|
|
int32_t L_201 = V_20;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_202 = V_1;
|
|
NullCheck(L_202);
|
|
NullCheck(L_200);
|
|
int32_t L_203 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_201, 1))%((int32_t)(((RuntimeArray*)L_202)->max_length))));
|
|
int32_t L_204 = (L_200)->GetAt(static_cast<il2cpp_array_size_t>(L_203));
|
|
NullCheck(L_199);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_205;
|
|
L_205 = VirtualFuncInvoker1< GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*, int32_t >::Invoke(21 /* Pathfinding.GridNodeBase Pathfinding.GridNodeBase::GetNeighbourAlongDirection(System.Int32) */, L_199, L_204);
|
|
V_21 = L_205;
|
|
// if (other == null || (showMeshOutline && node.NodeInGridIndex < other.NodeInGridIndex)) {
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_206 = V_21;
|
|
if (!L_206)
|
|
{
|
|
goto IL_03a9;
|
|
}
|
|
}
|
|
{
|
|
bool L_207 = __this->___showMeshOutline_38;
|
|
if (!L_207)
|
|
{
|
|
goto IL_03df;
|
|
}
|
|
}
|
|
{
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_208 = V_10;
|
|
NullCheck(L_208);
|
|
int32_t L_209;
|
|
L_209 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_208, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_210 = V_21;
|
|
NullCheck(L_210);
|
|
int32_t L_211;
|
|
L_211 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_210, NULL);
|
|
if ((((int32_t)L_209) >= ((int32_t)L_211)))
|
|
{
|
|
goto IL_03df;
|
|
}
|
|
}
|
|
|
|
IL_03a9:
|
|
{
|
|
// helper.builder.DrawLine(vertices[baseIndex + j], vertices[baseIndex + (j+1) % neighbourIndices.Length], other == null ? Color.black : nodeColor);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_212 = ___2_helper;
|
|
NullCheck(L_212);
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_213;
|
|
L_213 = GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline(L_212, NULL);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_214 = V_5;
|
|
int32_t L_215 = V_7;
|
|
int32_t L_216 = V_20;
|
|
NullCheck(L_214);
|
|
int32_t L_217 = ((int32_t)il2cpp_codegen_add(L_215, L_216));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_218 = (L_214)->GetAt(static_cast<il2cpp_array_size_t>(L_217));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_219 = V_5;
|
|
int32_t L_220 = V_7;
|
|
int32_t L_221 = V_20;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_222 = V_1;
|
|
NullCheck(L_222);
|
|
NullCheck(L_219);
|
|
int32_t L_223 = ((int32_t)il2cpp_codegen_add(L_220, ((int32_t)(((int32_t)il2cpp_codegen_add(L_221, 1))%((int32_t)(((RuntimeArray*)L_222)->max_length))))));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_224 = (L_219)->GetAt(static_cast<il2cpp_array_size_t>(L_223));
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_225 = V_21;
|
|
G_B50_0 = L_224;
|
|
G_B50_1 = L_218;
|
|
G_B50_2 = L_213;
|
|
if (!L_225)
|
|
{
|
|
G_B51_0 = L_224;
|
|
G_B51_1 = L_218;
|
|
G_B51_2 = L_213;
|
|
goto IL_03d5;
|
|
}
|
|
}
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_226 = V_11;
|
|
G_B52_0 = L_226;
|
|
G_B52_1 = G_B50_0;
|
|
G_B52_2 = G_B50_1;
|
|
G_B52_3 = G_B50_2;
|
|
goto IL_03da;
|
|
}
|
|
|
|
IL_03d5:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_227;
|
|
L_227 = Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline(NULL);
|
|
G_B52_0 = L_227;
|
|
G_B52_1 = G_B51_0;
|
|
G_B52_2 = G_B51_1;
|
|
G_B52_3 = G_B51_2;
|
|
}
|
|
|
|
IL_03da:
|
|
{
|
|
NullCheck(G_B52_3);
|
|
Builder_DrawLine_m7CFB057D3CD668DA90730CABE4C3915E4A458F27(G_B52_3, G_B52_2, G_B52_1, G_B52_0, NULL);
|
|
}
|
|
|
|
IL_03df:
|
|
{
|
|
// for (int j = 0; j < neighbourIndices.Length; j++) {
|
|
int32_t L_228 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_228, 1));
|
|
}
|
|
|
|
IL_03e5:
|
|
{
|
|
// for (int j = 0; j < neighbourIndices.Length; j++) {
|
|
int32_t L_229 = V_20;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_230 = V_1;
|
|
NullCheck(L_230);
|
|
if ((((int32_t)L_229) < ((int32_t)((int32_t)(((RuntimeArray*)L_230)->max_length)))))
|
|
{
|
|
goto IL_037a;
|
|
}
|
|
}
|
|
{
|
|
// baseIndex += verticesPerNode;
|
|
int32_t L_231 = V_7;
|
|
int32_t L_232 = V_4;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_231, L_232));
|
|
}
|
|
|
|
IL_03f3:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_233 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_233, 1));
|
|
}
|
|
|
|
IL_03f9:
|
|
{
|
|
// for (int i = 0; i < nodeCount; i++) {
|
|
int32_t L_234 = V_9;
|
|
int32_t L_235 = ___1_nodeCount;
|
|
if ((((int32_t)L_234) < ((int32_t)L_235)))
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
{
|
|
// if (showMeshSurface) helper.DrawTriangles(vertices, colors, baseIndex*trianglesPerNode/verticesPerNode);
|
|
bool L_236 = __this->___showMeshSurface_40;
|
|
if (!L_236)
|
|
{
|
|
goto IL_041a;
|
|
}
|
|
}
|
|
{
|
|
// if (showMeshSurface) helper.DrawTriangles(vertices, colors, baseIndex*trianglesPerNode/verticesPerNode);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_237 = ___2_helper;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_238 = V_5;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_239 = V_6;
|
|
int32_t L_240 = V_7;
|
|
int32_t L_241 = V_3;
|
|
int32_t L_242 = V_4;
|
|
NullCheck(L_237);
|
|
GraphGizmoHelper_DrawTriangles_m8B310DFDFB0133CFB1C9826295793691898A172E(L_237, L_238, L_239, ((int32_t)(((int32_t)il2cpp_codegen_multiply(L_240, L_241))/L_242)), NULL);
|
|
}
|
|
|
|
IL_041a:
|
|
{
|
|
// ArrayPool<Vector3>.Release(ref vertices);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF((&V_5), (bool)0, ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_RuntimeMethod_var);
|
|
// ArrayPool<Color>.Release(ref colors);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910((&V_6), (bool)0, ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.IntRect Pathfinding.GridGraph::GetRectFromBounds(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 GridGraph_GetRectFromBounds_m35D5952C908B01C5FADC0B096A8BCB42387305A4 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// bounds = transform.InverseTransform(bounds);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0;
|
|
L_0 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1 = ___0_bounds;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2;
|
|
L_2 = GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57(L_0, L_1, NULL);
|
|
___0_bounds = L_2;
|
|
// Vector3 min = bounds.min;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___0_bounds), NULL);
|
|
// Vector3 max = bounds.max;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___0_bounds), NULL);
|
|
V_0 = L_4;
|
|
// int minX = Mathf.RoundToInt(min.x-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = L_3;
|
|
float L_6 = L_5.___x_2;
|
|
int32_t L_7;
|
|
L_7 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_6, (0.5f))), NULL);
|
|
V_1 = L_7;
|
|
// int maxX = Mathf.RoundToInt(max.x-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_0;
|
|
float L_9 = L_8.___x_2;
|
|
int32_t L_10;
|
|
L_10 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_9, (0.5f))), NULL);
|
|
V_2 = L_10;
|
|
// int minZ = Mathf.RoundToInt(min.z-0.5F);
|
|
float L_11 = L_5.___z_4;
|
|
int32_t L_12;
|
|
L_12 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_11, (0.5f))), NULL);
|
|
V_3 = L_12;
|
|
// int maxZ = Mathf.RoundToInt(max.z-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
float L_14 = L_13.___z_4;
|
|
int32_t L_15;
|
|
L_15 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_14, (0.5f))), NULL);
|
|
V_4 = L_15;
|
|
// var originalRect = new IntRect(minX, minZ, maxX, maxZ);
|
|
int32_t L_16 = V_1;
|
|
int32_t L_17 = V_3;
|
|
int32_t L_18 = V_2;
|
|
int32_t L_19 = V_4;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_20;
|
|
memset((&L_20), 0, sizeof(L_20));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_20), L_16, L_17, L_18, L_19, /*hidden argument*/NULL);
|
|
// var gridRect = new IntRect(0, 0, width-1, depth-1);
|
|
int32_t L_21 = __this->___width_13;
|
|
int32_t L_22 = __this->___depth_14;
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&V_5), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_21, 1)), ((int32_t)il2cpp_codegen_subtract(L_22, 1)), NULL);
|
|
// return IntRect.Intersection(originalRect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_23 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_24;
|
|
L_24 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_20, L_23, NULL);
|
|
return L_24;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInArea(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInArea_m969A23516781E3DC20801988A078A1DF25997FEB (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNodesInRegion(bounds);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_0 = ___0_bounds;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1;
|
|
L_1 = GridGraph_GetNodesInRegion_m36C2E3697E2AA2F6B60B64BB2088BFB769DF9A8E(__this, L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInArea(Pathfinding.GraphUpdateShape)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInArea_mE6A289C4A38F2BE3B7D3C41489B022594F96EF9E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___0_shape, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNodesInRegion(shape);
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* L_0 = ___0_shape;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1;
|
|
L_1 = GridGraph_GetNodesInRegion_m12215EE72F413C97611A5D29935B9C48416850FB(__this, L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInArea(UnityEngine.Bounds,Pathfinding.GraphUpdateShape)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInArea_m43B296D8C4AD0D162C6B6D8E90926E7352CE718A (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___1_shape, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNodesInRegion(bounds, shape);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_0 = ___0_bounds;
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* L_1 = ___1_shape;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_2;
|
|
L_2 = VirtualFuncInvoker2< List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* >::Invoke(42 /* System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(UnityEngine.Bounds,Pathfinding.GraphUpdateShape) */, __this, L_0, L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInRegion_m36C2E3697E2AA2F6B60B64BB2088BFB769DF9A8E (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNodesInRegion(bounds, null);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_0 = ___0_bounds;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_1;
|
|
L_1 = VirtualFuncInvoker2< List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* >::Invoke(42 /* System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(UnityEngine.Bounds,Pathfinding.GraphUpdateShape) */, __this, L_0, (GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C*)NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(Pathfinding.GraphUpdateShape)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInRegion_m12215EE72F413C97611A5D29935B9C48416850FB (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___0_shape, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetNodesInRegion(shape.GetBounds(), shape);
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* L_0 = ___0_shape;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1;
|
|
L_1 = GraphUpdateShape_GetBounds_m86481EBB14746EE1596FE7B72011EDDD12747167(L_0, NULL);
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* L_2 = ___0_shape;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_3;
|
|
L_3 = VirtualFuncInvoker2< List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59*, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* >::Invoke(42 /* System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(UnityEngine.Bounds,Pathfinding.GraphUpdateShape) */, __this, L_1, L_2);
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(UnityEngine.Bounds,Pathfinding.GraphUpdateShape)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInRegion_mA86DE8119AC7B9CA64974AFB754988C62159C6FA (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* ___1_shape, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_5 = NULL;
|
|
{
|
|
// var rect = GetRectFromBounds(bounds);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_0 = ___0_bounds;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_1;
|
|
L_1 = GridGraph_GetRectFromBounds_m35D5952C908B01C5FADC0B096A8BCB42387305A4(__this, L_0, NULL);
|
|
V_0 = L_1;
|
|
// if (nodes == null || !rect.IsValid() || nodes.Length != width*depth) {
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_2 = __this->___nodes_48;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
bool L_3;
|
|
L_3 = IntRect_IsValid_m30D2815DE068E60D2D00FF0D5704EA49CF6265B6((&V_0), NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_4 = __this->___nodes_48;
|
|
NullCheck(L_4);
|
|
int32_t L_5 = __this->___width_13;
|
|
int32_t L_6 = __this->___depth_14;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))) == ((int32_t)((int32_t)il2cpp_codegen_multiply(L_5, L_6)))))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// return ListPool<GraphNode>.Claim();
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_7;
|
|
L_7 = ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562(ListPool_1_Claim_mAC4979D232FF94BCA0147A25AD92A005E213D562_RuntimeMethod_var);
|
|
return L_7;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// var inArea = ListPool<GraphNode>.Claim(rect.Width*rect.Height);
|
|
int32_t L_8;
|
|
L_8 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&V_0), NULL);
|
|
int32_t L_9;
|
|
L_9 = IntRect_get_Height_m8F1FAE617C491964F4C2E4D873F04C27ACE7EDB6((&V_0), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_10;
|
|
L_10 = ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492(((int32_t)il2cpp_codegen_multiply(L_8, L_9)), ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492_RuntimeMethod_var);
|
|
V_1 = L_10;
|
|
// for (int x = rect.xmin; x <= rect.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_11 = V_0;
|
|
int32_t L_12 = L_11.___xmin_0;
|
|
V_2 = L_12;
|
|
goto IL_00b9;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_13 = V_0;
|
|
int32_t L_14 = L_13.___ymin_1;
|
|
V_3 = L_14;
|
|
goto IL_00ac;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// int index = z*width+x;
|
|
int32_t L_15 = V_3;
|
|
int32_t L_16 = __this->___width_13;
|
|
int32_t L_17 = V_2;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_15, L_16)), L_17));
|
|
// GraphNode node = nodes[index];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_18 = __this->___nodes_48;
|
|
int32_t L_19 = V_4;
|
|
NullCheck(L_18);
|
|
int32_t L_20 = L_19;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
V_5 = L_21;
|
|
// if (bounds.Contains((Vector3)node.position) && (shape == null || shape.Contains((Vector3)node.position))) {
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22 = V_5;
|
|
NullCheck(L_22);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_23 = L_22->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_23, NULL);
|
|
bool L_25;
|
|
L_25 = Bounds_Contains_m584E9DE0CF9D90C3C4F928BA8F5AD328393F3555((&___0_bounds), L_24, NULL);
|
|
if (!L_25)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* L_26 = ___1_shape;
|
|
if (!L_26)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
GraphUpdateShape_t116DFE114133712EBFEE06E04351161F8CE74F0C* L_27 = ___1_shape;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_28 = V_5;
|
|
NullCheck(L_28);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_29 = L_28->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_29, NULL);
|
|
NullCheck(L_27);
|
|
bool L_31;
|
|
L_31 = GraphUpdateShape_Contains_m3320DAC00E765940CF1CE0F1C4A3EA80000FD46D(L_27, L_30, NULL);
|
|
if (!L_31)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// inArea.Add(node);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_32 = V_1;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_33 = V_5;
|
|
NullCheck(L_32);
|
|
List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline(L_32, L_33, List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++) {
|
|
int32_t L_34 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
}
|
|
|
|
IL_00ac:
|
|
{
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++) {
|
|
int32_t L_35 = V_3;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_36 = V_0;
|
|
int32_t L_37 = L_36.___ymax_3;
|
|
if ((((int32_t)L_35) <= ((int32_t)L_37)))
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = rect.xmin; x <= rect.xmax; x++) {
|
|
int32_t L_38 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// for (int x = rect.xmin; x <= rect.xmax; x++) {
|
|
int32_t L_39 = V_2;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_40 = V_0;
|
|
int32_t L_41 = L_40.___xmax_2;
|
|
if ((((int32_t)L_39) <= ((int32_t)L_41)))
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// return inArea;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_42 = V_1;
|
|
return L_42;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<Pathfinding.GraphNode> Pathfinding.GridGraph::GetNodesInRegion(Pathfinding.IntRect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* GridGraph_GetNodesInRegion_mEA19CB9C3C28A49DDD19873D170315A228CA5327 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
{
|
|
// var gridRect = new IntRect(0, 0, width-1, depth-1);
|
|
int32_t L_0 = __this->___width_13;
|
|
int32_t L_1 = __this->___depth_14;
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&V_0), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_0, 1)), ((int32_t)il2cpp_codegen_subtract(L_1, 1)), NULL);
|
|
// rect = IntRect.Intersection(rect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_2 = ___0_rect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_3 = V_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_4;
|
|
L_4 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_2, L_3, NULL);
|
|
___0_rect = L_4;
|
|
// if (nodes == null || !rect.IsValid() || nodes.Length != width*depth) return ListPool<GraphNode>.Claim(0);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = __this->___nodes_48;
|
|
if (!L_5)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
bool L_6;
|
|
L_6 = IntRect_IsValid_m30D2815DE068E60D2D00FF0D5704EA49CF6265B6((&___0_rect), NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_7 = __this->___nodes_48;
|
|
NullCheck(L_7);
|
|
int32_t L_8 = __this->___width_13;
|
|
int32_t L_9 = __this->___depth_14;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))) == ((int32_t)((int32_t)il2cpp_codegen_multiply(L_8, L_9)))))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// if (nodes == null || !rect.IsValid() || nodes.Length != width*depth) return ListPool<GraphNode>.Claim(0);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_10;
|
|
L_10 = ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492(0, ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492_RuntimeMethod_var);
|
|
return L_10;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// var inArea = ListPool<GraphNode>.Claim(rect.Width*rect.Height);
|
|
int32_t L_11;
|
|
L_11 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&___0_rect), NULL);
|
|
int32_t L_12;
|
|
L_12 = IntRect_get_Height_m8F1FAE617C491964F4C2E4D873F04C27ACE7EDB6((&___0_rect), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t1F1544877CC4E7D334E7F2EC27A821C3387CFEAE_il2cpp_TypeInfo_var);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_13;
|
|
L_13 = ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492(((int32_t)il2cpp_codegen_multiply(L_11, L_12)), ListPool_1_Claim_mA7D6EB601FD06C65F8EEEED3658B3FF827594492_RuntimeMethod_var);
|
|
V_1 = L_13;
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_14 = ___0_rect;
|
|
int32_t L_15 = L_14.___ymin_1;
|
|
V_2 = L_15;
|
|
goto IL_00a7;
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// var zw = z*Width;
|
|
int32_t L_16 = V_2;
|
|
int32_t L_17;
|
|
L_17 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
V_3 = ((int32_t)il2cpp_codegen_multiply(L_16, L_17));
|
|
// for (int x = rect.xmin; x <= rect.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_18 = ___0_rect;
|
|
int32_t L_19 = L_18.___xmin_0;
|
|
V_4 = L_19;
|
|
goto IL_0099;
|
|
}
|
|
|
|
IL_0082:
|
|
{
|
|
// inArea.Add(nodes[zw + x]);
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_20 = V_1;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_21 = __this->___nodes_48;
|
|
int32_t L_22 = V_3;
|
|
int32_t L_23 = V_4;
|
|
NullCheck(L_21);
|
|
int32_t L_24 = ((int32_t)il2cpp_codegen_add(L_22, L_23));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_25 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
NullCheck(L_20);
|
|
List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_inline(L_20, L_25, List_1_Add_m148416954470CE65F69B579C8D7BA113BFC6A7E8_RuntimeMethod_var);
|
|
// for (int x = rect.xmin; x <= rect.xmax; x++) {
|
|
int32_t L_26 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_26, 1));
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// for (int x = rect.xmin; x <= rect.xmax; x++) {
|
|
int32_t L_27 = V_4;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_28 = ___0_rect;
|
|
int32_t L_29 = L_28.___xmax_2;
|
|
if ((((int32_t)L_27) <= ((int32_t)L_29)))
|
|
{
|
|
goto IL_0082;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++) {
|
|
int32_t L_30 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++) {
|
|
int32_t L_31 = V_2;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_32 = ___0_rect;
|
|
int32_t L_33 = L_32.___ymax_3;
|
|
if ((((int32_t)L_31) <= ((int32_t)L_33)))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// return inArea;
|
|
List_1_tFFD15BEE5A463816F03AD5239859E32F4C228B59* L_34 = V_1;
|
|
return L_34;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.GridGraph::GetNodesInRegion(Pathfinding.IntRect,Pathfinding.GridNodeBase[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridGraph_GetNodesInRegion_mECD7D85C527F0DF46656BC9B66185E2127DA1CEF (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* ___1_buffer, const RuntimeMethod* method)
|
|
{
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// var gridRect = new IntRect(0, 0, width-1, depth-1);
|
|
int32_t L_0 = __this->___width_13;
|
|
int32_t L_1 = __this->___depth_14;
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&V_0), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_0, 1)), ((int32_t)il2cpp_codegen_subtract(L_1, 1)), NULL);
|
|
// rect = IntRect.Intersection(rect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_2 = ___0_rect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_3 = V_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_4;
|
|
L_4 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_2, L_3, NULL);
|
|
___0_rect = L_4;
|
|
// if (nodes == null || !rect.IsValid() || nodes.Length != width*depth) return 0;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = __this->___nodes_48;
|
|
if (!L_5)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
bool L_6;
|
|
L_6 = IntRect_IsValid_m30D2815DE068E60D2D00FF0D5704EA49CF6265B6((&___0_rect), NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_7 = __this->___nodes_48;
|
|
NullCheck(L_7);
|
|
int32_t L_8 = __this->___width_13;
|
|
int32_t L_9 = __this->___depth_14;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))) == ((int32_t)((int32_t)il2cpp_codegen_multiply(L_8, L_9)))))
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// if (nodes == null || !rect.IsValid() || nodes.Length != width*depth) return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// if (buffer.Length < rect.Width*rect.Height) throw new System.ArgumentException("Buffer is too small");
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_10 = ___1_buffer;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&___0_rect), NULL);
|
|
int32_t L_12;
|
|
L_12 = IntRect_get_Height_m8F1FAE617C491964F4C2E4D873F04C27ACE7EDB6((&___0_rect), NULL);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length))) >= ((int32_t)((int32_t)il2cpp_codegen_multiply(L_11, L_12)))))
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// if (buffer.Length < rect.Width*rect.Height) throw new System.ArgumentException("Buffer is too small");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_13 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_13);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_13, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB9F5D6B4F1F6DAC8F4EEB3AB72C41EBAB801FE5C)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&GridGraph_GetNodesInRegion_mECD7D85C527F0DF46656BC9B66185E2127DA1CEF_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
// int counter = 0;
|
|
V_1 = 0;
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++, counter += rect.Width) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_14 = ___0_rect;
|
|
int32_t L_15 = L_14.___ymin_1;
|
|
V_2 = L_15;
|
|
goto IL_00a7;
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
// System.Array.Copy(nodes, z*Width + rect.xmin, buffer, counter, rect.Width);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_16 = __this->___nodes_48;
|
|
int32_t L_17 = V_2;
|
|
int32_t L_18;
|
|
L_18 = GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline(__this, NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_19 = ___0_rect;
|
|
int32_t L_20 = L_19.___xmin_0;
|
|
GridNodeBaseU5BU5D_t0705F875D863E096C04F8A08CF7417126DA05477* L_21 = ___1_buffer;
|
|
int32_t L_22 = V_1;
|
|
int32_t L_23;
|
|
L_23 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&___0_rect), NULL);
|
|
Array_Copy_mB4904E17BD92E320613A3251C0205E0786B3BF41((RuntimeArray*)L_16, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_17, L_18)), L_20)), (RuntimeArray*)L_21, L_22, L_23, NULL);
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++, counter += rect.Width) {
|
|
int32_t L_24 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_24, 1));
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++, counter += rect.Width) {
|
|
int32_t L_25 = V_1;
|
|
int32_t L_26;
|
|
L_26 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&___0_rect), NULL);
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_25, L_26));
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// for (int z = rect.ymin; z <= rect.ymax; z++, counter += rect.Width) {
|
|
int32_t L_27 = V_2;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_28 = ___0_rect;
|
|
int32_t L_29 = L_28.___ymax_3;
|
|
if ((((int32_t)L_27) <= ((int32_t)L_29)))
|
|
{
|
|
goto IL_0076;
|
|
}
|
|
}
|
|
{
|
|
// return counter;
|
|
int32_t L_30 = V_1;
|
|
return L_30;
|
|
}
|
|
}
|
|
// Pathfinding.GridNodeBase Pathfinding.GridGraph::GetNode(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* GridGraph_GetNode_m15379A4D0E647BF09EF53E51ED52BEDE36BC465A (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (x < 0 || z < 0 || x >= width || z >= depth) return null;
|
|
int32_t L_0 = ___0_x;
|
|
if ((((int32_t)L_0) < ((int32_t)0)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___1_z;
|
|
if ((((int32_t)L_1) < ((int32_t)0)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = ___0_x;
|
|
int32_t L_3 = __this->___width_13;
|
|
if ((((int32_t)L_2) >= ((int32_t)L_3)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = ___1_z;
|
|
int32_t L_5 = __this->___depth_14;
|
|
if ((((int32_t)L_4) < ((int32_t)L_5)))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (x < 0 || z < 0 || x >= width || z >= depth) return null;
|
|
return (GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)NULL;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// return nodes[x + z*width];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_6 = __this->___nodes_48;
|
|
int32_t L_7 = ___0_x;
|
|
int32_t L_8 = ___1_z;
|
|
int32_t L_9 = __this->___width_13;
|
|
NullCheck(L_6);
|
|
int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_7, ((int32_t)il2cpp_codegen_multiply(L_8, L_9))));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_11 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
return L_11;
|
|
}
|
|
}
|
|
// Pathfinding.GraphUpdateThreading Pathfinding.GridGraph::Pathfinding.IUpdatableGraph.CanUpdateAsync(Pathfinding.GraphUpdateObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t GridGraph_Pathfinding_IUpdatableGraph_CanUpdateAsync_m73AB5C022548F9BE143C0C10B43B184FA9DED137 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GraphUpdateThreading.UnityThread;
|
|
return (int32_t)(0);
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::Pathfinding.IUpdatableGraph.UpdateAreaInit(Pathfinding.GraphUpdateObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_Pathfinding_IUpdatableGraph_UpdateAreaInit_mCB5BD24224C2DFEEF28760D360CB12F265FB227A (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IUpdatableGraph.UpdateAreaInit (GraphUpdateObject o) {}
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::Pathfinding.IUpdatableGraph.UpdateAreaPost(Pathfinding.GraphUpdateObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_Pathfinding_IUpdatableGraph_UpdateAreaPost_m81A967D229DCD7467CDFC4943C44D3BC6FE0B1F5 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// void IUpdatableGraph.UpdateAreaPost (GraphUpdateObject o) {}
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::CalculateAffectedRegions(Pathfinding.GraphUpdateObject,Pathfinding.IntRect&,Pathfinding.IntRect&,Pathfinding.IntRect&,System.Boolean&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_CalculateAffectedRegions_m41399ADE7E4B7D6253839AB6B8132FF8B9D70BEE (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* ___1_originalRect, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* ___2_affectRect, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* ___3_physicsRect, bool* ___4_willChangeWalkability, int32_t* ___5_erosion, const RuntimeMethod* method)
|
|
{
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 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;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
int32_t* G_B2_0 = NULL;
|
|
int32_t* G_B1_0 = NULL;
|
|
int32_t G_B3_0 = 0;
|
|
int32_t* G_B3_1 = NULL;
|
|
bool* G_B5_0 = NULL;
|
|
bool* G_B4_0 = NULL;
|
|
int32_t G_B6_0 = 0;
|
|
bool* G_B6_1 = NULL;
|
|
{
|
|
// var bounds = transform.InverseTransform(o.bounds);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0;
|
|
L_0 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_1 = ___0_o;
|
|
NullCheck(L_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2 = L_1->___bounds_0;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_3;
|
|
L_3 = GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57(L_0, L_2, NULL);
|
|
V_0 = L_3;
|
|
// Vector3 min = bounds.min;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_0), NULL);
|
|
V_1 = L_4;
|
|
// Vector3 max = bounds.max;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_0), NULL);
|
|
V_2 = L_5;
|
|
// int minX = Mathf.RoundToInt(min.x-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = V_1;
|
|
float L_7 = L_6.___x_2;
|
|
int32_t L_8;
|
|
L_8 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_7, (0.5f))), NULL);
|
|
V_3 = L_8;
|
|
// int maxX = Mathf.RoundToInt(max.x-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_2;
|
|
float L_10 = L_9.___x_2;
|
|
int32_t L_11;
|
|
L_11 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_10, (0.5f))), NULL);
|
|
V_4 = L_11;
|
|
// int minZ = Mathf.RoundToInt(min.z-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = V_1;
|
|
float L_13 = L_12.___z_4;
|
|
int32_t L_14;
|
|
L_14 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_13, (0.5f))), NULL);
|
|
V_5 = L_14;
|
|
// int maxZ = Mathf.RoundToInt(max.z-0.5F);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_2;
|
|
float L_16 = L_15.___z_4;
|
|
int32_t L_17;
|
|
L_17 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_16, (0.5f))), NULL);
|
|
V_6 = L_17;
|
|
// originalRect = new IntRect(minX, minZ, maxX, maxZ);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_18 = ___1_originalRect;
|
|
int32_t L_19 = V_3;
|
|
int32_t L_20 = V_5;
|
|
int32_t L_21 = V_4;
|
|
int32_t L_22 = V_6;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_23;
|
|
memset((&L_23), 0, sizeof(L_23));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_23), L_19, L_20, L_21, L_22, /*hidden argument*/NULL);
|
|
*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_18 = L_23;
|
|
// affectRect = originalRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_24 = ___2_affectRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_25 = ___1_originalRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_26 = (*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_25);
|
|
*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_24 = L_26;
|
|
// physicsRect = originalRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_27 = ___3_physicsRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_28 = ___1_originalRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_29 = (*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_28);
|
|
*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_27 = L_29;
|
|
// erosion = o.updateErosion ? erodeIterations : 0;
|
|
int32_t* L_30 = ___5_erosion;
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_31 = ___0_o;
|
|
NullCheck(L_31);
|
|
bool L_32 = L_31->___updateErosion_3;
|
|
G_B1_0 = L_30;
|
|
if (L_32)
|
|
{
|
|
G_B2_0 = L_30;
|
|
goto IL_00a5;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = 0;
|
|
G_B3_1 = G_B1_0;
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_00a5:
|
|
{
|
|
int32_t L_33 = __this->___erodeIterations_27;
|
|
G_B3_0 = L_33;
|
|
G_B3_1 = G_B2_0;
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
*((int32_t*)G_B3_1) = (int32_t)G_B3_0;
|
|
// willChangeWalkability = o.updatePhysics || o.modifyWalkability;
|
|
bool* L_34 = ___4_willChangeWalkability;
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_35 = ___0_o;
|
|
NullCheck(L_35);
|
|
bool L_36 = L_35->___updatePhysics_1;
|
|
G_B4_0 = L_34;
|
|
if (L_36)
|
|
{
|
|
G_B5_0 = L_34;
|
|
goto IL_00be;
|
|
}
|
|
}
|
|
{
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_37 = ___0_o;
|
|
NullCheck(L_37);
|
|
bool L_38 = L_37->___modifyWalkability_6;
|
|
G_B6_0 = ((int32_t)(L_38));
|
|
G_B6_1 = G_B4_0;
|
|
goto IL_00bf;
|
|
}
|
|
|
|
IL_00be:
|
|
{
|
|
G_B6_0 = 1;
|
|
G_B6_1 = G_B5_0;
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
*((int8_t*)G_B6_1) = (int8_t)G_B6_0;
|
|
// if (o.updatePhysics && !o.modifyWalkability) {
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_39 = ___0_o;
|
|
NullCheck(L_39);
|
|
bool L_40 = L_39->___updatePhysics_1;
|
|
if (!L_40)
|
|
{
|
|
goto IL_01a0;
|
|
}
|
|
}
|
|
{
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_41 = ___0_o;
|
|
NullCheck(L_41);
|
|
bool L_42 = L_41->___modifyWalkability_6;
|
|
if (L_42)
|
|
{
|
|
goto IL_01a0;
|
|
}
|
|
}
|
|
{
|
|
// if (collision.collisionCheck) {
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_43 = __this->___collision_24;
|
|
NullCheck(L_43);
|
|
bool L_44 = L_43->___collisionCheck_12;
|
|
if (!L_44)
|
|
{
|
|
goto IL_01a0;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 margin = new Vector3(collision.diameter, 0, collision.diameter)*0.5F;
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_45 = __this->___collision_24;
|
|
NullCheck(L_45);
|
|
float L_46 = L_45->___diameter_1;
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_47 = __this->___collision_24;
|
|
NullCheck(L_47);
|
|
float L_48 = L_47->___diameter_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
|
|
memset((&L_49), 0, sizeof(L_49));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_49), L_46, (0.0f), L_48, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_49, (0.5f), NULL);
|
|
V_7 = L_50;
|
|
// min -= margin*1.02F;//0.02 safety margin, physics is rarely very accurate
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_52, (1.01999998f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_51, L_53, NULL);
|
|
V_1 = L_54;
|
|
// max += margin*1.02F;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
|
|
L_57 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_56, (1.01999998f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_55, L_57, NULL);
|
|
V_2 = L_58;
|
|
// physicsRect = new IntRect(
|
|
// Mathf.RoundToInt(min.x-0.5F),
|
|
// Mathf.RoundToInt(min.z-0.5F),
|
|
// Mathf.RoundToInt(max.x-0.5F),
|
|
// Mathf.RoundToInt(max.z-0.5F)
|
|
// );
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_59 = ___3_physicsRect;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_1;
|
|
float L_61 = L_60.___x_2;
|
|
int32_t L_62;
|
|
L_62 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_61, (0.5f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = V_1;
|
|
float L_64 = L_63.___z_4;
|
|
int32_t L_65;
|
|
L_65 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_64, (0.5f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = V_2;
|
|
float L_67 = L_66.___x_2;
|
|
int32_t L_68;
|
|
L_68 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_67, (0.5f))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = V_2;
|
|
float L_70 = L_69.___z_4;
|
|
int32_t L_71;
|
|
L_71 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_subtract(L_70, (0.5f))), NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_72;
|
|
memset((&L_72), 0, sizeof(L_72));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_72), L_62, L_65, L_68, L_71, /*hidden argument*/NULL);
|
|
*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_59 = L_72;
|
|
// affectRect = IntRect.Union(physicsRect, affectRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_73 = ___2_affectRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_74 = ___3_physicsRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_75 = (*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_74);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_76 = ___2_affectRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_77 = (*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_76);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_78;
|
|
L_78 = IntRect_Union_m0E7D1469F99F79979C07AAC375BF504230415A1B(L_75, L_77, NULL);
|
|
*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_73 = L_78;
|
|
}
|
|
|
|
IL_01a0:
|
|
{
|
|
// if (willChangeWalkability || erosion > 0) {
|
|
bool* L_79 = ___4_willChangeWalkability;
|
|
int32_t L_80 = *((uint8_t*)L_79);
|
|
if (L_80)
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
int32_t* L_81 = ___5_erosion;
|
|
int32_t L_82 = *((int32_t*)L_81);
|
|
if ((((int32_t)L_82) <= ((int32_t)0)))
|
|
{
|
|
goto IL_01bc;
|
|
}
|
|
}
|
|
|
|
IL_01ab:
|
|
{
|
|
// affectRect = affectRect.Expand(erosion + 1);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_83 = ___2_affectRect;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312* L_84 = ___2_affectRect;
|
|
int32_t* L_85 = ___5_erosion;
|
|
int32_t L_86 = *((int32_t*)L_85);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_87;
|
|
L_87 = IntRect_Expand_m1C793316AD4030CC25DC01024264FF1C18D9A261(L_84, ((int32_t)il2cpp_codegen_add(L_86, 1)), NULL);
|
|
*(IntRect_t60B6F9748EA84B611917F6C791199A0122F51312*)L_83 = L_87;
|
|
}
|
|
|
|
IL_01bc:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::Pathfinding.IUpdatableGraph.UpdateArea(Pathfinding.GraphUpdateObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_Pathfinding_IUpdatableGraph_UpdateArea_mC1353FAC6F60FE605EF9E3F1083B1CC1B4531079 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* ___0_o, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEF10ADCC18283AF2781D4ACAA0F23E143BB0594E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
bool V_3 = false;
|
|
int32_t V_4 = 0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 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;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_22 = NULL;
|
|
bool V_23 = false;
|
|
int32_t V_24 = 0;
|
|
int32_t V_25 = 0;
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
int32_t V_30 = 0;
|
|
{
|
|
// if (nodes == null || nodes.Length != width*depth) {
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_1 = __this->___nodes_48;
|
|
NullCheck(L_1);
|
|
int32_t L_2 = __this->___width_13;
|
|
int32_t L_3 = __this->___depth_14;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))) == ((int32_t)((int32_t)il2cpp_codegen_multiply(L_2, L_3)))))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// Debug.LogWarning("The Grid Graph is not scanned, cannot update area");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralEF10ADCC18283AF2781D4ACAA0F23E143BB0594E, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// CalculateAffectedRegions(o, out originalRect, out affectRect, out physicsRect, out willChangeWalkability, out erosion);
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_4 = ___0_o;
|
|
GridGraph_CalculateAffectedRegions_m41399ADE7E4B7D6253839AB6B8132FF8B9D70BEE(__this, L_4, (&V_0), (&V_1), (&V_2), (&V_3), (&V_4), NULL);
|
|
// var gridRect = new IntRect(0, 0, width-1, depth-1);
|
|
int32_t L_5 = __this->___width_13;
|
|
int32_t L_6 = __this->___depth_14;
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&V_5), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_5, 1)), ((int32_t)il2cpp_codegen_subtract(L_6, 1)), NULL);
|
|
// IntRect clampedRect = IntRect.Intersection(affectRect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_7 = V_1;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_8 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_9;
|
|
L_9 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_7, L_8, NULL);
|
|
V_6 = L_9;
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_10 = V_6;
|
|
int32_t L_11 = L_10.___ymin_1;
|
|
V_7 = L_11;
|
|
goto IL_00a4;
|
|
}
|
|
|
|
IL_0069:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_12 = V_6;
|
|
int32_t L_13 = L_12.___xmin_0;
|
|
V_8 = L_13;
|
|
goto IL_0093;
|
|
}
|
|
|
|
IL_0074:
|
|
{
|
|
// o.WillUpdateNode(nodes[z*width+x]);
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_14 = ___0_o;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_15 = __this->___nodes_48;
|
|
int32_t L_16 = V_7;
|
|
int32_t L_17 = __this->___width_13;
|
|
int32_t L_18 = V_8;
|
|
NullCheck(L_15);
|
|
int32_t L_19 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_16, L_17)), L_18));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_20 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
NullCheck(L_14);
|
|
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(4 /* System.Void Pathfinding.GraphUpdateObject::WillUpdateNode(Pathfinding.GraphNode) */, L_14, L_20);
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_21 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_22 = V_8;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_23 = V_6;
|
|
int32_t L_24 = L_23.___xmax_2;
|
|
if ((((int32_t)L_22) <= ((int32_t)L_24)))
|
|
{
|
|
goto IL_0074;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_25 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_00a4:
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_26 = V_7;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_27 = V_6;
|
|
int32_t L_28 = L_27.___ymax_3;
|
|
if ((((int32_t)L_26) <= ((int32_t)L_28)))
|
|
{
|
|
goto IL_0069;
|
|
}
|
|
}
|
|
{
|
|
// if (o.updatePhysics && !o.modifyWalkability) {
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_29 = ___0_o;
|
|
NullCheck(L_29);
|
|
bool L_30 = L_29->___updatePhysics_1;
|
|
if (!L_30)
|
|
{
|
|
goto IL_0129;
|
|
}
|
|
}
|
|
{
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_31 = ___0_o;
|
|
NullCheck(L_31);
|
|
bool L_32 = L_31->___modifyWalkability_6;
|
|
if (L_32)
|
|
{
|
|
goto IL_0129;
|
|
}
|
|
}
|
|
{
|
|
// collision.Initialize(transform, nodeSize);
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_33 = __this->___collision_24;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_34;
|
|
L_34 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(__this, NULL);
|
|
float L_35 = __this->___nodeSize_23;
|
|
NullCheck(L_33);
|
|
GraphCollision_Initialize_mB72C0C6794B3D2CD60E46238A425EB9FBE5EFB30(L_33, L_34, L_35, NULL);
|
|
// clampedRect = IntRect.Intersection(physicsRect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_36 = V_2;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_37 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_38;
|
|
L_38 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_36, L_37, NULL);
|
|
V_6 = L_38;
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_39 = V_6;
|
|
int32_t L_40 = L_39.___ymin_1;
|
|
V_9 = L_40;
|
|
goto IL_011e;
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_41 = V_6;
|
|
int32_t L_42 = L_41.___xmin_0;
|
|
V_10 = L_42;
|
|
goto IL_010d;
|
|
}
|
|
|
|
IL_00f6:
|
|
{
|
|
// RecalculateCell(x, z, o.resetPenaltyOnPhysics, false);
|
|
int32_t L_43 = V_10;
|
|
int32_t L_44 = V_9;
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_45 = ___0_o;
|
|
NullCheck(L_45);
|
|
bool L_46 = L_45->___resetPenaltyOnPhysics_2;
|
|
VirtualActionInvoker4< int32_t, int32_t, bool, bool >::Invoke(35 /* System.Void Pathfinding.GridGraph::RecalculateCell(System.Int32,System.Int32,System.Boolean,System.Boolean) */, __this, L_43, L_44, L_46, (bool)0);
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_47 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_47, 1));
|
|
}
|
|
|
|
IL_010d:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_48 = V_10;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_49 = V_6;
|
|
int32_t L_50 = L_49.___xmax_2;
|
|
if ((((int32_t)L_48) <= ((int32_t)L_50)))
|
|
{
|
|
goto IL_00f6;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_51 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_51, 1));
|
|
}
|
|
|
|
IL_011e:
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_52 = V_9;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_53 = V_6;
|
|
int32_t L_54 = L_53.___ymax_3;
|
|
if ((((int32_t)L_52) <= ((int32_t)L_54)))
|
|
{
|
|
goto IL_00eb;
|
|
}
|
|
}
|
|
|
|
IL_0129:
|
|
{
|
|
// clampedRect = IntRect.Intersection(originalRect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_55 = V_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_56 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_57;
|
|
L_57 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_55, L_56, NULL);
|
|
V_6 = L_57;
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_58 = V_6;
|
|
int32_t L_59 = L_58.___ymin_1;
|
|
V_11 = L_59;
|
|
goto IL_01c6;
|
|
}
|
|
|
|
IL_0141:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_60 = V_6;
|
|
int32_t L_61 = L_60.___xmin_0;
|
|
V_12 = L_61;
|
|
goto IL_01b5;
|
|
}
|
|
|
|
IL_014c:
|
|
{
|
|
// int index = z*width+x;
|
|
int32_t L_62 = V_11;
|
|
int32_t L_63 = __this->___width_13;
|
|
int32_t L_64 = V_12;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_62, L_63)), L_64));
|
|
// GridNode node = nodes[index];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_65 = __this->___nodes_48;
|
|
int32_t L_66 = V_13;
|
|
NullCheck(L_65);
|
|
int32_t L_67 = L_66;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
|
|
V_14 = L_68;
|
|
// if (o.bounds.Contains((Vector3)node.position)) {
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_69 = ___0_o;
|
|
NullCheck(L_69);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_70 = (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3*)(&L_69->___bounds_0);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_71 = V_14;
|
|
NullCheck(L_71);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_72 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_71)->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
|
|
L_73 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_72, NULL);
|
|
bool L_74;
|
|
L_74 = Bounds_Contains_m584E9DE0CF9D90C3C4F928BA8F5AD328393F3555(L_70, L_73, NULL);
|
|
if (!L_74)
|
|
{
|
|
goto IL_01af;
|
|
}
|
|
}
|
|
{
|
|
// if (willChangeWalkability) {
|
|
bool L_75 = V_3;
|
|
if (!L_75)
|
|
{
|
|
goto IL_01a7;
|
|
}
|
|
}
|
|
{
|
|
// node.Walkable = node.WalkableErosion;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_76 = V_14;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_77 = V_14;
|
|
NullCheck(L_77);
|
|
bool L_78;
|
|
L_78 = GridNodeBase_get_WalkableErosion_mC98B1993EE9F2DACEDA550A423A16FD670FF33A0(L_77, NULL);
|
|
NullCheck(L_76);
|
|
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_76, L_78, NULL);
|
|
// o.Apply(node);
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_79 = ___0_o;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_80 = V_14;
|
|
NullCheck(L_79);
|
|
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(6 /* System.Void Pathfinding.GraphUpdateObject::Apply(Pathfinding.GraphNode) */, L_79, L_80);
|
|
// node.WalkableErosion = node.Walkable;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_81 = V_14;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_82 = V_14;
|
|
NullCheck(L_82);
|
|
bool L_83;
|
|
L_83 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_82, NULL);
|
|
NullCheck(L_81);
|
|
GridNodeBase_set_WalkableErosion_m7C0B98F5A3A6D09B9B407975295E468D6D5BC699(L_81, L_83, NULL);
|
|
goto IL_01af;
|
|
}
|
|
|
|
IL_01a7:
|
|
{
|
|
// o.Apply(node);
|
|
GraphUpdateObject_t4D2D1B3779E8CAC14B3B627A10215C592525A1C3* L_84 = ___0_o;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_85 = V_14;
|
|
NullCheck(L_84);
|
|
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(6 /* System.Void Pathfinding.GraphUpdateObject::Apply(Pathfinding.GraphNode) */, L_84, L_85);
|
|
}
|
|
|
|
IL_01af:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_86 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_86, 1));
|
|
}
|
|
|
|
IL_01b5:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_87 = V_12;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_88 = V_6;
|
|
int32_t L_89 = L_88.___xmax_2;
|
|
if ((((int32_t)L_87) <= ((int32_t)L_89)))
|
|
{
|
|
goto IL_014c;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_90 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_90, 1));
|
|
}
|
|
|
|
IL_01c6:
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_91 = V_11;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_92 = V_6;
|
|
int32_t L_93 = L_92.___ymax_3;
|
|
if ((((int32_t)L_91) <= ((int32_t)L_93)))
|
|
{
|
|
goto IL_0141;
|
|
}
|
|
}
|
|
{
|
|
// if (willChangeWalkability && erosion == 0) {
|
|
bool L_94 = V_3;
|
|
if (!L_94)
|
|
{
|
|
goto IL_0228;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_95 = V_4;
|
|
if (L_95)
|
|
{
|
|
goto IL_0228;
|
|
}
|
|
}
|
|
{
|
|
// clampedRect = IntRect.Intersection(affectRect, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_96 = V_1;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_97 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_98;
|
|
L_98 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_96, L_97, NULL);
|
|
V_6 = L_98;
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_99 = V_6;
|
|
int32_t L_100 = L_99.___xmin_0;
|
|
V_15 = L_100;
|
|
goto IL_021c;
|
|
}
|
|
|
|
IL_01f0:
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_101 = V_6;
|
|
int32_t L_102 = L_101.___ymin_1;
|
|
V_16 = L_102;
|
|
goto IL_020b;
|
|
}
|
|
|
|
IL_01fb:
|
|
{
|
|
// CalculateConnections(x, z);
|
|
int32_t L_103 = V_15;
|
|
int32_t L_104 = V_16;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_103, L_104);
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_105 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_105, 1));
|
|
}
|
|
|
|
IL_020b:
|
|
{
|
|
// for (int z = clampedRect.ymin; z <= clampedRect.ymax; z++) {
|
|
int32_t L_106 = V_16;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_107 = V_6;
|
|
int32_t L_108 = L_107.___ymax_3;
|
|
if ((((int32_t)L_106) <= ((int32_t)L_108)))
|
|
{
|
|
goto IL_01fb;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_109 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_109, 1));
|
|
}
|
|
|
|
IL_021c:
|
|
{
|
|
// for (int x = clampedRect.xmin; x <= clampedRect.xmax; x++) {
|
|
int32_t L_110 = V_15;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_111 = V_6;
|
|
int32_t L_112 = L_111.___xmax_2;
|
|
if ((((int32_t)L_110) <= ((int32_t)L_112)))
|
|
{
|
|
goto IL_01f0;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0228:
|
|
{
|
|
// } else if (willChangeWalkability && erosion > 0) {
|
|
bool L_113 = V_3;
|
|
if (!L_113)
|
|
{
|
|
goto IL_03fa;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_114 = V_4;
|
|
if ((((int32_t)L_114) <= ((int32_t)0)))
|
|
{
|
|
goto IL_03fa;
|
|
}
|
|
}
|
|
{
|
|
// clampedRect = IntRect.Union(originalRect, physicsRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_115 = V_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_116 = V_2;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_117;
|
|
L_117 = IntRect_Union_m0E7D1469F99F79979C07AAC375BF504230415A1B(L_115, L_116, NULL);
|
|
V_6 = L_117;
|
|
// IntRect erosionRect1 = clampedRect.Expand(erosion);
|
|
int32_t L_118 = V_4;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_119;
|
|
L_119 = IntRect_Expand_m1C793316AD4030CC25DC01024264FF1C18D9A261((&V_6), L_118, NULL);
|
|
V_17 = L_119;
|
|
// IntRect erosionRect2 = erosionRect1.Expand(erosion);
|
|
int32_t L_120 = V_4;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_121;
|
|
L_121 = IntRect_Expand_m1C793316AD4030CC25DC01024264FF1C18D9A261((&V_17), L_120, NULL);
|
|
V_18 = L_121;
|
|
// erosionRect1 = IntRect.Intersection(erosionRect1, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_122 = V_17;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_123 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_124;
|
|
L_124 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_122, L_123, NULL);
|
|
V_17 = L_124;
|
|
// erosionRect2 = IntRect.Intersection(erosionRect2, gridRect);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_125 = V_18;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_126 = V_5;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_127;
|
|
L_127 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_125, L_126, NULL);
|
|
V_18 = L_127;
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_128 = V_18;
|
|
int32_t L_129 = L_128.___xmin_0;
|
|
V_19 = L_129;
|
|
goto IL_02de;
|
|
}
|
|
|
|
IL_0276:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_130 = V_18;
|
|
int32_t L_131 = L_130.___ymin_1;
|
|
V_20 = L_131;
|
|
goto IL_02cd;
|
|
}
|
|
|
|
IL_0281:
|
|
{
|
|
// int index = z*width+x;
|
|
int32_t L_132 = V_20;
|
|
int32_t L_133 = __this->___width_13;
|
|
int32_t L_134 = V_19;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_132, L_133)), L_134));
|
|
// GridNode node = nodes[index];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_135 = __this->___nodes_48;
|
|
int32_t L_136 = V_21;
|
|
NullCheck(L_135);
|
|
int32_t L_137 = L_136;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_138 = (L_135)->GetAt(static_cast<il2cpp_array_size_t>(L_137));
|
|
V_22 = L_138;
|
|
// bool tmp = node.Walkable;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_139 = V_22;
|
|
NullCheck(L_139);
|
|
bool L_140;
|
|
L_140 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_139, NULL);
|
|
V_23 = L_140;
|
|
// node.Walkable = node.WalkableErosion;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_141 = V_22;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_142 = V_22;
|
|
NullCheck(L_142);
|
|
bool L_143;
|
|
L_143 = GridNodeBase_get_WalkableErosion_mC98B1993EE9F2DACEDA550A423A16FD670FF33A0(L_142, NULL);
|
|
NullCheck(L_141);
|
|
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_141, L_143, NULL);
|
|
// if (!erosionRect1.Contains(x, z)) {
|
|
int32_t L_144 = V_19;
|
|
int32_t L_145 = V_20;
|
|
bool L_146;
|
|
L_146 = IntRect_Contains_m5E307C7E3F45B01584E41D0A141A3AF5E5D6549D((&V_17), L_144, L_145, NULL);
|
|
if (L_146)
|
|
{
|
|
goto IL_02c7;
|
|
}
|
|
}
|
|
{
|
|
// node.TmpWalkable = tmp;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_147 = V_22;
|
|
bool L_148 = V_23;
|
|
NullCheck(L_147);
|
|
GridNodeBase_set_TmpWalkable_mF74EC290D2AE6C2B4CE242EBB345FBC4336A3323(L_147, L_148, NULL);
|
|
}
|
|
|
|
IL_02c7:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_149 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_149, 1));
|
|
}
|
|
|
|
IL_02cd:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_150 = V_20;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_151 = V_18;
|
|
int32_t L_152 = L_151.___ymax_3;
|
|
if ((((int32_t)L_150) <= ((int32_t)L_152)))
|
|
{
|
|
goto IL_0281;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_153 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_153, 1));
|
|
}
|
|
|
|
IL_02de:
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_154 = V_19;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_155 = V_18;
|
|
int32_t L_156 = L_155.___xmax_2;
|
|
if ((((int32_t)L_154) <= ((int32_t)L_156)))
|
|
{
|
|
goto IL_0276;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_157 = V_18;
|
|
int32_t L_158 = L_157.___xmin_0;
|
|
V_24 = L_158;
|
|
goto IL_0320;
|
|
}
|
|
|
|
IL_02f4:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_159 = V_18;
|
|
int32_t L_160 = L_159.___ymin_1;
|
|
V_25 = L_160;
|
|
goto IL_030f;
|
|
}
|
|
|
|
IL_02ff:
|
|
{
|
|
// CalculateConnections(x, z);
|
|
int32_t L_161 = V_24;
|
|
int32_t L_162 = V_25;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_161, L_162);
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_163 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_163, 1));
|
|
}
|
|
|
|
IL_030f:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_164 = V_25;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_165 = V_18;
|
|
int32_t L_166 = L_165.___ymax_3;
|
|
if ((((int32_t)L_164) <= ((int32_t)L_166)))
|
|
{
|
|
goto IL_02ff;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_167 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_167, 1));
|
|
}
|
|
|
|
IL_0320:
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_168 = V_24;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_169 = V_18;
|
|
int32_t L_170 = L_169.___xmax_2;
|
|
if ((((int32_t)L_168) <= ((int32_t)L_170)))
|
|
{
|
|
goto IL_02f4;
|
|
}
|
|
}
|
|
{
|
|
// ErodeWalkableArea(erosionRect2.xmin, erosionRect2.ymin, erosionRect2.xmax+1, erosionRect2.ymax+1);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_171 = V_18;
|
|
int32_t L_172 = L_171.___xmin_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_173 = V_18;
|
|
int32_t L_174 = L_173.___ymin_1;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_175 = V_18;
|
|
int32_t L_176 = L_175.___xmax_2;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_177 = V_18;
|
|
int32_t L_178 = L_177.___ymax_3;
|
|
GridGraph_ErodeWalkableArea_m658BCA17D20DDDC83FFE45B812BD5E53F0BE4AB7(__this, L_172, L_174, ((int32_t)il2cpp_codegen_add(L_176, 1)), ((int32_t)il2cpp_codegen_add(L_178, 1)), NULL);
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_179 = V_18;
|
|
int32_t L_180 = L_179.___xmin_0;
|
|
V_26 = L_180;
|
|
goto IL_03ad;
|
|
}
|
|
|
|
IL_035c:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_181 = V_18;
|
|
int32_t L_182 = L_181.___ymin_1;
|
|
V_27 = L_182;
|
|
goto IL_039c;
|
|
}
|
|
|
|
IL_0367:
|
|
{
|
|
// if (erosionRect1.Contains(x, z)) continue;
|
|
int32_t L_183 = V_26;
|
|
int32_t L_184 = V_27;
|
|
bool L_185;
|
|
L_185 = IntRect_Contains_m5E307C7E3F45B01584E41D0A141A3AF5E5D6549D((&V_17), L_183, L_184, NULL);
|
|
if (L_185)
|
|
{
|
|
goto IL_0396;
|
|
}
|
|
}
|
|
{
|
|
// int index = z*width+x;
|
|
int32_t L_186 = V_27;
|
|
int32_t L_187 = __this->___width_13;
|
|
int32_t L_188 = V_26;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_186, L_187)), L_188));
|
|
// GridNode node = nodes[index];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_189 = __this->___nodes_48;
|
|
int32_t L_190 = V_28;
|
|
NullCheck(L_189);
|
|
int32_t L_191 = L_190;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_192 = (L_189)->GetAt(static_cast<il2cpp_array_size_t>(L_191));
|
|
// node.Walkable = node.TmpWalkable;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_193 = L_192;
|
|
NullCheck(L_193);
|
|
bool L_194;
|
|
L_194 = GridNodeBase_get_TmpWalkable_mF3F059C26379774B1034E55D2595B2B8DC2D396B(L_193, NULL);
|
|
NullCheck(L_193);
|
|
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_193, L_194, NULL);
|
|
}
|
|
|
|
IL_0396:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_195 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_195, 1));
|
|
}
|
|
|
|
IL_039c:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_196 = V_27;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_197 = V_18;
|
|
int32_t L_198 = L_197.___ymax_3;
|
|
if ((((int32_t)L_196) <= ((int32_t)L_198)))
|
|
{
|
|
goto IL_0367;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_199 = V_26;
|
|
V_26 = ((int32_t)il2cpp_codegen_add(L_199, 1));
|
|
}
|
|
|
|
IL_03ad:
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_200 = V_26;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_201 = V_18;
|
|
int32_t L_202 = L_201.___xmax_2;
|
|
if ((((int32_t)L_200) <= ((int32_t)L_202)))
|
|
{
|
|
goto IL_035c;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_203 = V_18;
|
|
int32_t L_204 = L_203.___xmin_0;
|
|
V_29 = L_204;
|
|
goto IL_03ef;
|
|
}
|
|
|
|
IL_03c3:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_205 = V_18;
|
|
int32_t L_206 = L_205.___ymin_1;
|
|
V_30 = L_206;
|
|
goto IL_03de;
|
|
}
|
|
|
|
IL_03ce:
|
|
{
|
|
// CalculateConnections(x, z);
|
|
int32_t L_207 = V_29;
|
|
int32_t L_208 = V_30;
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, __this, L_207, L_208);
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_209 = V_30;
|
|
V_30 = ((int32_t)il2cpp_codegen_add(L_209, 1));
|
|
}
|
|
|
|
IL_03de:
|
|
{
|
|
// for (int z = erosionRect2.ymin; z <= erosionRect2.ymax; z++) {
|
|
int32_t L_210 = V_30;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_211 = V_18;
|
|
int32_t L_212 = L_211.___ymax_3;
|
|
if ((((int32_t)L_210) <= ((int32_t)L_212)))
|
|
{
|
|
goto IL_03ce;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_213 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_213, 1));
|
|
}
|
|
|
|
IL_03ef:
|
|
{
|
|
// for (int x = erosionRect2.xmin; x <= erosionRect2.xmax; x++) {
|
|
int32_t L_214 = V_29;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_215 = V_18;
|
|
int32_t L_216 = L_215.___xmax_2;
|
|
if ((((int32_t)L_214) <= ((int32_t)L_216)))
|
|
{
|
|
goto IL_03c3;
|
|
}
|
|
}
|
|
|
|
IL_03fa:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph::CheckConnection(Pathfinding.GridNode,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GridGraph_CheckConnection_mF59BA885E77DC4101F7E5475855C6E996F749144 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* ___0_node, int32_t ___1_dir, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_2 = NULL;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_3 = NULL;
|
|
{
|
|
// if (neighbours == NumNeighbours.Eight || neighbours == NumNeighbours.Six || dir < 4) {
|
|
int32_t L_0 = __this->___neighbours_30;
|
|
if ((((int32_t)L_0) == ((int32_t)1)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___neighbours_30;
|
|
if ((((int32_t)L_1) == ((int32_t)2)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = ___1_dir;
|
|
if ((((int32_t)L_2) >= ((int32_t)4)))
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// return HasNodeConnection(node, dir);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_3 = ___0_node;
|
|
int32_t L_4 = ___1_dir;
|
|
bool L_5;
|
|
L_5 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_3, L_4, NULL);
|
|
return L_5;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// int dir1 = (dir-4-1) & 0x3;
|
|
int32_t L_6 = ___1_dir;
|
|
V_0 = ((int32_t)(((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(L_6, 4)), 1))&3));
|
|
// int dir2 = (dir-4+1) & 0x3;
|
|
int32_t L_7 = ___1_dir;
|
|
V_1 = ((int32_t)(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_7, 4)), 1))&3));
|
|
// if (!HasNodeConnection(node, dir1) || !HasNodeConnection(node, dir2)) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_8 = ___0_node;
|
|
int32_t L_9 = V_0;
|
|
bool L_10;
|
|
L_10 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_8, L_9, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_11 = ___0_node;
|
|
int32_t L_12 = V_1;
|
|
bool L_13;
|
|
L_13 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_11, L_12, NULL);
|
|
if (L_13)
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// GridNode n1 = nodes[node.NodeInGridIndex+neighbourOffsets[dir1]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_14 = __this->___nodes_48;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_15 = ___0_node;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_15, NULL);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = __this->___neighbourOffsets_42;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = L_18;
|
|
int32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
NullCheck(L_14);
|
|
int32_t L_21 = ((int32_t)il2cpp_codegen_add(L_16, L_20));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_22 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_2 = L_22;
|
|
// GridNode n2 = nodes[node.NodeInGridIndex+neighbourOffsets[dir2]];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_23 = __this->___nodes_48;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_24 = ___0_node;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = GridNodeBase_get_NodeInGridIndex_m7CA2F59A4044C2E450E79833450DF0AC36BED969(L_24, NULL);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26 = __this->___neighbourOffsets_42;
|
|
int32_t L_27 = V_1;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
int32_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
NullCheck(L_23);
|
|
int32_t L_30 = ((int32_t)il2cpp_codegen_add(L_25, L_29));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_31 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
|
|
V_3 = L_31;
|
|
// if (!n1.Walkable || !n2.Walkable) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_32 = V_2;
|
|
NullCheck(L_32);
|
|
bool L_33;
|
|
L_33 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_32, NULL);
|
|
if (!L_33)
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
{
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_34 = V_3;
|
|
NullCheck(L_34);
|
|
bool L_35;
|
|
L_35 = GraphNode_get_Walkable_m0E6424EE787C81738AE10646992082EA15D90276(L_34, NULL);
|
|
if (L_35)
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// if (!HasNodeConnection(n2, dir1) || !HasNodeConnection(n1, dir2)) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_36 = V_3;
|
|
int32_t L_37 = V_0;
|
|
bool L_38;
|
|
L_38 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_36, L_37, NULL);
|
|
if (!L_38)
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_39 = V_2;
|
|
int32_t L_40 = V_1;
|
|
bool L_41;
|
|
L_41 = GridGraph_HasNodeConnection_m08E10C1FF9438487BADAA3C041CA088039C98B9E(__this, L_39, L_40, NULL);
|
|
if (L_41)
|
|
{
|
|
goto IL_009b;
|
|
}
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_009b:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::SerializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_SerializeExtraInfo_m90344A0F6A14E52EB70B960F2DA349B74B7C2F04 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (nodes == null) {
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_0 = __this->___nodes_48;
|
|
if (L_0)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// ctx.writer.Write(-1);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
|
|
NullCheck(L_1);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_2 = L_1->___writer_2;
|
|
NullCheck(L_2);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_2, (-1));
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// ctx.writer.Write(nodes.Length);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_3 = ___0_ctx;
|
|
NullCheck(L_3);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = L_3->___writer_2;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = __this->___nodes_48;
|
|
NullCheck(L_5);
|
|
NullCheck(L_4);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_4, ((int32_t)(((RuntimeArray*)L_5)->max_length)));
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// nodes[i].SerializeNode(ctx);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_6 = __this->___nodes_48;
|
|
int32_t L_7 = V_0;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_10 = ___0_ctx;
|
|
NullCheck(L_9);
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(16 /* System.Void Pathfinding.GraphNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext) */, L_9, L_10);
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_11 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_12 = V_0;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_13 = __this->___nodes_48;
|
|
NullCheck(L_13);
|
|
if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::DeserializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_DeserializeExtraInfo_mCE97462360FFF2C3165D9BF8AB58FCC8767A55F1 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// int count = ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_1);
|
|
V_0 = L_2;
|
|
// if (count == -1) {
|
|
int32_t L_3 = V_0;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// nodes = null;
|
|
__this->___nodes_48 = (GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_48), (void*)(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// nodes = new GridNode[count];
|
|
int32_t L_4 = V_0;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = (GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)SZArrayNew(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var, (uint32_t)L_4);
|
|
__this->___nodes_48 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_48), (void*)L_5);
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_1 = 0;
|
|
goto IL_004d;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// nodes[i] = new GridNode(active);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_6 = __this->___nodes_48;
|
|
int32_t L_7 = V_1;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_8 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_9 = (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)il2cpp_codegen_object_new(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
GridNode__ctor_m49A61AAAE3D00861021A696392EAFDA03599B283(L_9, L_8, NULL);
|
|
NullCheck(L_6);
|
|
ArrayElementTypeCheck (L_6, L_9);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)L_9);
|
|
// nodes[i].DeserializeNode(ctx);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_10 = __this->___nodes_48;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_14 = ___0_ctx;
|
|
NullCheck(L_13);
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(17 /* System.Void Pathfinding.GraphNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext) */, L_13, L_14);
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_15 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_16 = V_1;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_17 = __this->___nodes_48;
|
|
NullCheck(L_17);
|
|
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::DeserializeSettingsCompatibility(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_DeserializeSettingsCompatibility_m7F5D054EF6FCDDD10F754C124E0F6053FF149208 (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// base.DeserializeSettingsCompatibility(ctx);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NavGraph_DeserializeSettingsCompatibility_m4EDCD5F5616313CD38308D2D5072FB53568092DB(__this, L_0, NULL);
|
|
// aspectRatio = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_1 = ___0_ctx;
|
|
NullCheck(L_1);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_2 = L_1->___reader_1;
|
|
NullCheck(L_2);
|
|
float L_3;
|
|
L_3 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_2);
|
|
__this->___aspectRatio_15 = L_3;
|
|
// rotation = ctx.DeserializeVector3();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_4 = ___0_ctx;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF(L_4, NULL);
|
|
__this->___rotation_20 = L_5;
|
|
// center = ctx.DeserializeVector3();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_6 = ___0_ctx;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF(L_6, NULL);
|
|
__this->___center_21 = L_7;
|
|
// unclampedSize = (Vector2)ctx.DeserializeVector3();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_8 = ___0_ctx;
|
|
NullCheck(L_8);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = GraphSerializationContext_DeserializeVector3_mC5A2DC6906CC09A721E4F822EF70A0FF6117D6DF(L_8, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10;
|
|
L_10 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_9, NULL);
|
|
__this->___unclampedSize_22 = L_10;
|
|
// nodeSize = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_11 = ___0_ctx;
|
|
NullCheck(L_11);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_12 = L_11->___reader_1;
|
|
NullCheck(L_12);
|
|
float L_13;
|
|
L_13 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_12);
|
|
__this->___nodeSize_23 = L_13;
|
|
// collision.DeserializeSettingsCompatibility(ctx);
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_14 = __this->___collision_24;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_15 = ___0_ctx;
|
|
NullCheck(L_14);
|
|
GraphCollision_DeserializeSettingsCompatibility_mDEFAACD94F980169A1DF619E7AFA8A853B941B5C(L_14, L_15, NULL);
|
|
// maxClimb = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_16 = ___0_ctx;
|
|
NullCheck(L_16);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_17 = L_16->___reader_1;
|
|
NullCheck(L_17);
|
|
float L_18;
|
|
L_18 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_17);
|
|
__this->___maxClimb_25 = L_18;
|
|
// ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_19 = ___0_ctx;
|
|
NullCheck(L_19);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_20 = L_19->___reader_1;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_20);
|
|
// maxSlope = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_22 = ___0_ctx;
|
|
NullCheck(L_22);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_23 = L_22->___reader_1;
|
|
NullCheck(L_23);
|
|
float L_24;
|
|
L_24 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_23);
|
|
__this->___maxSlope_26 = L_24;
|
|
// erodeIterations = ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_25 = ___0_ctx;
|
|
NullCheck(L_25);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_26 = L_25->___reader_1;
|
|
NullCheck(L_26);
|
|
int32_t L_27;
|
|
L_27 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_26);
|
|
__this->___erodeIterations_27 = L_27;
|
|
// erosionUseTags = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_28 = ___0_ctx;
|
|
NullCheck(L_28);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_29 = L_28->___reader_1;
|
|
NullCheck(L_29);
|
|
bool L_30;
|
|
L_30 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_29);
|
|
__this->___erosionUseTags_28 = L_30;
|
|
// erosionFirstTag = ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_31 = ___0_ctx;
|
|
NullCheck(L_31);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_32 = L_31->___reader_1;
|
|
NullCheck(L_32);
|
|
int32_t L_33;
|
|
L_33 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_32);
|
|
__this->___erosionFirstTag_29 = L_33;
|
|
// ctx.reader.ReadBoolean(); // Old field
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_34 = ___0_ctx;
|
|
NullCheck(L_34);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_35 = L_34->___reader_1;
|
|
NullCheck(L_35);
|
|
bool L_36;
|
|
L_36 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_35);
|
|
// neighbours = (NumNeighbours)ctx.reader.ReadInt32();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_37 = ___0_ctx;
|
|
NullCheck(L_37);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_38 = L_37->___reader_1;
|
|
NullCheck(L_38);
|
|
int32_t L_39;
|
|
L_39 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_38);
|
|
__this->___neighbours_30 = L_39;
|
|
// cutCorners = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_40 = ___0_ctx;
|
|
NullCheck(L_40);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_41 = L_40->___reader_1;
|
|
NullCheck(L_41);
|
|
bool L_42;
|
|
L_42 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_41);
|
|
__this->___cutCorners_31 = L_42;
|
|
// penaltyPosition = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_43 = ___0_ctx;
|
|
NullCheck(L_43);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_44 = L_43->___reader_1;
|
|
NullCheck(L_44);
|
|
bool L_45;
|
|
L_45 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_44);
|
|
__this->___penaltyPosition_33 = L_45;
|
|
// penaltyPositionFactor = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_46 = ___0_ctx;
|
|
NullCheck(L_46);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_47 = L_46->___reader_1;
|
|
NullCheck(L_47);
|
|
float L_48;
|
|
L_48 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_47);
|
|
__this->___penaltyPositionFactor_34 = L_48;
|
|
// penaltyAngle = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_49 = ___0_ctx;
|
|
NullCheck(L_49);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_50 = L_49->___reader_1;
|
|
NullCheck(L_50);
|
|
bool L_51;
|
|
L_51 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_50);
|
|
__this->___penaltyAngle_35 = L_51;
|
|
// penaltyAngleFactor = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_52 = ___0_ctx;
|
|
NullCheck(L_52);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_53 = L_52->___reader_1;
|
|
NullCheck(L_53);
|
|
float L_54;
|
|
L_54 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_53);
|
|
__this->___penaltyAngleFactor_36 = L_54;
|
|
// penaltyAnglePower = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_55 = ___0_ctx;
|
|
NullCheck(L_55);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_56 = L_55->___reader_1;
|
|
NullCheck(L_56);
|
|
float L_57;
|
|
L_57 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_56);
|
|
__this->___penaltyAnglePower_37 = L_57;
|
|
// isometricAngle = ctx.reader.ReadSingle();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_58 = ___0_ctx;
|
|
NullCheck(L_58);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_59 = L_58->___reader_1;
|
|
NullCheck(L_59);
|
|
float L_60;
|
|
L_60 = VirtualFuncInvoker0< float >::Invoke(19 /* System.Single System.IO.BinaryReader::ReadSingle() */, L_59);
|
|
__this->___isometricAngle_16 = L_60;
|
|
// uniformEdgeCosts = ctx.reader.ReadBoolean();
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_61 = ___0_ctx;
|
|
NullCheck(L_61);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_62 = L_61->___reader_1;
|
|
NullCheck(L_62);
|
|
bool L_63;
|
|
L_63 = VirtualFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.BinaryReader::ReadBoolean() */, L_62);
|
|
__this->___uniformEdgeCosts_19 = L_63;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::PostDeserialization(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph_PostDeserialization_m86FCF73119E9D14C8F074A07C422673B54EA630F (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral352CA5E54BF288BE8B7463C579B9FA392A6A2F7A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE9AE4413482A84EE59C945089E083F66D6268C7B);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_2 = NULL;
|
|
{
|
|
// UpdateTransform();
|
|
GridGraph_UpdateTransform_m9BA7A9D16EA9221C2E30D94927ADDC61D563AD21(__this, NULL);
|
|
// SetUpOffsetsAndCosts();
|
|
VirtualActionInvoker0::Invoke(33 /* System.Void Pathfinding.GridGraph::SetUpOffsetsAndCosts() */, __this);
|
|
// GridNode.SetGridGraph((int)graphIndex, this);
|
|
uint32_t L_0 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___graphIndex_4;
|
|
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
GridNode_SetGridGraph_m2CCB8816869CD881A613914B8E34E553B4C4710F(L_0, __this, NULL);
|
|
// if (nodes == null || nodes.Length == 0) return;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_1 = __this->___nodes_48;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_2 = __this->___nodes_48;
|
|
NullCheck(L_2);
|
|
if ((((RuntimeArray*)L_2)->max_length))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// if (nodes == null || nodes.Length == 0) return;
|
|
return;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// if (width*depth != nodes.Length) {
|
|
int32_t L_3 = __this->___width_13;
|
|
int32_t L_4 = __this->___depth_14;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_5 = __this->___nodes_48;
|
|
NullCheck(L_5);
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_multiply(L_3, L_4))) == ((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))))
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Node data did not match with bounds data. Probably a change to the bounds/width/depth data was made after scanning the graph just prior to saving it. Nodes will be discarded");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralE9AE4413482A84EE59C945089E083F66D6268C7B, NULL);
|
|
// nodes = new GridNode[0];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_6 = (GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)SZArrayNew(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
__this->___nodes_48 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodes_48), (void*)L_6);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
V_0 = 0;
|
|
goto IL_00a1;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// for (int x = 0; x < width; x++) {
|
|
V_1 = 0;
|
|
goto IL_0094;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// var node = nodes[z*width+x];
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_7 = __this->___nodes_48;
|
|
int32_t L_8 = V_0;
|
|
int32_t L_9 = __this->___width_13;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_11 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_8, L_9)), L_10));
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_12 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
V_2 = L_12;
|
|
// if (node == null) {
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_13 = V_2;
|
|
if (L_13)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Deserialization Error : Couldn't cast the node to the appropriate type - GridGenerator");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral352CA5E54BF288BE8B7463C579B9FA392A6A2F7A, NULL);
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// node.NodeInGridIndex = z*width+x;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_14 = V_2;
|
|
int32_t L_15 = V_0;
|
|
int32_t L_16 = __this->___width_13;
|
|
int32_t L_17 = V_1;
|
|
NullCheck(L_14);
|
|
GridNodeBase_set_NodeInGridIndex_m80DEAF4A350036BF760A8809418A070CFDD9F368(L_14, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_15, L_16)), L_17)), NULL);
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_18 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_18, 1));
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_19 = V_1;
|
|
int32_t L_20 = __this->___width_13;
|
|
if ((((int32_t)L_19) < ((int32_t)L_20)))
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_21 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_22 = V_0;
|
|
int32_t L_23 = __this->___depth_14;
|
|
if ((((int32_t)L_22) < ((int32_t)L_23)))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GridGraph__cctor_mF37F698BC671FF89B80594493FD452854DB3C445 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____BFBA791F735BFF63C9322E3B0899DB6888479355D21BE5F656C57CFA7EB87BD8_1_FieldInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public static readonly float StandardIsometricAngle = 90-Mathf.Atan(1/Mathf.Sqrt(2))*Mathf.Rad2Deg;
|
|
float L_0;
|
|
L_0 = sqrtf((2.0f));
|
|
float L_1;
|
|
L_1 = atanf(((float)((1.0f)/L_0)));
|
|
((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___StandardIsometricAngle_17 = ((float)il2cpp_codegen_subtract((90.0f), ((float)il2cpp_codegen_multiply(L_1, (57.2957802f)))));
|
|
// public static readonly float StandardDimetricAngle = Mathf.Acos(1/2f)*Mathf.Rad2Deg;
|
|
float L_2;
|
|
L_2 = acosf((0.5f));
|
|
((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___StandardDimetricAngle_18 = ((float)il2cpp_codegen_multiply(L_2, (57.2957802f)));
|
|
// internal static readonly int[] hexagonNeighbourIndices = { 0, 1, 5, 2, 3, 7 };
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)6);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = L_3;
|
|
RuntimeFieldHandle_t6E4C45B6D2EA12FC99185805A7E77527899B25C5 L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t96C3467432BCBA53327BCA69F3498356FA455EDC____BFBA791F735BFF63C9322E3B0899DB6888479355D21BE5F656C57CFA7EB87BD8_1_FieldInfo_var) };
|
|
RuntimeHelpers_InitializeArray_m751372AA3F24FBF6DA9B9D687CBFA2DE436CAB9B((RuntimeArray*)L_4, L_5, NULL);
|
|
((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_StaticFields*)il2cpp_codegen_static_fields_for(GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC_il2cpp_TypeInfo_var))->___hexagonNeighbourIndices_46), (void*)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.Void Pathfinding.GridGraph/<>c::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_mCFFF640DD37B09CC1E3385F4248399FBA826E4AB (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9* L_0 = (U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9*)il2cpp_codegen_object_new(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__ctor_mC0FF2AE3DFA2642617E458513D30E66A0D1A3844(L_0, NULL);
|
|
((U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var))->___U3CU3E9_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9_il2cpp_TypeInfo_var))->___U3CU3E9_0), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph/<>c::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mC0FF2AE3DFA2642617E458513D30E66A0D1A3844 (U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph/<>c::<DestroyAllNodes>b__1_0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3CDestroyAllNodesU3Eb__1_0_m7C53C16C192978C034BBB92D31054761039F1D22 (U3CU3Ec_t8F46E4A085DFBE65AAEF5A780433146E931C77E9* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// (node as GridNodeBase).ClearCustomConnections(true);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
NullCheck(((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)IsInstClass((RuntimeObject*)L_0, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var)));
|
|
GridNodeBase_ClearCustomConnections_mDEFE7C5C9365D28C7ACF91DDA765F4E0D1C5B12D(((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)IsInstClass((RuntimeObject*)L_0, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var)), (bool)1, NULL);
|
|
// node.ClearConnections(false);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_1 = ___0_node;
|
|
NullCheck(L_1);
|
|
VirtualActionInvoker1< bool >::Invoke(8 /* System.Void Pathfinding.GraphNode::ClearConnections(System.Boolean) */, L_1, (bool)0);
|
|
// node.Destroy();
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_2);
|
|
GraphNode_Destroy_mDA77B05D323D3821AAE1CB7DE44F9DD48823C41D(L_2, 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 Pathfinding.GridGraph/<>c__DisplayClass61_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass61_0__ctor_m1596246DC0BCF083A124C59DC7E8949BA920F369 (U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph/<>c__DisplayClass61_0::<RelocateNodes>b__0(Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass61_0_U3CRelocateNodesU3Eb__0_mB971DC2795D35D5ADCAC78063EB1DCEDB013360F (U3CU3Ec__DisplayClass61_0_t4DEF42272DFE9F9A1278DD6910D10A43233E087D* __this, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___0_node, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
{
|
|
// var gnode = node as GridNodeBase;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_0 = ___0_node;
|
|
V_0 = ((GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25*)IsInstClass((RuntimeObject*)L_0, GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25_il2cpp_TypeInfo_var));
|
|
// var height = previousTransform.InverseTransform((Vector3)node.position).y;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_1 = __this->___previousTransform_0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_2 = ___0_node;
|
|
NullCheck(L_2);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_3 = L_2->___position_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_3, NULL);
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_1, L_4, NULL);
|
|
float L_6 = L_5.___y_3;
|
|
V_1 = L_6;
|
|
// node.position = GraphPointToWorld(gnode.XCoordinateInGrid, gnode.ZCoordinateInGrid, height);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_7 = ___0_node;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_8 = __this->___U3CU3E4__this_1;
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = GridNodeBase_get_XCoordinateInGrid_m04C635EDF95D5B9B5EB79102FF0058A347B0A0D9(L_9, NULL);
|
|
GridNodeBase_t14EB979992E239455DD5FF5F88B142C0EE146B25* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = GridNodeBase_get_ZCoordinateInGrid_mE095CC84E83924713E966E9CB4785300A03376EA(L_11, NULL);
|
|
float L_13 = V_1;
|
|
NullCheck(L_8);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_14;
|
|
L_14 = GridGraph_GraphPointToWorld_m5BC2E2993E52AA4FCA07834F1C342B4CB3F80607(L_8, L_10, L_12, L_13, NULL);
|
|
NullCheck(L_7);
|
|
L_7->___position_7 = L_14;
|
|
// });
|
|
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 Pathfinding.GridGraph/<ScanInternal>d__88::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__88__ctor_mD84F86AE3ACDBEF007981F0E14F5B46FBC27A3A9 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __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 Pathfinding.GridGraph/<ScanInternal>d__88::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__88_System_IDisposable_Dispose_mB61C9AE27F95D89EF692859D1B82ABD3E9F6828E (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean Pathfinding.GridGraph/<ScanInternal>d__88::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CScanInternalU3Ed__88_MoveNext_mB7D8F97B902603D452EE4BD8965EA46EB90CB561 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral06D3F60B399DCA8172E7964E814A35D2D0ACEC50);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6A8A7D4CD591C496AFAF0CDD3AFDC871A6D1756B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7972F1CF5D85FE4E42994179236FCD1F90DB844D);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB633EF12F6DE897FC342FEE571AF00BA88D59A6B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFB2B20364FF75B0DEC3AB6A5BD65ABF3CECB0C75);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_1 = __this->___U3CU3E4__this_3;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
switch (L_2)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_009c;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_019d;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_025d;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_02db;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// if (nodeSize <= 0) {
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_3 = V_1;
|
|
NullCheck(L_3);
|
|
float L_4 = L_3->___nodeSize_23;
|
|
if ((!(((float)L_4) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// yield break;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// UpdateTransform();
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_5 = V_1;
|
|
NullCheck(L_5);
|
|
GridGraph_UpdateTransform_m9BA7A9D16EA9221C2E30D94927ADDC61D563AD21(L_5, NULL);
|
|
// if (width > 1024 || depth > 1024) {
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___width_13;
|
|
if ((((int32_t)L_7) > ((int32_t)((int32_t)1024))))
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_8 = V_1;
|
|
NullCheck(L_8);
|
|
int32_t L_9 = L_8->___depth_14;
|
|
if ((((int32_t)L_9) <= ((int32_t)((int32_t)1024))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// Debug.LogError("One of the grid's sides is longer than 1024 nodes");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral7972F1CF5D85FE4E42994179236FCD1F90DB844D, NULL);
|
|
// yield break;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// SetUpOffsetsAndCosts();
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_10 = V_1;
|
|
NullCheck(L_10);
|
|
VirtualActionInvoker0::Invoke(33 /* System.Void Pathfinding.GridGraph::SetUpOffsetsAndCosts() */, L_10);
|
|
// GridNode.SetGridGraph((int)graphIndex, this);
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_11 = V_1;
|
|
NullCheck(L_11);
|
|
uint32_t L_12 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)L_11)->___graphIndex_4;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_13 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
GridNode_SetGridGraph_m2CCB8816869CD881A613914B8E34E553B4C4710F(L_12, L_13, NULL);
|
|
// yield return new Progress(0.05f, "Creating nodes");
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_14;
|
|
memset((&L_14), 0, sizeof(L_14));
|
|
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_14), (0.0500000007f), _stringLiteral06D3F60B399DCA8172E7964E814A35D2D0ACEC50, /*hidden argument*/NULL);
|
|
__this->___U3CU3E2__current_1 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_009c:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// nodes = new GridNode[width*depth];
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_15 = V_1;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_16 = V_1;
|
|
NullCheck(L_16);
|
|
int32_t L_17 = L_16->___width_13;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_18 = V_1;
|
|
NullCheck(L_18);
|
|
int32_t L_19 = L_18->___depth_14;
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_20 = (GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA*)SZArrayNew(GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply(L_17, L_19)));
|
|
NullCheck(L_15);
|
|
L_15->___nodes_48 = L_20;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_15->___nodes_48), (void*)L_20);
|
|
// for (int z = 0; z < depth; z++) {
|
|
V_2 = 0;
|
|
goto IL_010c;
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
// for (int x = 0; x < width; x++) {
|
|
V_3 = 0;
|
|
goto IL_00ff;
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// var index = z*width+x;
|
|
int32_t L_21 = V_2;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_22 = V_1;
|
|
NullCheck(L_22);
|
|
int32_t L_23 = L_22->___width_13;
|
|
int32_t L_24 = V_3;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_21, L_23)), L_24));
|
|
// var node = nodes[index] = new GridNode(active);
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_25 = V_1;
|
|
NullCheck(L_25);
|
|
GridNodeU5BU5D_t2ABDACEFB77FEDB5B6280E7E702AA02652B078EA* L_26 = L_25->___nodes_48;
|
|
int32_t L_27 = V_4;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_28 = V_1;
|
|
NullCheck(L_28);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_29 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)L_28)->___active_0;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_30 = (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)il2cpp_codegen_object_new(GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578_il2cpp_TypeInfo_var);
|
|
NullCheck(L_30);
|
|
GridNode__ctor_m49A61AAAE3D00861021A696392EAFDA03599B283(L_30, L_29, NULL);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_31 = L_30;
|
|
V_5 = L_31;
|
|
NullCheck(L_26);
|
|
ArrayElementTypeCheck (L_26, L_31);
|
|
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(L_27), (GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578*)L_31);
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_32 = V_5;
|
|
// node.GraphIndex = graphIndex;
|
|
GridNode_tBD83FB7E2A801649346F67707FD2EE7984BD5578* L_33 = L_32;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_34 = V_1;
|
|
NullCheck(L_34);
|
|
uint32_t L_35 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)L_34)->___graphIndex_4;
|
|
NullCheck(L_33);
|
|
GraphNode_set_GraphIndex_m9B2794336E89B1606DDA06CE9042A64BC06BCCEF(L_33, L_35, NULL);
|
|
// node.NodeInGridIndex = index;
|
|
int32_t L_36 = V_4;
|
|
NullCheck(L_33);
|
|
GridNodeBase_set_NodeInGridIndex_m80DEAF4A350036BF760A8809418A070CFDD9F368(L_33, L_36, NULL);
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_37 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00ff:
|
|
{
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_38 = V_3;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_39 = V_1;
|
|
NullCheck(L_39);
|
|
int32_t L_40 = L_39->___width_13;
|
|
if ((((int32_t)L_38) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_00c3;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_41 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_41, 1));
|
|
}
|
|
|
|
IL_010c:
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_42 = V_2;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_43 = V_1;
|
|
NullCheck(L_43);
|
|
int32_t L_44 = L_43->___depth_14;
|
|
if ((((int32_t)L_42) < ((int32_t)L_44)))
|
|
{
|
|
goto IL_00bf;
|
|
}
|
|
}
|
|
{
|
|
// if (collision == null) {
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_45 = V_1;
|
|
NullCheck(L_45);
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_46 = L_45->___collision_24;
|
|
if (L_46)
|
|
{
|
|
goto IL_0128;
|
|
}
|
|
}
|
|
{
|
|
// collision = new GraphCollision();
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_47 = V_1;
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_48 = (GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9*)il2cpp_codegen_object_new(GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_48);
|
|
GraphCollision__ctor_mD0D746B70FD873393EB5D6138F160B4F208AD5DD(L_48, NULL);
|
|
NullCheck(L_47);
|
|
L_47->___collision_24 = L_48;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_47->___collision_24), (void*)L_48);
|
|
}
|
|
|
|
IL_0128:
|
|
{
|
|
// collision.Initialize(transform, nodeSize);
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_49 = V_1;
|
|
NullCheck(L_49);
|
|
GraphCollision_t75C1828791BCCA26157554D6C26DF34D48BD40A9* L_50 = L_49->___collision_24;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_51 = V_1;
|
|
NullCheck(L_51);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_52;
|
|
L_52 = GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline(L_51, NULL);
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_53 = V_1;
|
|
NullCheck(L_53);
|
|
float L_54 = L_53->___nodeSize_23;
|
|
NullCheck(L_50);
|
|
GraphCollision_Initialize_mB72C0C6794B3D2CD60E46238A425EB9FBE5EFB30(L_50, L_52, L_54, NULL);
|
|
// int progressCounter = 0;
|
|
__this->___U3CprogressCounterU3E5__2_4 = 0;
|
|
// for (int z = 0; z < depth; z++) {
|
|
__this->___U3CzU3E5__3_5 = 0;
|
|
goto IL_01ee;
|
|
}
|
|
|
|
IL_0152:
|
|
{
|
|
// if (progressCounter >= YieldEveryNNodes) {
|
|
int32_t L_55 = __this->___U3CprogressCounterU3E5__2_4;
|
|
if ((((int32_t)L_55) < ((int32_t)((int32_t)1000))))
|
|
{
|
|
goto IL_01a4;
|
|
}
|
|
}
|
|
{
|
|
// progressCounter = 0;
|
|
__this->___U3CprogressCounterU3E5__2_4 = 0;
|
|
// yield return new Progress(Mathf.Lerp(0.1f, 0.7f, z/(float)depth), "Calculating positions");
|
|
int32_t L_56 = __this->___U3CzU3E5__3_5;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_57 = V_1;
|
|
NullCheck(L_57);
|
|
int32_t L_58 = L_57->___depth_14;
|
|
float L_59;
|
|
L_59 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.100000001f), (0.699999988f), ((float)(((float)L_56)/((float)L_58))), NULL);
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_60;
|
|
memset((&L_60), 0, sizeof(L_60));
|
|
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_60), L_59, _stringLiteralFB2B20364FF75B0DEC3AB6A5BD65ABF3CECB0C75, /*hidden argument*/NULL);
|
|
__this->___U3CU3E2__current_1 = L_60;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 2;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_019d:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_01a4:
|
|
{
|
|
// progressCounter += width;
|
|
int32_t L_61 = __this->___U3CprogressCounterU3E5__2_4;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_62 = V_1;
|
|
NullCheck(L_62);
|
|
int32_t L_63 = L_62->___width_13;
|
|
__this->___U3CprogressCounterU3E5__2_4 = ((int32_t)il2cpp_codegen_add(L_61, L_63));
|
|
// for (int x = 0; x < width; x++) {
|
|
V_6 = 0;
|
|
goto IL_01d2;
|
|
}
|
|
|
|
IL_01bc:
|
|
{
|
|
// RecalculateCell(x, z);
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_64 = V_1;
|
|
int32_t L_65 = V_6;
|
|
int32_t L_66 = __this->___U3CzU3E5__3_5;
|
|
NullCheck(L_64);
|
|
VirtualActionInvoker4< int32_t, int32_t, bool, bool >::Invoke(35 /* System.Void Pathfinding.GridGraph::RecalculateCell(System.Int32,System.Int32,System.Boolean,System.Boolean) */, L_64, L_65, L_66, (bool)1, (bool)1);
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_67 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_67, 1));
|
|
}
|
|
|
|
IL_01d2:
|
|
{
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_68 = V_6;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_69 = V_1;
|
|
NullCheck(L_69);
|
|
int32_t L_70 = L_69->___width_13;
|
|
if ((((int32_t)L_68) < ((int32_t)L_70)))
|
|
{
|
|
goto IL_01bc;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_71 = __this->___U3CzU3E5__3_5;
|
|
V_7 = L_71;
|
|
int32_t L_72 = V_7;
|
|
__this->___U3CzU3E5__3_5 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_01ee:
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_73 = __this->___U3CzU3E5__3_5;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_74 = V_1;
|
|
NullCheck(L_74);
|
|
int32_t L_75 = L_74->___depth_14;
|
|
if ((((int32_t)L_73) < ((int32_t)L_75)))
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
// progressCounter = 0;
|
|
__this->___U3CprogressCounterU3E5__2_4 = 0;
|
|
// for (int z = 0; z < depth; z++) {
|
|
__this->___U3CzU3E5__3_5 = 0;
|
|
goto IL_02ac;
|
|
}
|
|
|
|
IL_0212:
|
|
{
|
|
// if (progressCounter >= YieldEveryNNodes) {
|
|
int32_t L_76 = __this->___U3CprogressCounterU3E5__2_4;
|
|
if ((((int32_t)L_76) < ((int32_t)((int32_t)1000))))
|
|
{
|
|
goto IL_0264;
|
|
}
|
|
}
|
|
{
|
|
// progressCounter = 0;
|
|
__this->___U3CprogressCounterU3E5__2_4 = 0;
|
|
// yield return new Progress(Mathf.Lerp(0.7f, 0.9f, z/(float)depth), "Calculating connections");
|
|
int32_t L_77 = __this->___U3CzU3E5__3_5;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_78 = V_1;
|
|
NullCheck(L_78);
|
|
int32_t L_79 = L_78->___depth_14;
|
|
float L_80;
|
|
L_80 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.699999988f), (0.899999976f), ((float)(((float)L_77)/((float)L_79))), NULL);
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_81;
|
|
memset((&L_81), 0, sizeof(L_81));
|
|
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_81), L_80, _stringLiteralB633EF12F6DE897FC342FEE571AF00BA88D59A6B, /*hidden argument*/NULL);
|
|
__this->___U3CU3E2__current_1 = L_81;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 3;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_025d:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
}
|
|
|
|
IL_0264:
|
|
{
|
|
// progressCounter += width;
|
|
int32_t L_82 = __this->___U3CprogressCounterU3E5__2_4;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_83 = V_1;
|
|
NullCheck(L_83);
|
|
int32_t L_84 = L_83->___width_13;
|
|
__this->___U3CprogressCounterU3E5__2_4 = ((int32_t)il2cpp_codegen_add(L_82, L_84));
|
|
// for (int x = 0; x < width; x++) {
|
|
V_8 = 0;
|
|
goto IL_0290;
|
|
}
|
|
|
|
IL_027c:
|
|
{
|
|
// CalculateConnections(x, z);
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_85 = V_1;
|
|
int32_t L_86 = V_8;
|
|
int32_t L_87 = __this->___U3CzU3E5__3_5;
|
|
NullCheck(L_85);
|
|
VirtualActionInvoker2< int32_t, int32_t >::Invoke(41 /* System.Void Pathfinding.GridGraph::CalculateConnections(System.Int32,System.Int32) */, L_85, L_86, L_87);
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_88 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_88, 1));
|
|
}
|
|
|
|
IL_0290:
|
|
{
|
|
// for (int x = 0; x < width; x++) {
|
|
int32_t L_89 = V_8;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_90 = V_1;
|
|
NullCheck(L_90);
|
|
int32_t L_91 = L_90->___width_13;
|
|
if ((((int32_t)L_89) < ((int32_t)L_91)))
|
|
{
|
|
goto IL_027c;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_92 = __this->___U3CzU3E5__3_5;
|
|
V_7 = L_92;
|
|
int32_t L_93 = V_7;
|
|
__this->___U3CzU3E5__3_5 = ((int32_t)il2cpp_codegen_add(L_93, 1));
|
|
}
|
|
|
|
IL_02ac:
|
|
{
|
|
// for (int z = 0; z < depth; z++) {
|
|
int32_t L_94 = __this->___U3CzU3E5__3_5;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_95 = V_1;
|
|
NullCheck(L_95);
|
|
int32_t L_96 = L_95->___depth_14;
|
|
if ((((int32_t)L_94) < ((int32_t)L_96)))
|
|
{
|
|
goto IL_0212;
|
|
}
|
|
}
|
|
{
|
|
// yield return new Progress(0.95f, "Calculating erosion");
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_97;
|
|
memset((&L_97), 0, sizeof(L_97));
|
|
Progress__ctor_m8BC684F39818E3E62C1F46D208B3BA661F15A56A((&L_97), (0.949999988f), _stringLiteral6A8A7D4CD591C496AFAF0CDD3AFDC871A6D1756B, /*hidden argument*/NULL);
|
|
__this->___U3CU3E2__current_1 = L_97;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&__this->___U3CU3E2__current_1))->___description_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 4;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_02db:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// ErodeWalkableArea();
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_98 = V_1;
|
|
NullCheck(L_98);
|
|
VirtualActionInvoker0::Invoke(37 /* System.Void Pathfinding.GridGraph::ErodeWalkableArea() */, L_98);
|
|
// }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// Pathfinding.Progress Pathfinding.GridGraph/<ScanInternal>d__88::System.Collections.Generic.IEnumerator<Pathfinding.Progress>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 U3CScanInternalU3Ed__88_System_Collections_Generic_IEnumeratorU3CPathfinding_ProgressU3E_get_Current_mBACF61A81459C241C3D893EA0C4AA3F4DB4E6BE1 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.GridGraph/<ScanInternal>d__88::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CScanInternalU3Ed__88_System_Collections_IEnumerator_Reset_m84B9309EC95F13C88087D2EE9B0865C195F8B326 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __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*)&U3CScanInternalU3Ed__88_System_Collections_IEnumerator_Reset_m84B9309EC95F13C88087D2EE9B0865C195F8B326_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object Pathfinding.GridGraph/<ScanInternal>d__88::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__88_System_Collections_IEnumerator_get_Current_mF3A33E318FA13AABBDCF736B10763B31B9BDB9AF (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_0 = __this->___U3CU3E2__current_1;
|
|
Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8 L_1 = L_0;
|
|
RuntimeObject* L_2 = Box(Progress_t404CF105408E90B2FEBD97A0E6D340A13AE302C8_il2cpp_TypeInfo_var, &L_1);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Collections.Generic.IEnumerator`1<Pathfinding.Progress> Pathfinding.GridGraph/<ScanInternal>d__88::System.Collections.Generic.IEnumerable<Pathfinding.Progress>.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__88_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_m2D8570149884AFCDC2CDD50699DACBD1DE7AF704 (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* 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_0035;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* L_3 = (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB*)il2cpp_codegen_object_new(U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
U3CScanInternalU3Ed__88__ctor_mD84F86AE3ACDBEF007981F0E14F5B46FBC27A3A9(L_3, 0, NULL);
|
|
V_0 = L_3;
|
|
U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* L_4 = V_0;
|
|
GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* L_5 = __this->___U3CU3E4__this_3;
|
|
NullCheck(L_4);
|
|
L_4->___U3CU3E4__this_3 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___U3CU3E4__this_3), (void*)L_5);
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Collections.IEnumerator Pathfinding.GridGraph/<ScanInternal>d__88::System.Collections.IEnumerable.GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CScanInternalU3Ed__88_System_Collections_IEnumerable_GetEnumerator_m2706753BC21C18B56EB53D0E0489F72C8F60954A (U3CScanInternalU3Ed__88_tD59E3A165942096B16DCB821BE809D46EEB0E5FB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0;
|
|
L_0 = U3CScanInternalU3Ed__88_System_Collections_Generic_IEnumerableU3CPathfinding_ProgressU3E_GetEnumerator_m2D8570149884AFCDC2CDD50699DACBD1DE7AF704(__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
|
|
#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
|
|
// Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::Pathfinding.ITransformedGraph.get_transform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* NavmeshBase_Pathfinding_ITransformedGraph_get_transform_m93278676E6699146DA1457FC9D16B9CCD59DCDE4 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// GraphTransform ITransformedGraph.transform { get { return transform; } }
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___transform_27;
|
|
return L_0;
|
|
}
|
|
}
|
|
// Pathfinding.NavmeshTile Pathfinding.NavmeshBase::GetTile(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* NavmeshBase_GetTile_mD94F785359795C4760F72CF31111898D65B607C3 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return tiles[x + z * tileXCount];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
int32_t L_1 = ___0_x;
|
|
int32_t L_2 = ___1_z;
|
|
int32_t L_3 = __this->___tileXCount_18;
|
|
NullCheck(L_0);
|
|
int32_t L_4 = ((int32_t)il2cpp_codegen_add(L_1, ((int32_t)il2cpp_codegen_multiply(L_2, L_3))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
return L_5;
|
|
}
|
|
}
|
|
// Pathfinding.Int3 Pathfinding.NavmeshBase::GetVertex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 NavmeshBase_GetVertex_mDCF2189E306A1B39264C0C5AF1B7190C1B2E7123 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int tileIndex = (index >> TileIndexOffset) & TileIndexMask;
|
|
int32_t L_0 = ___0_index;
|
|
V_0 = ((int32_t)(((int32_t)(L_0>>((int32_t)12)))&((int32_t)524287)));
|
|
// return tiles[tileIndex].GetVertex(index);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_1 = __this->___tiles_20;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
int32_t L_5 = ___0_index;
|
|
NullCheck(L_4);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6;
|
|
L_6 = NavmeshTile_GetVertex_mBFCEA6E7A688A93C762655604E4057B1F80B8ED7(L_4, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// Pathfinding.Int3 Pathfinding.NavmeshBase::GetVertexInGraphSpace(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 NavmeshBase_GetVertexInGraphSpace_mEF81ED88D6221EDA89056F5F107D32ECA2A4E3F4 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int tileIndex = (index >> TileIndexOffset) & TileIndexMask;
|
|
int32_t L_0 = ___0_index;
|
|
V_0 = ((int32_t)(((int32_t)(L_0>>((int32_t)12)))&((int32_t)524287)));
|
|
// return tiles[tileIndex].GetVertexInGraphSpace(index);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_1 = __this->___tiles_20;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
int32_t L_5 = ___0_index;
|
|
NullCheck(L_4);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_6;
|
|
L_6 = NavmeshTile_GetVertexInGraphSpace_mB6875DBDB21105EB809289CDFA62B88AFB48C739(L_4, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.NavmeshBase::GetTileIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavmeshBase_GetTileIndex_m5BA0E51B81DCBED47168E68DB4C88AF0BA99D7B1 (int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (index >> TileIndexOffset) & TileIndexMask;
|
|
int32_t L_0 = ___0_index;
|
|
return ((int32_t)(((int32_t)(L_0>>((int32_t)12)))&((int32_t)524287)));
|
|
}
|
|
}
|
|
// System.Int32 Pathfinding.NavmeshBase::GetVertexArrayIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NavmeshBase_GetVertexArrayIndex_m218808427E81550B510510B88E55CB68DDCBFBDE (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return index & VertexIndexMask;
|
|
int32_t L_0 = ___0_index;
|
|
return ((int32_t)(L_0&((int32_t)4095)));
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::GetTileCoordinates(System.Int32,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_GetTileCoordinates_m3C22F76F93DF194FE7CFE94964335348CE41A1E3 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_tileIndex, int32_t* ___1_x, int32_t* ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// z = tileIndex/tileXCount;
|
|
int32_t* L_0 = ___2_z;
|
|
int32_t L_1 = ___0_tileIndex;
|
|
int32_t L_2 = __this->___tileXCount_18;
|
|
*((int32_t*)L_0) = (int32_t)((int32_t)(L_1/L_2));
|
|
// x = tileIndex - z*tileXCount;
|
|
int32_t* L_3 = ___1_x;
|
|
int32_t L_4 = ___0_tileIndex;
|
|
int32_t* L_5 = ___2_z;
|
|
int32_t L_6 = *((int32_t*)L_5);
|
|
int32_t L_7 = __this->___tileXCount_18;
|
|
*((int32_t*)L_3) = (int32_t)((int32_t)il2cpp_codegen_subtract(L_4, ((int32_t)il2cpp_codegen_multiply(L_6, L_7))));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.NavmeshTile[] Pathfinding.NavmeshBase::GetTiles()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* NavmeshBase_GetTiles_mE53F498B8DD07FEF263AF80007D5C18D70CF73A8 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return tiles;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
return L_0;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds Pathfinding.NavmeshBase::GetTileBounds(Pathfinding.IntRect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 NavmeshBase_GetTileBounds_m9F38253E2356CE6B144F5C18776467956B7D06FB (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetTileBounds(rect.xmin, rect.ymin, rect.Width, rect.Height);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_0 = ___0_rect;
|
|
int32_t L_1 = L_0.___xmin_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_2 = ___0_rect;
|
|
int32_t L_3 = L_2.___ymin_1;
|
|
int32_t L_4;
|
|
L_4 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&___0_rect), NULL);
|
|
int32_t L_5;
|
|
L_5 = IntRect_get_Height_m8F1FAE617C491964F4C2E4D873F04C27ACE7EDB6((&___0_rect), NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_6;
|
|
L_6 = NavmeshBase_GetTileBounds_m7D1EC5DA5A0D73442D2A6582D2834251C144BBF2(__this, L_1, L_3, L_4, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds Pathfinding.NavmeshBase::GetTileBounds(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 NavmeshBase_GetTileBounds_m7D1EC5DA5A0D73442D2A6582D2834251C144BBF2 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, int32_t ___2_width, int32_t ___3_depth, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return transform.Transform(GetTileBoundsInGraphSpace(x, z, width, depth));
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___transform_27;
|
|
int32_t L_1 = ___0_x;
|
|
int32_t L_2 = ___1_z;
|
|
int32_t L_3 = ___2_width;
|
|
int32_t L_4 = ___3_depth;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_5;
|
|
L_5 = NavmeshBase_GetTileBoundsInGraphSpace_mE0D02B715CF5F315B1A1383038CFCB95BB5E4018(__this, L_1, L_2, L_3, L_4, NULL);
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_6;
|
|
L_6 = GraphTransform_Transform_m1410298EA9E313C081437E9056B5E7C5B089EEA1(L_0, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds Pathfinding.NavmeshBase::GetTileBoundsInGraphSpace(Pathfinding.IntRect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 NavmeshBase_GetTileBoundsInGraphSpace_mD1A6FA50ADEE60DBAE0F84585DF3CCE39BF704B3 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 ___0_rect, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetTileBoundsInGraphSpace(rect.xmin, rect.ymin, rect.Width, rect.Height);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_0 = ___0_rect;
|
|
int32_t L_1 = L_0.___xmin_0;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_2 = ___0_rect;
|
|
int32_t L_3 = L_2.___ymin_1;
|
|
int32_t L_4;
|
|
L_4 = IntRect_get_Width_m9EA6709E7015866BC23F2C686A873E772AA1ACA2((&___0_rect), NULL);
|
|
int32_t L_5;
|
|
L_5 = IntRect_get_Height_m8F1FAE617C491964F4C2E4D873F04C27ACE7EDB6((&___0_rect), NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_6;
|
|
L_6 = NavmeshBase_GetTileBoundsInGraphSpace_mE0D02B715CF5F315B1A1383038CFCB95BB5E4018(__this, L_1, L_3, L_4, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds Pathfinding.NavmeshBase::GetTileBoundsInGraphSpace(System.Int32,System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 NavmeshBase_GetTileBoundsInGraphSpace_mE0D02B715CF5F315B1A1383038CFCB95BB5E4018 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, int32_t ___2_width, int32_t ___3_depth, const RuntimeMethod* method)
|
|
{
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// var b = new Bounds();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
|
|
// b.SetMinMax(
|
|
// new Vector3(x*TileWorldSizeX, 0, z*TileWorldSizeZ),
|
|
// new Vector3((x+width)*TileWorldSizeX, forcedBoundsSize.y, (z+depth)*TileWorldSizeZ)
|
|
// );
|
|
int32_t L_0 = ___0_x;
|
|
float L_1;
|
|
L_1 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_2 = ___1_z;
|
|
float L_3;
|
|
L_3 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), ((float)il2cpp_codegen_multiply(((float)L_0), L_1)), (0.0f), ((float)il2cpp_codegen_multiply(((float)L_2), L_3)), /*hidden argument*/NULL);
|
|
int32_t L_5 = ___0_x;
|
|
int32_t L_6 = ___2_width;
|
|
float L_7;
|
|
L_7 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_8 = (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)(&__this->___forcedBoundsSize_14);
|
|
float L_9 = L_8->___y_3;
|
|
int32_t L_10 = ___1_z;
|
|
int32_t L_11 = ___3_depth;
|
|
float L_12;
|
|
L_12 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_13), ((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(L_5, L_6))), L_7)), L_9, ((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(L_10, L_11))), L_12)), /*hidden argument*/NULL);
|
|
Bounds_SetMinMax_mB5F7DDF18EDB7F3F25FA6D2B36824F28978C540F((&V_0), L_4, L_13, NULL);
|
|
// return b;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_14 = V_0;
|
|
return L_14;
|
|
}
|
|
}
|
|
// Pathfinding.Int2 Pathfinding.NavmeshBase::GetTileCoordinates(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int2_tA237834D44F8B70CEF05461E599DAE1137180731 NavmeshBase_GetTileCoordinates_m453BD8D644FECE41B7E29BEF0AA9D1EE50FF67CF (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// position = transform.InverseTransform(position);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___transform_27;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_position;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = GraphTransform_InverseTransform_m8D3A0C8CC63C5AFB3CABF55EBF294577A7697DF0(L_0, L_1, NULL);
|
|
___0_position = L_2;
|
|
// position.x /= TileWorldSizeX;
|
|
float* L_3 = (float*)(&(&___0_position)->___x_2);
|
|
float* L_4 = L_3;
|
|
float L_5 = *((float*)L_4);
|
|
float L_6;
|
|
L_6 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
*((float*)L_4) = (float)((float)(L_5/L_6));
|
|
// position.z /= TileWorldSizeZ;
|
|
float* L_7 = (float*)(&(&___0_position)->___z_4);
|
|
float* L_8 = L_7;
|
|
float L_9 = *((float*)L_8);
|
|
float L_10;
|
|
L_10 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
*((float*)L_8) = (float)((float)(L_9/L_10));
|
|
// return new Int2((int)position.x, (int)position.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_position;
|
|
float L_12 = L_11.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_position;
|
|
float L_14 = L_13.___z_4;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_15;
|
|
memset((&L_15), 0, sizeof(L_15));
|
|
Int2__ctor_m10E45E61E7A435B387D725D0278EC1FEB97CE284((&L_15), il2cpp_codegen_cast_double_to_int<int32_t>(L_12), il2cpp_codegen_cast_double_to_int<int32_t>(L_14), /*hidden argument*/NULL);
|
|
return L_15;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::OnDestroy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_OnDestroy_m3D451B7A2A7F6A5E521883184DF317FBFE2B6754 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// base.OnDestroy();
|
|
NavGraph_OnDestroy_m968A86AF2585EC3929586B733DE68CE929484EFC(__this, NULL);
|
|
// TriangleMeshNode.SetNavmeshHolder(active.data.GetGraphIndex(this), null);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_0 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_0);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_1 = L_0->___data_8;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = AstarData_GetGraphIndex_mEE39A9C890D7D44B139C86A4DF94AA0E171069C0(L_1, __this, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
TriangleMeshNode_SetNavmeshHolder_mFA2533EB627690E28F9394DFCDD8517D7C42200F(L_2, (RuntimeObject*)NULL, NULL);
|
|
// if (tiles != null) {
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_3 = __this->___tiles_20;
|
|
if (!L_3)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_003f;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// Pathfinding.Util.ObjectPool<BBTree>.Release(ref tiles[i].bbTree);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_4 = __this->___tiles_20;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
NullCheck(L_7);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E** L_8 = (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E**)(&L_7->___bbTree_8);
|
|
ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3(L_8, ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3_RuntimeMethod_var);
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
int32_t L_9 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
int32_t L_10 = V_0;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_11 = __this->___tiles_20;
|
|
NullCheck(L_11);
|
|
if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::RelocateNodes(UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_RelocateNodes_m2D718A138CA20C25EA9C50C1399441DB97794D84 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_deltaMatrix, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// RelocateNodes(deltaMatrix * transform);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ___0_deltaMatrix;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_1 = __this->___transform_27;
|
|
il2cpp_codegen_runtime_class_init_inline(GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_2;
|
|
L_2 = GraphTransform_op_Multiply_mA40B8CC890924EC9F7920B8FBBC48A024251C9F7(L_0, L_1, NULL);
|
|
NavmeshBase_RelocateNodes_mA893BE9E8CE84A96F3BCCDB9F434641AC2565727(__this, L_2, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::RelocateNodes(Pathfinding.Util.GraphTransform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_RelocateNodes_mA893BE9E8CE84A96F3BCCDB9F434641AC2565727 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_newTransform, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// transform = newTransform;
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = ___0_newTransform;
|
|
__this->___transform_27 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___transform_27), (void*)L_0);
|
|
// if (tiles != null) {
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_1 = __this->___tiles_20;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0082;
|
|
}
|
|
}
|
|
{
|
|
// for (int tileIndex = 0; tileIndex < tiles.Length; tileIndex++) {
|
|
V_0 = 0;
|
|
goto IL_0077;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// var tile = tiles[tileIndex];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_2 = __this->___tiles_20;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_1 = L_5;
|
|
// if (tile != null) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6 = V_1;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// tile.vertsInGraphSpace.CopyTo(tile.verts, 0);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_7 = V_1;
|
|
NullCheck(L_7);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_8 = L_7->___vertsInGraphSpace_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_9 = V_1;
|
|
NullCheck(L_9);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_10 = L_9->___verts_1;
|
|
NullCheck((RuntimeArray*)L_8);
|
|
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_8, (RuntimeArray*)L_10, 0, NULL);
|
|
// transform.Transform(tile.verts);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_11 = __this->___transform_27;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_12 = V_1;
|
|
NullCheck(L_12);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_13 = L_12->___verts_1;
|
|
NullCheck(L_11);
|
|
GraphTransform_Transform_m89864B9C7AAD43CD182434A6D79D245887D56E03(L_11, L_13, NULL);
|
|
// for (int nodeIndex = 0; nodeIndex < tile.nodes.Length; nodeIndex++) {
|
|
V_2 = 0;
|
|
goto IL_0057;
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// tile.nodes[nodeIndex].UpdatePositionFromVertices();
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_15 = L_14->___nodes_7;
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_18);
|
|
TriangleMeshNode_UpdatePositionFromVertices_m6CCA5F5853B69E596C4375E99B0CC141E577BC61(L_18, NULL);
|
|
// for (int nodeIndex = 0; nodeIndex < tile.nodes.Length; nodeIndex++) {
|
|
int32_t L_19 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_19, 1));
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// for (int nodeIndex = 0; nodeIndex < tile.nodes.Length; nodeIndex++) {
|
|
int32_t L_20 = V_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_21 = V_1;
|
|
NullCheck(L_21);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_22 = L_21->___nodes_7;
|
|
NullCheck(L_22);
|
|
if ((((int32_t)L_20) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
}
|
|
{
|
|
// tile.bbTree.RebuildFrom(tile.nodes);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_23 = V_1;
|
|
NullCheck(L_23);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_24 = L_23->___bbTree_8;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_25 = V_1;
|
|
NullCheck(L_25);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_26 = L_25->___nodes_7;
|
|
NullCheck(L_24);
|
|
BBTree_RebuildFrom_mDFA8828FEEB0A074733D3C8C72153A05E5747988(L_24, L_26, NULL);
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// for (int tileIndex = 0; tileIndex < tiles.Length; tileIndex++) {
|
|
int32_t L_27 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_27, 1));
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// for (int tileIndex = 0; tileIndex < tiles.Length; tileIndex++) {
|
|
int32_t L_28 = V_0;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_29 = __this->___tiles_20;
|
|
NullCheck(L_29);
|
|
if ((((int32_t)L_28) < ((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length)))))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
|
|
IL_0082:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.NavmeshTile Pathfinding.NavmeshBase::NewEmptyTile(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* NavmeshBase_NewEmptyTile_mA89DA614A405548C8D120B2787927D379AB83148 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, 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*)&Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return new NavmeshTile {
|
|
// x = x,
|
|
// z = z,
|
|
// w = 1,
|
|
// d = 1,
|
|
// verts = new Int3[0],
|
|
// vertsInGraphSpace = new Int3[0],
|
|
// tris = new int[0],
|
|
// nodes = new TriangleMeshNode[0],
|
|
// bbTree = ObjectPool<BBTree>.Claim(),
|
|
// graph = this,
|
|
// };
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_0 = (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)il2cpp_codegen_object_new(NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
NavmeshTile__ctor_mAA38CC4E0AFD8FE328F54E47D8A7922597B9165A(L_0, NULL);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_1 = L_0;
|
|
int32_t L_2 = ___0_x;
|
|
NullCheck(L_1);
|
|
L_1->___x_3 = L_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_3 = L_1;
|
|
int32_t L_4 = ___1_z;
|
|
NullCheck(L_3);
|
|
L_3->___z_4 = L_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = L_3;
|
|
NullCheck(L_5);
|
|
L_5->___w_5 = 1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6 = L_5;
|
|
NullCheck(L_6);
|
|
L_6->___d_6 = 1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_7 = L_6;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_8 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)SZArrayNew(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
NullCheck(L_7);
|
|
L_7->___verts_1 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_7->___verts_1), (void*)L_8);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_9 = L_7;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_10 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)SZArrayNew(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
NullCheck(L_9);
|
|
L_9->___vertsInGraphSpace_2 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_9->___vertsInGraphSpace_2), (void*)L_10);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_11 = L_9;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_12 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
NullCheck(L_11);
|
|
L_11->___tris_0 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_11->___tris_0), (void*)L_12);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_13 = L_11;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_14 = (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142*)(TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142*)SZArrayNew(TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
NullCheck(L_13);
|
|
L_13->___nodes_7 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_13->___nodes_7), (void*)L_14);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_15 = L_13;
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_16;
|
|
L_16 = ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284(ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var);
|
|
NullCheck(L_15);
|
|
L_15->___bbTree_8 = L_16;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_15->___bbTree_8), (void*)L_16);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_17 = L_15;
|
|
NullCheck(L_17);
|
|
L_17->___graph_10 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_17->___graph_10), (void*)__this);
|
|
return L_17;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::GetNodes(System.Action`1<Pathfinding.GraphNode>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_GetNodes_m8A0AF28D9D9CD3269DC29B571A1BD0B60BA6BA85 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* ___0_action, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (tiles == null) return;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (tiles == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_0068;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// if (tiles[i] == null || tiles[i].x+tiles[i].z*tileXCount != i) continue;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_1 = __this->___tiles_20;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
if (!L_4)
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_5 = __this->___tiles_20;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
NullCheck(L_8);
|
|
int32_t L_9 = L_8->___x_3;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_10 = __this->___tiles_20;
|
|
int32_t L_11 = V_0;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
NullCheck(L_13);
|
|
int32_t L_14 = L_13->___z_4;
|
|
int32_t L_15 = __this->___tileXCount_18;
|
|
int32_t L_16 = V_0;
|
|
if ((!(((uint32_t)((int32_t)il2cpp_codegen_add(L_9, ((int32_t)il2cpp_codegen_multiply(L_14, L_15))))) == ((uint32_t)L_16))))
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// TriangleMeshNode[] nodes = tiles[i].nodes;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_17 = __this->___tiles_20;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = L_18;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
NullCheck(L_20);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_21 = L_20->___nodes_7;
|
|
V_1 = L_21;
|
|
// if (nodes == null) continue;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_22 = V_1;
|
|
if (!L_22)
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < nodes.Length; j++) action(nodes[j]);
|
|
V_2 = 0;
|
|
goto IL_005e;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// for (int j = 0; j < nodes.Length; j++) action(nodes[j]);
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_23 = ___0_action;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_24 = V_1;
|
|
int32_t L_25 = V_2;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
NullCheck(L_23);
|
|
Action_1_Invoke_m767572A39CD9F2BD5B2673CD0C33A1B69DA49EA3_inline(L_23, L_27, NULL);
|
|
// for (int j = 0; j < nodes.Length; j++) action(nodes[j]);
|
|
int32_t L_28 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// for (int j = 0; j < nodes.Length; j++) action(nodes[j]);
|
|
int32_t L_29 = V_2;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_30 = V_1;
|
|
NullCheck(L_30);
|
|
if ((((int32_t)L_29) < ((int32_t)((int32_t)(((RuntimeArray*)L_30)->max_length)))))
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
int32_t L_31 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
}
|
|
|
|
IL_0068:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
int32_t L_32 = V_0;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_33 = __this->___tiles_20;
|
|
NullCheck(L_33);
|
|
if ((((int32_t)L_32) < ((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)))))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.IntRect Pathfinding.NavmeshBase::GetTouchingTiles(UnityEngine.Bounds,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 NavmeshBase_GetTouchingTiles_mF61F0683F3FC528B8E4C929C37352E0395E181B0 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, float ___1_margin, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// bounds = transform.InverseTransform(bounds);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___transform_27;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1 = ___0_bounds;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2;
|
|
L_2 = GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57(L_0, L_1, NULL);
|
|
___0_bounds = L_2;
|
|
// var r = new IntRect(Mathf.FloorToInt((bounds.min.x - margin) / TileWorldSizeX), Mathf.FloorToInt((bounds.min.z - margin) / TileWorldSizeZ), Mathf.FloorToInt((bounds.max.x + margin) / TileWorldSizeX), Mathf.FloorToInt((bounds.max.z + margin) / TileWorldSizeZ));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___0_bounds), NULL);
|
|
float L_4 = L_3.___x_2;
|
|
float L_5 = ___1_margin;
|
|
float L_6;
|
|
L_6 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_7;
|
|
L_7 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_4, L_5))/L_6)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___0_bounds), NULL);
|
|
float L_9 = L_8.___z_4;
|
|
float L_10 = ___1_margin;
|
|
float L_11;
|
|
L_11 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_12;
|
|
L_12 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_9, L_10))/L_11)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___0_bounds), NULL);
|
|
float L_14 = L_13.___x_2;
|
|
float L_15 = ___1_margin;
|
|
float L_16;
|
|
L_16 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_17;
|
|
L_17 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_add(L_14, L_15))/L_16)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___0_bounds), NULL);
|
|
float L_19 = L_18.___z_4;
|
|
float L_20 = ___1_margin;
|
|
float L_21;
|
|
L_21 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_22;
|
|
L_22 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_add(L_19, L_20))/L_21)), NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_23;
|
|
memset((&L_23), 0, sizeof(L_23));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_23), L_7, L_12, L_17, L_22, /*hidden argument*/NULL);
|
|
// r = IntRect.Intersection(r, new IntRect(0, 0, tileXCount-1, tileZCount-1));
|
|
int32_t L_24 = __this->___tileXCount_18;
|
|
int32_t L_25 = __this->___tileZCount_19;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_26;
|
|
memset((&L_26), 0, sizeof(L_26));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_26), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_24, 1)), ((int32_t)il2cpp_codegen_subtract(L_25, 1)), /*hidden argument*/NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_27;
|
|
L_27 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_23, L_26, NULL);
|
|
// return r;
|
|
return L_27;
|
|
}
|
|
}
|
|
// Pathfinding.IntRect Pathfinding.NavmeshBase::GetTouchingTilesInGraphSpace(UnityEngine.Rect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 NavmeshBase_GetTouchingTilesInGraphSpace_m68C9F41633F5327F253A88FB09FA3B6C9674AFD8 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_rect, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// var r = new IntRect(Mathf.FloorToInt(rect.xMin / TileWorldSizeX), Mathf.FloorToInt(rect.yMin / TileWorldSizeZ), Mathf.FloorToInt(rect.xMax / TileWorldSizeX), Mathf.FloorToInt(rect.yMax / TileWorldSizeZ));
|
|
float L_0;
|
|
L_0 = Rect_get_xMin_mE89C40702926D016A633399E20DB9501E251630D((&___0_rect), NULL);
|
|
float L_1;
|
|
L_1 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_2;
|
|
L_2 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_0/L_1)), NULL);
|
|
float L_3;
|
|
L_3 = Rect_get_yMin_mB19848FB25DE61EDF958F7A22CFDD86DE103062F((&___0_rect), NULL);
|
|
float L_4;
|
|
L_4 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_5;
|
|
L_5 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_3/L_4)), NULL);
|
|
float L_6;
|
|
L_6 = Rect_get_xMax_m2339C7D2FCDA98A9B007F815F6E2059BA6BE425F((&___0_rect), NULL);
|
|
float L_7;
|
|
L_7 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_8;
|
|
L_8 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_6/L_7)), NULL);
|
|
float L_9;
|
|
L_9 = Rect_get_yMax_mBC37BEE1CD632AADD8B9EAF9FE3BA143F79CAF8E((&___0_rect), NULL);
|
|
float L_10;
|
|
L_10 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_11;
|
|
L_11 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(L_9/L_10)), NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_12), L_2, L_5, L_8, L_11, /*hidden argument*/NULL);
|
|
// r = IntRect.Intersection(r, new IntRect(0, 0, tileXCount-1, tileZCount-1));
|
|
int32_t L_13 = __this->___tileXCount_18;
|
|
int32_t L_14 = __this->___tileZCount_19;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_15;
|
|
memset((&L_15), 0, sizeof(L_15));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_15), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_13, 1)), ((int32_t)il2cpp_codegen_subtract(L_14, 1)), /*hidden argument*/NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_16;
|
|
L_16 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_12, L_15, NULL);
|
|
// return r;
|
|
return L_16;
|
|
}
|
|
}
|
|
// Pathfinding.IntRect Pathfinding.NavmeshBase::GetTouchingTilesRound(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 NavmeshBase_GetTouchingTilesRound_mDE02FD9A4A605DF197F8B9B79F015722EE4FCA76 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// bounds = transform.InverseTransform(bounds);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___transform_27;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1 = ___0_bounds;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2;
|
|
L_2 = GraphTransform_InverseTransform_mD59EAFA011A69990FFEACC358D81BFDC31F2AC57(L_0, L_1, NULL);
|
|
___0_bounds = L_2;
|
|
// var r = new IntRect(Mathf.RoundToInt(bounds.min.x / TileWorldSizeX), Mathf.RoundToInt(bounds.min.z / TileWorldSizeZ), Mathf.RoundToInt(bounds.max.x / TileWorldSizeX)-1, Mathf.RoundToInt(bounds.max.z / TileWorldSizeZ)-1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___0_bounds), NULL);
|
|
float L_4 = L_3.___x_2;
|
|
float L_5;
|
|
L_5 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_6;
|
|
L_6 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(L_4/L_5)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___0_bounds), NULL);
|
|
float L_8 = L_7.___z_4;
|
|
float L_9;
|
|
L_9 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_10;
|
|
L_10 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(L_8/L_9)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___0_bounds), NULL);
|
|
float L_12 = L_11.___x_2;
|
|
float L_13;
|
|
L_13 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_14;
|
|
L_14 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(L_12/L_13)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___0_bounds), NULL);
|
|
float L_16 = L_15.___z_4;
|
|
float L_17;
|
|
L_17 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_18;
|
|
L_18 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(L_16/L_17)), NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_19;
|
|
memset((&L_19), 0, sizeof(L_19));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_19), L_6, L_10, ((int32_t)il2cpp_codegen_subtract(L_14, 1)), ((int32_t)il2cpp_codegen_subtract(L_18, 1)), /*hidden argument*/NULL);
|
|
// r = IntRect.Intersection(r, new IntRect(0, 0, tileXCount-1, tileZCount-1));
|
|
int32_t L_20 = __this->___tileXCount_18;
|
|
int32_t L_21 = __this->___tileZCount_19;
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_22;
|
|
memset((&L_22), 0, sizeof(L_22));
|
|
IntRect__ctor_mAD05090D8533AE0675F3A432F713EEA629F47276((&L_22), 0, 0, ((int32_t)il2cpp_codegen_subtract(L_20, 1)), ((int32_t)il2cpp_codegen_subtract(L_21, 1)), /*hidden argument*/NULL);
|
|
IntRect_t60B6F9748EA84B611917F6C791199A0122F51312 L_23;
|
|
L_23 = IntRect_Intersection_mC9C9632D62D5CD280EF4ED149BCA8EAE58878CAC(L_19, L_22, NULL);
|
|
// return r;
|
|
return L_23;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::ConnectTileWithNeighbours(Pathfinding.NavmeshTile,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ConnectTileWithNeighbours_m8E3E8CD8A49453696BD3AA726C8D7E8A6F9A463B (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_tile, bool ___1_onlyUnflagged, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_4 = NULL;
|
|
{
|
|
// if (tile.w != 1 || tile.d != 1) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_0 = ___0_tile;
|
|
NullCheck(L_0);
|
|
int32_t L_1 = L_0->___w_5;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_2 = ___0_tile;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___d_6;
|
|
if ((((int32_t)L_3) == ((int32_t)1)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// throw new System.ArgumentException("Tile widths or depths other than 1 are not supported. The fields exist mainly for possible future expansions.");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_4 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_4);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral65C2295C5268C84325AEC52147A087EC4678A374)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ConnectTileWithNeighbours_m8E3E8CD8A49453696BD3AA726C8D7E8A6F9A463B_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int zo = -1; zo <= 1; zo++) {
|
|
V_0 = (-1);
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// var z = tile.z + zo;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = ___0_tile;
|
|
NullCheck(L_5);
|
|
int32_t L_6 = L_5->___z_4;
|
|
int32_t L_7 = V_0;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_6, L_7));
|
|
// if (z < 0 || z >= tileZCount) continue;
|
|
int32_t L_8 = V_1;
|
|
if ((((int32_t)L_8) < ((int32_t)0)))
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_9 = V_1;
|
|
int32_t L_10 = __this->___tileZCount_19;
|
|
if ((((int32_t)L_9) >= ((int32_t)L_10)))
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
}
|
|
{
|
|
// for (int xo = -1; xo <= 1; xo++) {
|
|
V_2 = (-1);
|
|
goto IL_0087;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// var x = tile.x + xo;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_11 = ___0_tile;
|
|
NullCheck(L_11);
|
|
int32_t L_12 = L_11->___x_3;
|
|
int32_t L_13 = V_2;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_12, L_13));
|
|
// if (x < 0 || x >= tileXCount) continue;
|
|
int32_t L_14 = V_3;
|
|
if ((((int32_t)L_14) < ((int32_t)0)))
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_15 = V_3;
|
|
int32_t L_16 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_15) >= ((int32_t)L_16)))
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
{
|
|
// if ((xo == 0) == (zo == 0)) continue;
|
|
int32_t L_17 = V_2;
|
|
int32_t L_18 = V_0;
|
|
if ((((int32_t)((((int32_t)L_17) == ((int32_t)0))? 1 : 0)) == ((int32_t)((((int32_t)L_18) == ((int32_t)0))? 1 : 0))))
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
{
|
|
// var otherTile = tiles[x + z*tileXCount];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_19 = __this->___tiles_20;
|
|
int32_t L_20 = V_3;
|
|
int32_t L_21 = V_1;
|
|
int32_t L_22 = __this->___tileXCount_18;
|
|
NullCheck(L_19);
|
|
int32_t L_23 = ((int32_t)il2cpp_codegen_add(L_20, ((int32_t)il2cpp_codegen_multiply(L_21, L_22))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_24 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
|
|
V_4 = L_24;
|
|
// if (!onlyUnflagged || !otherTile.flag) {
|
|
bool L_25 = ___1_onlyUnflagged;
|
|
if (!L_25)
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_26 = V_4;
|
|
NullCheck(L_26);
|
|
bool L_27 = L_26->___flag_9;
|
|
if (L_27)
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// ConnectTiles(otherTile, tile);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_28 = V_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_29 = ___0_tile;
|
|
NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B(__this, L_28, L_29, NULL);
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
// for (int xo = -1; xo <= 1; xo++) {
|
|
int32_t L_30 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
// for (int xo = -1; xo <= 1; xo++) {
|
|
int32_t L_31 = V_2;
|
|
if ((((int32_t)L_31) <= ((int32_t)1)))
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// for (int zo = -1; zo <= 1; zo++) {
|
|
int32_t L_32 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
// for (int zo = -1; zo <= 1; zo++) {
|
|
int32_t L_33 = V_0;
|
|
if ((((int32_t)L_33) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::RemoveConnectionsFromTile(Pathfinding.NavmeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_RemoveConnectionsFromTile_mDBB64CD8DCDEB3AADA32E6568459643A27EB5084 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___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;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
{
|
|
// if (tile.x > 0) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_0 = ___0_tile;
|
|
NullCheck(L_0);
|
|
int32_t L_1 = L_0->___x_3;
|
|
if ((((int32_t)L_1) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
// int x = tile.x-1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_2 = ___0_tile;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___x_3;
|
|
V_0 = ((int32_t)il2cpp_codegen_subtract(L_3, 1));
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = ___0_tile;
|
|
NullCheck(L_4);
|
|
int32_t L_5 = L_4->___z_4;
|
|
V_1 = L_5;
|
|
goto IL_0037;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_6 = __this->___tiles_20;
|
|
int32_t L_7 = V_0;
|
|
int32_t L_8 = V_1;
|
|
int32_t L_9 = __this->___tileXCount_18;
|
|
NullCheck(L_6);
|
|
int32_t L_10 = ((int32_t)il2cpp_codegen_add(L_7, ((int32_t)il2cpp_codegen_multiply(L_8, L_9))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_11 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_12 = ___0_tile;
|
|
NavmeshBase_RemoveConnectionsFromTo_mDB763CF70F86F2D6B71FAF94ADB51267E635AB62(__this, L_11, L_12, NULL);
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_13 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_14 = V_1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_15 = ___0_tile;
|
|
NullCheck(L_15);
|
|
int32_t L_16 = L_15->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_17 = ___0_tile;
|
|
NullCheck(L_17);
|
|
int32_t L_18 = L_17->___d_6;
|
|
if ((((int32_t)L_14) < ((int32_t)((int32_t)il2cpp_codegen_add(L_16, L_18)))))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// if (tile.x+tile.w < tileXCount) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_19 = ___0_tile;
|
|
NullCheck(L_19);
|
|
int32_t L_20 = L_19->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_21 = ___0_tile;
|
|
NullCheck(L_21);
|
|
int32_t L_22 = L_21->___w_5;
|
|
int32_t L_23 = __this->___tileXCount_18;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_20, L_22))) >= ((int32_t)L_23)))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// int x = tile.x+tile.w;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_24 = ___0_tile;
|
|
NullCheck(L_24);
|
|
int32_t L_25 = L_24->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_26 = ___0_tile;
|
|
NullCheck(L_26);
|
|
int32_t L_27 = L_26->___w_5;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_25, L_27));
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_28 = ___0_tile;
|
|
NullCheck(L_28);
|
|
int32_t L_29 = L_28->___z_4;
|
|
V_3 = L_29;
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_30 = __this->___tiles_20;
|
|
int32_t L_31 = V_2;
|
|
int32_t L_32 = V_3;
|
|
int32_t L_33 = __this->___tileXCount_18;
|
|
NullCheck(L_30);
|
|
int32_t L_34 = ((int32_t)il2cpp_codegen_add(L_31, ((int32_t)il2cpp_codegen_multiply(L_32, L_33))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_35 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_36 = ___0_tile;
|
|
NavmeshBase_RemoveConnectionsFromTo_mDB763CF70F86F2D6B71FAF94ADB51267E635AB62(__this, L_35, L_36, NULL);
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_37 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
// for (int z = tile.z; z < tile.z+tile.d; z++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_38 = V_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_39 = ___0_tile;
|
|
NullCheck(L_39);
|
|
int32_t L_40 = L_39->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_41 = ___0_tile;
|
|
NullCheck(L_41);
|
|
int32_t L_42 = L_41->___d_6;
|
|
if ((((int32_t)L_38) < ((int32_t)((int32_t)il2cpp_codegen_add(L_40, L_42)))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
|
|
IL_009f:
|
|
{
|
|
// if (tile.z > 0) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_43 = ___0_tile;
|
|
NullCheck(L_43);
|
|
int32_t L_44 = L_43->___z_4;
|
|
if ((((int32_t)L_44) <= ((int32_t)0)))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// int z = tile.z-1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_45 = ___0_tile;
|
|
NullCheck(L_45);
|
|
int32_t L_46 = L_45->___z_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_subtract(L_46, 1));
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_47 = ___0_tile;
|
|
NullCheck(L_47);
|
|
int32_t L_48 = L_47->___x_3;
|
|
V_5 = L_48;
|
|
goto IL_00dc;
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_49 = __this->___tiles_20;
|
|
int32_t L_50 = V_5;
|
|
int32_t L_51 = V_4;
|
|
int32_t L_52 = __this->___tileXCount_18;
|
|
NullCheck(L_49);
|
|
int32_t L_53 = ((int32_t)il2cpp_codegen_add(L_50, ((int32_t)il2cpp_codegen_multiply(L_51, L_52))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_54 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_55 = ___0_tile;
|
|
NavmeshBase_RemoveConnectionsFromTo_mDB763CF70F86F2D6B71FAF94ADB51267E635AB62(__this, L_54, L_55, NULL);
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_56 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_56, 1));
|
|
}
|
|
|
|
IL_00dc:
|
|
{
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_57 = V_5;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_58 = ___0_tile;
|
|
NullCheck(L_58);
|
|
int32_t L_59 = L_58->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_60 = ___0_tile;
|
|
NullCheck(L_60);
|
|
int32_t L_61 = L_60->___w_5;
|
|
if ((((int32_t)L_57) < ((int32_t)((int32_t)il2cpp_codegen_add(L_59, L_61)))))
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// if (tile.z+tile.d < tileZCount) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_62 = ___0_tile;
|
|
NullCheck(L_62);
|
|
int32_t L_63 = L_62->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_64 = ___0_tile;
|
|
NullCheck(L_64);
|
|
int32_t L_65 = L_64->___d_6;
|
|
int32_t L_66 = __this->___tileZCount_19;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_63, L_65))) >= ((int32_t)L_66)))
|
|
{
|
|
goto IL_014c;
|
|
}
|
|
}
|
|
{
|
|
// int z = tile.z+tile.d;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_67 = ___0_tile;
|
|
NullCheck(L_67);
|
|
int32_t L_68 = L_67->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_69 = ___0_tile;
|
|
NullCheck(L_69);
|
|
int32_t L_70 = L_69->___d_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_68, L_70));
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_71 = ___0_tile;
|
|
NullCheck(L_71);
|
|
int32_t L_72 = L_71->___x_3;
|
|
V_7 = L_72;
|
|
goto IL_013b;
|
|
}
|
|
|
|
IL_011b:
|
|
{
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_73 = __this->___tiles_20;
|
|
int32_t L_74 = V_7;
|
|
int32_t L_75 = V_6;
|
|
int32_t L_76 = __this->___tileXCount_18;
|
|
NullCheck(L_73);
|
|
int32_t L_77 = ((int32_t)il2cpp_codegen_add(L_74, ((int32_t)il2cpp_codegen_multiply(L_75, L_76))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_78 = (L_73)->GetAt(static_cast<il2cpp_array_size_t>(L_77));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_79 = ___0_tile;
|
|
NavmeshBase_RemoveConnectionsFromTo_mDB763CF70F86F2D6B71FAF94ADB51267E635AB62(__this, L_78, L_79, NULL);
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_80 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_80, 1));
|
|
}
|
|
|
|
IL_013b:
|
|
{
|
|
// for (int x = tile.x; x < tile.x+tile.w; x++) RemoveConnectionsFromTo(tiles[x + z*tileXCount], tile);
|
|
int32_t L_81 = V_7;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_82 = ___0_tile;
|
|
NullCheck(L_82);
|
|
int32_t L_83 = L_82->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_84 = ___0_tile;
|
|
NullCheck(L_84);
|
|
int32_t L_85 = L_84->___w_5;
|
|
if ((((int32_t)L_81) < ((int32_t)((int32_t)il2cpp_codegen_add(L_83, L_85)))))
|
|
{
|
|
goto IL_011b;
|
|
}
|
|
}
|
|
|
|
IL_014c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::RemoveConnectionsFromTo(Pathfinding.NavmeshTile,Pathfinding.NavmeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_RemoveConnectionsFromTo_mDB763CF70F86F2D6B71FAF94ADB51267E635AB62 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_a, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_4 = NULL;
|
|
{
|
|
// if (a == null || b == null) return;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_0 = ___0_a;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_1 = ___1_b;
|
|
if (L_1)
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// if (a == null || b == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// if (a == b) return;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_2 = ___0_a;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_3 = ___1_b;
|
|
if ((!(((RuntimeObject*)(NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)L_2) == ((RuntimeObject*)(NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)L_3))))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
{
|
|
// if (a == b) return;
|
|
return;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// int tileIdx = b.x + b.z*tileXCount;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = ___1_b;
|
|
NullCheck(L_4);
|
|
int32_t L_5 = L_4->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6 = ___1_b;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___z_4;
|
|
int32_t L_8 = __this->___tileXCount_18;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_5, ((int32_t)il2cpp_codegen_multiply(L_7, L_8))));
|
|
// for (int i = 0; i < a.nodes.Length; i++) {
|
|
V_1 = 0;
|
|
goto IL_0098;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// TriangleMeshNode node = a.nodes[i];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_9 = ___0_a;
|
|
NullCheck(L_9);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_10 = L_9->___nodes_7;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
V_2 = L_13;
|
|
// if (node.connections == null) continue;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_14 = V_2;
|
|
NullCheck(L_14);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_15 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_14)->___connections_20;
|
|
if (!L_15)
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0;; j++) {
|
|
V_3 = 0;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// if (j >= node.connections.Length) break;
|
|
int32_t L_16 = V_3;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_17 = V_2;
|
|
NullCheck(L_17);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_18 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_17)->___connections_20;
|
|
NullCheck(L_18);
|
|
if ((((int32_t)L_16) >= ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
// var other = node.connections[j].node as TriangleMeshNode;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_19 = V_2;
|
|
NullCheck(L_19);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_19)->___connections_20;
|
|
int32_t L_21 = V_3;
|
|
NullCheck(L_20);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22 = ((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_21)))->___node_0;
|
|
V_4 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)IsInstClass((RuntimeObject*)L_22, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var));
|
|
// if (other == null) continue;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_23 = V_4;
|
|
if (!L_23)
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
// int tileIdx2 = other.GetVertexIndex(0);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_24 = V_4;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_24, 0, NULL);
|
|
// tileIdx2 = (tileIdx2 >> TileIndexOffset) & TileIndexMask;
|
|
// if (tileIdx2 == tileIdx) {
|
|
int32_t L_26 = V_0;
|
|
if ((!(((uint32_t)((int32_t)(((int32_t)(L_25>>((int32_t)12)))&((int32_t)524287)))) == ((uint32_t)L_26))))
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
// node.RemoveConnection(node.connections[j].node);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_27 = V_2;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_28 = V_2;
|
|
NullCheck(L_28);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_29 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_28)->___connections_20;
|
|
int32_t L_30 = V_3;
|
|
NullCheck(L_29);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_31 = ((L_29)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_30)))->___node_0;
|
|
NullCheck(L_27);
|
|
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(7 /* System.Void Pathfinding.GraphNode::RemoveConnection(Pathfinding.GraphNode) */, L_27, L_31);
|
|
// j--;
|
|
int32_t L_32 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_subtract(L_32, 1));
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// for (int j = 0;; j++) {
|
|
int32_t L_33 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_33, 1));
|
|
goto IL_0038;
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
// for (int i = 0; i < a.nodes.Length; i++) {
|
|
int32_t L_34 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
// for (int i = 0; i < a.nodes.Length; i++) {
|
|
int32_t L_35 = V_1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_36 = ___0_a;
|
|
NullCheck(L_36);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_37 = L_36->___nodes_7;
|
|
NullCheck(L_37);
|
|
if ((((int32_t)L_35) < ((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length)))))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavmeshBase::GetNearest(UnityEngine.Vector3,Pathfinding.NNConstraint,Pathfinding.GraphNode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavmeshBase_GetNearest_m4F3F740075AAB2363CBAB5744BD6514FADE023A7 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* ___2_hint, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B2_0;
|
|
memset((&G_B2_0), 0, sizeof(G_B2_0));
|
|
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* G_B2_1 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B1_0;
|
|
memset((&G_B1_0), 0, sizeof(G_B1_0));
|
|
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* G_B1_1 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B3_0;
|
|
memset((&G_B3_0), 0, sizeof(G_B3_0));
|
|
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* G_B3_1 = NULL;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* G_B4_0 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B4_1;
|
|
memset((&G_B4_1), 0, sizeof(G_B4_1));
|
|
NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* G_B4_2 = NULL;
|
|
{
|
|
// return GetNearestForce(position, constraint != null && constraint.distanceXZ ? NNConstraintDistanceXZ : null);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = ___1_constraint;
|
|
G_B1_0 = L_0;
|
|
G_B1_1 = __this;
|
|
if (!L_1)
|
|
{
|
|
G_B2_0 = L_0;
|
|
G_B2_1 = __this;
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_2 = ___1_constraint;
|
|
NullCheck(L_2);
|
|
bool L_3 = L_2->___distanceXZ_5;
|
|
G_B2_0 = G_B1_0;
|
|
G_B2_1 = G_B1_1;
|
|
if (L_3)
|
|
{
|
|
G_B3_0 = G_B1_0;
|
|
G_B3_1 = G_B1_1;
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
G_B4_0 = ((NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5*)(NULL));
|
|
G_B4_1 = G_B2_0;
|
|
G_B4_2 = G_B2_1;
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_4 = ((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_StaticFields*)il2cpp_codegen_static_fields_for(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var))->___NNConstraintDistanceXZ_29;
|
|
G_B4_0 = L_4;
|
|
G_B4_1 = G_B3_0;
|
|
G_B4_2 = G_B3_1;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
NullCheck(G_B4_2);
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_5;
|
|
L_5 = VirtualFuncInvoker2< NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* >::Invoke(17 /* Pathfinding.NNInfoInternal Pathfinding.NavGraph::GetNearestForce(UnityEngine.Vector3,Pathfinding.NNConstraint) */, G_B4_2, G_B4_1, G_B4_0);
|
|
return L_5;
|
|
}
|
|
}
|
|
// Pathfinding.NNInfoInternal Pathfinding.NavmeshBase::GetNearestForce(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 NavmeshBase_GetNearestForce_m34302AEE96088473D5E22E18A736A279CACBA3B6 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, 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;
|
|
}
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
float V_3 = 0.0f;
|
|
bool V_4 = false;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_12 = NULL;
|
|
int32_t G_B7_0 = 0;
|
|
{
|
|
// if (tiles == null) return new NNInfoInternal();
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
if (L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (tiles == null) return new NNInfoInternal();
|
|
il2cpp_codegen_initobj((&V_5), sizeof(NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801));
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_1 = V_5;
|
|
return L_1;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// var tileCoords = GetTileCoordinates(position);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_position;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_3;
|
|
L_3 = NavmeshBase_GetTileCoordinates_m453BD8D644FECE41B7E29BEF0AA9D1EE50FF67CF(__this, L_2, NULL);
|
|
V_0 = L_3;
|
|
// tileCoords.x = Mathf.Clamp(tileCoords.x, 0, tileXCount-1);
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_4 = V_0;
|
|
int32_t L_5 = L_4.___x_0;
|
|
int32_t L_6 = __this->___tileXCount_18;
|
|
int32_t L_7;
|
|
L_7 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_5, 0, ((int32_t)il2cpp_codegen_subtract(L_6, 1)), NULL);
|
|
(&V_0)->___x_0 = L_7;
|
|
// tileCoords.y = Mathf.Clamp(tileCoords.y, 0, tileZCount-1);
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_8 = V_0;
|
|
int32_t L_9 = L_8.___y_1;
|
|
int32_t L_10 = __this->___tileZCount_19;
|
|
int32_t L_11;
|
|
L_11 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_9, 0, ((int32_t)il2cpp_codegen_subtract(L_10, 1)), NULL);
|
|
(&V_0)->___y_1 = L_11;
|
|
// int wmax = Math.Max(tileXCount, tileZCount);
|
|
int32_t L_12 = __this->___tileXCount_18;
|
|
int32_t L_13 = __this->___tileZCount_19;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_14;
|
|
L_14 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_12, L_13, NULL);
|
|
V_1 = L_14;
|
|
// var best = new NNInfoInternal();
|
|
il2cpp_codegen_initobj((&V_2), sizeof(NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801));
|
|
// float bestDistance = float.PositiveInfinity;
|
|
V_3 = (std::numeric_limits<float>::infinity());
|
|
// bool xzSearch = nearestSearchOnlyXZ || (constraint != null && constraint.distanceXZ);
|
|
bool L_15 = __this->___nearestSearchOnlyXZ_21;
|
|
if (L_15)
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_16 = ___1_constraint;
|
|
if (!L_16)
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_17 = ___1_constraint;
|
|
NullCheck(L_17);
|
|
bool L_18 = L_17->___distanceXZ_5;
|
|
G_B7_0 = ((int32_t)(L_18));
|
|
goto IL_0088;
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
G_B7_0 = 0;
|
|
goto IL_0088;
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
G_B7_0 = 1;
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
V_4 = (bool)G_B7_0;
|
|
// for (int w = 0; w < wmax; w++) {
|
|
V_6 = 0;
|
|
goto IL_0178;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// if (bestDistance < (w-2)*Math.Max(TileWorldSizeX, TileWorldSizeX)) break;
|
|
float L_19 = V_3;
|
|
int32_t L_20 = V_6;
|
|
float L_21;
|
|
L_21 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
float L_22;
|
|
L_22 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
float L_23;
|
|
L_23 = Math_Max_mB55ACEA482E7F67E61496C4C7C54FE0BB7BE78EA(L_21, L_22, NULL);
|
|
if ((((float)L_19) < ((float)((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_subtract(L_20, 2))), L_23)))))
|
|
{
|
|
goto IL_0180;
|
|
}
|
|
}
|
|
{
|
|
// int zmax = Math.Min(w+tileCoords.y +1, tileZCount);
|
|
int32_t L_24 = V_6;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_25 = V_0;
|
|
int32_t L_26 = L_25.___y_1;
|
|
int32_t L_27 = __this->___tileZCount_19;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_28;
|
|
L_28 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_24, L_26)), 1)), L_27, NULL);
|
|
V_7 = L_28;
|
|
// for (int z = Math.Max(-w+tileCoords.y, 0); z < zmax; z++) {
|
|
int32_t L_29 = V_6;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_30 = V_0;
|
|
int32_t L_31 = L_30.___y_1;
|
|
int32_t L_32;
|
|
L_32 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(((int32_t)il2cpp_codegen_add(((-L_29)), L_31)), 0, NULL);
|
|
V_8 = L_32;
|
|
goto IL_0169;
|
|
}
|
|
|
|
IL_00de:
|
|
{
|
|
// int originalDx = Math.Abs(w - Math.Abs(z-tileCoords.y));
|
|
int32_t L_33 = V_6;
|
|
int32_t L_34 = V_8;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_35 = V_0;
|
|
int32_t L_36 = L_35.___y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_37;
|
|
L_37 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_34, L_36)));
|
|
int32_t L_38;
|
|
L_38 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_33, L_37)));
|
|
V_9 = L_38;
|
|
// var dx = originalDx;
|
|
int32_t L_39 = V_9;
|
|
V_10 = L_39;
|
|
}
|
|
|
|
IL_00fa:
|
|
{
|
|
// int x = -dx + tileCoords.x;
|
|
int32_t L_40 = V_10;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_41 = V_0;
|
|
int32_t L_42 = L_41.___x_0;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(((-L_40)), L_42));
|
|
// if (x >= 0 && x < tileXCount) {
|
|
int32_t L_43 = V_11;
|
|
if ((((int32_t)L_43) < ((int32_t)0)))
|
|
{
|
|
goto IL_0158;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_44 = V_11;
|
|
int32_t L_45 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_44) >= ((int32_t)L_45)))
|
|
{
|
|
goto IL_0158;
|
|
}
|
|
}
|
|
{
|
|
// NavmeshTile tile = tiles[x + z*tileXCount];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_46 = __this->___tiles_20;
|
|
int32_t L_47 = V_11;
|
|
int32_t L_48 = V_8;
|
|
int32_t L_49 = __this->___tileXCount_18;
|
|
NullCheck(L_46);
|
|
int32_t L_50 = ((int32_t)il2cpp_codegen_add(L_47, ((int32_t)il2cpp_codegen_multiply(L_48, L_49))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_51 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
|
|
V_12 = L_51;
|
|
// if (tile != null) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_52 = V_12;
|
|
if (!L_52)
|
|
{
|
|
goto IL_0158;
|
|
}
|
|
}
|
|
{
|
|
// if (xzSearch) {
|
|
bool L_53 = V_4;
|
|
if (!L_53)
|
|
{
|
|
goto IL_0146;
|
|
}
|
|
}
|
|
{
|
|
// best = tile.bbTree.QueryClosestXZ(position, constraint, ref bestDistance, best);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_54 = V_12;
|
|
NullCheck(L_54);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_55 = L_54->___bbTree_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_57 = ___1_constraint;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_58 = V_2;
|
|
NullCheck(L_55);
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_59;
|
|
L_59 = BBTree_QueryClosestXZ_m2F4A3A196EA28EBBAB5E27B1F76B88295C2B7BF0(L_55, L_56, L_57, (&V_3), L_58, NULL);
|
|
V_2 = L_59;
|
|
goto IL_0158;
|
|
}
|
|
|
|
IL_0146:
|
|
{
|
|
// best = tile.bbTree.QueryClosest(position, constraint, ref bestDistance, best);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_60 = V_12;
|
|
NullCheck(L_60);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_61 = L_60->___bbTree_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_63 = ___1_constraint;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_64 = V_2;
|
|
NullCheck(L_61);
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_65;
|
|
L_65 = BBTree_QueryClosest_mE3EF7ED37870AF968A5436D33A294A560B1DEDCA(L_61, L_62, L_63, (&V_3), L_64, NULL);
|
|
V_2 = L_65;
|
|
}
|
|
|
|
IL_0158:
|
|
{
|
|
// dx = -dx;
|
|
int32_t L_66 = V_10;
|
|
V_10 = ((-L_66));
|
|
// } while (dx != originalDx);
|
|
int32_t L_67 = V_10;
|
|
int32_t L_68 = V_9;
|
|
if ((!(((uint32_t)L_67) == ((uint32_t)L_68))))
|
|
{
|
|
goto IL_00fa;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = Math.Max(-w+tileCoords.y, 0); z < zmax; z++) {
|
|
int32_t L_69 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_69, 1));
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// for (int z = Math.Max(-w+tileCoords.y, 0); z < zmax; z++) {
|
|
int32_t L_70 = V_8;
|
|
int32_t L_71 = V_7;
|
|
if ((((int32_t)L_70) < ((int32_t)L_71)))
|
|
{
|
|
goto IL_00de;
|
|
}
|
|
}
|
|
{
|
|
// for (int w = 0; w < wmax; w++) {
|
|
int32_t L_72 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_0178:
|
|
{
|
|
// for (int w = 0; w < wmax; w++) {
|
|
int32_t L_73 = V_6;
|
|
int32_t L_74 = V_1;
|
|
if ((((int32_t)L_73) < ((int32_t)L_74)))
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
|
|
IL_0180:
|
|
{
|
|
// best.node = best.constrainedNode;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_75 = V_2;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_76 = L_75.___constrainedNode_1;
|
|
(&V_2)->___node_0 = L_76;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_2)->___node_0), (void*)L_76);
|
|
// best.constrainedNode = null;
|
|
(&V_2)->___constrainedNode_1 = (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&(&V_2)->___constrainedNode_1), (void*)(GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL);
|
|
// best.clampedPosition = best.constClampedPosition;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_77 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = L_77.___constClampedPosition_3;
|
|
(&V_2)->___clampedPosition_2 = L_78;
|
|
// return best;
|
|
NNInfoInternal_t1CC3990B9059B5FCB6DC25938E7BD98B594A2801 L_79 = V_2;
|
|
return L_79;
|
|
}
|
|
}
|
|
// Pathfinding.GraphNode Pathfinding.NavmeshBase::PointOnNavmesh(UnityEngine.Vector3,Pathfinding.NNConstraint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* NavmeshBase_PointOnNavmesh_m00D1346EF671F64D68380799BC30BD645D0A8768 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* ___1_constraint, const RuntimeMethod* method)
|
|
{
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_1 = NULL;
|
|
{
|
|
// if (tiles == null) return null;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (tiles == null) return null;
|
|
return (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// var tileCoords = GetTileCoordinates(position);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_position;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_2;
|
|
L_2 = NavmeshBase_GetTileCoordinates_m453BD8D644FECE41B7E29BEF0AA9D1EE50FF67CF(__this, L_1, NULL);
|
|
V_0 = L_2;
|
|
// if (tileCoords.x < 0 || tileCoords.y < 0 || tileCoords.x >= tileXCount || tileCoords.y >= tileZCount) return null;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_3 = V_0;
|
|
int32_t L_4 = L_3.___x_0;
|
|
if ((((int32_t)L_4) < ((int32_t)0)))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_5 = V_0;
|
|
int32_t L_6 = L_5.___y_1;
|
|
if ((((int32_t)L_6) < ((int32_t)0)))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_7 = V_0;
|
|
int32_t L_8 = L_7.___x_0;
|
|
int32_t L_9 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_8) >= ((int32_t)L_9)))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_10 = V_0;
|
|
int32_t L_11 = L_10.___y_1;
|
|
int32_t L_12 = __this->___tileZCount_19;
|
|
if ((((int32_t)L_11) < ((int32_t)L_12)))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// if (tileCoords.x < 0 || tileCoords.y < 0 || tileCoords.x >= tileXCount || tileCoords.y >= tileZCount) return null;
|
|
return (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// NavmeshTile tile = GetTile(tileCoords.x, tileCoords.y);
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_13 = V_0;
|
|
int32_t L_14 = L_13.___x_0;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_15 = V_0;
|
|
int32_t L_16 = L_15.___y_1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_17;
|
|
L_17 = NavmeshBase_GetTile_mD94F785359795C4760F72CF31111898D65B607C3(__this, L_14, L_16, NULL);
|
|
V_1 = L_17;
|
|
// if (tile != null) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_18 = V_1;
|
|
if (!L_18)
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// GraphNode node = tile.bbTree.QueryInside(position, constraint);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_19 = V_1;
|
|
NullCheck(L_19);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_20 = L_19->___bbTree_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = ___0_position;
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_22 = ___1_constraint;
|
|
NullCheck(L_20);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_23;
|
|
L_23 = BBTree_QueryInside_mDA078A1C152E313D9A9986B65CF98CA22567AF3C(L_20, L_21, L_22, NULL);
|
|
// return node;
|
|
return L_23;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// return null;
|
|
return (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)NULL;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::FillWithEmptyTiles()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_FillWithEmptyTiles_mF344A935A10F26804F02385737F229C81BE44095 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
V_0 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
V_1 = 0;
|
|
goto IL_0025;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// tiles[z*tileXCount + x] = NewEmptyTile(x, z);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
int32_t L_1 = V_0;
|
|
int32_t L_2 = __this->___tileXCount_18;
|
|
int32_t L_3 = V_1;
|
|
int32_t L_4 = V_1;
|
|
int32_t L_5 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6;
|
|
L_6 = NavmeshBase_NewEmptyTile_mA89DA614A405548C8D120B2787927D379AB83148(__this, L_4, L_5, NULL);
|
|
NullCheck(L_0);
|
|
ArrayElementTypeCheck (L_0, L_6);
|
|
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_1, L_2)), L_3))), (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)L_6);
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
int32_t L_7 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
int32_t L_8 = V_1;
|
|
int32_t L_9 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_8) < ((int32_t)L_9)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
int32_t L_10 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
int32_t L_11 = V_0;
|
|
int32_t L_12 = __this->___tileZCount_19;
|
|
if ((((int32_t)L_11) < ((int32_t)L_12)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::CreateNodeConnections(Pathfinding.TriangleMeshNode[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNodeConnections_mE3D1C55960D9F60C06AFCA6775A164E7AF12856D (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_nodes, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPoolSimple_1_Claim_m1031F43009A56E8BE3F0DC202B0E4A62DDFBFE4A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPoolSimple_1_Release_m26A4253C56A368B3D30757C1B2870C0C0644B3B5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPoolSimple_1_tA0DE5842C465190A2FD0A4C33FE8AB8FC45C6238_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* V_0 = NULL;
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
int32_t V_7 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_8 = NULL;
|
|
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;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
{
|
|
// List<Connection> connections = ListPool<Connection>.Claim();
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var);
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_0;
|
|
L_0 = ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB(ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// var nodeRefs = ObjectPoolSimple<Dictionary<Int2, int> >.Claim();
|
|
il2cpp_codegen_runtime_class_init_inline(ObjectPoolSimple_1_tA0DE5842C465190A2FD0A4C33FE8AB8FC45C6238_il2cpp_TypeInfo_var);
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* L_1;
|
|
L_1 = ObjectPoolSimple_1_Claim_m1031F43009A56E8BE3F0DC202B0E4A62DDFBFE4A(ObjectPoolSimple_1_Claim_m1031F43009A56E8BE3F0DC202B0E4A62DDFBFE4A_RuntimeMethod_var);
|
|
V_1 = L_1;
|
|
// nodeRefs.Clear();
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* L_2 = V_1;
|
|
NullCheck(L_2);
|
|
Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8(L_2, Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8_RuntimeMethod_var);
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_2 = 0;
|
|
goto IL_0066;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// TriangleMeshNode node = nodes[i];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_3 = ___0_nodes;
|
|
int32_t L_4 = V_2;
|
|
NullCheck(L_3);
|
|
int32_t L_5 = L_4;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
|
|
V_3 = L_6;
|
|
// int av = node.GetVertexCount();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_7 = V_3;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_7);
|
|
V_4 = L_8;
|
|
// for (int a = 0; a < av; a++) {
|
|
V_5 = 0;
|
|
goto IL_005c;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// var key = new Int2(node.GetVertexIndex(a), node.GetVertexIndex((a+1) % av));
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_9 = V_3;
|
|
int32_t L_10 = V_5;
|
|
NullCheck(L_9);
|
|
int32_t L_11;
|
|
L_11 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_9, L_10, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_12 = V_3;
|
|
int32_t L_13 = V_5;
|
|
int32_t L_14 = V_4;
|
|
NullCheck(L_12);
|
|
int32_t L_15;
|
|
L_15 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_12, ((int32_t)(((int32_t)il2cpp_codegen_add(L_13, 1))%L_14)), NULL);
|
|
Int2__ctor_m10E45E61E7A435B387D725D0278EC1FEB97CE284((&V_6), L_11, L_15, NULL);
|
|
// if (!nodeRefs.ContainsKey(key)) {
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* L_16 = V_1;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_17 = V_6;
|
|
NullCheck(L_16);
|
|
bool L_18;
|
|
L_18 = Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8(L_16, L_17, Dictionary_2_ContainsKey_mCF8831B5535172B6DBF2058DA5CBB6B60F2CB4F8_RuntimeMethod_var);
|
|
if (L_18)
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// nodeRefs.Add(key, i);
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* L_19 = V_1;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_20 = V_6;
|
|
int32_t L_21 = V_2;
|
|
NullCheck(L_19);
|
|
Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F(L_19, L_20, L_21, Dictionary_2_Add_m083CF8DDBFA1AD232EFEFA819112E339C7D3952F_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// for (int a = 0; a < av; a++) {
|
|
int32_t L_22 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// for (int a = 0; a < av; a++) {
|
|
int32_t L_23 = V_5;
|
|
int32_t L_24 = V_4;
|
|
if ((((int32_t)L_23) < ((int32_t)L_24)))
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_25 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_26 = V_2;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_27 = ___0_nodes;
|
|
NullCheck(L_27);
|
|
if ((((int32_t)L_26) < ((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_7 = 0;
|
|
goto IL_0155;
|
|
}
|
|
|
|
IL_0074:
|
|
{
|
|
// TriangleMeshNode node = nodes[i];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_28 = ___0_nodes;
|
|
int32_t L_29 = V_7;
|
|
NullCheck(L_28);
|
|
int32_t L_30 = L_29;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
|
|
V_8 = L_31;
|
|
// connections.Clear();
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_32 = V_0;
|
|
NullCheck(L_32);
|
|
List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_inline(L_32, List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var);
|
|
// int av = node.GetVertexCount();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_33 = V_8;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_33);
|
|
V_9 = L_34;
|
|
// for (int a = 0; a < av; a++) {
|
|
V_10 = 0;
|
|
goto IL_0132;
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// int first = node.GetVertexIndex(a);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_35 = V_8;
|
|
int32_t L_36 = V_10;
|
|
NullCheck(L_35);
|
|
int32_t L_37;
|
|
L_37 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_35, L_36, NULL);
|
|
V_11 = L_37;
|
|
// int second = node.GetVertexIndex((a+1) % av);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_38 = V_8;
|
|
int32_t L_39 = V_10;
|
|
int32_t L_40 = V_9;
|
|
NullCheck(L_38);
|
|
int32_t L_41;
|
|
L_41 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_38, ((int32_t)(((int32_t)il2cpp_codegen_add(L_39, 1))%L_40)), NULL);
|
|
V_12 = L_41;
|
|
// if (nodeRefs.TryGetValue(new Int2(second, first), out connNode)) {
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* L_42 = V_1;
|
|
int32_t L_43 = V_12;
|
|
int32_t L_44 = V_11;
|
|
Int2_tA237834D44F8B70CEF05461E599DAE1137180731 L_45;
|
|
memset((&L_45), 0, sizeof(L_45));
|
|
Int2__ctor_m10E45E61E7A435B387D725D0278EC1FEB97CE284((&L_45), L_43, L_44, /*hidden argument*/NULL);
|
|
NullCheck(L_42);
|
|
bool L_46;
|
|
L_46 = Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E(L_42, L_45, (&V_13), Dictionary_2_TryGetValue_m597B3E4CBA91480AEE810A54379251791CE0945E_RuntimeMethod_var);
|
|
if (!L_46)
|
|
{
|
|
goto IL_012c;
|
|
}
|
|
}
|
|
{
|
|
// TriangleMeshNode other = nodes[connNode];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_47 = ___0_nodes;
|
|
int32_t L_48 = V_13;
|
|
NullCheck(L_47);
|
|
int32_t L_49 = L_48;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
|
|
V_14 = L_50;
|
|
// int bv = other.GetVertexCount();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_51 = V_14;
|
|
NullCheck(L_51);
|
|
int32_t L_52;
|
|
L_52 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_51);
|
|
V_15 = L_52;
|
|
// for (int b = 0; b < bv; b++) {
|
|
V_16 = 0;
|
|
goto IL_0126;
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// if (other.GetVertexIndex(b) == second && other.GetVertexIndex((b+1) % bv) == first) {
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_53 = V_14;
|
|
int32_t L_54 = V_16;
|
|
NullCheck(L_53);
|
|
int32_t L_55;
|
|
L_55 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_53, L_54, NULL);
|
|
int32_t L_56 = V_12;
|
|
if ((!(((uint32_t)L_55) == ((uint32_t)L_56))))
|
|
{
|
|
goto IL_0120;
|
|
}
|
|
}
|
|
{
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_57 = V_14;
|
|
int32_t L_58 = V_16;
|
|
int32_t L_59 = V_15;
|
|
NullCheck(L_57);
|
|
int32_t L_60;
|
|
L_60 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_57, ((int32_t)(((int32_t)il2cpp_codegen_add(L_58, 1))%L_59)), NULL);
|
|
int32_t L_61 = V_11;
|
|
if ((!(((uint32_t)L_60) == ((uint32_t)L_61))))
|
|
{
|
|
goto IL_0120;
|
|
}
|
|
}
|
|
{
|
|
// connections.Add(new Connection(
|
|
// other,
|
|
// (uint)(node.position - other.position).costMagnitude,
|
|
// (byte)a
|
|
// ));
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_62 = V_0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_63 = V_14;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_64 = V_8;
|
|
NullCheck(L_64);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_65 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_64)->___position_7;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_66 = V_14;
|
|
NullCheck(L_66);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_67 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_66)->___position_7;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_68;
|
|
L_68 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_65, L_67, NULL);
|
|
V_17 = L_68;
|
|
int32_t L_69;
|
|
L_69 = Int3_get_costMagnitude_m6286EB04015DE9C7D4C177B0D006A2E7F71E4250((&V_17), NULL);
|
|
int32_t L_70 = V_10;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_71;
|
|
memset((&L_71), 0, sizeof(L_71));
|
|
Connection__ctor_m4A097A70539A4C301535E59D91A09A2D7C52E1D2((&L_71), L_63, L_69, (uint8_t)((int32_t)(uint8_t)L_70), /*hidden argument*/NULL);
|
|
NullCheck(L_62);
|
|
List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_inline(L_62, L_71, List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var);
|
|
// break;
|
|
goto IL_012c;
|
|
}
|
|
|
|
IL_0120:
|
|
{
|
|
// for (int b = 0; b < bv; b++) {
|
|
int32_t L_72 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_0126:
|
|
{
|
|
// for (int b = 0; b < bv; b++) {
|
|
int32_t L_73 = V_16;
|
|
int32_t L_74 = V_15;
|
|
if ((((int32_t)L_73) < ((int32_t)L_74)))
|
|
{
|
|
goto IL_00d3;
|
|
}
|
|
}
|
|
|
|
IL_012c:
|
|
{
|
|
// for (int a = 0; a < av; a++) {
|
|
int32_t L_75 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_75, 1));
|
|
}
|
|
|
|
IL_0132:
|
|
{
|
|
// for (int a = 0; a < av; a++) {
|
|
int32_t L_76 = V_10;
|
|
int32_t L_77 = V_9;
|
|
if ((((int32_t)L_76) < ((int32_t)L_77)))
|
|
{
|
|
goto IL_0091;
|
|
}
|
|
}
|
|
{
|
|
// node.connections = connections.ToArrayFromPool();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_78 = V_8;
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_79 = V_0;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_80;
|
|
L_80 = ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3(L_79, ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_RuntimeMethod_var);
|
|
NullCheck(L_78);
|
|
((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_78)->___connections_20 = L_80;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_78)->___connections_20), (void*)L_80);
|
|
// node.SetConnectivityDirty();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_81 = V_8;
|
|
NullCheck(L_81);
|
|
GraphNode_SetConnectivityDirty_m1B823A693BA88849DB202D906E6DD5646D83E86E(L_81, NULL);
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_82 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_82, 1));
|
|
}
|
|
|
|
IL_0155:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_83 = V_7;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_84 = ___0_nodes;
|
|
NullCheck(L_84);
|
|
if ((((int32_t)L_83) < ((int32_t)((int32_t)(((RuntimeArray*)L_84)->max_length)))))
|
|
{
|
|
goto IL_0074;
|
|
}
|
|
}
|
|
{
|
|
// nodeRefs.Clear();
|
|
Dictionary_2_tFA787142364B95FFF06A8E33B4D5F0DDDA2D7DAE* L_85 = V_1;
|
|
NullCheck(L_85);
|
|
Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8(L_85, Dictionary_2_Clear_m3C32F97D937D4720DF6535EE31A3AF627BDE49F8_RuntimeMethod_var);
|
|
// ObjectPoolSimple<Dictionary<Int2, int> >.Release(ref nodeRefs);
|
|
il2cpp_codegen_runtime_class_init_inline(ObjectPoolSimple_1_tA0DE5842C465190A2FD0A4C33FE8AB8FC45C6238_il2cpp_TypeInfo_var);
|
|
ObjectPoolSimple_1_Release_m26A4253C56A368B3D30757C1B2870C0C0644B3B5((&V_1), ObjectPoolSimple_1_Release_m26A4253C56A368B3D30757C1B2870C0C0644B3B5_RuntimeMethod_var);
|
|
// ListPool<Connection>.Release(ref connections);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var);
|
|
ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3((&V_0), ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::ConnectTiles(Pathfinding.NavmeshTile,Pathfinding.NavmeshTile)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___0_tile1, NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* ___1_tile2, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
|
|
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;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
float V_8 = 0.0f;
|
|
int32_t V_9 = 0;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_10 = NULL;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_11 = NULL;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_15 = NULL;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
int32_t V_20 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_21 = NULL;
|
|
int32_t V_22 = 0;
|
|
int32_t V_23 = 0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_25;
|
|
memset((&V_25), 0, sizeof(V_25));
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
int32_t V_28 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_29 = NULL;
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_32;
|
|
memset((&V_32), 0, sizeof(V_32));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_33;
|
|
memset((&V_33), 0, sizeof(V_33));
|
|
int32_t V_34 = 0;
|
|
int32_t V_35 = 0;
|
|
uint32_t V_36 = 0;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_37;
|
|
memset((&V_37), 0, sizeof(V_37));
|
|
{
|
|
// if (tile1 == null || tile2 == null) return;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_0 = ___0_tile1;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_1 = ___1_tile2;
|
|
if (L_1)
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// if (tile1 == null || tile2 == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// if (tile1.nodes == null) throw new System.ArgumentException("tile1 does not contain any nodes");
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_2 = ___0_tile1;
|
|
NullCheck(L_2);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_3 = L_2->___nodes_7;
|
|
if (L_3)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (tile1.nodes == null) throw new System.ArgumentException("tile1 does not contain any nodes");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_4 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_4);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralBAFF4394932FC6E23E65D1CDC7A2F59A19660E5E)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (tile2.nodes == null) throw new System.ArgumentException("tile2 does not contain any nodes");
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = ___1_tile2;
|
|
NullCheck(L_5);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_6 = L_5->___nodes_7;
|
|
if (L_6)
|
|
{
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
// if (tile2.nodes == null) throw new System.ArgumentException("tile2 does not contain any nodes");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_7 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_7);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_7, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral1CF923B28D3564E0B9B1D70E9D095ED7464D4A03)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// int t1x = Mathf.Clamp(tile2.x, tile1.x, tile1.x+tile1.w-1);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_8 = ___1_tile2;
|
|
NullCheck(L_8);
|
|
int32_t L_9 = L_8->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_10 = ___0_tile1;
|
|
NullCheck(L_10);
|
|
int32_t L_11 = L_10->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_12 = ___0_tile1;
|
|
NullCheck(L_12);
|
|
int32_t L_13 = L_12->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_14 = ___0_tile1;
|
|
NullCheck(L_14);
|
|
int32_t L_15 = L_14->___w_5;
|
|
int32_t L_16;
|
|
L_16 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_9, L_11, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_13, L_15)), 1)), NULL);
|
|
V_0 = L_16;
|
|
// int t2x = Mathf.Clamp(tile1.x, tile2.x, tile2.x+tile2.w-1);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_17 = ___0_tile1;
|
|
NullCheck(L_17);
|
|
int32_t L_18 = L_17->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_19 = ___1_tile2;
|
|
NullCheck(L_19);
|
|
int32_t L_20 = L_19->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_21 = ___1_tile2;
|
|
NullCheck(L_21);
|
|
int32_t L_22 = L_21->___x_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_23 = ___1_tile2;
|
|
NullCheck(L_23);
|
|
int32_t L_24 = L_23->___w_5;
|
|
int32_t L_25;
|
|
L_25 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_18, L_20, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_22, L_24)), 1)), NULL);
|
|
V_1 = L_25;
|
|
// int t1z = Mathf.Clamp(tile2.z, tile1.z, tile1.z+tile1.d-1);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_26 = ___1_tile2;
|
|
NullCheck(L_26);
|
|
int32_t L_27 = L_26->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_28 = ___0_tile1;
|
|
NullCheck(L_28);
|
|
int32_t L_29 = L_28->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_30 = ___0_tile1;
|
|
NullCheck(L_30);
|
|
int32_t L_31 = L_30->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_32 = ___0_tile1;
|
|
NullCheck(L_32);
|
|
int32_t L_33 = L_32->___d_6;
|
|
int32_t L_34;
|
|
L_34 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_27, L_29, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_31, L_33)), 1)), NULL);
|
|
V_2 = L_34;
|
|
// int t2z = Mathf.Clamp(tile1.z, tile2.z, tile2.z+tile2.d-1);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_35 = ___0_tile1;
|
|
NullCheck(L_35);
|
|
int32_t L_36 = L_35->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_37 = ___1_tile2;
|
|
NullCheck(L_37);
|
|
int32_t L_38 = L_37->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_39 = ___1_tile2;
|
|
NullCheck(L_39);
|
|
int32_t L_40 = L_39->___z_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_41 = ___1_tile2;
|
|
NullCheck(L_41);
|
|
int32_t L_42 = L_41->___d_6;
|
|
int32_t L_43;
|
|
L_43 = Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline(L_36, L_38, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_40, L_42)), 1)), NULL);
|
|
V_3 = L_43;
|
|
// if (t1x == t2x) {
|
|
int32_t L_44 = V_0;
|
|
int32_t L_45 = V_1;
|
|
if ((!(((uint32_t)L_44) == ((uint32_t)L_45))))
|
|
{
|
|
goto IL_00cb;
|
|
}
|
|
}
|
|
{
|
|
// coord = 2;
|
|
V_4 = 2;
|
|
// altcoord = 0;
|
|
V_5 = 0;
|
|
// t1coord = t1z;
|
|
int32_t L_46 = V_2;
|
|
V_6 = L_46;
|
|
// t2coord = t2z;
|
|
int32_t L_47 = V_3;
|
|
V_7 = L_47;
|
|
// tileWorldSize = TileWorldSizeZ;
|
|
float L_48;
|
|
L_48 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
V_8 = L_48;
|
|
goto IL_00f0;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// } else if (t1z == t2z) {
|
|
int32_t L_49 = V_2;
|
|
int32_t L_50 = V_3;
|
|
if ((!(((uint32_t)L_49) == ((uint32_t)L_50))))
|
|
{
|
|
goto IL_00e5;
|
|
}
|
|
}
|
|
{
|
|
// coord = 0;
|
|
V_4 = 0;
|
|
// altcoord = 2;
|
|
V_5 = 2;
|
|
// t1coord = t1x;
|
|
int32_t L_51 = V_0;
|
|
V_6 = L_51;
|
|
// t2coord = t2x;
|
|
int32_t L_52 = V_1;
|
|
V_7 = L_52;
|
|
// tileWorldSize = TileWorldSizeX;
|
|
float L_53;
|
|
L_53 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
V_8 = L_53;
|
|
goto IL_00f0;
|
|
}
|
|
|
|
IL_00e5:
|
|
{
|
|
// throw new System.ArgumentException("Tiles are not adjacent (neither x or z coordinates match)");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_54 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_54);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_54, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral572C719BB643781CFCF517F95C7B357BD3AA1F9C)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_54, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00f0:
|
|
{
|
|
// if (Math.Abs(t1coord-t2coord) != 1) {
|
|
int32_t L_55 = V_6;
|
|
int32_t L_56 = V_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_57;
|
|
L_57 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_55, L_56)));
|
|
if ((((int32_t)L_57) == ((int32_t)1)))
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.ArgumentException("Tiles are not adjacent (tile coordinates must differ by exactly 1. Got '" + t1coord + "' and '" + t2coord + "')");
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_58 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var)), (uint32_t)5);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_59 = L_58;
|
|
NullCheck(L_59);
|
|
ArrayElementTypeCheck (L_59, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2464B8D74CA0CF1AD88878381B543DB688E40FBE)));
|
|
(L_59)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2464B8D74CA0CF1AD88878381B543DB688E40FBE)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_60 = L_59;
|
|
String_t* L_61;
|
|
L_61 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_6), NULL);
|
|
NullCheck(L_60);
|
|
ArrayElementTypeCheck (L_60, L_61);
|
|
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_61);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_62 = L_60;
|
|
NullCheck(L_62);
|
|
ArrayElementTypeCheck (L_62, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral7F497E973411BC854B5A2BE7DA46204C7859FC6F)));
|
|
(L_62)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral7F497E973411BC854B5A2BE7DA46204C7859FC6F)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_63 = L_62;
|
|
String_t* L_64;
|
|
L_64 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_7), NULL);
|
|
NullCheck(L_63);
|
|
ArrayElementTypeCheck (L_63, L_64);
|
|
(L_63)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_64);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_65 = L_63;
|
|
NullCheck(L_65);
|
|
ArrayElementTypeCheck (L_65, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5857551470FA48B3F71F992583A93239D3BFAF12)));
|
|
(L_65)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5857551470FA48B3F71F992583A93239D3BFAF12)));
|
|
String_t* L_66;
|
|
L_66 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_65, NULL);
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_67 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_67);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_67, L_66, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_67, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// int midpoint = (int)Math.Round((Math.Max(t1coord, t2coord) * tileWorldSize) * Int3.Precision);
|
|
int32_t L_68 = V_6;
|
|
int32_t L_69 = V_7;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_70;
|
|
L_70 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_68, L_69, NULL);
|
|
float L_71 = V_8;
|
|
double L_72;
|
|
L_72 = bankers_round(((double)((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_70), L_71)), (1000.0f)))));
|
|
V_9 = il2cpp_codegen_cast_double_to_int<int32_t>(L_72);
|
|
// TriangleMeshNode[] nodes1 = tile1.nodes;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_73 = ___0_tile1;
|
|
NullCheck(L_73);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_74 = L_73->___nodes_7;
|
|
V_10 = L_74;
|
|
// TriangleMeshNode[] nodes2 = tile2.nodes;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_75 = ___1_tile2;
|
|
NullCheck(L_75);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_76 = L_75->___nodes_7;
|
|
V_11 = L_76;
|
|
// TriangleMeshNode[] closeToEdge = ArrayPool<TriangleMeshNode>.Claim(nodes2.Length);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_77 = V_11;
|
|
NullCheck(L_77);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_78;
|
|
L_78 = ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79(((int32_t)(((RuntimeArray*)L_77)->max_length)), ArrayPool_1_Claim_mDA23A2AB9EBE6DF073838AA633978D5EC4DCBA79_RuntimeMethod_var);
|
|
V_12 = L_78;
|
|
// int numCloseToEdge = 0;
|
|
V_13 = 0;
|
|
// for (int j = 0; j < nodes2.Length; j++) {
|
|
V_14 = 0;
|
|
goto IL_01f5;
|
|
}
|
|
|
|
IL_0179:
|
|
{
|
|
// TriangleMeshNode nodeB = nodes2[j];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_79 = V_11;
|
|
int32_t L_80 = V_14;
|
|
NullCheck(L_79);
|
|
int32_t L_81 = L_80;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_82 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_81));
|
|
V_15 = L_82;
|
|
// int bVertexCount = nodeB.GetVertexCount();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_83 = V_15;
|
|
NullCheck(L_83);
|
|
int32_t L_84;
|
|
L_84 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_83);
|
|
V_16 = L_84;
|
|
// for (int b = 0; b < bVertexCount; b++) {
|
|
V_17 = 0;
|
|
goto IL_01e9;
|
|
}
|
|
|
|
IL_018e:
|
|
{
|
|
// Int3 bVertex1 = nodeB.GetVertexInGraphSpace(b);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_85 = V_15;
|
|
int32_t L_86 = V_17;
|
|
NullCheck(L_85);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_87;
|
|
L_87 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_85, L_86, NULL);
|
|
V_18 = L_87;
|
|
// Int3 bVertex2 = nodeB.GetVertexInGraphSpace((b+1) % bVertexCount);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_88 = V_15;
|
|
int32_t L_89 = V_17;
|
|
int32_t L_90 = V_16;
|
|
NullCheck(L_88);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_91;
|
|
L_91 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_88, ((int32_t)(((int32_t)il2cpp_codegen_add(L_89, 1))%L_90)), NULL);
|
|
V_19 = L_91;
|
|
// if (Math.Abs(bVertex1[coord] - midpoint) < 2 && Math.Abs(bVertex2[coord] - midpoint) < 2) {
|
|
int32_t L_92 = V_4;
|
|
int32_t L_93;
|
|
L_93 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_18), L_92, NULL);
|
|
int32_t L_94 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_95;
|
|
L_95 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_93, L_94)));
|
|
if ((((int32_t)L_95) >= ((int32_t)2)))
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_96 = V_4;
|
|
int32_t L_97;
|
|
L_97 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_19), L_96, NULL);
|
|
int32_t L_98 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_99;
|
|
L_99 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_97, L_98)));
|
|
if ((((int32_t)L_99) >= ((int32_t)2)))
|
|
{
|
|
goto IL_01e3;
|
|
}
|
|
}
|
|
{
|
|
// closeToEdge[numCloseToEdge] = nodes2[j];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_100 = V_12;
|
|
int32_t L_101 = V_13;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_102 = V_11;
|
|
int32_t L_103 = V_14;
|
|
NullCheck(L_102);
|
|
int32_t L_104 = L_103;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_105 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_104));
|
|
NullCheck(L_100);
|
|
ArrayElementTypeCheck (L_100, L_105);
|
|
(L_100)->SetAt(static_cast<il2cpp_array_size_t>(L_101), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)L_105);
|
|
// numCloseToEdge++;
|
|
int32_t L_106 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_106, 1));
|
|
// break;
|
|
goto IL_01ef;
|
|
}
|
|
|
|
IL_01e3:
|
|
{
|
|
// for (int b = 0; b < bVertexCount; b++) {
|
|
int32_t L_107 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_107, 1));
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// for (int b = 0; b < bVertexCount; b++) {
|
|
int32_t L_108 = V_17;
|
|
int32_t L_109 = V_16;
|
|
if ((((int32_t)L_108) < ((int32_t)L_109)))
|
|
{
|
|
goto IL_018e;
|
|
}
|
|
}
|
|
|
|
IL_01ef:
|
|
{
|
|
// for (int j = 0; j < nodes2.Length; j++) {
|
|
int32_t L_110 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_110, 1));
|
|
}
|
|
|
|
IL_01f5:
|
|
{
|
|
// for (int j = 0; j < nodes2.Length; j++) {
|
|
int32_t L_111 = V_14;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_112 = V_11;
|
|
NullCheck(L_112);
|
|
if ((((int32_t)L_111) < ((int32_t)((int32_t)(((RuntimeArray*)L_112)->max_length)))))
|
|
{
|
|
goto IL_0179;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nodes1.Length; i++) {
|
|
V_20 = 0;
|
|
goto IL_0421;
|
|
}
|
|
|
|
IL_0208:
|
|
{
|
|
// TriangleMeshNode nodeA = nodes1[i];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_113 = V_10;
|
|
int32_t L_114 = V_20;
|
|
NullCheck(L_113);
|
|
int32_t L_115 = L_114;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_116 = (L_113)->GetAt(static_cast<il2cpp_array_size_t>(L_115));
|
|
V_21 = L_116;
|
|
// int aVertexCount = nodeA.GetVertexCount();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_117 = V_21;
|
|
NullCheck(L_117);
|
|
int32_t L_118;
|
|
L_118 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_117);
|
|
V_22 = L_118;
|
|
// for (int a = 0; a < aVertexCount; a++) {
|
|
V_23 = 0;
|
|
goto IL_0412;
|
|
}
|
|
|
|
IL_0220:
|
|
{
|
|
// Int3 aVertex1 = nodeA.GetVertexInGraphSpace(a);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_119 = V_21;
|
|
int32_t L_120 = V_23;
|
|
NullCheck(L_119);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_121;
|
|
L_121 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_119, L_120, NULL);
|
|
V_24 = L_121;
|
|
// Int3 aVertex2 = nodeA.GetVertexInGraphSpace((a+1) % aVertexCount);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_122 = V_21;
|
|
int32_t L_123 = V_23;
|
|
int32_t L_124 = V_22;
|
|
NullCheck(L_122);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_125;
|
|
L_125 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_122, ((int32_t)(((int32_t)il2cpp_codegen_add(L_123, 1))%L_124)), NULL);
|
|
V_25 = L_125;
|
|
// if (Math.Abs(aVertex1[coord] - midpoint) < 2 && Math.Abs(aVertex2[coord] - midpoint) < 2) {
|
|
int32_t L_126 = V_4;
|
|
int32_t L_127;
|
|
L_127 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_24), L_126, NULL);
|
|
int32_t L_128 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_129;
|
|
L_129 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_127, L_128)));
|
|
if ((((int32_t)L_129) >= ((int32_t)2)))
|
|
{
|
|
goto IL_040c;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_130 = V_4;
|
|
int32_t L_131;
|
|
L_131 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_25), L_130, NULL);
|
|
int32_t L_132 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_133;
|
|
L_133 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_131, L_132)));
|
|
if ((((int32_t)L_133) >= ((int32_t)2)))
|
|
{
|
|
goto IL_040c;
|
|
}
|
|
}
|
|
{
|
|
// int minalt = Math.Min(aVertex1[altcoord], aVertex2[altcoord]);
|
|
int32_t L_134 = V_5;
|
|
int32_t L_135;
|
|
L_135 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_24), L_134, NULL);
|
|
int32_t L_136 = V_5;
|
|
int32_t L_137;
|
|
L_137 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_25), L_136, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_138;
|
|
L_138 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_135, L_137, NULL);
|
|
V_26 = L_138;
|
|
// int maxalt = Math.Max(aVertex1[altcoord], aVertex2[altcoord]);
|
|
int32_t L_139 = V_5;
|
|
int32_t L_140;
|
|
L_140 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_24), L_139, NULL);
|
|
int32_t L_141 = V_5;
|
|
int32_t L_142;
|
|
L_142 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_25), L_141, NULL);
|
|
int32_t L_143;
|
|
L_143 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_140, L_142, NULL);
|
|
V_27 = L_143;
|
|
// if (minalt == maxalt) continue;
|
|
int32_t L_144 = V_26;
|
|
int32_t L_145 = V_27;
|
|
if ((((int32_t)L_144) == ((int32_t)L_145)))
|
|
{
|
|
goto IL_040c;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < numCloseToEdge; j++) {
|
|
V_28 = 0;
|
|
goto IL_0403;
|
|
}
|
|
|
|
IL_02ac:
|
|
{
|
|
// TriangleMeshNode nodeB = closeToEdge[j];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_146 = V_12;
|
|
int32_t L_147 = V_28;
|
|
NullCheck(L_146);
|
|
int32_t L_148 = L_147;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_149 = (L_146)->GetAt(static_cast<il2cpp_array_size_t>(L_148));
|
|
V_29 = L_149;
|
|
// int bVertexCount = nodeB.GetVertexCount();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_150 = V_29;
|
|
NullCheck(L_150);
|
|
int32_t L_151;
|
|
L_151 = VirtualFuncInvoker0< int32_t >::Invoke(21 /* System.Int32 Pathfinding.MeshNode::GetVertexCount() */, L_150);
|
|
V_30 = L_151;
|
|
// for (int b = 0; b < bVertexCount; b++) {
|
|
V_31 = 0;
|
|
goto IL_03f4;
|
|
}
|
|
|
|
IL_02c4:
|
|
{
|
|
// Int3 bVertex1 = nodeB.GetVertexInGraphSpace(b);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_152 = V_29;
|
|
int32_t L_153 = V_31;
|
|
NullCheck(L_152);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_154;
|
|
L_154 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_152, L_153, NULL);
|
|
V_32 = L_154;
|
|
// Int3 bVertex2 = nodeB.GetVertexInGraphSpace((b+1) % bVertexCount);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_155 = V_29;
|
|
int32_t L_156 = V_31;
|
|
int32_t L_157 = V_30;
|
|
NullCheck(L_155);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_158;
|
|
L_158 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_155, ((int32_t)(((int32_t)il2cpp_codegen_add(L_156, 1))%L_157)), NULL);
|
|
V_33 = L_158;
|
|
// if (Math.Abs(bVertex1[coord] - midpoint) < 2 && Math.Abs(bVertex2[coord] - midpoint) < 2) {
|
|
int32_t L_159 = V_4;
|
|
int32_t L_160;
|
|
L_160 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_32), L_159, NULL);
|
|
int32_t L_161 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_162;
|
|
L_162 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_160, L_161)));
|
|
if ((((int32_t)L_162) >= ((int32_t)2)))
|
|
{
|
|
goto IL_03ee;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_163 = V_4;
|
|
int32_t L_164;
|
|
L_164 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_33), L_163, NULL);
|
|
int32_t L_165 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_166;
|
|
L_166 = il2cpp_codegen_abs(((int32_t)il2cpp_codegen_subtract(L_164, L_165)));
|
|
if ((((int32_t)L_166) >= ((int32_t)2)))
|
|
{
|
|
goto IL_03ee;
|
|
}
|
|
}
|
|
{
|
|
// int minalt2 = Math.Min(bVertex1[altcoord], bVertex2[altcoord]);
|
|
int32_t L_167 = V_5;
|
|
int32_t L_168;
|
|
L_168 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_32), L_167, NULL);
|
|
int32_t L_169 = V_5;
|
|
int32_t L_170;
|
|
L_170 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_33), L_169, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int32_t L_171;
|
|
L_171 = Math_Min_m53C488772A34D53917BCA2A491E79A0A5356ED52(L_168, L_170, NULL);
|
|
V_34 = L_171;
|
|
// int maxalt2 = Math.Max(bVertex1[altcoord], bVertex2[altcoord]);
|
|
int32_t L_172 = V_5;
|
|
int32_t L_173;
|
|
L_173 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_32), L_172, NULL);
|
|
int32_t L_174 = V_5;
|
|
int32_t L_175;
|
|
L_175 = Int3_get_Item_m802943AA086EFABB0B7928AC639BD087E7CB6A2F((&V_33), L_174, NULL);
|
|
int32_t L_176;
|
|
L_176 = Math_Max_m530EBA549AFD98CFC2BD29FE86C6376E67DF11CF(L_173, L_175, NULL);
|
|
V_35 = L_176;
|
|
// if (minalt2 == maxalt2) continue;
|
|
int32_t L_177 = V_34;
|
|
int32_t L_178 = V_35;
|
|
if ((((int32_t)L_177) == ((int32_t)L_178)))
|
|
{
|
|
goto IL_03ee;
|
|
}
|
|
}
|
|
{
|
|
// if (maxalt > minalt2 && minalt < maxalt2) {
|
|
int32_t L_179 = V_27;
|
|
int32_t L_180 = V_34;
|
|
if ((((int32_t)L_179) <= ((int32_t)L_180)))
|
|
{
|
|
goto IL_03ee;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_181 = V_26;
|
|
int32_t L_182 = V_35;
|
|
if ((((int32_t)L_181) >= ((int32_t)L_182)))
|
|
{
|
|
goto IL_03ee;
|
|
}
|
|
}
|
|
{
|
|
// if ((aVertex1 == bVertex1 && aVertex2 == bVertex2) || (aVertex1 == bVertex2 && aVertex2 == bVertex1) ||
|
|
// VectorMath.SqrDistanceSegmentSegment((Vector3)aVertex1, (Vector3)aVertex2, (Vector3)bVertex1, (Vector3)bVertex2) < MaxTileConnectionEdgeDistance*MaxTileConnectionEdgeDistance) {
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_183 = V_24;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_184 = V_32;
|
|
bool L_185;
|
|
L_185 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_183, L_184, NULL);
|
|
if (!L_185)
|
|
{
|
|
goto IL_0370;
|
|
}
|
|
}
|
|
{
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_186 = V_25;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_187 = V_33;
|
|
bool L_188;
|
|
L_188 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_186, L_187, NULL);
|
|
if (L_188)
|
|
{
|
|
goto IL_03b6;
|
|
}
|
|
}
|
|
|
|
IL_0370:
|
|
{
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_189 = V_24;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_190 = V_33;
|
|
bool L_191;
|
|
L_191 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_189, L_190, NULL);
|
|
if (!L_191)
|
|
{
|
|
goto IL_0386;
|
|
}
|
|
}
|
|
{
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_192 = V_25;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_193 = V_32;
|
|
bool L_194;
|
|
L_194 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_192, L_193, NULL);
|
|
if (L_194)
|
|
{
|
|
goto IL_03b6;
|
|
}
|
|
}
|
|
|
|
IL_0386:
|
|
{
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_195 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_196;
|
|
L_196 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_195, NULL);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_197 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_198;
|
|
L_198 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_197, NULL);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_199 = V_32;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_200;
|
|
L_200 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_199, NULL);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_201 = V_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_202;
|
|
L_202 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_201, NULL);
|
|
float L_203;
|
|
L_203 = VectorMath_SqrDistanceSegmentSegment_m80031F06D84EC22124533A86CFC0F6D0944E962F(L_196, L_198, L_200, L_202, NULL);
|
|
float L_204;
|
|
L_204 = VirtualFuncInvoker0< float >::Invoke(34 /* System.Single Pathfinding.NavmeshBase::get_MaxTileConnectionEdgeDistance() */, __this);
|
|
float L_205;
|
|
L_205 = VirtualFuncInvoker0< float >::Invoke(34 /* System.Single Pathfinding.NavmeshBase::get_MaxTileConnectionEdgeDistance() */, __this);
|
|
if ((!(((float)L_203) < ((float)((float)il2cpp_codegen_multiply(L_204, L_205))))))
|
|
{
|
|
goto IL_03ee;
|
|
}
|
|
}
|
|
|
|
IL_03b6:
|
|
{
|
|
// uint cost = (uint)(nodeA.position - nodeB.position).costMagnitude;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_206 = V_21;
|
|
NullCheck(L_206);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_207 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_206)->___position_7;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_208 = V_29;
|
|
NullCheck(L_208);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_209 = ((GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A*)L_208)->___position_7;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_210;
|
|
L_210 = Int3_op_Subtraction_mE783E221E3504675A13BF9A440316A8A01F71B8E(L_207, L_209, NULL);
|
|
V_37 = L_210;
|
|
int32_t L_211;
|
|
L_211 = Int3_get_costMagnitude_m6286EB04015DE9C7D4C177B0D006A2E7F71E4250((&V_37), NULL);
|
|
V_36 = L_211;
|
|
// nodeA.AddConnection(nodeB, cost, a);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_212 = V_21;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_213 = V_29;
|
|
uint32_t L_214 = V_36;
|
|
int32_t L_215 = V_23;
|
|
NullCheck(L_212);
|
|
MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E(L_212, L_213, L_214, L_215, NULL);
|
|
// nodeB.AddConnection(nodeA, cost, b);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_216 = V_29;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_217 = V_21;
|
|
uint32_t L_218 = V_36;
|
|
int32_t L_219 = V_31;
|
|
NullCheck(L_216);
|
|
MeshNode_AddConnection_m21650A45029D3DE32BD899CD4594FD8185B6AD4E(L_216, L_217, L_218, L_219, NULL);
|
|
}
|
|
|
|
IL_03ee:
|
|
{
|
|
// for (int b = 0; b < bVertexCount; b++) {
|
|
int32_t L_220 = V_31;
|
|
V_31 = ((int32_t)il2cpp_codegen_add(L_220, 1));
|
|
}
|
|
|
|
IL_03f4:
|
|
{
|
|
// for (int b = 0; b < bVertexCount; b++) {
|
|
int32_t L_221 = V_31;
|
|
int32_t L_222 = V_30;
|
|
if ((((int32_t)L_221) < ((int32_t)L_222)))
|
|
{
|
|
goto IL_02c4;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < numCloseToEdge; j++) {
|
|
int32_t L_223 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_223, 1));
|
|
}
|
|
|
|
IL_0403:
|
|
{
|
|
// for (int j = 0; j < numCloseToEdge; j++) {
|
|
int32_t L_224 = V_28;
|
|
int32_t L_225 = V_13;
|
|
if ((((int32_t)L_224) < ((int32_t)L_225)))
|
|
{
|
|
goto IL_02ac;
|
|
}
|
|
}
|
|
|
|
IL_040c:
|
|
{
|
|
// for (int a = 0; a < aVertexCount; a++) {
|
|
int32_t L_226 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_226, 1));
|
|
}
|
|
|
|
IL_0412:
|
|
{
|
|
// for (int a = 0; a < aVertexCount; a++) {
|
|
int32_t L_227 = V_23;
|
|
int32_t L_228 = V_22;
|
|
if ((((int32_t)L_227) < ((int32_t)L_228)))
|
|
{
|
|
goto IL_0220;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < nodes1.Length; i++) {
|
|
int32_t L_229 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_229, 1));
|
|
}
|
|
|
|
IL_0421:
|
|
{
|
|
// for (int i = 0; i < nodes1.Length; i++) {
|
|
int32_t L_230 = V_20;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_231 = V_10;
|
|
NullCheck(L_231);
|
|
if ((((int32_t)L_230) < ((int32_t)((int32_t)(((RuntimeArray*)L_231)->max_length)))))
|
|
{
|
|
goto IL_0208;
|
|
}
|
|
}
|
|
{
|
|
// ArrayPool<TriangleMeshNode>.Release(ref closeToEdge);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_tBE08ACCAAAA3E462105D63556B9A1C82BD80BA58_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD((&V_12), (bool)0, ArrayPool_1_Release_mCB4107A0969C2B227A44C54AEDAC5C518A3A21DD_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::StartBatchTileUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_StartBatchTileUpdate_m8A08C3E41F560CBB3373A3E74ED52C14E5CF9302 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (batchTileUpdate) throw new System.InvalidOperationException("Calling StartBatchLoad when batching is already enabled");
|
|
bool L_0 = __this->___batchTileUpdate_24;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (batchTileUpdate) throw new System.InvalidOperationException("Calling StartBatchLoad when batching is already enabled");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_1 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralBCC537EDB5B93B7D6951E9024E5AFF9005C901B0)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_StartBatchTileUpdate_m8A08C3E41F560CBB3373A3E74ED52C14E5CF9302_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// batchTileUpdate = true;
|
|
__this->___batchTileUpdate_24 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::DestroyNodes(System.Collections.Generic.List`1<Pathfinding.MeshNode>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_DestroyNodes_mCF55C9DD982BD8DAA62DDFD7A19BBF23027D717A (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* ___0_nodes, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* V_4 = NULL;
|
|
{
|
|
// for (int i = 0; i < batchNodesToDestroy.Count; i++) {
|
|
V_0 = 0;
|
|
goto IL_001a;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// batchNodesToDestroy[i].TemporaryFlag1 = true;
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_0 = __this->___batchNodesToDestroy_26;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_2;
|
|
L_2 = List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D(L_0, L_1, List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D_RuntimeMethod_var);
|
|
NullCheck(L_2);
|
|
GraphNode_set_TemporaryFlag1_m49B9FE36353FF71A77F4342745A17C2986EB6387(L_2, (bool)1, NULL);
|
|
// for (int i = 0; i < batchNodesToDestroy.Count; i++) {
|
|
int32_t L_3 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_3, 1));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int i = 0; i < batchNodesToDestroy.Count; i++) {
|
|
int32_t L_4 = V_0;
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_5 = __this->___batchNodesToDestroy_26;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_inline(L_5, List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_RuntimeMethod_var);
|
|
if ((((int32_t)L_4) < ((int32_t)L_6)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < batchNodesToDestroy.Count; i++) {
|
|
V_1 = 0;
|
|
goto IL_0086;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// var node = batchNodesToDestroy[i];
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_7 = __this->___batchNodesToDestroy_26;
|
|
int32_t L_8 = V_1;
|
|
NullCheck(L_7);
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_9;
|
|
L_9 = List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D(L_7, L_8, List_1_get_Item_m9E846D6E5ACCB6C83E76C9161984444AB67CBC4D_RuntimeMethod_var);
|
|
V_2 = L_9;
|
|
// for (int j = 0; j < node.connections.Length; j++) {
|
|
V_3 = 0;
|
|
goto IL_0065;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// var neighbour = node.connections[j].node;
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_10 = V_2;
|
|
NullCheck(L_10);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_11 = L_10->___connections_20;
|
|
int32_t L_12 = V_3;
|
|
NullCheck(L_11);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_13 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)))->___node_0;
|
|
V_4 = L_13;
|
|
// if (!neighbour.TemporaryFlag1) {
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_14 = V_4;
|
|
NullCheck(L_14);
|
|
bool L_15;
|
|
L_15 = GraphNode_get_TemporaryFlag1_m291417336DCCA22A7DED7A2CB298156D2092CD26(L_14, NULL);
|
|
if (L_15)
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// neighbour.RemoveConnection(node);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_16 = V_4;
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_17 = V_2;
|
|
NullCheck(L_16);
|
|
VirtualActionInvoker1< GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* >::Invoke(7 /* System.Void Pathfinding.GraphNode::RemoveConnection(Pathfinding.GraphNode) */, L_16, L_17);
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// for (int j = 0; j < node.connections.Length; j++) {
|
|
int32_t L_18 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_18, 1));
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// for (int j = 0; j < node.connections.Length; j++) {
|
|
int32_t L_19 = V_3;
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_20 = V_2;
|
|
NullCheck(L_20);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_21 = L_20->___connections_20;
|
|
NullCheck(L_21);
|
|
if ((((int32_t)L_19) < ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)))))
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
// ArrayPool<Connection>.Release(ref node.connections, true);
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_22 = V_2;
|
|
NullCheck(L_22);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** L_23 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82**)(&L_22->___connections_20);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD(L_23, (bool)1, ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
// node.Destroy();
|
|
MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095* L_24 = V_2;
|
|
NullCheck(L_24);
|
|
GraphNode_Destroy_mDA77B05D323D3821AAE1CB7DE44F9DD48823C41D(L_24, NULL);
|
|
// for (int i = 0; i < batchNodesToDestroy.Count; i++) {
|
|
int32_t L_25 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_0086:
|
|
{
|
|
// for (int i = 0; i < batchNodesToDestroy.Count; i++) {
|
|
int32_t L_26 = V_1;
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_27 = __this->___batchNodesToDestroy_26;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_inline(L_27, List_1_get_Count_m40ABA4A93AB07780762ED45413CB7F9B2F6E00A8_RuntimeMethod_var);
|
|
if ((((int32_t)L_26) < ((int32_t)L_28)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::TryConnect(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_TryConnect_mDE382DF8A9FF17534A929101E1BDE73793F091FD (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_tileIdx1, int32_t ___1_tileIdx2, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (tiles[tileIdx1].flag && tiles[tileIdx2].flag && tileIdx1 >= tileIdx2) return;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_0 = __this->___tiles_20;
|
|
int32_t L_1 = ___0_tileIdx1;
|
|
NullCheck(L_0);
|
|
int32_t L_2 = L_1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
|
|
NullCheck(L_3);
|
|
bool L_4 = L_3->___flag_9;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_5 = __this->___tiles_20;
|
|
int32_t L_6 = ___1_tileIdx2;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
NullCheck(L_8);
|
|
bool L_9 = L_8->___flag_9;
|
|
if (!L_9)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_10 = ___0_tileIdx1;
|
|
int32_t L_11 = ___1_tileIdx2;
|
|
if ((((int32_t)L_10) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// if (tiles[tileIdx1].flag && tiles[tileIdx2].flag && tileIdx1 >= tileIdx2) return;
|
|
return;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// ConnectTiles(tiles[tileIdx1], tiles[tileIdx2]);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_12 = __this->___tiles_20;
|
|
int32_t L_13 = ___0_tileIdx1;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_16 = __this->___tiles_20;
|
|
int32_t L_17 = ___1_tileIdx2;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
NavmeshBase_ConnectTiles_mF332DA22AD4B2FF87FC3CF58710C31F70352405B(__this, L_15, L_19, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::EndBatchTileUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_EndBatchTileUpdate_mE4AFB99C74A92C1026952D872179E5A14BD00553 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ClearFast_TisMeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095_mDB2E13F2BD57E9538ADFA7F952744BEDC6093591_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);
|
|
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 G_B8_0 = 0;
|
|
int32_t G_B7_0 = 0;
|
|
{
|
|
// if (!batchTileUpdate) throw new System.InvalidOperationException("Calling EndBatchTileUpdate when batching had not yet been started");
|
|
bool L_0 = __this->___batchTileUpdate_24;
|
|
if (L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (!batchTileUpdate) throw new System.InvalidOperationException("Calling EndBatchTileUpdate when batching had not yet been started");
|
|
InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_1 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral66611DDF712CF5E1BE1EDE8E9729BB5A92E9341E)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_EndBatchTileUpdate_mE4AFB99C74A92C1026952D872179E5A14BD00553_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// batchTileUpdate = false;
|
|
__this->___batchTileUpdate_24 = (bool)0;
|
|
// DestroyNodes(batchNodesToDestroy);
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_2 = __this->___batchNodesToDestroy_26;
|
|
NavmeshBase_DestroyNodes_mCF55C9DD982BD8DAA62DDFD7A19BBF23027D717A(__this, L_2, NULL);
|
|
// batchNodesToDestroy.ClearFast();
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_3 = __this->___batchNodesToDestroy_26;
|
|
ListExtensions_ClearFast_TisMeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095_mDB2E13F2BD57E9538ADFA7F952744BEDC6093591(L_3, ListExtensions_ClearFast_TisMeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095_mDB2E13F2BD57E9538ADFA7F952744BEDC6093591_RuntimeMethod_var);
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = true;
|
|
V_0 = 0;
|
|
goto IL_0052;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = true;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_4 = __this->___tiles_20;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_5 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_7;
|
|
L_7 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_5, L_6, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_4);
|
|
int32_t L_8 = L_7;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_9 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
NullCheck(L_9);
|
|
L_9->___flag_9 = (bool)1;
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = true;
|
|
int32_t L_10 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = true;
|
|
int32_t L_11 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_12 = __this->___batchUpdatedTiles_25;
|
|
NullCheck(L_12);
|
|
int32_t L_13;
|
|
L_13 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_12, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_11) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) {
|
|
V_1 = 0;
|
|
goto IL_0139;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// int x = batchUpdatedTiles[i] % tileXCount, z = batchUpdatedTiles[i] / tileXCount;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_14 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_15 = V_1;
|
|
NullCheck(L_14);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_14, L_15, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_17 = __this->___tileXCount_18;
|
|
// int x = batchUpdatedTiles[i] % tileXCount, z = batchUpdatedTiles[i] / tileXCount;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_18 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_19 = V_1;
|
|
NullCheck(L_18);
|
|
int32_t L_20;
|
|
L_20 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_18, L_19, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_21 = __this->___tileXCount_18;
|
|
V_2 = ((int32_t)(L_20/L_21));
|
|
// if (x > 0) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] - 1);
|
|
int32_t L_22 = ((int32_t)(L_16%L_17));
|
|
G_B7_0 = L_22;
|
|
if ((((int32_t)L_22) <= ((int32_t)0)))
|
|
{
|
|
G_B8_0 = L_22;
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
// if (x > 0) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_23 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_24 = V_1;
|
|
NullCheck(L_23);
|
|
int32_t L_25;
|
|
L_25 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_23, L_24, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_26 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_27 = V_1;
|
|
NullCheck(L_26);
|
|
int32_t L_28;
|
|
L_28 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_26, L_27, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NavmeshBase_TryConnect_mDE382DF8A9FF17534A929101E1BDE73793F091FD(__this, L_25, ((int32_t)il2cpp_codegen_subtract(L_28, 1)), NULL);
|
|
G_B8_0 = G_B7_0;
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// if (x < tileXCount - 1) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] + 1);
|
|
int32_t L_29 = __this->___tileXCount_18;
|
|
if ((((int32_t)G_B8_0) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_29, 1)))))
|
|
{
|
|
goto IL_00dc;
|
|
}
|
|
}
|
|
{
|
|
// if (x < tileXCount - 1) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_30 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_31 = V_1;
|
|
NullCheck(L_30);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_30, L_31, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_33 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_34 = V_1;
|
|
NullCheck(L_33);
|
|
int32_t L_35;
|
|
L_35 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_33, L_34, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NavmeshBase_TryConnect_mDE382DF8A9FF17534A929101E1BDE73793F091FD(__this, L_32, ((int32_t)il2cpp_codegen_add(L_35, 1)), NULL);
|
|
}
|
|
|
|
IL_00dc:
|
|
{
|
|
// if (z > 0) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] - tileXCount);
|
|
int32_t L_36 = V_2;
|
|
if ((((int32_t)L_36) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// if (z > 0) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] - tileXCount);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_37 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_38 = V_1;
|
|
NullCheck(L_37);
|
|
int32_t L_39;
|
|
L_39 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_37, L_38, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_40 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_41 = V_1;
|
|
NullCheck(L_40);
|
|
int32_t L_42;
|
|
L_42 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_40, L_41, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_43 = __this->___tileXCount_18;
|
|
NavmeshBase_TryConnect_mDE382DF8A9FF17534A929101E1BDE73793F091FD(__this, L_39, ((int32_t)il2cpp_codegen_subtract(L_42, L_43)), NULL);
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// if (z < tileZCount - 1) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] + tileXCount);
|
|
int32_t L_44 = V_2;
|
|
int32_t L_45 = __this->___tileZCount_19;
|
|
if ((((int32_t)L_44) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_45, 1)))))
|
|
{
|
|
goto IL_0135;
|
|
}
|
|
}
|
|
{
|
|
// if (z < tileZCount - 1) TryConnect(batchUpdatedTiles[i], batchUpdatedTiles[i] + tileXCount);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_46 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_47 = V_1;
|
|
NullCheck(L_46);
|
|
int32_t L_48;
|
|
L_48 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_46, L_47, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_49 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_50 = V_1;
|
|
NullCheck(L_49);
|
|
int32_t L_51;
|
|
L_51 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_49, L_50, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_52 = __this->___tileXCount_18;
|
|
NavmeshBase_TryConnect_mDE382DF8A9FF17534A929101E1BDE73793F091FD(__this, L_48, ((int32_t)il2cpp_codegen_add(L_51, L_52)), NULL);
|
|
}
|
|
|
|
IL_0135:
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) {
|
|
int32_t L_53 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_53, 1));
|
|
}
|
|
|
|
IL_0139:
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) {
|
|
int32_t L_54 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_55 = __this->___batchUpdatedTiles_25;
|
|
NullCheck(L_55);
|
|
int32_t L_56;
|
|
L_56 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_55, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_54) < ((int32_t)L_56)))
|
|
{
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = false;
|
|
V_3 = 0;
|
|
goto IL_016b;
|
|
}
|
|
|
|
IL_014e:
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = false;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_57 = __this->___tiles_20;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_58 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_59 = V_3;
|
|
NullCheck(L_58);
|
|
int32_t L_60;
|
|
L_60 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_58, L_59, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_57);
|
|
int32_t L_61 = L_60;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_62 = (L_57)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
|
|
NullCheck(L_62);
|
|
L_62->___flag_9 = (bool)0;
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = false;
|
|
int32_t L_63 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_63, 1));
|
|
}
|
|
|
|
IL_016b:
|
|
{
|
|
// for (int i = 0; i < batchUpdatedTiles.Count; i++) tiles[batchUpdatedTiles[i]].flag = false;
|
|
int32_t L_64 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_65 = __this->___batchUpdatedTiles_25;
|
|
NullCheck(L_65);
|
|
int32_t L_66;
|
|
L_66 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_65, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_64) < ((int32_t)L_66)))
|
|
{
|
|
goto IL_014e;
|
|
}
|
|
}
|
|
{
|
|
// batchUpdatedTiles.ClearFast();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_67 = __this->___batchUpdatedTiles_25;
|
|
ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9(L_67, ListExtensions_ClearFast_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_mEACD16CE9AE5C9D688D129C051D1B7B8E0EFF0E9_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::ClearTile(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ClearTile_m5AD5CDBDCC976B9B26D049034D488AED8960F618 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0C38062438086C42E2A235399DCF158AF5DF6B37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_0 = NULL;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (!batchTileUpdate) throw new System.Exception("Must be called during a batch update. See StartBatchTileUpdate");
|
|
bool L_0 = __this->___batchTileUpdate_24;
|
|
if (L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (!batchTileUpdate) throw new System.Exception("Must be called during a batch update. See StartBatchTileUpdate");
|
|
Exception_t* L_1 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_1);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB4C2233B1137D77BA40D8B49150C9C34EA52AA6D)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ClearTile_m5AD5CDBDCC976B9B26D049034D488AED8960F618_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// var tile = GetTile(x, z);
|
|
int32_t L_2 = ___0_x;
|
|
int32_t L_3 = ___1_z;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4;
|
|
L_4 = NavmeshBase_GetTile_mD94F785359795C4760F72CF31111898D65B607C3(__this, L_2, L_3, NULL);
|
|
V_0 = L_4;
|
|
// if (tile == null) return;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = V_0;
|
|
if (L_5)
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// if (tile == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// var nodes = tile.nodes;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_7 = L_6->___nodes_7;
|
|
V_1 = L_7;
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_2 = 0;
|
|
goto IL_0042;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (nodes[i] != null) batchNodesToDestroy.Add(nodes[i]);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_8 = V_1;
|
|
int32_t L_9 = V_2;
|
|
NullCheck(L_8);
|
|
int32_t L_10 = L_9;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
|
|
if (!L_11)
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
// if (nodes[i] != null) batchNodesToDestroy.Add(nodes[i]);
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_12 = __this->___batchNodesToDestroy_26;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_13 = V_1;
|
|
int32_t L_14 = V_2;
|
|
NullCheck(L_13);
|
|
int32_t L_15 = L_14;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
|
|
NullCheck(L_12);
|
|
List_1_Add_m0C38062438086C42E2A235399DCF158AF5DF6B37_inline(L_12, L_16, List_1_Add_m0C38062438086C42E2A235399DCF158AF5DF6B37_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_17 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_17, 1));
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_18 = V_2;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_19 = V_1;
|
|
NullCheck(L_19);
|
|
if ((((int32_t)L_18) < ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// ObjectPool<BBTree>.Release(ref tile.bbTree);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_20 = V_0;
|
|
NullCheck(L_20);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E** L_21 = (BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E**)(&L_20->___bbTree_8);
|
|
ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3(L_21, ObjectPool_1_Release_m858CC7CBD52C5E9F912D53D29A1466FC64B8CFD3_RuntimeMethod_var);
|
|
// tiles[x + z*tileXCount] = null;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_22 = __this->___tiles_20;
|
|
int32_t L_23 = ___0_x;
|
|
int32_t L_24 = ___1_z;
|
|
int32_t L_25 = __this->___tileXCount_18;
|
|
NullCheck(L_22);
|
|
ArrayElementTypeCheck (L_22, NULL);
|
|
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_23, ((int32_t)il2cpp_codegen_multiply(L_24, L_25))))), (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::PrepareNodeRecycling(System.Int32,System.Int32,Pathfinding.Int3[],System.Int32[],Pathfinding.TriangleMeshNode[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_PrepareNodeRecycling_m96F0801E7CEBE11EEC99E38E5221AB5660E5B834 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_tris, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___4_recycledNodeBuffer, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_0 = NULL;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_1 = NULL;
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* V_2 = NULL;
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_7 = NULL;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
{
|
|
// NavmeshTile tile = GetTile(x, z);
|
|
int32_t L_0 = ___0_x;
|
|
int32_t L_1 = ___1_z;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_2;
|
|
L_2 = NavmeshBase_GetTile_mD94F785359795C4760F72CF31111898D65B607C3(__this, L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
// if (tile == null || tile.nodes.Length == 0) return;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_3 = V_0;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = L_4->___nodes_7;
|
|
NullCheck(L_5);
|
|
if ((((RuntimeArray*)L_5)->max_length))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// if (tile == null || tile.nodes.Length == 0) return;
|
|
return;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// var nodes = tile.nodes;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_7 = L_6->___nodes_7;
|
|
V_1 = L_7;
|
|
// var recycling = nodeRecyclingHashBuffer;
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_8 = __this->___nodeRecyclingHashBuffer_30;
|
|
V_2 = L_8;
|
|
// for (int i = 0, j = 0; i < tris.Length; i += 3, j++) {
|
|
V_4 = 0;
|
|
// for (int i = 0, j = 0; i < tris.Length; i += 3, j++) {
|
|
V_5 = 0;
|
|
goto IL_0088;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// recycling[verts[tris[i+0]].GetHashCode() + verts[tris[i+1]].GetHashCode() + verts[tris[i+2]].GetHashCode()] = j;
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_9 = V_2;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_10 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = ___3_tris;
|
|
int32_t L_12 = V_4;
|
|
NullCheck(L_11);
|
|
int32_t L_13 = L_12;
|
|
int32_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
NullCheck(L_10);
|
|
int32_t L_15;
|
|
L_15 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051(((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14))), NULL);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_16 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_17 = ___3_tris;
|
|
int32_t L_18 = V_4;
|
|
NullCheck(L_17);
|
|
int32_t L_19 = ((int32_t)il2cpp_codegen_add(L_18, 1));
|
|
int32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
NullCheck(L_16);
|
|
int32_t L_21;
|
|
L_21 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051(((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_20))), NULL);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_22 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = ___3_tris;
|
|
int32_t L_24 = V_4;
|
|
NullCheck(L_23);
|
|
int32_t L_25 = ((int32_t)il2cpp_codegen_add(L_24, 2));
|
|
int32_t L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
|
|
NullCheck(L_22);
|
|
int32_t L_27;
|
|
L_27 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051(((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26))), NULL);
|
|
int32_t L_28 = V_5;
|
|
NullCheck(L_9);
|
|
Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF(L_9, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_15, L_21)), L_27)), L_28, Dictionary_2_set_Item_m420CFC153320557E6823B06767710D1E636E5BDF_RuntimeMethod_var);
|
|
// for (int i = 0, j = 0; i < tris.Length; i += 3, j++) {
|
|
int32_t L_29 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_29, 3));
|
|
// for (int i = 0, j = 0; i < tris.Length; i += 3, j++) {
|
|
int32_t L_30 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
// for (int i = 0, j = 0; i < tris.Length; i += 3, j++) {
|
|
int32_t L_31 = V_4;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_32 = ___3_tris;
|
|
NullCheck(L_32);
|
|
if ((((int32_t)L_31) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// var connectionsToKeep = ListPool<Connection>.Claim();
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var);
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_33;
|
|
L_33 = ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB(ListPool_1_Claim_m7313E871A6577BE9C69DE42BCB46B2B27E0B24BB_RuntimeMethod_var);
|
|
V_3 = L_33;
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
V_6 = 0;
|
|
goto IL_01c9;
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
// var node = nodes[i];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_34 = V_1;
|
|
int32_t L_35 = V_6;
|
|
NullCheck(L_34);
|
|
int32_t L_36 = L_35;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
|
|
V_7 = L_37;
|
|
// node.GetVerticesInGraphSpace(out v0, out v1, out v2);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_38 = V_7;
|
|
NullCheck(L_38);
|
|
TriangleMeshNode_GetVerticesInGraphSpace_mFD3B0AE6576FC60EAAA3B5BCBE8AA14DC586FECE(L_38, (&V_8), (&V_9), (&V_10), NULL);
|
|
// var hash = v0.GetHashCode() + v1.GetHashCode() + v2.GetHashCode();
|
|
int32_t L_39;
|
|
L_39 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051((&V_8), NULL);
|
|
int32_t L_40;
|
|
L_40 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051((&V_9), NULL);
|
|
int32_t L_41;
|
|
L_41 = Int3_GetHashCode_m153F4D2AFDE0064AAC312D1EF0712EB8DEB36051((&V_10), NULL);
|
|
V_11 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_39, L_40)), L_41));
|
|
// if (recycling.TryGetValue(hash, out newNodeIndex)) {
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_42 = V_2;
|
|
int32_t L_43 = V_11;
|
|
NullCheck(L_42);
|
|
bool L_44;
|
|
L_44 = Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9(L_42, L_43, (&V_12), Dictionary_2_TryGetValue_mAAEB730BB484D3ECA345BF704F67084E465FFBF9_RuntimeMethod_var);
|
|
if (!L_44)
|
|
{
|
|
goto IL_01c3;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[tris[3*newNodeIndex+0]] == v0 && verts[tris[3*newNodeIndex+1]] == v1 && verts[tris[3*newNodeIndex+2]] == v2) {
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_45 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_46 = ___3_tris;
|
|
int32_t L_47 = V_12;
|
|
NullCheck(L_46);
|
|
int32_t L_48 = ((int32_t)il2cpp_codegen_multiply(3, L_47));
|
|
int32_t L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
|
|
NullCheck(L_45);
|
|
int32_t L_50 = L_49;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_51 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_52 = V_8;
|
|
bool L_53;
|
|
L_53 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_51, L_52, NULL);
|
|
if (!L_53)
|
|
{
|
|
goto IL_01c3;
|
|
}
|
|
}
|
|
{
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_54 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_55 = ___3_tris;
|
|
int32_t L_56 = V_12;
|
|
NullCheck(L_55);
|
|
int32_t L_57 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(3, L_56)), 1));
|
|
int32_t L_58 = (L_55)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
|
|
NullCheck(L_54);
|
|
int32_t L_59 = L_58;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_60 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_61 = V_9;
|
|
bool L_62;
|
|
L_62 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_60, L_61, NULL);
|
|
if (!L_62)
|
|
{
|
|
goto IL_01c3;
|
|
}
|
|
}
|
|
{
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_63 = ___2_verts;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64 = ___3_tris;
|
|
int32_t L_65 = V_12;
|
|
NullCheck(L_64);
|
|
int32_t L_66 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(3, L_65)), 2));
|
|
int32_t L_67 = (L_64)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
|
|
NullCheck(L_63);
|
|
int32_t L_68 = L_67;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_69 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_70 = V_10;
|
|
bool L_71;
|
|
L_71 = Int3_op_Equality_m5EB0A3F0EF1636B5F31D09CC2EBC4F72C88032C2(L_69, L_70, NULL);
|
|
if (!L_71)
|
|
{
|
|
goto IL_01c3;
|
|
}
|
|
}
|
|
{
|
|
// recycledNodeBuffer[newNodeIndex] = node;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_72 = ___4_recycledNodeBuffer;
|
|
int32_t L_73 = V_12;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_74 = V_7;
|
|
NullCheck(L_72);
|
|
ArrayElementTypeCheck (L_72, L_74);
|
|
(L_72)->SetAt(static_cast<il2cpp_array_size_t>(L_73), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)L_74);
|
|
// nodes[i] = null;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_75 = V_1;
|
|
int32_t L_76 = V_6;
|
|
NullCheck(L_75);
|
|
ArrayElementTypeCheck (L_75, NULL);
|
|
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(L_76), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)NULL);
|
|
// for (int j = 0; j < node.connections.Length; j++) {
|
|
V_13 = 0;
|
|
goto IL_0186;
|
|
}
|
|
|
|
IL_014b:
|
|
{
|
|
// if (node.connections[j].node.GraphIndex != node.GraphIndex) {
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_77 = V_7;
|
|
NullCheck(L_77);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_78 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_77)->___connections_20;
|
|
int32_t L_79 = V_13;
|
|
NullCheck(L_78);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_80 = ((L_78)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_79)))->___node_0;
|
|
NullCheck(L_80);
|
|
uint32_t L_81;
|
|
L_81 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(L_80, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_82 = V_7;
|
|
NullCheck(L_82);
|
|
uint32_t L_83;
|
|
L_83 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(L_82, NULL);
|
|
if ((((int32_t)L_81) == ((int32_t)L_83)))
|
|
{
|
|
goto IL_0180;
|
|
}
|
|
}
|
|
{
|
|
// connectionsToKeep.Add(node.connections[j]);
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_84 = V_3;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_85 = V_7;
|
|
NullCheck(L_85);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_86 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_85)->___connections_20;
|
|
int32_t L_87 = V_13;
|
|
NullCheck(L_86);
|
|
int32_t L_88 = L_87;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_89 = (L_86)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
|
|
NullCheck(L_84);
|
|
List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_inline(L_84, L_89, List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0180:
|
|
{
|
|
// for (int j = 0; j < node.connections.Length; j++) {
|
|
int32_t L_90 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_90, 1));
|
|
}
|
|
|
|
IL_0186:
|
|
{
|
|
// for (int j = 0; j < node.connections.Length; j++) {
|
|
int32_t L_91 = V_13;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_92 = V_7;
|
|
NullCheck(L_92);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_93 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_92)->___connections_20;
|
|
NullCheck(L_93);
|
|
if ((((int32_t)L_91) < ((int32_t)((int32_t)(((RuntimeArray*)L_93)->max_length)))))
|
|
{
|
|
goto IL_014b;
|
|
}
|
|
}
|
|
{
|
|
// ArrayPool<Connection>.Release(ref node.connections, true);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_94 = V_7;
|
|
NullCheck(L_94);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82** L_95 = (ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82**)(&((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_94)->___connections_20);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t63805065C3740321ED2F25E13C70BB2091CDCF08_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD(L_95, (bool)1, ArrayPool_1_Release_mC9FE1CE19A4C7AEF39D2C643F31DCF01E35E50BD_RuntimeMethod_var);
|
|
// if (connectionsToKeep.Count > 0) {
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_96 = V_3;
|
|
NullCheck(L_96);
|
|
int32_t L_97;
|
|
L_97 = List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_inline(L_96, List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_RuntimeMethod_var);
|
|
if ((((int32_t)L_97) <= ((int32_t)0)))
|
|
{
|
|
goto IL_01c3;
|
|
}
|
|
}
|
|
{
|
|
// node.connections = connectionsToKeep.ToArrayFromPool();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_98 = V_7;
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_99 = V_3;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_100;
|
|
L_100 = ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3(L_99, ListExtensions_ToArrayFromPool_TisConnection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0_m497692651293F6B4A75E424F39F6E93405543CC3_RuntimeMethod_var);
|
|
NullCheck(L_98);
|
|
((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_98)->___connections_20 = L_100;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_98)->___connections_20), (void*)L_100);
|
|
// node.SetConnectivityDirty();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_101 = V_7;
|
|
NullCheck(L_101);
|
|
GraphNode_SetConnectivityDirty_m1B823A693BA88849DB202D906E6DD5646D83E86E(L_101, NULL);
|
|
// connectionsToKeep.Clear();
|
|
List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* L_102 = V_3;
|
|
NullCheck(L_102);
|
|
List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_inline(L_102, List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01c3:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_103 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_103, 1));
|
|
}
|
|
|
|
IL_01c9:
|
|
{
|
|
// for (int i = 0; i < nodes.Length; i++) {
|
|
int32_t L_104 = V_6;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_105 = V_1;
|
|
NullCheck(L_105);
|
|
if ((((int32_t)L_104) < ((int32_t)((int32_t)(((RuntimeArray*)L_105)->max_length)))))
|
|
{
|
|
goto IL_009e;
|
|
}
|
|
}
|
|
{
|
|
// recycling.Clear();
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_106 = V_2;
|
|
NullCheck(L_106);
|
|
Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0(L_106, Dictionary_2_Clear_m9821889E928BB7EAEE9A7E81EDFC59651F7CBDD0_RuntimeMethod_var);
|
|
// ListPool<Connection>.Release(ref connectionsToKeep);
|
|
il2cpp_codegen_runtime_class_init_inline(ListPool_1_t89F335D79F52ECC2B98F7AB8133ABA0BF685A4C0_il2cpp_TypeInfo_var);
|
|
ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3((&V_3), ListPool_1_Release_m8FA3267432A4E1B4076892398DF5AF19990E5AE3_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::ReplaceTile(System.Int32,System.Int32,Pathfinding.Int3[],System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_ReplaceTile_m5D3C27F3D401BAD8AC9EC6B92493CF4EF829FD69 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, int32_t ___0_x, int32_t ___1_z, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* ___2_verts, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___3_tris, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral28E7974C77F25A79E144108301FF53B072AF6CB4);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4421093AA1177D21B0C2882A623BE24CA848F74F);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE9E2B623812D35AF4C1D3239F740CAD7A0651723);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
bool V_2 = false;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_3 = NULL;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_8 = NULL;
|
|
{
|
|
// int w = 1, d = 1;
|
|
V_0 = 1;
|
|
// int w = 1, d = 1;
|
|
V_1 = 1;
|
|
// if (x + w > tileXCount || z+d > tileZCount || x < 0 || z < 0) {
|
|
int32_t L_0 = ___0_x;
|
|
int32_t L_1 = V_0;
|
|
int32_t L_2 = __this->___tileXCount_18;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_0, L_1))) > ((int32_t)L_2)))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = ___1_z;
|
|
int32_t L_4 = V_1;
|
|
int32_t L_5 = __this->___tileZCount_19;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_3, L_4))) > ((int32_t)L_5)))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_6 = ___0_x;
|
|
if ((((int32_t)L_6) < ((int32_t)0)))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_7 = ___1_z;
|
|
if ((((int32_t)L_7) >= ((int32_t)0)))
|
|
{
|
|
goto IL_00b7;
|
|
}
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// throw new System.ArgumentException("Tile is placed at an out of bounds position or extends out of the graph bounds ("+x+", " + z + " [" + w + ", " + d+ "] " + tileXCount + " " + tileZCount + ")");
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_8 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var)), (uint32_t)((int32_t)13));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_9 = L_8;
|
|
NullCheck(L_9);
|
|
ArrayElementTypeCheck (L_9, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCB0F82DB14D9636ED8286575F5D33F54145B1EE1)));
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCB0F82DB14D9636ED8286575F5D33F54145B1EE1)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_9;
|
|
String_t* L_11;
|
|
L_11 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___0_x), NULL);
|
|
NullCheck(L_10);
|
|
ArrayElementTypeCheck (L_10, L_11);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_11);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_12 = L_10;
|
|
NullCheck(L_12);
|
|
ArrayElementTypeCheck (L_12, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D)));
|
|
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_13 = L_12;
|
|
String_t* L_14;
|
|
L_14 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___1_z), NULL);
|
|
NullCheck(L_13);
|
|
ArrayElementTypeCheck (L_13, L_14);
|
|
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_14);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_15 = L_13;
|
|
NullCheck(L_15);
|
|
ArrayElementTypeCheck (L_15, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5583A6C0598CF26694C21D7CA3666DD44488DFC5)));
|
|
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5583A6C0598CF26694C21D7CA3666DD44488DFC5)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_16 = L_15;
|
|
String_t* L_17;
|
|
L_17 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_0), NULL);
|
|
NullCheck(L_16);
|
|
ArrayElementTypeCheck (L_16, L_17);
|
|
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)L_17);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = L_16;
|
|
NullCheck(L_18);
|
|
ArrayElementTypeCheck (L_18, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D)));
|
|
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_19 = L_18;
|
|
String_t* L_20;
|
|
L_20 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_1), NULL);
|
|
NullCheck(L_19);
|
|
ArrayElementTypeCheck (L_19, L_20);
|
|
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(7), (String_t*)L_20);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_21 = L_19;
|
|
NullCheck(L_21);
|
|
ArrayElementTypeCheck (L_21, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10A105116F1400FFCE661E402C3C12DDCA0D688C)));
|
|
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(8), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10A105116F1400FFCE661E402C3C12DDCA0D688C)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_22 = L_21;
|
|
int32_t* L_23 = (int32_t*)(&__this->___tileXCount_18);
|
|
String_t* L_24;
|
|
L_24 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_23, NULL);
|
|
NullCheck(L_22);
|
|
ArrayElementTypeCheck (L_22, L_24);
|
|
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)L_24);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_25 = L_22;
|
|
NullCheck(L_25);
|
|
ArrayElementTypeCheck (L_25, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745)));
|
|
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745)));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_26 = L_25;
|
|
int32_t* L_27 = (int32_t*)(&__this->___tileZCount_19);
|
|
String_t* L_28;
|
|
L_28 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5(L_27, NULL);
|
|
NullCheck(L_26);
|
|
ArrayElementTypeCheck (L_26, L_28);
|
|
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)L_28);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_29 = L_26;
|
|
NullCheck(L_29);
|
|
ArrayElementTypeCheck (L_29, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
|
|
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D)));
|
|
String_t* L_30;
|
|
L_30 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_29, NULL);
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_31 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_31);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_31, L_30, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ReplaceTile_m5D3C27F3D401BAD8AC9EC6B92493CF4EF829FD69_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00b7:
|
|
{
|
|
// if (tris.Length % 3 != 0) throw new System.ArgumentException("Triangle array's length must be a multiple of 3 (tris)");
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_32 = ___3_tris;
|
|
NullCheck(L_32);
|
|
if (!((int32_t)(((int32_t)(((RuntimeArray*)L_32)->max_length))%3)))
|
|
{
|
|
goto IL_00ca;
|
|
}
|
|
}
|
|
{
|
|
// if (tris.Length % 3 != 0) throw new System.ArgumentException("Triangle array's length must be a multiple of 3 (tris)");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_33 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_33);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_33, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral13BEBA149DE044AADE680402DA746ACEC9E5BB0E)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_ReplaceTile_m5D3C27F3D401BAD8AC9EC6B92493CF4EF829FD69_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00ca:
|
|
{
|
|
// if (verts.Length > VertexIndexMask) {
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_34 = ___2_verts;
|
|
NullCheck(L_34);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length))) <= ((int32_t)((int32_t)4095))))
|
|
{
|
|
goto IL_012c;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("Too many vertices in the tile (" + verts.Length + " > " + VertexIndexMask +")\nYou can enable ASTAR_RECAST_LARGER_TILES under the 'Optimizations' tab in the A* Inspector to raise this limit. Or you can use a smaller tile size to reduce the likelihood of this happening.");
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_35 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_36 = L_35;
|
|
NullCheck(L_36);
|
|
ArrayElementTypeCheck (L_36, _stringLiteral4421093AA1177D21B0C2882A623BE24CA848F74F);
|
|
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral4421093AA1177D21B0C2882A623BE24CA848F74F);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_37 = L_36;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_38 = ___2_verts;
|
|
NullCheck(L_38);
|
|
V_6 = ((int32_t)(((RuntimeArray*)L_38)->max_length));
|
|
String_t* L_39;
|
|
L_39 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_6), NULL);
|
|
NullCheck(L_37);
|
|
ArrayElementTypeCheck (L_37, L_39);
|
|
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_39);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_40 = L_37;
|
|
NullCheck(L_40);
|
|
ArrayElementTypeCheck (L_40, _stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657);
|
|
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral717DA9E2386BEADCFFB33AE09B063FCD2EE1A657);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_41 = L_40;
|
|
V_6 = ((int32_t)4095);
|
|
String_t* L_42;
|
|
L_42 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_6), NULL);
|
|
NullCheck(L_41);
|
|
ArrayElementTypeCheck (L_41, L_42);
|
|
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_42);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_43 = L_41;
|
|
NullCheck(L_43);
|
|
ArrayElementTypeCheck (L_43, _stringLiteral28E7974C77F25A79E144108301FF53B072AF6CB4);
|
|
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral28E7974C77F25A79E144108301FF53B072AF6CB4);
|
|
String_t* L_44;
|
|
L_44 = String_Concat_m647EBF831F54B6DF7D5AFA5FD012CF4EE7571B6A(L_43, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_44, NULL);
|
|
// verts = new Int3[0];
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_45 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)SZArrayNew(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
___2_verts = L_45;
|
|
// tris = new int[0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_46 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
___3_tris = L_46;
|
|
}
|
|
|
|
IL_012c:
|
|
{
|
|
// var wasNotBatching = !batchTileUpdate;
|
|
bool L_47 = __this->___batchTileUpdate_24;
|
|
V_2 = (bool)((((int32_t)L_47) == ((int32_t)0))? 1 : 0);
|
|
// if (wasNotBatching) StartBatchTileUpdate();
|
|
bool L_48 = V_2;
|
|
if (!L_48)
|
|
{
|
|
goto IL_013f;
|
|
}
|
|
}
|
|
{
|
|
// if (wasNotBatching) StartBatchTileUpdate();
|
|
NavmeshBase_StartBatchTileUpdate_m8A08C3E41F560CBB3373A3E74ED52C14E5CF9302(__this, NULL);
|
|
}
|
|
|
|
IL_013f:
|
|
{
|
|
// var tile = new NavmeshTile {
|
|
// x = x,
|
|
// z = z,
|
|
// w = w,
|
|
// d = d,
|
|
// tris = tris,
|
|
// bbTree = ObjectPool<BBTree>.Claim(),
|
|
// graph = this,
|
|
// };
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_49 = (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)il2cpp_codegen_object_new(NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_49);
|
|
NavmeshTile__ctor_mAA38CC4E0AFD8FE328F54E47D8A7922597B9165A(L_49, NULL);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_50 = L_49;
|
|
int32_t L_51 = ___0_x;
|
|
NullCheck(L_50);
|
|
L_50->___x_3 = L_51;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_52 = L_50;
|
|
int32_t L_53 = ___1_z;
|
|
NullCheck(L_52);
|
|
L_52->___z_4 = L_53;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_54 = L_52;
|
|
int32_t L_55 = V_0;
|
|
NullCheck(L_54);
|
|
L_54->___w_5 = L_55;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_56 = L_54;
|
|
int32_t L_57 = V_1;
|
|
NullCheck(L_56);
|
|
L_56->___d_6 = L_57;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_58 = L_56;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_59 = ___3_tris;
|
|
NullCheck(L_58);
|
|
L_58->___tris_0 = L_59;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_58->___tris_0), (void*)L_59);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_60 = L_58;
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_61;
|
|
L_61 = ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284(ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var);
|
|
NullCheck(L_60);
|
|
L_60->___bbTree_8 = L_61;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_60->___bbTree_8), (void*)L_61);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_62 = L_60;
|
|
NullCheck(L_62);
|
|
L_62->___graph_10 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_62->___graph_10), (void*)__this);
|
|
V_3 = L_62;
|
|
// if (!Mathf.Approximately(x*TileWorldSizeX*Int3.FloatPrecision, (float)Math.Round(x*TileWorldSizeX*Int3.FloatPrecision))) Debug.LogWarning("Possible numerical imprecision. Consider adjusting tileSize and/or cellSize");
|
|
int32_t L_63 = ___0_x;
|
|
float L_64;
|
|
L_64 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_65 = ___0_x;
|
|
float L_66;
|
|
L_66 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_67;
|
|
L_67 = bankers_round(((double)((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_65), L_66)), (1000.0f)))));
|
|
bool L_68;
|
|
L_68 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_63), L_64)), (1000.0f))), ((float)L_67), NULL);
|
|
if (L_68)
|
|
{
|
|
goto IL_01b1;
|
|
}
|
|
}
|
|
{
|
|
// if (!Mathf.Approximately(x*TileWorldSizeX*Int3.FloatPrecision, (float)Math.Round(x*TileWorldSizeX*Int3.FloatPrecision))) Debug.LogWarning("Possible numerical imprecision. Consider adjusting tileSize and/or cellSize");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralE9E2B623812D35AF4C1D3239F740CAD7A0651723, NULL);
|
|
}
|
|
|
|
IL_01b1:
|
|
{
|
|
// if (!Mathf.Approximately(z*TileWorldSizeZ*Int3.FloatPrecision, (float)Math.Round(z*TileWorldSizeZ*Int3.FloatPrecision))) Debug.LogWarning("Possible numerical imprecision. Consider adjusting tileSize and/or cellSize");
|
|
int32_t L_69 = ___1_z;
|
|
float L_70;
|
|
L_70 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
int32_t L_71 = ___1_z;
|
|
float L_72;
|
|
L_72 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_73;
|
|
L_73 = bankers_round(((double)((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_71), L_72)), (1000.0f)))));
|
|
bool L_74;
|
|
L_74 = Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_69), L_70)), (1000.0f))), ((float)L_73), NULL);
|
|
if (L_74)
|
|
{
|
|
goto IL_01e7;
|
|
}
|
|
}
|
|
{
|
|
// if (!Mathf.Approximately(z*TileWorldSizeZ*Int3.FloatPrecision, (float)Math.Round(z*TileWorldSizeZ*Int3.FloatPrecision))) Debug.LogWarning("Possible numerical imprecision. Consider adjusting tileSize and/or cellSize");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralE9E2B623812D35AF4C1D3239F740CAD7A0651723, NULL);
|
|
}
|
|
|
|
IL_01e7:
|
|
{
|
|
// var offset = (Int3) new Vector3((x * TileWorldSizeX), 0, (z * TileWorldSizeZ));
|
|
int32_t L_75 = ___0_x;
|
|
float L_76;
|
|
L_76 = VirtualFuncInvoker0< float >::Invoke(32 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeX() */, __this);
|
|
int32_t L_77 = ___1_z;
|
|
float L_78;
|
|
L_78 = VirtualFuncInvoker0< float >::Invoke(33 /* System.Single Pathfinding.NavmeshBase::get_TileWorldSizeZ() */, __this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
memset((&L_79), 0, sizeof(L_79));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_79), ((float)il2cpp_codegen_multiply(((float)L_75), L_76)), (0.0f), ((float)il2cpp_codegen_multiply(((float)L_77), L_78)), /*hidden argument*/NULL);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_80;
|
|
L_80 = Int3_op_Explicit_m735A20700611A249214D777FBA105305CEA5C34F(L_79, NULL);
|
|
V_4 = L_80;
|
|
// for (int i = 0; i < verts.Length; i++) {
|
|
V_7 = 0;
|
|
goto IL_022f;
|
|
}
|
|
|
|
IL_020f:
|
|
{
|
|
// verts[i] += offset;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_81 = ___2_verts;
|
|
int32_t L_82 = V_7;
|
|
NullCheck(L_81);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553* L_83 = ((L_81)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_84 = (*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_83);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_85 = V_4;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_86;
|
|
L_86 = Int3_op_Addition_mB80493FA1BF7D5410E713B41EC744857D17D2023(L_84, L_85, NULL);
|
|
*(Int3_t3D1B990C798A218E8F705930EF9F0A373A439553*)L_83 = L_86;
|
|
// for (int i = 0; i < verts.Length; i++) {
|
|
int32_t L_87 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_87, 1));
|
|
}
|
|
|
|
IL_022f:
|
|
{
|
|
// for (int i = 0; i < verts.Length; i++) {
|
|
int32_t L_88 = V_7;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_89 = ___2_verts;
|
|
NullCheck(L_89);
|
|
if ((((int32_t)L_88) < ((int32_t)((int32_t)(((RuntimeArray*)L_89)->max_length)))))
|
|
{
|
|
goto IL_020f;
|
|
}
|
|
}
|
|
{
|
|
// tile.vertsInGraphSpace = verts;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_90 = V_3;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_91 = ___2_verts;
|
|
NullCheck(L_90);
|
|
L_90->___vertsInGraphSpace_2 = L_91;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_90->___vertsInGraphSpace_2), (void*)L_91);
|
|
// tile.verts = (Int3[])verts.Clone();
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_92 = V_3;
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_93 = ___2_verts;
|
|
NullCheck((RuntimeArray*)L_93);
|
|
RuntimeObject* L_94;
|
|
L_94 = Array_Clone_m66C9D0727C9BAA0995E4142F29B45BC03582E042((RuntimeArray*)L_93, NULL);
|
|
NullCheck(L_92);
|
|
L_92->___verts_1 = ((Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)Castclass((RuntimeObject*)L_94, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_92->___verts_1), (void*)((Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)Castclass((RuntimeObject*)L_94, Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var)));
|
|
// transform.Transform(tile.verts);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_95 = __this->___transform_27;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_96 = V_3;
|
|
NullCheck(L_96);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_97 = L_96->___verts_1;
|
|
NullCheck(L_95);
|
|
GraphTransform_Transform_m89864B9C7AAD43CD182434A6D79D245887D56E03(L_95, L_97, NULL);
|
|
// var nodes = tile.nodes = new TriangleMeshNode[tris.Length/3];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_98 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_99 = ___3_tris;
|
|
NullCheck(L_99);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_100 = (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142*)(TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142*)SZArrayNew(TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((int32_t)(((RuntimeArray*)L_99)->max_length))/3)));
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_101 = L_100;
|
|
V_8 = L_101;
|
|
NullCheck(L_98);
|
|
L_98->___nodes_7 = L_101;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_98->___nodes_7), (void*)L_101);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_102 = V_8;
|
|
V_5 = L_102;
|
|
// PrepareNodeRecycling(x, z, tile.vertsInGraphSpace, tris, tile.nodes);
|
|
int32_t L_103 = ___0_x;
|
|
int32_t L_104 = ___1_z;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_105 = V_3;
|
|
NullCheck(L_105);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_106 = L_105->___vertsInGraphSpace_2;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_107 = ___3_tris;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_108 = V_3;
|
|
NullCheck(L_108);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_109 = L_108->___nodes_7;
|
|
NavmeshBase_PrepareNodeRecycling_m96F0801E7CEBE11EEC99E38E5221AB5660E5B834(__this, L_103, L_104, L_106, L_107, L_109, NULL);
|
|
// ClearTile(x, z);
|
|
int32_t L_110 = ___0_x;
|
|
int32_t L_111 = ___1_z;
|
|
NavmeshBase_ClearTile_m5AD5CDBDCC976B9B26D049034D488AED8960F618(__this, L_110, L_111, NULL);
|
|
// tiles[x + z*tileXCount] = tile;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_112 = __this->___tiles_20;
|
|
int32_t L_113 = ___0_x;
|
|
int32_t L_114 = ___1_z;
|
|
int32_t L_115 = __this->___tileXCount_18;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_116 = V_3;
|
|
NullCheck(L_112);
|
|
ArrayElementTypeCheck (L_112, L_116);
|
|
(L_112)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_113, ((int32_t)il2cpp_codegen_multiply(L_114, L_115))))), (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)L_116);
|
|
// batchUpdatedTiles.Add(x + z*tileXCount);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_117 = __this->___batchUpdatedTiles_25;
|
|
int32_t L_118 = ___0_x;
|
|
int32_t L_119 = ___1_z;
|
|
int32_t L_120 = __this->___tileXCount_18;
|
|
NullCheck(L_117);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_117, ((int32_t)il2cpp_codegen_add(L_118, ((int32_t)il2cpp_codegen_multiply(L_119, L_120)))), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// CreateNodes(nodes, tile.tris, x + z*tileXCount, (uint)active.data.GetGraphIndex(this));
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_121 = V_5;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_122 = V_3;
|
|
NullCheck(L_122);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_123 = L_122->___tris_0;
|
|
int32_t L_124 = ___0_x;
|
|
int32_t L_125 = ___1_z;
|
|
int32_t L_126 = __this->___tileXCount_18;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_127 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_127);
|
|
AstarData_t30516588FB7CAA6B19E0C049C480E35968FB6F81* L_128 = L_127->___data_8;
|
|
NullCheck(L_128);
|
|
int32_t L_129;
|
|
L_129 = AstarData_GetGraphIndex_mEE39A9C890D7D44B139C86A4DF94AA0E171069C0(L_128, __this, NULL);
|
|
NavmeshBase_CreateNodes_m7BFF7CCFE468A7BAD42CBA3A35808AE5427FCEA1(__this, L_121, L_123, ((int32_t)il2cpp_codegen_add(L_124, ((int32_t)il2cpp_codegen_multiply(L_125, L_126)))), L_129, NULL);
|
|
// tile.bbTree.RebuildFrom(nodes);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_130 = V_3;
|
|
NullCheck(L_130);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_131 = L_130->___bbTree_8;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_132 = V_5;
|
|
NullCheck(L_131);
|
|
BBTree_RebuildFrom_mDFA8828FEEB0A074733D3C8C72153A05E5747988(L_131, L_132, NULL);
|
|
// CreateNodeConnections(tile.nodes);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_133 = V_3;
|
|
NullCheck(L_133);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_134 = L_133->___nodes_7;
|
|
il2cpp_codegen_runtime_class_init_inline(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
NavmeshBase_CreateNodeConnections_mE3D1C55960D9F60C06AFCA6775A164E7AF12856D(L_134, NULL);
|
|
// if (wasNotBatching) EndBatchTileUpdate();
|
|
bool L_135 = V_2;
|
|
if (!L_135)
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
// if (wasNotBatching) EndBatchTileUpdate();
|
|
NavmeshBase_EndBatchTileUpdate_mE4AFB99C74A92C1026952D872179E5A14BD00553(__this, NULL);
|
|
}
|
|
|
|
IL_0306:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::CreateNodes(Pathfinding.TriangleMeshNode[],System.Int32[],System.Int32,System.UInt32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNodes_m7BFF7CCFE468A7BAD42CBA3A35808AE5427FCEA1 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* ___0_buffer, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_tris, int32_t ___2_tileIndex, uint32_t ___3_graphIndex, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_1 = NULL;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_2 = NULL;
|
|
{
|
|
// if (buffer == null || buffer.Length < tris.Length/3) throw new System.ArgumentException("buffer must be non null and at least as large as tris.Length/3");
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_0 = ___0_buffer;
|
|
if (!L_0)
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_1 = ___0_buffer;
|
|
NullCheck(L_1);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_2 = ___1_tris;
|
|
NullCheck(L_2);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))) >= ((int32_t)((int32_t)(((int32_t)(((RuntimeArray*)L_2)->max_length))/3)))))
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// if (buffer == null || buffer.Length < tris.Length/3) throw new System.ArgumentException("buffer must be non null and at least as large as tris.Length/3");
|
|
ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263* L_3 = (ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_3);
|
|
ArgumentException__ctor_m026938A67AF9D36BB7ED27F80425D7194B514465(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral623D80D44009A224F67DBD33958EEA3D77137407)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_CreateNodes_m7BFF7CCFE468A7BAD42CBA3A35808AE5427FCEA1_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// tileIndex <<= TileIndexOffset;
|
|
int32_t L_4 = ___2_tileIndex;
|
|
___2_tileIndex = ((int32_t)(L_4<<((int32_t)12)));
|
|
// for (int i = 0; i < buffer.Length; i++) {
|
|
V_0 = 0;
|
|
goto IL_00e3;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// var node = buffer[i];
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_5 = ___0_buffer;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_7 = L_6;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
|
|
V_1 = L_8;
|
|
// if (node == null) node = buffer[i] = new TriangleMeshNode(active);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_9 = V_1;
|
|
if (L_9)
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
// if (node == null) node = buffer[i] = new TriangleMeshNode(active);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_10 = ___0_buffer;
|
|
int32_t L_11 = V_0;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_12 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_13 = (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)il2cpp_codegen_object_new(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
NullCheck(L_13);
|
|
TriangleMeshNode__ctor_m14C08A0315BDC1EE96D50B6153A6366C502F0809(L_13, L_12, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_14 = L_13;
|
|
V_2 = L_14;
|
|
NullCheck(L_10);
|
|
ArrayElementTypeCheck (L_10, L_14);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)L_14);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_15 = V_2;
|
|
V_1 = L_15;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// node.Walkable = true;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_16 = V_1;
|
|
NullCheck(L_16);
|
|
GraphNode_set_Walkable_mCF50E3137F65A96644AED7F796F4DCE9EA1577CE(L_16, (bool)1, NULL);
|
|
// node.Tag = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_17 = V_1;
|
|
NullCheck(L_17);
|
|
GraphNode_set_Tag_m7BBADEE7A94A2FF55C42402F042B3DFC9719ED26(L_17, 0, NULL);
|
|
// node.Penalty = initialPenalty;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_18 = V_1;
|
|
uint32_t L_19 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___initialPenalty_2;
|
|
NullCheck(L_18);
|
|
GraphNode_set_Penalty_mC96C25B6939F620A6619F746CF7401FCA55FF00E(L_18, L_19, NULL);
|
|
// node.GraphIndex = graphIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_20 = V_1;
|
|
uint32_t L_21 = ___3_graphIndex;
|
|
NullCheck(L_20);
|
|
GraphNode_set_GraphIndex_m9B2794336E89B1606DDA06CE9042A64BC06BCCEF(L_20, L_21, NULL);
|
|
// node.v0 = tris[i*3+0] | tileIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_22 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_23 = ___1_tris;
|
|
int32_t L_24 = V_0;
|
|
NullCheck(L_23);
|
|
int32_t L_25 = ((int32_t)il2cpp_codegen_multiply(L_24, 3));
|
|
int32_t L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
|
|
int32_t L_27 = ___2_tileIndex;
|
|
NullCheck(L_22);
|
|
L_22->___v0_21 = ((int32_t)(L_26|L_27));
|
|
// node.v1 = tris[i*3+1] | tileIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_28 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_29 = ___1_tris;
|
|
int32_t L_30 = V_0;
|
|
NullCheck(L_29);
|
|
int32_t L_31 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_30, 3)), 1));
|
|
int32_t L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
|
|
int32_t L_33 = ___2_tileIndex;
|
|
NullCheck(L_28);
|
|
L_28->___v1_22 = ((int32_t)(L_32|L_33));
|
|
// node.v2 = tris[i*3+2] | tileIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_34 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_35 = ___1_tris;
|
|
int32_t L_36 = V_0;
|
|
NullCheck(L_35);
|
|
int32_t L_37 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_36, 3)), 2));
|
|
int32_t L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
|
|
int32_t L_39 = ___2_tileIndex;
|
|
NullCheck(L_34);
|
|
L_34->___v2_23 = ((int32_t)(L_38|L_39));
|
|
// if (RecalculateNormals && !VectorMath.IsClockwiseXZ(node.GetVertexInGraphSpace(0), node.GetVertexInGraphSpace(1), node.GetVertexInGraphSpace(2))) {
|
|
bool L_40;
|
|
L_40 = VirtualFuncInvoker0< bool >::Invoke(35 /* System.Boolean Pathfinding.NavmeshBase::get_RecalculateNormals() */, __this);
|
|
if (!L_40)
|
|
{
|
|
goto IL_00d9;
|
|
}
|
|
}
|
|
{
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_41 = V_1;
|
|
NullCheck(L_41);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_42;
|
|
L_42 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_41, 0, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_43 = V_1;
|
|
NullCheck(L_43);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_44;
|
|
L_44 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_43, 1, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_45 = V_1;
|
|
NullCheck(L_45);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_46;
|
|
L_46 = TriangleMeshNode_GetVertexInGraphSpace_m8402CA4B279FCB6B67BD4FABCF539846424A84CB(L_45, 2, NULL);
|
|
bool L_47;
|
|
L_47 = VectorMath_IsClockwiseXZ_mA7D8D82EDB9ED7455275BC7966151B8713D7F901(L_42, L_44, L_46, NULL);
|
|
if (L_47)
|
|
{
|
|
goto IL_00d9;
|
|
}
|
|
}
|
|
{
|
|
// Memory.Swap(ref tris[i*3+0], ref tris[i*3+2]);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_48 = ___1_tris;
|
|
int32_t L_49 = V_0;
|
|
NullCheck(L_48);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_50 = ___1_tris;
|
|
int32_t L_51 = V_0;
|
|
NullCheck(L_50);
|
|
Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679(((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_multiply(L_49, 3))))), ((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_51, 3)), 2))))), Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679_RuntimeMethod_var);
|
|
// Memory.Swap(ref node.v0, ref node.v2);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_52 = V_1;
|
|
NullCheck(L_52);
|
|
int32_t* L_53 = (int32_t*)(&L_52->___v0_21);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_54 = V_1;
|
|
NullCheck(L_54);
|
|
int32_t* L_55 = (int32_t*)(&L_54->___v2_23);
|
|
Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679(L_53, L_55, Memory_Swap_TisInt32_t680FF22E76F6EFAD4375103CBBFFA0421349384C_m49E71DA2C0084CEED6EFCEE2078895AD2F67F679_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// node.UpdatePositionFromVertices();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_56 = V_1;
|
|
NullCheck(L_56);
|
|
TriangleMeshNode_UpdatePositionFromVertices_m6CCA5F5853B69E596C4375E99B0CC141E577BC61(L_56, NULL);
|
|
// for (int i = 0; i < buffer.Length; i++) {
|
|
int32_t L_57 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_57, 1));
|
|
}
|
|
|
|
IL_00e3:
|
|
{
|
|
// for (int i = 0; i < buffer.Length; i++) {
|
|
int32_t L_58 = V_0;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_59 = ___0_buffer;
|
|
NullCheck(L_59);
|
|
if ((((int32_t)L_58) < ((int32_t)((int32_t)(((RuntimeArray*)L_59)->max_length)))))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase__ctor_m1862DCB5497316A4CE27F317AF797A098D340F1D (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m4BBC825391EFA3F544030C47A0107D7887F6918E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 forcedBoundsSize = new Vector3(100, 40, 100);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (100.0f), (40.0f), (100.0f), /*hidden argument*/NULL);
|
|
__this->___forcedBoundsSize_14 = L_0;
|
|
// public bool showMeshOutline = true;
|
|
__this->___showMeshOutline_15 = (bool)1;
|
|
// public bool showMeshSurface = true;
|
|
__this->___showMeshSurface_17 = (bool)1;
|
|
// public bool enableNavmeshCutting = true;
|
|
__this->___enableNavmeshCutting_22 = (bool)1;
|
|
// List<int> batchUpdatedTiles = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_1 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_1, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
__this->___batchUpdatedTiles_25 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___batchUpdatedTiles_25), (void*)L_1);
|
|
// List<MeshNode> batchNodesToDestroy = new List<MeshNode>();
|
|
List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9* L_2 = (List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9*)il2cpp_codegen_object_new(List_1_tFCE736E7D374F3EA3C05F3CF3E4F26F20B5487D9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m4BBC825391EFA3F544030C47A0107D7887F6918E(L_2, List_1__ctor_m4BBC825391EFA3F544030C47A0107D7887F6918E_RuntimeMethod_var);
|
|
__this->___batchNodesToDestroy_26 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___batchNodesToDestroy_26), (void*)L_2);
|
|
// public GraphTransform transform = new GraphTransform(Matrix4x4.identity);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_3;
|
|
L_3 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_4 = (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426*)il2cpp_codegen_object_new(GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
GraphTransform__ctor_mF0D350BA128D610C33975209F3E04290F0936A88(L_4, L_3, NULL);
|
|
__this->___transform_27 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___transform_27), (void*)L_4);
|
|
// Dictionary<int, int> nodeRecyclingHashBuffer = new Dictionary<int, int>();
|
|
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180* L_5 = (Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180*)il2cpp_codegen_object_new(Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F(L_5, Dictionary_2__ctor_m712893C2C48C47CCAFAD85A865C702E8D3D2B71F_RuntimeMethod_var);
|
|
__this->___nodeRecyclingHashBuffer_30 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___nodeRecyclingHashBuffer_30), (void*)L_5);
|
|
// public NavmeshBase () {
|
|
NavGraph__ctor_mAA234C62A98AC3CD20D1CD0642D6EC2CDCBEF015(__this, NULL);
|
|
// navmeshUpdateData = new NavmeshUpdates.NavmeshUpdateSettings(this);
|
|
NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F* L_6 = (NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F*)il2cpp_codegen_object_new(NavmeshUpdateSettings_tDF2E020426D0A7CFA3DC6AE231979BBA55D7425F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
NavmeshUpdateSettings__ctor_m75291D2A5315A9AED5CEB888EA21D64439F5CB3C(L_6, __this, NULL);
|
|
__this->___navmeshUpdateData_23 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___navmeshUpdateData_23), (void*)L_6);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::OnDrawGizmos(Pathfinding.Util.RetainedGizmos,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_OnDrawGizmos_m2CEF8C1624AEF0191F1E634FB1BD809E46F024E5 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* ___0_gizmos, bool ___1_drawNodes, 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*)&NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* V_0 = NULL;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* V_9 = NULL;
|
|
int32_t V_10 = 0;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* V_11 = NULL;
|
|
int32_t V_12 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B13_0 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B12_0 = NULL;
|
|
int32_t G_B14_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B14_1 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B16_0 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B15_0 = NULL;
|
|
int32_t G_B17_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B17_1 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B19_0 = NULL;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B18_0 = NULL;
|
|
int32_t G_B20_0 = 0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B* G_B20_1 = NULL;
|
|
{
|
|
// if (!drawNodes) {
|
|
bool L_0 = ___1_drawNodes;
|
|
if (L_0)
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// using (var helper = gizmos.GetSingleFrameGizmoHelper(active)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_1 = ___0_gizmos;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_2 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_1);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_3;
|
|
L_3 = RetainedGizmos_GetSingleFrameGizmoHelper_m3420A5101BCCA4E22822F44EEF8C12FBF5CA848D(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0044:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_4 = V_0;
|
|
if (!L_4)
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_5 = V_0;
|
|
NullCheck(L_5);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_5);
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
// var bounds = new Bounds();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
|
|
// bounds.SetMinMax(Vector3.zero, forcedBoundsSize);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->___forcedBoundsSize_14;
|
|
Bounds_SetMinMax_mB5F7DDF18EDB7F3F25FA6D2B36824F28978C540F((&V_1), L_6, L_7, NULL);
|
|
// helper.builder.DrawWireCube(CalculateTransform(), bounds, Color.white);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_8 = V_0;
|
|
NullCheck(L_8);
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_9;
|
|
L_9 = GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline(L_8, NULL);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_10;
|
|
L_10 = VirtualFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(36 /* Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::CalculateTransform() */, __this);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_11 = V_1;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_12;
|
|
L_12 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
NullCheck(L_9);
|
|
Builder_DrawWireCube_mB68EC0D905E39411D59E3BD67564DCD203CE78F0(L_9, L_10, L_11, L_12, NULL);
|
|
// }
|
|
goto IL_004e;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// if (tiles != null && (showMeshSurface || showMeshOutline || showNodeConnections)) {
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_13 = __this->___tiles_20;
|
|
if (!L_13)
|
|
{
|
|
goto IL_0219;
|
|
}
|
|
}
|
|
{
|
|
bool L_14 = __this->___showMeshSurface_17;
|
|
if (L_14)
|
|
{
|
|
goto IL_0074;
|
|
}
|
|
}
|
|
{
|
|
bool L_15 = __this->___showMeshOutline_15;
|
|
if (L_15)
|
|
{
|
|
goto IL_0074;
|
|
}
|
|
}
|
|
{
|
|
bool L_16 = __this->___showNodeConnections_16;
|
|
if (!L_16)
|
|
{
|
|
goto IL_0219;
|
|
}
|
|
}
|
|
|
|
IL_0074:
|
|
{
|
|
// var baseHasher = new RetainedGizmos.Hasher(active);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_17 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
Hasher__ctor_m25E88DB00502DF7D65073E1CF46CD641400E0280((&V_2), L_17, NULL);
|
|
// baseHasher.AddHash(showMeshOutline ? 1 : 0);
|
|
bool L_18 = __this->___showMeshOutline_15;
|
|
G_B12_0 = (&V_2);
|
|
if (L_18)
|
|
{
|
|
G_B13_0 = (&V_2);
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
G_B14_0 = 0;
|
|
G_B14_1 = G_B12_0;
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
G_B14_0 = 1;
|
|
G_B14_1 = G_B13_0;
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C(G_B14_1, G_B14_0, NULL);
|
|
// baseHasher.AddHash(showMeshSurface ? 1 : 0);
|
|
bool L_19 = __this->___showMeshSurface_17;
|
|
G_B15_0 = (&V_2);
|
|
if (L_19)
|
|
{
|
|
G_B16_0 = (&V_2);
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
G_B17_0 = 0;
|
|
G_B17_1 = G_B15_0;
|
|
goto IL_00a2;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
G_B17_0 = 1;
|
|
G_B17_1 = G_B16_0;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C(G_B17_1, G_B17_0, NULL);
|
|
// baseHasher.AddHash(showNodeConnections ? 1 : 0);
|
|
bool L_20 = __this->___showNodeConnections_16;
|
|
G_B18_0 = (&V_2);
|
|
if (L_20)
|
|
{
|
|
G_B19_0 = (&V_2);
|
|
goto IL_00b4;
|
|
}
|
|
}
|
|
{
|
|
G_B20_0 = 0;
|
|
G_B20_1 = G_B18_0;
|
|
goto IL_00b5;
|
|
}
|
|
|
|
IL_00b4:
|
|
{
|
|
G_B20_0 = 1;
|
|
G_B20_1 = G_B19_0;
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
Hasher_AddHash_mC612869E4E004C336FB2ED29C69A589106F6106C(G_B20_1, G_B20_0, NULL);
|
|
// int startTileIndex = 0;
|
|
V_3 = 0;
|
|
// var hasher = baseHasher;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_21 = V_2;
|
|
V_4 = L_21;
|
|
// var hashedNodes = 0;
|
|
V_5 = 0;
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
V_6 = 0;
|
|
goto IL_020a;
|
|
}
|
|
|
|
IL_00ca:
|
|
{
|
|
// if (tiles[i] == null) continue;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_22 = __this->___tiles_20;
|
|
int32_t L_23 = V_6;
|
|
NullCheck(L_22);
|
|
int32_t L_24 = L_23;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
if (!L_25)
|
|
{
|
|
goto IL_0204;
|
|
}
|
|
}
|
|
{
|
|
// var nodes = tiles[i].nodes;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_26 = __this->___tiles_20;
|
|
int32_t L_27 = V_6;
|
|
NullCheck(L_26);
|
|
int32_t L_28 = L_27;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
|
|
NullCheck(L_29);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_30 = L_29->___nodes_7;
|
|
V_7 = L_30;
|
|
// for (int j = 0; j < nodes.Length; j++) {
|
|
V_8 = 0;
|
|
goto IL_00ff;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// hasher.HashNode(nodes[j]);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_31 = V_7;
|
|
int32_t L_32 = V_8;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = L_32;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
Hasher_HashNode_mCB33513725CA63B5C3E8676EFFE8C5E2C9FC378D((&V_4), L_34, NULL);
|
|
// for (int j = 0; j < nodes.Length; j++) {
|
|
int32_t L_35 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_35, 1));
|
|
}
|
|
|
|
IL_00ff:
|
|
{
|
|
// for (int j = 0; j < nodes.Length; j++) {
|
|
int32_t L_36 = V_8;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_37 = V_7;
|
|
NullCheck(L_37);
|
|
if ((((int32_t)L_36) < ((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// hashedNodes += nodes.Length;
|
|
int32_t L_38 = V_5;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_39 = V_7;
|
|
NullCheck(L_39);
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_38, ((int32_t)(((RuntimeArray*)L_39)->max_length))));
|
|
// if (hashedNodes > 1024 || (i % tileXCount) == tileXCount - 1 || i == tiles.Length - 1) {
|
|
int32_t L_40 = V_5;
|
|
if ((((int32_t)L_40) > ((int32_t)((int32_t)1024))))
|
|
{
|
|
goto IL_013d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_41 = V_6;
|
|
int32_t L_42 = __this->___tileXCount_18;
|
|
int32_t L_43 = __this->___tileXCount_18;
|
|
if ((((int32_t)((int32_t)(L_41%L_42))) == ((int32_t)((int32_t)il2cpp_codegen_subtract(L_43, 1)))))
|
|
{
|
|
goto IL_013d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_44 = V_6;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_45 = __this->___tiles_20;
|
|
NullCheck(L_45);
|
|
if ((!(((uint32_t)L_44) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_45)->max_length)), 1))))))
|
|
{
|
|
goto IL_0204;
|
|
}
|
|
}
|
|
|
|
IL_013d:
|
|
{
|
|
// if (!gizmos.Draw(hasher)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_46 = ___0_gizmos;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_47 = V_4;
|
|
NullCheck(L_46);
|
|
bool L_48;
|
|
L_48 = RetainedGizmos_Draw_m40981AE44C3717C1CE9A13BD49BAA2D58A6B42B3(L_46, L_47, NULL);
|
|
if (L_48)
|
|
{
|
|
goto IL_01f0;
|
|
}
|
|
}
|
|
{
|
|
// using (var helper = gizmos.GetGizmoHelper(active, hasher)) {
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_49 = ___0_gizmos;
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_50 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_51 = V_4;
|
|
NullCheck(L_49);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_52;
|
|
L_52 = RetainedGizmos_GetGizmoHelper_mB46B01229353232A3BC7C5E43EB59BAC4B0961F4(L_49, L_50, L_51, NULL);
|
|
V_9 = L_52;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_01e4:
|
|
{// begin finally (depth: 1)
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_53 = V_9;
|
|
if (!L_53)
|
|
{
|
|
goto IL_01ef;
|
|
}
|
|
}
|
|
{
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_54 = V_9;
|
|
NullCheck(L_54);
|
|
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_54);
|
|
}
|
|
|
|
IL_01ef:
|
|
{
|
|
return;
|
|
}
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
// if (showMeshSurface || showMeshOutline) {
|
|
bool L_55 = __this->___showMeshSurface_17;
|
|
if (L_55)
|
|
{
|
|
goto IL_016a_1;
|
|
}
|
|
}
|
|
{
|
|
bool L_56 = __this->___showMeshOutline_15;
|
|
if (!L_56)
|
|
{
|
|
goto IL_018f_1;
|
|
}
|
|
}
|
|
|
|
IL_016a_1:
|
|
{
|
|
// CreateNavmeshSurfaceVisualization(tiles, startTileIndex, i + 1, helper);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_57 = __this->___tiles_20;
|
|
int32_t L_58 = V_3;
|
|
int32_t L_59 = V_6;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_60 = V_9;
|
|
NavmeshBase_CreateNavmeshSurfaceVisualization_mE34B5EEDDD48B630D599D95936A4E77634F2BA4E(__this, L_57, L_58, ((int32_t)il2cpp_codegen_add(L_59, 1)), L_60, NULL);
|
|
// CreateNavmeshOutlineVisualization(tiles, startTileIndex, i + 1, helper);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_61 = __this->___tiles_20;
|
|
int32_t L_62 = V_3;
|
|
int32_t L_63 = V_6;
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_64 = V_9;
|
|
il2cpp_codegen_runtime_class_init_inline(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
NavmeshBase_CreateNavmeshOutlineVisualization_m9FBC256BBF14998F30609B0905144E6BC23902A5(L_61, L_62, ((int32_t)il2cpp_codegen_add(L_63, 1)), L_64, NULL);
|
|
}
|
|
|
|
IL_018f_1:
|
|
{
|
|
// if (showNodeConnections) {
|
|
bool L_65 = __this->___showNodeConnections_16;
|
|
if (!L_65)
|
|
{
|
|
goto IL_01e2_1;
|
|
}
|
|
}
|
|
{
|
|
// for (int ti = startTileIndex; ti <= i; ti++) {
|
|
int32_t L_66 = V_3;
|
|
V_10 = L_66;
|
|
goto IL_01dc_1;
|
|
}
|
|
|
|
IL_019c_1:
|
|
{
|
|
// if (tiles[ti] == null) continue;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_67 = __this->___tiles_20;
|
|
int32_t L_68 = V_10;
|
|
NullCheck(L_67);
|
|
int32_t L_69 = L_68;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
|
|
if (!L_70)
|
|
{
|
|
goto IL_01d6_1;
|
|
}
|
|
}
|
|
{
|
|
// var tileNodes = tiles[ti].nodes;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_71 = __this->___tiles_20;
|
|
int32_t L_72 = V_10;
|
|
NullCheck(L_71);
|
|
int32_t L_73 = L_72;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
|
|
NullCheck(L_74);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_75 = L_74->___nodes_7;
|
|
V_11 = L_75;
|
|
// for (int j = 0; j < tileNodes.Length; j++) {
|
|
V_12 = 0;
|
|
goto IL_01ce_1;
|
|
}
|
|
|
|
IL_01bc_1:
|
|
{
|
|
// helper.DrawConnections(tileNodes[j]);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_76 = V_9;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_77 = V_11;
|
|
int32_t L_78 = V_12;
|
|
NullCheck(L_77);
|
|
int32_t L_79 = L_78;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
|
|
NullCheck(L_76);
|
|
GraphGizmoHelper_DrawConnections_m4755A762AF5496F1FFC2FEEDC49C8C7BD0005E58(L_76, L_80, NULL);
|
|
// for (int j = 0; j < tileNodes.Length; j++) {
|
|
int32_t L_81 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_81, 1));
|
|
}
|
|
|
|
IL_01ce_1:
|
|
{
|
|
// for (int j = 0; j < tileNodes.Length; j++) {
|
|
int32_t L_82 = V_12;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_83 = V_11;
|
|
NullCheck(L_83);
|
|
if ((((int32_t)L_82) < ((int32_t)((int32_t)(((RuntimeArray*)L_83)->max_length)))))
|
|
{
|
|
goto IL_01bc_1;
|
|
}
|
|
}
|
|
|
|
IL_01d6_1:
|
|
{
|
|
// for (int ti = startTileIndex; ti <= i; ti++) {
|
|
int32_t L_84 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_84, 1));
|
|
}
|
|
|
|
IL_01dc_1:
|
|
{
|
|
// for (int ti = startTileIndex; ti <= i; ti++) {
|
|
int32_t L_85 = V_10;
|
|
int32_t L_86 = V_6;
|
|
if ((((int32_t)L_85) <= ((int32_t)L_86)))
|
|
{
|
|
goto IL_019c_1;
|
|
}
|
|
}
|
|
|
|
IL_01e2_1:
|
|
{
|
|
// }
|
|
goto IL_01f0;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_01f0:
|
|
{
|
|
// gizmos.Draw(hasher);
|
|
RetainedGizmos_t965BA3309A7C2B73FE2137F127525BD2E0F82DF5* L_87 = ___0_gizmos;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_88 = V_4;
|
|
NullCheck(L_87);
|
|
bool L_89;
|
|
L_89 = RetainedGizmos_Draw_m40981AE44C3717C1CE9A13BD49BAA2D58A6B42B3(L_87, L_88, NULL);
|
|
// startTileIndex = i + 1;
|
|
int32_t L_90 = V_6;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_90, 1));
|
|
// hasher = baseHasher;
|
|
Hasher_tACB2605BB18F94C0955FE3F386857A6ACAD4996B L_91 = V_2;
|
|
V_4 = L_91;
|
|
// hashedNodes = 0;
|
|
V_5 = 0;
|
|
}
|
|
|
|
IL_0204:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
int32_t L_92 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_92, 1));
|
|
}
|
|
|
|
IL_020a:
|
|
{
|
|
// for (int i = 0; i < tiles.Length; i++) {
|
|
int32_t L_93 = V_6;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_94 = __this->___tiles_20;
|
|
NullCheck(L_94);
|
|
if ((((int32_t)L_93) < ((int32_t)((int32_t)(((RuntimeArray*)L_94)->max_length)))))
|
|
{
|
|
goto IL_00ca;
|
|
}
|
|
}
|
|
|
|
IL_0219:
|
|
{
|
|
// if (active.showUnwalkableNodes) DrawUnwalkableNodes(active.unwalkableNodeDebugSize);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_95 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_95);
|
|
bool L_96 = L_95->___showUnwalkableNodes_11;
|
|
if (!L_96)
|
|
{
|
|
goto IL_0237;
|
|
}
|
|
}
|
|
{
|
|
// if (active.showUnwalkableNodes) DrawUnwalkableNodes(active.unwalkableNodeDebugSize);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_97 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
NullCheck(L_97);
|
|
float L_98 = L_97->___unwalkableNodeDebugSize_17;
|
|
NavGraph_DrawUnwalkableNodes_m051B14CF783BEBA83CA553553DC0C5E536D3ECF6(__this, L_98, NULL);
|
|
}
|
|
|
|
IL_0237:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::CreateNavmeshSurfaceVisualization(Pathfinding.NavmeshTile[],System.Int32,System.Int32,Pathfinding.Util.GraphGizmoHelper)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNavmeshSurfaceVisualization_mE34B5EEDDD48B630D599D95936A4E77634F2BA4E (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___0_tiles, int32_t ___1_startTile, int32_t ___2_endTile, GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* ___3_helper, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_1 = NULL;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_8 = NULL;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
int32_t V_12 = 0;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
{
|
|
// int numNodes = 0;
|
|
V_0 = 0;
|
|
// for (int i = startTile; i < endTile; i++) if (tiles[i] != null) numNodes += tiles[i].nodes.Length;
|
|
int32_t L_0 = ___1_startTile;
|
|
V_4 = L_0;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) if (tiles[i] != null) numNodes += tiles[i].nodes.Length;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_1 = ___0_tiles;
|
|
int32_t L_2 = V_4;
|
|
NullCheck(L_1);
|
|
int32_t L_3 = L_2;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
|
|
if (!L_4)
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) if (tiles[i] != null) numNodes += tiles[i].nodes.Length;
|
|
int32_t L_5 = V_0;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_6 = ___0_tiles;
|
|
int32_t L_7 = V_4;
|
|
NullCheck(L_6);
|
|
int32_t L_8 = L_7;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
NullCheck(L_9);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_10 = L_9->___nodes_7;
|
|
NullCheck(L_10);
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_5, ((int32_t)(((RuntimeArray*)L_10)->max_length))));
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) if (tiles[i] != null) numNodes += tiles[i].nodes.Length;
|
|
int32_t L_11 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) if (tiles[i] != null) numNodes += tiles[i].nodes.Length;
|
|
int32_t L_12 = V_4;
|
|
int32_t L_13 = ___2_endTile;
|
|
if ((((int32_t)L_12) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// var vertices = ArrayPool<Vector3>.Claim(numNodes*3);
|
|
int32_t L_14 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_15;
|
|
L_15 = ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54(((int32_t)il2cpp_codegen_multiply(L_14, 3)), ArrayPool_1_Claim_m03AD8E0A6D3A401F3973202C747EBAC5DAA6CD54_RuntimeMethod_var);
|
|
V_1 = L_15;
|
|
// var colors = ArrayPool<Color>.Claim(numNodes*3);
|
|
int32_t L_16 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_17;
|
|
L_17 = ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8(((int32_t)il2cpp_codegen_multiply(L_16, 3)), ArrayPool_1_Claim_m0ACC4784C8339C82629EEC03BFAB5EC1FFB07DA8_RuntimeMethod_var);
|
|
V_2 = L_17;
|
|
// int offset = 0;
|
|
V_3 = 0;
|
|
// for (int i = startTile; i < endTile; i++) {
|
|
int32_t L_18 = ___1_startTile;
|
|
V_5 = L_18;
|
|
goto IL_0106;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// var tile = tiles[i];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_19 = ___0_tiles;
|
|
int32_t L_20 = V_5;
|
|
NullCheck(L_19);
|
|
int32_t L_21 = L_20;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_6 = L_22;
|
|
// if (tile == null) continue;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_23 = V_6;
|
|
if (!L_23)
|
|
{
|
|
goto IL_0100;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < tile.nodes.Length; j++) {
|
|
V_7 = 0;
|
|
goto IL_00e2;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// var node = tile.nodes[j];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_24 = V_6;
|
|
NullCheck(L_24);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_25 = L_24->___nodes_7;
|
|
int32_t L_26 = V_7;
|
|
NullCheck(L_25);
|
|
int32_t L_27 = L_26;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
|
|
V_8 = L_28;
|
|
// node.GetVertices(out v0, out v1, out v2);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_29 = V_8;
|
|
NullCheck(L_29);
|
|
TriangleMeshNode_GetVertices_m1B343E7743FBD9783557046FEC6FE2175D6194E0(L_29, (&V_9), (&V_10), (&V_11), NULL);
|
|
// int index = offset + j*3;
|
|
int32_t L_30 = V_3;
|
|
int32_t L_31 = V_7;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_30, ((int32_t)il2cpp_codegen_multiply(L_31, 3))));
|
|
// vertices[index + 0] = (Vector3)v0;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_32 = V_1;
|
|
int32_t L_33 = V_12;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_34 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_34, NULL);
|
|
NullCheck(L_32);
|
|
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(L_33), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_35);
|
|
// vertices[index + 1] = (Vector3)v1;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_36 = V_1;
|
|
int32_t L_37 = V_12;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_38 = V_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_38, NULL);
|
|
NullCheck(L_36);
|
|
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_37, 1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_39);
|
|
// vertices[index + 2] = (Vector3)v2;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_40 = V_1;
|
|
int32_t L_41 = V_12;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_42 = V_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
|
|
L_43 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_42, NULL);
|
|
NullCheck(L_40);
|
|
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_41, 2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_43);
|
|
// var color = helper.NodeColor(node);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_44 = ___3_helper;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_45 = V_8;
|
|
NullCheck(L_44);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_46;
|
|
L_46 = GraphGizmoHelper_NodeColor_m4400F7E47FA70D696CB5E31403A6D24C05D5237B(L_44, L_45, NULL);
|
|
V_13 = L_46;
|
|
// colors[index + 0] = colors[index + 1] = colors[index + 2] = color;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_47 = V_2;
|
|
int32_t L_48 = V_12;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_49 = V_2;
|
|
int32_t L_50 = V_12;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_51 = V_2;
|
|
int32_t L_52 = V_12;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_53 = V_13;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_54 = L_53;
|
|
V_14 = L_54;
|
|
NullCheck(L_51);
|
|
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_52, 2))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_54);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_55 = V_14;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_56 = L_55;
|
|
V_14 = L_56;
|
|
NullCheck(L_49);
|
|
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_50, 1))), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_56);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_57 = V_14;
|
|
NullCheck(L_47);
|
|
(L_47)->SetAt(static_cast<il2cpp_array_size_t>(L_48), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_57);
|
|
// for (int j = 0; j < tile.nodes.Length; j++) {
|
|
int32_t L_58 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_58, 1));
|
|
}
|
|
|
|
IL_00e2:
|
|
{
|
|
// for (int j = 0; j < tile.nodes.Length; j++) {
|
|
int32_t L_59 = V_7;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_60 = V_6;
|
|
NullCheck(L_60);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_61 = L_60->___nodes_7;
|
|
NullCheck(L_61);
|
|
if ((((int32_t)L_59) < ((int32_t)((int32_t)(((RuntimeArray*)L_61)->max_length)))))
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// offset += tile.nodes.Length * 3;
|
|
int32_t L_62 = V_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_63 = V_6;
|
|
NullCheck(L_63);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_64 = L_63->___nodes_7;
|
|
NullCheck(L_64);
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_62, ((int32_t)il2cpp_codegen_multiply(((int32_t)(((RuntimeArray*)L_64)->max_length)), 3))));
|
|
}
|
|
|
|
IL_0100:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) {
|
|
int32_t L_65 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_65, 1));
|
|
}
|
|
|
|
IL_0106:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) {
|
|
int32_t L_66 = V_5;
|
|
int32_t L_67 = ___2_endTile;
|
|
if ((((int32_t)L_66) < ((int32_t)L_67)))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// if (showMeshSurface) helper.DrawTriangles(vertices, colors, numNodes);
|
|
bool L_68 = __this->___showMeshSurface_17;
|
|
if (!L_68)
|
|
{
|
|
goto IL_0120;
|
|
}
|
|
}
|
|
{
|
|
// if (showMeshSurface) helper.DrawTriangles(vertices, colors, numNodes);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_69 = ___3_helper;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_70 = V_1;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_71 = V_2;
|
|
int32_t L_72 = V_0;
|
|
NullCheck(L_69);
|
|
GraphGizmoHelper_DrawTriangles_m8B310DFDFB0133CFB1C9826295793691898A172E(L_69, L_70, L_71, L_72, NULL);
|
|
}
|
|
|
|
IL_0120:
|
|
{
|
|
// if (showMeshOutline) helper.DrawWireTriangles(vertices, colors, numNodes);
|
|
bool L_73 = __this->___showMeshOutline_15;
|
|
if (!L_73)
|
|
{
|
|
goto IL_0132;
|
|
}
|
|
}
|
|
{
|
|
// if (showMeshOutline) helper.DrawWireTriangles(vertices, colors, numNodes);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_74 = ___3_helper;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_75 = V_1;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_76 = V_2;
|
|
int32_t L_77 = V_0;
|
|
NullCheck(L_74);
|
|
GraphGizmoHelper_DrawWireTriangles_mA886C3CADB735053CE861152B2459544FA46691C(L_74, L_75, L_76, L_77, NULL);
|
|
}
|
|
|
|
IL_0132:
|
|
{
|
|
// ArrayPool<Vector3>.Release(ref vertices);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t47DE5E049E3EFAA07BAE7D9BCB7D7127C6B972D4_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF((&V_1), (bool)0, ArrayPool_1_Release_mD940E74FF2D1C28459B5AC0FC0ABE05630DF03BF_RuntimeMethod_var);
|
|
// ArrayPool<Color>.Release(ref colors);
|
|
il2cpp_codegen_runtime_class_init_inline(ArrayPool_1_t5198A6E4C2F298A1310BF8AC310A52E91B728469_il2cpp_TypeInfo_var);
|
|
ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910((&V_2), (bool)0, ArrayPool_1_Release_m308CC1FF9E38FEF601D697D3B9F5097406CF6910_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::CreateNavmeshOutlineVisualization(Pathfinding.NavmeshTile[],System.Int32,System.Int32,Pathfinding.Util.GraphGizmoHelper)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_CreateNavmeshOutlineVisualization_m9FBC256BBF14998F30609B0905144E6BC23902A5 (NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* ___0_tiles, int32_t ___1_startTile, int32_t ___2_endTile, GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* ___3_helper, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_4 = NULL;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
bool V_6 = false;
|
|
int32_t V_7 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_8 = NULL;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
{
|
|
// var sharedEdges = new bool[3];
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_0 = (BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4*)SZArrayNew(BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4_il2cpp_TypeInfo_var, (uint32_t)3);
|
|
V_0 = L_0;
|
|
// for (int i = startTile; i < endTile; i++) {
|
|
int32_t L_1 = ___1_startTile;
|
|
V_1 = L_1;
|
|
goto IL_0146;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// var tile = tiles[i];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_2 = ___0_tiles;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_2 = L_5;
|
|
// if (tile == null) continue;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_6 = V_2;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0142;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < tile.nodes.Length; j++) {
|
|
V_3 = 0;
|
|
goto IL_0134;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// sharedEdges[0] = sharedEdges[1] = sharedEdges[2] = false;
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_7 = V_0;
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_8 = V_0;
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_9 = V_0;
|
|
int32_t L_10 = 0;
|
|
V_6 = (bool)L_10;
|
|
NullCheck(L_9);
|
|
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (bool)L_10);
|
|
bool L_11 = V_6;
|
|
bool L_12 = L_11;
|
|
V_6 = L_12;
|
|
NullCheck(L_8);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(1), (bool)L_12);
|
|
bool L_13 = V_6;
|
|
NullCheck(L_7);
|
|
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (bool)L_13);
|
|
// var node = tile.nodes[j];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_14 = V_2;
|
|
NullCheck(L_14);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_15 = L_14->___nodes_7;
|
|
int32_t L_16 = V_3;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
V_4 = L_18;
|
|
// for (int c = 0; c < node.connections.Length; c++) {
|
|
V_7 = 0;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// var other = node.connections[c].node as TriangleMeshNode;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_19 = V_4;
|
|
NullCheck(L_19);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_20 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_19)->___connections_20;
|
|
int32_t L_21 = V_7;
|
|
NullCheck(L_20);
|
|
GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* L_22 = ((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_21)))->___node_0;
|
|
V_8 = ((TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)IsInstClass((RuntimeObject*)L_22, TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var));
|
|
// if (other != null && other.GraphIndex == node.GraphIndex) {
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_23 = V_8;
|
|
if (!L_23)
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
{
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_24 = V_8;
|
|
NullCheck(L_24);
|
|
uint32_t L_25;
|
|
L_25 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(L_24, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_26 = V_4;
|
|
NullCheck(L_26);
|
|
uint32_t L_27;
|
|
L_27 = GraphNode_get_GraphIndex_mB3FD59266210CD03A2422C847FC06E4B3D74B428(L_26, NULL);
|
|
if ((!(((uint32_t)L_25) == ((uint32_t)L_27))))
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = 0; v < 3; v++) {
|
|
V_9 = 0;
|
|
goto IL_00c8;
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
// for (int v2 = 0; v2 < 3; v2++) {
|
|
V_10 = 0;
|
|
goto IL_00bd;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// if (node.GetVertexIndex(v) == other.GetVertexIndex((v2+1)%3) && node.GetVertexIndex((v+1)%3) == other.GetVertexIndex(v2)) {
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_28 = V_4;
|
|
int32_t L_29 = V_9;
|
|
NullCheck(L_28);
|
|
int32_t L_30;
|
|
L_30 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_28, L_29, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_31 = V_8;
|
|
int32_t L_32 = V_10;
|
|
NullCheck(L_31);
|
|
int32_t L_33;
|
|
L_33 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_31, ((int32_t)(((int32_t)il2cpp_codegen_add(L_32, 1))%3)), NULL);
|
|
if ((!(((uint32_t)L_30) == ((uint32_t)L_33))))
|
|
{
|
|
goto IL_00b7;
|
|
}
|
|
}
|
|
{
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_34 = V_4;
|
|
int32_t L_35 = V_9;
|
|
NullCheck(L_34);
|
|
int32_t L_36;
|
|
L_36 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_34, ((int32_t)(((int32_t)il2cpp_codegen_add(L_35, 1))%3)), NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_37 = V_8;
|
|
int32_t L_38 = V_10;
|
|
NullCheck(L_37);
|
|
int32_t L_39;
|
|
L_39 = TriangleMeshNode_GetVertexIndex_m045B00962C60A0BCA7D3D93727E2C1BF4D50CEB7(L_37, L_38, NULL);
|
|
if ((!(((uint32_t)L_36) == ((uint32_t)L_39))))
|
|
{
|
|
goto IL_00b7;
|
|
}
|
|
}
|
|
{
|
|
// sharedEdges[v] = true;
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_40 = V_0;
|
|
int32_t L_41 = V_9;
|
|
NullCheck(L_40);
|
|
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(L_41), (bool)1);
|
|
// v = 3;
|
|
V_9 = 3;
|
|
// break;
|
|
goto IL_00c2;
|
|
}
|
|
|
|
IL_00b7:
|
|
{
|
|
// for (int v2 = 0; v2 < 3; v2++) {
|
|
int32_t L_42 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// for (int v2 = 0; v2 < 3; v2++) {
|
|
int32_t L_43 = V_10;
|
|
if ((((int32_t)L_43) < ((int32_t)3)))
|
|
{
|
|
goto IL_007d;
|
|
}
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// for (int v = 0; v < 3; v++) {
|
|
int32_t L_44 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_44, 1));
|
|
}
|
|
|
|
IL_00c8:
|
|
{
|
|
// for (int v = 0; v < 3; v++) {
|
|
int32_t L_45 = V_9;
|
|
if ((((int32_t)L_45) < ((int32_t)3)))
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// for (int c = 0; c < node.connections.Length; c++) {
|
|
int32_t L_46 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_46, 1));
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// for (int c = 0; c < node.connections.Length; c++) {
|
|
int32_t L_47 = V_7;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_48 = V_4;
|
|
NullCheck(L_48);
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_49 = ((MeshNode_tDD0D0CC0A6E29450A16352EF735DCF6321B7A095*)L_48)->___connections_20;
|
|
NullCheck(L_49);
|
|
if ((((int32_t)L_47) < ((int32_t)((int32_t)(((RuntimeArray*)L_49)->max_length)))))
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// var color = helper.NodeColor(node);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_50 = ___3_helper;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_51 = V_4;
|
|
NullCheck(L_50);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_52;
|
|
L_52 = GraphGizmoHelper_NodeColor_m4400F7E47FA70D696CB5E31403A6D24C05D5237B(L_50, L_51, NULL);
|
|
V_5 = L_52;
|
|
// for (int v = 0; v < 3; v++) {
|
|
V_11 = 0;
|
|
goto IL_012b;
|
|
}
|
|
|
|
IL_00f2:
|
|
{
|
|
// if (!sharedEdges[v]) {
|
|
BooleanU5BU5D_tD317D27C31DB892BE79FAE3AEBC0B3FFB73DE9B4* L_53 = V_0;
|
|
int32_t L_54 = V_11;
|
|
NullCheck(L_53);
|
|
int32_t L_55 = L_54;
|
|
uint8_t L_56 = (uint8_t)(L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
|
|
if (L_56)
|
|
{
|
|
goto IL_0125;
|
|
}
|
|
}
|
|
{
|
|
// helper.builder.DrawLine((Vector3)node.GetVertex(v), (Vector3)node.GetVertex((v+1)%3), color);
|
|
GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* L_57 = ___3_helper;
|
|
NullCheck(L_57);
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_58;
|
|
L_58 = GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline(L_57, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_59 = V_4;
|
|
int32_t L_60 = V_11;
|
|
NullCheck(L_59);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_61;
|
|
L_61 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_59, L_60);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
|
|
L_62 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_61, NULL);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_63 = V_4;
|
|
int32_t L_64 = V_11;
|
|
NullCheck(L_63);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_65;
|
|
L_65 = VirtualFuncInvoker1< Int3_t3D1B990C798A218E8F705930EF9F0A373A439553, int32_t >::Invoke(20 /* Pathfinding.Int3 Pathfinding.MeshNode::GetVertex(System.Int32) */, L_63, ((int32_t)(((int32_t)il2cpp_codegen_add(L_64, 1))%3)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
|
|
L_66 = Int3_op_Explicit_mDB6D09A6D07BAAB0D6FBEEC71266F608C3FC825C(L_65, NULL);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_67 = V_5;
|
|
NullCheck(L_58);
|
|
Builder_DrawLine_m7CFB057D3CD668DA90730CABE4C3915E4A458F27(L_58, L_62, L_66, L_67, NULL);
|
|
}
|
|
|
|
IL_0125:
|
|
{
|
|
// for (int v = 0; v < 3; v++) {
|
|
int32_t L_68 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_68, 1));
|
|
}
|
|
|
|
IL_012b:
|
|
{
|
|
// for (int v = 0; v < 3; v++) {
|
|
int32_t L_69 = V_11;
|
|
if ((((int32_t)L_69) < ((int32_t)3)))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < tile.nodes.Length; j++) {
|
|
int32_t L_70 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_70, 1));
|
|
}
|
|
|
|
IL_0134:
|
|
{
|
|
// for (int j = 0; j < tile.nodes.Length; j++) {
|
|
int32_t L_71 = V_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_72 = V_2;
|
|
NullCheck(L_72);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_73 = L_72->___nodes_7;
|
|
NullCheck(L_73);
|
|
if ((((int32_t)L_71) < ((int32_t)((int32_t)(((RuntimeArray*)L_73)->max_length)))))
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
|
|
IL_0142:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) {
|
|
int32_t L_74 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_74, 1));
|
|
}
|
|
|
|
IL_0146:
|
|
{
|
|
// for (int i = startTile; i < endTile; i++) {
|
|
int32_t L_75 = V_1;
|
|
int32_t L_76 = ___2_endTile;
|
|
if ((((int32_t)L_75) < ((int32_t)L_76)))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::SerializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_SerializeExtraInfo_m6168B4B5021680672337D59531829C78654273AE (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
{
|
|
// BinaryWriter writer = ctx.writer;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_1 = L_0->___writer_2;
|
|
V_0 = L_1;
|
|
// if (tiles == null) {
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_2 = __this->___tiles_20;
|
|
if (L_2)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// writer.Write(-1);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_3, (-1));
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// writer.Write(tileXCount);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_4 = V_0;
|
|
int32_t L_5 = __this->___tileXCount_18;
|
|
NullCheck(L_4);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_4, L_5);
|
|
// writer.Write(tileZCount);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_6 = V_0;
|
|
int32_t L_7 = __this->___tileZCount_19;
|
|
NullCheck(L_6);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_6, L_7);
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
V_1 = 0;
|
|
goto IL_0191;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
V_2 = 0;
|
|
goto IL_0181;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// NavmeshTile tile = tiles[x + z*tileXCount];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_8 = __this->___tiles_20;
|
|
int32_t L_9 = V_2;
|
|
int32_t L_10 = V_1;
|
|
int32_t L_11 = __this->___tileXCount_18;
|
|
NullCheck(L_8);
|
|
int32_t L_12 = ((int32_t)il2cpp_codegen_add(L_9, ((int32_t)il2cpp_codegen_multiply(L_10, L_11))));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_13 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
V_3 = L_13;
|
|
// if (tile == null) {
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_14 = V_3;
|
|
if (L_14)
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// throw new System.Exception("NULL Tile");
|
|
Exception_t* L_15 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_15);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_15, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8C988EEDCCD8FF7541AF9B28B4D129259FD45150)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_SerializeExtraInfo_m6168B4B5021680672337D59531829C78654273AE_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// writer.Write(tile.x);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_16 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_17 = V_3;
|
|
NullCheck(L_17);
|
|
int32_t L_18 = L_17->___x_3;
|
|
NullCheck(L_16);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_16, L_18);
|
|
// writer.Write(tile.z);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_19 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_20 = V_3;
|
|
NullCheck(L_20);
|
|
int32_t L_21 = L_20->___z_4;
|
|
NullCheck(L_19);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_19, L_21);
|
|
// if (tile.x != x || tile.z != z) continue;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_22 = V_3;
|
|
NullCheck(L_22);
|
|
int32_t L_23 = L_22->___x_3;
|
|
int32_t L_24 = V_2;
|
|
if ((!(((uint32_t)L_23) == ((uint32_t)L_24))))
|
|
{
|
|
goto IL_017d;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_25 = V_3;
|
|
NullCheck(L_25);
|
|
int32_t L_26 = L_25->___z_4;
|
|
int32_t L_27 = V_1;
|
|
if ((!(((uint32_t)L_26) == ((uint32_t)L_27))))
|
|
{
|
|
goto IL_017d;
|
|
}
|
|
}
|
|
{
|
|
// writer.Write(tile.w);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_28 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_29 = V_3;
|
|
NullCheck(L_29);
|
|
int32_t L_30 = L_29->___w_5;
|
|
NullCheck(L_28);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_28, L_30);
|
|
// writer.Write(tile.d);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_31 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_32 = V_3;
|
|
NullCheck(L_32);
|
|
int32_t L_33 = L_32->___d_6;
|
|
NullCheck(L_31);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_31, L_33);
|
|
// writer.Write(tile.tris.Length);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_34 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_35 = V_3;
|
|
NullCheck(L_35);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_36 = L_35->___tris_0;
|
|
NullCheck(L_36);
|
|
NullCheck(L_34);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_34, ((int32_t)(((RuntimeArray*)L_36)->max_length)));
|
|
// for (int i = 0; i < tile.tris.Length; i++) writer.Write(tile.tris[i]);
|
|
V_4 = 0;
|
|
goto IL_00cd;
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// for (int i = 0; i < tile.tris.Length; i++) writer.Write(tile.tris[i]);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_37 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_38 = V_3;
|
|
NullCheck(L_38);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_39 = L_38->___tris_0;
|
|
int32_t L_40 = V_4;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = L_40;
|
|
int32_t L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
NullCheck(L_37);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_37, L_42);
|
|
// for (int i = 0; i < tile.tris.Length; i++) writer.Write(tile.tris[i]);
|
|
int32_t L_43 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_43, 1));
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// for (int i = 0; i < tile.tris.Length; i++) writer.Write(tile.tris[i]);
|
|
int32_t L_44 = V_4;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_45 = V_3;
|
|
NullCheck(L_45);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_46 = L_45->___tris_0;
|
|
NullCheck(L_46);
|
|
if ((((int32_t)L_44) < ((int32_t)((int32_t)(((RuntimeArray*)L_46)->max_length)))))
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
// writer.Write(tile.verts.Length);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_47 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_48 = V_3;
|
|
NullCheck(L_48);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_49 = L_48->___verts_1;
|
|
NullCheck(L_49);
|
|
NullCheck(L_47);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_47, ((int32_t)(((RuntimeArray*)L_49)->max_length)));
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
V_5 = 0;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_00ec:
|
|
{
|
|
// ctx.SerializeInt3(tile.verts[i]);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_50 = ___0_ctx;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_51 = V_3;
|
|
NullCheck(L_51);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_52 = L_51->___verts_1;
|
|
int32_t L_53 = V_5;
|
|
NullCheck(L_52);
|
|
int32_t L_54 = L_53;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
|
|
NullCheck(L_50);
|
|
GraphSerializationContext_SerializeInt3_m1F740467D95784EF5AA89024FC8C133FCC7799E4(L_50, L_55, NULL);
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
int32_t L_56 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_56, 1));
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
int32_t L_57 = V_5;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_58 = V_3;
|
|
NullCheck(L_58);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_59 = L_58->___verts_1;
|
|
NullCheck(L_59);
|
|
if ((((int32_t)L_57) < ((int32_t)((int32_t)(((RuntimeArray*)L_59)->max_length)))))
|
|
{
|
|
goto IL_00ec;
|
|
}
|
|
}
|
|
{
|
|
// writer.Write(tile.vertsInGraphSpace.Length);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_60 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_61 = V_3;
|
|
NullCheck(L_61);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_62 = L_61->___vertsInGraphSpace_2;
|
|
NullCheck(L_62);
|
|
NullCheck(L_60);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_60, ((int32_t)(((RuntimeArray*)L_62)->max_length)));
|
|
// for (int i = 0; i < tile.vertsInGraphSpace.Length; i++) {
|
|
V_6 = 0;
|
|
goto IL_013d;
|
|
}
|
|
|
|
IL_0124:
|
|
{
|
|
// ctx.SerializeInt3(tile.vertsInGraphSpace[i]);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_63 = ___0_ctx;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_64 = V_3;
|
|
NullCheck(L_64);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_65 = L_64->___vertsInGraphSpace_2;
|
|
int32_t L_66 = V_6;
|
|
NullCheck(L_65);
|
|
int32_t L_67 = L_66;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
|
|
NullCheck(L_63);
|
|
GraphSerializationContext_SerializeInt3_m1F740467D95784EF5AA89024FC8C133FCC7799E4(L_63, L_68, NULL);
|
|
// for (int i = 0; i < tile.vertsInGraphSpace.Length; i++) {
|
|
int32_t L_69 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_69, 1));
|
|
}
|
|
|
|
IL_013d:
|
|
{
|
|
// for (int i = 0; i < tile.vertsInGraphSpace.Length; i++) {
|
|
int32_t L_70 = V_6;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_71 = V_3;
|
|
NullCheck(L_71);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_72 = L_71->___vertsInGraphSpace_2;
|
|
NullCheck(L_72);
|
|
if ((((int32_t)L_70) < ((int32_t)((int32_t)(((RuntimeArray*)L_72)->max_length)))))
|
|
{
|
|
goto IL_0124;
|
|
}
|
|
}
|
|
{
|
|
// writer.Write(tile.nodes.Length);
|
|
BinaryWriter_tFB94D67EDFA3F6A34744A163BDABE287FDF2ED1E* L_73 = V_0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_74 = V_3;
|
|
NullCheck(L_74);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_75 = L_74->___nodes_7;
|
|
NullCheck(L_75);
|
|
NullCheck(L_73);
|
|
VirtualActionInvoker1< int32_t >::Invoke(18 /* System.Void System.IO.BinaryWriter::Write(System.Int32) */, L_73, ((int32_t)(((RuntimeArray*)L_75)->max_length)));
|
|
// for (int i = 0; i < tile.nodes.Length; i++) {
|
|
V_7 = 0;
|
|
goto IL_0171;
|
|
}
|
|
|
|
IL_015c:
|
|
{
|
|
// tile.nodes[i].SerializeNode(ctx);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_76 = V_3;
|
|
NullCheck(L_76);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_77 = L_76->___nodes_7;
|
|
int32_t L_78 = V_7;
|
|
NullCheck(L_77);
|
|
int32_t L_79 = L_78;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_81 = ___0_ctx;
|
|
NullCheck(L_80);
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(16 /* System.Void Pathfinding.GraphNode::SerializeNode(Pathfinding.Serialization.GraphSerializationContext) */, L_80, L_81);
|
|
// for (int i = 0; i < tile.nodes.Length; i++) {
|
|
int32_t L_82 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_82, 1));
|
|
}
|
|
|
|
IL_0171:
|
|
{
|
|
// for (int i = 0; i < tile.nodes.Length; i++) {
|
|
int32_t L_83 = V_7;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_84 = V_3;
|
|
NullCheck(L_84);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_85 = L_84->___nodes_7;
|
|
NullCheck(L_85);
|
|
if ((((int32_t)L_83) < ((int32_t)((int32_t)(((RuntimeArray*)L_85)->max_length)))))
|
|
{
|
|
goto IL_015c;
|
|
}
|
|
}
|
|
|
|
IL_017d:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
int32_t L_86 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_86, 1));
|
|
}
|
|
|
|
IL_0181:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
int32_t L_87 = V_2;
|
|
int32_t L_88 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_87) < ((int32_t)L_88)))
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
int32_t L_89 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_89, 1));
|
|
}
|
|
|
|
IL_0191:
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
int32_t L_90 = V_1;
|
|
int32_t L_91 = __this->___tileZCount_19;
|
|
if ((((int32_t)L_90) < ((int32_t)L_91)))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::DeserializeExtraInfo(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_DeserializeExtraInfo_m23ACF8EAE0D29C13CB7283B609AC5E3E81C19AF0 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, 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*)&Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_9 = NULL;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* V_14 = NULL;
|
|
{
|
|
// BinaryReader reader = ctx.reader;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_1 = L_0->___reader_1;
|
|
V_0 = L_1;
|
|
// tileXCount = reader.ReadInt32();
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_2 = V_0;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_2);
|
|
__this->___tileXCount_18 = L_3;
|
|
// if (tileXCount < 0) return;
|
|
int32_t L_4 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_4) >= ((int32_t)0)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// if (tileXCount < 0) return;
|
|
return;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// tileZCount = reader.ReadInt32();
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_5 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_5);
|
|
__this->___tileZCount_19 = L_6;
|
|
// transform = CalculateTransform();
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_7;
|
|
L_7 = VirtualFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(36 /* Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::CalculateTransform() */, __this);
|
|
__this->___transform_27 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___transform_27), (void*)L_7);
|
|
// tiles = new NavmeshTile[tileXCount * tileZCount];
|
|
int32_t L_8 = __this->___tileXCount_18;
|
|
int32_t L_9 = __this->___tileZCount_19;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_10 = (NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF*)(NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF*)SZArrayNew(NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply(L_8, L_9)));
|
|
__this->___tiles_20 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tiles_20), (void*)L_10);
|
|
// TriangleMeshNode.SetNavmeshHolder((int)ctx.graphIndex, this);
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_11 = ___0_ctx;
|
|
NullCheck(L_11);
|
|
uint32_t L_12 = L_11->___graphIndex_3;
|
|
il2cpp_codegen_runtime_class_init_inline(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
TriangleMeshNode_SetNavmeshHolder_mFA2533EB627690E28F9394DFCDD8517D7C42200F(L_12, __this, NULL);
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
V_1 = 0;
|
|
goto IL_0325;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
V_2 = 0;
|
|
goto IL_0315;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// int tileIndex = x + z*tileXCount;
|
|
int32_t L_13 = V_2;
|
|
int32_t L_14 = V_1;
|
|
int32_t L_15 = __this->___tileXCount_18;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_13, ((int32_t)il2cpp_codegen_multiply(L_14, L_15))));
|
|
// int tx = reader.ReadInt32();
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_16 = V_0;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_16);
|
|
V_4 = L_17;
|
|
// if (tx < 0) throw new System.Exception("Invalid tile coordinates (x < 0)");
|
|
int32_t L_18 = V_4;
|
|
if ((((int32_t)L_18) >= ((int32_t)0)))
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// if (tx < 0) throw new System.Exception("Invalid tile coordinates (x < 0)");
|
|
Exception_t* L_19 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_19);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_19, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC128F94396E2C5F3C5C1953A587173164584D69F)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_DeserializeExtraInfo_m23ACF8EAE0D29C13CB7283B609AC5E3E81C19AF0_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// int tz = reader.ReadInt32();
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_20 = V_0;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_20);
|
|
V_5 = L_21;
|
|
// if (tz < 0) throw new System.Exception("Invalid tile coordinates (z < 0)");
|
|
int32_t L_22 = V_5;
|
|
if ((((int32_t)L_22) >= ((int32_t)0)))
|
|
{
|
|
goto IL_00a2;
|
|
}
|
|
}
|
|
{
|
|
// if (tz < 0) throw new System.Exception("Invalid tile coordinates (z < 0)");
|
|
Exception_t* L_23 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_23);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_23, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral366D33BF3621CA7D7BCCECC90A96860C4FD45950)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_DeserializeExtraInfo_m23ACF8EAE0D29C13CB7283B609AC5E3E81C19AF0_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// if (tx != x || tz != z) {
|
|
int32_t L_24 = V_4;
|
|
int32_t L_25 = V_2;
|
|
if ((!(((uint32_t)L_24) == ((uint32_t)L_25))))
|
|
{
|
|
goto IL_00ac;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_26 = V_5;
|
|
int32_t L_27 = V_1;
|
|
if ((((int32_t)L_26) == ((int32_t)L_27)))
|
|
{
|
|
goto IL_00cc;
|
|
}
|
|
}
|
|
|
|
IL_00ac:
|
|
{
|
|
// tiles[tileIndex] = tiles[tz*tileXCount + tx];
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_28 = __this->___tiles_20;
|
|
int32_t L_29 = V_3;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_30 = __this->___tiles_20;
|
|
int32_t L_31 = V_5;
|
|
int32_t L_32 = __this->___tileXCount_18;
|
|
int32_t L_33 = V_4;
|
|
NullCheck(L_30);
|
|
int32_t L_34 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_31, L_32)), L_33));
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_35 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
|
|
NullCheck(L_28);
|
|
ArrayElementTypeCheck (L_28, L_35);
|
|
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(L_29), (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)L_35);
|
|
// continue;
|
|
goto IL_0311;
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// var tile = tiles[tileIndex] = new NavmeshTile {
|
|
// x = tx,
|
|
// z = tz,
|
|
// w = reader.ReadInt32(),
|
|
// d = reader.ReadInt32(),
|
|
// bbTree = ObjectPool<BBTree>.Claim(),
|
|
// graph = this,
|
|
// };
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_36 = __this->___tiles_20;
|
|
int32_t L_37 = V_3;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_38 = (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)il2cpp_codegen_object_new(NavmeshTile_tB162562405C06B86115076300DED318EC59873C0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_38);
|
|
NavmeshTile__ctor_mAA38CC4E0AFD8FE328F54E47D8A7922597B9165A(L_38, NULL);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_39 = L_38;
|
|
int32_t L_40 = V_4;
|
|
NullCheck(L_39);
|
|
L_39->___x_3 = L_40;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_41 = L_39;
|
|
int32_t L_42 = V_5;
|
|
NullCheck(L_41);
|
|
L_41->___z_4 = L_42;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_43 = L_41;
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_44 = V_0;
|
|
NullCheck(L_44);
|
|
int32_t L_45;
|
|
L_45 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_44);
|
|
NullCheck(L_43);
|
|
L_43->___w_5 = L_45;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_46 = L_43;
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_47 = V_0;
|
|
NullCheck(L_47);
|
|
int32_t L_48;
|
|
L_48 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_47);
|
|
NullCheck(L_46);
|
|
L_46->___d_6 = L_48;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_49 = L_46;
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_50;
|
|
L_50 = ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284(ObjectPool_1_Claim_mB2124332EF307B9BB208B4B76A2FDDB04A5CB284_RuntimeMethod_var);
|
|
NullCheck(L_49);
|
|
L_49->___bbTree_8 = L_50;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_49->___bbTree_8), (void*)L_50);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_51 = L_49;
|
|
NullCheck(L_51);
|
|
L_51->___graph_10 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_51->___graph_10), (void*)__this);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_52 = L_51;
|
|
V_9 = L_52;
|
|
NullCheck(L_36);
|
|
ArrayElementTypeCheck (L_36, L_52);
|
|
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(L_37), (NavmeshTile_tB162562405C06B86115076300DED318EC59873C0*)L_52);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_53 = V_9;
|
|
V_6 = L_53;
|
|
// int trisCount = reader.ReadInt32();
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_54 = V_0;
|
|
NullCheck(L_54);
|
|
int32_t L_55;
|
|
L_55 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_54);
|
|
V_7 = L_55;
|
|
// if (trisCount % 3 != 0) throw new System.Exception("Corrupt data. Triangle indices count must be divisable by 3. Read " + trisCount);
|
|
int32_t L_56 = V_7;
|
|
if (!((int32_t)(L_56%3)))
|
|
{
|
|
goto IL_013f;
|
|
}
|
|
}
|
|
{
|
|
// if (trisCount % 3 != 0) throw new System.Exception("Corrupt data. Triangle indices count must be divisable by 3. Read " + trisCount);
|
|
String_t* L_57;
|
|
L_57 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_7), NULL);
|
|
String_t* L_58;
|
|
L_58 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral0FABCC3F8A64C8A3DE50619B6E1CC6CAC5E98B72)), L_57, NULL);
|
|
Exception_t* L_59 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_59);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_59, L_58, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_59, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_DeserializeExtraInfo_m23ACF8EAE0D29C13CB7283B609AC5E3E81C19AF0_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_013f:
|
|
{
|
|
// tile.tris = new int[trisCount];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_60 = V_6;
|
|
int32_t L_61 = V_7;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_62 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_61);
|
|
NullCheck(L_60);
|
|
L_60->___tris_0 = L_62;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_60->___tris_0), (void*)L_62);
|
|
// for (int i = 0; i < tile.tris.Length; i++) tile.tris[i] = reader.ReadInt32();
|
|
V_10 = 0;
|
|
goto IL_0168;
|
|
}
|
|
|
|
IL_0152:
|
|
{
|
|
// for (int i = 0; i < tile.tris.Length; i++) tile.tris[i] = reader.ReadInt32();
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_63 = V_6;
|
|
NullCheck(L_63);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64 = L_63->___tris_0;
|
|
int32_t L_65 = V_10;
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_66 = V_0;
|
|
NullCheck(L_66);
|
|
int32_t L_67;
|
|
L_67 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_66);
|
|
NullCheck(L_64);
|
|
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(L_65), (int32_t)L_67);
|
|
// for (int i = 0; i < tile.tris.Length; i++) tile.tris[i] = reader.ReadInt32();
|
|
int32_t L_68 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_68, 1));
|
|
}
|
|
|
|
IL_0168:
|
|
{
|
|
// for (int i = 0; i < tile.tris.Length; i++) tile.tris[i] = reader.ReadInt32();
|
|
int32_t L_69 = V_10;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_70 = V_6;
|
|
NullCheck(L_70);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_71 = L_70->___tris_0;
|
|
NullCheck(L_71);
|
|
if ((((int32_t)L_69) < ((int32_t)((int32_t)(((RuntimeArray*)L_71)->max_length)))))
|
|
{
|
|
goto IL_0152;
|
|
}
|
|
}
|
|
{
|
|
// tile.verts = new Int3[reader.ReadInt32()];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_72 = V_6;
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_73 = V_0;
|
|
NullCheck(L_73);
|
|
int32_t L_74;
|
|
L_74 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_73);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_75 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)SZArrayNew(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var, (uint32_t)L_74);
|
|
NullCheck(L_72);
|
|
L_72->___verts_1 = L_75;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_72->___verts_1), (void*)L_75);
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
V_11 = 0;
|
|
goto IL_01a6;
|
|
}
|
|
|
|
IL_018c:
|
|
{
|
|
// tile.verts[i] = ctx.DeserializeInt3();
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_76 = V_6;
|
|
NullCheck(L_76);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_77 = L_76->___verts_1;
|
|
int32_t L_78 = V_11;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_79 = ___0_ctx;
|
|
NullCheck(L_79);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_80;
|
|
L_80 = GraphSerializationContext_DeserializeInt3_m7B3A252F1DD5E434B6B3D822CC076C5C8DC5F27F(L_79, NULL);
|
|
NullCheck(L_77);
|
|
(L_77)->SetAt(static_cast<il2cpp_array_size_t>(L_78), (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553)L_80);
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
int32_t L_81 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_81, 1));
|
|
}
|
|
|
|
IL_01a6:
|
|
{
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
int32_t L_82 = V_11;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_83 = V_6;
|
|
NullCheck(L_83);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_84 = L_83->___verts_1;
|
|
NullCheck(L_84);
|
|
if ((((int32_t)L_82) < ((int32_t)((int32_t)(((RuntimeArray*)L_84)->max_length)))))
|
|
{
|
|
goto IL_018c;
|
|
}
|
|
}
|
|
{
|
|
// if (ctx.meta.version.Major >= 4) {
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_85 = ___0_ctx;
|
|
NullCheck(L_85);
|
|
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* L_86 = L_85->___meta_4;
|
|
NullCheck(L_86);
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_87 = L_86->___version_0;
|
|
NullCheck(L_87);
|
|
int32_t L_88;
|
|
L_88 = Version_get_Major_m1F782BA72C64627627ADC2090C147CF887CE7795_inline(L_87, NULL);
|
|
if ((((int32_t)L_88) < ((int32_t)4)))
|
|
{
|
|
goto IL_0225;
|
|
}
|
|
}
|
|
{
|
|
// tile.vertsInGraphSpace = new Int3[reader.ReadInt32()];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_89 = V_6;
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_90 = V_0;
|
|
NullCheck(L_90);
|
|
int32_t L_91;
|
|
L_91 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_90);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_92 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)SZArrayNew(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var, (uint32_t)L_91);
|
|
NullCheck(L_89);
|
|
L_89->___vertsInGraphSpace_2 = L_92;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_89->___vertsInGraphSpace_2), (void*)L_92);
|
|
// if (tile.vertsInGraphSpace.Length != tile.verts.Length) throw new System.Exception("Corrupt data. Array lengths did not match");
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_93 = V_6;
|
|
NullCheck(L_93);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_94 = L_93->___vertsInGraphSpace_2;
|
|
NullCheck(L_94);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_95 = V_6;
|
|
NullCheck(L_95);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_96 = L_95->___verts_1;
|
|
NullCheck(L_96);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_94)->max_length))) == ((int32_t)((int32_t)(((RuntimeArray*)L_96)->max_length)))))
|
|
{
|
|
goto IL_01f7;
|
|
}
|
|
}
|
|
{
|
|
// if (tile.vertsInGraphSpace.Length != tile.verts.Length) throw new System.Exception("Corrupt data. Array lengths did not match");
|
|
Exception_t* L_97 = (Exception_t*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_97);
|
|
Exception__ctor_m9B2BD92CD68916245A75109105D9071C9D430E7F(L_97, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAF87225A561B9B3983DF97EB02197A12F54F2EBB)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_97, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NavmeshBase_DeserializeExtraInfo_m23ACF8EAE0D29C13CB7283B609AC5E3E81C19AF0_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_01f7:
|
|
{
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
V_12 = 0;
|
|
goto IL_0216;
|
|
}
|
|
|
|
IL_01fc:
|
|
{
|
|
// tile.vertsInGraphSpace[i] = ctx.DeserializeInt3();
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_98 = V_6;
|
|
NullCheck(L_98);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_99 = L_98->___vertsInGraphSpace_2;
|
|
int32_t L_100 = V_12;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_101 = ___0_ctx;
|
|
NullCheck(L_101);
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_102;
|
|
L_102 = GraphSerializationContext_DeserializeInt3_m7B3A252F1DD5E434B6B3D822CC076C5C8DC5F27F(L_101, NULL);
|
|
NullCheck(L_99);
|
|
(L_99)->SetAt(static_cast<il2cpp_array_size_t>(L_100), (Int3_t3D1B990C798A218E8F705930EF9F0A373A439553)L_102);
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
int32_t L_103 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_103, 1));
|
|
}
|
|
|
|
IL_0216:
|
|
{
|
|
// for (int i = 0; i < tile.verts.Length; i++) {
|
|
int32_t L_104 = V_12;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_105 = V_6;
|
|
NullCheck(L_105);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_106 = L_105->___verts_1;
|
|
NullCheck(L_106);
|
|
if ((((int32_t)L_104) < ((int32_t)((int32_t)(((RuntimeArray*)L_106)->max_length)))))
|
|
{
|
|
goto IL_01fc;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_0225:
|
|
{
|
|
// tile.vertsInGraphSpace = new Int3[tile.verts.Length];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_107 = V_6;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_108 = V_6;
|
|
NullCheck(L_108);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_109 = L_108->___verts_1;
|
|
NullCheck(L_109);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_110 = (Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926*)SZArrayNew(Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_109)->max_length)));
|
|
NullCheck(L_107);
|
|
L_107->___vertsInGraphSpace_2 = L_110;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_107->___vertsInGraphSpace_2), (void*)L_110);
|
|
// tile.verts.CopyTo(tile.vertsInGraphSpace, 0);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_111 = V_6;
|
|
NullCheck(L_111);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_112 = L_111->___verts_1;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_113 = V_6;
|
|
NullCheck(L_113);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_114 = L_113->___vertsInGraphSpace_2;
|
|
NullCheck((RuntimeArray*)L_112);
|
|
Array_CopyTo_mFD42E3443AB3B850ED6F19359698E242A08E1BAB((RuntimeArray*)L_112, (RuntimeArray*)L_114, 0, NULL);
|
|
// transform.InverseTransform(tile.vertsInGraphSpace);
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_115 = __this->___transform_27;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_116 = V_6;
|
|
NullCheck(L_116);
|
|
Int3U5BU5D_t13669D61ABDDE1991553A8B64EA9D3869773A926* L_117 = L_116->___vertsInGraphSpace_2;
|
|
NullCheck(L_115);
|
|
GraphTransform_InverseTransform_mDACD8126730569FA2AB9071C4496C45D93A06CD2(L_115, L_117, NULL);
|
|
}
|
|
|
|
IL_0260:
|
|
{
|
|
// int nodeCount = reader.ReadInt32();
|
|
BinaryReader_t9A6D85F0FE9AE4EBB5E8D66997DFD1D84939E158* L_118 = V_0;
|
|
NullCheck(L_118);
|
|
int32_t L_119;
|
|
L_119 = VirtualFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.BinaryReader::ReadInt32() */, L_118);
|
|
V_8 = L_119;
|
|
// tile.nodes = new TriangleMeshNode[nodeCount];
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_120 = V_6;
|
|
int32_t L_121 = V_8;
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_122 = (TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142*)(TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142*)SZArrayNew(TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142_il2cpp_TypeInfo_var, (uint32_t)L_121);
|
|
NullCheck(L_120);
|
|
L_120->___nodes_7 = L_122;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_120->___nodes_7), (void*)L_122);
|
|
// tileIndex <<= TileIndexOffset;
|
|
int32_t L_123 = V_3;
|
|
V_3 = ((int32_t)(L_123<<((int32_t)12)));
|
|
// for (int i = 0; i < tile.nodes.Length; i++) {
|
|
V_13 = 0;
|
|
goto IL_02f1;
|
|
}
|
|
|
|
IL_0280:
|
|
{
|
|
// var node = new TriangleMeshNode(active);
|
|
AstarPath_tE102E3063DF1D4829BBD2F0FD324CBDD1417F760* L_124 = ((NavGraph_t581DF5ABFF26F45F15DA61CE900AE8B453FA13C0*)__this)->___active_0;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_125 = (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)il2cpp_codegen_object_new(TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_il2cpp_TypeInfo_var);
|
|
NullCheck(L_125);
|
|
TriangleMeshNode__ctor_m14C08A0315BDC1EE96D50B6153A6366C502F0809(L_125, L_124, NULL);
|
|
V_14 = L_125;
|
|
// tile.nodes[i] = node;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_126 = V_6;
|
|
NullCheck(L_126);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_127 = L_126->___nodes_7;
|
|
int32_t L_128 = V_13;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_129 = V_14;
|
|
NullCheck(L_127);
|
|
ArrayElementTypeCheck (L_127, L_129);
|
|
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(L_128), (TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80*)L_129);
|
|
// node.DeserializeNode(ctx);
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_130 = V_14;
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_131 = ___0_ctx;
|
|
NullCheck(L_130);
|
|
VirtualActionInvoker1< GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* >::Invoke(17 /* System.Void Pathfinding.GraphNode::DeserializeNode(Pathfinding.Serialization.GraphSerializationContext) */, L_130, L_131);
|
|
// node.v0 = tile.tris[i*3+0] | tileIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_132 = V_14;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_133 = V_6;
|
|
NullCheck(L_133);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_134 = L_133->___tris_0;
|
|
int32_t L_135 = V_13;
|
|
NullCheck(L_134);
|
|
int32_t L_136 = ((int32_t)il2cpp_codegen_multiply(L_135, 3));
|
|
int32_t L_137 = (L_134)->GetAt(static_cast<il2cpp_array_size_t>(L_136));
|
|
int32_t L_138 = V_3;
|
|
NullCheck(L_132);
|
|
L_132->___v0_21 = ((int32_t)(L_137|L_138));
|
|
// node.v1 = tile.tris[i*3+1] | tileIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_139 = V_14;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_140 = V_6;
|
|
NullCheck(L_140);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_141 = L_140->___tris_0;
|
|
int32_t L_142 = V_13;
|
|
NullCheck(L_141);
|
|
int32_t L_143 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_142, 3)), 1));
|
|
int32_t L_144 = (L_141)->GetAt(static_cast<il2cpp_array_size_t>(L_143));
|
|
int32_t L_145 = V_3;
|
|
NullCheck(L_139);
|
|
L_139->___v1_22 = ((int32_t)(L_144|L_145));
|
|
// node.v2 = tile.tris[i*3+2] | tileIndex;
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_146 = V_14;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_147 = V_6;
|
|
NullCheck(L_147);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_148 = L_147->___tris_0;
|
|
int32_t L_149 = V_13;
|
|
NullCheck(L_148);
|
|
int32_t L_150 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_149, 3)), 2));
|
|
int32_t L_151 = (L_148)->GetAt(static_cast<il2cpp_array_size_t>(L_150));
|
|
int32_t L_152 = V_3;
|
|
NullCheck(L_146);
|
|
L_146->___v2_23 = ((int32_t)(L_151|L_152));
|
|
// node.UpdatePositionFromVertices();
|
|
TriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80* L_153 = V_14;
|
|
NullCheck(L_153);
|
|
TriangleMeshNode_UpdatePositionFromVertices_m6CCA5F5853B69E596C4375E99B0CC141E577BC61(L_153, NULL);
|
|
// for (int i = 0; i < tile.nodes.Length; i++) {
|
|
int32_t L_154 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_154, 1));
|
|
}
|
|
|
|
IL_02f1:
|
|
{
|
|
// for (int i = 0; i < tile.nodes.Length; i++) {
|
|
int32_t L_155 = V_13;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_156 = V_6;
|
|
NullCheck(L_156);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_157 = L_156->___nodes_7;
|
|
NullCheck(L_157);
|
|
if ((((int32_t)L_155) < ((int32_t)((int32_t)(((RuntimeArray*)L_157)->max_length)))))
|
|
{
|
|
goto IL_0280;
|
|
}
|
|
}
|
|
{
|
|
// tile.bbTree.RebuildFrom(tile.nodes);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_158 = V_6;
|
|
NullCheck(L_158);
|
|
BBTree_t90A867AD3097492B17EF25186C8CC5B5EEE6960E* L_159 = L_158->___bbTree_8;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_160 = V_6;
|
|
NullCheck(L_160);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_161 = L_160->___nodes_7;
|
|
NullCheck(L_159);
|
|
BBTree_RebuildFrom_mDFA8828FEEB0A074733D3C8C72153A05E5747988(L_159, L_161, NULL);
|
|
}
|
|
|
|
IL_0311:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
int32_t L_162 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_162, 1));
|
|
}
|
|
|
|
IL_0315:
|
|
{
|
|
// for (int x = 0; x < tileXCount; x++) {
|
|
int32_t L_163 = V_2;
|
|
int32_t L_164 = __this->___tileXCount_18;
|
|
if ((((int32_t)L_163) < ((int32_t)L_164)))
|
|
{
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
int32_t L_165 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_165, 1));
|
|
}
|
|
|
|
IL_0325:
|
|
{
|
|
// for (int z = 0; z < tileZCount; z++) {
|
|
int32_t L_166 = V_1;
|
|
int32_t L_167 = __this->___tileZCount_19;
|
|
if ((((int32_t)L_166) < ((int32_t)L_167)))
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::PostDeserialization(Pathfinding.Serialization.GraphSerializationContext)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase_PostDeserialization_m26510C3722320EC68C1677EB21AE54A71A2F0953 (NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704* __this, GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* ___0_ctx, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_SelectMany_TisNavmeshTile_tB162562405C06B86115076300DED318EC59873C0_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_mB9BC76BFFBFCF193F6B732DE510E434A0D2A0F60_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_ToDictionary_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_mCBF385C140B774C2976A5041731241B53482CDEA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3CPostDeserializationU3Eb__74_0_mD1E0786A187954DA5C197FC3AD7CE6CF5B856AFC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3CPostDeserializationU3Eb__74_1_mA9F50141FEDA62EE26B6BAAB4125BF97F870CE48_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3CPostDeserializationU3Eb__74_2_mB5823CDDD61117437A2C0E81589D98DF307783FB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass74_0_U3CPostDeserializationU3Eb__3_mE36262BC17A64F58CD4EDBF718D5E5380928115F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* V_0 = NULL;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* V_3 = NULL;
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* G_B4_0 = NULL;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* G_B4_1 = NULL;
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* G_B4_2 = NULL;
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* G_B3_0 = NULL;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* G_B3_1 = NULL;
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* G_B3_2 = NULL;
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* G_B6_0 = NULL;
|
|
RuntimeObject* G_B6_1 = NULL;
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* G_B6_2 = NULL;
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* G_B5_0 = NULL;
|
|
RuntimeObject* G_B5_1 = NULL;
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* G_B5_2 = NULL;
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* G_B8_0 = NULL;
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* G_B8_1 = NULL;
|
|
RuntimeObject* G_B8_2 = NULL;
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* G_B8_3 = NULL;
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* G_B7_0 = NULL;
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* G_B7_1 = NULL;
|
|
RuntimeObject* G_B7_2 = NULL;
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* G_B7_3 = NULL;
|
|
{
|
|
// if (ctx.meta.version < AstarSerializer.V4_1_0 && tiles != null) {
|
|
GraphSerializationContext_t2CCCA21EECA5F976101BF883EE4F9B4C34E07283* L_0 = ___0_ctx;
|
|
NullCheck(L_0);
|
|
GraphMeta_tA1ADF680BBB737A293AC1B1DB3D19827C4901C79* L_1 = L_0->___meta_4;
|
|
NullCheck(L_1);
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_2 = L_1->___version_0;
|
|
il2cpp_codegen_runtime_class_init_inline(AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var);
|
|
Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* L_3 = ((AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_StaticFields*)il2cpp_codegen_static_fields_for(AstarSerializer_t4EB5B48156B767FC0342D769FE8007EB39EB12C0_il2cpp_TypeInfo_var))->___V4_1_0_16;
|
|
bool L_4;
|
|
L_4 = Version_op_LessThan_m83ED9AEB1F6175AF9C8CDEDD9329CE0D2DA2CE4E(L_2, L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_00f3;
|
|
}
|
|
}
|
|
{
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_5 = __this->___tiles_20;
|
|
if (!L_5)
|
|
{
|
|
goto IL_00f3;
|
|
}
|
|
}
|
|
{
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* L_6 = (U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
U3CU3Ec__DisplayClass74_0__ctor_mBA6E4F03EE75AE2C93E6AC9EA1D62603070D4ACD(L_6, NULL);
|
|
V_0 = L_6;
|
|
// Dictionary<TriangleMeshNode, Connection[]> conns = tiles.SelectMany(s => s.nodes).ToDictionary(n => n, n => n.connections ?? new Connection[0]);
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* L_7 = V_0;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_8 = __this->___tiles_20;
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* L_9 = ((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_0_1;
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* L_10 = L_9;
|
|
G_B3_0 = L_10;
|
|
G_B3_1 = L_8;
|
|
G_B3_2 = L_7;
|
|
if (L_10)
|
|
{
|
|
G_B4_0 = L_10;
|
|
G_B4_1 = L_8;
|
|
G_B4_2 = L_7;
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* L_11 = ((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9_0;
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* L_12 = (Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130*)il2cpp_codegen_object_new(Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130_il2cpp_TypeInfo_var);
|
|
NullCheck(L_12);
|
|
Func_2__ctor_m6DB6A7F54379DE7662EF2A4F86E8B177F482FA51(L_12, L_11, (intptr_t)((void*)U3CU3Ec_U3CPostDeserializationU3Eb__74_0_mD1E0786A187954DA5C197FC3AD7CE6CF5B856AFC_RuntimeMethod_var), NULL);
|
|
Func_2_t390FA59CB1B910802C83BE9CECE86DA1CE90D130* L_13 = L_12;
|
|
((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_0_1 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_0_1), (void*)L_13);
|
|
G_B4_0 = L_13;
|
|
G_B4_1 = G_B3_1;
|
|
G_B4_2 = G_B3_2;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
RuntimeObject* L_14;
|
|
L_14 = Enumerable_SelectMany_TisNavmeshTile_tB162562405C06B86115076300DED318EC59873C0_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_mB9BC76BFFBFCF193F6B732DE510E434A0D2A0F60((RuntimeObject*)G_B4_1, G_B4_0, Enumerable_SelectMany_TisNavmeshTile_tB162562405C06B86115076300DED318EC59873C0_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_mB9BC76BFFBFCF193F6B732DE510E434A0D2A0F60_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* L_15 = ((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_1_2;
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* L_16 = L_15;
|
|
G_B5_0 = L_16;
|
|
G_B5_1 = L_14;
|
|
G_B5_2 = G_B4_2;
|
|
if (L_16)
|
|
{
|
|
G_B6_0 = L_16;
|
|
G_B6_1 = L_14;
|
|
G_B6_2 = G_B4_2;
|
|
goto IL_0075;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* L_17 = ((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9_0;
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* L_18 = (Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E*)il2cpp_codegen_object_new(Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_18);
|
|
Func_2__ctor_mBCB4F335CEDD3E291C9AA00D355BD889458E74C9(L_18, L_17, (intptr_t)((void*)U3CU3Ec_U3CPostDeserializationU3Eb__74_1_mA9F50141FEDA62EE26B6BAAB4125BF97F870CE48_RuntimeMethod_var), NULL);
|
|
Func_2_tFFE53312ED366E1FF41037F8BB91D036582A296E* L_19 = L_18;
|
|
((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_1_2 = L_19;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_1_2), (void*)L_19);
|
|
G_B6_0 = L_19;
|
|
G_B6_1 = G_B5_1;
|
|
G_B6_2 = G_B5_2;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* L_20 = ((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_2_3;
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* L_21 = L_20;
|
|
G_B7_0 = L_21;
|
|
G_B7_1 = G_B6_0;
|
|
G_B7_2 = G_B6_1;
|
|
G_B7_3 = G_B6_2;
|
|
if (L_21)
|
|
{
|
|
G_B8_0 = L_21;
|
|
G_B8_1 = G_B6_0;
|
|
G_B8_2 = G_B6_1;
|
|
G_B8_3 = G_B6_2;
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var);
|
|
U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F* L_22 = ((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9_0;
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* L_23 = (Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23*)il2cpp_codegen_object_new(Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23_il2cpp_TypeInfo_var);
|
|
NullCheck(L_23);
|
|
Func_2__ctor_m685A2628D34765D278E72BDE1F0123692BE14C41(L_23, L_22, (intptr_t)((void*)U3CU3Ec_U3CPostDeserializationU3Eb__74_2_mB5823CDDD61117437A2C0E81589D98DF307783FB_RuntimeMethod_var), NULL);
|
|
Func_2_t02FC319BB6662EC7D9D9B94421AB9CEEF5865F23* L_24 = L_23;
|
|
((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_2_3 = L_24;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t63085625202A0D632281CA65D324C56E4670667F_il2cpp_TypeInfo_var))->___U3CU3E9__74_2_3), (void*)L_24);
|
|
G_B8_0 = L_24;
|
|
G_B8_1 = G_B7_1;
|
|
G_B8_2 = G_B7_2;
|
|
G_B8_3 = G_B7_3;
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
Dictionary_2_t1C437DE3082B855CAC25228831661D4C4CEE8889* L_25;
|
|
L_25 = Enumerable_ToDictionary_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_mCBF385C140B774C2976A5041731241B53482CDEA(G_B8_2, G_B8_1, G_B8_0, Enumerable_ToDictionary_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisTriangleMeshNode_tFAA8DA110DFD120540CD5CC6FE2E81E3D88ABE80_TisConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82_mCBF385C140B774C2976A5041731241B53482CDEA_RuntimeMethod_var);
|
|
NullCheck(G_B8_3);
|
|
G_B8_3->___conns_0 = L_25;
|
|
Il2CppCodeGenWriteBarrier((void**)(&G_B8_3->___conns_0), (void*)L_25);
|
|
// foreach (var tile in tiles) CreateNodeConnections(tile.nodes);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_26 = __this->___tiles_20;
|
|
V_1 = L_26;
|
|
V_2 = 0;
|
|
goto IL_00ba;
|
|
}
|
|
|
|
IL_00a9:
|
|
{
|
|
// foreach (var tile in tiles) CreateNodeConnections(tile.nodes);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_27 = V_1;
|
|
int32_t L_28 = V_2;
|
|
NullCheck(L_27);
|
|
int32_t L_29 = L_28;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
|
|
// foreach (var tile in tiles) CreateNodeConnections(tile.nodes);
|
|
NullCheck(L_30);
|
|
TriangleMeshNodeU5BU5D_tD45C3CEBAB973D795ABEE0F915595B14D2A9D142* L_31 = L_30->___nodes_7;
|
|
il2cpp_codegen_runtime_class_init_inline(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
NavmeshBase_CreateNodeConnections_mE3D1C55960D9F60C06AFCA6775A164E7AF12856D(L_31, NULL);
|
|
int32_t L_32 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_00ba:
|
|
{
|
|
// foreach (var tile in tiles) CreateNodeConnections(tile.nodes);
|
|
int32_t L_33 = V_2;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_34 = V_1;
|
|
NullCheck(L_34);
|
|
if ((((int32_t)L_33) < ((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length)))))
|
|
{
|
|
goto IL_00a9;
|
|
}
|
|
}
|
|
{
|
|
// foreach (var tile in tiles) ConnectTileWithNeighbours(tile);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_35 = __this->___tiles_20;
|
|
V_1 = L_35;
|
|
V_2 = 0;
|
|
goto IL_00db;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// foreach (var tile in tiles) ConnectTileWithNeighbours(tile);
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_36 = V_1;
|
|
int32_t L_37 = V_2;
|
|
NullCheck(L_36);
|
|
int32_t L_38 = L_37;
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
|
|
V_3 = L_39;
|
|
// foreach (var tile in tiles) ConnectTileWithNeighbours(tile);
|
|
NavmeshTile_tB162562405C06B86115076300DED318EC59873C0* L_40 = V_3;
|
|
NavmeshBase_ConnectTileWithNeighbours_m8E3E8CD8A49453696BD3AA726C8D7E8A6F9A463B(__this, L_40, (bool)0, NULL);
|
|
int32_t L_41 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_41, 1));
|
|
}
|
|
|
|
IL_00db:
|
|
{
|
|
// foreach (var tile in tiles) ConnectTileWithNeighbours(tile);
|
|
int32_t L_42 = V_2;
|
|
NavmeshTileU5BU5D_t0826854D3D055BCD10E3DAEA663D42C184F2D5BF* L_43 = V_1;
|
|
NullCheck(L_43);
|
|
if ((((int32_t)L_42) < ((int32_t)((int32_t)(((RuntimeArray*)L_43)->max_length)))))
|
|
{
|
|
goto IL_00cb;
|
|
}
|
|
}
|
|
{
|
|
// GetNodes(node => {
|
|
// var triNode = node as TriangleMeshNode;
|
|
// foreach (var conn in conns[triNode].Where(conn => !triNode.ContainsConnection(conn.node)).ToList()) {
|
|
// triNode.AddConnection(conn.node, conn.cost, conn.shapeEdge);
|
|
// }
|
|
// });
|
|
U3CU3Ec__DisplayClass74_0_t04A86834F4A4C2AD3FD67CE2A9077C8F3A4ACEEE* L_44 = V_0;
|
|
Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* L_45 = (Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5*)il2cpp_codegen_object_new(Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_45);
|
|
Action_1__ctor_m9181C63B3C51B433D28821FDAA24ACBD93A58692(L_45, L_44, (intptr_t)((void*)U3CU3Ec__DisplayClass74_0_U3CPostDeserializationU3Eb__3_mE36262BC17A64F58CD4EDBF718D5E5380928115F_RuntimeMethod_var), NULL);
|
|
VirtualActionInvoker1< Action_1_t794881FA89B18F72E7568E305E3B69F4324A0CA5* >::Invoke(14 /* System.Void Pathfinding.NavGraph::GetNodes(System.Action`1<Pathfinding.GraphNode>) */, __this, L_45);
|
|
}
|
|
|
|
IL_00f3:
|
|
{
|
|
// transform = CalculateTransform();
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_46;
|
|
L_46 = VirtualFuncInvoker0< GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* >::Invoke(36 /* Pathfinding.Util.GraphTransform Pathfinding.NavmeshBase::CalculateTransform() */, __this);
|
|
__this->___transform_27 = L_46;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___transform_27), (void*)L_46);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void Pathfinding.NavmeshBase::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NavmeshBase__cctor_mB40BBA9A167EAF7DCF76FD0FFB351FC8597E178C (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// static readonly NNConstraint NNConstraintDistanceXZ = new NNConstraint { distanceXZ = true };
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_0 = (NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5*)il2cpp_codegen_object_new(NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
NNConstraint__ctor_m89532DC1D551FE988E139BD5558B16E6A6FFF088(L_0, NULL);
|
|
NNConstraint_tFFCC140E8D37F8EE7521E04FB8B3EAC85F927DB5* L_1 = L_0;
|
|
NullCheck(L_1);
|
|
L_1->___distanceXZ_5 = (bool)1;
|
|
((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_StaticFields*)il2cpp_codegen_static_fields_for(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var))->___NNConstraintDistanceXZ_29 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_StaticFields*)il2cpp_codegen_static_fields_for(NavmeshBase_tCA1F611198FA00F665A767F28F9490C5E88F1704_il2cpp_TypeInfo_var))->___NNConstraintDistanceXZ_29), (void*)L_1);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_Invoke_m7126A54DACA72B845424072887B5F3A51FC3808E_inline (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* __this, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Path_get_CompleteState_mEE69369F0E12BC9777F4650382D9D946E11C505B_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return completeState; }
|
|
int32_t L_0 = __this->___completeState_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t Path_get_pathID_m3BD6DF279EDC2AEF1E2B1687856A0687701A2D63_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort pathID { get; private set; }
|
|
uint16_t L_0 = __this->___U3CpathIDU3Ek__BackingField_19;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool ThreadControlQueue_get_IsTerminating_m966601A5E4511BE83AAA3956C2E62461DE571458_inline (ThreadControlQueue_t30C092A8ED6BF7F82C1E7A3F1DB38EA0D1425D92* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return terminate;
|
|
bool L_0 = __this->___terminate_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void OnPathDelegate_Invoke_m17E23601849FDCA5C8558EB78BE36C6202423A80_inline (OnPathDelegate_tBC5D616171AC6FA3DFA2083777FDA787D35047D4* __this, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* ___0_p, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_p, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_workItemsInProgressRightNow_m60FBD7509CEF87981D9181DFC8D50AFC87ACDE45_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgressRightNow { get; private set; }
|
|
bool L_0 = __this->___U3CworkItemsInProgressRightNowU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WorkItemProcessor_set_workItemsInProgressRightNow_m3E09E30BAF7ED50028799F127FBC9DBF01B85A35_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgressRightNow { get; private set; }
|
|
bool L_0 = ___0_value;
|
|
__this->___U3CworkItemsInProgressRightNowU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool WorkItemProcessor_get_workItemsInProgress_mAE52A544C670C0C6DA7709C73CD6C7F0E3388DC9_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgress { get; private set; }
|
|
bool L_0 = __this->___U3CworkItemsInProgressU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WorkItemProcessor_set_workItemsInProgress_m2061576C1F113A0726D7D414AAD2020C68CAAF3C_inline (WorkItemProcessor_tE287992545F7D22AC330DB67B8B5AFE637CDD5B5* __this, bool ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool workItemsInProgress { get; private set; }
|
|
bool L_0 = ___0_value;
|
|
__this->___U3CworkItemsInProgressU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Penalty_mB571B6C662C647253292F6CB15BA639E9FC11B00_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return penalty;
|
|
uint32_t L_0 = __this->___penalty_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t GraphNode_get_Flags_m3C230B3005D139D8B4D575E8D35E43967837B4B1_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return flags;
|
|
uint32_t L_0 = __this->___flags_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void GraphNode_set_Flags_mA3BFC8E434A7ECA94058A1BBD5204586A82E245E_inline (GraphNode_t95E96E7408290ADAA41F999EB8311CD5356A238A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// flags = value;
|
|
uint32_t L_0 = ___0_value;
|
|
__this->___flags_1 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint16_t PathHandler_get_PathID_mB2BEB9A4DB6D6F853198DF7BE9E0CCE63CF1F633_inline (PathHandler_tA1D5AE20432988B79E3C0A8927BF0196C96CC638* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort PathID { get { return pathID; } }
|
|
uint16_t L_0 = __this->___pathID_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, 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;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
float L_12 = V_0;
|
|
float L_13 = V_0;
|
|
float L_14 = V_1;
|
|
float L_15 = V_1;
|
|
float L_16 = V_2;
|
|
float L_17 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_18;
|
|
L_18 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))))));
|
|
V_3 = ((float)L_18);
|
|
goto IL_0040;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
float L_19 = V_3;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 Path_GetHTarget_mBC4019E5939A632FB6B22111B782C46E6007AEF3_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return hTarget;
|
|
Int3_t3D1B990C798A218E8F705930EF9F0A373A439553 L_0 = __this->___hTarget_21;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Path_get_PipelineState_m023522980CCC797DA5CED38FFF5802630674587A_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathState PipelineState { get; private set; }
|
|
int32_t L_0 = __this->___U3CPipelineStateU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_PipelineState_mEB9D1B611E4E759C1C313263C6E914E92FB97DB8_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PathState PipelineState { get; private set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CPipelineStateU3Ek__BackingField_3 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Path_get_errorLog_m01EC32EFEBDE42DCA7FAFCDE6935E23BC4FA6B76_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string errorLog { get; private set; }
|
|
String_t* L_0 = __this->___U3CerrorLogU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_errorLog_m49198BBD9E0C10D7B2421178C81524731E8E1959_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, String_t* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string errorLog { get; private set; }
|
|
String_t* L_0 = ___0_value;
|
|
__this->___U3CerrorLogU3Ek__BackingField_7 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CerrorLogU3Ek__BackingField_7), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_searchedNodes_mEE42EB4BEA9B85DBB6910F04ACDA7B9D09C7194A_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int searchedNodes { get; protected set; }
|
|
int32_t L_0 = ___0_value;
|
|
__this->___U3CsearchedNodesU3Ek__BackingField_12 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Path_set_pathID_m1809310BA902166A40AF2D8323B60540258210F4_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, uint16_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public ushort pathID { get; private set; }
|
|
uint16_t L_0 = ___0_value;
|
|
__this->___U3CpathIDU3Ek__BackingField_19 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Path_get_searchedNodes_m292CBC10DFDEBD2883B746F99009506C2F5C0D4C_inline (Path_tF8373A11D8EE16052CE8F7D66EB9D74E17EE8F7A* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int searchedNodes { get; protected set; }
|
|
int32_t L_0 = __this->___U3CsearchedNodesU3Ek__BackingField_12;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* Delegate_get_Target_m6E203F111C1548193A5AB7E616BD5834CD269753_inline (Delegate_t* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___m_target_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PathNode_set_G_m3442A82598E500CE060A1D38E4A51B1AAF27D22B_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint G { get { return g; } set { g = value; } }
|
|
uint32_t L_0 = ___0_value;
|
|
__this->___g_10 = L_0;
|
|
// public uint G { get { return g; } set { g = value; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void PathNode_set_H_mAF82EAE13B1FE99B79FBA9BA0AE474433B35E138_inline (PathNode_t5C7712AE42F73061C0F102F1EF4DA106B3440C1A* __this, uint32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public uint H { get { return h; } set { h = value; } }
|
|
uint32_t L_0 = ___0_value;
|
|
__this->___h_11 = L_0;
|
|
// public uint H { get { return h; } set { h = value; } }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_0, L_1, NULL);
|
|
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
goto IL_000e;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ((Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields*)il2cpp_codegen_static_fields_for(Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var))->___identityMatrix_17;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___x_2;
|
|
float L_1 = __this->___x_2;
|
|
float L_2 = __this->___y_3;
|
|
float L_3 = __this->___y_3;
|
|
float L_4 = __this->___z_4;
|
|
float L_5 = __this->___z_4;
|
|
V_0 = ((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))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector_7;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
goto IL_000f;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_v;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_v;
|
|
float L_3 = L_2.___y_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_1, L_3, /*hidden argument*/NULL);
|
|
V_0 = L_4;
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
|
|
float L_3 = L_2.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_euler;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_0, (0.0174532924f), NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_1, NULL);
|
|
V_0 = L_2;
|
|
goto IL_0014;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___forwardVector_11;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
bool V_4 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_2;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_4;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
float L_12 = V_0;
|
|
float L_13 = V_0;
|
|
float L_14 = V_1;
|
|
float L_15 = V_1;
|
|
float L_16 = V_2;
|
|
float L_17 = V_2;
|
|
V_3 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))));
|
|
float L_18 = V_3;
|
|
V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
bool L_19 = V_4;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_2 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_3 = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z_4 = L_2;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_0 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_1 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void GridGraph_set_transform_m0B297D6791CDC5CE67F98D2D0AF363F215FC584D_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public GraphTransform transform { get; private set; }
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = ___0_value;
|
|
__this->___U3CtransformU3Ek__BackingField_49 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtransformU3Ek__BackingField_49), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* GridGraph_get_transform_m7A16F060EA206BD8A178938B951444FF86634F15_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public GraphTransform transform { get; private set; }
|
|
GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* L_0 = __this->___U3CtransformU3Ek__BackingField_49;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = (*(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)__this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Quaternion_Internal_ToEulerRad_m5BD0EEC543120C320DC77FCCDFD2CE2E6BD3F1A8(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_1, (57.2957802f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Quaternion_Internal_MakePositive_m73E2D01920CB0DFE661A55022C129E8617F0C9A8(L_2, NULL);
|
|
V_0 = L_3;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t GridGraph_get_Width_m358EDDCC1218B610C70114D54D321A5FDCE3A378_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return width;
|
|
int32_t L_0 = __this->___width_13;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t GridGraph_get_Depth_m82B29650EBDB2AA2FA075D786043FA76E7AF25D0_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return depth;
|
|
int32_t L_0 = __this->___depth_14;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
float L_2 = ___1_d;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_1;
|
|
float L_5 = ___1_d;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_6), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline (float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
float L_0 = ___0_x;
|
|
float L_1 = ___1_y;
|
|
float L_2 = ___2_z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_3, (0.0174532924f), NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_4, NULL);
|
|
V_0 = L_5;
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Sign_m42EE1F0BC041AF14F89DED7F762BE996E2C50D8A_inline (float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_f;
|
|
if ((((float)L_0) >= ((float)(0.0f))))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = (-1.0f);
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
G_B3_0 = (1.0f);
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_0018;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
float L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
if ((((float)L_0) > ((float)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
float L_2 = ___1_b;
|
|
G_B3_0 = L_2;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
float L_3 = ___0_a;
|
|
G_B3_0 = L_3;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
float L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void GridGraph_set_size_m6C0D706F47946922AEB296FE6E1295D8D72AAF07_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector2 size { get; protected set; }
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_value;
|
|
__this->___U3CsizeU3Ek__BackingField_41 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GridGraph_get_size_mE9E52283BF458A0FD2AB53AAD2F66F5BF5E87A00_inline (GridGraph_tDD343C149AA8A4C9D210BD07E4DA75811B8BDAEC* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector2 size { get; protected set; }
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = __this->___U3CsizeU3Ek__BackingField_41;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline (float ___0_f, 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 L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = floor(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_CeilToInt_mF2BF9F4261B3431DC20E10A46CFEEED103C48963_inline (float ___0_f, 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 L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = ceil(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Mathf_Approximately_m1DADD012A8FC82E11FB282501AE2EBBF9A77150B_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
{
|
|
float L_0 = ___1_b;
|
|
float L_1 = ___0_a;
|
|
float L_2;
|
|
L_2 = fabsf(((float)il2cpp_codegen_subtract(L_0, L_1)));
|
|
float L_3 = ___0_a;
|
|
float L_4;
|
|
L_4 = fabsf(L_3);
|
|
float L_5 = ___1_b;
|
|
float L_6;
|
|
L_6 = fabsf(L_5);
|
|
float L_7;
|
|
L_7 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(L_4, L_6, NULL);
|
|
float L_8 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon_0;
|
|
float L_9;
|
|
L_9 = Mathf_Max_mF5379E63D2BBAC76D090748695D833934F8AD051_inline(((float)il2cpp_codegen_multiply((9.99999997E-07f), L_7)), ((float)il2cpp_codegen_multiply(L_8, (8.0f))), NULL);
|
|
V_0 = (bool)((((float)L_2) < ((float)L_9))? 1 : 0);
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
bool L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Clamp_m4DC36EEFDBE5F07C16249DA568023C5ECCFF0E7B_inline (int32_t ___0_value, int32_t ___1_min, int32_t ___2_max, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
int32_t V_2 = 0;
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
int32_t L_1 = ___1_min;
|
|
V_0 = (bool)((((int32_t)L_0) < ((int32_t)L_1))? 1 : 0);
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = ___1_min;
|
|
___0_value = L_3;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
int32_t L_4 = ___0_value;
|
|
int32_t L_5 = ___2_max;
|
|
V_1 = (bool)((((int32_t)L_4) > ((int32_t)L_5))? 1 : 0);
|
|
bool L_6 = V_1;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_7 = ___2_max;
|
|
___0_value = L_7;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
int32_t L_8 = ___0_value;
|
|
V_2 = L_8;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
int32_t L_9 = V_2;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
{
|
|
float L_0 = ___0_value;
|
|
float L_1 = ___1_min;
|
|
V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = ___1_min;
|
|
___0_value = L_3;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
float L_4 = ___0_value;
|
|
float L_5 = ___2_max;
|
|
V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
|
|
bool L_6 = V_1;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
float L_7 = ___2_max;
|
|
___0_value = L_7;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
float L_8 = ___0_value;
|
|
V_2 = L_8;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
float L_9 = V_2;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, 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 L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = bankers_round(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_4;
|
|
V_0 = ((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))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GraphTransform_WorldUpAtGraphPosition_mEC612828C2CAC05154539507D7E22193C6AA0884_inline (GraphTransform_t3CCA09AE3560A97F7EC121DF08A9CC6101AE4426* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___up_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* GraphGizmoHelper_get_builder_m4B431CFACE86054405AAFDE83300AC16E0C6774F_inline (GraphGizmoHelper_t02E232811940029A18F45168F563D801555275E2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public RetainedGizmos.Builder builder { get; private set; }
|
|
Builder_tE19F169804E1E2D68F15F7EE8BA639BE3F33B04D* L_0 = __this->___U3CbuilderU3Ek__BackingField_8;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method)
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
V_0 = L_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_r;
|
|
__this->___r_0 = L_0;
|
|
float L_1 = ___1_g;
|
|
__this->___g_1 = L_1;
|
|
float L_2 = ___2_b;
|
|
__this->___b_2 = L_2;
|
|
float L_3 = ___3_a;
|
|
__this->___a_3 = L_3;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method)
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
|
|
V_0 = L_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
float L_2 = ___0_a;
|
|
float L_3 = ___2_t;
|
|
float L_4;
|
|
L_4 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_3, NULL);
|
|
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_4))));
|
|
goto IL_0010;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
float L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Version_get_Major_m1F782BA72C64627627ADC2090C147CF887CE7795_inline (Version_tE426DB5655D0F22920AE16A2AA9AB7781B8255A7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____Major_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Stack_1_get_Count_mD08AE71D49787D30DDD9D484BCD323D646744D2E_gshared_inline (Stack_1_tAD790A47551563636908E21E4F08C54C0C323EB5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
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 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = __this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = __this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
int32_t L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (int32_t)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
int32_t L_9 = ___0_item;
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Stack_1_get_Count_m367DD1E571E10E5D1B0D13434E35DC7FC31FA886_gshared_inline (Stack_1_t3197E0F5EA36E611B259A88751D31FC2396FE4B6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Action_1_Invoke_mF2422B2DD29F74CE66F791C3F68E288EC7C3DB9E_gshared_inline (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___0_obj, const RuntimeMethod* method)
|
|
{
|
|
typedef void (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, const RuntimeMethod*);
|
|
((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_obj, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Queue_1_get_Count_m1768ADA9855B7CDA14C9C42E098A287F1A39C3A2_gshared_inline (Queue_1_tE9EF546915795972C3BFD68FBB8FA859D3BAF3B5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t IndexedQueue_1_get_Count_m142471AAA9EBECA3A34A5C5DA44042C81E930362_gshared_inline (IndexedQueue_1_t3E1B1FEAAC82E7D18EBCFD7F4574A47184A8CA12* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Count { get; private set; }
|
|
int32_t L_0 = __this->___U3CCountU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_2_Invoke_m186F4854CBE22B314553D85B8EAC73C995FF64E4_gshared_inline (Func_2_t66AC14B29DD8B1DDD05693A14E55CF7707C762DB* __this, bool ___0_arg, const RuntimeMethod* method)
|
|
{
|
|
typedef bool (*FunctionPointerType) (RuntimeObject*, bool, const RuntimeMethod*);
|
|
return ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_arg, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_3_Invoke_mB7B84565E5E531257DCAD69B65B9FB43D5D8B097_gshared_inline (Func_3_t50E159DCCFD1AFE2F58DC0D7B987B725EBD0F102* __this, RuntimeObject* ___0_arg1, bool ___1_arg2, const RuntimeMethod* method)
|
|
{
|
|
typedef bool (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, bool, const RuntimeMethod*);
|
|
return ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_arg1, ___1_arg2, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = __this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = __this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
RuntimeObject* L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (RuntimeObject*)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
RuntimeObject* L_9 = ___0_item;
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, RuntimeObject*, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = __this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = __this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_item;
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, 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 Func_2_Invoke_m2014423FB900F135C8FF994125604FF9E6AAE829_gshared_inline (Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00* __this, RuntimeObject* ___0_arg, const RuntimeMethod* method)
|
|
{
|
|
typedef bool (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, const RuntimeMethod*);
|
|
return ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_arg, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mC64E3610B09903C758ACAB4BDB8E8FCEC5C598B1_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!true)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __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;
|
|
}
|
|
}
|
|
{
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_3 = __this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m4B3274282E3CDAD481876E2BF5ED55346E3B3F45_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = __this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_1 = __this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = __this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* 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));
|
|
ConnectionU5BU5D_t3DD7456B8E8935D5B7DFFB4473F032163E59AF82* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0 L_9 = ___0_item;
|
|
(( void (*) (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F*, Connection_t4DDBED28DEBFA79C6263F247C973ECFFD2B6C6B0, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2F5D89C3CE6EFEA77C2A44FC139FD00BD2AB261C_gshared_inline (List_1_tCD1A3B841D7AF0101C40B168D652892A2E96900F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
float L_1;
|
|
L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
float L_2 = V_0;
|
|
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
|
|
bool L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_value;
|
|
float L_5 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
|
|
V_2 = L_6;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_2 = L_7;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
bool V_2 = false;
|
|
{
|
|
float L_0 = ___0_value;
|
|
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
|
|
bool L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (0.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
float L_2 = ___0_value;
|
|
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
|
|
bool L_3 = V_2;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (1.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
float L_4 = ___0_value;
|
|
V_1 = L_4;
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_5 = V_1;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, 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;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
|
|
float L_11 = L_10.___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_12;
|
|
L_12 = sqrt(((double)((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))))));
|
|
V_0 = ((float)L_12);
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
float L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|